tg-controls_cli 0.1.4 → 0.1.5
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 +15 -10
- package/dist/myLib.common.js.map +1 -1
- package/dist/myLib.umd.js +15 -10
- package/dist/myLib.umd.js.map +1 -1
- package/dist/myLib.umd.min.js +2 -2
- package/dist/myLib.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/myLib.common.js
CHANGED
|
@@ -36334,7 +36334,7 @@ if (typeof window !== 'undefined') {
|
|
|
36334
36334
|
// Indicate to webpack that this file can be concatenated
|
|
36335
36335
|
/* harmony default export */ var setPublicPath = (null);
|
|
36336
36336
|
|
|
36337
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4289e630-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=
|
|
36337
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"4289e630-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=0826dbeb
|
|
36338
36338
|
var render = function render() {
|
|
36339
36339
|
var _vm = this,
|
|
36340
36340
|
_c = _vm._self._c;
|
|
@@ -36456,16 +36456,16 @@ var render = function render() {
|
|
|
36456
36456
|
}], null, true)
|
|
36457
36457
|
})] : _vm._e()], 2) : _vm._e()]);
|
|
36458
36458
|
}), _vm.buttons != false && _vm.inlinebuttons == true && _vm.schema.length - 1 == parentIndex ? _c('div', {
|
|
36459
|
-
class: _vm.getInlineButtonClasses(group.layoutType, group.Data
|
|
36459
|
+
class: _vm.getInlineButtonClasses(group.layoutType, group.Data)
|
|
36460
36460
|
}, [_vm.renderButtons(_vm.buttons).length == 0 ? _c('div', {
|
|
36461
|
-
|
|
36461
|
+
class: _vm.buttonClasses
|
|
36462
36462
|
}, [_c('button', {
|
|
36463
36463
|
staticClass: "btn btn-success",
|
|
36464
36464
|
attrs: {
|
|
36465
36465
|
"type": "submit"
|
|
36466
36466
|
}
|
|
36467
36467
|
}, [_vm._v("Submit")])]) : _vm._e(), _vm.renderButtons(_vm.buttons).length >= 0 ? _c('div', {
|
|
36468
|
-
|
|
36468
|
+
class: _vm.buttonClasses
|
|
36469
36469
|
}, [_vm._l(_vm.buttons, function (button, index) {
|
|
36470
36470
|
return [button.type && button.type.toLowerCase() == 'submit' && (button.hasOwnProperty('isVisible') == false || button.hasOwnProperty('isVisible') && button.isVisible == true) ? _c('button', {
|
|
36471
36471
|
class: button.class,
|
|
@@ -36551,7 +36551,7 @@ var render = function render() {
|
|
|
36551
36551
|
};
|
|
36552
36552
|
var staticRenderFns = [];
|
|
36553
36553
|
|
|
36554
|
-
// CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=
|
|
36554
|
+
// CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=0826dbeb
|
|
36555
36555
|
|
|
36556
36556
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
36557
36557
|
var es_array_push = __webpack_require__("14d9");
|
|
@@ -46323,7 +46323,8 @@ var DateRangeField_component = normalizeComponent(
|
|
|
46323
46323
|
return {
|
|
46324
46324
|
//ValidationRules: null,
|
|
46325
46325
|
clickedButton: null,
|
|
46326
|
-
keyForComponentUpdate: 0
|
|
46326
|
+
keyForComponentUpdate: 0,
|
|
46327
|
+
buttonClasses: "col-lg-6 col-md-6 p-0 pt-4"
|
|
46327
46328
|
};
|
|
46328
46329
|
},
|
|
46329
46330
|
props: {
|
|
@@ -46876,17 +46877,21 @@ var DateRangeField_component = normalizeComponent(
|
|
|
46876
46877
|
}
|
|
46877
46878
|
return returnvalue;
|
|
46878
46879
|
},
|
|
46879
|
-
getInlineButtonClasses: function (layoutType,
|
|
46880
|
+
getInlineButtonClasses: function (layoutType, fields) {
|
|
46881
|
+
var fieldCount = fields.filter(x => {
|
|
46882
|
+
return x.visibility == true || typeof x.visibility == 'undefined';
|
|
46883
|
+
}).length;
|
|
46880
46884
|
var rtnValue = "col-sm-12 col-md-12 float-left";
|
|
46881
46885
|
if (layoutType == "single") {
|
|
46882
46886
|
rtnValue += " col-lg-12 col-xl-12";
|
|
46883
|
-
} else if (layoutType == "double" && fieldCount % 2
|
|
46887
|
+
} else if (layoutType == "double" && fieldCount % 2 != 0) {
|
|
46884
46888
|
rtnValue += " col-lg-6 col-xl-6";
|
|
46885
|
-
} else if (layoutType == "triple" && fieldCount % 3
|
|
46889
|
+
} else if (layoutType == "triple" && fieldCount % 3 != 0) {
|
|
46886
46890
|
rtnValue += " col-lg-4 col-xl-4";
|
|
46887
|
-
} else if (layoutType == "four" && fieldCount % 4
|
|
46891
|
+
} else if (layoutType == "four" && fieldCount % 4 != 0) {
|
|
46888
46892
|
rtnValue += " col-lg-3 col-xl-3";
|
|
46889
46893
|
} else {
|
|
46894
|
+
buttonClasses = "col-lg-6 col-md-6 pr-0 float-left text-right";
|
|
46890
46895
|
rtnValue += " col-lg-12 col-xl-12 text-right";
|
|
46891
46896
|
}
|
|
46892
46897
|
return rtnValue;
|