tg-listv 0.1.17 → 0.1.18
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 +20 -13
- package/dist/tglistv.common.js.map +1 -1
- package/dist/tglistv.umd.js +20 -13
- package/dist/tglistv.umd.js.map +1 -1
- package/dist/tglistv.umd.min.js +2 -2
- package/dist/tglistv.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/tglistv.common.js
CHANGED
|
@@ -38792,7 +38792,7 @@ if (typeof window !== 'undefined') {
|
|
|
38792
38792
|
// Indicate to webpack that this file can be concatenated
|
|
38793
38793
|
/* harmony default export */ var setPublicPath = (null);
|
|
38794
38794
|
|
|
38795
|
-
// 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/TgList.vue?vue&type=template&id=
|
|
38795
|
+
// 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/TgList.vue?vue&type=template&id=423a8a9f&
|
|
38796
38796
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.classes},[((typeof(_vm.SearchPosition) === 'undefined' || _vm.SearchPosition == 'left') && _vm.SearchFields && _vm.SearchFields != null && _vm.SearchFields.length > 0)?_c('div',{staticClass:"left-menu-tab",attrs:{"id":"crmleftsearch"}},[_c('left-search',{ref:"leftSearch",attrs:{"header":_vm.HeaderText,"isShowHeaderText":_vm.isShowHeaderText,"fields":_vm.SearchFields,"modulename":_vm.ModuleName},on:{"SetLeftSearch":_vm.leftCommonSearch,"ClearFilter":_vm.ClearFilter}})],1):_vm._e(),_c('div',{class:{'right-content': ((typeof(_vm.SearchPosition) === 'undefined' || _vm.SearchPosition == 'left') && _vm.SearchFields)}},[(_vm.widgets.length > 0)?_c('ul',{staticClass:"dashbord-widget WalkHRLeaveWidgetContent_ul"},[_vm._l((_vm.widgets),function(widget,index){return (!_vm.isNewDesign)?_c('li',{class:'cursor-pointer ' + _vm.widgetClassArray[(index%5)],staticStyle:{"cursor":"pointer !important"},on:{"click":function($event){return _vm.onWidgetClick(widget, $event)}}},[_c('h3',[_vm._v(" "+_vm._s(widget.value)+" "),_c('br'),_c('span',[_vm._v(_vm._s(widget.name))])]),_c('i',{class:'fa ' + widget.icon,attrs:{"aria-hidden":"true"}})]):_vm._e()}),_vm._l((_vm.widgets),function(widget,index){return (_vm.isNewDesign)?_c('li',{class:'cursor-pointer ' + _vm.widgetClassArray[(index%5)],staticStyle:{"cursor":"pointer !important"},on:{"click":function($event){return _vm.onWidgetClick(widget, $event)}}},[_c('i',{class:'fa ' + widget.icon,attrs:{"aria-hidden":"true"}}),_c('h3',[_c('span',[_vm._v(_vm._s(widget.name))]),_c('br'),_vm._v(" "+_vm._s(widget.value)+" ")])]):_vm._e()})],2):_vm._e(),_c('div',{staticStyle:{"clear":"both"}}),(_vm.HeaderButtons)?_c('div',{staticClass:"col-md-12 p-0"},[_c('list-header-button-new',{ref:"tgListHeaderButtons",attrs:{"header":_vm.HeaderText,"isShowHeaderText":(_vm.isShowHeaderText && ((typeof(_vm.SearchFields) == 'undefined' || _vm.SearchFields.length == 0) || _vm.SearchPosition == 'top')),"icons":_vm.HeaderButtonArrayForUpdate,"submodulecode":_vm.SubModuleCode,"modulename":_vm.ModuleName,"ViewList":_vm.ViewList,"listType":_vm.listType},on:{"ApplyView":_vm.OnApplyView,"ButtonClick":_vm.commonHeaderButtonClick,"ChangeViewEvent":_vm.ChangeViewEvent},scopedSlots:_vm._u([{key:"headerleftbuttons",fn:function(ref){
|
|
38797
38797
|
var data = ref.data;
|
|
38798
38798
|
return [_vm._t("headerleftbuttons",null,{"data":{data: data}})]}}],null,true)})],1):_vm._e(),(( _vm.SearchPosition == 'top') && _vm.SearchFields && _vm.SearchFields != null && _vm.SearchFields.length > 0)?_c('div',{staticClass:"top-menu-tab border p-3",attrs:{"id":"crmleftsearch"}},[_c('top-search',{ref:"topSearch",attrs:{"header":_vm.HeaderText,"fields":_vm.SearchFields,"isShowHeaderText":_vm.isShowHeaderText,"modulename":_vm.ModuleName},on:{"SetLeftSearch":_vm.leftCommonSearch,"ClearFilter":_vm.ClearFilter}})],1):_vm._e(),_c('div',{staticClass:"py-2 d-inline-block"},[_vm._l((_vm.LegendArray),function(lgnd){return [_c('span',{class:lgnd.class,staticStyle:{"border":"1px solid rgb(238, 238, 238)"}}),_vm._v(_vm._s(lgnd.text)+" ")]})],2),_c('div',{staticClass:"listing tg-listv mt-2"},[((typeof(_vm.SearchPosition) === 'undefined' || _vm.SearchPosition == 'left') && typeof(_vm.SearchFields) != 'undefined' && _vm.SearchFields.length > 0)?_c('div',{staticClass:"expand-list",class:{'d-none':_vm.SearchPosition=='none'}},[_c('a',{class:{'expand-list-btn justify-content-center align-items-center': true, 'filter-selected':_vm.IsFilterApplied==true},attrs:{"href":"javascript:;"}},[_c('em',{staticClass:"icon-solid arrow-solid-left text-white",staticStyle:{"font-size":"9pt"}})])]):_vm._e(),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.ErrorText),expression:"ErrorText"}],staticClass:"text-center text-danger"},[_vm._v(_vm._s(_vm.ErrorText))]),(_vm.ListData && _vm.selectedView == 'List')?_c('DataTable',{attrs:{"Data":_vm.ListData,"noRecord":_vm.noRecord,"Headers":_vm.HeaderData,"SortExp":_vm.SortExp,"SortBy":_vm.SortBy,"tableClasses":_vm.tableClasses,"UserPageSize":_vm.PageSize,"totalrecords":_vm.TotalRecordsForPaging,"IsShowAction":_vm.IsShowAction,"randomNumberForIds":_vm.randomNumberForIds,"renderRowActionMethod":_vm.RenderRowActionMethod,"identityColumn":_vm.IdentityColumn,"subModuleCode":_vm.SubModuleCode,"NorecordfoundText":_vm.NorecordfoundText,"showCheckBox":_vm.showCheckBox,"selectionType":_vm.selectionType,"CurrentPageNumber":_vm.currentPage,"enabledataTruncate":_vm.enabledataTruncate(),"dataTruncateLength":_vm.dataTruncateLength},on:{"sortdata":_vm.sortdata,"ButtonClick":_vm.actionButtonClick,"PagerMethod":_vm.pagerMethod,"EventOfCheckbox":_vm.onChangeEventOfCheckbox},scopedSlots:_vm._u([{key:"slotdata",fn:function(ref){
|
|
@@ -38809,7 +38809,7 @@ return [_vm._t("customcard",null,{"data":{row:data.row,columnlist:data.columnlis
|
|
|
38809
38809
|
var staticRenderFns = []
|
|
38810
38810
|
|
|
38811
38811
|
|
|
38812
|
-
// CONCATENATED MODULE: ./src/components/TgList.vue?vue&type=template&id=
|
|
38812
|
+
// CONCATENATED MODULE: ./src/components/TgList.vue?vue&type=template&id=423a8a9f&
|
|
38813
38813
|
|
|
38814
38814
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
|
38815
38815
|
var es_symbol = __webpack_require__("a4d3");
|
|
@@ -38888,20 +38888,20 @@ var es_string_includes = __webpack_require__("2532");
|
|
|
38888
38888
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
38889
38889
|
var es_array_from = __webpack_require__("a630");
|
|
38890
38890
|
|
|
38891
|
-
// 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=
|
|
38892
|
-
var
|
|
38891
|
+
// 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=03a6c340&
|
|
38892
|
+
var DataTablevue_type_template_id_03a6c340_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}},[(item.VISIBLE && item.SORTABLE == true && _vm.isChild == false)?_c('span',{class:{
|
|
38893
38893
|
'sort text-overflow-dynamic-container': item.SORTABLE == true,
|
|
38894
38894
|
'tb_headerSortUp': _vm.SortExp == 'ASC' && _vm.SortBy == item.COLUMN_NAME,
|
|
38895
38895
|
'tb_headerSortDown':
|
|
38896
38896
|
_vm.SortExp == 'DESC' && _vm.SortBy == item.COLUMN_NAME,
|
|
38897
|
-
},on:{"click":function($event){return _vm.sortdata(item.COLUMN_NAME)}}},[_vm._v(" "+_vm._s(_vm.$t(item.DISPLAY_NAME))+" ")]):_vm._e(),(item.SORTABLE == false || item.SORTABLE == null || _vm.isChild == true)?_c('span',[_vm._v(" "+_vm._s(_vm.$t(item.DISPLAY_NAME))+" ")]):_vm._e(),(!_vm.isChild)?_c('div',{staticClass:"resize-handle",attrs:{"title":_vm.$t('Drag to resize column')},on:{"mousedown":function($event){return _vm.startResize($event, item.COLUMN_NAME)}}},[_c('em',{staticClass:"fa fa-ellipsis-v"})]):_vm._e()]):_vm._e()]}),(_vm.IsShowAction == true)?_c('th',{staticClass:"nonresize text-center sticky-action-column",staticStyle:{"width":"100px !important","position":"sticky","right":"0","z-index":"10","background-color":"inherit"}},[_c('span',[_vm._v(_vm._s(_vm.$t('Action')))])]):_vm._e()],2)]),_c('tbody',[_vm._l((_vm.Data),function(item,dataIndex){return [_c('tr',{class:item.additionalClass,style:(item.CssStyle)},[((typeof(_vm.showCheckBox) === 'undefined' || _vm.showCheckBox == true))?_c('td',{staticClass:"text-center"},[_c('label',{class:{'form-check form-check-inline' : true},attrs:{"disabled":item.isCheckBoxDisabled}},[(_vm.selectionType == 'multiple')?_c('div',{staticClass:"custom-control custom-checkbox custom-control-inline"},[_c('input',{staticClass:"chkItems custom-control-input",attrs:{"id":'Checkbox_'+ _vm.randomNumberForIds + '_' + dataIndex,"disabled":item.isCheckBoxDisabled,"type":"checkbox"},domProps:{"checked":item.isSelected,"value":item[_vm.identityColumn]},on:{"change":function($event){return _vm.onChangeEventOfCheckbox($event, item)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'Checkbox_'+ _vm.randomNumberForIds + '_' + dataIndex}})]):_vm._e(),(_vm.selectionType == 'single')?_c('div',{staticClass:"custom-control custom-radio custom-control-inline"},[_c('input',{staticClass:"chkItems custom-control-input",attrs:{"name":'radiobox_'+ _vm.randomNumberForIds,"disabled":item.isCheckBoxDisabled,"type":"radio"},domProps:{"checked":item.isSelected,"value":item[_vm.identityColumn]},on:{"change":function($event){return _vm.onChangeEventOfRadiobox($event, item)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'radiobox__'+ _vm.randomNumberForIds + '_' + dataIndex}})]):_vm._e()])]):_vm._e(),_vm._l((_vm.Headers),function(key,headerIndex){return [(key.VISIBLE)?_c('td',{key:headerIndex,class:_vm.tdClasses(key, item)},[(typeof(key.settings) != 'undefined' && key.settings != null && typeof(key.settings.isInSlot) != 'undefined' && key.settings.isInSlot == true)?[(typeof(item.child) != 'undefined' && item.child.isShowExpandButton == true && item.child.isShowChild == false && headerIndex == 0)?_c('a',{staticClass:"parentwithchild d-inline-block parent-childrow chkItems",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.onExpndChild(item)}}},[_c('i',{staticClass:"fa fa-chevron-right"})]):_vm._e(),(typeof(item.child) != 'undefined' && item.child.isShowExpandButton == true && item.child.isShowChild == true && headerIndex == 0)?_c('a',{staticClass:"parentwithchild d-inline-block parent-childrow chkItems",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.onCollapeChild(item)}}},[_c('i',{staticClass:"fa fa-chevron-down"})]):_vm._e(),_c('span',{
|
|
38897
|
+
},on:{"click":function($event){return _vm.sortdata(item.COLUMN_NAME)}}},[_vm._v(" "+_vm._s(_vm.$t(item.DISPLAY_NAME))+" ")]):_vm._e(),(item.SORTABLE == false || item.SORTABLE == null || _vm.isChild == true)?_c('span',[_vm._v(" "+_vm._s(_vm.$t(item.DISPLAY_NAME))+" ")]):_vm._e(),(!_vm.isChild)?_c('div',{staticClass:"resize-handle",attrs:{"title":_vm.$t('Drag to resize column')},on:{"mousedown":function($event){return _vm.startResize($event, item.COLUMN_NAME)}}},[_c('em',{staticClass:"fa fa-ellipsis-v"})]):_vm._e()]):_vm._e()]}),(_vm.IsShowAction == true)?_c('th',{staticClass:"nonresize text-center sticky-action-column",staticStyle:{"width":"100px !important","position":"sticky","right":"0","z-index":"10","background-color":"inherit"}},[_c('span',[_vm._v(_vm._s(_vm.$t('Action')))])]):_vm._e()],2)]),_c('tbody',[_vm._l((_vm.Data),function(item,dataIndex){return [_c('tr',{class:item.additionalClass,style:(item.CssStyle)},[((typeof(_vm.showCheckBox) === 'undefined' || _vm.showCheckBox == true))?_c('td',{staticClass:"text-center"},[_c('label',{class:{'form-check form-check-inline' : true},attrs:{"disabled":item.isCheckBoxDisabled}},[(_vm.selectionType == 'multiple')?_c('div',{staticClass:"custom-control custom-checkbox custom-control-inline"},[_c('input',{staticClass:"chkItems custom-control-input",attrs:{"id":'Checkbox_'+ _vm.randomNumberForIds + '_' + dataIndex,"disabled":item.isCheckBoxDisabled,"type":"checkbox"},domProps:{"checked":item.isSelected,"value":item[_vm.identityColumn]},on:{"change":function($event){return _vm.onChangeEventOfCheckbox($event, item)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'Checkbox_'+ _vm.randomNumberForIds + '_' + dataIndex}})]):_vm._e(),(_vm.selectionType == 'single')?_c('div',{staticClass:"custom-control custom-radio custom-control-inline"},[_c('input',{staticClass:"chkItems custom-control-input",attrs:{"name":'radiobox_'+ _vm.randomNumberForIds,"disabled":item.isCheckBoxDisabled,"type":"radio"},domProps:{"checked":item.isSelected,"value":item[_vm.identityColumn]},on:{"change":function($event){return _vm.onChangeEventOfRadiobox($event, item)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'radiobox__'+ _vm.randomNumberForIds + '_' + dataIndex}})]):_vm._e()])]):_vm._e(),_vm._l((_vm.Headers),function(key,headerIndex){return [(key.VISIBLE)?_c('td',{key:headerIndex,class:_vm.tdClasses(key, item)},[(typeof(key.settings) != 'undefined' && key.settings != null && typeof(key.settings.isInSlot) != 'undefined' && key.settings.isInSlot == true)?[(typeof(item.child) != 'undefined' && item.child.isShowExpandButton == true && item.child.isShowChild == false && headerIndex == 0)?_c('a',{staticClass:"parentwithchild d-inline-block parent-childrow chkItems",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.onExpndChild(item)}}},[_c('i',{staticClass:"fa fa-chevron-right"})]):_vm._e(),(typeof(item.child) != 'undefined' && item.child.isShowExpandButton == true && item.child.isShowChild == true && headerIndex == 0)?_c('a',{staticClass:"parentwithchild d-inline-block parent-childrow chkItems",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.onCollapeChild(item)}}},[_c('i',{staticClass:"fa fa-chevron-down"})]):_vm._e(),_c('span',{class:{'text-overflow-dynamic-container' : _vm.applyOverFlowDynamicContainer(key, item)}},[_vm._t("slotdata",null,{"data":{row:item,column:key}})],2)]:[(typeof(item.child) != 'undefined' && item.child.isShowExpandButton == true && item.child.isShowChild == false && headerIndex == 0)?_c('a',{staticClass:"parentwithchild d-inline-block parent-childrow chkItems",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.onExpndChild(item)}}},[_c('i',{staticClass:"fa fa-chevron-right"})]):_vm._e(),(typeof(item.child) != 'undefined' && item.child.isShowExpandButton == true && item.child.isShowChild == true && headerIndex == 0)?_c('a',{staticClass:"parentwithchild d-inline-block parent-childrow chkItems",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.onCollapeChild(item)}}},[_c('i',{staticClass:"fa fa-chevron-down"})]):_vm._e(),((key.DATA_TYPE=='date' || key.DATA_TYPE=='datetime') && (key.DATA_TYPE !='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.formatDate(item[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE=='decimal' || key.DATA_TYPE=='int' || key.DATA_TYPE=='bigint'))?_c('span',[_vm._v(_vm._s(_vm.$n(item[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE=='currency'))?_c('span',[_vm._v(_vm._s(_vm.$n(item[key.COLUMN_NAME], 'currency')))]):_vm._e(),((key.DATA_TYPE!='date' && key.DATA_TYPE!='datetime' && key.DATA_TYPE!='decimal' && key.DATA_TYPE != 'int' && key.DATA_TYPE != 'bigint'))?_c('span',{class:{'text-overflow-dynamic-container' : _vm.applyOverFlowDynamicContainer(key, item)},attrs:{"title":item[key.COLUMN_NAME]}},[(typeof(key.settings) != 'undefined' && key.settings != null
|
|
38898
38898
|
&& 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){
|
|
38899
38899
|
var data = ref.data;
|
|
38900
38900
|
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)}
|
|
38901
|
-
var
|
|
38901
|
+
var DataTablevue_type_template_id_03a6c340_staticRenderFns = []
|
|
38902
38902
|
|
|
38903
38903
|
|
|
38904
|
-
// CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=template&id=
|
|
38904
|
+
// CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=template&id=03a6c340&
|
|
38905
38905
|
|
|
38906
38906
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
38907
38907
|
var es_json_stringify = __webpack_require__("e9c4");
|
|
@@ -39743,6 +39743,17 @@ var Pager_component = normalizeComponent(
|
|
|
39743
39743
|
this.currentPage = this.CurrentPageNumber;
|
|
39744
39744
|
},
|
|
39745
39745
|
methods: {
|
|
39746
|
+
applyOverFlowDynamicContainer: function applyOverFlowDynamicContainer(key, item) {
|
|
39747
|
+
if (key.hasOwnProperty("settings") == false || key.settings == null) {
|
|
39748
|
+
return true;
|
|
39749
|
+
}
|
|
39750
|
+
|
|
39751
|
+
if (key.hasOwnProperty("settings") && key.settings != null && key.settings.isValueTruncate != false) {
|
|
39752
|
+
return true;
|
|
39753
|
+
}
|
|
39754
|
+
|
|
39755
|
+
return false;
|
|
39756
|
+
},
|
|
39746
39757
|
getColumnStyle: function getColumnStyle(item) {
|
|
39747
39758
|
var style = {};
|
|
39748
39759
|
|
|
@@ -40058,8 +40069,8 @@ var DataTablevue_type_style_index_0_lang_css_ = __webpack_require__("6224");
|
|
|
40058
40069
|
|
|
40059
40070
|
var DataTable_component = normalizeComponent(
|
|
40060
40071
|
components_DataTablevue_type_script_lang_js_,
|
|
40061
|
-
|
|
40062
|
-
|
|
40072
|
+
DataTablevue_type_template_id_03a6c340_render,
|
|
40073
|
+
DataTablevue_type_template_id_03a6c340_staticRenderFns,
|
|
40063
40074
|
false,
|
|
40064
40075
|
null,
|
|
40065
40076
|
null,
|
|
@@ -48357,8 +48368,6 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
48357
48368
|
if (ths.TotalRecordsForPaging == 0 && this.ListData.length == 0) {
|
|
48358
48369
|
this.noRecord = true;
|
|
48359
48370
|
}
|
|
48360
|
-
|
|
48361
|
-
console.log("Total records - tg - list ", v);
|
|
48362
48371
|
},
|
|
48363
48372
|
PageSize: function PageSize(value) {
|
|
48364
48373
|
this.UserPageSize = value;
|
|
@@ -48367,8 +48376,6 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
48367
48376
|
this.currentPage = val;
|
|
48368
48377
|
},
|
|
48369
48378
|
ListData: function ListData(v) {
|
|
48370
|
-
console.log("List data - tg - list ", v);
|
|
48371
|
-
|
|
48372
48379
|
if (_typeof(v) == 'object' && v.length == 0) {
|
|
48373
48380
|
this.noRecord = true;
|
|
48374
48381
|
}
|