tg-controls_cli 0.0.82 → 0.0.84

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=9e2b040c&
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=646afae2&
34674
34674
  var render = function render() {
34675
34675
  var _vm = this,
34676
34676
  _c = _vm._self._c;
@@ -34693,11 +34693,7 @@ var render = function render() {
34693
34693
  }, _vm._l(_vm.schema, function (group, parentIndex) {
34694
34694
  return _vm.CheckIfAnyFieldVisibleInGroup(group.Data) ? _c('div', {
34695
34695
  key: parentIndex,
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
- }
34696
+ class: _vm.getGroupClasses(group)
34701
34697
  }, [_c('div', {
34702
34698
  staticClass: "row"
34703
34699
  }, [group.group_name && (group.visibility == true || typeof group.visibility == 'undefined') ? _c('div', {
@@ -34729,7 +34725,7 @@ var render = function render() {
34729
34725
  class: {
34730
34726
  'text-danger': true
34731
34727
  }
34732
- }, [_vm._v("*")]) : _vm._e()]) : _vm._e(), field.userGuide && field.userGuide != '' ? _c('a', {
34728
+ }, [_vm._v("* ")]) : _vm._e()]) : _vm._e(), _vm._v("  "), field.userGuide && field.userGuide != '' ? _c('a', {
34733
34729
  attrs: {
34734
34730
  "href": "javascript:;",
34735
34731
  "title": field.userGuide,
@@ -34835,7 +34831,7 @@ var render = function render() {
34835
34831
  };
34836
34832
  var staticRenderFns = [];
34837
34833
 
34838
- // CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=9e2b040c&
34834
+ // CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=646afae2&
34839
34835
 
34840
34836
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
34841
34837
  var es_array_push = __webpack_require__("14d9");
@@ -38405,6 +38401,287 @@ var TextField_component = normalizeComponent(
38405
38401
  )
38406
38402
 
38407
38403
  /* harmony default export */ var TextField = (TextField_component.exports);
38404
+ // 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&
38405
+ var PasswordFieldvue_type_template_id_7484374a_render = function render() {
38406
+ var _vm = this,
38407
+ _c = _vm._self._c;
38408
+ return _c('Field', {
38409
+ staticClass: "w-100",
38410
+ attrs: {
38411
+ "disabled": _vm.fieldInfo.disabled,
38412
+ "name": _vm.GetDisplayLabel(_vm.fieldInfo),
38413
+ "rules": _vm.fieldInfo.validationRules
38414
+ },
38415
+ scopedSlots: _vm._u([{
38416
+ key: "default",
38417
+ fn: function ({
38418
+ errors
38419
+ }) {
38420
+ return [_c('span', {
38421
+ class: {
38422
+ 'd-flex ': true,
38423
+ 'is-invalid': errors[0]
38424
+ }
38425
+ }, [(_vm.showPassword ? 'text' : 'password') === 'checkbox' ? _c('input', {
38426
+ directives: [{
38427
+ name: "model",
38428
+ rawName: "v-model",
38429
+ value: _vm.fieldInfo.value,
38430
+ expression: "fieldInfo.value"
38431
+ }],
38432
+ class: {
38433
+ 'form-control w-100': true,
38434
+ 'is-invalid': errors[0]
38435
+ },
38436
+ attrs: {
38437
+ "name": _vm.fieldInfo.name,
38438
+ "id": _vm.fieldInfo.name,
38439
+ "placeholder": _vm.fieldInfo.placeholder,
38440
+ "disabled": _vm.fieldInfo.disabled,
38441
+ "type": "checkbox"
38442
+ },
38443
+ domProps: {
38444
+ "checked": Array.isArray(_vm.fieldInfo.value) ? _vm._i(_vm.fieldInfo.value, null) > -1 : _vm.fieldInfo.value
38445
+ },
38446
+ on: {
38447
+ "change": [function ($event) {
38448
+ var $$a = _vm.fieldInfo.value,
38449
+ $$el = $event.target,
38450
+ $$c = $$el.checked ? true : false;
38451
+ if (Array.isArray($$a)) {
38452
+ var $$v = null,
38453
+ $$i = _vm._i($$a, $$v);
38454
+ if ($$el.checked) {
38455
+ $$i < 0 && _vm.$set(_vm.fieldInfo, "value", $$a.concat([$$v]));
38456
+ } else {
38457
+ $$i > -1 && _vm.$set(_vm.fieldInfo, "value", $$a.slice(0, $$i).concat($$a.slice($$i + 1)));
38458
+ }
38459
+ } else {
38460
+ _vm.$set(_vm.fieldInfo, "value", $$c);
38461
+ }
38462
+ }, function ($event) {
38463
+ return _vm.onChange($event);
38464
+ }],
38465
+ "blur": function ($event) {
38466
+ return _vm.onBlur($event);
38467
+ },
38468
+ "keyup": function ($event) {
38469
+ return _vm.onKeyUp($event);
38470
+ }
38471
+ }
38472
+ }) : (_vm.showPassword ? 'text' : 'password') === 'radio' ? _c('input', {
38473
+ directives: [{
38474
+ name: "model",
38475
+ rawName: "v-model",
38476
+ value: _vm.fieldInfo.value,
38477
+ expression: "fieldInfo.value"
38478
+ }],
38479
+ class: {
38480
+ 'form-control w-100': true,
38481
+ 'is-invalid': errors[0]
38482
+ },
38483
+ attrs: {
38484
+ "name": _vm.fieldInfo.name,
38485
+ "id": _vm.fieldInfo.name,
38486
+ "placeholder": _vm.fieldInfo.placeholder,
38487
+ "disabled": _vm.fieldInfo.disabled,
38488
+ "type": "radio"
38489
+ },
38490
+ domProps: {
38491
+ "checked": _vm._q(_vm.fieldInfo.value, null)
38492
+ },
38493
+ on: {
38494
+ "change": [function ($event) {
38495
+ return _vm.$set(_vm.fieldInfo, "value", null);
38496
+ }, function ($event) {
38497
+ return _vm.onChange($event);
38498
+ }],
38499
+ "blur": function ($event) {
38500
+ return _vm.onBlur($event);
38501
+ },
38502
+ "keyup": function ($event) {
38503
+ return _vm.onKeyUp($event);
38504
+ }
38505
+ }
38506
+ }) : _c('input', {
38507
+ directives: [{
38508
+ name: "model",
38509
+ rawName: "v-model",
38510
+ value: _vm.fieldInfo.value,
38511
+ expression: "fieldInfo.value"
38512
+ }],
38513
+ class: {
38514
+ 'form-control w-100': true,
38515
+ 'is-invalid': errors[0]
38516
+ },
38517
+ attrs: {
38518
+ "name": _vm.fieldInfo.name,
38519
+ "id": _vm.fieldInfo.name,
38520
+ "placeholder": _vm.fieldInfo.placeholder,
38521
+ "disabled": _vm.fieldInfo.disabled,
38522
+ "type": _vm.showPassword ? 'text' : 'password'
38523
+ },
38524
+ domProps: {
38525
+ "value": _vm.fieldInfo.value
38526
+ },
38527
+ on: {
38528
+ "change": function ($event) {
38529
+ return _vm.onChange($event);
38530
+ },
38531
+ "blur": function ($event) {
38532
+ return _vm.onBlur($event);
38533
+ },
38534
+ "keyup": function ($event) {
38535
+ return _vm.onKeyUp($event);
38536
+ },
38537
+ "input": function ($event) {
38538
+ if ($event.target.composing) return;
38539
+ _vm.$set(_vm.fieldInfo, "value", $event.target.value);
38540
+ }
38541
+ }
38542
+ }), _c('i', {
38543
+ class: {
38544
+ 'fa': true,
38545
+ 'fa-eye': !_vm.showPassword,
38546
+ 'fa-eye-slash': _vm.showPassword
38547
+ },
38548
+ staticStyle: {
38549
+ "position": "absolute",
38550
+ "right": "0",
38551
+ "padding": "8px",
38552
+ "color": "#b7b7b7"
38553
+ },
38554
+ on: {
38555
+ "click": _vm.showPasswordFunc
38556
+ }
38557
+ }), _vm.showAddIcon() ? _c('div', {
38558
+ staticClass: "ml-2 mt-1"
38559
+ }, [_c('a', {
38560
+ class: _vm.addButtonClass()
38561
+ }, [_c('i', {
38562
+ class: _vm.addIconClass(),
38563
+ attrs: {
38564
+ "alt": "+"
38565
+ },
38566
+ on: {
38567
+ "click": function ($event) {
38568
+ return _vm.onAddButtonClick($event);
38569
+ }
38570
+ }
38571
+ })])]) : _vm._e()]), errors[0] ? _c('span', {
38572
+ staticClass: "invalid-feedback",
38573
+ attrs: {
38574
+ "name": _vm.fieldInfo.name
38575
+ }
38576
+ }, [_vm._v(_vm._s(errors[0]))]) : _vm._e()];
38577
+ }
38578
+ }])
38579
+ });
38580
+ };
38581
+ var PasswordFieldvue_type_template_id_7484374a_staticRenderFns = [];
38582
+
38583
+ // CONCATENATED MODULE: ./src/components/PasswordField.vue?vue&type=template&id=7484374a&
38584
+
38585
+ // 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&
38586
+
38587
+ /* harmony default export */ var PasswordFieldvue_type_script_lang_js_ = ({
38588
+ components: {
38589
+ Field: ValidationProvider
38590
+ },
38591
+ props: {
38592
+ lang: {
38593
+ type: String,
38594
+ default: 'en'
38595
+ },
38596
+ fieldInfo: {
38597
+ type: Object,
38598
+ required: true
38599
+ }
38600
+ },
38601
+ data: function () {
38602
+ return {
38603
+ showPassword: false
38604
+ };
38605
+ },
38606
+ mounted: function () {
38607
+ this.fieldInfo.validationRules = getValidationRules(this.fieldInfo.validationRules, this.lang);
38608
+ },
38609
+ methods: {
38610
+ GetDisplayLabel(field) {
38611
+ var labelName = '';
38612
+ if (field.hasOwnProperty('label') && field.label) {
38613
+ labelName = field.label;
38614
+ } else if (field.hasOwnProperty('display_name') && field.display_name) {
38615
+ labelName = field.display_name;
38616
+ }
38617
+ return labelName;
38618
+ },
38619
+ onChange: function (e) {
38620
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onChange) {
38621
+ this.fieldInfo.config.onChange(e, this.fieldInfo);
38622
+ }
38623
+ },
38624
+ onBlur: function (e) {
38625
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onBlur) {
38626
+ this.fieldInfo.config.onBlur(e, this.fieldInfo);
38627
+ }
38628
+ },
38629
+ onKeyUp: function (e) {
38630
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onKeyUp) {
38631
+ this.fieldInfo.config.onKeyUp(e, this.fieldInfo);
38632
+ }
38633
+ },
38634
+ showAddIcon: function () {
38635
+ if (this.fieldInfo.config && this.fieldInfo.config.showAddIcon) {
38636
+ return this.fieldInfo.config.showAddIcon;
38637
+ }
38638
+ },
38639
+ onAddButtonClick: function (e) {
38640
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onAddButtonClick) {
38641
+ this.fieldInfo.config.onAddButtonClick(e, this.fieldInfo);
38642
+ }
38643
+ },
38644
+ addButtonClass: function () {
38645
+ if (this.fieldInfo.config && this.fieldInfo.config.addIconBackground) {
38646
+ return "round-icon-small theme-primary " + this.fieldInfo.config.addIconBackground;
38647
+ } else {
38648
+ return "round-icon-small btn-dark theme-primary";
38649
+ }
38650
+ },
38651
+ addIconClass: function () {
38652
+ if (this.fieldInfo.config && this.fieldInfo.config.addIcon) {
38653
+ return "fa text-white pt-7 font-18 " + this.fieldInfo.config.addIcon;
38654
+ } else {
38655
+ return "fa fa-plus text-white pt-7 font-18";
38656
+ }
38657
+ },
38658
+ showPasswordFunc: function () {
38659
+ this.showPassword = !this.showPassword;
38660
+ }
38661
+ }
38662
+ });
38663
+ // CONCATENATED MODULE: ./src/components/PasswordField.vue?vue&type=script&lang=js&
38664
+ /* harmony default export */ var components_PasswordFieldvue_type_script_lang_js_ = (PasswordFieldvue_type_script_lang_js_);
38665
+ // CONCATENATED MODULE: ./src/components/PasswordField.vue
38666
+
38667
+
38668
+
38669
+
38670
+
38671
+ /* normalize component */
38672
+
38673
+ var PasswordField_component = normalizeComponent(
38674
+ components_PasswordFieldvue_type_script_lang_js_,
38675
+ PasswordFieldvue_type_template_id_7484374a_render,
38676
+ PasswordFieldvue_type_template_id_7484374a_staticRenderFns,
38677
+ false,
38678
+ null,
38679
+ null,
38680
+ null
38681
+
38682
+ )
38683
+
38684
+ /* harmony default export */ var PasswordField = (PasswordField_component.exports);
38408
38685
  // 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&
38409
38686
  var DateFieldvue_type_template_id_545551d4_render = function render() {
38410
38687
  var _vm = this,
@@ -40008,8 +40285,8 @@ var TextAreaField_component = normalizeComponent(
40008
40285
  )
40009
40286
 
40010
40287
  /* harmony default export */ var TextAreaField = (TextAreaField_component.exports);
40011
- // 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&
40012
- var ColorFieldvue_type_template_id_31e7b536_render = function render() {
40288
+ // 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&
40289
+ var ColorFieldvue_type_template_id_1af2f90b_render = function render() {
40013
40290
  var _vm = this,
40014
40291
  _c = _vm._self._c;
40015
40292
  return _c('div', {
@@ -40067,9 +40344,9 @@ var ColorFieldvue_type_template_id_31e7b536_render = function render() {
40067
40344
  }])
40068
40345
  })], 1);
40069
40346
  };
40070
- var ColorFieldvue_type_template_id_31e7b536_staticRenderFns = [];
40347
+ var ColorFieldvue_type_template_id_1af2f90b_staticRenderFns = [];
40071
40348
 
40072
- // CONCATENATED MODULE: ./src/components/ColorField.vue?vue&type=template&id=31e7b536&
40349
+ // CONCATENATED MODULE: ./src/components/ColorField.vue?vue&type=template&id=1af2f90b&
40073
40350
 
40074
40351
  // EXTERNAL MODULE: ./node_modules/vue2-color-picker/dist/vue2-color-picker.js
40075
40352
  var vue2_color_picker = __webpack_require__("b9d7");
@@ -40154,7 +40431,7 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
40154
40431
  togglePicker: function () {
40155
40432
  this.displayPicker ? this.hidePicker() : this.showPicker();
40156
40433
  },
40157
- updateFromInput: function () {
40434
+ updateFromInput: function (e) {
40158
40435
  var pattern = new RegExp("^#[0-9A-F]{6}$");
40159
40436
  var str = this.colorValue;
40160
40437
  if (pattern.test(str)) {
@@ -40162,6 +40439,9 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
40162
40439
  } else {
40163
40440
  return false;
40164
40441
  }
40442
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onChange) {
40443
+ this.fieldInfo.config.onChange(e, this.fieldInfo);
40444
+ }
40165
40445
  },
40166
40446
  updateFromPicker(color) {
40167
40447
  this.colors = color;
@@ -40172,12 +40452,18 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
40172
40452
  this.colorValue = 'rgba(' + color.rgba.r + ', ' + color.rgba.g + ', ' + color.rgba.b + ', ' + color.rgba.a + ')';
40173
40453
  this.fieldInfo.value = this.colorValue;
40174
40454
  }
40455
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onChange) {
40456
+ this.fieldInfo.config.onChange(color, this.fieldInfo);
40457
+ }
40175
40458
  },
40176
40459
  documentClick: function (e) {
40177
40460
  var el = this.$refs.colorpicker,
40178
40461
  target = e.target;
40179
- if (el !== target && !el.contains(target)) {
40462
+ if (el !== target && typeof el != "undefined" && !el.contains(target)) {
40180
40463
  this.hidePicker();
40464
+ if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onChange) {
40465
+ this.fieldInfo.config.onChange(e, this.fieldInfo);
40466
+ }
40181
40467
  }
40182
40468
  }
40183
40469
  },
@@ -40194,8 +40480,8 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
40194
40480
  });
40195
40481
  // CONCATENATED MODULE: ./src/components/ColorField.vue?vue&type=script&lang=js&
40196
40482
  /* harmony default export */ var components_ColorFieldvue_type_script_lang_js_ = (ColorFieldvue_type_script_lang_js_);
40197
- // EXTERNAL MODULE: ./src/components/ColorField.vue?vue&type=style&index=0&id=31e7b536&prod&lang=css&
40198
- var ColorFieldvue_type_style_index_0_id_31e7b536_prod_lang_css_ = __webpack_require__("1560");
40483
+ // EXTERNAL MODULE: ./src/components/ColorField.vue?vue&type=style&index=0&id=1af2f90b&prod&lang=css&
40484
+ var ColorFieldvue_type_style_index_0_id_1af2f90b_prod_lang_css_ = __webpack_require__("0b9c");
40199
40485
 
40200
40486
  // CONCATENATED MODULE: ./src/components/ColorField.vue
40201
40487
 
@@ -40208,8 +40494,8 @@ var ColorFieldvue_type_style_index_0_id_31e7b536_prod_lang_css_ = __webpack_requ
40208
40494
 
40209
40495
  var ColorField_component = normalizeComponent(
40210
40496
  components_ColorFieldvue_type_script_lang_js_,
40211
- ColorFieldvue_type_template_id_31e7b536_render,
40212
- ColorFieldvue_type_template_id_31e7b536_staticRenderFns,
40497
+ ColorFieldvue_type_template_id_1af2f90b_render,
40498
+ ColorFieldvue_type_template_id_1af2f90b_staticRenderFns,
40213
40499
  false,
40214
40500
  null,
40215
40501
  null,
@@ -40904,6 +41190,7 @@ var SlotField_component = normalizeComponent(
40904
41190
 
40905
41191
 
40906
41192
 
41193
+
40907
41194
  //import { getFormValidationRules } from "./validationMessages.vue"
40908
41195
  /* harmony default export */ var DynamicFormvue_type_script_lang_js_ = ({
40909
41196
  name: 'DynamicForm',
@@ -40923,7 +41210,8 @@ var SlotField_component = normalizeComponent(
40923
41210
  ColorField: ColorField,
40924
41211
  FileField: FileField,
40925
41212
  TreeSelectField: TreeSelectField,
40926
- SlotField: SlotField
41213
+ SlotField: SlotField,
41214
+ PasswordField: PasswordField
40927
41215
  },
40928
41216
  data: function () {
40929
41217
  return {
@@ -41470,6 +41758,17 @@ var SlotField_component = normalizeComponent(
41470
41758
  });
41471
41759
  }
41472
41760
  });
41761
+ },
41762
+ getGroupClasses: function (group) {
41763
+ var returnvalue = {
41764
+ 'col-lg-4 col-md-6 col-sm-12': group.groupLayoutType == 'triple',
41765
+ 'col-lg-6 col-md-6 col-sm-12': group.groupLayoutType == 'double',
41766
+ 'col-lg-12 col-md-12 col-sm-12': group.groupLayoutType == 'single' || typeof group.groupLayoutType == 'undefined'
41767
+ };
41768
+ if (group.hasOwnProperty('class') && group.class) {
41769
+ returnvalue[group.class] = true;
41770
+ }
41771
+ return returnvalue;
41473
41772
  }
41474
41773
  },
41475
41774
  created: function () {}