tg-listv 0.1.19 → 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 +136 -101
- package/dist/tglistv.common.js.map +1 -1
- package/dist/tglistv.css +1 -1
- package/dist/tglistv.umd.js +136 -101
- 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
|
@@ -1121,17 +1121,6 @@ function once(func) {
|
|
|
1121
1121
|
module.exports = once;
|
|
1122
1122
|
|
|
1123
1123
|
|
|
1124
|
-
/***/ }),
|
|
1125
|
-
|
|
1126
|
-
/***/ "1dcc":
|
|
1127
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1128
|
-
|
|
1129
|
-
"use strict";
|
|
1130
|
-
/* 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_top_search_vue_vue_type_style_index_0_id_36ab1b26_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("2343");
|
|
1131
|
-
/* 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_top_search_vue_vue_type_style_index_0_id_36ab1b26_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_top_search_vue_vue_type_style_index_0_id_36ab1b26_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
1132
|
-
/* unused harmony reexport * */
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
1124
|
/***/ }),
|
|
1136
1125
|
|
|
1137
1126
|
/***/ "1dde":
|
|
@@ -1243,13 +1232,6 @@ module.exports = function (iterable, unboundFunction, options) {
|
|
|
1243
1232
|
};
|
|
1244
1233
|
|
|
1245
1234
|
|
|
1246
|
-
/***/ }),
|
|
1247
|
-
|
|
1248
|
-
/***/ "2343":
|
|
1249
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
1250
|
-
|
|
1251
|
-
// extracted by mini-css-extract-plugin
|
|
1252
|
-
|
|
1253
1235
|
/***/ }),
|
|
1254
1236
|
|
|
1255
1237
|
/***/ "23cb":
|
|
@@ -1547,6 +1529,17 @@ module.exports = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? c
|
|
|
1547
1529
|
});
|
|
1548
1530
|
|
|
1549
1531
|
|
|
1532
|
+
/***/ }),
|
|
1533
|
+
|
|
1534
|
+
/***/ "2cdc":
|
|
1535
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1536
|
+
|
|
1537
|
+
"use strict";
|
|
1538
|
+
/* 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_top_search_vue_vue_type_style_index_0_id_72497e6d_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("bcf5");
|
|
1539
|
+
/* 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_top_search_vue_vue_type_style_index_0_id_72497e6d_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_top_search_vue_vue_type_style_index_0_id_72497e6d_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
1540
|
+
/* unused harmony reexport * */
|
|
1541
|
+
|
|
1542
|
+
|
|
1550
1543
|
/***/ }),
|
|
1551
1544
|
|
|
1552
1545
|
/***/ "2cf4":
|
|
@@ -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
|
|
|
@@ -32762,6 +32773,13 @@ function noop() {
|
|
|
32762
32773
|
module.exports = noop;
|
|
32763
32774
|
|
|
32764
32775
|
|
|
32776
|
+
/***/ }),
|
|
32777
|
+
|
|
32778
|
+
/***/ "bcf5":
|
|
32779
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
32780
|
+
|
|
32781
|
+
// extracted by mini-css-extract-plugin
|
|
32782
|
+
|
|
32765
32783
|
/***/ }),
|
|
32766
32784
|
|
|
32767
32785
|
/***/ "bda7":
|
|
@@ -38687,24 +38705,6 @@ var uncurryThis = __webpack_require__("e330");
|
|
|
38687
38705
|
module.exports = uncurryThis([].slice);
|
|
38688
38706
|
|
|
38689
38707
|
|
|
38690
|
-
/***/ }),
|
|
38691
|
-
|
|
38692
|
-
/***/ "f3de":
|
|
38693
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
38694
|
-
|
|
38695
|
-
"use strict";
|
|
38696
|
-
/* 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_9abd6c8c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f5d4");
|
|
38697
|
-
/* 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_9abd6c8c_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_9abd6c8c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
38698
|
-
/* unused harmony reexport * */
|
|
38699
|
-
|
|
38700
|
-
|
|
38701
|
-
/***/ }),
|
|
38702
|
-
|
|
38703
|
-
/***/ "f5d4":
|
|
38704
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
38705
|
-
|
|
38706
|
-
// extracted by mini-css-extract-plugin
|
|
38707
|
-
|
|
38708
38708
|
/***/ }),
|
|
38709
38709
|
|
|
38710
38710
|
/***/ "f5df":
|
|
@@ -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":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":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");
|
|
@@ -45970,7 +45973,7 @@ var _methods;
|
|
|
45970
45973
|
this.$refs.searchForm.reset();
|
|
45971
45974
|
}
|
|
45972
45975
|
|
|
45973
|
-
this.SearchData();
|
|
45976
|
+
this.SearchData("ClearFilter");
|
|
45974
45977
|
setTimeout(function () {
|
|
45975
45978
|
$('span[data-target=".multi-collapse"],a[data-target=".multi-collapse"]').addClass("collapsed");
|
|
45976
45979
|
$(".left-menu-tab .card").each(function () {
|
|
@@ -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
|
}
|
|
@@ -46074,7 +46085,7 @@ var _methods;
|
|
|
46074
46085
|
}
|
|
46075
46086
|
},
|
|
46076
46087
|
SearchData: function () {
|
|
46077
|
-
var _SearchData = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime_regeneratorRuntime().mark(function _callee() {
|
|
46088
|
+
var _SearchData = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime_regeneratorRuntime().mark(function _callee(v) {
|
|
46078
46089
|
var vueObj, hasAnyValidation, valid, searchCondition, searchConditionJson, qs;
|
|
46079
46090
|
return regeneratorRuntime_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
46080
46091
|
while (1) {
|
|
@@ -46340,7 +46351,8 @@ var _methods;
|
|
|
46340
46351
|
'PageNumber': 1,
|
|
46341
46352
|
"searchCondition": searchCondition,
|
|
46342
46353
|
'searchConditionJson': qs,
|
|
46343
|
-
'json': searchConditionJson
|
|
46354
|
+
'json': searchConditionJson,
|
|
46355
|
+
callType: v
|
|
46344
46356
|
}); //vueObj.callbackfunction();
|
|
46345
46357
|
|
|
46346
46358
|
case 15:
|
|
@@ -46351,7 +46363,7 @@ var _methods;
|
|
|
46351
46363
|
}, _callee, this);
|
|
46352
46364
|
}));
|
|
46353
46365
|
|
|
46354
|
-
function SearchData() {
|
|
46366
|
+
function SearchData(_x) {
|
|
46355
46367
|
return _SearchData.apply(this, arguments);
|
|
46356
46368
|
}
|
|
46357
46369
|
|
|
@@ -46370,11 +46382,15 @@ var _methods;
|
|
|
46370
46382
|
if (e.target.checked == true) {
|
|
46371
46383
|
var selectAll = "";
|
|
46372
46384
|
field.listOptions.forEach(function (item) {
|
|
46385
|
+
item.isSelected = true;
|
|
46373
46386
|
selectAll += selectAll == "" ? item.value : "," + item.value;
|
|
46374
46387
|
});
|
|
46375
46388
|
field.value = selectAll;
|
|
46376
46389
|
} else {
|
|
46377
46390
|
field.value = "";
|
|
46391
|
+
field.listOptions.forEach(function (item) {
|
|
46392
|
+
item.isSelected = false;
|
|
46393
|
+
});
|
|
46378
46394
|
}
|
|
46379
46395
|
},
|
|
46380
46396
|
onChangeforDDL: function onChangeforDDL(field, e) {
|
|
@@ -46496,22 +46512,22 @@ var _methods;
|
|
|
46496
46512
|
}), _defineProperty(_methods, "getPlaceholderforAnyField", function getPlaceholderforAnyField(item, type) {
|
|
46497
46513
|
if (item.fieldType == 'date-range') {
|
|
46498
46514
|
if (type == "dateFrom" && item.hasOwnProperty("datePickerConfig")) {
|
|
46499
|
-
return item.datePickerConfig.placeholder ? item.datePickerConfig.placeholder : item.format ? item.format : this.$t("DateFrom");
|
|
46515
|
+
return item.datePickerConfig.placeholder ? this.$t(item.datePickerConfig.placeholder) : item.format ? item.format : this.$t("DateFrom");
|
|
46500
46516
|
} else if (type == "dateTo" && item.hasOwnProperty("secondDatePickerConfig")) {
|
|
46501
|
-
return item.secondDatePickerConfig.placeholder ? item.secondDatePickerConfig.placeholder : item.format ? item.format : this.$t("DateTo");
|
|
46517
|
+
return item.secondDatePickerConfig.placeholder ? this.$t(item.secondDatePickerConfig.placeholder) : item.format ? item.format : this.$t("DateTo");
|
|
46502
46518
|
}
|
|
46503
46519
|
} else if (item.fieldType == 'date') {
|
|
46504
|
-
return item.placeholder ? item.placeholder : item.format ? item.format : this.$t("DateTo");
|
|
46520
|
+
return item.placeholder ? this.$t(item.placeholder) : item.format ? item.format : this.$t("DateTo");
|
|
46505
46521
|
} else if (item.fieldType == 'numeric-range') {
|
|
46506
46522
|
if (type == "from") {
|
|
46507
46523
|
if (item.hasOwnProperty("fromConfig")) {
|
|
46508
|
-
return item.fromConfig.placeholder ? item.fromConfig.placeholder : this.$t("From");
|
|
46524
|
+
return item.fromConfig.placeholder ? this.$t(item.fromConfig.placeholder) : this.$t("From");
|
|
46509
46525
|
} else {
|
|
46510
46526
|
return this.$t("From");
|
|
46511
46527
|
}
|
|
46512
46528
|
} else if (type == "to") {
|
|
46513
46529
|
if (item.hasOwnProperty("toConfig")) {
|
|
46514
|
-
return item.toConfig.placeholder ? item.toConfig.placeholder : this.$t("To");
|
|
46530
|
+
return item.toConfig.placeholder ? this.$t(item.toConfig.placeholder) : this.$t("To");
|
|
46515
46531
|
} else {
|
|
46516
46532
|
return this.$t("To");
|
|
46517
46533
|
}
|
|
@@ -46523,8 +46539,8 @@ var _methods;
|
|
|
46523
46539
|
});
|
|
46524
46540
|
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=script&lang=js&
|
|
46525
46541
|
/* harmony default export */ var components_left_searchvue_type_script_lang_js_ = (left_searchvue_type_script_lang_js_);
|
|
46526
|
-
// EXTERNAL MODULE: ./src/components/left-search.vue?vue&type=style&index=0&id=
|
|
46527
|
-
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");
|
|
46528
46544
|
|
|
46529
46545
|
// CONCATENATED MODULE: ./src/components/left-search.vue
|
|
46530
46546
|
|
|
@@ -46537,18 +46553,18 @@ var left_searchvue_type_style_index_0_id_9abd6c8c_scoped_true_lang_css_ = __webp
|
|
|
46537
46553
|
|
|
46538
46554
|
var left_search_component = normalizeComponent(
|
|
46539
46555
|
components_left_searchvue_type_script_lang_js_,
|
|
46540
|
-
|
|
46541
|
-
|
|
46556
|
+
left_searchvue_type_template_id_ec6fcfc4_scoped_true_render,
|
|
46557
|
+
left_searchvue_type_template_id_ec6fcfc4_scoped_true_staticRenderFns,
|
|
46542
46558
|
false,
|
|
46543
46559
|
null,
|
|
46544
|
-
"
|
|
46560
|
+
"ec6fcfc4",
|
|
46545
46561
|
null
|
|
46546
46562
|
|
|
46547
46563
|
)
|
|
46548
46564
|
|
|
46549
46565
|
/* harmony default export */ var left_search = (left_search_component.exports);
|
|
46550
|
-
// 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/top-search.vue?vue&type=template&id=
|
|
46551
|
-
var
|
|
46566
|
+
// 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/top-search.vue?vue&type=template&id=72497e6d&scoped=true&
|
|
46567
|
+
var top_searchvue_type_template_id_72497e6d_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"page-action w-100"},[_c('div',{staticClass:"container-fluid p-0"},[_c('ValidationObserver',{ref:"searchForm",staticClass:"row p-0",attrs:{"tag":"div"}},[_vm._l((_vm.Fields),function(field,fieldIndex){return _c('div',{key:fieldIndex,staticClass:"col-sm-12 col-md-6 col-lg-4 col-xl-4 float-left"},[(_vm.Fields.length>1)?_c('label',[_vm._v(_vm._s(_vm.$t(field.fieldName))+":")]):_vm._e(),(field.fieldType == 'numeric-range')?_c('div',{staticClass:"row mb-2"},[_c('div',{staticClass:"col-md-6"},[_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){
|
|
46552
46568
|
var errors = ref.errors;
|
|
46553
46569
|
var validate = ref.validate;
|
|
46554
46570
|
return [_c('input',{class:['form-control', 'search', { 'is-invalid': errors && errors.length }],attrs:{"type":'number',"placeholder":_vm.getPlaceholderforAnyField(field, 'from')},domProps:{"value":field.value},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field, 'from')},"input":function (e) { field.value = e.target.value; validate(e.target.value); }}}),(errors[0])?_c('span',{staticClass:"text-danger small d-block mt-1"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}):( false)?undefined:( false)?undefined:_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholderforAnyField(field, 'from'),"type":'number'},domProps:{"value":(field.value)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field, 'from')},"input":function($event){if($event.target.composing){ return; }_vm.$set(field, "value", $event.target.value)}}})],1)]),_c('div',{staticClass:"col-md-6"},[_c('div',{staticClass:"form-group"},[( false)?undefined:( false)?undefined:_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.secondValue),expression:"field.secondValue"}],staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholderforAnyField(field, 'to'),"type":'number'},domProps:{"value":(field.secondValue)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field, 'to')},"input":function($event){if($event.target.composing){ return; }_vm.$set(field, "secondValue", $event.target.value)}}})])])]):_vm._e(),(field.fieldType == 'text')?_c('div',{staticClass:"form-group mb-2"},[(_vm.hasValidationRules(field))?_c('ValidationProvider',{attrs:{"rules":field.validationRules,"name":_vm.getValidationFieldName(field)},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
@@ -46583,11 +46599,11 @@ return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":_vm.g
|
|
|
46583
46599
|
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); }}},[((field.isDefaultOptionReq != false))?_c('option',{attrs:{"value":""}},[_vm._v(_vm._s(_vm.$t("Select"))+" "+_vm._s(_vm.$t(field.fieldName)))]):_vm._e(),_vm._l((field.listOptions),function(option){return _c('option',{domProps:{"value":option.value}},[_vm._v(" "+_vm._s(option.name)+" ")])})],2),(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])}}},[((field.isDefaultOptionReq != false))?_c('option',{attrs:{"value":""}},[_vm._v(_vm._s(_vm.$t("Select"))+" "+_vm._s(_vm.$t(field.fieldName)))]):_vm._e(),_vm._l((field.listOptions),function(option){return _c('option',{domProps:{"value":option.value}},[_vm._v(" "+_vm._s(option.name)+" ")])})],2)],1):_vm._e(),(field.fieldType == 'searchableselect')?_c('div',{staticClass:"form-group mb-2"},[(_vm.hasValidationRules(field))?_c('ValidationProvider',{attrs:{"rules":field.validationRules,"name":_vm.getValidationFieldName(field)},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
46584
46600
|
var errors = ref.errors;
|
|
46585
46601
|
var validate = ref.validate;
|
|
46586
|
-
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":field.placeholder,"status-field-config":field.statusFieldConfig,"min-search-length":field.minSearchLength},on:{"blur":function (e) { _vm.onSearchableChange(e, field, 'blur'); validate(field.value); },"change":function (e) { _vm.onSearchableChange(e, field, 'change'); 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":field.placeholder,"status-field-config":field.statusFieldConfig,"min-search-length":field.minSearchLength},on:{"blur":function($event){return _vm.onSearchableChange($event, field, 'blur')},"change":function($event){return _vm.onSearchableChange($event, field, 'change')}},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})]],2):_vm._e()])}),_c('div',{class:{'col-sm-12 col-md-3 col-lg-3 col-xl-3 float-left': (((_vm.fields.length % 3) > 0) || _vm.fields.length == 1), 'mt-4': (((_vm.fields.length % 3) > 0) && _vm.fields.length > 1), 'col-sm-12 col-md-12 col-lg-12 col-xl-12 text-right pr-1 mt-3':((_vm.fields.length % 3) == 0) }},[_c('div',{staticClass:"background-0 text-left form-check-inline"},[_c('a',{staticClass:"btn btn-success mr-1 px-4",attrs:{"title":_vm.$t('Search'),"id":"Go","href":"javascript:;","data-toggle-tooltip":"tooltip","data-original-title":_vm.$t('Search')},on:{"click":function($event){return _vm.SearchData()}}},[_c('i',{staticClass:"fa fa-search"}),_vm._v(" "+_vm._s(_vm.$t("Search")))]),_c('a',{staticClass:"btn btn-danger clearsearchtext px-4",attrs:{"href":"javascript:void(0);","title":_vm.$t('Clear'),"data-toggle-tooltip":"tooltip","data-original-title":_vm.$t('Clear')},on:{"click":function($event){return _vm.ClearFilter()}}},[_c('i',{staticClass:"fa fa-refresh"}),_vm._v(" "+_vm._s(_vm.$t("Clear")))])])])],2)],1)])}
|
|
46587
|
-
var
|
|
46602
|
+
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:{"blur":function (e) { _vm.onSearchableChange(e, field, 'blur'); validate(field.value); },"change":function (e) { _vm.onSearchableChange(e, field, 'change'); 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:{"blur":function($event){return _vm.onSearchableChange($event, field, 'blur')},"change":function($event){return _vm.onSearchableChange($event, field, 'change')}},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})]],2):_vm._e()])}),_c('div',{class:{'col-sm-12 col-md-3 col-lg-3 col-xl-3 float-left': (((_vm.fields.length % 3) > 0) || _vm.fields.length == 1), 'mt-4': (((_vm.fields.length % 3) > 0) && _vm.fields.length > 1), 'col-sm-12 col-md-12 col-lg-12 col-xl-12 text-right pr-1 mt-3':((_vm.fields.length % 3) == 0) }},[_c('div',{staticClass:"background-0 text-left form-check-inline"},[_c('a',{staticClass:"btn btn-success mr-1 px-4",attrs:{"title":_vm.$t('Search'),"id":"Go","href":"javascript:;","data-toggle-tooltip":"tooltip","data-original-title":_vm.$t('Search')},on:{"click":function($event){return _vm.SearchData()}}},[_c('i',{staticClass:"fa fa-search"}),_vm._v(" "+_vm._s(_vm.$t("Search")))]),_c('a',{staticClass:"btn btn-danger clearsearchtext px-4",attrs:{"href":"javascript:void(0);","title":_vm.$t('Clear'),"data-toggle-tooltip":"tooltip","data-original-title":_vm.$t('Clear')},on:{"click":function($event){return _vm.ClearFilter()}}},[_c('i',{staticClass:"fa fa-refresh"}),_vm._v(" "+_vm._s(_vm.$t("Clear")))])])])],2)],1)])}
|
|
46603
|
+
var top_searchvue_type_template_id_72497e6d_scoped_true_staticRenderFns = []
|
|
46588
46604
|
|
|
46589
46605
|
|
|
46590
|
-
// CONCATENATED MODULE: ./src/components/top-search.vue?vue&type=template&id=
|
|
46606
|
+
// CONCATENATED MODULE: ./src/components/top-search.vue?vue&type=template&id=72497e6d&scoped=true&
|
|
46591
46607
|
|
|
46592
46608
|
// 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/top-search.vue?vue&type=script&lang=js&
|
|
46593
46609
|
|
|
@@ -46739,7 +46755,7 @@ var top_searchvue_type_template_id_36ab1b26_scoped_true_staticRenderFns = []
|
|
|
46739
46755
|
this.$refs.searchForm.reset();
|
|
46740
46756
|
}
|
|
46741
46757
|
|
|
46742
|
-
this.SearchData();
|
|
46758
|
+
this.SearchData("ClearFilter");
|
|
46743
46759
|
setTimeout(function () {
|
|
46744
46760
|
$('span[data-target=".multi-collapse"],a[data-target=".multi-collapse"]').addClass("collapsed");
|
|
46745
46761
|
$(".left-menu-tab .card").each(function () {
|
|
@@ -46843,7 +46859,7 @@ var top_searchvue_type_template_id_36ab1b26_scoped_true_staticRenderFns = []
|
|
|
46843
46859
|
}
|
|
46844
46860
|
},
|
|
46845
46861
|
SearchData: function () {
|
|
46846
|
-
var _SearchData = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime_regeneratorRuntime().mark(function _callee() {
|
|
46862
|
+
var _SearchData = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime_regeneratorRuntime().mark(function _callee(v) {
|
|
46847
46863
|
var vueObj, hasAnyValidation, valid, searchCondition, searchConditionJson, qs;
|
|
46848
46864
|
return regeneratorRuntime_regeneratorRuntime().wrap(function _callee$(_context) {
|
|
46849
46865
|
while (1) {
|
|
@@ -47144,7 +47160,8 @@ var top_searchvue_type_template_id_36ab1b26_scoped_true_staticRenderFns = []
|
|
|
47144
47160
|
PageNumber: 1,
|
|
47145
47161
|
searchCondition: searchCondition,
|
|
47146
47162
|
searchConditionJson: qs,
|
|
47147
|
-
json: searchConditionJson
|
|
47163
|
+
json: searchConditionJson,
|
|
47164
|
+
callType: v
|
|
47148
47165
|
}); //vueObj.callbackfunction();
|
|
47149
47166
|
|
|
47150
47167
|
case 15:
|
|
@@ -47155,7 +47172,7 @@ var top_searchvue_type_template_id_36ab1b26_scoped_true_staticRenderFns = []
|
|
|
47155
47172
|
}, _callee, this);
|
|
47156
47173
|
}));
|
|
47157
47174
|
|
|
47158
|
-
function SearchData() {
|
|
47175
|
+
function SearchData(_x) {
|
|
47159
47176
|
return _SearchData.apply(this, arguments);
|
|
47160
47177
|
}
|
|
47161
47178
|
|
|
@@ -47285,22 +47302,22 @@ var top_searchvue_type_template_id_36ab1b26_scoped_true_staticRenderFns = []
|
|
|
47285
47302
|
getPlaceholderforAnyField: function getPlaceholderforAnyField(item, type) {
|
|
47286
47303
|
if (item.fieldType == 'date-range') {
|
|
47287
47304
|
if (type == "dateFrom" && item.hasOwnProperty("datePickerConfig")) {
|
|
47288
|
-
return item.datePickerConfig.placeholder ? item.datePickerConfig.placeholder : item.format ? item.format : this.$t("DateFrom");
|
|
47305
|
+
return item.datePickerConfig.placeholder ? this.$t(item.datePickerConfig.placeholder) : item.format ? item.format : this.$t("DateFrom");
|
|
47289
47306
|
} else if (type == "dateTo" && item.hasOwnProperty("secondDatePickerConfig")) {
|
|
47290
|
-
return item.secondDatePickerConfig.placeholder ? item.secondDatePickerConfig.placeholder : item.format ? item.format : this.$t("DateTo");
|
|
47307
|
+
return item.secondDatePickerConfig.placeholder ? this.$t(item.secondDatePickerConfig.placeholder) : item.format ? item.format : this.$t("DateTo");
|
|
47291
47308
|
}
|
|
47292
47309
|
} else if (item.fieldType == 'date') {
|
|
47293
|
-
return item.placeholder ? item.placeholder : item.format ? item.format : this.$t("DateTo");
|
|
47310
|
+
return item.placeholder ? this.$t(item.placeholder) : item.format ? item.format : this.$t("DateTo");
|
|
47294
47311
|
} else if (item.fieldType == 'numeric-range') {
|
|
47295
47312
|
if (type == "from") {
|
|
47296
47313
|
if (item.hasOwnProperty("fromConfig")) {
|
|
47297
|
-
return item.fromConfig.placeholder ? item.fromConfig.placeholder : this.$t("From");
|
|
47314
|
+
return item.fromConfig.placeholder ? this.$t(item.fromConfig.placeholder) : this.$t("From");
|
|
47298
47315
|
} else {
|
|
47299
47316
|
return this.$t("From");
|
|
47300
47317
|
}
|
|
47301
47318
|
} else if (type == "to") {
|
|
47302
47319
|
if (item.hasOwnProperty("toConfig")) {
|
|
47303
|
-
return item.toConfig.placeholder ? item.toConfig.placeholder : this.$t("To");
|
|
47320
|
+
return item.toConfig.placeholder ? this.$t(item.toConfig.placeholder) : this.$t("To");
|
|
47304
47321
|
} else {
|
|
47305
47322
|
return this.$t("To");
|
|
47306
47323
|
}
|
|
@@ -47313,8 +47330,8 @@ var top_searchvue_type_template_id_36ab1b26_scoped_true_staticRenderFns = []
|
|
|
47313
47330
|
});
|
|
47314
47331
|
// CONCATENATED MODULE: ./src/components/top-search.vue?vue&type=script&lang=js&
|
|
47315
47332
|
/* harmony default export */ var components_top_searchvue_type_script_lang_js_ = (top_searchvue_type_script_lang_js_);
|
|
47316
|
-
// EXTERNAL MODULE: ./src/components/top-search.vue?vue&type=style&index=0&id=
|
|
47317
|
-
var
|
|
47333
|
+
// EXTERNAL MODULE: ./src/components/top-search.vue?vue&type=style&index=0&id=72497e6d&scoped=true&lang=css&
|
|
47334
|
+
var top_searchvue_type_style_index_0_id_72497e6d_scoped_true_lang_css_ = __webpack_require__("2cdc");
|
|
47318
47335
|
|
|
47319
47336
|
// CONCATENATED MODULE: ./src/components/top-search.vue
|
|
47320
47337
|
|
|
@@ -47327,11 +47344,11 @@ var top_searchvue_type_style_index_0_id_36ab1b26_scoped_true_lang_css_ = __webpa
|
|
|
47327
47344
|
|
|
47328
47345
|
var top_search_component = normalizeComponent(
|
|
47329
47346
|
components_top_searchvue_type_script_lang_js_,
|
|
47330
|
-
|
|
47331
|
-
|
|
47347
|
+
top_searchvue_type_template_id_72497e6d_scoped_true_render,
|
|
47348
|
+
top_searchvue_type_template_id_72497e6d_scoped_true_staticRenderFns,
|
|
47332
47349
|
false,
|
|
47333
47350
|
null,
|
|
47334
|
-
"
|
|
47351
|
+
"72497e6d",
|
|
47335
47352
|
null
|
|
47336
47353
|
|
|
47337
47354
|
)
|
|
@@ -48483,7 +48500,18 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
48483
48500
|
y.value = queryVal.split(',').map(function (s) {
|
|
48484
48501
|
return s.trim();
|
|
48485
48502
|
}).filter(Boolean);
|
|
48486
|
-
} 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 {
|
|
48487
48515
|
y.value = queryVal;
|
|
48488
48516
|
} // Call the field's onChange callback. SearchableSelect passes (field, value); others often use (field, event).
|
|
48489
48517
|
|
|
@@ -48503,6 +48531,13 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
48503
48531
|
console.warn('TgList getQueryStringParams: onChange failed for field', y.fieldName, err);
|
|
48504
48532
|
}
|
|
48505
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
|
+
}
|
|
48506
48541
|
}
|
|
48507
48542
|
}); // After applying query params, trigger search so the list refreshes with filters.
|
|
48508
48543
|
|