tg-listv 0.1.16 → 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.
@@ -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=9aac3274&
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=9aac3274&
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=b7d0829e&
38892
- var DataTablevue_type_template_id_b7d0829e_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:{
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',{staticClass:"text-overflow-dynamic-container"},[_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',{staticClass:"text-overflow-dynamic-container",attrs:{"title":item[key.COLUMN_NAME]}},[(typeof(key.settings) != 'undefined' && key.settings != null
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 DataTablevue_type_template_id_b7d0829e_staticRenderFns = []
38901
+ var DataTablevue_type_template_id_03a6c340_staticRenderFns = []
38902
38902
 
38903
38903
 
38904
- // CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=template&id=b7d0829e&
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
 
@@ -39787,35 +39798,38 @@ var Pager_component = normalizeComponent(
39787
39798
  var thElement = document.getElementById(header.COLUMN_NAME);
39788
39799
  var width = "";
39789
39800
 
39790
- if (thElement) {
39791
- if (parseInt(thElement.offsetWidth) > 200) {
39792
- width = 200 + 'px';
39793
- }
39794
- }
39801
+ if (thElement && header.VISIBLE) {
39802
+ // Use saved width if present; otherwise use current width so all columns have explicit widths
39803
+ // (prevents resizing one column from flexing others when showCheckbox is false)
39804
+ if (ths.columnWidths[header.COLUMN_NAME]) {
39805
+ width = ths.columnWidths[header.COLUMN_NAME] + 'px';
39806
+ } else {
39807
+ var current = parseInt(thElement.offsetWidth, 10);
39795
39808
 
39796
- if (header.VISIBLE && ths.columnWidths[header.COLUMN_NAME]) {
39797
- var width = ths.columnWidths[header.COLUMN_NAME] + 'px';
39809
+ if (current > 200) {
39810
+ width = 200 + 'px';
39811
+ } else if (current > 0) {
39812
+ width = current + 'px';
39813
+ }
39814
+ }
39798
39815
  }
39799
39816
 
39800
- if (thElement && width != "") {
39817
+ if (thElement && width !== "") {
39801
39818
  thElement.style.width = width;
39802
39819
  thElement.style.minWidth = width;
39803
- thElement.style.maxWidth = width; // Also apply to corresponding td elements
39820
+ thElement.style.maxWidth = width; // Also apply to corresponding td elements (only in full data rows)
39804
39821
 
39805
- var tableId = 'tablelistingdata_' + ths.randomNumberForIds;
39806
- var table = document.getElementById(tableId);
39822
+ var table = thElement.closest('table');
39807
39823
 
39808
39824
  if (table) {
39825
+ var headerRow = table.querySelector('thead tr');
39826
+ var allThs = Array.from(headerRow.querySelectorAll('th'));
39827
+ var columnIndex = allThs.indexOf(thElement);
39809
39828
  var rows = table.querySelectorAll('tbody tr');
39810
39829
  rows.forEach(function (row) {
39811
- var cells = row.querySelectorAll('td'); // Find the td that corresponds to this column
39812
- // We need to match by column index in the header
39813
-
39814
- var headerRow = thElement.parentNode;
39815
- var allThs = Array.from(headerRow.querySelectorAll('th'));
39816
- var columnIndex = allThs.indexOf(thElement);
39830
+ var cells = row.querySelectorAll('td');
39817
39831
 
39818
- if (cells[columnIndex]) {
39832
+ if (cells.length === allThs.length && cells[columnIndex]) {
39819
39833
  cells[columnIndex].style.width = width;
39820
39834
  cells[columnIndex].style.minWidth = width;
39821
39835
  cells[columnIndex].style.maxWidth = width;
@@ -39826,19 +39840,46 @@ var Pager_component = normalizeComponent(
39826
39840
  });
39827
39841
  });
39828
39842
  },
39843
+ // Freeze current width on every column so only the resized column changes during drag
39844
+ freezeAllColumnWidths: function freezeAllColumnWidths(table) {
39845
+ if (!table) return;
39846
+ var headerRow = table.querySelector('thead tr');
39847
+ if (!headerRow) return;
39848
+ var thElements = Array.from(headerRow.querySelectorAll('th'));
39849
+ thElements.forEach(function (th, colIndex) {
39850
+ var w = th.offsetWidth;
39851
+ if (w <= 0) return;
39852
+ var width = w + 'px';
39853
+ th.style.width = width;
39854
+ th.style.minWidth = width;
39855
+ th.style.maxWidth = width;
39856
+ var rows = table.querySelectorAll('tbody tr');
39857
+ rows.forEach(function (row) {
39858
+ var cells = row.querySelectorAll('td');
39859
+
39860
+ if (cells.length === thElements.length && cells[colIndex]) {
39861
+ cells[colIndex].style.width = width;
39862
+ cells[colIndex].style.minWidth = width;
39863
+ cells[colIndex].style.maxWidth = width;
39864
+ }
39865
+ });
39866
+ });
39867
+ },
39829
39868
  startResize: function startResize(event, columnName) {
39830
39869
  var ths = this;
39831
39870
  if (ths.isChild) return;
39832
39871
  event.preventDefault();
39833
39872
  event.stopPropagation();
39873
+ var thElement = document.getElementById(columnName);
39874
+ if (!thElement) return;
39875
+ var table = thElement.closest('table');
39876
+ if (!table) return; // Freeze all column widths so only the dragged column changes (fixes showCheckbox=false)
39877
+
39878
+ ths.freezeAllColumnWidths(table);
39834
39879
  ths.isResizing = true;
39835
39880
  ths.resizingColumn = columnName;
39836
39881
  ths.startX = event.pageX;
39837
- var thElement = document.getElementById(columnName);
39838
-
39839
- if (thElement) {
39840
- ths.startWidth = thElement.offsetWidth;
39841
- }
39882
+ ths.startWidth = thElement.offsetWidth;
39842
39883
 
39843
39884
  var onResizeHandler = function onResizeHandler(e) {
39844
39885
  ths.onResize(e);
@@ -39860,33 +39901,27 @@ var Pager_component = normalizeComponent(
39860
39901
  var diff = event.pageX - this.startX;
39861
39902
  var newWidth = Math.max(50, this.startWidth + diff);
39862
39903
  var thElement = document.getElementById(this.resizingColumn);
39863
-
39864
- if (thElement) {
39865
- thElement.style.width = newWidth + 'px';
39866
- thElement.style.minWidth = newWidth + 'px';
39867
- thElement.style.maxWidth = newWidth + 'px'; // Also update corresponding td elements
39868
-
39869
- var tableId = 'tablelistingdata_' + this.randomNumberForIds;
39870
- var table = document.getElementById(tableId);
39871
- var ths = this;
39872
-
39873
- if (table) {
39874
- // Get all th elements in the header row
39875
- var headerRow = thElement.parentNode;
39876
- var thElements = Array.from(headerRow.querySelectorAll('th'));
39877
- var columnIndex = thElements.indexOf(thElement);
39878
- var rows = table.querySelectorAll('tbody tr');
39879
- rows.forEach(function (row) {
39880
- var cells = row.querySelectorAll('td');
39881
-
39882
- if (cells[columnIndex]) {
39883
- cells[columnIndex].style.width = newWidth + 'px';
39884
- cells[columnIndex].style.minWidth = newWidth + 'px';
39885
- cells[columnIndex].style.maxWidth = newWidth + 'px';
39886
- }
39887
- });
39904
+ if (!thElement) return;
39905
+ var table = thElement.closest('table');
39906
+ if (!table) return;
39907
+ thElement.style.width = newWidth + 'px';
39908
+ thElement.style.minWidth = newWidth + 'px';
39909
+ thElement.style.maxWidth = newWidth + 'px';
39910
+ var headerRow = table.querySelector('thead tr');
39911
+ if (!headerRow) return;
39912
+ var thElements = Array.from(headerRow.querySelectorAll('th'));
39913
+ var columnIndex = thElements.indexOf(thElement);
39914
+ if (columnIndex === -1) return;
39915
+ var rows = table.querySelectorAll('tbody tr');
39916
+ rows.forEach(function (row) {
39917
+ var cells = row.querySelectorAll('td');
39918
+
39919
+ if (cells.length === thElements.length && cells[columnIndex]) {
39920
+ cells[columnIndex].style.width = newWidth + 'px';
39921
+ cells[columnIndex].style.minWidth = newWidth + 'px';
39922
+ cells[columnIndex].style.maxWidth = newWidth + 'px';
39888
39923
  }
39889
- }
39924
+ });
39890
39925
  },
39891
39926
  stopResize: function stopResize(event) {
39892
39927
  if (!this.isResizing) return;
@@ -40034,8 +40069,8 @@ var DataTablevue_type_style_index_0_lang_css_ = __webpack_require__("6224");
40034
40069
 
40035
40070
  var DataTable_component = normalizeComponent(
40036
40071
  components_DataTablevue_type_script_lang_js_,
40037
- DataTablevue_type_template_id_b7d0829e_render,
40038
- DataTablevue_type_template_id_b7d0829e_staticRenderFns,
40072
+ DataTablevue_type_template_id_03a6c340_render,
40073
+ DataTablevue_type_template_id_03a6c340_staticRenderFns,
40039
40074
  false,
40040
40075
  null,
40041
40076
  null,
@@ -48333,8 +48368,6 @@ var list_header_buttonNew_component = normalizeComponent(
48333
48368
  if (ths.TotalRecordsForPaging == 0 && this.ListData.length == 0) {
48334
48369
  this.noRecord = true;
48335
48370
  }
48336
-
48337
- console.log("Total records - tg - list ", v);
48338
48371
  },
48339
48372
  PageSize: function PageSize(value) {
48340
48373
  this.UserPageSize = value;
@@ -48343,23 +48376,27 @@ var list_header_buttonNew_component = normalizeComponent(
48343
48376
  this.currentPage = val;
48344
48377
  },
48345
48378
  ListData: function ListData(v) {
48346
- console.log("List data - tg - list ", v);
48347
-
48348
48379
  if (_typeof(v) == 'object' && v.length == 0) {
48349
48380
  this.noRecord = true;
48350
48381
  }
48351
48382
 
48352
48383
  try {
48353
- var checkIfExists = this.ListData.filter(function (x) {
48354
- return x.isCheckBoxDisabled != true && (typeof x.isSelected == 'undefined' || x.isSelected == false);
48384
+ //let checkIfExists = this.ListData.filter((x) => { return (x.isCheckBoxDisabled != true && (typeof(x.isSelected) == 'undefined' || x.isSelected == false ))});
48385
+ var checkedCount = this.ListData.filter(function (x) {
48386
+ return x.isCheckBoxDisabled != true && typeof x.isSelected != 'undefined' && x.isSelected == true;
48387
+ });
48388
+ var listCount = this.ListData.filter(function (x) {
48389
+ return x.isCheckBoxDisabled != true;
48355
48390
  });
48356
48391
 
48357
- if (checkIfExists.length > 0) {
48358
- document.getElementById("chkAll_" + this.randomNumberForIds).checked = false;
48359
- } else {
48392
+ if (listCount.length > 0 && checkedCount.length == listCount.length) {
48360
48393
  document.getElementById("chkAll_" + this.randomNumberForIds).checked = true;
48394
+ } else {
48395
+ document.getElementById("chkAll_" + this.randomNumberForIds).checked = false;
48361
48396
  }
48362
- } catch (err) {}
48397
+ } catch (err) {
48398
+ document.getElementById("chkAll_" + this.randomNumberForIds).checked = false;
48399
+ }
48363
48400
  }
48364
48401
  },
48365
48402
  created: function created() {
@@ -48572,15 +48609,26 @@ var list_header_buttonNew_component = normalizeComponent(
48572
48609
  ths.$set(item, 'isSelected', e.target.checked);
48573
48610
  }
48574
48611
 
48575
- var checkIfExists = ths.ListData.filter(function (x) {
48576
- return x.isCheckBoxDisabled != true && (typeof x.isSelected == 'undefined' || x.isSelected == false);
48612
+ var checkedCount = ths.ListData.filter(function (x) {
48613
+ return x.isCheckBoxDisabled != true && typeof x.isSelected != 'undefined' && x.isSelected == true;
48577
48614
  });
48615
+ var listCount = ths.ListData.filter(function (x) {
48616
+ return x.isCheckBoxDisabled != true;
48617
+ });
48618
+ console.log("checkedCount.length", checkedCount.length);
48619
+ console.log("listCount.length", listCount.length);
48578
48620
 
48579
- if (checkIfExists.length > 0) {
48580
- document.getElementById("chkAll_" + ths.randomNumberForIds).checked = false;
48621
+ if (listCount.length > 0 && checkedCount.length == listCount.length) {
48622
+ document.getElementById("chkAll_" + this.randomNumberForIds).checked = true;
48581
48623
  } else {
48582
- document.getElementById("chkAll_" + ths.randomNumberForIds).checked = true;
48583
- }
48624
+ document.getElementById("chkAll_" + this.randomNumberForIds).checked = false;
48625
+ } // let checkIfExists = ths.ListData.filter((x) => { return (x.isCheckBoxDisabled != true && (typeof(x.isSelected) == 'undefined' || x.isSelected == false ))});
48626
+ // if(checkIfExists.length > 0){
48627
+ // document.getElementById("chkAll_" + ths.randomNumberForIds).checked = false;
48628
+ // } else{
48629
+ // document.getElementById("chkAll_" + ths.randomNumberForIds).checked = true;
48630
+ // }
48631
+
48584
48632
  }
48585
48633
 
48586
48634
  if (e.target.id.includes("chkAll") && e.target.classList.contains("chkItems")) {