tg-listv 0.0.55 → 0.0.57
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
CHANGED
|
@@ -36807,20 +36807,20 @@ var web_dom_collections_for_each = __webpack_require__("159b");
|
|
|
36807
36807
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
36808
36808
|
var es_array_from = __webpack_require__("a630");
|
|
36809
36809
|
|
|
36810
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"26431274-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=
|
|
36811
|
-
var
|
|
36810
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"26431274-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=25a7f8b4&
|
|
36811
|
+
var DataTablevue_type_template_id_25a7f8b4_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"}},[_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._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:{
|
|
36812
36812
|
'sort': item.SORTABLE == true,
|
|
36813
36813
|
'tb_headerSortUp': _vm.SortExp == 'ASC' && _vm.SortBy == item.COLUMN_NAME,
|
|
36814
36814
|
'tb_headerSortDown':
|
|
36815
36815
|
_vm.SortExp == 'DESC' && _vm.SortBy == item.COLUMN_NAME,
|
|
36816
|
-
},on:{"click":function($event){return _vm.sortdata(item.COLUMN_NAME)}}},[_vm._v(" "+_vm._s(item.DISPLAY_NAME)+" ")]):_vm._e(),(item.SORTABLE == false || _vm.isChild == true)?_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',{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}})])]),(typeof(item.child) != 'undefined' && item.child.isShowExpandButton == true && item.child.isShowChild == false)?_c('a',{staticClass:"parentwithchild d-inline-block parent-childrow chkItems",
|
|
36816
|
+
},on:{"click":function($event){return _vm.sortdata(item.COLUMN_NAME)}}},[_vm._v(" "+_vm._s(item.DISPLAY_NAME)+" ")]):_vm._e(),(item.SORTABLE == false || _vm.isChild == true)?_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',{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
|
|
36817
36817
|
&& 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){
|
|
36818
36818
|
var data = ref.data;
|
|
36819
36819
|
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":"Prev","first-text":"First","last-text":"Last","next-text":"Next"},on:{"SetCurrentPage":_vm.pagerMethod}}):_vm._e()],1)}
|
|
36820
|
-
var
|
|
36820
|
+
var DataTablevue_type_template_id_25a7f8b4_staticRenderFns = []
|
|
36821
36821
|
|
|
36822
36822
|
|
|
36823
|
-
// CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=template&id=
|
|
36823
|
+
// CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=template&id=25a7f8b4&
|
|
36824
36824
|
|
|
36825
36825
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
36826
36826
|
var es_regexp_exec = __webpack_require__("ac1f");
|
|
@@ -37618,7 +37618,7 @@ var Pager_component = normalizeComponent(
|
|
|
37618
37618
|
} else {
|
|
37619
37619
|
item.isSelected = e.target.checked;
|
|
37620
37620
|
var checkIfExists = this.Data.filter(function (x) {
|
|
37621
|
-
return
|
|
37621
|
+
return x.isCheckBoxDisabled != true && (typeof x.isSelected == 'undefined' || x.isSelected == false);
|
|
37622
37622
|
});
|
|
37623
37623
|
|
|
37624
37624
|
if (checkIfExists.length > 0) {
|
|
@@ -37650,8 +37650,8 @@ var Pager_component = normalizeComponent(
|
|
|
37650
37650
|
|
|
37651
37651
|
var DataTable_component = normalizeComponent(
|
|
37652
37652
|
components_DataTablevue_type_script_lang_js_,
|
|
37653
|
-
|
|
37654
|
-
|
|
37653
|
+
DataTablevue_type_template_id_25a7f8b4_render,
|
|
37654
|
+
DataTablevue_type_template_id_25a7f8b4_staticRenderFns,
|
|
37655
37655
|
false,
|
|
37656
37656
|
null,
|
|
37657
37657
|
null,
|