tg-listv 0.0.78 → 0.0.80
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 +51 -27
- package/dist/tglistv.common.js.map +1 -1
- package/dist/tglistv.umd.js +51 -27
- 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
|
@@ -15695,10 +15695,10 @@ if (typeof window !== 'undefined') {
|
|
|
15695
15695
|
// Indicate to webpack that this file can be concatenated
|
|
15696
15696
|
/* harmony default export */ var setPublicPath = (null);
|
|
15697
15697
|
|
|
15698
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-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=
|
|
15698
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-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=2b65b20a&
|
|
15699
15699
|
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)?_c('div',{staticClass:"left-menu-tab",attrs:{"id":"crmleftsearch"}},[_c('left-search',{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)),"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){
|
|
15700
15700
|
var data = ref.data;
|
|
15701
|
-
return [_vm._t("headerleftbuttons",null,{"data":{data: data}})]}}],null,true)})],1):_vm._e(),(( _vm.SearchPosition == 'top') && _vm.SearchFields)?_c('div',{staticClass:"top-menu-tab mt-2",attrs:{"id":"crmleftsearch"}},[_c('top-search',{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 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,"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},on:{"sortdata":_vm.sortdata,"ButtonClick":_vm.actionButtonClick,"PagerMethod":_vm.pagerMethod,"EventOfCheckbox":_vm.onChangeEventOfCheckbox},scopedSlots:_vm._u([{key:"slotdata",fn:function(ref){
|
|
15701
|
+
return [_vm._t("headerleftbuttons",null,{"data":{data: data}})]}}],null,true)})],1):_vm._e(),(( _vm.SearchPosition == 'top') && _vm.SearchFields)?_c('div',{staticClass:"top-menu-tab mt-2",attrs:{"id":"crmleftsearch"}},[_c('top-search',{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 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,"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},on:{"sortdata":_vm.sortdata,"ButtonClick":_vm.actionButtonClick,"PagerMethod":_vm.pagerMethod,"EventOfCheckbox":_vm.onChangeEventOfCheckbox},scopedSlots:_vm._u([{key:"slotdata",fn:function(ref){
|
|
15702
15702
|
var data = ref.data;
|
|
15703
15703
|
return [_vm._t("slotdata",null,{"data":{row:data.row,column:data.column,listtype:_vm.selectedView}})]}}],null,true)}):_vm._e(),(_vm.ListData && _vm.selectedView == 'Card')?_c('CardView',{attrs:{"data":_vm.ListData,"columns":_vm.HeaderData,"totalrecords":_vm.TotalRecordsForPaging,"UserPageSize":_vm.PageSize,"customcard":_vm.IsShowCustomCard,"randomNumberForIds":_vm.randomNumberForIds,"IsShowAction":_vm.IsShowAction,"identityColumn":_vm.IdentityColumn,"subModuleCode":_vm.SubModuleCode,"LegendArray":_vm.LegendArray,"noRecord":_vm.noRecord,"NorecordfoundText":_vm.NorecordfoundText,"renderRowActionMethod":_vm.RenderRowActionMethod},on:{"PagerMethod":_vm.pagerMethod,"ButtonClick":_vm.actionButtonClick,"EventOfCheckbox":_vm.onChangeEventOfCheckbox},scopedSlots:_vm._u([{key:"slotdata",fn:function(ref){
|
|
15704
15704
|
var data = ref.data;
|
|
@@ -15712,7 +15712,7 @@ return [_vm._t("customcard",null,{"data":{row:data.row,columnlist:data.columnlis
|
|
|
15712
15712
|
var staticRenderFns = []
|
|
15713
15713
|
|
|
15714
15714
|
|
|
15715
|
-
// CONCATENATED MODULE: ./src/components/TgList.vue?vue&type=template&id=
|
|
15715
|
+
// CONCATENATED MODULE: ./src/components/TgList.vue?vue&type=template&id=2b65b20a&
|
|
15716
15716
|
|
|
15717
15717
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
|
15718
15718
|
var es_symbol = __webpack_require__("a4d3");
|
|
@@ -15770,20 +15770,20 @@ var web_dom_collections_for_each = __webpack_require__("159b");
|
|
|
15770
15770
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
15771
15771
|
var es_array_from = __webpack_require__("a630");
|
|
15772
15772
|
|
|
15773
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-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=
|
|
15774
|
-
var
|
|
15773
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-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=5569d866&
|
|
15774
|
+
var DataTablevue_type_template_id_5569d866_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"table-responsive table-fix-header"},[_c('table',{staticClass:"table table-bordered mt-0",staticStyle:{"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':_vm.subModuleCode=='CRM_BRANDS'&& item.COLUMN_NAME=='Social' || _vm.subModuleCode=='CRM_COMMUNICATION_MODES'&& item.COLUMN_NAME=='status'},staticStyle:{"text-transform":"capitalize"},style:([(item.COLUMN_NAME=='status_name') ? {'width':'10%'} : {'width':''}]),attrs:{"id":item.COLUMN_NAME}},[(item.VISIBLE && item.SORTABLE == true && _vm.isChild == false)?_c('span',{class:{
|
|
15775
15775
|
'sort': item.SORTABLE == true,
|
|
15776
15776
|
'tb_headerSortUp': _vm.SortExp == 'ASC' && _vm.SortBy == item.COLUMN_NAME,
|
|
15777
15777
|
'tb_headerSortDown':
|
|
15778
15778
|
_vm.SortExp == 'DESC' && _vm.SortBy == item.COLUMN_NAME,
|
|
15779
|
-
},on:{"click":function($event){return _vm.sortdata(item.COLUMN_NAME)}}},[_vm._v(" "+_vm._s(_vm.$t(item.DISPLAY_NAME))+" ")]):_vm._e(),(item.SORTABLE == false || _vm.isChild == true)?_c('span',[_vm._v(" "+_vm._s(_vm.$t(item.DISPLAY_NAME))+" ")]):_vm._e()]):_vm._e()]}),(_vm.IsShowAction == true)?_c('th',{staticClass:"nonresize text-center"},[_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}},[_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._l((_vm.Headers),function(key,headerIndex){return [(key.VISIBLE)?_c('td',{key:headerIndex,class:{'text-right':key.DATA_TYPE=='decimal'}},[(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'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.currency(item[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE!='date' && key.DATA_TYPE!='datetime' && key.DATA_TYPE!='decimal'))?_c('span',{attrs:{"title":item[key.COLUMN_NAME]}},[(typeof(key.settings) != 'undefined' && key.settings != null
|
|
15780
|
-
&& 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.TruncateStr(item[key.COLUMN_NAME],30)))+" ")]):_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.TruncateStr(item[key.COLUMN_NAME],30))))]):_vm._e(),(typeof(key.settings) === 'undefined' || key.settings == null)?_c('span',{attrs:{"title":item[key.COLUMN_NAME]}},[_vm._v(_vm._s(_vm.TruncateStr(item[key.COLUMN_NAME],30)))]):_vm._e(),(typeof(key.settings) != 'undefined' && key.settings != null && typeof(key.settings.isInSlot) != 'undefined' && key.settings.isInSlot == true)?_vm._t("slotdata",null,{"data":{row:item,column:key}}):_vm._e()],2):_vm._e()]):_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},on:{"sortdata":_vm.sortdata,"ButtonClick":_vm.ChildButtonClick,"PagerMethod":_vm.pagerMethod,"EventOfCheckbox":_vm.onChangeEventOfCheckbox},scopedSlots:_vm._u([{key:"slotdata",fn:function(ref){
|
|
15779
|
+
},on:{"click":function($event){return _vm.sortdata(item.COLUMN_NAME)}}},[_vm._v(" "+_vm._s(_vm.$t(item.DISPLAY_NAME))+" ")]):_vm._e(),(item.SORTABLE == false || _vm.isChild == true)?_c('span',[_vm._v(" "+_vm._s(_vm.$t(item.DISPLAY_NAME))+" ")]):_vm._e()]):_vm._e()]}),(_vm.IsShowAction == true)?_c('th',{staticClass:"nonresize text-center"},[_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:{'text-right':key.DATA_TYPE=='decimal'}},[(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'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.currency(item[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE!='date' && key.DATA_TYPE!='datetime' && key.DATA_TYPE!='decimal'))?_c('span',{attrs:{"title":item[key.COLUMN_NAME]}},[(typeof(key.settings) != 'undefined' && key.settings != null
|
|
15780
|
+
&& 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.TruncateStr(item[key.COLUMN_NAME],30)))+" ")]):_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.TruncateStr(item[key.COLUMN_NAME],30))))]):_vm._e(),(typeof(key.settings) === 'undefined' || key.settings == null)?_c('span',{attrs:{"title":item[key.COLUMN_NAME]}},[_vm._v(_vm._s(_vm.TruncateStr(item[key.COLUMN_NAME],30)))]):_vm._e(),(typeof(key.settings) != 'undefined' && key.settings != null && typeof(key.settings.isInSlot) != 'undefined' && key.settings.isInSlot == true)?_vm._t("slotdata",null,{"data":{row:item,column:key}}):_vm._e()],2):_vm._e()]):_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){
|
|
15781
15781
|
var data = ref.data;
|
|
15782
|
-
return [_vm._t("slotdata",null,{"data":{row:data.row,column:data.column,listtype:_vm.selectedView}})]}}],null,true)})],1)]):_vm._e()]}),(_vm.noRecord)?_c('tr',[_c('td',{staticClass:"text-center text-danger no-record",attrs:{"colspan":"17"}},[_vm._v(_vm._s(_vm
|
|
15783
|
-
var
|
|
15782
|
+
return [_vm._t("slotdata",null,{"data":{row:data.row,column:data.column,listtype:_vm.selectedView}})]}}],null,true)})],1)]):_vm._e()]}),(_vm.noRecord)?_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,"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)}
|
|
15783
|
+
var DataTablevue_type_template_id_5569d866_staticRenderFns = []
|
|
15784
15784
|
|
|
15785
15785
|
|
|
15786
|
-
// CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=template&id=
|
|
15786
|
+
// CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=template&id=5569d866&
|
|
15787
15787
|
|
|
15788
15788
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
15789
15789
|
var es_regexp_exec = __webpack_require__("ac1f");
|
|
@@ -15791,12 +15791,12 @@ var es_regexp_exec = __webpack_require__("ac1f");
|
|
|
15791
15791
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js
|
|
15792
15792
|
var es_regexp_test = __webpack_require__("00b4");
|
|
15793
15793
|
|
|
15794
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-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/RowActions.vue?vue&type=template&id=
|
|
15795
|
-
var
|
|
15796
|
-
var
|
|
15794
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-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/RowActions.vue?vue&type=template&id=2f13f245&
|
|
15795
|
+
var RowActionsvue_type_template_id_2f13f245_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('justWraper',{style:((_vm.listType == 'List')?'display: table-cell;text-align: center; position: sticky !important;right: 6px;z-index: 99;vertical-align: middle;': '')},[(_vm.listType == 'List' && _vm.listActions.length > 2)?_c('td',{staticClass:"text-center mobile-action",style:((_vm.listType == 'List')?'display: block;': '')},[_c('span',{staticClass:"actions mobileaction"},[_c('em',{staticClass:"fa fa-ellipsis-h action_icon",attrs:{"aria-hidden":"true"}}),_c('span',{staticClass:"action-list-box"},[_c('span',{staticClass:"list-actions",attrs:{"id":"action-list"}},[_vm._l((_vm.listActions),function(action){return [(action.isVisible == true && typeof action.callbackfunction != 'undefined')?_c('a',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"typetitle":_vm.$t(action.title),"typefor":_vm.$t(action.title),"value":_vm.item[_vm.identityColumn],"title":_vm.$t(action.title)},on:{"click":function($event){return _vm.ClickEvent(action.isDisabled, action.callbackfunction,_vm.item,_vm.index,$event)}}},[_c('em',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')}),_c('span',{staticClass:"text"},[_vm._v(" "+_vm._s(_vm.$t(action.title))+" "),_c('span',{domProps:{"innerHTML":_vm._s(_vm.replaceText(action.additionalSpan))}})])]):_vm._e(),(action.isVisible == true && typeof action.callbackfunction == 'undefined')?_c('RouterLink',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"to":_vm.replaceText(action.href),"title":_vm.$t(action.title)}},[_c('em',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')}),_vm._v(" "),_c('br'),_c('span',{staticClass:"text"},[_vm._v(" "+_vm._s(action.title))])]):_vm._e()]}),_c('em',{staticClass:"fa fa-times close close-action",attrs:{"aria-hidden":"true"}})],2)])])]):_vm._e(),(_vm.listType == 'List' && _vm.listActions.length <= 2)?_c('td',{staticClass:"text-center single-action",style:((_vm.listType == 'List')?'display: inline-block': '')},[_vm._l((_vm.listActions),function(action){return [(action.isVisible == true && typeof action.callbackfunction != 'undefined')?_c('a',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"typetitle":_vm.$t(action.title),"typefor":_vm.$t(action.title),"value":_vm.item[_vm.identityColumn],"title":_vm.$t(action.title)},on:{"click":function($event){return _vm.ClickEvent(action.isDisabled, action.callbackfunction,_vm.item,_vm.index,$event)}}},[_c('em',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')})]):_vm._e(),(action.isVisible == true && typeof action.callbackfunction == 'undefined')?_c('RouterLink',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"to":_vm.replaceText(action.href),"title":_vm.$t(action.title)}},[_c('em',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')})]):_vm._e()]})],2):_vm._e(),_vm._l((_vm.listActions),function(action){return (_vm.listType == 'Card')?[((action.isVisible == true && typeof action.callbackfunction != 'undefined'))?_c('a',{class:'round-icon-small ' + ((action.class) ? action.class : 'btn-info') + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': ''),attrs:{"typetitle":_vm.$t(action.title),"typefor":_vm.$t(action.title),"value":_vm.item[_vm.identityColumn],"title":_vm.$t(action.title),"data-toggle-tooltip":"tooltip","data-original-title":_vm.$t(action.title)},on:{"click":function($event){return _vm.ClickEvent(action.isDisabled, action.callbackfunction,_vm.item,_vm.index,$event)}}},[_c('em',{class:_vm.CardActionIcon(action.icon) + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')})]):_vm._e(),(action.isVisible == true && typeof action.callbackfunction == 'undefined')?_c('RouterLink',{class:'round-icon-small ' + ((action.class) ? action.class : 'btn-info') + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': ''),attrs:{"to":_vm.replaceText(action.href),"title":action.title}},[_c('em',{class:_vm.CardActionIcon(action.icon) + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')})]):_vm._e()]:_vm._e()}),_vm._l((_vm.listActions),function(action){return (_vm.listType == 'Kanban')?[(action.isVisible == true && typeof action.callbackfunction != 'undefined')?_c('a',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"typetitle":_vm.$t(action.title),"typefor":_vm.$t(action.title),"value":_vm.item[_vm.identityColumn],"title":_vm.$t(action.title)},on:{"click":function($event){return _vm.ClickEvent(action.isDisabled, action.callbackfunction,_vm.item,_vm.index,$event)}}},[_c('i',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')}),_c('span',{staticClass:"text"},[_vm._v(" "+_vm._s(_vm.$t(action.title))+" "),_c('span',{domProps:{"innerHTML":_vm._s(_vm.replaceText(action.additionalSpan))}})])]):_vm._e(),(action.isVisible == true && typeof action.callbackfunction == 'undefined')?_c('RouterLink',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"to":_vm.replaceText(action.href),"title":_vm.$t(action.title)}},[_c('i',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')}),_c('span',{staticClass:"text"},[_vm._v(" "+_vm._s(_vm.$t(action.title)))])]):_vm._e()]:_vm._e()})],2)}
|
|
15796
|
+
var RowActionsvue_type_template_id_2f13f245_staticRenderFns = []
|
|
15797
15797
|
|
|
15798
15798
|
|
|
15799
|
-
// CONCATENATED MODULE: ./src/components/RowActions.vue?vue&type=template&id=
|
|
15799
|
+
// CONCATENATED MODULE: ./src/components/RowActions.vue?vue&type=template&id=2f13f245&
|
|
15800
15800
|
|
|
15801
15801
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
15802
15802
|
var es_string_replace = __webpack_require__("5319");
|
|
@@ -16070,8 +16070,8 @@ function normalizeComponent (
|
|
|
16070
16070
|
|
|
16071
16071
|
var component = normalizeComponent(
|
|
16072
16072
|
components_RowActionsvue_type_script_lang_js_,
|
|
16073
|
-
|
|
16074
|
-
|
|
16073
|
+
RowActionsvue_type_template_id_2f13f245_render,
|
|
16074
|
+
RowActionsvue_type_template_id_2f13f245_staticRenderFns,
|
|
16075
16075
|
false,
|
|
16076
16076
|
null,
|
|
16077
16077
|
null,
|
|
@@ -16422,6 +16422,11 @@ var Pager_component = normalizeComponent(
|
|
|
16422
16422
|
//
|
|
16423
16423
|
//
|
|
16424
16424
|
//
|
|
16425
|
+
//
|
|
16426
|
+
//
|
|
16427
|
+
//
|
|
16428
|
+
//
|
|
16429
|
+
//
|
|
16425
16430
|
|
|
16426
16431
|
|
|
16427
16432
|
|
|
@@ -16494,6 +16499,10 @@ var Pager_component = normalizeComponent(
|
|
|
16494
16499
|
},
|
|
16495
16500
|
randomNumberForIds: {
|
|
16496
16501
|
type: Number
|
|
16502
|
+
},
|
|
16503
|
+
selectionType: {
|
|
16504
|
+
type: String,
|
|
16505
|
+
default: "multiple"
|
|
16497
16506
|
}
|
|
16498
16507
|
},
|
|
16499
16508
|
watch: {
|
|
@@ -16569,7 +16578,10 @@ var Pager_component = normalizeComponent(
|
|
|
16569
16578
|
this.$emit('ButtonClick', callbackfunction, item, index, event, 'true');
|
|
16570
16579
|
},
|
|
16571
16580
|
onChangeEventOfCheckbox: function onChangeEventOfCheckbox(e, item) {
|
|
16572
|
-
this.$emit('EventOfCheckbox', e, item);
|
|
16581
|
+
this.$emit('EventOfCheckbox', e, item, 'checkbox');
|
|
16582
|
+
},
|
|
16583
|
+
onChangeEventOfRadiobox: function onChangeEventOfRadiobox(e, item) {
|
|
16584
|
+
this.$emit('EventOfCheckbox', e, item, 'radio');
|
|
16573
16585
|
},
|
|
16574
16586
|
clickEventCheck: function clickEventCheck(key, item) {
|
|
16575
16587
|
typeof key.settings.clickEvent === 'function' && typeof item.rowDetailsUrl === 'undefined' ? key.settings.clickEvent(item, key) : '';
|
|
@@ -16588,8 +16600,8 @@ var Pager_component = normalizeComponent(
|
|
|
16588
16600
|
|
|
16589
16601
|
var DataTable_component = normalizeComponent(
|
|
16590
16602
|
components_DataTablevue_type_script_lang_js_,
|
|
16591
|
-
|
|
16592
|
-
|
|
16603
|
+
DataTablevue_type_template_id_5569d866_render,
|
|
16604
|
+
DataTablevue_type_template_id_5569d866_staticRenderFns,
|
|
16593
16605
|
false,
|
|
16594
16606
|
null,
|
|
16595
16607
|
null,
|
|
@@ -17588,12 +17600,12 @@ var top_search_component = normalizeComponent(
|
|
|
17588
17600
|
)
|
|
17589
17601
|
|
|
17590
17602
|
/* harmony default export */ var top_search = (top_search_component.exports);
|
|
17591
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-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/CardView.vue?vue&type=template&id=
|
|
17592
|
-
var
|
|
17593
|
-
var
|
|
17603
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-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/CardView.vue?vue&type=template&id=1e09dffe&
|
|
17604
|
+
var CardViewvue_type_template_id_1e09dffe_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"talygen-card-view"},[_c('div',{staticClass:"row card-view bg-border custom-box-width"},[_vm._l((_vm.data),function(row,index){return _c('div',{key:index,staticClass:"col-md-12 col-lg-6 col-xl-3 mb-3 fsmaddresscontrol"},[(!_vm.customcard)?_c('div',{class:'card-box ' + ((typeof(row.additionalClass) != 'undefined')? row.additionalClass: '' ),style:('border-width: 5px 2px 2px; border-style: solid; border-color:' + ((typeof(row.color_code) != 'undefined')? row.color_code: 'rgb(153 153 153)' ) + '; border-image: initial;')},[_c('div',{staticClass:"mb-2"},[_c('div',{staticClass:"custom-control custom-checkbox custom-control-inline"},[_c('input',{staticClass:"chkItems custom-control-input",attrs:{"id":'Checkbox_' + index,"disabled":row.isCheckBoxDisabled,"type":"checkbox"},domProps:{"checked":row.isSelected,"value":row[_vm.identityColumn]},on:{"change":function($event){return _vm.onChangeEventOfCheckbox($event, row)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'Checkbox_' + index}})]),((_vm.columns[0].DATA_TYPE=='date' || _vm.columns[0].DATA_TYPE=='datetime') && (_vm.columns[0].DATA_TYPE !='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.formatDate(row[_vm.columns[0].COLUMN_NAME])))]):_vm._e(),((_vm.columns[0].DATA_TYPE=='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.currency(row[_vm.columns[0].COLUMN_NAME])))]):_vm._e(),((_vm.columns[0].DATA_TYPE!='date' && _vm.columns[0].DATA_TYPE!='datetime' && _vm.columns[0].DATA_TYPE!='decimal'))?_c('span',{attrs:{"title":row[_vm.columns[0].COLUMN_NAME]}},[(typeof(_vm.columns[0].settings) != 'undefined' && _vm.columns[0].settings != null && typeof(_vm.columns[0].settings.clickEvent) != 'undefined' && _vm.columns[0].settings.clickEvent != null && _vm.columns[0].settings.isInSlot != true)?_c('a',{attrs:{"id":"viewLeadeContent_a","href":"javascript:;"},on:{"click":function($event){return _vm.clickEventCheck(_vm.columns,row)}}},[_vm._v(_vm._s(((typeof(_vm.columns[0].settings.formatter) === 'function')?_vm.columns[0].settings.formatter(row, _vm.columns[0]):_vm.TruncateStr(row[_vm.columns[0].COLUMN_NAME],30))))]):_vm._e(),(typeof(_vm.columns[0].settings) != 'undefined' && _vm.columns[0].settings != null && (typeof(_vm.columns[0].settings.clickEvent) === 'undefined' || _vm.columns[0].settings.clickEvent == null) && _vm.columns[0].settings.isInSlot != true)?_c('span',{attrs:{"title":row[_vm.columns[0].COLUMN_NAME]}},[_vm._v(_vm._s(((typeof(_vm.columns[0].settings.formatter) === 'function')?_vm.columns[0].settings.formatter(row, _vm.columns[0]):_vm.TruncateStr(row[_vm.columns[0].COLUMN_NAME],30))))]):_vm._e(),(typeof(_vm.columns[0].settings) === 'undefined' || _vm.columns[0].settings == null)?_c('span',{attrs:{"title":row[_vm.columns[0].COLUMN_NAME]}},[_vm._v(_vm._s(_vm.TruncateStr(row[_vm.columns[0].COLUMN_NAME],30)))]):_vm._e(),(typeof(_vm.columns[0].settings) != 'undefined' && _vm.columns[0].settings != null && typeof(_vm.columns[0].settings.isInSlot) != 'undefined' && _vm.columns[0].settings.isInSlot == true)?_vm._t("slotdata",null,{"data":{row:row,column:_vm.columns[0]}}):_vm._e()],2):_vm._e()]),_c('div',{staticClass:"card-detail-main filterscrollForCardView"},_vm._l((_vm.columns),function(key,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowColumn(row,key) && index > 0),expression:"isShowColumn(row,key) && index > 0"}],key:index,staticClass:"card-detail"},[_c('i',{class:'fa '+ _vm.defaultIconsForColumn(key),attrs:{"data-name":key.COLUMN_NAME,"aria-hidden":"true"}}),((key.DATA_TYPE=='date' || key.DATA_TYPE=='datetime') && (key.DATA_TYPE !='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.formatDate(row[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE=='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.currency(row[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE!='date' && key.DATA_TYPE!='datetime' && key.DATA_TYPE!='decimal'))?_c('span',{attrs:{"title":row[key.COLUMN_NAME]}},[(typeof(key.settings) != 'undefined' && key.settings != null && typeof(key.settings.clickEvent) != 'undefined' && key.settings.clickEvent != null && key.settings.isInSlot != true)?_c('a',{attrs:{"id":"viewLeadeContent_a","href":"javascript:;"},on:{"click":function($event){return _vm.clickEventCheck2(key,row)}}},[_vm._v(_vm._s(((typeof(key.settings.formatter) === 'function')?key.settings.formatter(row, key):_vm.TruncateStr(row[key.COLUMN_NAME],30))))]):_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":row[key.COLUMN_NAME]}},[_vm._v(_vm._s(((typeof(key.settings.formatter) === 'function')?key.settings.formatter(row, key):_vm.TruncateStr(row[key.COLUMN_NAME],30))))]):_vm._e(),(typeof(key.settings) === 'undefined' || key.settings == null)?_c('span',{attrs:{"title":row[key.COLUMN_NAME]}},[_vm._v(_vm._s(_vm.TruncateStr(row[key.COLUMN_NAME],30)))]):_vm._e(),(typeof(key.settings) != 'undefined' && key.settings != null && typeof(key.settings.isInSlot) != 'undefined' && key.settings.isInSlot == true)?_vm._t("slotdata",null,{"data":{row:row,column:key}}):_vm._e()],2):_vm._e()])}),0),_c('div',{staticClass:"bottom-action",staticStyle:{"background":"none !important"}},[_vm._l((_vm.columns),function(key){return [(typeof(key.settings) !== 'undefined' && key.settings != null && typeof(key.settings.isForTag) !== 'undefined' && key.settings.isForTag == true)?_c('div',{class:'px-2 text-center text-white d-block ' + _vm.tagColor(row, key)},[_vm._v(" "+_vm._s(row[key.COLUMN_NAME]=='Active'?'Draft':row[key.COLUMN_NAME])+" ")]):_vm._e()]}),_c('div',{staticClass:"card-action my-2"},[(_vm.IsShowAction == true)?_c('RowActions',{attrs:{"item":row,"index":index,"identityColumn":_vm.identityColumn,"listActionsMethod":_vm.renderRowActionMethod,"listType":"Card"},on:{"ButtonClick":_vm.ButtonClick}}):_vm._e()],1)],2)]):_vm._e(),(_vm.customcard)?[_vm._t("customcard",null,{"data":{row:row,columnlist:_vm.columns, onchangecheckbox:_vm.onChangeEventOfCheckbox }})]:_vm._e()],2)}),(_vm.noRecord)?_c('div',{staticClass:"table-responsive table-fix-header text-center p-2 border",staticStyle:{"height":"46px"}},[_c('span',{staticClass:"text-center text-danger no-record",attrs:{"colspan":"17"}},[_vm._v(_vm._s(_vm.NorecordfoundText))])]):_vm._e()],2),_c('Pager',{attrs:{"UserPageSize":_vm.UserPageSize,"numberofrecords":_vm.TotalRecords,"CurrentPageNumber":_vm.CurrentPageNumber,"prev-text":_vm.$t('Previous'),"first-text":_vm.$t('First'),"last-text":_vm.$t('Last'),"next-text":_vm.$t('Next')},on:{"SetCurrentPage":_vm.pagerMethod}})],1)}
|
|
17605
|
+
var CardViewvue_type_template_id_1e09dffe_staticRenderFns = []
|
|
17594
17606
|
|
|
17595
17607
|
|
|
17596
|
-
// CONCATENATED MODULE: ./src/components/CardView.vue?vue&type=template&id=
|
|
17608
|
+
// CONCATENATED MODULE: ./src/components/CardView.vue?vue&type=template&id=1e09dffe&
|
|
17597
17609
|
|
|
17598
17610
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CardView.vue?vue&type=script&lang=js&
|
|
17599
17611
|
|
|
@@ -17769,8 +17781,8 @@ var CardViewvue_type_style_index_0_lang_css_ = __webpack_require__("7d46");
|
|
|
17769
17781
|
|
|
17770
17782
|
var CardView_component = normalizeComponent(
|
|
17771
17783
|
components_CardViewvue_type_script_lang_js_,
|
|
17772
|
-
|
|
17773
|
-
|
|
17784
|
+
CardViewvue_type_template_id_1e09dffe_render,
|
|
17785
|
+
CardViewvue_type_template_id_1e09dffe_staticRenderFns,
|
|
17774
17786
|
false,
|
|
17775
17787
|
null,
|
|
17776
17788
|
null,
|
|
@@ -18403,6 +18415,8 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
18403
18415
|
//
|
|
18404
18416
|
//
|
|
18405
18417
|
//
|
|
18418
|
+
//
|
|
18419
|
+
//
|
|
18406
18420
|
//
|
|
18407
18421
|
// Data table Compoonent for deiplaying data into the tabel.
|
|
18408
18422
|
|
|
@@ -18552,6 +18566,10 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
18552
18566
|
isShowHeaderText: {
|
|
18553
18567
|
type: Boolean,
|
|
18554
18568
|
default: true
|
|
18569
|
+
},
|
|
18570
|
+
selectionType: {
|
|
18571
|
+
type: String,
|
|
18572
|
+
default: "multiple"
|
|
18555
18573
|
}
|
|
18556
18574
|
},
|
|
18557
18575
|
data: function data() {
|
|
@@ -18690,7 +18708,7 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
18690
18708
|
|
|
18691
18709
|
this.$emit('ChangeView', value);
|
|
18692
18710
|
},
|
|
18693
|
-
onChangeEventOfCheckbox: function onChangeEventOfCheckbox(e, item) {
|
|
18711
|
+
onChangeEventOfCheckbox: function onChangeEventOfCheckbox(e, item, eventFrom) {
|
|
18694
18712
|
var ths = this;
|
|
18695
18713
|
|
|
18696
18714
|
if (e.target.id.includes("chkAll") && e.target.classList.contains("chkItems")) {
|
|
@@ -18700,7 +18718,13 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
18700
18718
|
}
|
|
18701
18719
|
});
|
|
18702
18720
|
} else {
|
|
18703
|
-
|
|
18721
|
+
if (eventFrom == 'radio') {
|
|
18722
|
+
ths.ListData.forEach(function (r) {
|
|
18723
|
+
r.isSelected = false;
|
|
18724
|
+
});
|
|
18725
|
+
}
|
|
18726
|
+
|
|
18727
|
+
item.isSelected = true; //ths.$set(item, 'isSelected', e.target.checked);
|
|
18704
18728
|
|
|
18705
18729
|
var checkIfExists = ths.ListData.filter(function (x) {
|
|
18706
18730
|
return x.isCheckBoxDisabled != true && (typeof x.isSelected == 'undefined' || x.isSelected == false);
|