tg-listv 0.1.5 → 0.1.7
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 +170 -78
- package/dist/tglistv.common.js.map +1 -1
- package/dist/tglistv.css +1 -1
- package/dist/tglistv.umd.js +170 -78
- 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
|
@@ -1009,17 +1009,6 @@ var getBuiltIn = __webpack_require__("d066");
|
|
|
1009
1009
|
module.exports = getBuiltIn('document', 'documentElement');
|
|
1010
1010
|
|
|
1011
1011
|
|
|
1012
|
-
/***/ }),
|
|
1013
|
-
|
|
1014
|
-
/***/ "1c4e":
|
|
1015
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1016
|
-
|
|
1017
|
-
"use strict";
|
|
1018
|
-
/* 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_list_header_buttonNew_vue_vue_type_style_index_0_id_00a1b2b3_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("47e8");
|
|
1019
|
-
/* 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_list_header_buttonNew_vue_vue_type_style_index_0_id_00a1b2b3_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_list_header_buttonNew_vue_vue_type_style_index_0_id_00a1b2b3_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
1020
|
-
/* unused harmony reexport * */
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
1012
|
/***/ }),
|
|
1024
1013
|
|
|
1025
1014
|
/***/ "1c59":
|
|
@@ -23329,13 +23318,6 @@ module.exports = {
|
|
|
23329
23318
|
};
|
|
23330
23319
|
|
|
23331
23320
|
|
|
23332
|
-
/***/ }),
|
|
23333
|
-
|
|
23334
|
-
/***/ "47e8":
|
|
23335
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
23336
|
-
|
|
23337
|
-
// extracted by mini-css-extract-plugin
|
|
23338
|
-
|
|
23339
23321
|
/***/ }),
|
|
23340
23322
|
|
|
23341
23323
|
/***/ "4840":
|
|
@@ -24095,6 +24077,17 @@ $({ target: 'Object', stat: true, forced: FORCED }, {
|
|
|
24095
24077
|
});
|
|
24096
24078
|
|
|
24097
24079
|
|
|
24080
|
+
/***/ }),
|
|
24081
|
+
|
|
24082
|
+
/***/ "5af8":
|
|
24083
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
24084
|
+
|
|
24085
|
+
"use strict";
|
|
24086
|
+
/* 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_list_header_buttonNew_vue_vue_type_style_index_0_id_3669703d_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6801");
|
|
24087
|
+
/* 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_list_header_buttonNew_vue_vue_type_style_index_0_id_3669703d_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_list_header_buttonNew_vue_vue_type_style_index_0_id_3669703d_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
24088
|
+
/* unused harmony reexport * */
|
|
24089
|
+
|
|
24090
|
+
|
|
24098
24091
|
/***/ }),
|
|
24099
24092
|
|
|
24100
24093
|
/***/ "5c6c":
|
|
@@ -24882,6 +24875,13 @@ module.exports = _unsupportedIterableToArray, module.exports.__esModule = true,
|
|
|
24882
24875
|
|
|
24883
24876
|
/***/ }),
|
|
24884
24877
|
|
|
24878
|
+
/***/ "6801":
|
|
24879
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
24880
|
+
|
|
24881
|
+
// extracted by mini-css-extract-plugin
|
|
24882
|
+
|
|
24883
|
+
/***/ }),
|
|
24884
|
+
|
|
24885
24885
|
/***/ "68ee":
|
|
24886
24886
|
/***/ (function(module, exports, __webpack_require__) {
|
|
24887
24887
|
|
|
@@ -38756,10 +38756,10 @@ if (typeof window !== 'undefined') {
|
|
|
38756
38756
|
// Indicate to webpack that this file can be concatenated
|
|
38757
38757
|
/* harmony default export */ var setPublicPath = (null);
|
|
38758
38758
|
|
|
38759
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1bc84821-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=
|
|
38760
|
-
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',{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){
|
|
38759
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1bc84821-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=9d43a56a&
|
|
38760
|
+
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){
|
|
38761
38761
|
var data = ref.data;
|
|
38762
|
-
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',{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){
|
|
38762
|
+
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){
|
|
38763
38763
|
var data = ref.data;
|
|
38764
38764
|
return [_vm._t("slotdata",null,{"data":{row:data.row,column:data.column,listtype:_vm.selectedView}})]}}],null,true)}):_vm._e(),(_vm.ListData && _vm.selectedView == 'Card')?_c('CardView',{attrs:{"data":_vm.ListData,"columns":_vm.HeaderData,"totalrecords":_vm.TotalRecordsForPaging,"UserPageSize":_vm.PageSize,"customcard":_vm.IsShowCustomCard,"randomNumberForIds":_vm.randomNumberForIds,"IsShowAction":_vm.IsShowAction,"identityColumn":_vm.IdentityColumn,"subModuleCode":_vm.SubModuleCode,"LegendArray":_vm.LegendArray,"noRecord":_vm.noRecord,"NorecordfoundText":_vm.NorecordfoundText,"renderRowActionMethod":_vm.RenderRowActionMethod,"enabledataTruncate":_vm.enabledataTruncate(),"dataTruncateLength":_vm.dataTruncateLength},on:{"PagerMethod":_vm.pagerMethod,"ButtonClick":_vm.actionButtonClick,"EventOfCheckbox":_vm.onChangeEventOfCheckbox},scopedSlots:_vm._u([{key:"slotdata",fn:function(ref){
|
|
38765
38765
|
var data = ref.data;
|
|
@@ -38773,7 +38773,7 @@ return [_vm._t("customcard",null,{"data":{row:data.row,columnlist:data.columnlis
|
|
|
38773
38773
|
var staticRenderFns = []
|
|
38774
38774
|
|
|
38775
38775
|
|
|
38776
|
-
// CONCATENATED MODULE: ./src/components/TgList.vue?vue&type=template&id=
|
|
38776
|
+
// CONCATENATED MODULE: ./src/components/TgList.vue?vue&type=template&id=9d43a56a&
|
|
38777
38777
|
|
|
38778
38778
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
|
38779
38779
|
var es_symbol = __webpack_require__("a4d3");
|
|
@@ -38822,15 +38822,33 @@ var es_number_constructor = __webpack_require__("a9e3");
|
|
|
38822
38822
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.filter.js
|
|
38823
38823
|
var es_array_filter = __webpack_require__("4de4");
|
|
38824
38824
|
|
|
38825
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
|
|
38826
|
+
var web_dom_collections_for_each = __webpack_require__("159b");
|
|
38827
|
+
|
|
38828
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
38829
|
+
var es_regexp_exec = __webpack_require__("ac1f");
|
|
38830
|
+
|
|
38831
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
|
|
38832
|
+
var es_string_split = __webpack_require__("1276");
|
|
38833
|
+
|
|
38834
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
38835
|
+
var es_array_map = __webpack_require__("d81d");
|
|
38836
|
+
|
|
38837
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
|
|
38838
|
+
var es_string_trim = __webpack_require__("498a");
|
|
38839
|
+
|
|
38840
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
38841
|
+
var es_string_replace = __webpack_require__("5319");
|
|
38842
|
+
|
|
38843
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
38844
|
+
var es_function_name = __webpack_require__("b0c0");
|
|
38845
|
+
|
|
38825
38846
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.includes.js
|
|
38826
38847
|
var es_array_includes = __webpack_require__("caad");
|
|
38827
38848
|
|
|
38828
38849
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.includes.js
|
|
38829
38850
|
var es_string_includes = __webpack_require__("2532");
|
|
38830
38851
|
|
|
38831
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom-collections.for-each.js
|
|
38832
|
-
var web_dom_collections_for_each = __webpack_require__("159b");
|
|
38833
|
-
|
|
38834
38852
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
38835
38853
|
var es_array_from = __webpack_require__("a630");
|
|
38836
38854
|
|
|
@@ -38852,24 +38870,15 @@ var DataTablevue_type_template_id_b7d0829e_staticRenderFns = []
|
|
|
38852
38870
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
38853
38871
|
var es_json_stringify = __webpack_require__("e9c4");
|
|
38854
38872
|
|
|
38855
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
38856
|
-
var es_regexp_exec = __webpack_require__("ac1f");
|
|
38857
|
-
|
|
38858
38873
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js
|
|
38859
38874
|
var es_regexp_test = __webpack_require__("00b4");
|
|
38860
38875
|
|
|
38861
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1bc84821-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/RowActions.vue?vue&type=template&id=
|
|
38862
|
-
var
|
|
38863
|
-
var
|
|
38864
|
-
|
|
38876
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1bc84821-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/RowActions.vue?vue&type=template&id=aa04d84a&
|
|
38877
|
+
var RowActionsvue_type_template_id_aa04d84a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('justWraper',{class:{ 'action-without-ellipse': (_vm.listType == 'List' && _vm.listActions.length <= 2)},style:((_vm.listType == 'List')? 'display: table-cell;text-align: center; position: sticky !important;right: 0 !important;z-index: 10 !important;vertical-align: middle;' : '')},[(_vm.listType == 'List' && _vm.listActions.length > 2)?_c('td',{staticClass:"text-center mobile-action only-for-action-col",style:((_vm.listType == 'List')?'display: block;': '')},[_c('span',{staticClass:"actions mobileaction"},[_c('em',{staticClass:"fa fa-ellipsis-h action_icon",attrs:{"aria-hidden":"true"}}),_c('span',{staticClass:"action-list-box"},[_c('span',{staticClass:"list-actions",attrs:{"id":"action-list"}},[_vm._l((_vm.listActions),function(action){return [(action.isVisible == true && typeof action.callbackfunction != 'undefined')?_c('a',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"typetitle":_vm.showUserGuide(action),"typefor":_vm.showUserGuide(action),"value":_vm.item[_vm.identityColumn],"title":_vm.showUserGuide(action)},on:{"click":function($event){return _vm.ClickEvent(action.isDisabled, action.callbackfunction,_vm.item,_vm.index,$event)}}},[_c('em',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')}),_c('span',{staticClass:"text"},[_vm._v(" "+_vm._s(_vm.$t(action.title))+" "),_c('span',{domProps:{"innerHTML":_vm._s(_vm.replaceText(action.additionalSpan))}})])]):_vm._e(),(action.isVisible == true && typeof action.callbackfunction == 'undefined')?_c('RouterLink',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"to":_vm.replaceText(action.href),"title":_vm.showUserGuide(action)}},[_c('em',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')}),_vm._v(" "),_c('br'),_c('span',{staticClass:"text"},[_vm._v(" "+_vm._s(action.title))])]):_vm._e()]}),_c('em',{staticClass:"fa fa-times close close-action",attrs:{"aria-hidden":"true"}})],2)])])]):_vm._e(),(_vm.listType == 'List' && _vm.listActions.length <= 2)?_c('td',{staticClass:"text-center single-action only-for-action-col",style:((_vm.listType == 'List')?'display: inline-block': '')},[_vm._l((_vm.listActions),function(action){return [(action.isVisible == true && typeof action.callbackfunction != 'undefined')?_c('a',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"typetitle":_vm.showUserGuide(action),"typefor":_vm.showUserGuide(action),"value":_vm.item[_vm.identityColumn],"title":_vm.showUserGuide(action)},on:{"click":function($event){return _vm.ClickEvent(action.isDisabled, action.callbackfunction,_vm.item,_vm.index,$event)}}},[_c('em',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')})]):_vm._e(),(action.isVisible == true && typeof action.callbackfunction == 'undefined')?_c('RouterLink',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"to":_vm.replaceText(action.href),"title":_vm.showUserGuide(action)}},[_c('em',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')})]):_vm._e()]})],2):_vm._e(),_vm._l((_vm.listActions),function(action){return (_vm.listType == 'Card')?[((action.isVisible == true && typeof action.callbackfunction != 'undefined'))?_c('a',{class:'round-icon-small ' + ((action.class) ? action.class : 'btn-info') + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': ''),attrs:{"typetitle":_vm.showUserGuide(action),"typefor":_vm.showUserGuide(action),"value":_vm.item[_vm.identityColumn],"title":_vm.showUserGuide(action),"data-toggle-tooltip":"tooltip","data-original-title":_vm.showUserGuide(action)},on:{"click":function($event){return _vm.ClickEvent(action.isDisabled, action.callbackfunction,_vm.item,_vm.index,$event)}}},[_c('em',{class:_vm.CardActionIcon(action.icon) + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')})]):_vm._e(),(action.isVisible == true && typeof action.callbackfunction == 'undefined')?_c('RouterLink',{class:'round-icon-small ' + ((action.class) ? action.class : 'btn-info') + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': ''),attrs:{"to":_vm.replaceText(action.href),"title":_vm.showUserGuide(action)}},[_c('em',{class:_vm.CardActionIcon(action.icon) + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')})]):_vm._e()]:_vm._e()}),_vm._l((_vm.listActions),function(action){return (_vm.listType == 'Kanban')?[(action.isVisible == true && typeof action.callbackfunction != 'undefined')?_c('a',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"typetitle":_vm.showUserGuide(action),"typefor":_vm.showUserGuide(action),"value":_vm.item[_vm.identityColumn],"title":_vm.showUserGuide(action)},on:{"click":function($event){return _vm.ClickEvent(action.isDisabled, action.callbackfunction,_vm.item,_vm.index,$event)}}},[_c('i',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')}),_c('span',{staticClass:"text"},[_vm._v(" "+_vm._s(_vm.$t(action.title))+" "),_c('span',{domProps:{"innerHTML":_vm._s(_vm.replaceText(action.additionalSpan))}})])]):_vm._e(),(action.isVisible == true && typeof action.callbackfunction == 'undefined')?_c('RouterLink',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"to":_vm.replaceText(action.href),"title":_vm.showUserGuide(action)}},[_c('i',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')}),_c('span',{staticClass:"text"},[_vm._v(" "+_vm._s(_vm.$t(action.title)))])]):_vm._e()]:_vm._e()})],2)}
|
|
38878
|
+
var RowActionsvue_type_template_id_aa04d84a_staticRenderFns = []
|
|
38865
38879
|
|
|
38866
|
-
// CONCATENATED MODULE: ./src/components/RowActions.vue?vue&type=template&id=fdcb0ae8&
|
|
38867
38880
|
|
|
38868
|
-
//
|
|
38869
|
-
var es_string_replace = __webpack_require__("5319");
|
|
38870
|
-
|
|
38871
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.split.js
|
|
38872
|
-
var es_string_split = __webpack_require__("1276");
|
|
38881
|
+
// CONCATENATED MODULE: ./src/components/RowActions.vue?vue&type=template&id=aa04d84a&
|
|
38873
38882
|
|
|
38874
38883
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.join.js
|
|
38875
38884
|
var es_array_join = __webpack_require__("a15b");
|
|
@@ -38994,6 +39003,13 @@ var es_array_join = __webpack_require__("a15b");
|
|
|
38994
39003
|
this.listActions = this.listActionsMethod(this.item);
|
|
38995
39004
|
},
|
|
38996
39005
|
methods: {
|
|
39006
|
+
showUserGuide: function showUserGuide(action) {
|
|
39007
|
+
if (action.hasOwnProperty("userGuide")) {
|
|
39008
|
+
return this.$t(action.userGuide);
|
|
39009
|
+
} else {
|
|
39010
|
+
return this.$t(action.title);
|
|
39011
|
+
}
|
|
39012
|
+
},
|
|
38997
39013
|
ClickEvent: function ClickEvent(disabled, callbackfunction, item, index, event) {
|
|
38998
39014
|
if (typeof disabled == 'undefined' || disabled != true) {
|
|
38999
39015
|
this.$emit('ButtonClick', callbackfunction, item, index, event);
|
|
@@ -39138,8 +39154,8 @@ function normalizeComponent (
|
|
|
39138
39154
|
|
|
39139
39155
|
var component = normalizeComponent(
|
|
39140
39156
|
components_RowActionsvue_type_script_lang_js_,
|
|
39141
|
-
|
|
39142
|
-
|
|
39157
|
+
RowActionsvue_type_template_id_aa04d84a_render,
|
|
39158
|
+
RowActionsvue_type_template_id_aa04d84a_staticRenderFns,
|
|
39143
39159
|
false,
|
|
39144
39160
|
null,
|
|
39145
39161
|
null,
|
|
@@ -39992,20 +40008,20 @@ var DataTable_component = normalizeComponent(
|
|
|
39992
40008
|
)
|
|
39993
40009
|
|
|
39994
40010
|
/* harmony default export */ var DataTable = (DataTable_component.exports);
|
|
39995
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1bc84821-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=
|
|
39996
|
-
var
|
|
40011
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1bc84821-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=77549c90&
|
|
40012
|
+
var left_searchvue_type_template_id_77549c90_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('div',{staticClass:"card-panel"},_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"},[(((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)}}})]):_vm._e(),(field.fieldType== 'date' || field.fieldType== 'date-range')?_c('div',{staticClass:"form-group"},[_c('div',{class:{'input-group':true, 'mb-2':(field.fieldType == 'date-range') }},[_c('DatePicker',{ref:field.fieldName,refInFor:true,staticClass:"input-group",staticStyle:{"flex-wrap":"nowrap"},attrs:{"locale":_vm.lang,"is24hr":false,"name":'DateFrom' + fieldIndex,"mode":_vm.getModeofDateField(field),"masks":_vm.getFormat(field),"popover":_vm.popover,"min-date":_vm.getMinmumDate(field, 'dateFrom'),"max-date":_vm.getMaxDate(field, 'dateFrom'),"minute-increment":5},on:{"input":function($event){return _vm.SetMinMaxValueForDatePicker(field, 'datefrom')}},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
39997
40013
|
var inputValue = ref.inputValue;
|
|
39998
40014
|
var inputEvents = ref.inputEvents;
|
|
39999
40015
|
var togglePopover = ref.togglePopover;
|
|
40000
|
-
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":_vm.getPlaceholderforAnyField(field, 'dateFrom')},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.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})],1),(field.fieldType== 'date-range')?_c('div',{staticClass:"input-group"},[_c('DatePicker',{staticClass:"input-group",staticStyle:{"flex-wrap":"nowrap"},attrs:{"locale":_vm.lang,"is24hr":false,"name":'DateTo' + fieldIndex,"mode":_vm.getModeofDateField(field),"masks":_vm.getFormat(field),"popover":_vm.popover,"min-date":_vm.getMinmumDate(field, 'dateTo'),"max-date":_vm.getMaxDate(field, 'dateTo'),"minute-increment":5},on:{"input":function($event){return _vm.SetMinMaxValueForDatePicker(field, 'dateto')}},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
40016
|
+
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":_vm.getPlaceholderforAnyField(field, 'dateFrom')},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.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})],1),(field.fieldType== 'date-range')?_c('div',{staticClass:"input-group"},[_c('DatePicker',{ref:field.fieldName,refInFor:true,staticClass:"input-group",staticStyle:{"flex-wrap":"nowrap"},attrs:{"locale":_vm.lang,"is24hr":false,"name":'DateTo' + fieldIndex,"mode":_vm.getModeofDateField(field),"masks":_vm.getFormat(field),"popover":_vm.popover,"min-date":_vm.getMinmumDate(field, 'dateTo'),"max-date":_vm.getMaxDate(field, 'dateTo'),"minute-increment":5},on:{"input":function($event){return _vm.SetMinMaxValueForDatePicker(field, 'dateto')}},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
40001
40017
|
var inputValue = ref.inputValue;
|
|
40002
40018
|
var inputEvents = ref.inputEvents;
|
|
40003
40019
|
var togglePopover = ref.togglePopover;
|
|
40004
|
-
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()]):_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"}],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',{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.value, $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.value, field.value, field.isSearch)},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.value, 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)}}}),_vm._m(
|
|
40005
|
-
var
|
|
40020
|
+
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()]):_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.value, $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.value, field.value, field.isSearch)},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.value, 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)}}}),_vm._m(0,true)])]),_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),"value":item.value},on:{"change":function($event){return _vm.UpdateCheckedValues(field, item.value, $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"},[_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)]):_vm._e(),(field.fieldType == 'searchableselect')?_c('div',{staticClass:"form-group ddl-custom-searchableselect"},[_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"}})],1):_vm._e()],1)])])}),0)]),_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')))])])])}
|
|
40021
|
+
var left_searchvue_type_template_id_77549c90_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _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"})])])}]
|
|
40006
40022
|
|
|
40007
40023
|
|
|
40008
|
-
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=
|
|
40024
|
+
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=77549c90&
|
|
40009
40025
|
|
|
40010
40026
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.to-primitive.js
|
|
40011
40027
|
var es_symbol_to_primitive = __webpack_require__("8172");
|
|
@@ -40069,12 +40085,6 @@ var es_array_find = __webpack_require__("7db0");
|
|
|
40069
40085
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
|
|
40070
40086
|
var es_array_splice = __webpack_require__("a434");
|
|
40071
40087
|
|
|
40072
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
|
|
40073
|
-
var es_string_trim = __webpack_require__("498a");
|
|
40074
|
-
|
|
40075
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
40076
|
-
var es_array_map = __webpack_require__("d81d");
|
|
40077
|
-
|
|
40078
40088
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
40079
40089
|
var es_object_keys = __webpack_require__("b64b");
|
|
40080
40090
|
|
|
@@ -40103,9 +40113,6 @@ var SearchableSelectvue_type_template_id_37e24b56_scoped_true_staticRenderFns =
|
|
|
40103
40113
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.get-prototype-of.js
|
|
40104
40114
|
var es_object_get_prototype_of = __webpack_require__("3410");
|
|
40105
40115
|
|
|
40106
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.function.name.js
|
|
40107
|
-
var es_function_name = __webpack_require__("b0c0");
|
|
40108
|
-
|
|
40109
40116
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/OverloadYield.js
|
|
40110
40117
|
function _OverloadYield(e, d) {
|
|
40111
40118
|
this.v = e, this.k = d;
|
|
@@ -43352,7 +43359,8 @@ var _methods;
|
|
|
43352
43359
|
this.$emit('SetLeftSearch', {
|
|
43353
43360
|
'PageNumber': 1,
|
|
43354
43361
|
"searchCondition": searchCondition,
|
|
43355
|
-
'searchConditionJson': qs
|
|
43362
|
+
'searchConditionJson': qs,
|
|
43363
|
+
'json': searchConditionJson
|
|
43356
43364
|
}); //vueObj.callbackfunction();
|
|
43357
43365
|
},
|
|
43358
43366
|
SearchOnEnter: function SearchOnEnter(event, itm) {
|
|
@@ -43513,8 +43521,8 @@ var _methods;
|
|
|
43513
43521
|
|
|
43514
43522
|
var left_search_component = normalizeComponent(
|
|
43515
43523
|
components_left_searchvue_type_script_lang_js_,
|
|
43516
|
-
|
|
43517
|
-
|
|
43524
|
+
left_searchvue_type_template_id_77549c90_render,
|
|
43525
|
+
left_searchvue_type_template_id_77549c90_staticRenderFns,
|
|
43518
43526
|
false,
|
|
43519
43527
|
null,
|
|
43520
43528
|
null,
|
|
@@ -43523,21 +43531,21 @@ var left_search_component = normalizeComponent(
|
|
|
43523
43531
|
)
|
|
43524
43532
|
|
|
43525
43533
|
/* harmony default export */ var left_search = (left_search_component.exports);
|
|
43526
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1bc84821-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=
|
|
43527
|
-
var
|
|
43528
|
-
)?_c('div',{staticClass:"row mb-2"},[_c('div',{class:(field.fieldType == 'date-range')? 'col-md-6': 'col-md-12'},[_c('div',{staticClass:"input-group"},[_c('DatePicker',{staticClass:"input-group",staticStyle:{"flex-wrap":"nowrap"},attrs:{"locale":_vm.lang,"is24hr":false,"name":'DateFrom' + fieldIndex,"mode":_vm.getModeofDateField(field),"masks":_vm.getFormat(field),"popover":_vm.popover,"min-date":_vm.getMinmumDate(field, 'dateFrom'),"max-date":_vm.getMaxDate(field, 'dateFrom'),"minute-increment":5},on:{"input":function($event){return _vm.SetMinMaxValueForDatePicker(field, 'datefrom')}},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
43534
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1bc84821-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=1cf5a5e4&
|
|
43535
|
+
var top_searchvue_type_template_id_1cf5a5e4_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('div',{staticClass:"row p-0"},[_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 == 'text')?_c('div',{staticClass:"form-group mb-2"},[((field.isNumeric == true ? 'number' : 'text')==='checkbox')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control search",attrs:{"placeholder":_vm.$t(field.fieldName),"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"}],staticClass:"form-control search",attrs:{"placeholder":_vm.$t(field.fieldName),"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"}],staticClass:"form-control search",attrs:{"placeholder":_vm.$t(field.fieldName),"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)}}})]):_vm._e(),(field.fieldType == 'date' || field.fieldType == 'date-range'
|
|
43536
|
+
)?_c('div',{staticClass:"row mb-2"},[_c('div',{class:(field.fieldType == 'date-range')? 'col-md-6': 'col-md-12'},[_c('div',{staticClass:"input-group"},[_c('DatePicker',{ref:field.fieldName,refInFor:true,staticClass:"input-group",staticStyle:{"flex-wrap":"nowrap"},attrs:{"locale":_vm.lang,"is24hr":false,"name":'DateFrom' + fieldIndex,"mode":_vm.getModeofDateField(field),"masks":_vm.getFormat(field),"popover":_vm.popover,"min-date":_vm.getMinmumDate(field, 'dateFrom'),"max-date":_vm.getMaxDate(field, 'dateFrom'),"minute-increment":5},on:{"input":function($event){return _vm.SetMinMaxValueForDatePicker(field, 'datefrom')}},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
43529
43537
|
var inputValue = ref.inputValue;
|
|
43530
43538
|
var inputEvents = ref.inputEvents;
|
|
43531
43539
|
var togglePopover = ref.togglePopover;
|
|
43532
|
-
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":_vm.getPlaceholderforAnyField(field, 'dateFrom')},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.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})],1)]),(field.fieldType == 'date-range')?_c('div',{staticClass:"col-md-6"},[_c('div',{staticClass:"input-group"},[_c('DatePicker',{staticClass:"input-group",staticStyle:{"flex-wrap":"nowrap"},attrs:{"locale":_vm.lang,"is24hr":false,"name":'DateTo' + fieldIndex,"mode":_vm.getModeofDateField(field),"masks":_vm.getFormat(field),"popover":_vm.popover,"min-date":_vm.getMinmumDate(field, 'dateTo'),"max-date":_vm.getMaxDate(field, 'dateTo'),"minute-increment":5},on:{"input":function($event){return _vm.SetMinMaxValueForDatePicker(field, 'dateto')}},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
43540
|
+
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":_vm.getPlaceholderforAnyField(field, 'dateFrom')},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.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})],1)]),(field.fieldType == 'date-range')?_c('div',{staticClass:"col-md-6"},[_c('div',{staticClass:"input-group"},[_c('DatePicker',{ref:field.fieldName,refInFor:true,staticClass:"input-group",staticStyle:{"flex-wrap":"nowrap"},attrs:{"locale":_vm.lang,"is24hr":false,"name":'DateTo' + fieldIndex,"mode":_vm.getModeofDateField(field),"masks":_vm.getFormat(field),"popover":_vm.popover,"min-date":_vm.getMinmumDate(field, 'dateTo'),"max-date":_vm.getMaxDate(field, 'dateTo'),"minute-increment":5},on:{"input":function($event){return _vm.SetMinMaxValueForDatePicker(field, 'dateto')}},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
43533
43541
|
var inputValue = ref.inputValue;
|
|
43534
43542
|
var inputEvents = ref.inputEvents;
|
|
43535
43543
|
var togglePopover = ref.togglePopover;
|
|
43536
|
-
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()]):_vm._e(),(field.fieldType == 'ddl-multilevel')?_c('div',{staticClass:"form-group mb-2"},[(field.listOptions && field.listOptions.length > 0)?_c('tree-select',{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' || field.fieldType == 'ddl-radio' || field.fieldType == 'ddl-check' || field.fieldType == 'radio' || field.fieldType == 'checkbox')?_c('div',{staticClass:"form-group mb-2"},[_c('select',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],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)]):_vm._e(),(field.fieldType == 'searchableselect')?_c('div',{staticClass:"form-group mb-2"},[_c('searchable-select',{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"}})],1):_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":
|
|
43537
|
-
var
|
|
43544
|
+
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()]):_vm._e(),(field.fieldType == 'ddl-multilevel')?_c('div',{staticClass:"form-group mb-2"},[(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' || field.fieldType == 'ddl-radio' || field.fieldType == 'ddl-check' || field.fieldType == 'radio' || field.fieldType == 'checkbox')?_c('div',{staticClass:"form-group mb-2"},[_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)]):_vm._e(),(field.fieldType == 'searchableselect')?_c('div',{staticClass:"form-group mb-2"},[_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"}})],1):_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)])])}
|
|
43545
|
+
var top_searchvue_type_template_id_1cf5a5e4_staticRenderFns = []
|
|
43538
43546
|
|
|
43539
43547
|
|
|
43540
|
-
// CONCATENATED MODULE: ./src/components/top-search.vue?vue&type=template&id=
|
|
43548
|
+
// CONCATENATED MODULE: ./src/components/top-search.vue?vue&type=template&id=1cf5a5e4&
|
|
43541
43549
|
|
|
43542
43550
|
// 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&
|
|
43543
43551
|
|
|
@@ -44008,7 +44016,8 @@ var top_searchvue_type_template_id_1ca689c6_staticRenderFns = []
|
|
|
44008
44016
|
this.$emit("SetLeftSearch", {
|
|
44009
44017
|
PageNumber: 1,
|
|
44010
44018
|
searchCondition: searchCondition,
|
|
44011
|
-
searchConditionJson: qs
|
|
44019
|
+
searchConditionJson: qs,
|
|
44020
|
+
json: searchConditionJson
|
|
44012
44021
|
}); //vueObj.callbackfunction();
|
|
44013
44022
|
},
|
|
44014
44023
|
SearchOnEnter: function SearchOnEnter(event, itm) {
|
|
@@ -44155,8 +44164,8 @@ var top_searchvue_type_template_id_1ca689c6_staticRenderFns = []
|
|
|
44155
44164
|
|
|
44156
44165
|
var top_search_component = normalizeComponent(
|
|
44157
44166
|
components_top_searchvue_type_script_lang_js_,
|
|
44158
|
-
|
|
44159
|
-
|
|
44167
|
+
top_searchvue_type_template_id_1cf5a5e4_render,
|
|
44168
|
+
top_searchvue_type_template_id_1cf5a5e4_staticRenderFns,
|
|
44160
44169
|
false,
|
|
44161
44170
|
null,
|
|
44162
44171
|
null,
|
|
@@ -44630,8 +44639,8 @@ var list_header_buttons_component = normalizeComponent(
|
|
|
44630
44639
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
44631
44640
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__("8bbf");
|
|
44632
44641
|
|
|
44633
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1bc84821-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/list-header-buttonNew.vue?vue&type=template&id=
|
|
44634
|
-
var
|
|
44642
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1bc84821-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/list-header-buttonNew.vue?vue&type=template&id=3669703d&scoped=true&
|
|
44643
|
+
var list_header_buttonNewvue_type_template_id_3669703d_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'ticketsmallfix theme-primary partition p-actions-expand ' + (_vm.isOpenResponsiveButtonBar ? 'p-actions-collapse': ''),staticStyle:{"overflow":"visible"}},[(_vm.isShowHeaderText)?_c('span',{staticClass:"p-name text-white"},[_vm._v(_vm._s(_vm.header))]):_vm._e(),(_vm.View_List != null && _vm.View_List != '' && _vm.View_List.length > 0)?_c('span',{staticClass:"p-name text-white px-2",attrs:{"id":"titleName"}},[_c('select',{directives:[{name:"model",rawName:"v-model",value:(_vm.ViewListId),expression:"ViewListId"}],staticClass:"form-control customized_ddl",attrs:{"tabindex":"1","name":"ViewList"},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.ViewListId=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.onchangeView($event)}]}},_vm._l((_vm.View_List),function(item,itemIndex){return _c('option',{key:itemIndex,domProps:{"value":item.VIEW_ID}},[_vm._v(_vm._s(item.VIEW_NAME))])}),0)]):_vm._e(),_vm._t("headerleftbuttons",null,{"data":{data: null}}),(_vm.View_List != null && _vm.View_List != '' && _vm.View_List.length > 0)?_c('span',{staticClass:"cursor-pointer"},[_c('i',{staticClass:"fa fa-pencil-square-o mt-3 text-white font-20",attrs:{"data-original-title":_vm.$t('ManageView'),"href":"javascript:;","title":_vm.$t('ManageView')},on:{"click":function($event){return _vm.ClickEvent({
|
|
44635
44644
|
title: 'ManageView',
|
|
44636
44645
|
iconClass: 'fa-list-alt',
|
|
44637
44646
|
callbackfunction: 'ManageView',
|
|
@@ -44639,11 +44648,11 @@ var list_header_buttonNewvue_type_template_id_00a1b2b3_scoped_true_render = func
|
|
|
44639
44648
|
isdisabled: false,
|
|
44640
44649
|
isvisible: true,
|
|
44641
44650
|
checkPrivilege: false
|
|
44642
|
-
})}}})]):_vm._e(),_c('span',{staticClass:"p-actions float-right"},[_vm._l((_vm.icons),function(item,index){return (index < 4 || _vm.isOpenResponsiveButtonBar == true)?[((item.isvisible && typeof item.callbackfunction != 'undefined') )?_c('a',{class:{'p-action-btn text-white ': true, 'disabled': item.isdisabled },attrs:{"id":item.id,"Key":item,"title":_vm
|
|
44643
|
-
var
|
|
44651
|
+
})}}})]):_vm._e(),_c('span',{staticClass:"p-actions float-right"},[_vm._l((_vm.icons),function(item,index){return (index < 4 || _vm.isOpenResponsiveButtonBar == true)?[((item.isvisible && typeof item.callbackfunction != 'undefined') )?_c('a',{class:{'p-action-btn text-white ': true, 'disabled': item.isdisabled },attrs:{"id":item.id,"Key":item,"title":_vm.showUserGuide(item),"href":"javascript:;"},on:{"click":function($event){return _vm.ClickEvent(item)}}},[_c('em',{class:'fa ' + item.iconClass}),_vm._v(" "),_c('br'),_c('span',[_vm._v(_vm._s(_vm.$t(item.title)))])]):_vm._e(),(item.isvisible && typeof item.callbackfunction == 'undefined')?_c('RouterLink',{class:{'p-action-btn text-white dash ': true, 'disabled': item.isdisabled },attrs:{"to":item.href,"id":item.id,"Key":item,"title":_vm.showUserGuide(item),"checkPrivilege":(item.checkPrivilege ? 'yes':'')}},[_c('em',{class:'fa ' + item.iconClass},[_c('br')]),_vm._v(" "),_c('br'),_c('span',[_vm._v(" "+_vm._s(_vm.$t(item.title)))])]):_vm._e()]:_vm._e()}),(_vm.icons.length > 4 && _vm.isOpenResponsiveButtonBar == false)?_c('a',{staticClass:"p-action-btn text-white invaction",attrs:{"href":"javascript:;","title":_vm.$t('Action')}},[_c('i',{staticClass:"fa fa-ellipsis-h",attrs:{"aria-hidden":"true"}}),_c('br'),_vm._v(_vm._s(_vm.$t('Action'))+" ")]):_vm._e(),(_vm.listType.length > 1)?_c('select',{directives:[{name:"model",rawName:"v-model",value:(_vm.selectedView),expression:"selectedView"}],staticClass:"form-control customized_ddl m-2",staticStyle:{"width":"130px"},attrs:{"id":"ddlUserCurrentStatus","asp-custom-tabindex":"1","name":"ddlUserCurrentStatus"},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.selectedView=$event.target.multiple ? $$selectedVal : $$selectedVal[0]},function($event){return _vm.ChangeViewEvent(_vm.selectedView)}]}},_vm._l((_vm.listType),function(view){return _c('option',{domProps:{"value":view}},[_vm._v(_vm._s(view)+" "+_vm._s(_vm.$t('View')))])}),0):_vm._e()],2),_c('span',{staticClass:"action-list-box-ddl expand",staticStyle:{"z-index":"999","padding":"0px 10px","right":"0px","line-height":"16px","display":"none","position":"absolute","top":"50px","color":"rgb(17, 17, 17)","overflow":"auto","width":"224px"}},[_c('span',{staticClass:"list-actions w-100 fsm-list",staticStyle:{"font-size":"14px"},attrs:{"id":"action-list"}},[_vm._l((_vm.icons),function(item,itemindex){return (itemindex > 3)?[((item.isvisible && typeof item.callbackfunction != 'undefined'))?_c('a',{key:itemindex,class:{ 'actions-onclick ': true, 'disabled': item.isdisabled },attrs:{"id":item.id,"Key":item,"title":_vm.showUserGuide(item),"href":"javascript:;"},on:{"click":function($event){return _vm.ClickEvent(item)}}},[_c('br'),_c('em',{class:'fa ' + item.iconClass}),_c('br'),_c('span',[_vm._v(_vm._s(_vm.$t(item.title)))])]):_vm._e(),(item.isvisible && typeof item.callbackfunction == 'undefined')?_c('RouterLink',{class:{ 'actions-onclick ': true, 'disabled': item.isdisabled },attrs:{"to":item.href,"id":item.id,"Key":item,"title":_vm.showUserGuide(item),"checkPrivilege":(item.checkPrivilege ? 'yes' : '')}},[_c('br'),_c('em',{class:'fa ' + item.iconClass},[_c('br')]),_c('br'),_c('span',[_vm._v(" "+_vm._s(_vm.$t(item.title)))])]):_vm._e()]:_vm._e()}),_vm._m(0)],2)]),_c('span',{staticClass:"collapse-head-btns"},[_c('a',{staticClass:"collapse-btns",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.openResponsiveButtonBar()}}},[_c('i',{class:'fa fa-angle-down text-white ' + (_vm.isOpenResponsiveButtonBar? 'fa-angle-up': 'fa-angle-down')})])])],2)}
|
|
44652
|
+
var list_header_buttonNewvue_type_template_id_3669703d_scoped_true_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',[_c('i',{staticClass:"fa fa-times close close-action",attrs:{"id":"closeaction","aria-hidden":"true"}})])}]
|
|
44644
44653
|
|
|
44645
44654
|
|
|
44646
|
-
// CONCATENATED MODULE: ./src/components/list-header-buttonNew.vue?vue&type=template&id=
|
|
44655
|
+
// CONCATENATED MODULE: ./src/components/list-header-buttonNew.vue?vue&type=template&id=3669703d&scoped=true&
|
|
44647
44656
|
|
|
44648
44657
|
// 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/list-header-buttonNew.vue?vue&type=script&lang=js&
|
|
44649
44658
|
|
|
@@ -44806,13 +44815,20 @@ var list_header_buttonNewvue_type_template_id_00a1b2b3_scoped_true_staticRenderF
|
|
|
44806
44815
|
var vm = this;
|
|
44807
44816
|
debugger;
|
|
44808
44817
|
vm.isOpenResponsiveButtonBar = !vm.isOpenResponsiveButtonBar;
|
|
44818
|
+
},
|
|
44819
|
+
showUserGuide: function showUserGuide(action) {
|
|
44820
|
+
if (action.hasOwnProperty("userGuide")) {
|
|
44821
|
+
return this.$t(action.userGuide);
|
|
44822
|
+
} else {
|
|
44823
|
+
return this.$t(action.title);
|
|
44824
|
+
}
|
|
44809
44825
|
}
|
|
44810
44826
|
}
|
|
44811
44827
|
});
|
|
44812
44828
|
// CONCATENATED MODULE: ./src/components/list-header-buttonNew.vue?vue&type=script&lang=js&
|
|
44813
44829
|
/* harmony default export */ var components_list_header_buttonNewvue_type_script_lang_js_ = (list_header_buttonNewvue_type_script_lang_js_);
|
|
44814
|
-
// EXTERNAL MODULE: ./src/components/list-header-buttonNew.vue?vue&type=style&index=0&id=
|
|
44815
|
-
var
|
|
44830
|
+
// EXTERNAL MODULE: ./src/components/list-header-buttonNew.vue?vue&type=style&index=0&id=3669703d&scoped=true&lang=css&
|
|
44831
|
+
var list_header_buttonNewvue_type_style_index_0_id_3669703d_scoped_true_lang_css_ = __webpack_require__("5af8");
|
|
44816
44832
|
|
|
44817
44833
|
// CONCATENATED MODULE: ./src/components/list-header-buttonNew.vue
|
|
44818
44834
|
|
|
@@ -44825,11 +44841,11 @@ var list_header_buttonNewvue_type_style_index_0_id_00a1b2b3_scoped_true_lang_css
|
|
|
44825
44841
|
|
|
44826
44842
|
var list_header_buttonNew_component = normalizeComponent(
|
|
44827
44843
|
components_list_header_buttonNewvue_type_script_lang_js_,
|
|
44828
|
-
|
|
44829
|
-
|
|
44844
|
+
list_header_buttonNewvue_type_template_id_3669703d_scoped_true_render,
|
|
44845
|
+
list_header_buttonNewvue_type_template_id_3669703d_scoped_true_staticRenderFns,
|
|
44830
44846
|
false,
|
|
44831
44847
|
null,
|
|
44832
|
-
"
|
|
44848
|
+
"3669703d",
|
|
44833
44849
|
null
|
|
44834
44850
|
|
|
44835
44851
|
)
|
|
@@ -44845,6 +44861,12 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
44845
44861
|
|
|
44846
44862
|
|
|
44847
44863
|
|
|
44864
|
+
|
|
44865
|
+
|
|
44866
|
+
|
|
44867
|
+
|
|
44868
|
+
|
|
44869
|
+
|
|
44848
44870
|
//
|
|
44849
44871
|
//
|
|
44850
44872
|
//
|
|
@@ -45154,6 +45176,10 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
45154
45176
|
},
|
|
45155
45177
|
dataTruncateLength: {
|
|
45156
45178
|
type: Number
|
|
45179
|
+
},
|
|
45180
|
+
routeInfo: {
|
|
45181
|
+
type: Object,
|
|
45182
|
+
default: null
|
|
45157
45183
|
}
|
|
45158
45184
|
},
|
|
45159
45185
|
data: function data() {
|
|
@@ -45199,6 +45225,7 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
45199
45225
|
}
|
|
45200
45226
|
}
|
|
45201
45227
|
},
|
|
45228
|
+
created: function created() {},
|
|
45202
45229
|
mounted: function mounted() {
|
|
45203
45230
|
var ths = this;
|
|
45204
45231
|
var slots = this.$scopedSlots;
|
|
@@ -45210,6 +45237,7 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
45210
45237
|
this.DisabledHeaderButton = this.HeaderButtons.filter(function (x) {
|
|
45211
45238
|
return x.isdisabled == true;
|
|
45212
45239
|
});
|
|
45240
|
+
this.getQueryStringParams();
|
|
45213
45241
|
},
|
|
45214
45242
|
updated: function updated() {
|
|
45215
45243
|
/// Start ------------
|
|
@@ -45254,6 +45282,61 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
45254
45282
|
this.BindActionButtonEvent(); /// End of Code -----------------
|
|
45255
45283
|
},
|
|
45256
45284
|
methods: {
|
|
45285
|
+
getQueryStringParams: function getQueryStringParams() {
|
|
45286
|
+
var vm = this;
|
|
45287
|
+
|
|
45288
|
+
if (vm.routeInfo != null && vm.routeInfo.currentRoute != null && vm.routeInfo.currentRoute.query != null && _typeof(vm.routeInfo.currentRoute.query) === 'object') {
|
|
45289
|
+
var query = vm.routeInfo.currentRoute.query;
|
|
45290
|
+
vm.SearchFields.forEach(function (y) {
|
|
45291
|
+
if (y.paramName != null && query.hasOwnProperty(y.paramName)) {
|
|
45292
|
+
var queryVal = query[y.paramName];
|
|
45293
|
+
|
|
45294
|
+
if (y.fieldType == "date-range") {
|
|
45295
|
+
if (queryVal != "") {
|
|
45296
|
+
var arr = String(queryVal).split("|");
|
|
45297
|
+
y.value = arr[0];
|
|
45298
|
+
|
|
45299
|
+
try {
|
|
45300
|
+
y.secondValue = arr[1];
|
|
45301
|
+
} catch (e) {}
|
|
45302
|
+
}
|
|
45303
|
+
} else if (y.fieldType === 'searchableselect' && y.isMultiple && typeof queryVal === 'string') {
|
|
45304
|
+
// SearchableSelect multiple mode expects array; query param is comma-separated string.
|
|
45305
|
+
y.value = queryVal.split(',').map(function (s) {
|
|
45306
|
+
return s.trim();
|
|
45307
|
+
}).filter(Boolean);
|
|
45308
|
+
} else {
|
|
45309
|
+
y.value = queryVal;
|
|
45310
|
+
} // Call the field's onChange callback. SearchableSelect passes (field, value); others often use (field, event).
|
|
45311
|
+
|
|
45312
|
+
|
|
45313
|
+
if (typeof y.onChange === 'function') {
|
|
45314
|
+
try {
|
|
45315
|
+
if (y.fieldType === 'searchableselect') {
|
|
45316
|
+
y.onChange(y, y.value);
|
|
45317
|
+
} else {
|
|
45318
|
+
y.onChange(y, {
|
|
45319
|
+
target: {
|
|
45320
|
+
value: y.value
|
|
45321
|
+
}
|
|
45322
|
+
});
|
|
45323
|
+
}
|
|
45324
|
+
} catch (err) {
|
|
45325
|
+
console.warn('TgList getQueryStringParams: onChange failed for field', y.fieldName, err);
|
|
45326
|
+
}
|
|
45327
|
+
}
|
|
45328
|
+
}
|
|
45329
|
+
}); // After applying query params, trigger search so the list refreshes with filters.
|
|
45330
|
+
|
|
45331
|
+
vm.$nextTick(function () {
|
|
45332
|
+
if ((typeof vm.SearchPosition === 'undefined' || vm.SearchPosition == 'left') && vm.$refs.leftSearch && typeof vm.$refs.leftSearch.SearchData === 'function') {
|
|
45333
|
+
vm.$refs.leftSearch.SearchData();
|
|
45334
|
+
} else if (vm.SearchPosition == 'top' && vm.$refs.topSearch && typeof vm.$refs.topSearch.SearchData === 'function') {
|
|
45335
|
+
vm.$refs.topSearch.SearchData();
|
|
45336
|
+
}
|
|
45337
|
+
});
|
|
45338
|
+
}
|
|
45339
|
+
},
|
|
45257
45340
|
enabledataTruncate: function enabledataTruncate() {
|
|
45258
45341
|
if (typeof this.dataTruncateLength == "number") {
|
|
45259
45342
|
return true;
|
|
@@ -45278,6 +45361,15 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
45278
45361
|
// This method triggers when any Left search is performed and it emit the left-search-button-click propery of Tg List component
|
|
45279
45362
|
leftCommonSearch: function leftCommonSearch(value) {
|
|
45280
45363
|
this.$emit('LeftsearchButtonClick', value);
|
|
45364
|
+
|
|
45365
|
+
if (this.routeInfo != null) {
|
|
45366
|
+
this.routeInfo.replace({
|
|
45367
|
+
name: this.$route.name,
|
|
45368
|
+
query: value.json
|
|
45369
|
+
}).catch(function (err) {
|
|
45370
|
+
console.log(err);
|
|
45371
|
+
});
|
|
45372
|
+
}
|
|
45281
45373
|
},
|
|
45282
45374
|
// This method triggers when any paging is performed and it emit the pager-button-click propery of Tg List component
|
|
45283
45375
|
pagerMethod: function pagerMethod(value) {
|