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.common.js +336 -37
- package/dist/myLib.common.js.map +1 -1
- package/dist/myLib.umd.js +336 -37
- package/dist/myLib.umd.js.map +1 -1
- package/dist/myLib.umd.min.js +5 -5
- package/dist/myLib.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/myLib.common.js
CHANGED
|
@@ -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=
|
|
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=646afae2&
|
|
34665
34665
|
var render = function render() {
|
|
34666
34666
|
var _vm = this,
|
|
34667
34667
|
_c = _vm._self._c;
|
|
@@ -34684,11 +34684,7 @@ var render = function render() {
|
|
|
34684
34684
|
}, _vm._l(_vm.schema, function (group, parentIndex) {
|
|
34685
34685
|
return _vm.CheckIfAnyFieldVisibleInGroup(group.Data) ? _c('div', {
|
|
34686
34686
|
key: parentIndex,
|
|
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
|
-
}
|
|
34687
|
+
class: _vm.getGroupClasses(group)
|
|
34692
34688
|
}, [_c('div', {
|
|
34693
34689
|
staticClass: "row"
|
|
34694
34690
|
}, [group.group_name && (group.visibility == true || typeof group.visibility == 'undefined') ? _c('div', {
|
|
@@ -34720,7 +34716,7 @@ var render = function render() {
|
|
|
34720
34716
|
class: {
|
|
34721
34717
|
'text-danger': true
|
|
34722
34718
|
}
|
|
34723
|
-
}, [_vm._v("*")]) : _vm._e()]) : _vm._e(), field.userGuide && field.userGuide != '' ? _c('a', {
|
|
34719
|
+
}, [_vm._v("* ")]) : _vm._e()]) : _vm._e(), _vm._v(" "), field.userGuide && field.userGuide != '' ? _c('a', {
|
|
34724
34720
|
attrs: {
|
|
34725
34721
|
"href": "javascript:;",
|
|
34726
34722
|
"title": field.userGuide,
|
|
@@ -34826,7 +34822,7 @@ var render = function render() {
|
|
|
34826
34822
|
};
|
|
34827
34823
|
var staticRenderFns = [];
|
|
34828
34824
|
|
|
34829
|
-
// CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=
|
|
34825
|
+
// CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=646afae2&
|
|
34830
34826
|
|
|
34831
34827
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
34832
34828
|
var es_array_push = __webpack_require__("14d9");
|
|
@@ -38396,6 +38392,287 @@ var TextField_component = normalizeComponent(
|
|
|
38396
38392
|
)
|
|
38397
38393
|
|
|
38398
38394
|
/* harmony default export */ var TextField = (TextField_component.exports);
|
|
38395
|
+
// 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&
|
|
38396
|
+
var PasswordFieldvue_type_template_id_7484374a_render = function render() {
|
|
38397
|
+
var _vm = this,
|
|
38398
|
+
_c = _vm._self._c;
|
|
38399
|
+
return _c('Field', {
|
|
38400
|
+
staticClass: "w-100",
|
|
38401
|
+
attrs: {
|
|
38402
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
38403
|
+
"name": _vm.GetDisplayLabel(_vm.fieldInfo),
|
|
38404
|
+
"rules": _vm.fieldInfo.validationRules
|
|
38405
|
+
},
|
|
38406
|
+
scopedSlots: _vm._u([{
|
|
38407
|
+
key: "default",
|
|
38408
|
+
fn: function ({
|
|
38409
|
+
errors
|
|
38410
|
+
}) {
|
|
38411
|
+
return [_c('span', {
|
|
38412
|
+
class: {
|
|
38413
|
+
'd-flex ': true,
|
|
38414
|
+
'is-invalid': errors[0]
|
|
38415
|
+
}
|
|
38416
|
+
}, [(_vm.showPassword ? 'text' : 'password') === 'checkbox' ? _c('input', {
|
|
38417
|
+
directives: [{
|
|
38418
|
+
name: "model",
|
|
38419
|
+
rawName: "v-model",
|
|
38420
|
+
value: _vm.fieldInfo.value,
|
|
38421
|
+
expression: "fieldInfo.value"
|
|
38422
|
+
}],
|
|
38423
|
+
class: {
|
|
38424
|
+
'form-control w-100': true,
|
|
38425
|
+
'is-invalid': errors[0]
|
|
38426
|
+
},
|
|
38427
|
+
attrs: {
|
|
38428
|
+
"name": _vm.fieldInfo.name,
|
|
38429
|
+
"id": _vm.fieldInfo.name,
|
|
38430
|
+
"placeholder": _vm.fieldInfo.placeholder,
|
|
38431
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
38432
|
+
"type": "checkbox"
|
|
38433
|
+
},
|
|
38434
|
+
domProps: {
|
|
38435
|
+
"checked": Array.isArray(_vm.fieldInfo.value) ? _vm._i(_vm.fieldInfo.value, null) > -1 : _vm.fieldInfo.value
|
|
38436
|
+
},
|
|
38437
|
+
on: {
|
|
38438
|
+
"change": [function ($event) {
|
|
38439
|
+
var $$a = _vm.fieldInfo.value,
|
|
38440
|
+
$$el = $event.target,
|
|
38441
|
+
$$c = $$el.checked ? true : false;
|
|
38442
|
+
if (Array.isArray($$a)) {
|
|
38443
|
+
var $$v = null,
|
|
38444
|
+
$$i = _vm._i($$a, $$v);
|
|
38445
|
+
if ($$el.checked) {
|
|
38446
|
+
$$i < 0 && _vm.$set(_vm.fieldInfo, "value", $$a.concat([$$v]));
|
|
38447
|
+
} else {
|
|
38448
|
+
$$i > -1 && _vm.$set(_vm.fieldInfo, "value", $$a.slice(0, $$i).concat($$a.slice($$i + 1)));
|
|
38449
|
+
}
|
|
38450
|
+
} else {
|
|
38451
|
+
_vm.$set(_vm.fieldInfo, "value", $$c);
|
|
38452
|
+
}
|
|
38453
|
+
}, function ($event) {
|
|
38454
|
+
return _vm.onChange($event);
|
|
38455
|
+
}],
|
|
38456
|
+
"blur": function ($event) {
|
|
38457
|
+
return _vm.onBlur($event);
|
|
38458
|
+
},
|
|
38459
|
+
"keyup": function ($event) {
|
|
38460
|
+
return _vm.onKeyUp($event);
|
|
38461
|
+
}
|
|
38462
|
+
}
|
|
38463
|
+
}) : (_vm.showPassword ? 'text' : 'password') === 'radio' ? _c('input', {
|
|
38464
|
+
directives: [{
|
|
38465
|
+
name: "model",
|
|
38466
|
+
rawName: "v-model",
|
|
38467
|
+
value: _vm.fieldInfo.value,
|
|
38468
|
+
expression: "fieldInfo.value"
|
|
38469
|
+
}],
|
|
38470
|
+
class: {
|
|
38471
|
+
'form-control w-100': true,
|
|
38472
|
+
'is-invalid': errors[0]
|
|
38473
|
+
},
|
|
38474
|
+
attrs: {
|
|
38475
|
+
"name": _vm.fieldInfo.name,
|
|
38476
|
+
"id": _vm.fieldInfo.name,
|
|
38477
|
+
"placeholder": _vm.fieldInfo.placeholder,
|
|
38478
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
38479
|
+
"type": "radio"
|
|
38480
|
+
},
|
|
38481
|
+
domProps: {
|
|
38482
|
+
"checked": _vm._q(_vm.fieldInfo.value, null)
|
|
38483
|
+
},
|
|
38484
|
+
on: {
|
|
38485
|
+
"change": [function ($event) {
|
|
38486
|
+
return _vm.$set(_vm.fieldInfo, "value", null);
|
|
38487
|
+
}, function ($event) {
|
|
38488
|
+
return _vm.onChange($event);
|
|
38489
|
+
}],
|
|
38490
|
+
"blur": function ($event) {
|
|
38491
|
+
return _vm.onBlur($event);
|
|
38492
|
+
},
|
|
38493
|
+
"keyup": function ($event) {
|
|
38494
|
+
return _vm.onKeyUp($event);
|
|
38495
|
+
}
|
|
38496
|
+
}
|
|
38497
|
+
}) : _c('input', {
|
|
38498
|
+
directives: [{
|
|
38499
|
+
name: "model",
|
|
38500
|
+
rawName: "v-model",
|
|
38501
|
+
value: _vm.fieldInfo.value,
|
|
38502
|
+
expression: "fieldInfo.value"
|
|
38503
|
+
}],
|
|
38504
|
+
class: {
|
|
38505
|
+
'form-control w-100': true,
|
|
38506
|
+
'is-invalid': errors[0]
|
|
38507
|
+
},
|
|
38508
|
+
attrs: {
|
|
38509
|
+
"name": _vm.fieldInfo.name,
|
|
38510
|
+
"id": _vm.fieldInfo.name,
|
|
38511
|
+
"placeholder": _vm.fieldInfo.placeholder,
|
|
38512
|
+
"disabled": _vm.fieldInfo.disabled,
|
|
38513
|
+
"type": _vm.showPassword ? 'text' : 'password'
|
|
38514
|
+
},
|
|
38515
|
+
domProps: {
|
|
38516
|
+
"value": _vm.fieldInfo.value
|
|
38517
|
+
},
|
|
38518
|
+
on: {
|
|
38519
|
+
"change": function ($event) {
|
|
38520
|
+
return _vm.onChange($event);
|
|
38521
|
+
},
|
|
38522
|
+
"blur": function ($event) {
|
|
38523
|
+
return _vm.onBlur($event);
|
|
38524
|
+
},
|
|
38525
|
+
"keyup": function ($event) {
|
|
38526
|
+
return _vm.onKeyUp($event);
|
|
38527
|
+
},
|
|
38528
|
+
"input": function ($event) {
|
|
38529
|
+
if ($event.target.composing) return;
|
|
38530
|
+
_vm.$set(_vm.fieldInfo, "value", $event.target.value);
|
|
38531
|
+
}
|
|
38532
|
+
}
|
|
38533
|
+
}), _c('i', {
|
|
38534
|
+
class: {
|
|
38535
|
+
'fa': true,
|
|
38536
|
+
'fa-eye': !_vm.showPassword,
|
|
38537
|
+
'fa-eye-slash': _vm.showPassword
|
|
38538
|
+
},
|
|
38539
|
+
staticStyle: {
|
|
38540
|
+
"position": "absolute",
|
|
38541
|
+
"right": "0",
|
|
38542
|
+
"padding": "8px",
|
|
38543
|
+
"color": "#b7b7b7"
|
|
38544
|
+
},
|
|
38545
|
+
on: {
|
|
38546
|
+
"click": _vm.showPasswordFunc
|
|
38547
|
+
}
|
|
38548
|
+
}), _vm.showAddIcon() ? _c('div', {
|
|
38549
|
+
staticClass: "ml-2 mt-1"
|
|
38550
|
+
}, [_c('a', {
|
|
38551
|
+
class: _vm.addButtonClass()
|
|
38552
|
+
}, [_c('i', {
|
|
38553
|
+
class: _vm.addIconClass(),
|
|
38554
|
+
attrs: {
|
|
38555
|
+
"alt": "+"
|
|
38556
|
+
},
|
|
38557
|
+
on: {
|
|
38558
|
+
"click": function ($event) {
|
|
38559
|
+
return _vm.onAddButtonClick($event);
|
|
38560
|
+
}
|
|
38561
|
+
}
|
|
38562
|
+
})])]) : _vm._e()]), errors[0] ? _c('span', {
|
|
38563
|
+
staticClass: "invalid-feedback",
|
|
38564
|
+
attrs: {
|
|
38565
|
+
"name": _vm.fieldInfo.name
|
|
38566
|
+
}
|
|
38567
|
+
}, [_vm._v(_vm._s(errors[0]))]) : _vm._e()];
|
|
38568
|
+
}
|
|
38569
|
+
}])
|
|
38570
|
+
});
|
|
38571
|
+
};
|
|
38572
|
+
var PasswordFieldvue_type_template_id_7484374a_staticRenderFns = [];
|
|
38573
|
+
|
|
38574
|
+
// CONCATENATED MODULE: ./src/components/PasswordField.vue?vue&type=template&id=7484374a&
|
|
38575
|
+
|
|
38576
|
+
// 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&
|
|
38577
|
+
|
|
38578
|
+
/* harmony default export */ var PasswordFieldvue_type_script_lang_js_ = ({
|
|
38579
|
+
components: {
|
|
38580
|
+
Field: ValidationProvider
|
|
38581
|
+
},
|
|
38582
|
+
props: {
|
|
38583
|
+
lang: {
|
|
38584
|
+
type: String,
|
|
38585
|
+
default: 'en'
|
|
38586
|
+
},
|
|
38587
|
+
fieldInfo: {
|
|
38588
|
+
type: Object,
|
|
38589
|
+
required: true
|
|
38590
|
+
}
|
|
38591
|
+
},
|
|
38592
|
+
data: function () {
|
|
38593
|
+
return {
|
|
38594
|
+
showPassword: false
|
|
38595
|
+
};
|
|
38596
|
+
},
|
|
38597
|
+
mounted: function () {
|
|
38598
|
+
this.fieldInfo.validationRules = getValidationRules(this.fieldInfo.validationRules, this.lang);
|
|
38599
|
+
},
|
|
38600
|
+
methods: {
|
|
38601
|
+
GetDisplayLabel(field) {
|
|
38602
|
+
var labelName = '';
|
|
38603
|
+
if (field.hasOwnProperty('label') && field.label) {
|
|
38604
|
+
labelName = field.label;
|
|
38605
|
+
} else if (field.hasOwnProperty('display_name') && field.display_name) {
|
|
38606
|
+
labelName = field.display_name;
|
|
38607
|
+
}
|
|
38608
|
+
return labelName;
|
|
38609
|
+
},
|
|
38610
|
+
onChange: function (e) {
|
|
38611
|
+
if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onChange) {
|
|
38612
|
+
this.fieldInfo.config.onChange(e, this.fieldInfo);
|
|
38613
|
+
}
|
|
38614
|
+
},
|
|
38615
|
+
onBlur: function (e) {
|
|
38616
|
+
if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onBlur) {
|
|
38617
|
+
this.fieldInfo.config.onBlur(e, this.fieldInfo);
|
|
38618
|
+
}
|
|
38619
|
+
},
|
|
38620
|
+
onKeyUp: function (e) {
|
|
38621
|
+
if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onKeyUp) {
|
|
38622
|
+
this.fieldInfo.config.onKeyUp(e, this.fieldInfo);
|
|
38623
|
+
}
|
|
38624
|
+
},
|
|
38625
|
+
showAddIcon: function () {
|
|
38626
|
+
if (this.fieldInfo.config && this.fieldInfo.config.showAddIcon) {
|
|
38627
|
+
return this.fieldInfo.config.showAddIcon;
|
|
38628
|
+
}
|
|
38629
|
+
},
|
|
38630
|
+
onAddButtonClick: function (e) {
|
|
38631
|
+
if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onAddButtonClick) {
|
|
38632
|
+
this.fieldInfo.config.onAddButtonClick(e, this.fieldInfo);
|
|
38633
|
+
}
|
|
38634
|
+
},
|
|
38635
|
+
addButtonClass: function () {
|
|
38636
|
+
if (this.fieldInfo.config && this.fieldInfo.config.addIconBackground) {
|
|
38637
|
+
return "round-icon-small theme-primary " + this.fieldInfo.config.addIconBackground;
|
|
38638
|
+
} else {
|
|
38639
|
+
return "round-icon-small btn-dark theme-primary";
|
|
38640
|
+
}
|
|
38641
|
+
},
|
|
38642
|
+
addIconClass: function () {
|
|
38643
|
+
if (this.fieldInfo.config && this.fieldInfo.config.addIcon) {
|
|
38644
|
+
return "fa text-white pt-7 font-18 " + this.fieldInfo.config.addIcon;
|
|
38645
|
+
} else {
|
|
38646
|
+
return "fa fa-plus text-white pt-7 font-18";
|
|
38647
|
+
}
|
|
38648
|
+
},
|
|
38649
|
+
showPasswordFunc: function () {
|
|
38650
|
+
this.showPassword = !this.showPassword;
|
|
38651
|
+
}
|
|
38652
|
+
}
|
|
38653
|
+
});
|
|
38654
|
+
// CONCATENATED MODULE: ./src/components/PasswordField.vue?vue&type=script&lang=js&
|
|
38655
|
+
/* harmony default export */ var components_PasswordFieldvue_type_script_lang_js_ = (PasswordFieldvue_type_script_lang_js_);
|
|
38656
|
+
// CONCATENATED MODULE: ./src/components/PasswordField.vue
|
|
38657
|
+
|
|
38658
|
+
|
|
38659
|
+
|
|
38660
|
+
|
|
38661
|
+
|
|
38662
|
+
/* normalize component */
|
|
38663
|
+
|
|
38664
|
+
var PasswordField_component = normalizeComponent(
|
|
38665
|
+
components_PasswordFieldvue_type_script_lang_js_,
|
|
38666
|
+
PasswordFieldvue_type_template_id_7484374a_render,
|
|
38667
|
+
PasswordFieldvue_type_template_id_7484374a_staticRenderFns,
|
|
38668
|
+
false,
|
|
38669
|
+
null,
|
|
38670
|
+
null,
|
|
38671
|
+
null
|
|
38672
|
+
|
|
38673
|
+
)
|
|
38674
|
+
|
|
38675
|
+
/* harmony default export */ var PasswordField = (PasswordField_component.exports);
|
|
38399
38676
|
// 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&
|
|
38400
38677
|
var DateFieldvue_type_template_id_545551d4_render = function render() {
|
|
38401
38678
|
var _vm = this,
|
|
@@ -39999,8 +40276,8 @@ var TextAreaField_component = normalizeComponent(
|
|
|
39999
40276
|
)
|
|
40000
40277
|
|
|
40001
40278
|
/* harmony default export */ var TextAreaField = (TextAreaField_component.exports);
|
|
40002
|
-
// 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=
|
|
40003
|
-
var
|
|
40279
|
+
// 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&
|
|
40280
|
+
var ColorFieldvue_type_template_id_1af2f90b_render = function render() {
|
|
40004
40281
|
var _vm = this,
|
|
40005
40282
|
_c = _vm._self._c;
|
|
40006
40283
|
return _c('div', {
|
|
@@ -40058,9 +40335,9 @@ var ColorFieldvue_type_template_id_31e7b536_render = function render() {
|
|
|
40058
40335
|
}])
|
|
40059
40336
|
})], 1);
|
|
40060
40337
|
};
|
|
40061
|
-
var
|
|
40338
|
+
var ColorFieldvue_type_template_id_1af2f90b_staticRenderFns = [];
|
|
40062
40339
|
|
|
40063
|
-
// CONCATENATED MODULE: ./src/components/ColorField.vue?vue&type=template&id=
|
|
40340
|
+
// CONCATENATED MODULE: ./src/components/ColorField.vue?vue&type=template&id=1af2f90b&
|
|
40064
40341
|
|
|
40065
40342
|
// EXTERNAL MODULE: ./node_modules/vue2-color-picker/dist/vue2-color-picker.js
|
|
40066
40343
|
var vue2_color_picker = __webpack_require__("b9d7");
|
|
@@ -40145,7 +40422,7 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
|
|
|
40145
40422
|
togglePicker: function () {
|
|
40146
40423
|
this.displayPicker ? this.hidePicker() : this.showPicker();
|
|
40147
40424
|
},
|
|
40148
|
-
updateFromInput: function () {
|
|
40425
|
+
updateFromInput: function (e) {
|
|
40149
40426
|
var pattern = new RegExp("^#[0-9A-F]{6}$");
|
|
40150
40427
|
var str = this.colorValue;
|
|
40151
40428
|
if (pattern.test(str)) {
|
|
@@ -40153,6 +40430,9 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
|
|
|
40153
40430
|
} else {
|
|
40154
40431
|
return false;
|
|
40155
40432
|
}
|
|
40433
|
+
if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onChange) {
|
|
40434
|
+
this.fieldInfo.config.onChange(e, this.fieldInfo);
|
|
40435
|
+
}
|
|
40156
40436
|
},
|
|
40157
40437
|
updateFromPicker(color) {
|
|
40158
40438
|
this.colors = color;
|
|
@@ -40163,12 +40443,18 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
|
|
|
40163
40443
|
this.colorValue = 'rgba(' + color.rgba.r + ', ' + color.rgba.g + ', ' + color.rgba.b + ', ' + color.rgba.a + ')';
|
|
40164
40444
|
this.fieldInfo.value = this.colorValue;
|
|
40165
40445
|
}
|
|
40446
|
+
if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onChange) {
|
|
40447
|
+
this.fieldInfo.config.onChange(color, this.fieldInfo);
|
|
40448
|
+
}
|
|
40166
40449
|
},
|
|
40167
40450
|
documentClick: function (e) {
|
|
40168
40451
|
var el = this.$refs.colorpicker,
|
|
40169
40452
|
target = e.target;
|
|
40170
|
-
if (el !== target && !el.contains(target)) {
|
|
40453
|
+
if (el !== target && typeof el != "undefined" && !el.contains(target)) {
|
|
40171
40454
|
this.hidePicker();
|
|
40455
|
+
if (this.fieldInfo && this.fieldInfo.config && this.fieldInfo.config.onChange) {
|
|
40456
|
+
this.fieldInfo.config.onChange(e, this.fieldInfo);
|
|
40457
|
+
}
|
|
40172
40458
|
}
|
|
40173
40459
|
}
|
|
40174
40460
|
},
|
|
@@ -40185,8 +40471,8 @@ var vue2_color_picker_default = /*#__PURE__*/__webpack_require__.n(vue2_color_pi
|
|
|
40185
40471
|
});
|
|
40186
40472
|
// CONCATENATED MODULE: ./src/components/ColorField.vue?vue&type=script&lang=js&
|
|
40187
40473
|
/* harmony default export */ var components_ColorFieldvue_type_script_lang_js_ = (ColorFieldvue_type_script_lang_js_);
|
|
40188
|
-
// EXTERNAL MODULE: ./src/components/ColorField.vue?vue&type=style&index=0&id=
|
|
40189
|
-
var
|
|
40474
|
+
// EXTERNAL MODULE: ./src/components/ColorField.vue?vue&type=style&index=0&id=1af2f90b&prod&lang=css&
|
|
40475
|
+
var ColorFieldvue_type_style_index_0_id_1af2f90b_prod_lang_css_ = __webpack_require__("0b9c");
|
|
40190
40476
|
|
|
40191
40477
|
// CONCATENATED MODULE: ./src/components/ColorField.vue
|
|
40192
40478
|
|
|
@@ -40199,8 +40485,8 @@ var ColorFieldvue_type_style_index_0_id_31e7b536_prod_lang_css_ = __webpack_requ
|
|
|
40199
40485
|
|
|
40200
40486
|
var ColorField_component = normalizeComponent(
|
|
40201
40487
|
components_ColorFieldvue_type_script_lang_js_,
|
|
40202
|
-
|
|
40203
|
-
|
|
40488
|
+
ColorFieldvue_type_template_id_1af2f90b_render,
|
|
40489
|
+
ColorFieldvue_type_template_id_1af2f90b_staticRenderFns,
|
|
40204
40490
|
false,
|
|
40205
40491
|
null,
|
|
40206
40492
|
null,
|
|
@@ -40895,6 +41181,7 @@ var SlotField_component = normalizeComponent(
|
|
|
40895
41181
|
|
|
40896
41182
|
|
|
40897
41183
|
|
|
41184
|
+
|
|
40898
41185
|
//import { getFormValidationRules } from "./validationMessages.vue"
|
|
40899
41186
|
/* harmony default export */ var DynamicFormvue_type_script_lang_js_ = ({
|
|
40900
41187
|
name: 'DynamicForm',
|
|
@@ -40914,7 +41201,8 @@ var SlotField_component = normalizeComponent(
|
|
|
40914
41201
|
ColorField: ColorField,
|
|
40915
41202
|
FileField: FileField,
|
|
40916
41203
|
TreeSelectField: TreeSelectField,
|
|
40917
|
-
SlotField: SlotField
|
|
41204
|
+
SlotField: SlotField,
|
|
41205
|
+
PasswordField: PasswordField
|
|
40918
41206
|
},
|
|
40919
41207
|
data: function () {
|
|
40920
41208
|
return {
|
|
@@ -41461,6 +41749,17 @@ var SlotField_component = normalizeComponent(
|
|
|
41461
41749
|
});
|
|
41462
41750
|
}
|
|
41463
41751
|
});
|
|
41752
|
+
},
|
|
41753
|
+
getGroupClasses: function (group) {
|
|
41754
|
+
var returnvalue = {
|
|
41755
|
+
'col-lg-4 col-md-6 col-sm-12': group.groupLayoutType == 'triple',
|
|
41756
|
+
'col-lg-6 col-md-6 col-sm-12': group.groupLayoutType == 'double',
|
|
41757
|
+
'col-lg-12 col-md-12 col-sm-12': group.groupLayoutType == 'single' || typeof group.groupLayoutType == 'undefined'
|
|
41758
|
+
};
|
|
41759
|
+
if (group.hasOwnProperty('class') && group.class) {
|
|
41760
|
+
returnvalue[group.class] = true;
|
|
41761
|
+
}
|
|
41762
|
+
return returnvalue;
|
|
41464
41763
|
}
|
|
41465
41764
|
},
|
|
41466
41765
|
created: function () {}
|