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.
@@ -468,6 +468,17 @@ utils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {
468
468
  module.exports = Axios;
469
469
 
470
470
 
471
+ /***/ }),
472
+
473
+ /***/ "0b9c":
474
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
475
+
476
+ "use strict";
477
+ /* 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");
478
+ /* 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__);
479
+ /* unused harmony reexport * */
480
+
481
+
471
482
  /***/ }),
472
483
 
473
484
  /***/ "0c64":
@@ -745,17 +756,6 @@ $({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
745
756
  });
746
757
 
747
758
 
748
- /***/ }),
749
-
750
- /***/ "1560":
751
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
752
-
753
- "use strict";
754
- /* 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");
755
- /* 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__);
756
- /* unused harmony reexport * */
757
-
758
-
759
759
  /***/ }),
760
760
 
761
761
  /***/ "1626":
@@ -1496,6 +1496,13 @@ module.exports = JSON.parse("{\"code\":\"pt_PT\",\"messages\":{\"alpha\":\"O cam
1496
1496
 
1497
1497
  /***/ }),
1498
1498
 
1499
+ /***/ "323d":
1500
+ /***/ (function(module, exports, __webpack_require__) {
1501
+
1502
+ // extracted by mini-css-extract-plugin
1503
+
1504
+ /***/ }),
1505
+
1499
1506
  /***/ "342f":
1500
1507
  /***/ (function(module, exports, __webpack_require__) {
1501
1508
 
@@ -25210,13 +25217,6 @@ module.exports = DESCRIPTORS && fails(function () {
25210
25217
  });
25211
25218
 
25212
25219
 
25213
- /***/ }),
25214
-
25215
- /***/ "af57":
25216
- /***/ (function(module, exports, __webpack_require__) {
25217
-
25218
- // extracted by mini-css-extract-plugin
25219
-
25220
25220
  /***/ }),
25221
25221
 
25222
25222
  /***/ "b047":
@@ -34661,7 +34661,7 @@ if (typeof window !== 'undefined') {
34661
34661
  // Indicate to webpack that this file can be concatenated
34662
34662
  /* harmony default export */ var setPublicPath = (null);
34663
34663
 
34664
- // 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&
34664
+ // 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&
34665
34665
  var render = function render() {
34666
34666
  var _vm = this,
34667
34667
  _c = _vm._self._c;
@@ -34679,13 +34679,19 @@ var render = function render() {
34679
34679
  return handleSubmit(_vm.onSubmit);
34680
34680
  }
34681
34681
  }
34682
- }, [_vm._l(_vm.schema, function (group, parentIndex) {
34682
+ }, [_c('div', {
34683
+ staticClass: "row"
34684
+ }, _vm._l(_vm.schema, function (group, parentIndex) {
34683
34685
  return _vm.CheckIfAnyFieldVisibleInGroup(group.Data) ? _c('div', {
34684
34686
  key: parentIndex,
34685
- staticClass: "row"
34687
+ class: {
34688
+ 'col-lg-4 col-md-6 col-sm-12': group.groupLayoutType == 'triple',
34689
+ 'col-lg-6 col-md-6 col-sm-12': group.groupLayoutType == 'double',
34690
+ 'col-lg-12 col-md-12 col-sm-12': group.groupLayoutType == 'single' || typeof group.groupLayoutType == 'undefined'
34691
+ }
34686
34692
  }, [_c('div', {
34687
- staticClass: "clearfix"
34688
- }), group.group_name && (group.visibility == true || typeof group.visibility == 'undefined') ? _c('div', {
34693
+ staticClass: "row"
34694
+ }, [group.group_name && (group.visibility == true || typeof group.visibility == 'undefined') ? _c('div', {
34689
34695
  staticClass: "col-lg-12 mb-3"
34690
34696
  }, [_c('div', {
34691
34697
  staticClass: "heading-border mt-2"
@@ -34714,7 +34720,7 @@ var render = function render() {
34714
34720
  class: {
34715
34721
  'text-danger': true
34716
34722
  }
34717
- }, [_vm._v("*")]) : _vm._e()]) : _vm._e(), field.userGuide && field.userGuide != '' ? _c('a', {
34723
+ }, [_vm._v("* ")]) : _vm._e()]) : _vm._e(), _vm._v("  "), field.userGuide && field.userGuide != '' ? _c('a', {
34718
34724
  attrs: {
34719
34725
  "href": "javascript:;",
34720
34726
  "title": field.userGuide,
@@ -34757,8 +34763,8 @@ var render = function render() {
34757
34763
  }
34758
34764
  }], null, true)
34759
34765
  })], 1)])])]) : _vm._e()]);
34760
- })], 2) : _vm._e();
34761
- }), _vm.buttons != false ? _c('div', {
34766
+ })], 2)]) : _vm._e();
34767
+ }), 0), _vm.buttons != false ? _c('div', {
34762
34768
  staticClass: "row"
34763
34769
  }, [_vm.mandatorytext != false ? _c('div', {
34764
34770
  staticClass: "col-6"
@@ -34813,14 +34819,14 @@ var render = function render() {
34813
34819
  }
34814
34820
  }
34815
34821
  }) : _vm._e()];
34816
- })], 2) : _vm._e()]) : _vm._e()], 2)];
34822
+ })], 2) : _vm._e()]) : _vm._e()])];
34817
34823
  }
34818
34824
  }])
34819
34825
  });
34820
34826
  };
34821
34827
  var staticRenderFns = [];
34822
34828
 
34823
- // CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=68e595a1&
34829
+ // CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=4b8330af&
34824
34830
 
34825
34831
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
34826
34832
  var es_array_push = __webpack_require__("14d9");
@@ -38390,6 +38396,287 @@ var TextField_component = normalizeComponent(
38390
38396
  )
38391
38397
 
38392
38398
  /* harmony default export */ var TextField = (TextField_component.exports);
38399
+ // 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&
38400
+ var PasswordFieldvue_type_template_id_7484374a_render = function render() {
38401
+ var _vm = this,
38402
+ _c = _vm._self._c;
38403
+ return _c('Field', {
38404
+ staticClass: "w-100",
38405
+ attrs: {
38406
+ "disabled": _vm.fieldInfo.disabled,
38407
+ "name": _vm.GetDisplayLabel(_vm.fieldInfo),
38408
+ "rules": _vm.fieldInfo.validationRules
38409
+ },
38410
+ scopedSlots: _vm._u([{
38411
+ key: "default",
38412
+ fn: function ({
38413
+ errors
38414
+ }) {
38415
+ return [_c('span', {
38416
+ class: {
38417
+ 'd-flex ': true,
38418
+ 'is-invalid': errors[0]
38419
+ }
38420
+ }, [(_vm.showPassword ? 'text' : 'password') === 'checkbox' ? _c('input', {
38421
+ directives: [{
38422
+ name: "model",
38423
+ rawName: "v-model",
38424
+ value: _vm.fieldInfo.value,
38425
+ expression: "fieldInfo.value"
38426
+ }],
38427
+ class: {
38428
+ 'form-control w-100': true,
38429
+ 'is-invalid': errors[0]
38430
+ },
38431
+ attrs: {
38432
+ "name": _vm.fieldInfo.name,
38433
+ "id": _vm.fieldInfo.name,
38434
+ "placeholder": _vm.fieldInfo.placeholder,
38435
+ "disabled": _vm.fieldInfo.disabled,
38436
+ "type": "checkbox"
38437
+ },
38438
+ domProps: {
38439
+ "checked": Array.isArray(_vm.fieldInfo.value) ? _vm._i(_vm.fieldInfo.value, null) > -1 : _vm.fieldInfo.value
38440
+ },
38441
+ on: {
38442
+ "change": [function ($event) {
38443
+ var $$a = _vm.fieldInfo.value,
38444
+ $$el = $event.target,
38445
+ $$c = $$el.checked ? true : false;
38446
+ if (Array.isArray($$a)) {
38447
+ var $$v = null,
38448
+ $$i = _vm._i($$a, $$v);
38449
+ if ($$el.checked) {
38450
+ $$i < 0 && _vm.$set(_vm.fieldInfo, "value", $$a.concat([$$v]));
38451
+ } else {
38452
+ $$i > -1 && _vm.$set(_vm.fieldInfo, "value", $$a.slice(0, $$i).concat($$a.slice($$i + 1)));
38453
+ }
38454
+ } else {
38455
+ _vm.$set(_vm.fieldInfo, "value", $$c);
38456
+ }
38457
+ }, function ($event) {
38458
+ return _vm.onChange($event);
38459
+ }],
38460
+ "blur": function ($event) {
38461
+ return _vm.onBlur($event);
38462
+ },
38463
+ "keyup": function ($event) {
38464
+ return _vm.onKeyUp($event);
38465
+ }
38466
+ }
38467
+ }) : (_vm.showPassword ? 'text' : 'password') === 'radio' ? _c('input', {
38468
+ directives: [{
38469
+ name: "model",
38470
+ rawName: "v-model",
38471
+ value: _vm.fieldInfo.value,
38472
+ expression: "fieldInfo.value"
38473
+ }],
38474
+ class: {
38475
+ 'form-control w-100': true,
38476
+ 'is-invalid': errors[0]
38477
+ },
38478
+ attrs: {
38479
+ "name": _vm.fieldInfo.name,
38480
+ "id": _vm.fieldInfo.name,
38481
+ "placeholder": _vm.fieldInfo.placeholder,
38482
+ "disabled": _vm.fieldInfo.disabled,
38483
+ "type": "radio"
38484
+ },
38485
+ domProps: {
38486
+ "checked": _vm._q(_vm.fieldInfo.value, null)
38487
+ },
38488
+ on: {
38489
+ "change": [function ($event) {
38490
+ return _vm.$set(_vm.fieldInfo, "value", null);
38491
+ }, function ($event) {
38492
+ return _vm.onChange($event);
38493
+ }],
38494
+ "blur": function ($event) {
38495
+ return _vm.onBlur($event);
38496
+ },
38497
+ "keyup": function ($event) {
38498
+ return _vm.onKeyUp($event);
38499
+ }
38500
+ }
38501
+ }) : _c('input', {
38502
+ directives: [{
38503
+ name: "model",
38504
+ rawName: "v-model",
38505
+ value: _vm.fieldInfo.value,
38506
+ expression: "fieldInfo.value"
38507
+ }],
38508
+ class: {
38509
+ 'form-control w-100': true,
38510
+ 'is-invalid': errors[0]
38511
+ },
38512
+ attrs: {
38513
+ "name": _vm.fieldInfo.name,
38514
+ "id": _vm.fieldInfo.name,
38515
+ "placeholder": _vm.fieldInfo.placeholder,
38516
+ "disabled": _vm.fieldInfo.disabled,
38517
+ "type": _vm.showPassword ? 'text' : 'password'
38518
+ },
38519
+ domProps: {
38520
+ "value": _vm.fieldInfo.value
38521
+ },
38522
+ on: {
38523
+ "change": function ($event) {
38524
+ return _vm.onChange($event);
38525
+ },
38526
+ "blur": function ($event) {
38527
+ return _vm.onBlur($event);
38528
+ },
38529
+ "keyup": function ($event) {
38530
+ return _vm.onKeyUp($event);
38531
+ },
38532
+ "input": function ($event) {
38533
+ if ($event.target.composing) return;
38534
+ _vm.$set(_vm.fieldInfo, "value", $event.target.value);
38535
+ }
38536
+ }
38537
+ }), _c('i', {
38538
+ class: {
38539
+ 'fa': true,
38540
+ 'fa-eye': !_vm.showPassword,
38541
+ 'fa-eye-slash': _vm.showPassword
38542
+ },
38543
+ staticStyle: {
38544
+ "position": "absolute",
38545
+ "right": "0",
38546
+ "padding": "8px",
38547
+ "color": "#b7b7b7"
38548
+ },
38549
+ on: {
38550
+ "click": _vm.showPasswordFunc
38551
+ }
38552
+ }), _vm.showAddIcon() ? _c('div', {
38553
+ staticClass: "ml-2 mt-1"
38554
+ }, [_c('a', {
38555
+ class: _vm.addButtonClass()
38556
+ }, [_c('i', {
38557
+ class: _vm.addIconClass(),
38558
+ attrs: {
38559
+ "alt": "+"
38560
+ },
38561
+ on: {
38562
+ "click": function ($event) {
38563
+ return _vm.onAddButtonClick($event);
38564
+ }
38565
+ }
38566
+ })])]) : _vm._e()]), errors[0] ? _c('span', {
38567
+ staticClass: "invalid-feedback",
38568
+ attrs: {
38569
+ "name": _vm.fieldInfo.name
38570
+ }
38571
+ }, [_vm._v(_vm._s(errors[0]))]) : _vm._e()];
38572
+ }
38573
+ }])
38574
+ });
38575
+ };
38576
+ var PasswordFieldvue_type_template_id_7484374a_staticRenderFns = [];
38577
+
38578
+ // CONCATENATED MODULE: ./src/components/PasswordField.vue?vue&type=template&id=7484374a&
38579
+
38580
+ // 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&
38581
+
38582
+ /* harmony default export */ var PasswordFieldvue_type_script_lang_js_ = ({
38583
+ components: {
38584
+ Field: ValidationProvider
38585
+ },
38586
+ props: {
38587
+ lang: {
38588
+ type: String,
38589
+ default: 'en'
38590
+ },
38591
+ fieldInfo: {
38592
+ type: Object,
38593
+ required: true
38594
+ }
38595
+ },
38596
+ data: function () {
38597
+ return {
38598
+ showPassword: false
38599
+ };
38600
+ },
38601
+ mounted: function () {
38602
+ this.fieldInfo.validationRules = getValidationRules(this.fieldInfo.validationRules, this.lang);
38603
+ },
38604
+ methods: {
38605
+ GetDisplayLabel(field) {
38606
+ var labelName = '';
38607
+ if (field.hasOwnProperty('label') && field.label) {
38608
+ labelName = field.label;
38609
+ } else if (field.hasOwnProperty('display_name') && field.display_name) {
38610
+ labelName = field.display_name;
38611
+ }
38612
+ return labelName;
38613
+ },
38614
+ onChange: function (e) {
38615
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onChange) {
38616
+ this.fieldInfo.config.onChange(e, this.fieldInfo);
38617
+ }
38618
+ },
38619
+ onBlur: function (e) {
38620
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onBlur) {
38621
+ this.fieldInfo.config.onBlur(e, this.fieldInfo);
38622
+ }
38623
+ },
38624
+ onKeyUp: function (e) {
38625
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onKeyUp) {
38626
+ this.fieldInfo.config.onKeyUp(e, this.fieldInfo);
38627
+ }
38628
+ },
38629
+ showAddIcon: function () {
38630
+ if (this.fieldInfo.config && this.fieldInfo.config.showAddIcon) {
38631
+ return this.fieldInfo.config.showAddIcon;
38632
+ }
38633
+ },
38634
+ onAddButtonClick: function (e) {
38635
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onAddButtonClick) {
38636
+ this.fieldInfo.config.onAddButtonClick(e, this.fieldInfo);
38637
+ }
38638
+ },
38639
+ addButtonClass: function () {
38640
+ if (this.fieldInfo.config && this.fieldInfo.config.addIconBackground) {
38641
+ return "round-icon-small theme-primary " + this.fieldInfo.config.addIconBackground;
38642
+ } else {
38643
+ return "round-icon-small btn-dark theme-primary";
38644
+ }
38645
+ },
38646
+ addIconClass: function () {
38647
+ if (this.fieldInfo.config && this.fieldInfo.config.addIcon) {
38648
+ return "fa text-white pt-7 font-18 " + this.fieldInfo.config.addIcon;
38649
+ } else {
38650
+ return "fa fa-plus text-white pt-7 font-18";
38651
+ }
38652
+ },
38653
+ showPasswordFunc: function () {
38654
+ this.showPassword = !this.showPassword;
38655
+ }
38656
+ }
38657
+ });
38658
+ // CONCATENATED MODULE: ./src/components/PasswordField.vue?vue&type=script&lang=js&
38659
+ /* harmony default export */ var components_PasswordFieldvue_type_script_lang_js_ = (PasswordFieldvue_type_script_lang_js_);
38660
+ // CONCATENATED MODULE: ./src/components/PasswordField.vue
38661
+
38662
+
38663
+
38664
+
38665
+
38666
+ /* normalize component */
38667
+
38668
+ var PasswordField_component = normalizeComponent(
38669
+ components_PasswordFieldvue_type_script_lang_js_,
38670
+ PasswordFieldvue_type_template_id_7484374a_render,
38671
+ PasswordFieldvue_type_template_id_7484374a_staticRenderFns,
38672
+ false,
38673
+ null,
38674
+ null,
38675
+ null
38676
+
38677
+ )
38678
+
38679
+ /* harmony default export */ var PasswordField = (PasswordField_component.exports);
38393
38680
  // 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&
38394
38681
  var DateFieldvue_type_template_id_545551d4_render = function render() {
38395
38682
  var _vm = this,
@@ -39993,8 +40280,8 @@ var TextAreaField_component = normalizeComponent(
39993
40280
  )
39994
40281
 
39995
40282
  /* harmony default export */ var TextAreaField = (TextAreaField_component.exports);
39996
- // 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&
39997
- var ColorFieldvue_type_template_id_31e7b536_render = function render() {
40283
+ // 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&
40284
+ var ColorFieldvue_type_template_id_1af2f90b_render = function render() {
39998
40285
  var _vm = this,
39999
40286
  _c = _vm._self._c;
40000
40287
  return _c('div', {
@@ -40052,9 +40339,9 @@ var ColorFieldvue_type_template_id_31e7b536_render = function render() {
40052
40339
  }])
40053
40340
  })], 1);
40054
40341
  };
40055
- var ColorFieldvue_type_template_id_31e7b536_staticRenderFns = [];
40342
+ var ColorFieldvue_type_template_id_1af2f90b_staticRenderFns = [];
40056
40343
 
40057
- // CONCATENATED MODULE: ./src/components/ColorField.vue?vue&type=template&id=31e7b536&
40344
+ // CONCATENATED MODULE: ./src/components/ColorField.vue?vue&type=template&id=1af2f90b&
40058
40345
 
40059
40346
  // EXTERNAL MODULE: ./node_modules/vue2-color-picker/dist/vue2-color-picker.js
40060
40347
  var vue2_color_picker = __webpack_require__("b9d7");
@@ -40139,7 +40426,7 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
40139
40426
  togglePicker: function () {
40140
40427
  this.displayPicker ? this.hidePicker() : this.showPicker();
40141
40428
  },
40142
- updateFromInput: function () {
40429
+ updateFromInput: function (e) {
40143
40430
  var pattern = new RegExp("^#[0-9A-F]{6}$");
40144
40431
  var str = this.colorValue;
40145
40432
  if (pattern.test(str)) {
@@ -40147,6 +40434,9 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
40147
40434
  } else {
40148
40435
  return false;
40149
40436
  }
40437
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onChange) {
40438
+ this.fieldInfo.config.onChange(e, this.fieldInfo);
40439
+ }
40150
40440
  },
40151
40441
  updateFromPicker(color) {
40152
40442
  this.colors = color;
@@ -40157,12 +40447,18 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
40157
40447
  this.colorValue = 'rgba(' + color.rgba.r + ', ' + color.rgba.g + ', ' + color.rgba.b + ', ' + color.rgba.a + ')';
40158
40448
  this.fieldInfo.value = this.colorValue;
40159
40449
  }
40450
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onChange) {
40451
+ this.fieldInfo.config.onChange(color, this.fieldInfo);
40452
+ }
40160
40453
  },
40161
40454
  documentClick: function (e) {
40162
40455
  var el = this.$refs.colorpicker,
40163
40456
  target = e.target;
40164
- if (el !== target && !el.contains(target)) {
40457
+ if (el !== target && typeof el != "undefined" && !el.contains(target)) {
40165
40458
  this.hidePicker();
40459
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onChange) {
40460
+ this.fieldInfo.config.onChange(e, this.fieldInfo);
40461
+ }
40166
40462
  }
40167
40463
  }
40168
40464
  },
@@ -40179,8 +40475,8 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
40179
40475
  });
40180
40476
  // CONCATENATED MODULE: ./src/components/ColorField.vue?vue&type=script&lang=js&
40181
40477
  /* harmony default export */ var components_ColorFieldvue_type_script_lang_js_ = (ColorFieldvue_type_script_lang_js_);
40182
- // EXTERNAL MODULE: ./src/components/ColorField.vue?vue&type=style&index=0&id=31e7b536&prod&lang=css&
40183
- var ColorFieldvue_type_style_index_0_id_31e7b536_prod_lang_css_ = __webpack_require__("1560");
40478
+ // EXTERNAL MODULE: ./src/components/ColorField.vue?vue&type=style&index=0&id=1af2f90b&prod&lang=css&
40479
+ var ColorFieldvue_type_style_index_0_id_1af2f90b_prod_lang_css_ = __webpack_require__("0b9c");
40184
40480
 
40185
40481
  // CONCATENATED MODULE: ./src/components/ColorField.vue
40186
40482
 
@@ -40193,8 +40489,8 @@ var ColorFieldvue_type_style_index_0_id_31e7b536_prod_lang_css_ = __webpack_requ
40193
40489
 
40194
40490
  var ColorField_component = normalizeComponent(
40195
40491
  components_ColorFieldvue_type_script_lang_js_,
40196
- ColorFieldvue_type_template_id_31e7b536_render,
40197
- ColorFieldvue_type_template_id_31e7b536_staticRenderFns,
40492
+ ColorFieldvue_type_template_id_1af2f90b_render,
40493
+ ColorFieldvue_type_template_id_1af2f90b_staticRenderFns,
40198
40494
  false,
40199
40495
  null,
40200
40496
  null,
@@ -40889,6 +41185,7 @@ var SlotField_component = normalizeComponent(
40889
41185
 
40890
41186
 
40891
41187
 
41188
+
40892
41189
  //import { getFormValidationRules } from "./validationMessages.vue"
40893
41190
  /* harmony default export */ var DynamicFormvue_type_script_lang_js_ = ({
40894
41191
  name: 'DynamicForm',
@@ -40908,7 +41205,8 @@ var SlotField_component = normalizeComponent(
40908
41205
  ColorField: ColorField,
40909
41206
  FileField: FileField,
40910
41207
  TreeSelectField: TreeSelectField,
40911
- SlotField: SlotField
41208
+ SlotField: SlotField,
41209
+ PasswordField: PasswordField
40912
41210
  },
40913
41211
  data: function () {
40914
41212
  return {
@@ -41280,6 +41578,7 @@ var SlotField_component = normalizeComponent(
41280
41578
  if (fieldObj.length > 0) {
41281
41579
  var _ths$$t;
41282
41580
  let obj = {
41581
+ groupLayoutType: field.group_layout_type,
41283
41582
  layoutType: field.layout_type,
41284
41583
  groupId: groupId,
41285
41584
  visibility: true,