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.umd.js
CHANGED
|
@@ -36343,7 +36343,7 @@ if (typeof window !== 'undefined') {
|
|
|
36343
36343
|
// Indicate to webpack that this file can be concatenated
|
|
36344
36344
|
/* harmony default export */ var setPublicPath = (null);
|
|
36345
36345
|
|
|
36346
|
-
// 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=
|
|
36346
|
+
// 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
|
|
36347
36347
|
var render = function render() {
|
|
36348
36348
|
var _vm = this,
|
|
36349
36349
|
_c = _vm._self._c;
|
|
@@ -36465,16 +36465,16 @@ var render = function render() {
|
|
|
36465
36465
|
}], null, true)
|
|
36466
36466
|
})] : _vm._e()], 2) : _vm._e()]);
|
|
36467
36467
|
}), _vm.buttons != false && _vm.inlinebuttons == true && _vm.schema.length - 1 == parentIndex ? _c('div', {
|
|
36468
|
-
class: _vm.getInlineButtonClasses(group.layoutType, group.Data
|
|
36468
|
+
class: _vm.getInlineButtonClasses(group.layoutType, group.Data)
|
|
36469
36469
|
}, [_vm.renderButtons(_vm.buttons).length == 0 ? _c('div', {
|
|
36470
|
-
|
|
36470
|
+
class: _vm.buttonClasses
|
|
36471
36471
|
}, [_c('button', {
|
|
36472
36472
|
staticClass: "btn btn-success",
|
|
36473
36473
|
attrs: {
|
|
36474
36474
|
"type": "submit"
|
|
36475
36475
|
}
|
|
36476
36476
|
}, [_vm._v("Submit")])]) : _vm._e(), _vm.renderButtons(_vm.buttons).length >= 0 ? _c('div', {
|
|
36477
|
-
|
|
36477
|
+
class: _vm.buttonClasses
|
|
36478
36478
|
}, [_vm._l(_vm.buttons, function (button, index) {
|
|
36479
36479
|
return [button.type && button.type.toLowerCase() == 'submit' && (button.hasOwnProperty('isVisible') == false || button.hasOwnProperty('isVisible') && button.isVisible == true) ? _c('button', {
|
|
36480
36480
|
class: button.class,
|
|
@@ -36560,7 +36560,7 @@ var render = function render() {
|
|
|
36560
36560
|
};
|
|
36561
36561
|
var staticRenderFns = [];
|
|
36562
36562
|
|
|
36563
|
-
// CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=
|
|
36563
|
+
// CONCATENATED MODULE: ./src/components/DynamicForm.vue?vue&type=template&id=0826dbeb
|
|
36564
36564
|
|
|
36565
36565
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
|
|
36566
36566
|
var es_array_push = __webpack_require__("14d9");
|
|
@@ -46332,7 +46332,8 @@ var DateRangeField_component = normalizeComponent(
|
|
|
46332
46332
|
return {
|
|
46333
46333
|
//ValidationRules: null,
|
|
46334
46334
|
clickedButton: null,
|
|
46335
|
-
keyForComponentUpdate: 0
|
|
46335
|
+
keyForComponentUpdate: 0,
|
|
46336
|
+
buttonClasses: "col-lg-6 col-md-6 p-0 pt-4"
|
|
46336
46337
|
};
|
|
46337
46338
|
},
|
|
46338
46339
|
props: {
|
|
@@ -46885,17 +46886,21 @@ var DateRangeField_component = normalizeComponent(
|
|
|
46885
46886
|
}
|
|
46886
46887
|
return returnvalue;
|
|
46887
46888
|
},
|
|
46888
|
-
getInlineButtonClasses: function (layoutType,
|
|
46889
|
+
getInlineButtonClasses: function (layoutType, fields) {
|
|
46890
|
+
var fieldCount = fields.filter(x => {
|
|
46891
|
+
return x.visibility == true || typeof x.visibility == 'undefined';
|
|
46892
|
+
}).length;
|
|
46889
46893
|
var rtnValue = "col-sm-12 col-md-12 float-left";
|
|
46890
46894
|
if (layoutType == "single") {
|
|
46891
46895
|
rtnValue += " col-lg-12 col-xl-12";
|
|
46892
|
-
} else if (layoutType == "double" && fieldCount % 2
|
|
46896
|
+
} else if (layoutType == "double" && fieldCount % 2 != 0) {
|
|
46893
46897
|
rtnValue += " col-lg-6 col-xl-6";
|
|
46894
|
-
} else if (layoutType == "triple" && fieldCount % 3
|
|
46898
|
+
} else if (layoutType == "triple" && fieldCount % 3 != 0) {
|
|
46895
46899
|
rtnValue += " col-lg-4 col-xl-4";
|
|
46896
|
-
} else if (layoutType == "four" && fieldCount % 4
|
|
46900
|
+
} else if (layoutType == "four" && fieldCount % 4 != 0) {
|
|
46897
46901
|
rtnValue += " col-lg-3 col-xl-3";
|
|
46898
46902
|
} else {
|
|
46903
|
+
buttonClasses = "col-lg-6 col-md-6 pr-0 float-left text-right";
|
|
46899
46904
|
rtnValue += " col-lg-12 col-xl-12 text-right";
|
|
46900
46905
|
}
|
|
46901
46906
|
return rtnValue;
|