tg-listv 0.0.41 → 0.0.42
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 +40 -23
- package/dist/tglistv.common.js.map +1 -1
- package/dist/tglistv.umd.js +40 -23
- package/dist/tglistv.umd.js.map +1 -1
- package/dist/tglistv.umd.min.js +7 -7
- package/dist/tglistv.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/tglistv.common.js
CHANGED
|
@@ -36734,7 +36734,7 @@ if (typeof window !== 'undefined') {
|
|
|
36734
36734
|
// Indicate to webpack that this file can be concatenated
|
|
36735
36735
|
/* harmony default export */ var setPublicPath = (null);
|
|
36736
36736
|
|
|
36737
|
-
// 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=
|
|
36737
|
+
// 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=3725dfd4&
|
|
36738
36738
|
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)],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))])]),_vm._v(" "),_c('i',{class:'fa ' + widget.icon,attrs:{"aria-hidden":"true"}})])}),0):_vm._e(),_c('div',{staticStyle:{"clear":"both"}}),(_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') && 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,"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){
|
|
36739
36739
|
var data = ref.data;
|
|
36740
36740
|
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,"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){
|
|
@@ -36749,7 +36749,7 @@ return [_vm._t("customcard",null,{"data":{row:data.row,columnlist:data.columnlis
|
|
|
36749
36749
|
var staticRenderFns = []
|
|
36750
36750
|
|
|
36751
36751
|
|
|
36752
|
-
// CONCATENATED MODULE: ./src/components/TgList.vue?vue&type=template&id=
|
|
36752
|
+
// CONCATENATED MODULE: ./src/components/TgList.vue?vue&type=template&id=3725dfd4&
|
|
36753
36753
|
|
|
36754
36754
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
|
36755
36755
|
var es_symbol = __webpack_require__("a4d3");
|
|
@@ -36801,18 +36801,18 @@ var web_dom_collections_for_each = __webpack_require__("159b");
|
|
|
36801
36801
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
36802
36802
|
var es_array_from = __webpack_require__("a630");
|
|
36803
36803
|
|
|
36804
|
-
// 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/DataTable.vue?vue&type=template&id=
|
|
36805
|
-
var
|
|
36804
|
+
// 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/DataTable.vue?vue&type=template&id=1ee4970b&
|
|
36805
|
+
var DataTablevue_type_template_id_1ee4970b_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"}},[_c('thead',{staticClass:"thead-bg"},[_c('tr',[((typeof(_vm.showCheckBox) === 'undefined' || _vm.showCheckBox == true))?_c('th',{staticClass:"text-center",staticStyle:{"width":"50px !important"}},[_c('input',{staticClass:"chkitems",attrs:{"id":"chkAll","value":"","type":"checkbox"},on:{"change":function($event){return _vm.onChangeEventOfCheckbox($event)}}})]):_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)?_c('span',{class:{
|
|
36806
36806
|
'sort': item.SORTABLE == true,
|
|
36807
36807
|
'tb_headerSortUp': _vm.SortExp == 'ASC' && _vm.SortBy == item.COLUMN_NAME,
|
|
36808
36808
|
'tb_headerSortDown':
|
|
36809
36809
|
_vm.SortExp == 'DESC' && _vm.SortBy == item.COLUMN_NAME,
|
|
36810
36810
|
},on:{"click":function($event){return _vm.sortdata(item.COLUMN_NAME)}}},[_vm._v(" "+_vm._s(item.DISPLAY_NAME)+" ")]):_vm._e(),(item.SORTABLE == false)?_c('span',[_vm._v(" "+_vm._s(item.DISPLAY_NAME)+" ")]):_vm._e()]):_vm._e()]}),(_vm.IsShowAction == true)?_c('th',{staticClass:"nonresize text-center"},[_c('span',[_vm._v("Action")])]):_vm._e()],2)]),_c('tbody',[_vm._l((_vm.Data),function(item,dataIndex){return _c('tr',{key:dataIndex,class:item.additionalClass},[((typeof(_vm.showCheckBox) === 'undefined' || _vm.showCheckBox == true))?_c('td',{staticClass:"text-center"},[_c('input',{staticClass:"chkItems",attrs:{"disabled":item.isCheckBoxDisabled,"type":"checkbox"},domProps:{"value":item[_vm.identityColumn]},on:{"change":function($event){return _vm.onChangeEventOfCheckbox($event, item)}}})]):_vm._e(),_vm._l((_vm.Headers),function(key,headerIndex){return [(key.VISIBLE)?_c('td',{key:headerIndex,class:{'text-right':key.DATA_TYPE=='decimal'}},[((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
|
|
36811
36811
|
&& 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)}),(_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)])]),_c('Pager',{attrs:{"UserPageSize":_vm.UserPageSize,"numberofrecords":_vm.totalrecords,"prev-text":"Prev","first-text":"First","last-text":"Last","next-text":"Next"},on:{"SetCurrentPage":_vm.pagerMethod}})],1)}
|
|
36812
|
-
var
|
|
36812
|
+
var DataTablevue_type_template_id_1ee4970b_staticRenderFns = []
|
|
36813
36813
|
|
|
36814
36814
|
|
|
36815
|
-
// CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=template&id=
|
|
36815
|
+
// CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=template&id=1ee4970b&
|
|
36816
36816
|
|
|
36817
36817
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
36818
36818
|
var es_regexp_exec = __webpack_require__("ac1f");
|
|
@@ -37113,12 +37113,12 @@ var component = normalizeComponent(
|
|
|
37113
37113
|
)
|
|
37114
37114
|
|
|
37115
37115
|
/* harmony default export */ var RowActions = (component.exports);
|
|
37116
|
-
// 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=
|
|
37117
|
-
var
|
|
37118
|
-
var
|
|
37116
|
+
// 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=793a6cdc&
|
|
37117
|
+
var Pagervue_type_template_id_793a6cdc_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()}
|
|
37118
|
+
var Pagervue_type_template_id_793a6cdc_staticRenderFns = []
|
|
37119
37119
|
|
|
37120
37120
|
|
|
37121
|
-
// CONCATENATED MODULE: ./src/components/Pager.vue?vue&type=template&id=
|
|
37121
|
+
// CONCATENATED MODULE: ./src/components/Pager.vue?vue&type=template&id=793a6cdc&
|
|
37122
37122
|
|
|
37123
37123
|
// 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&
|
|
37124
37124
|
|
|
@@ -37239,6 +37239,9 @@ var Pagervue_type_template_id_3367f0d4_staticRenderFns = []
|
|
|
37239
37239
|
if (value == 1) {
|
|
37240
37240
|
vm.SetCurrentPage(value);
|
|
37241
37241
|
}
|
|
37242
|
+
},
|
|
37243
|
+
UserPageSize: function UserPageSize(value) {
|
|
37244
|
+
this.PageSize = value;
|
|
37242
37245
|
}
|
|
37243
37246
|
},
|
|
37244
37247
|
created: function created() {
|
|
@@ -37323,8 +37326,8 @@ var Pagervue_type_template_id_3367f0d4_staticRenderFns = []
|
|
|
37323
37326
|
|
|
37324
37327
|
var Pager_component = normalizeComponent(
|
|
37325
37328
|
components_Pagervue_type_script_lang_js_,
|
|
37326
|
-
|
|
37327
|
-
|
|
37329
|
+
Pagervue_type_template_id_793a6cdc_render,
|
|
37330
|
+
Pagervue_type_template_id_793a6cdc_staticRenderFns,
|
|
37328
37331
|
false,
|
|
37329
37332
|
null,
|
|
37330
37333
|
null,
|
|
@@ -37402,6 +37405,8 @@ var Pager_component = normalizeComponent(
|
|
|
37402
37405
|
//
|
|
37403
37406
|
//
|
|
37404
37407
|
//
|
|
37408
|
+
//
|
|
37409
|
+
//
|
|
37405
37410
|
|
|
37406
37411
|
|
|
37407
37412
|
/* harmony default export */ var DataTablevue_type_script_lang_js_ = ({
|
|
@@ -37469,13 +37474,17 @@ var Pager_component = normalizeComponent(
|
|
|
37469
37474
|
watch: {
|
|
37470
37475
|
totalrecords: function totalrecords(value) {
|
|
37471
37476
|
this.TotalRecords = value;
|
|
37477
|
+
},
|
|
37478
|
+
UserPageSize: function UserPageSize(value) {
|
|
37479
|
+
this.PageSize = value;
|
|
37472
37480
|
}
|
|
37473
37481
|
},
|
|
37474
37482
|
data: function data() {
|
|
37475
37483
|
return {
|
|
37476
37484
|
showActions: this.NewArray(100),
|
|
37477
37485
|
Actions: [],
|
|
37478
|
-
TotalRecords: 0
|
|
37486
|
+
TotalRecords: 0,
|
|
37487
|
+
PageSize: this.UserPageSize
|
|
37479
37488
|
};
|
|
37480
37489
|
},
|
|
37481
37490
|
methods: {
|
|
@@ -37537,8 +37546,8 @@ var Pager_component = normalizeComponent(
|
|
|
37537
37546
|
|
|
37538
37547
|
var DataTable_component = normalizeComponent(
|
|
37539
37548
|
components_DataTablevue_type_script_lang_js_,
|
|
37540
|
-
|
|
37541
|
-
|
|
37549
|
+
DataTablevue_type_template_id_1ee4970b_render,
|
|
37550
|
+
DataTablevue_type_template_id_1ee4970b_staticRenderFns,
|
|
37542
37551
|
false,
|
|
37543
37552
|
null,
|
|
37544
37553
|
null,
|
|
@@ -38049,12 +38058,12 @@ var left_search_component = normalizeComponent(
|
|
|
38049
38058
|
)
|
|
38050
38059
|
|
|
38051
38060
|
/* harmony default export */ var left_search = (left_search_component.exports);
|
|
38052
|
-
// 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=
|
|
38053
|
-
var
|
|
38054
|
-
var
|
|
38061
|
+
// 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=d1171b32&
|
|
38062
|
+
var CardViewvue_type_template_id_d1171b32_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 ' + ((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"},[_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,"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":"Prev","first-text":"First","last-text":"Last","next-text":"Next"},on:{"SetCurrentPage":_vm.pagerMethod}})],1)}
|
|
38063
|
+
var CardViewvue_type_template_id_d1171b32_staticRenderFns = []
|
|
38055
38064
|
|
|
38056
38065
|
|
|
38057
|
-
// CONCATENATED MODULE: ./src/components/CardView.vue?vue&type=template&id=
|
|
38066
|
+
// CONCATENATED MODULE: ./src/components/CardView.vue?vue&type=template&id=d1171b32&
|
|
38058
38067
|
|
|
38059
38068
|
// 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&
|
|
38060
38069
|
|
|
@@ -38124,11 +38133,15 @@ var CardViewvue_type_template_id_a79e4fd4_staticRenderFns = []
|
|
|
38124
38133
|
watch: {
|
|
38125
38134
|
totalrecords: function totalrecords(value) {
|
|
38126
38135
|
this.TotalRecords = value;
|
|
38136
|
+
},
|
|
38137
|
+
UserPageSize: function UserPageSize(value) {
|
|
38138
|
+
this.PageSize = value;
|
|
38127
38139
|
}
|
|
38128
38140
|
},
|
|
38129
38141
|
data: function data() {
|
|
38130
38142
|
return {
|
|
38131
|
-
TotalRecords: 0
|
|
38143
|
+
TotalRecords: 0,
|
|
38144
|
+
PageSize: this.UserPageSize
|
|
38132
38145
|
};
|
|
38133
38146
|
},
|
|
38134
38147
|
created: function created() {
|
|
@@ -38226,8 +38239,8 @@ var CardViewvue_type_style_index_0_lang_css_ = __webpack_require__("7d46");
|
|
|
38226
38239
|
|
|
38227
38240
|
var CardView_component = normalizeComponent(
|
|
38228
38241
|
components_CardViewvue_type_script_lang_js_,
|
|
38229
|
-
|
|
38230
|
-
|
|
38242
|
+
CardViewvue_type_template_id_d1171b32_render,
|
|
38243
|
+
CardViewvue_type_template_id_d1171b32_staticRenderFns,
|
|
38231
38244
|
false,
|
|
38232
38245
|
null,
|
|
38233
38246
|
null,
|
|
@@ -38947,7 +38960,8 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
38947
38960
|
IsShowCustomCard: false,
|
|
38948
38961
|
HeaderButtonArrayForUpdate: this.HeaderButtons,
|
|
38949
38962
|
DisabledHeaderButton: [],
|
|
38950
|
-
widgetClassArray: ["one_wid", "two_wid", "three_wid", "four_wid", "five_wid"]
|
|
38963
|
+
widgetClassArray: ["one_wid", "two_wid", "three_wid", "four_wid", "five_wid"],
|
|
38964
|
+
UserPageSize: this.PageSize
|
|
38951
38965
|
};
|
|
38952
38966
|
},
|
|
38953
38967
|
watch: {
|
|
@@ -38956,6 +38970,9 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
38956
38970
|
setTimeout(function () {
|
|
38957
38971
|
ths.TotalRecordsForPaging = v;
|
|
38958
38972
|
}, 500);
|
|
38973
|
+
},
|
|
38974
|
+
PageSize: function PageSize(value) {
|
|
38975
|
+
this.UserPageSize = value;
|
|
38959
38976
|
}
|
|
38960
38977
|
},
|
|
38961
38978
|
mounted: function mounted() {
|