tg-listv 0.0.32 → 0.0.33
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 +32 -26
- package/dist/tglistv.common.js.map +1 -1
- package/dist/tglistv.umd.js +32 -26
- package/dist/tglistv.umd.js.map +1 -1
- package/dist/tglistv.umd.min.js +8 -8
- package/dist/tglistv.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/tglistv.common.js
CHANGED
|
@@ -36716,8 +36716,8 @@ if (typeof window !== 'undefined') {
|
|
|
36716
36716
|
// Indicate to webpack that this file can be concatenated
|
|
36717
36717
|
/* harmony default export */ var setPublicPath = (null);
|
|
36718
36718
|
|
|
36719
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"78403d1f-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=
|
|
36720
|
-
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"container-fluid mt-2 p-0"},[((typeof(_vm.SearchPosition) === 'undefined' || _vm.SearchPosition == 'left') && _vm.SearchFields)?_c('div',{staticClass:"left-menu-tab",attrs:{"id":"crmleftsearch"}},[_c('leftsearch',{attrs:{"header":_vm.HeaderText,"fields":_vm.SearchFields,"modulename":_vm.ModuleName},on:{"SetLeftSearch":_vm.leftCommonSearch}})],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 _c('li',{class:'cursor-pointer ' + _vm.widgetClassArray[(index%4)]},[_c('h3',[_vm._v(_vm._s(widget.value)),_c('br'),_c('span',[_vm._v(_vm._s(widget.name))])]),_vm._v(" "),_c('i',{class:'fa ' + widget.icon,attrs:{"aria-hidden":"true"}})])}),0):_vm._e(),(_vm.HeaderButtons)?_c('div',{staticClass:"col-md-12 p-0"},[_c('list-header-button-new',{attrs:{"icons":_vm.HeaderButtonArrayForUpdate,"submodulecode":_vm.SubModuleCode,"modulename":_vm.ModuleName,"ViewList":_vm.ViewList,"listType":_vm.listType},on:{"ApplyView":_vm.OnApplyView,"ButtonClick":_vm.commonHeaderButtonClick}})],1):_vm._e(),_c('div',{staticClass:"py-2 d-inline-block"},[_vm._l((_vm.LegendArray),function(lgnd){return [_c('span',{class:lgnd.class}),_vm._v(_vm._s(lgnd.text)+" ")]})],2),_c('div',{staticClass:"listing mt-2"},[((typeof(_vm.SearchPosition) === 'undefined' || _vm.SearchPosition == 'left'))?_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,"totalrecords":_vm.TotalRecordsForPaging,"IsShowAction":_vm.IsShowAction,"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){
|
|
36719
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"78403d1f-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=02a82e89&
|
|
36720
|
+
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"container-fluid mt-2 p-0"},[((typeof(_vm.SearchPosition) === 'undefined' || _vm.SearchPosition == 'left') && _vm.SearchFields)?_c('div',{staticClass:"left-menu-tab",attrs:{"id":"crmleftsearch"}},[_c('leftsearch',{attrs:{"header":_vm.HeaderText,"fields":_vm.SearchFields,"modulename":_vm.ModuleName},on:{"SetLeftSearch":_vm.leftCommonSearch}})],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 _c('li',{class:'cursor-pointer ' + _vm.widgetClassArray[(index%4)]},[_c('h3',[_vm._v(_vm._s(widget.value)),_c('br'),_c('span',[_vm._v(_vm._s(widget.name))])]),_vm._v(" "),_c('i',{class:'fa ' + widget.icon,attrs:{"aria-hidden":"true"}})])}),0):_vm._e(),(_vm.HeaderButtons)?_c('div',{staticClass:"col-md-12 p-0"},[_c('list-header-button-new',{attrs:{"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}})],1):_vm._e(),_c('div',{staticClass:"py-2 d-inline-block"},[_vm._l((_vm.LegendArray),function(lgnd){return [_c('span',{class:lgnd.class}),_vm._v(_vm._s(lgnd.text)+" ")]})],2),_c('div',{staticClass:"listing mt-2"},[((typeof(_vm.SearchPosition) === 'undefined' || _vm.SearchPosition == 'left'))?_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,"totalrecords":_vm.TotalRecordsForPaging,"IsShowAction":_vm.IsShowAction,"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){
|
|
36721
36721
|
var data = ref.data;
|
|
36722
36722
|
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,"customcard":_vm.IsShowCustomCard,"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){
|
|
36723
36723
|
var data = ref.data;
|
|
@@ -36731,7 +36731,7 @@ return [_vm._t("customcard",null,{"data":{row:data.row,columnlist:data.columnlis
|
|
|
36731
36731
|
var staticRenderFns = []
|
|
36732
36732
|
|
|
36733
36733
|
|
|
36734
|
-
// CONCATENATED MODULE: ./src/components/TgList.vue?vue&type=template&id=
|
|
36734
|
+
// CONCATENATED MODULE: ./src/components/TgList.vue?vue&type=template&id=02a82e89&
|
|
36735
36735
|
|
|
36736
36736
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
|
36737
36737
|
var es_symbol = __webpack_require__("a4d3");
|
|
@@ -37074,12 +37074,12 @@ var component = normalizeComponent(
|
|
|
37074
37074
|
)
|
|
37075
37075
|
|
|
37076
37076
|
/* harmony default export */ var RowActions = (component.exports);
|
|
37077
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"78403d1f-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/Pager.vue?vue&type=template&id=
|
|
37078
|
-
var
|
|
37079
|
-
var
|
|
37077
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"78403d1f-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/Pager.vue?vue&type=template&id=ee00f10c&
|
|
37078
|
+
var Pagervue_type_template_id_ee00f10c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.TotalPages>0)?_c('div',{staticClass:"nu-paging"},[_c('nav',{attrs:{"aria-label":"Page navigation example col-sm-12 col-md-12 col-lg-12 col-xl-12 float-left"}},[_c('ul',{staticClass:"pagination row"},[_c('li',{staticClass:"col-sm-12 col-md-6 col-lg-6 col-xl-6 float-left choose-page"},[_c('span',{staticClass:"mr-2"},[_vm._v("Show")]),_c('span',{staticClass:"select"},[_c('select',{directives:[{name:"model",rawName:"v-model",value:(_vm.PageSize),expression:"PageSize"}],staticClass:"form-control form-control-sm",attrs:{"id":"pageSize","name":"pageSize"},on:{"change":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return val}); _vm.PageSize=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},_vm.SetPageSize]}},_vm._l((_vm.PageSizeOption),function(item){return _c('option',{domProps:{"value":item}},[_vm._v(_vm._s(item))])}),0)]),_c('span',{staticClass:"ms-2"},[_vm._v(_vm._s((" Showing " + (((_vm.CurrentPage-1)*_vm.PageSize)+1) + " to " + ((_vm.PageSize*_vm.CurrentPage > _vm.TotalRecords ? _vm.TotalRecords : _vm.PageSize*_vm.CurrentPage)) + " of " + _vm.TotalRecords + " entries")))])]),_c('li',{staticClass:"col-sm-12 col-md-6 col-lg-6 col-xl-6 float-left"},[(_vm.TotalPages>1)?_c('ul',{staticClass:"paging-count"},[_c('li',{staticClass:"page-item"},[(_vm.CurrentPage!=1)?_c('a',{staticClass:"page-link first",attrs:{"title":_vm.firstText,"href":"javascript:;","val":"1"},on:{"click":function($event){return _vm.SetCurrentPage(1)}}},[_vm._v(_vm._s(_vm.firstText))]):_vm._e(),(_vm.CurrentPage==1)?_c('a',{staticClass:"page-link first disabled",attrs:{"title":_vm.firstText,"val":"1"}},[_vm._v(_vm._s(_vm.firstText))]):_vm._e()]),_c('li',{staticClass:"page-item"},[(_vm.CurrentPage!=1)?_c('a',{staticClass:"page-link previous",attrs:{"title":_vm.prevText,"href":"javascript:;"},on:{"click":function($event){return _vm.SetCurrentPage(_vm.CurrentPage-1)}}},[_vm._v(_vm._s(_vm.prevText))]):_vm._e(),(_vm.CurrentPage==1)?_c('a',{staticClass:"page-link previous disabled",attrs:{"title":_vm.prevText}},[_vm._v(_vm._s(_vm.prevText))]):_vm._e()]),_vm._l((_vm.TotalPages),function(data,index){return [(data>=_vm.GroupStart && data<=_vm.GroupEnd)?_c('li',{staticClass:"page-item"},[(index+1==_vm.CurrentPage)?_c('a',{staticClass:"page-link active",attrs:{"href":"javascript:;"}},[_vm._v(_vm._s(index+1))]):_vm._e(),(index+1!=_vm.CurrentPage)?_c('a',{staticClass:"page-link",attrs:{"href":"javascript:;","val":index},on:{"click":function($event){return _vm.SetCurrentPage(index+1)}}},[_vm._v(_vm._s(index+1))]):_vm._e()]):_vm._e()]}),_c('li',{staticClass:"page-item"},[(_vm.CurrentPage<_vm.TotalPages)?_c('a',{staticClass:"page-link next",attrs:{"title":_vm.nextText,"href":"javascript:;"},on:{"click":function($event){return _vm.SetCurrentPage(_vm.CurrentPage+1)}}},[_vm._v(_vm._s(_vm.nextText))]):_vm._e(),(_vm.CurrentPage>=_vm.TotalPages)?_c('a',{staticClass:"page-link disabled next",attrs:{"title":_vm.nextText}},[_vm._v(_vm._s(_vm.nextText))]):_vm._e()]),_c('li',{staticClass:"page-item"},[(_vm.CurrentPage!=_vm.TotalPages)?_c('a',{staticClass:"page-link next",attrs:{"title":_vm.lastText,"href":"javascript:;","val":_vm.TotalPages},on:{"click":function($event){return _vm.SetCurrentPage(_vm.TotalPages)}}},[_vm._v(_vm._s(_vm.lastText))]):_vm._e(),(_vm.CurrentPage==_vm.TotalPages)?_c('a',{staticClass:"page-link next disabled",attrs:{"title":_vm.lastText,"val":_vm.TotalPages}},[_vm._v(_vm._s(_vm.lastText))]):_vm._e()])],2):_vm._e()])])])]):_vm._e()}
|
|
37079
|
+
var Pagervue_type_template_id_ee00f10c_staticRenderFns = []
|
|
37080
37080
|
|
|
37081
37081
|
|
|
37082
|
-
// CONCATENATED MODULE: ./src/components/Pager.vue?vue&type=template&id=
|
|
37082
|
+
// CONCATENATED MODULE: ./src/components/Pager.vue?vue&type=template&id=ee00f10c&
|
|
37083
37083
|
|
|
37084
37084
|
// 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/Pager.vue?vue&type=script&lang=js&
|
|
37085
37085
|
|
|
@@ -37280,8 +37280,8 @@ var Pagervue_type_template_id_598c8294_staticRenderFns = []
|
|
|
37280
37280
|
|
|
37281
37281
|
var Pager_component = normalizeComponent(
|
|
37282
37282
|
components_Pagervue_type_script_lang_js_,
|
|
37283
|
-
|
|
37284
|
-
|
|
37283
|
+
Pagervue_type_template_id_ee00f10c_render,
|
|
37284
|
+
Pagervue_type_template_id_ee00f10c_staticRenderFns,
|
|
37285
37285
|
false,
|
|
37286
37286
|
null,
|
|
37287
37287
|
null,
|
|
@@ -37960,12 +37960,12 @@ var left_search_component = normalizeComponent(
|
|
|
37960
37960
|
)
|
|
37961
37961
|
|
|
37962
37962
|
/* harmony default export */ var left_search = (left_search_component.exports);
|
|
37963
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"78403d1f-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=
|
|
37964
|
-
var
|
|
37965
|
-
var
|
|
37963
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"78403d1f-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=f2d4032a&
|
|
37964
|
+
var CardViewvue_type_template_id_f2d4032a_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"},[_c('div',{staticClass:"col-12 mb-2"},_vm._l((_vm.LegendArray),function(legend){return _c('div',{staticClass:"mr-2 d-inline-block"},[_c('span',{staticClass:"colorboxsquare",class:legend.class,style:({'background':legend.backgroundColor})}),_vm._v(_vm._s(legend.name)+" ")])}),0)]),_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':true},staticStyle:{"border-width":"5px 2px 2px","border-style":"solid","border-color":"rgb(153 153 153)","border-image":"initial"}},[_c('div',{staticClass:"mb-2"},[_c('div',{staticClass:"custom-control custom-checkbox"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(row.isSelected),expression:"row.isSelected"}],staticClass:"chkItems",attrs:{"disabled":row.isCheckBoxDisabled,"type":"checkbox"},domProps:{"value":row[_vm.identityColumn],"checked":Array.isArray(row.isSelected)?_vm._i(row.isSelected,row[_vm.identityColumn])>-1:(row.isSelected)},on:{"change":[function($event){var $$a=row.isSelected,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=row[_vm.identityColumn],$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(row, "isSelected", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(row, "isSelected", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(row, "isSelected", $$c)}},function($event){return _vm.onChangeEventOfCheckbox($event, _vm.item)}]}})]),((_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,"listActions":_vm.renderRowActionMethod(row),"listType":"Card"},on:{"button-click":_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:{"numberofrecords":_vm.TotalRecords,"CurrentPageNumber":_vm.CurrentPageNumber,"prev-text":"Prev","first-text":"First","last-text":"Last","next-text":"Next"},on:{"SetCurrentPage":_vm.pagerMethod}})],1)}
|
|
37965
|
+
var CardViewvue_type_template_id_f2d4032a_staticRenderFns = []
|
|
37966
37966
|
|
|
37967
37967
|
|
|
37968
|
-
// CONCATENATED MODULE: ./src/components/CardView.vue?vue&type=template&id=
|
|
37968
|
+
// CONCATENATED MODULE: ./src/components/CardView.vue?vue&type=template&id=f2d4032a&
|
|
37969
37969
|
|
|
37970
37970
|
// 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&
|
|
37971
37971
|
|
|
@@ -38060,15 +38060,17 @@ var CardViewvue_type_template_id_adf00bf2_staticRenderFns = []
|
|
|
38060
38060
|
return true;
|
|
38061
38061
|
},
|
|
38062
38062
|
tagColor: function tagColor(row, key) {
|
|
38063
|
-
|
|
38064
|
-
|
|
38065
|
-
|
|
38066
|
-
|
|
38067
|
-
|
|
38068
|
-
|
|
38069
|
-
|
|
38070
|
-
|
|
38071
|
-
|
|
38063
|
+
try {
|
|
38064
|
+
if (row[key.COLUMN_NAME].toLowerCase().includes("open") || row[key.COLUMN_NAME].toLowerCase().includes("approve")) {
|
|
38065
|
+
return "btn-success";
|
|
38066
|
+
} else if (row[key.COLUMN_NAME].toLowerCase().includes("inactive") || row[key.COLUMN_NAME].toLowerCase().includes("delete") || row[key.COLUMN_NAME].toLowerCase().includes("cancel") || row[key.COLUMN_NAME].toLowerCase().includes("reject") || row[key.COLUMN_NAME].toLowerCase().includes("close")) {
|
|
38067
|
+
return "bg-danger";
|
|
38068
|
+
} else if (row[key.COLUMN_NAME].toLowerCase().includes("draft") || row[key.COLUMN_NAME].toLowerCase().includes("partial")) {
|
|
38069
|
+
return "bg-warning";
|
|
38070
|
+
} else if (row[key.COLUMN_NAME].toLowerCase().includes("active")) {
|
|
38071
|
+
return "bg-info";
|
|
38072
|
+
}
|
|
38073
|
+
} catch (ex) {}
|
|
38072
38074
|
|
|
38073
38075
|
return 'bg-secondary';
|
|
38074
38076
|
},
|
|
@@ -38131,8 +38133,8 @@ var CardViewvue_type_style_index_0_lang_css_ = __webpack_require__("7d46");
|
|
|
38131
38133
|
|
|
38132
38134
|
var CardView_component = normalizeComponent(
|
|
38133
38135
|
components_CardViewvue_type_script_lang_js_,
|
|
38134
|
-
|
|
38135
|
-
|
|
38136
|
+
CardViewvue_type_template_id_f2d4032a_render,
|
|
38137
|
+
CardViewvue_type_template_id_f2d4032a_staticRenderFns,
|
|
38136
38138
|
false,
|
|
38137
38139
|
null,
|
|
38138
38140
|
null,
|
|
@@ -38859,8 +38861,12 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
38859
38861
|
},
|
|
38860
38862
|
mounted: function mounted() {
|
|
38861
38863
|
var ths = this;
|
|
38862
|
-
var slots =
|
|
38863
|
-
|
|
38864
|
+
var slots = this.$scopedSlots;
|
|
38865
|
+
|
|
38866
|
+
try {
|
|
38867
|
+
this.IsShowCustomCard = !!slots.customcard;
|
|
38868
|
+
} catch (ex) {}
|
|
38869
|
+
|
|
38864
38870
|
this.DisabledHeaderButton = this.HeaderButtons.filter(function (x) {
|
|
38865
38871
|
return x.isdisabled == true;
|
|
38866
38872
|
});
|