tg-listv 0.1.22 → 0.1.25
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 +88 -55
- package/dist/tglistv.common.js.map +1 -1
- package/dist/tglistv.css +1 -1
- package/dist/tglistv.umd.js +88 -55
- package/dist/tglistv.umd.js.map +1 -1
- package/dist/tglistv.umd.min.js +3 -3
- package/dist/tglistv.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/tglistv.common.js
CHANGED
|
@@ -1232,13 +1232,6 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
1232
1232
|
};
|
|
1233
1233
|
|
|
1234
1234
|
|
|
1235
|
-
/***/ }),
|
|
1236
|
-
|
|
1237
|
-
/***/ "22e4":
|
|
1238
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1239
|
-
|
|
1240
|
-
// extracted by mini-css-extract-plugin
|
|
1241
|
-
|
|
1242
1235
|
/***/ }),
|
|
1243
1236
|
|
|
1244
1237
|
/***/ "23cb":
|
|
@@ -23619,6 +23612,17 @@ module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undef
|
|
|
23619
23612
|
};
|
|
23620
23613
|
|
|
23621
23614
|
|
|
23615
|
+
/***/ }),
|
|
23616
|
+
|
|
23617
|
+
/***/ "4e04":
|
|
23618
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
23619
|
+
|
|
23620
|
+
"use strict";
|
|
23621
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_left_search_vue_vue_type_style_index_0_id_ec6fcfc4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7132");
|
|
23622
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_left_search_vue_vue_type_style_index_0_id_ec6fcfc4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_left_search_vue_vue_type_style_index_0_id_ec6fcfc4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
23623
|
+
/* unused harmony reexport * */
|
|
23624
|
+
|
|
23625
|
+
|
|
23622
23626
|
/***/ }),
|
|
23623
23627
|
|
|
23624
23628
|
/***/ "4fad":
|
|
@@ -25185,6 +25189,13 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
|
|
|
25185
25189
|
|
|
25186
25190
|
/***/ }),
|
|
25187
25191
|
|
|
25192
|
+
/***/ "7132":
|
|
25193
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25194
|
+
|
|
25195
|
+
// extracted by mini-css-extract-plugin
|
|
25196
|
+
|
|
25197
|
+
/***/ }),
|
|
25198
|
+
|
|
25188
25199
|
/***/ "7149":
|
|
25189
25200
|
/***/ (function(module, exports, __webpack_require__) {
|
|
25190
25201
|
|
|
@@ -37861,17 +37872,6 @@ for (var COLLECTION_NAME in DOMIterables) {
|
|
|
37861
37872
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
37862
37873
|
|
|
37863
37874
|
|
|
37864
|
-
/***/ }),
|
|
37865
|
-
|
|
37866
|
-
/***/ "de42":
|
|
37867
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
37868
|
-
|
|
37869
|
-
"use strict";
|
|
37870
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_left_search_vue_vue_type_style_index_0_id_9767e110_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("22e4");
|
|
37871
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_left_search_vue_vue_type_style_index_0_id_9767e110_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_left_search_vue_vue_type_style_index_0_id_9767e110_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
37872
|
-
/* unused harmony reexport * */
|
|
37873
|
-
|
|
37874
|
-
|
|
37875
37875
|
/***/ }),
|
|
37876
37876
|
|
|
37877
37877
|
/***/ "df0f":
|
|
@@ -38792,7 +38792,7 @@ if (typeof window !== 'undefined') {
|
|
|
38792
38792
|
// Indicate to webpack that this file can be concatenated
|
|
38793
38793
|
/* harmony default export */ var setPublicPath = (null);
|
|
38794
38794
|
|
|
38795
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cea975cc-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=
|
|
38795
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cea975cc-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=882146e4&
|
|
38796
38796
|
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 && _vm.SearchFields != null && _vm.SearchFields.length > 0)?_c('div',{staticClass:"left-menu-tab",attrs:{"id":"crmleftsearch"}},[_c('left-search',{ref:"leftSearch",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) || _vm.SearchPosition == 'top')),"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){
|
|
38797
38797
|
var data = ref.data;
|
|
38798
38798
|
return [_vm._t("headerleftbuttons",null,{"data":{data: data}})]}}],null,true)})],1):_vm._e(),(( _vm.SearchPosition == 'top') && _vm.SearchFields && _vm.SearchFields != null && _vm.SearchFields.length > 0)?_c('div',{staticClass:"top-menu-tab border p-3",attrs:{"id":"crmleftsearch"}},[_c('top-search',{ref:"topSearch",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 tg-listv 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,"tableClasses":_vm.tableClasses,"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,"CurrentPageNumber":_vm.currentPage,"enabledataTruncate":_vm.enabledataTruncate(),"dataTruncateLength":_vm.dataTruncateLength},on:{"sortdata":_vm.sortdata,"ButtonClick":_vm.actionButtonClick,"PagerMethod":_vm.pagerMethod,"EventOfCheckbox":_vm.onChangeEventOfCheckbox},scopedSlots:_vm._u([{key:"slotdata",fn:function(ref){
|
|
@@ -38809,7 +38809,7 @@ return [_vm._t("customcard",null,{"data":{row:data.row,columnlist:data.columnlis
|
|
|
38809
38809
|
var staticRenderFns = []
|
|
38810
38810
|
|
|
38811
38811
|
|
|
38812
|
-
// CONCATENATED MODULE: ./src/components/TgList.vue?vue&type=template&id=
|
|
38812
|
+
// CONCATENATED MODULE: ./src/components/TgList.vue?vue&type=template&id=882146e4&
|
|
38813
38813
|
|
|
38814
38814
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
|
38815
38815
|
var es_symbol = __webpack_require__("a4d3");
|
|
@@ -38888,20 +38888,20 @@ var es_string_includes = __webpack_require__("2532");
|
|
|
38888
38888
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
38889
38889
|
var es_array_from = __webpack_require__("a630");
|
|
38890
38890
|
|
|
38891
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cea975cc-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=
|
|
38892
|
-
var
|
|
38891
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cea975cc-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=12f1b198&
|
|
38892
|
+
var DataTablevue_type_template_id_12f1b198_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{class:'table-responsive ' + _vm.tableClasses,staticStyle:{"overflow-x":"auto"}},[_c('table',{staticClass:"table table-bordered mt-0",staticStyle:{"width":"100%","min-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'), 'resizable-column': !_vm.isChild},staticStyle:{"text-transform":"capitalize","position":"relative"},style:(_vm.getColumnStyle(item)),attrs:{"id":item.COLUMN_NAME + '_' + _vm.subModuleCode}},[(item.VISIBLE && item.SORTABLE == true && _vm.isChild == false)?_c('span',{class:{
|
|
38893
38893
|
'sort text-overflow-dynamic-container': item.SORTABLE == true,
|
|
38894
38894
|
'tb_headerSortUp': _vm.SortExp == 'ASC' && _vm.SortBy == item.COLUMN_NAME,
|
|
38895
38895
|
'tb_headerSortDown':
|
|
38896
38896
|
_vm.SortExp == 'DESC' && _vm.SortBy == item.COLUMN_NAME,
|
|
38897
|
-
},on:{"click":function($event){return _vm.sortdata(item.COLUMN_NAME)}}},[_vm._v(" "+_vm._s(_vm.$t(item.DISPLAY_NAME))+" ")]):_vm._e(),(item.SORTABLE == false || item.SORTABLE == null || _vm.isChild == true)?_c('span',[_vm._v(" "+_vm._s(_vm.$t(item.DISPLAY_NAME))+" ")]):_vm._e(),(!_vm.isChild)?_c('div',{staticClass:"resize-handle",attrs:{"title":_vm.$t('Drag to resize column')},on:{"mousedown":function($event){return _vm.startResize($event, item.COLUMN_NAME)}}},[_c('em',{staticClass:"fa fa-ellipsis-v"})]):_vm._e()]):_vm._e()]}),(_vm.IsShowAction == true)?_c('th',{staticClass:"nonresize text-center sticky-action-column",staticStyle:{"width":"100px !important","position":"sticky","right":"0","z-index":"10","background-color":"inherit"}},[_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:_vm.tdClasses(key, item)},[(typeof(key.settings) != 'undefined' && key.settings != null && typeof(key.settings.isInSlot) != 'undefined' && key.settings.isInSlot == true)?[(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(),_c('span',{class:{'text-overflow-dynamic-container' : _vm.applyOverFlowDynamicContainer(key, item)}},[_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',{class:{'text-overflow-dynamic-container' : _vm.applyOverFlowDynamicContainer(key, item)},attrs:{"title":item[key.COLUMN_NAME]}},[(typeof(key.settings) != 'undefined' && key.settings != null
|
|
38897
|
+
},on:{"click":function($event){return _vm.sortdata(item.COLUMN_NAME)}}},[_vm._v(" "+_vm._s(_vm.$t(item.DISPLAY_NAME))+" ")]):_vm._e(),(item.SORTABLE == false || item.SORTABLE == null || _vm.isChild == true)?_c('span',[_vm._v(" "+_vm._s(_vm.$t(item.DISPLAY_NAME))+" ")]):_vm._e(),(!_vm.isChild)?_c('div',{staticClass:"resize-handle",attrs:{"title":_vm.$t('Drag to resize column')},on:{"mousedown":function($event){return _vm.startResize($event, item.COLUMN_NAME + '_' + _vm.subModuleCode)}}},[_c('em',{staticClass:"fa fa-ellipsis-v"})]):_vm._e()]):_vm._e()]}),(_vm.IsShowAction == true)?_c('th',{staticClass:"nonresize text-center sticky-action-column",staticStyle:{"width":"100px !important","position":"sticky","right":"0","z-index":"10","background-color":"inherit"}},[_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:_vm.tdClasses(key, item)},[(typeof(key.settings) != 'undefined' && key.settings != null && typeof(key.settings.isInSlot) != 'undefined' && key.settings.isInSlot == true)?[(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(),_c('span',{class:{'text-overflow-dynamic-container' : _vm.applyOverFlowDynamicContainer(key, item)}},[_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',{class:{'text-overflow-dynamic-container' : _vm.applyOverFlowDynamicContainer(key, item)},attrs:{"title":item[key.COLUMN_NAME]}},[(typeof(key.settings) != 'undefined' && key.settings != null
|
|
38898
38898
|
&& 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.TruncateStrDynamic(item[key.COLUMN_NAME], key)))+" ")]):_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.TruncateStrDynamic(item[key.COLUMN_NAME], key)))+" ")]):_vm._e(),(typeof(key.settings) === 'undefined' || key.settings == null)?_c('span',{attrs:{"title":item[key.COLUMN_NAME]}},[_vm._v(" "+_vm._s(_vm.TruncateStrDynamic(item[key.COLUMN_NAME], key))+" ")]):_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){
|
|
38899
38899
|
var data = ref.data;
|
|
38900
38900
|
return [_vm._t("slotdata",null,{"data":{row:data.row,column:data.column,listtype:_vm.selectedView}})]}}],null,true)})],1)]):_vm._e()]}),(_vm.noRecord || _vm.Data.length == 0)?_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,"CurrentPageNumber":_vm.currentPage,"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)}
|
|
38901
|
-
var
|
|
38901
|
+
var DataTablevue_type_template_id_12f1b198_staticRenderFns = []
|
|
38902
38902
|
|
|
38903
38903
|
|
|
38904
|
-
// CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=template&id=
|
|
38904
|
+
// CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=template&id=12f1b198&
|
|
38905
38905
|
|
|
38906
38906
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
38907
38907
|
var es_json_stringify = __webpack_require__("e9c4");
|
|
@@ -39759,9 +39759,9 @@ var Pager_component = normalizeComponent(
|
|
|
39759
39759
|
|
|
39760
39760
|
if (item.COLUMN_NAME == 'status_name') {
|
|
39761
39761
|
style.width = '10%';
|
|
39762
|
-
} else if (this.columnWidths[item.COLUMN_NAME]) {
|
|
39763
|
-
style.width = this.columnWidths[item.COLUMN_NAME] + 'px';
|
|
39764
|
-
style.minWidth = this.columnWidths[item.COLUMN_NAME] + 'px';
|
|
39762
|
+
} else if (this.columnWidths[item.COLUMN_NAME + '_' + this.subModuleCode]) {
|
|
39763
|
+
style.width = this.columnWidths[item.COLUMN_NAME + '_' + this.subModuleCode] + 'px';
|
|
39764
|
+
style.minWidth = this.columnWidths[item.COLUMN_NAME + '_' + this.subModuleCode] + 'px';
|
|
39765
39765
|
}
|
|
39766
39766
|
|
|
39767
39767
|
return style;
|
|
@@ -39801,8 +39801,8 @@ var Pager_component = normalizeComponent(
|
|
|
39801
39801
|
if (thElement && header.VISIBLE) {
|
|
39802
39802
|
// Use saved width if present; otherwise use current width so all columns have explicit widths
|
|
39803
39803
|
// (prevents resizing one column from flexing others when showCheckbox is false)
|
|
39804
|
-
if (ths.columnWidths[header.COLUMN_NAME]) {
|
|
39805
|
-
width = ths.columnWidths[header.COLUMN_NAME] + 'px';
|
|
39804
|
+
if (ths.columnWidths[header.COLUMN_NAME + '_' + this.subModuleCode]) {
|
|
39805
|
+
width = ths.columnWidths[header.COLUMN_NAME + '_' + this.subModuleCode] + 'px';
|
|
39806
39806
|
} else {
|
|
39807
39807
|
var current = parseInt(thElement.offsetWidth, 10);
|
|
39808
39808
|
|
|
@@ -40069,8 +40069,8 @@ var DataTablevue_type_style_index_0_lang_css_ = __webpack_require__("6224");
|
|
|
40069
40069
|
|
|
40070
40070
|
var DataTable_component = normalizeComponent(
|
|
40071
40071
|
components_DataTablevue_type_script_lang_js_,
|
|
40072
|
-
|
|
40073
|
-
|
|
40072
|
+
DataTablevue_type_template_id_12f1b198_render,
|
|
40073
|
+
DataTablevue_type_template_id_12f1b198_staticRenderFns,
|
|
40074
40074
|
false,
|
|
40075
40075
|
null,
|
|
40076
40076
|
null,
|
|
@@ -40079,8 +40079,8 @@ var DataTable_component = normalizeComponent(
|
|
|
40079
40079
|
)
|
|
40080
40080
|
|
|
40081
40081
|
/* harmony default export */ var DataTable = (DataTable_component.exports);
|
|
40082
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cea975cc-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/left-search.vue?vue&type=template&id=
|
|
40083
|
-
var
|
|
40082
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cea975cc-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/left-search.vue?vue&type=template&id=ec6fcfc4&scoped=true&
|
|
40083
|
+
var left_searchvue_type_template_id_ec6fcfc4_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.header)?_c('div',{staticClass:"col-md-12 p-0 mb-2"},[_c('div',{staticClass:"theme-primary partition"},[_c('span',{staticClass:"p-name text-white"},[_vm._v(_vm._s(_vm.header))])])]):_vm._e(),_c('div',{staticClass:"accordion md-accordion left-filter",attrs:{"id":"accordionEx","role":"tablist","aria-multiselectable":"true"}},[_c('div',{staticClass:"card"},[_c('div',{staticClass:"card-header filter-head",attrs:{"role":"tab","id":"headingOne1"}},[_c('h5',{staticClass:"mb-0"},[_c('em',{staticClass:"fa fa-filter",attrs:{"aria-hidden":"true"}}),_vm._v(" "+_vm._s(_vm.$t("Search"))+" "),_c('span',{staticClass:"expand_all_filters"},[_c('span',{attrs:{"id":"SearchData"},on:{"click":function($event){return _vm.SearchData()}}},[_c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","title":_vm.$t('Search'),"data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})])]),_c('span',{on:{"click":function($event){return _vm.ClearFilter()}}},[_c('a',{staticClass:"collapsed",attrs:{"title":_vm.$t('Reset'),"href":"javascript:;","data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-repeat",attrs:{"aria-hidden":"true"}})])]),_c('span',{staticClass:"collapsed ancExpandAllCollapseAll",attrs:{"data-target":".multi-collapse","data-toggle":"collapse"},on:{"click":function($event){return _vm.ExpandCollapsedAll()}}},[_c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","title":_vm.$t('ExpandAllCollapseAll'),"data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-sort-desc",attrs:{"aria-hidden":"true"}})])])])])])]),_c('ValidationObserver',{ref:"searchForm",staticClass:"card-panel",attrs:{"tag":"div"}},_vm._l((_vm.Fields),function(field,fieldIndex){return _c('div',{key:fieldIndex,staticClass:"card"},[_c('div',{staticClass:"card-header",attrs:{"role":"tab","id":'headingOnee' + fieldIndex}},[_c('h5',{staticClass:"mb-0"},[_c('a',{staticClass:"collapsed",attrs:{"data-toggle":"collapse","data-parent":"#accordionEx","href":'#collapseOne'+fieldIndex,"aria-expanded":"false","aria-controls":'collapseOne'+fieldIndex}},[_c('em',{class:'fa ' + field.fieldIcon,attrs:{"aria-hidden":"true"}}),_c('span',{class:{'filter':field.isSearch}},[_vm._v(_vm._s(_vm.$t(field.fieldName)))]),_c('em',{staticClass:"fa fa-angle-down rotate-icon",attrs:{"aria-hidden":"true"}})]),_c('a',{class:{'tab-Search-btn': true, 'd-block': (field.value==0?String(field.value).length>0:field.value)},attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.SearchData()}}},[_c('em',{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})])])]),_c('div',{staticClass:"collapse multi-collapse",attrs:{"id":'collapseOne'+fieldIndex,"role":"tabpanel","aria-labelledby":'headingOnee' + fieldIndex,"data-parent":"#accordionEx"}},[_c('div',{staticClass:"card-body pt-0"},[(field.fieldType== 'text')?_c('div',{staticClass:"form-group"},[(_vm.hasValidationRules(field))?_c('ValidationProvider',{attrs:{"rules":field.validationRules,"name":_vm.getValidationFieldName(field)},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
40084
40084
|
var errors = ref.errors;
|
|
40085
40085
|
var validate = ref.validate;
|
|
40086
40086
|
return [_c('input',{ref:field.fieldName,refInFor:true,class:['form-control', 'search', { 'is-invalid': errors && errors.length }],attrs:{"type":(field.isNumeric == true)? 'number':'text',"placeholder":_vm.getPlaceholder(field)},domProps:{"value":field.value},on:{"input":function (e) { field.value = e.target.value; validate(e.target.value); },"keydown":function($event){return _vm.SearchOnEnter($event, field)}}}),(errors[0])?_c('span',{staticClass:"text-danger small d-block mt-1"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}):[(((field.isNumeric == true)? 'number':'text')==='checkbox')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],ref:field.fieldName,refInFor:true,staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholder(field),"type":"checkbox"},domProps:{"checked":Array.isArray(field.value)?_vm._i(field.value,null)>-1:(field.value)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field)},"change":function($event){var $$a=field.value,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(field, "value", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(field, "value", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(field, "value", $$c)}}}}):(((field.isNumeric == true)? 'number':'text')==='radio')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],ref:field.fieldName,refInFor:true,staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholder(field),"type":"radio"},domProps:{"checked":_vm._q(field.value,null)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field)},"change":function($event){return _vm.$set(field, "value", null)}}}):_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],ref:field.fieldName,refInFor:true,staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholder(field),"type":(field.isNumeric == true)? 'number':'text'},domProps:{"value":(field.value)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field)},"input":function($event){if($event.target.composing){ return; }_vm.$set(field, "value", $event.target.value)}}})]],2):_vm._e(),(field.fieldType == 'numeric-range')?[_c('div',{staticClass:"form-group"},[(_vm.hasValidationRules(field))?_c('ValidationProvider',{attrs:{"rules":field.validationRules,"name":_vm.getValidationFieldName(field, ' (From)')},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
@@ -40112,17 +40112,17 @@ return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":_vm.g
|
|
|
40112
40112
|
var inputValue = ref.inputValue;
|
|
40113
40113
|
var inputEvents = ref.inputEvents;
|
|
40114
40114
|
var togglePopover = ref.togglePopover;
|
|
40115
|
-
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":_vm.getPlaceholderforAnyField(field, 'dateTo')},domProps:{"value":inputValue}},inputEvents)),_c('div',{staticClass:"input-group-append",on:{"click":function($event){return togglePopover()}}},[_c('span',{staticClass:"input-group-text"},[_c('em',{staticClass:"fa fa-calendar"})])])]}}],null,true),model:{value:(field.secondValue),callback:function ($$v) {_vm.$set(field, "secondValue", $$v)},expression:"field.secondValue"}})],1):_vm._e()]],2):_vm._e(),_c('vue-scroll',[(field.fieldType== 'radio' || field.fieldType== 'checkbox')?_c('div',{staticClass:"form-group d-flex",staticStyle:{"max-height":"200px","flex-direction":"column"}},_vm._l((field.listOptions),function(item,index){return _c('div',{key:index,class:{'custom-control w-auto custom-control-inline': true, 'custom-radio': field.fieldType== 'radio', 'custom-checkbox': field.fieldType== 'checkbox'}},[(field.fieldType== 'radio')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],ref:field.fieldName,refInFor:true,staticClass:"custom-control-input dynamic",attrs:{"type":"radio","id":'customcheckbox'+fieldIndex+index,"name":'RadioButtonForLeftSearch' + fieldIndex},domProps:{"value":item.value,"checked":_vm._q(field.value,item.value)},on:{"change":[function($event){return _vm.$set(field, "value", item.value)},function($event){return _vm.onChangeforDDL(field, $event)}]}}):_vm._e(),(field.fieldType== 'checkbox')?_c('input',{ref:field.fieldName,refInFor:true,staticClass:"custom-control-input dynamic",attrs:{"type":"checkbox","id":'customcheckbox'+fieldIndex+index,"name":'CheckboxButtonForLeftSearch' + fieldIndex},domProps:{"checked":_vm.CheckIfSelected(field, item.value),"value":item.value},on:{"change":function($event){return _vm.UpdateCheckedValues(field, item
|
|
40115
|
+
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":_vm.getPlaceholderforAnyField(field, 'dateTo')},domProps:{"value":inputValue}},inputEvents)),_c('div',{staticClass:"input-group-append",on:{"click":function($event){return togglePopover()}}},[_c('span',{staticClass:"input-group-text"},[_c('em',{staticClass:"fa fa-calendar"})])])]}}],null,true),model:{value:(field.secondValue),callback:function ($$v) {_vm.$set(field, "secondValue", $$v)},expression:"field.secondValue"}})],1):_vm._e()]],2):_vm._e(),_c('vue-scroll',[(field.fieldType== 'radio' || field.fieldType== 'checkbox')?_c('div',{staticClass:"form-group d-flex",staticStyle:{"max-height":"200px","flex-direction":"column"}},_vm._l((field.listOptions),function(item,index){return _c('div',{key:index,class:{'custom-control w-auto custom-control-inline': true, 'custom-radio': field.fieldType== 'radio', 'custom-checkbox': field.fieldType== 'checkbox'}},[(field.fieldType== 'radio')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],ref:field.fieldName,refInFor:true,staticClass:"custom-control-input dynamic",attrs:{"type":"radio","id":'customcheckbox'+fieldIndex+index,"name":'RadioButtonForLeftSearch' + fieldIndex},domProps:{"value":item.value,"checked":_vm._q(field.value,item.value)},on:{"change":[function($event){return _vm.$set(field, "value", item.value)},function($event){return _vm.onChangeforDDL(field, $event)}]}}):_vm._e(),(field.fieldType== 'checkbox')?_c('input',{ref:field.fieldName,refInFor:true,staticClass:"custom-control-input dynamic",attrs:{"type":"checkbox","id":'customcheckbox'+fieldIndex+index,"name":'CheckboxButtonForLeftSearch' + fieldIndex},domProps:{"checked":_vm.CheckIfSelected(field, item.value) || item.isSelected,"value":item.value},on:{"change":function($event){return _vm.UpdateCheckedValues(field, item, $event)}}}):_vm._e(),_c('label',{staticClass:"custom-control-label",attrs:{"for":'customcheckbox'+fieldIndex+index}},[_vm._v(_vm._s(item.name))])])}),0):_vm._e()]),(field.fieldType== 'ddl-radio' || field.fieldType== 'ddl-check')?_c('div',{staticClass:"form-group"},[_c('vue-scroll',[_c('div',{staticClass:"w-100 d-flex flex-wrap filterscroll filterscroll_leftsearch",staticStyle:{"max-height":"200px"}},_vm._l((field.listOptions),function(btn,index){return _c('button',{key:index,class:{'btn search-tag searchtagfloat float-left':true, 'd-none':(_vm.CheckValueSelectedForbadge(btn, field, fieldIndex) && !btn.isSelected)},attrs:{"type":"button"}},[_c('span',{staticClass:"tag-name"},[_vm._v(_vm._s(btn.name))]),_c('span',{staticClass:"badge text-dark",on:{"click":function($event){return _vm.ClearFilerForbadge(btn, field, fieldIndex)}}},[_vm._v("×")])])}),0)]),_c('div',{staticClass:"w-100"},[_c('div',{staticClass:"p-0 mb-1 w-100"},[_c('div',{staticClass:"input-group customsearchbox"},[_c('input',{staticClass:"form-control searchcustomfilter border-right-0",attrs:{"type":"text","Placeholder":"Search","autocomplete":"off"},on:{"keyup":function($event){return _vm.onLeftSearchLocalFilter($event)}}}),_c('div',{staticClass:"input-group-append"},[_c('span',{staticClass:"input-group-text bg-transparent bg-white border-left-0"},[_c('em',{staticClass:"fa fa-search"})])])])]),_c('vue-scroll',[_c('div',{staticClass:"form-group filterscroll filterscroll_leftsearch",staticStyle:{"max-height":"200px"}},[(field.fieldType == 'ddl-check' && field.listOptions.length > 0)?_c('div',{staticClass:"custom-control custom-checkbox custom-control-inline w-100"},[_c('input',{ref:field.fieldName,refInFor:true,staticClass:"custom-control-input dynamic customcheckboxselectall",attrs:{"id":'customcheckboxselectall'+fieldIndex,"type":"checkbox"},on:{"change":function($event){return _vm.SelectAllRecords(field, $event)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'customcheckboxselectall'+fieldIndex,"type":"checkbox"}},[_vm._v("Select All")])]):_vm._e(),(field.listOptions.length == 0)?_c('div',{staticClass:"text-center text-danger no-record",staticStyle:{"font-size":"12px"}},[_vm._v("No Record available")]):_vm._e(),_vm._l((field.listOptions),function(item,index){return _c('div',{key:index,class:{'custom-control custom-control-inline w-100': true, 'custom-radio': field.fieldType== 'ddl-radio','custom-checkbox': field.fieldType=='ddl-check'}},[(field.fieldType== 'ddl-radio')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],ref:field.fieldName,refInFor:true,staticClass:"custom-control-input dynamic",attrs:{"type":"radio","id":'customcheckbox'+fieldIndex+index,"name":"selectedDealOwner"},domProps:{"value":item.value,"checked":_vm._q(field.value,item.value)},on:{"change":[function($event){return _vm.$set(field, "value", item.value)},function($event){return _vm.onChangeforDDL(field, $event)}]}}):_vm._e(),(field.fieldType== 'ddl-check')?_c('input',{ref:field.fieldName,refInFor:true,staticClass:"custom-control-input dynamic",attrs:{"type":"checkbox","id":'customcheckbox'+fieldIndex+index,"name":"selectedDealOwner"},domProps:{"checked":_vm.CheckIfSelected(field, item.value) || item.isSelected,"value":item.value},on:{"change":function($event){return _vm.UpdateCheckedValues(field, item, $event, 'customcheckboxselectall'+fieldIndex)}}}):_vm._e(),_c('label',{staticClass:"custom-control-label",attrs:{"for":'customcheckbox'+fieldIndex+index}},[_vm._v(_vm._s(item.name))])])})],2)])],1)],1):_vm._e(),(field.fieldType== 'ddl-multilevel')?_c('div',{staticClass:"form-group"},[(field.listOptions && field.listOptions.length>0)?_c('tree-select',{ref:field.fieldName,refInFor:true,attrs:{"placeholder":"Select Location","multiple":false,"options":field.listOptions},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}}):_vm._e()],1):_vm._e(),(field.fieldType== 'dropdown')?_c('div',{staticClass:"form-group"},[(_vm.hasValidationRules(field))?_c('ValidationProvider',{attrs:{"rules":field.validationRules,"name":_vm.getValidationFieldName(field)},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
40116
40116
|
var errors = ref.errors;
|
|
40117
40117
|
var validate = ref.validate;
|
|
40118
40118
|
return [_c('select',{ref:field.fieldName,refInFor:true,class:['form-control', { 'is-invalid': errors && errors.length }],attrs:{"id":'dropdown'+fieldIndex},domProps:{"value":field.value},on:{"change":function (e) { field.value = e.target.value; validate(e.target.value); }}},_vm._l((field.listOptions),function(option){return _c('option',{domProps:{"value":option.value}},[_vm._v(_vm._s(option.name))])}),0),(errors[0])?_c('span',{staticClass:"text-danger small d-block mt-1"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}):_c('select',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],ref:field.fieldName,refInFor:true,staticClass:"form-control",attrs:{"id":'dropdown'+fieldIndex},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.$set(field, "value", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((field.listOptions),function(option){return _c('option',{domProps:{"value":option.value}},[_vm._v(_vm._s(option.name))])}),0)],1):_vm._e(),(field.fieldType == 'searchableselect')?_c('div',{staticClass:"form-group ddl-custom-searchableselect"},[(_vm.hasValidationRules(field))?_c('ValidationProvider',{attrs:{"rules":field.validationRules,"name":_vm.getValidationFieldName(field)},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
40119
40119
|
var errors = ref.errors;
|
|
40120
40120
|
var validate = ref.validate;
|
|
40121
|
-
return [_c('div',{class:{ 'is-invalid': errors && errors.length }},[_c('searchable-select',{ref:field.fieldName,refInFor:true,attrs:{"items":field.listOptions,"max-visible-chips":2,"action-buttons":_vm.computedActionButtons(field),"item-fields":_vm.computedItemFields(field),"group-fields":_vm.computedGroupFields(field),"max-render-items":_vm.computedMaxRenderItems(field),"lazy-load":true,"multiple":field.isMultiple,"label":field.fieldName,"placeholder":_vm.$t(field.placeholder),"status-field-config":field.statusFieldConfig,"min-search-length":field.minSearchLength},on:{"change":function (x) { _vm.onSearchableChange(x, field); validate(field.value); }},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})],1),(errors[0])?_c('span',{staticClass:"text-danger small d-block mt-1"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}):[_c('searchable-select',{ref:field.fieldName,refInFor:true,attrs:{"items":field.listOptions,"max-visible-chips":2,"action-buttons":_vm.computedActionButtons(field),"item-fields":_vm.computedItemFields(field),"group-fields":_vm.computedGroupFields(field),"max-render-items":_vm.computedMaxRenderItems(field),"lazy-load":true,"multiple":field.isMultiple,"label":field.fieldName,"placeholder":_vm.$t(field.placeholder),"status-field-config":field.statusFieldConfig,"min-search-length":field.minSearchLength},on:{"change":function($event){return _vm.onSearchableChange($event, field)}},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})]],2):_vm._e()],2)])])}),0)],1),_c('div',{staticClass:"bottom_filter_button"},[_c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","data-target":".multi-collapse","data-toggle":"collapse"},on:{"click":_vm.ExpandCollapsedAll}},[_vm._v(_vm._s(_vm.$t('ExpandAllCollapseAll')))])])])}
|
|
40122
|
-
var
|
|
40121
|
+
return [_c('div',{class:{ 'is-invalid': errors && errors.length }},[_c('searchable-select',{ref:field.fieldName,refInFor:true,attrs:{"items":field.listOptions,"max-visible-chips":2,"action-buttons":_vm.computedActionButtons(field),"item-fields":_vm.computedItemFields(field),"group-fields":_vm.computedGroupFields(field),"max-render-items":_vm.computedMaxRenderItems(field),"lazy-load":true,"multiple":field.isMultiple,"label":field.fieldName,"placeholder":_vm.$t(field.placeholder),"status-field-config":field.statusFieldConfig,"min-search-length":field.minSearchLength},on:{"change":function (x) { _vm.onSearchableChange(x, field); validate(field.value); }},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})],1),(errors[0])?_c('span',{staticClass:"text-danger small d-block mt-1"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}):[_vm._v(" "+_vm._s(field.value)+" "),_c('searchable-select',{ref:field.fieldName,refInFor:true,attrs:{"items":field.listOptions,"max-visible-chips":2,"action-buttons":_vm.computedActionButtons(field),"item-fields":_vm.computedItemFields(field),"group-fields":_vm.computedGroupFields(field),"max-render-items":_vm.computedMaxRenderItems(field),"lazy-load":true,"multiple":field.isMultiple,"label":field.fieldName,"placeholder":_vm.$t(field.placeholder),"status-field-config":field.statusFieldConfig,"min-search-length":field.minSearchLength},on:{"change":function($event){return _vm.onSearchableChange($event, field)}},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})]],2):_vm._e()],2)])])}),0)],1),_c('div',{staticClass:"bottom_filter_button"},[_c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","data-target":".multi-collapse","data-toggle":"collapse"},on:{"click":_vm.ExpandCollapsedAll}},[_vm._v(_vm._s(_vm.$t('ExpandAllCollapseAll')))])])])}
|
|
40122
|
+
var left_searchvue_type_template_id_ec6fcfc4_scoped_true_staticRenderFns = []
|
|
40123
40123
|
|
|
40124
40124
|
|
|
40125
|
-
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=
|
|
40125
|
+
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=ec6fcfc4&scoped=true&
|
|
40126
40126
|
|
|
40127
40127
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.to-primitive.js
|
|
40128
40128
|
var es_symbol_to_primitive = __webpack_require__("8172");
|
|
@@ -45959,6 +45959,9 @@ var _methods;
|
|
|
45959
45959
|
|
|
45960
45960
|
if (item.fieldType == "ddl-check") {
|
|
45961
45961
|
$("#customcheckboxselectall" + index).prop("checked", false);
|
|
45962
|
+
item.listOptions.forEach(function (itm) {
|
|
45963
|
+
itm.isSelected = false;
|
|
45964
|
+
});
|
|
45962
45965
|
}
|
|
45963
45966
|
|
|
45964
45967
|
$(".tab-Search-btn").css("display", "none");
|
|
@@ -45981,20 +45984,26 @@ var _methods;
|
|
|
45981
45984
|
}, 500);
|
|
45982
45985
|
this.$emit('ClearFilter');
|
|
45983
45986
|
},
|
|
45984
|
-
CheckValueSelectedForbadge: function CheckValueSelectedForbadge(
|
|
45985
|
-
var array =
|
|
45987
|
+
CheckValueSelectedForbadge: function CheckValueSelectedForbadge(badge, fld, fieldIndex) {
|
|
45988
|
+
var array = fld.value.split(",");
|
|
45986
45989
|
|
|
45987
|
-
if (array.
|
|
45990
|
+
if (array.length == fld.listOptions.length) {
|
|
45991
|
+
$("#customcheckboxselectall" + fieldIndex).prop("checked", true);
|
|
45992
|
+
}
|
|
45993
|
+
|
|
45994
|
+
if (array.includes(String(badge.value)) && fld.isSearch == true) {
|
|
45995
|
+
badge.isSelected = true;
|
|
45988
45996
|
return false;
|
|
45989
45997
|
} else {
|
|
45990
45998
|
return true;
|
|
45991
45999
|
}
|
|
45992
46000
|
},
|
|
45993
|
-
ClearFilerForbadge: function ClearFilerForbadge(
|
|
46001
|
+
ClearFilerForbadge: function ClearFilerForbadge(badge, item, fieldIndex) {
|
|
45994
46002
|
var array = item.value.split(",");
|
|
45995
|
-
var index = array.indexOf(
|
|
46003
|
+
var index = array.indexOf(badge.value);
|
|
45996
46004
|
array.splice(index, 1);
|
|
45997
46005
|
item.value = array.join(",");
|
|
46006
|
+
badge.isSelected = false;
|
|
45998
46007
|
|
|
45999
46008
|
try {
|
|
46000
46009
|
if (item.fieldType == "ddl-check") {
|
|
@@ -46008,22 +46017,24 @@ var _methods;
|
|
|
46008
46017
|
|
|
46009
46018
|
this.SearchData();
|
|
46010
46019
|
},
|
|
46011
|
-
UpdateCheckedValues: function UpdateCheckedValues(fieldItem,
|
|
46012
|
-
if (value) {
|
|
46013
|
-
value = String(value);
|
|
46020
|
+
UpdateCheckedValues: function UpdateCheckedValues(fieldItem, itm, event, selectAllId) {
|
|
46021
|
+
if (itm.value) {
|
|
46022
|
+
itm.value = String(itm.value);
|
|
46014
46023
|
}
|
|
46015
46024
|
|
|
46025
|
+
itm.isSelected = event.target.checked;
|
|
46026
|
+
|
|
46016
46027
|
if (event.target.checked == true) {
|
|
46017
46028
|
if (fieldItem.value != "") {
|
|
46018
46029
|
var array = fieldItem.value.split(",");
|
|
46019
|
-
array.push(value);
|
|
46030
|
+
array.push(itm.value);
|
|
46020
46031
|
fieldItem.value = array.join(",");
|
|
46021
46032
|
} else {
|
|
46022
|
-
fieldItem.value = value;
|
|
46033
|
+
fieldItem.value = itm.value;
|
|
46023
46034
|
}
|
|
46024
46035
|
} else {
|
|
46025
46036
|
var array = fieldItem.value.split(",");
|
|
46026
|
-
var index = array.indexOf(value);
|
|
46037
|
+
var index = array.indexOf(itm.value);
|
|
46027
46038
|
array.splice(index, 1);
|
|
46028
46039
|
fieldItem.value = array.join(",");
|
|
46029
46040
|
}
|
|
@@ -46371,11 +46382,15 @@ var _methods;
|
|
|
46371
46382
|
if (e.target.checked == true) {
|
|
46372
46383
|
var selectAll = "";
|
|
46373
46384
|
field.listOptions.forEach(function (item) {
|
|
46385
|
+
item.isSelected = true;
|
|
46374
46386
|
selectAll += selectAll == "" ? item.value : "," + item.value;
|
|
46375
46387
|
});
|
|
46376
46388
|
field.value = selectAll;
|
|
46377
46389
|
} else {
|
|
46378
46390
|
field.value = "";
|
|
46391
|
+
field.listOptions.forEach(function (item) {
|
|
46392
|
+
item.isSelected = false;
|
|
46393
|
+
});
|
|
46379
46394
|
}
|
|
46380
46395
|
},
|
|
46381
46396
|
onChangeforDDL: function onChangeforDDL(field, e) {
|
|
@@ -46524,8 +46539,8 @@ var _methods;
|
|
|
46524
46539
|
});
|
|
46525
46540
|
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=script&lang=js&
|
|
46526
46541
|
/* harmony default export */ var components_left_searchvue_type_script_lang_js_ = (left_searchvue_type_script_lang_js_);
|
|
46527
|
-
// EXTERNAL MODULE: ./src/components/left-search.vue?vue&type=style&index=0&id=
|
|
46528
|
-
var
|
|
46542
|
+
// EXTERNAL MODULE: ./src/components/left-search.vue?vue&type=style&index=0&id=ec6fcfc4&scoped=true&lang=css&
|
|
46543
|
+
var left_searchvue_type_style_index_0_id_ec6fcfc4_scoped_true_lang_css_ = __webpack_require__("4e04");
|
|
46529
46544
|
|
|
46530
46545
|
// CONCATENATED MODULE: ./src/components/left-search.vue
|
|
46531
46546
|
|
|
@@ -46538,11 +46553,11 @@ var left_searchvue_type_style_index_0_id_9767e110_scoped_true_lang_css_ = __webp
|
|
|
46538
46553
|
|
|
46539
46554
|
var left_search_component = normalizeComponent(
|
|
46540
46555
|
components_left_searchvue_type_script_lang_js_,
|
|
46541
|
-
|
|
46542
|
-
|
|
46556
|
+
left_searchvue_type_template_id_ec6fcfc4_scoped_true_render,
|
|
46557
|
+
left_searchvue_type_template_id_ec6fcfc4_scoped_true_staticRenderFns,
|
|
46543
46558
|
false,
|
|
46544
46559
|
null,
|
|
46545
|
-
"
|
|
46560
|
+
"ec6fcfc4",
|
|
46546
46561
|
null
|
|
46547
46562
|
|
|
46548
46563
|
)
|
|
@@ -48485,7 +48500,18 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
48485
48500
|
y.value = queryVal.split(',').map(function (s) {
|
|
48486
48501
|
return s.trim();
|
|
48487
48502
|
}).filter(Boolean);
|
|
48488
|
-
} else {
|
|
48503
|
+
} // else if(y.fieldType === 'ddl-check') {
|
|
48504
|
+
// var arr = String(queryVal).split(",");
|
|
48505
|
+
// y.listOptions.forEach(function (item) {
|
|
48506
|
+
// if(arr.includes(item.value)){
|
|
48507
|
+
// item.isSelected = true;
|
|
48508
|
+
// } else {
|
|
48509
|
+
// item.isSelected = false;
|
|
48510
|
+
// }
|
|
48511
|
+
// });
|
|
48512
|
+
// y.value = queryVal;
|
|
48513
|
+
// }
|
|
48514
|
+
else {
|
|
48489
48515
|
y.value = queryVal;
|
|
48490
48516
|
} // Call the field's onChange callback. SearchableSelect passes (field, value); others often use (field, event).
|
|
48491
48517
|
|
|
@@ -48505,6 +48531,13 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
48505
48531
|
console.warn('TgList getQueryStringParams: onChange failed for field', y.fieldName, err);
|
|
48506
48532
|
}
|
|
48507
48533
|
}
|
|
48534
|
+
} else {
|
|
48535
|
+
if (y.fieldType === 'ddl-check') {
|
|
48536
|
+
var arr = String(queryVal).split(",");
|
|
48537
|
+
y.listOptions.forEach(function (item) {
|
|
48538
|
+
item.isSelected = false;
|
|
48539
|
+
});
|
|
48540
|
+
}
|
|
48508
48541
|
}
|
|
48509
48542
|
}); // After applying query params, trigger search so the list refreshes with filters.
|
|
48510
48543
|
|