tg-listv 0.1.29 → 0.1.31
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/tglistv.common.js
CHANGED
|
@@ -38895,8 +38895,8 @@ var es_string_includes = __webpack_require__("2532");
|
|
|
38895
38895
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
38896
38896
|
var es_array_from = __webpack_require__("a630");
|
|
38897
38897
|
|
|
38898
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cea975cc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DataTable.vue?vue&type=template&id=
|
|
38899
|
-
var
|
|
38898
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cea975cc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DataTable.vue?vue&type=template&id=36329af2&
|
|
38899
|
+
var DataTablevue_type_template_id_36329af2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{class:'table-responsive ' + _vm.tableClasses,staticStyle:{"overflow-x":"auto"}},[_c('table',{staticClass:"table table-bordered mt-0",staticStyle:{"width":"100%","min-width":"100%"},attrs:{"id":'tablelistingdata_' + _vm.randomNumberForIds}},[_c('thead',{staticClass:"thead-bg"},[_c('tr',[((typeof(_vm.showCheckBox) === 'undefined' || _vm.showCheckBox == true))?_c('th',{staticClass:"text-center",staticStyle:{"width":"50px !important"}},[(_vm.selectionType == 'multiple')?_c('label',{class:{'form-check form-check-inline' : true}},[_c('div',{staticClass:"custom-control custom-checkbox custom-control-inline"},[_c('input',{staticClass:"chkItems custom-control-input",attrs:{"id":'chkAll_' + _vm.randomNumberForIds,"value":"","type":"checkbox"},on:{"change":function($event){return _vm.onChangeEventOfCheckbox($event)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'chkAll_' + _vm.randomNumberForIds}})])]):_vm._e()]):_vm._e(),_vm._l((_vm.Headers),function(item,headerIndex){return [(item.VISIBLE)?_c('th',{key:headerIndex,class:{'text-center': item.COLUMN_NAME=='status', 'text-right':(item.DATA_TYPE=='decimal' || item.DATA_TYPE=='currency' || item.DATA_TYPE=='int' || item.DATA_TYPE=='bigint'), 'resizable-column': !_vm.isChild},staticStyle:{"text-transform":"capitalize","position":"relative"},style:(_vm.getColumnStyle(item)),attrs:{"id":item.COLUMN_NAME + '_' + _vm.subModuleCode}},[(item.VISIBLE && item.SORTABLE == true && _vm.isChild == false)?_c('span',{class:{
|
|
38900
38900
|
'sort text-overflow-dynamic-container': item.SORTABLE == true,
|
|
38901
38901
|
'tb_headerSortUp': _vm.SortExp == 'ASC' && _vm.SortBy == item.COLUMN_NAME,
|
|
38902
38902
|
'tb_headerSortDown':
|
|
@@ -38905,10 +38905,10 @@ var DataTablevue_type_template_id_12f1b198_render = function () {var _vm=this;va
|
|
|
38905
38905
|
&& typeof(key.settings.clickEvent) != 'undefined' && key.settings.clickEvent != null && key.settings.isInSlot != true)?_c('RouterLink',{attrs:{"id":"viewLeadeContent_a","to":typeof(item.rowDetailsUrl)!='undefined' ? item.rowDetailsUrl : ''},nativeOn:{"click":function($event){return _vm.clickEventCheck(key,item)}}},[_vm._v(" "+_vm._s(((typeof(key.settings.formatter) === 'function')?key.settings.formatter(item, key):_vm.TruncateStrDynamic(item[key.COLUMN_NAME], key)))+" ")]):_vm._e(),(typeof(key.settings) != 'undefined' && key.settings != null && (typeof(key.settings.clickEvent) === 'undefined' || key.settings.clickEvent == null) && key.settings.isInSlot != true)?_c('span',{attrs:{"title":item[key.COLUMN_NAME]}},[_vm._v(" "+_vm._s(((typeof(key.settings.formatter) === 'function')?key.settings.formatter(item, key):_vm.TruncateStrDynamic(item[key.COLUMN_NAME], key)))+" ")]):_vm._e(),(typeof(key.settings) === 'undefined' || key.settings == null)?_c('span',{attrs:{"title":item[key.COLUMN_NAME]}},[_vm._v(" "+_vm._s(_vm.TruncateStrDynamic(item[key.COLUMN_NAME], key))+" ")]):_vm._e()],1):_vm._e()]],2):_vm._e()]}),(_vm.IsShowAction == true)?_c('RowActions',{attrs:{"item":item,"index":dataIndex,"identityColumn":_vm.identityColumn,"listActionsMethod":_vm.renderRowActionMethod},on:{"ButtonClick":_vm.ButtonClick}}):_vm._e()],2),(typeof(item.child) != 'undefined' && item.child.isShowChild == true)?_c('tr',[_c('td',{attrs:{"colspan":(_vm.Headers.length + 2)}},[_c('data-table',{attrs:{"name":'child' + dataIndex,"Data":item.child.data,"noRecord":((typeof(item.child.data) != 'undefined' && item.child.data.length > 0) ? false: true),"Headers":(typeof(item.child.headers) != 'undefined' ? item.child.headers: _vm.Headers),"SortExp":_vm.SortExp,"SortBy":_vm.SortBy,"isChild":true,"UserPageSize":_vm.UserPageSize,"totalrecords":(typeof(item.child.data) != 'undefined' ? item.child.data.length: 0),"IsShowAction":_vm.IsShowAction,"renderRowActionMethod":_vm.renderRowActionMethod,"identityColumn":_vm.identityColumn,"subModuleCode":_vm.subModuleCode,"NorecordfoundText":_vm.NorecordfoundText,"showCheckBox":_vm.showCheckBox,"selectionType":_vm.selectionType},on:{"sortdata":_vm.sortdata,"ButtonClick":_vm.ChildButtonClick,"PagerMethod":_vm.pagerMethod,"EventOfCheckbox":_vm.onChangeEventOfCheckbox},scopedSlots:_vm._u([{key:"slotdata",fn:function(ref){
|
|
38906
38906
|
var data = ref.data;
|
|
38907
38907
|
return [_vm._t("slotdata",null,{"data":{row:data.row,column:data.column,listtype:_vm.selectedView}})]}}],null,true)})],1)]):_vm._e()]}),(_vm.noRecord || _vm.Data.length == 0)?_c('tr',[_c('td',{staticClass:"text-center text-danger no-record",attrs:{"colspan":"17"}},[_vm._v(_vm._s(_vm.NorecordfoundText))])]):_vm._e()],2)])]),(_vm.isChild == false)?_c('Pager',{attrs:{"UserPageSize":_vm.UserPageSize,"CurrentPageNumber":_vm.currentPage,"numberofrecords":_vm.totalrecords,"prev-text":_vm.$t('Previous'),"first-text":_vm.$t('First'),"last-text":_vm.$t('Last'),"next-text":_vm.$t('Next')},on:{"SetCurrentPage":_vm.pagerMethod}}):_vm._e()],1)}
|
|
38908
|
-
var
|
|
38908
|
+
var DataTablevue_type_template_id_36329af2_staticRenderFns = []
|
|
38909
38909
|
|
|
38910
38910
|
|
|
38911
|
-
// CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=template&id=
|
|
38911
|
+
// CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=template&id=36329af2&
|
|
38912
38912
|
|
|
38913
38913
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
38914
38914
|
var es_json_stringify = __webpack_require__("e9c4");
|
|
@@ -39802,14 +39802,14 @@ var Pager_component = normalizeComponent(
|
|
|
39802
39802
|
this.$nextTick(function () {
|
|
39803
39803
|
if (ths.isChild) return;
|
|
39804
39804
|
ths.Headers.forEach(function (header) {
|
|
39805
|
-
var thElement = document.getElementById(header.COLUMN_NAME);
|
|
39805
|
+
var thElement = document.getElementById(header.COLUMN_NAME + "_" + ths.subModuleCode);
|
|
39806
39806
|
var width = "";
|
|
39807
39807
|
|
|
39808
39808
|
if (thElement && header.VISIBLE) {
|
|
39809
39809
|
// Use saved width if present; otherwise use current width so all columns have explicit widths
|
|
39810
39810
|
// (prevents resizing one column from flexing others when showCheckbox is false)
|
|
39811
|
-
if (ths.columnWidths[header.COLUMN_NAME + '_' +
|
|
39812
|
-
width = ths.columnWidths[header.COLUMN_NAME + '_' +
|
|
39811
|
+
if (ths.columnWidths[header.COLUMN_NAME + '_' + ths.subModuleCode]) {
|
|
39812
|
+
width = ths.columnWidths[header.COLUMN_NAME + '_' + ths.subModuleCode] + 'px';
|
|
39813
39813
|
} else {
|
|
39814
39814
|
var current = parseInt(thElement.offsetWidth, 10);
|
|
39815
39815
|
|
|
@@ -40076,8 +40076,8 @@ var DataTablevue_type_style_index_0_lang_css_ = __webpack_require__("6224");
|
|
|
40076
40076
|
|
|
40077
40077
|
var DataTable_component = normalizeComponent(
|
|
40078
40078
|
components_DataTablevue_type_script_lang_js_,
|
|
40079
|
-
|
|
40080
|
-
|
|
40079
|
+
DataTablevue_type_template_id_36329af2_render,
|
|
40080
|
+
DataTablevue_type_template_id_36329af2_staticRenderFns,
|
|
40081
40081
|
false,
|
|
40082
40082
|
null,
|
|
40083
40083
|
null,
|