tg-listv 0.0.83 → 0.0.84
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
|
@@ -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=4f6019b6&
|
|
15774
|
+
var DataTablevue_type_template_id_4f6019b6_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': item.COLUMN_NAME=='status', 'text-right':(item.DATA_TYPE=='decimal' || item.DATA_TYPE=='currency' || item.DATA_TYPE=='int' || item.DATA_TYPE=='bigint')},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}},[(_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.$n(item[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE=='currency'))?_c('span',[_vm._v(_vm._s(_vm.$n(item[key.COLUMN_NAME], 'currency')))]):_vm._e(),((key.DATA_TYPE!='date' && key.DATA_TYPE!='datetime' && key.DATA_TYPE!='decimal'&& key.DATA_TYPE!='
|
|
15780
|
-
|
|
15781
|
-
|
|
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' || key.DATA_TYPE=='currency' || key.DATA_TYPE=='int' || key.DATA_TYPE=='bigint')}},[(typeof(key.settings) != 'undefined' && key.settings != null && typeof(key.settings.isInSlot) != 'undefined' && key.settings.isInSlot == true)?[_c('span',[_vm._t("slotdata",null,{"data":{row:item,column:key}})],2)]:[(typeof(item.child) != 'undefined' && item.child.isShowExpandButton == true && item.child.isShowChild == false && headerIndex == 0)?_c('a',{staticClass:"parentwithchild d-inline-block parent-childrow chkItems",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.onExpndChild(item)}}},[_c('i',{staticClass:"fa fa-chevron-right"})]):_vm._e(),(typeof(item.child) != 'undefined' && item.child.isShowExpandButton == true && item.child.isShowChild == true && headerIndex == 0)?_c('a',{staticClass:"parentwithchild d-inline-block parent-childrow chkItems",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.onCollapeChild(item)}}},[_c('i',{staticClass:"fa fa-chevron-down"})]):_vm._e(),((key.DATA_TYPE=='date' || key.DATA_TYPE=='datetime') && (key.DATA_TYPE !='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.formatDate(item[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE=='decimal' || key.DATA_TYPE=='int' || key.DATA_TYPE=='bigint'))?_c('span',[_vm._v(_vm._s(_vm.$n(item[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE=='currency'))?_c('span',[_vm._v(_vm._s(_vm.$n(item[key.COLUMN_NAME], 'currency')))]):_vm._e(),((key.DATA_TYPE!='date' && key.DATA_TYPE!='datetime' && key.DATA_TYPE!='decimal' && key.DATA_TYPE != 'int' && key.DATA_TYPE != 'bigint'))?_c('span',{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()],1):_vm._e()]],2):_vm._e()]}),(_vm.IsShowAction == true)?_c('RowActions',{attrs:{"item":item,"index":dataIndex,"identityColumn":_vm.identityColumn,"listActionsMethod":_vm.renderRowActionMethod},on:{"ButtonClick":_vm.ButtonClick}}):_vm._e()],2),(typeof(item.child) != 'undefined' && item.child.isShowChild == true)?_c('tr',[_c('td',{attrs:{"colspan":(_vm.Headers.length + 2)}},[_c('data-table',{attrs:{"name":'child' + dataIndex,"Data":item.child.data,"noRecord":((typeof(item.child.data) != 'undefined' && item.child.data.length > 0) ? false: true),"Headers":(typeof(item.child.headers) != 'undefined' ? item.child.headers: _vm.Headers),"SortExp":_vm.SortExp,"SortBy":_vm.SortBy,"isChild":true,"UserPageSize":_vm.UserPageSize,"totalrecords":(typeof(item.child.data) != 'undefined' ? item.child.data.length: 0),"IsShowAction":_vm.IsShowAction,"renderRowActionMethod":_vm.renderRowActionMethod,"identityColumn":_vm.identityColumn,"subModuleCode":_vm.subModuleCode,"NorecordfoundText":_vm.NorecordfoundText,"showCheckBox":_vm.showCheckBox,"selectionType":_vm.selectionType},on:{"sortdata":_vm.sortdata,"ButtonClick":_vm.ChildButtonClick,"PagerMethod":_vm.pagerMethod,"EventOfCheckbox":_vm.onChangeEventOfCheckbox},scopedSlots:_vm._u([{key:"slotdata",fn:function(ref){
|
|
15781
|
+
var data = ref.data;
|
|
15782
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
|
|
15783
|
+
var DataTablevue_type_template_id_4f6019b6_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=4f6019b6&
|
|
15787
15787
|
|
|
15788
15788
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
15789
15789
|
var es_regexp_exec = __webpack_require__("ac1f");
|
|
@@ -16428,6 +16428,12 @@ var Pager_component = normalizeComponent(
|
|
|
16428
16428
|
//
|
|
16429
16429
|
//
|
|
16430
16430
|
//
|
|
16431
|
+
//
|
|
16432
|
+
//
|
|
16433
|
+
//
|
|
16434
|
+
//
|
|
16435
|
+
//
|
|
16436
|
+
//
|
|
16431
16437
|
|
|
16432
16438
|
|
|
16433
16439
|
|
|
@@ -16601,8 +16607,8 @@ var Pager_component = normalizeComponent(
|
|
|
16601
16607
|
|
|
16602
16608
|
var DataTable_component = normalizeComponent(
|
|
16603
16609
|
components_DataTablevue_type_script_lang_js_,
|
|
16604
|
-
|
|
16605
|
-
|
|
16610
|
+
DataTablevue_type_template_id_4f6019b6_render,
|
|
16611
|
+
DataTablevue_type_template_id_4f6019b6_staticRenderFns,
|
|
16606
16612
|
false,
|
|
16607
16613
|
null,
|
|
16608
16614
|
null,
|