tg-listv 0.0.88 → 0.0.90
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 +316 -61
- package/dist/tglistv.common.js.map +1 -1
- package/dist/tglistv.css +1 -1
- package/dist/tglistv.umd.js +316 -61
- 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
|
@@ -2853,7 +2853,7 @@ module.exports = {
|
|
|
2853
2853
|
|
|
2854
2854
|
/***/ }),
|
|
2855
2855
|
|
|
2856
|
-
/***/ "
|
|
2856
|
+
/***/ "58f1":
|
|
2857
2857
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2858
2858
|
|
|
2859
2859
|
// extracted by mini-css-extract-plugin
|
|
@@ -3362,6 +3362,17 @@ __webpack_require__("1c59");
|
|
|
3362
3362
|
module.exports = typeof window == 'object' && typeof Deno != 'object';
|
|
3363
3363
|
|
|
3364
3364
|
|
|
3365
|
+
/***/ }),
|
|
3366
|
+
|
|
3367
|
+
/***/ "6224":
|
|
3368
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3369
|
+
|
|
3370
|
+
"use strict";
|
|
3371
|
+
/* 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_DataTable_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("58f1");
|
|
3372
|
+
/* 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_DataTable_vue_vue_type_style_index_0_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_DataTable_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
3373
|
+
/* unused harmony reexport * */
|
|
3374
|
+
|
|
3375
|
+
|
|
3365
3376
|
/***/ }),
|
|
3366
3377
|
|
|
3367
3378
|
/***/ "6374":
|
|
@@ -10088,6 +10099,13 @@ function mergeFn (a, b) {
|
|
|
10088
10099
|
}
|
|
10089
10100
|
|
|
10090
10101
|
|
|
10102
|
+
/***/ }),
|
|
10103
|
+
|
|
10104
|
+
/***/ "9432":
|
|
10105
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
10106
|
+
|
|
10107
|
+
// extracted by mini-css-extract-plugin
|
|
10108
|
+
|
|
10091
10109
|
/***/ }),
|
|
10092
10110
|
|
|
10093
10111
|
/***/ "944a":
|
|
@@ -10157,6 +10175,17 @@ function _defineProperty(obj, key, value) {
|
|
|
10157
10175
|
|
|
10158
10176
|
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
10159
10177
|
|
|
10178
|
+
/***/ }),
|
|
10179
|
+
|
|
10180
|
+
/***/ "9783":
|
|
10181
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10182
|
+
|
|
10183
|
+
"use strict";
|
|
10184
|
+
/* 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_Autocomplete_vue_vue_type_style_index_0_id_c293aa98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9432");
|
|
10185
|
+
/* 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_Autocomplete_vue_vue_type_style_index_0_id_c293aa98_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_Autocomplete_vue_vue_type_style_index_0_id_c293aa98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
10186
|
+
/* unused harmony reexport * */
|
|
10187
|
+
|
|
10188
|
+
|
|
10160
10189
|
/***/ }),
|
|
10161
10190
|
|
|
10162
10191
|
/***/ "99af":
|
|
@@ -11697,17 +11726,6 @@ module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
|
|
11697
11726
|
};
|
|
11698
11727
|
|
|
11699
11728
|
|
|
11700
|
-
/***/ }),
|
|
11701
|
-
|
|
11702
|
-
/***/ "c6a9":
|
|
11703
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11704
|
-
|
|
11705
|
-
"use strict";
|
|
11706
|
-
/* 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_Autocomplete_vue_vue_type_style_index_0_id_723cadb2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("58ac");
|
|
11707
|
-
/* 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_Autocomplete_vue_vue_type_style_index_0_id_723cadb2_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_Autocomplete_vue_vue_type_style_index_0_id_723cadb2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
11708
|
-
/* unused harmony reexport * */
|
|
11709
|
-
|
|
11710
|
-
|
|
11711
11729
|
/***/ }),
|
|
11712
11730
|
|
|
11713
11731
|
/***/ "c6b6":
|
|
@@ -17537,10 +17555,10 @@ if (typeof window !== 'undefined') {
|
|
|
17537
17555
|
// Indicate to webpack that this file can be concatenated
|
|
17538
17556
|
/* harmony default export */ var setPublicPath = (null);
|
|
17539
17557
|
|
|
17540
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TgList.vue?vue&type=template&id=
|
|
17558
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TgList.vue?vue&type=template&id=76168742&
|
|
17541
17559
|
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)?_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)),"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){
|
|
17542
17560
|
var data = ref.data;
|
|
17543
|
-
return [_vm._t("headerleftbuttons",null,{"data":{data: data}})]}}],null,true)})],1):_vm._e(),(( _vm.SearchPosition == 'top') && _vm.SearchFields)?_c('div',{staticClass:"top-menu-tab
|
|
17561
|
+
return [_vm._t("headerleftbuttons",null,{"data":{data: data}})]}}],null,true)})],1):_vm._e(),(( _vm.SearchPosition == 'top') && _vm.SearchFields)?_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 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},on:{"sortdata":_vm.sortdata,"ButtonClick":_vm.actionButtonClick,"PagerMethod":_vm.pagerMethod,"EventOfCheckbox":_vm.onChangeEventOfCheckbox},scopedSlots:_vm._u([{key:"slotdata",fn:function(ref){
|
|
17544
17562
|
var data = ref.data;
|
|
17545
17563
|
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},on:{"PagerMethod":_vm.pagerMethod,"ButtonClick":_vm.actionButtonClick,"EventOfCheckbox":_vm.onChangeEventOfCheckbox},scopedSlots:_vm._u([{key:"slotdata",fn:function(ref){
|
|
17546
17564
|
var data = ref.data;
|
|
@@ -17554,7 +17572,7 @@ return [_vm._t("customcard",null,{"data":{row:data.row,columnlist:data.columnlis
|
|
|
17554
17572
|
var staticRenderFns = []
|
|
17555
17573
|
|
|
17556
17574
|
|
|
17557
|
-
// CONCATENATED MODULE: ./src/components/TgList.vue?vue&type=template&id=
|
|
17575
|
+
// CONCATENATED MODULE: ./src/components/TgList.vue?vue&type=template&id=76168742&
|
|
17558
17576
|
|
|
17559
17577
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
|
17560
17578
|
var es_symbol = __webpack_require__("a4d3");
|
|
@@ -17612,20 +17630,23 @@ var web_dom_collections_for_each = __webpack_require__("159b");
|
|
|
17612
17630
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
17613
17631
|
var es_array_from = __webpack_require__("a630");
|
|
17614
17632
|
|
|
17615
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DataTable.vue?vue&type=template&id=
|
|
17616
|
-
var
|
|
17633
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DataTable.vue?vue&type=template&id=5e7b1317&
|
|
17634
|
+
var DataTablevue_type_template_id_5e7b1317_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}},[(item.VISIBLE && item.SORTABLE == true && _vm.isChild == false)?_c('span',{class:{
|
|
17617
17635
|
'sort': item.SORTABLE == true,
|
|
17618
17636
|
'tb_headerSortUp': _vm.SortExp == 'ASC' && _vm.SortBy == item.COLUMN_NAME,
|
|
17619
17637
|
'tb_headerSortDown':
|
|
17620
17638
|
_vm.SortExp == 'DESC' && _vm.SortBy == item.COLUMN_NAME,
|
|
17621
|
-
},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._e()]}),(_vm.IsShowAction == true)?_c('th',{staticClass:"nonresize text-center"},[_c('span',[_vm._v(_vm._s(_vm.$t('Action')))])]):_vm._e()],2)]),_c('tbody',[_vm._l((_vm.Data),function(item,dataIndex){return [_c('tr',{class:item.additionalClass,style:(item.CssStyle)},[((typeof(_vm.showCheckBox) === 'undefined' || _vm.showCheckBox == true))?_c('td',{staticClass:"text-center"},[_c('label',{class:{'form-check form-check-inline' : true},attrs:{"disabled":item.isCheckBoxDisabled}},[(_vm.selectionType == 'multiple')?_c('div',{staticClass:"custom-control custom-checkbox custom-control-inline"},[_c('input',{staticClass:"chkItems custom-control-input",attrs:{"id":'Checkbox_'+ _vm.randomNumberForIds + '_' + dataIndex,"disabled":item.isCheckBoxDisabled,"type":"checkbox"},domProps:{"checked":item.isSelected,"value":item[_vm.identityColumn]},on:{"change":function($event){return _vm.onChangeEventOfCheckbox($event, item)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'Checkbox_'+ _vm.randomNumberForIds + '_' + dataIndex}})]):_vm._e(),(_vm.selectionType == 'single')?_c('div',{staticClass:"custom-control custom-radio custom-control-inline"},[_c('input',{staticClass:"chkItems custom-control-input",attrs:{"name":'radiobox_'+ _vm.randomNumberForIds,"disabled":item.isCheckBoxDisabled,"type":"radio"},domProps:{"checked":item.isSelected,"value":item[_vm.identityColumn]},on:{"change":function($event){return _vm.onChangeEventOfRadiobox($event, item)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'radiobox__'+ _vm.randomNumberForIds + '_' + dataIndex}})]):_vm._e()])]):_vm._e(),_vm._l((_vm.Headers),function(key,headerIndex){return [(key.VISIBLE)?_c('td',{key:headerIndex,class:
|
|
17639
|
+
},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',[_vm._t("slotdata",null,{"data":{row:item,column:key}})],2)]:[(typeof(item.child) != 'undefined' && item.child.isShowExpandButton == true && item.child.isShowChild == false && headerIndex == 0)?_c('a',{staticClass:"parentwithchild d-inline-block parent-childrow chkItems",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.onExpndChild(item)}}},[_c('i',{staticClass:"fa fa-chevron-right"})]):_vm._e(),(typeof(item.child) != 'undefined' && item.child.isShowExpandButton == true && item.child.isShowChild == true && headerIndex == 0)?_c('a',{staticClass:"parentwithchild d-inline-block parent-childrow chkItems",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.onCollapeChild(item)}}},[_c('i',{staticClass:"fa fa-chevron-down"})]):_vm._e(),((key.DATA_TYPE=='date' || key.DATA_TYPE=='datetime') && (key.DATA_TYPE !='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.formatDate(item[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE=='decimal' || key.DATA_TYPE=='int' || key.DATA_TYPE=='bigint'))?_c('span',[_vm._v(_vm._s(_vm.$n(item[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE=='currency'))?_c('span',[_vm._v(_vm._s(_vm.$n(item[key.COLUMN_NAME], 'currency')))]):_vm._e(),((key.DATA_TYPE!='date' && key.DATA_TYPE!='datetime' && key.DATA_TYPE!='decimal' && key.DATA_TYPE != 'int' && key.DATA_TYPE != 'bigint'))?_c('span',{attrs:{"title":item[key.COLUMN_NAME]}},[(typeof(key.settings) != 'undefined' && key.settings != null
|
|
17622
17640
|
&& typeof(key.settings.clickEvent) != 'undefined' && key.settings.clickEvent != null && key.settings.isInSlot != true)?_c('RouterLink',{attrs:{"id":"viewLeadeContent_a","to":typeof(item.rowDetailsUrl)!='undefined' ? item.rowDetailsUrl : ''},nativeOn:{"click":function($event){return _vm.clickEventCheck(key,item)}}},[_vm._v(" "+_vm._s(((typeof(key.settings.formatter) === 'function')?key.settings.formatter(item, key):_vm.TruncateStr(item[key.COLUMN_NAME],30)))+" ")]):_vm._e(),(typeof(key.settings) != 'undefined' && key.settings != null && (typeof(key.settings.clickEvent) === 'undefined' || key.settings.clickEvent == null) && key.settings.isInSlot != true)?_c('span',{attrs:{"title":item[key.COLUMN_NAME]}},[_vm._v(_vm._s(((typeof(key.settings.formatter) === 'function')?key.settings.formatter(item, key):_vm.TruncateStr(item[key.COLUMN_NAME],30))))]):_vm._e(),(typeof(key.settings) === 'undefined' || key.settings == null)?_c('span',{attrs:{"title":item[key.COLUMN_NAME]}},[_vm._v(_vm._s(_vm.TruncateStr(item[key.COLUMN_NAME],30)))]):_vm._e()],1):_vm._e()]],2):_vm._e()]}),(_vm.IsShowAction == true)?_c('RowActions',{attrs:{"item":item,"index":dataIndex,"identityColumn":_vm.identityColumn,"listActionsMethod":_vm.renderRowActionMethod},on:{"ButtonClick":_vm.ButtonClick}}):_vm._e()],2),(typeof(item.child) != 'undefined' && item.child.isShowChild == true)?_c('tr',[_c('td',{attrs:{"colspan":(_vm.Headers.length + 2)}},[_c('data-table',{attrs:{"name":'child' + dataIndex,"Data":item.child.data,"noRecord":((typeof(item.child.data) != 'undefined' && item.child.data.length > 0) ? false: true),"Headers":(typeof(item.child.headers) != 'undefined' ? item.child.headers: _vm.Headers),"SortExp":_vm.SortExp,"SortBy":_vm.SortBy,"isChild":true,"UserPageSize":_vm.UserPageSize,"totalrecords":(typeof(item.child.data) != 'undefined' ? item.child.data.length: 0),"IsShowAction":_vm.IsShowAction,"renderRowActionMethod":_vm.renderRowActionMethod,"identityColumn":_vm.identityColumn,"subModuleCode":_vm.subModuleCode,"NorecordfoundText":_vm.NorecordfoundText,"showCheckBox":_vm.showCheckBox,"selectionType":_vm.selectionType},on:{"sortdata":_vm.sortdata,"ButtonClick":_vm.ChildButtonClick,"PagerMethod":_vm.pagerMethod,"EventOfCheckbox":_vm.onChangeEventOfCheckbox},scopedSlots:_vm._u([{key:"slotdata",fn:function(ref){
|
|
17623
17641
|
var data = ref.data;
|
|
17624
17642
|
return [_vm._t("slotdata",null,{"data":{row:data.row,column:data.column,listtype:_vm.selectedView}})]}}],null,true)})],1)]):_vm._e()]}),(_vm.noRecord)?_c('tr',[_c('td',{staticClass:"text-center text-danger no-record",attrs:{"colspan":"17"}},[_vm._v(_vm._s(_vm.NorecordfoundText))])]):_vm._e()],2)])]),(_vm.isChild == false)?_c('Pager',{attrs:{"UserPageSize":_vm.UserPageSize,"numberofrecords":_vm.totalrecords,"prev-text":_vm.$t('Previous'),"first-text":_vm.$t('First'),"last-text":_vm.$t('Last'),"next-text":_vm.$t('Next')},on:{"SetCurrentPage":_vm.pagerMethod}}):_vm._e()],1)}
|
|
17625
|
-
var
|
|
17643
|
+
var DataTablevue_type_template_id_5e7b1317_staticRenderFns = []
|
|
17644
|
+
|
|
17626
17645
|
|
|
17646
|
+
// CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=template&id=5e7b1317&
|
|
17627
17647
|
|
|
17628
|
-
//
|
|
17648
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.json.stringify.js
|
|
17649
|
+
var es_json_stringify = __webpack_require__("e9c4");
|
|
17629
17650
|
|
|
17630
17651
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
17631
17652
|
var es_regexp_exec = __webpack_require__("ac1f");
|
|
@@ -17633,12 +17654,12 @@ var es_regexp_exec = __webpack_require__("ac1f");
|
|
|
17633
17654
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js
|
|
17634
17655
|
var es_regexp_test = __webpack_require__("00b4");
|
|
17635
17656
|
|
|
17636
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/RowActions.vue?vue&type=template&id=
|
|
17637
|
-
var
|
|
17638
|
-
var
|
|
17657
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/RowActions.vue?vue&type=template&id=9e09db04&
|
|
17658
|
+
var RowActionsvue_type_template_id_9e09db04_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('justWraper',{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",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.$t(action.title),"typefor":_vm.$t(action.title),"value":_vm.item[_vm.identityColumn],"title":_vm.$t(action.title)},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.$t(action.title)}},[_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",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.$t(action.title),"typefor":_vm.$t(action.title),"value":_vm.item[_vm.identityColumn],"title":_vm.$t(action.title)},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.$t(action.title)}},[_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.$t(action.title),"typefor":_vm.$t(action.title),"value":_vm.item[_vm.identityColumn],"title":_vm.$t(action.title),"data-toggle-tooltip":"tooltip","data-original-title":_vm.$t(action.title)},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":action.title}},[_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.$t(action.title),"typefor":_vm.$t(action.title),"value":_vm.item[_vm.identityColumn],"title":_vm.$t(action.title)},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.$t(action.title)}},[_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)}
|
|
17659
|
+
var RowActionsvue_type_template_id_9e09db04_staticRenderFns = []
|
|
17639
17660
|
|
|
17640
17661
|
|
|
17641
|
-
// CONCATENATED MODULE: ./src/components/RowActions.vue?vue&type=template&id=
|
|
17662
|
+
// CONCATENATED MODULE: ./src/components/RowActions.vue?vue&type=template&id=9e09db04&
|
|
17642
17663
|
|
|
17643
17664
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
17644
17665
|
var es_string_replace = __webpack_require__("5319");
|
|
@@ -17731,6 +17752,7 @@ var es_array_join = __webpack_require__("a15b");
|
|
|
17731
17752
|
//
|
|
17732
17753
|
//
|
|
17733
17754
|
//
|
|
17755
|
+
//
|
|
17734
17756
|
/* harmony default export */ var RowActionsvue_type_script_lang_js_ = ({
|
|
17735
17757
|
props: {
|
|
17736
17758
|
item: {
|
|
@@ -17912,8 +17934,8 @@ function normalizeComponent (
|
|
|
17912
17934
|
|
|
17913
17935
|
var component = normalizeComponent(
|
|
17914
17936
|
components_RowActionsvue_type_script_lang_js_,
|
|
17915
|
-
|
|
17916
|
-
|
|
17937
|
+
RowActionsvue_type_template_id_9e09db04_render,
|
|
17938
|
+
RowActionsvue_type_template_id_9e09db04_staticRenderFns,
|
|
17917
17939
|
false,
|
|
17918
17940
|
null,
|
|
17919
17941
|
null,
|
|
@@ -18149,6 +18171,17 @@ var Pager_component = normalizeComponent(
|
|
|
18149
18171
|
|
|
18150
18172
|
|
|
18151
18173
|
|
|
18174
|
+
|
|
18175
|
+
|
|
18176
|
+
|
|
18177
|
+
|
|
18178
|
+
|
|
18179
|
+
//
|
|
18180
|
+
//
|
|
18181
|
+
//
|
|
18182
|
+
//
|
|
18183
|
+
//
|
|
18184
|
+
//
|
|
18152
18185
|
//
|
|
18153
18186
|
//
|
|
18154
18187
|
//
|
|
@@ -18358,6 +18391,10 @@ var Pager_component = normalizeComponent(
|
|
|
18358
18391
|
selectionType: {
|
|
18359
18392
|
type: String,
|
|
18360
18393
|
default: "multiple"
|
|
18394
|
+
},
|
|
18395
|
+
tableClasses: {
|
|
18396
|
+
type: String,
|
|
18397
|
+
default: "table-fix-header"
|
|
18361
18398
|
}
|
|
18362
18399
|
},
|
|
18363
18400
|
watch: {
|
|
@@ -18366,6 +18403,20 @@ var Pager_component = normalizeComponent(
|
|
|
18366
18403
|
},
|
|
18367
18404
|
UserPageSize: function UserPageSize(value) {
|
|
18368
18405
|
this.PageSize = value;
|
|
18406
|
+
},
|
|
18407
|
+
Data: function Data() {
|
|
18408
|
+
// Reapply column widths when data changes
|
|
18409
|
+
var ths = this;
|
|
18410
|
+
this.$nextTick(function () {
|
|
18411
|
+
ths.applyColumnWidths();
|
|
18412
|
+
});
|
|
18413
|
+
},
|
|
18414
|
+
Headers: function Headers() {
|
|
18415
|
+
// Reapply column widths when headers change
|
|
18416
|
+
var ths = this;
|
|
18417
|
+
this.$nextTick(function () {
|
|
18418
|
+
ths.applyColumnWidths();
|
|
18419
|
+
});
|
|
18369
18420
|
}
|
|
18370
18421
|
},
|
|
18371
18422
|
data: function data() {
|
|
@@ -18373,10 +18424,192 @@ var Pager_component = normalizeComponent(
|
|
|
18373
18424
|
showActions: this.NewArray(100),
|
|
18374
18425
|
Actions: [],
|
|
18375
18426
|
TotalRecords: 0,
|
|
18376
|
-
PageSize: this.UserPageSize
|
|
18427
|
+
PageSize: this.UserPageSize,
|
|
18428
|
+
columnWidths: {},
|
|
18429
|
+
isResizing: false,
|
|
18430
|
+
resizingColumn: null,
|
|
18431
|
+
startX: 0,
|
|
18432
|
+
startWidth: 0
|
|
18377
18433
|
};
|
|
18378
18434
|
},
|
|
18435
|
+
mounted: function mounted() {
|
|
18436
|
+
this.loadColumnWidths();
|
|
18437
|
+
this.applyColumnWidths();
|
|
18438
|
+
},
|
|
18379
18439
|
methods: {
|
|
18440
|
+
getColumnStyle: function getColumnStyle(item) {
|
|
18441
|
+
var style = {};
|
|
18442
|
+
|
|
18443
|
+
if (item.COLUMN_NAME == 'status_name') {
|
|
18444
|
+
style.width = '10%';
|
|
18445
|
+
} else if (this.columnWidths[item.COLUMN_NAME]) {
|
|
18446
|
+
style.width = this.columnWidths[item.COLUMN_NAME] + 'px';
|
|
18447
|
+
style.minWidth = this.columnWidths[item.COLUMN_NAME] + 'px';
|
|
18448
|
+
}
|
|
18449
|
+
|
|
18450
|
+
return style;
|
|
18451
|
+
},
|
|
18452
|
+
loadColumnWidths: function loadColumnWidths() {
|
|
18453
|
+
if (this.isChild) return;
|
|
18454
|
+
|
|
18455
|
+
try {
|
|
18456
|
+
var storageKey = 'tglist_column_widths_' + this.subModuleCode;
|
|
18457
|
+
var savedWidths = localStorage.getItem(storageKey);
|
|
18458
|
+
|
|
18459
|
+
if (savedWidths) {
|
|
18460
|
+
this.columnWidths = JSON.parse(savedWidths);
|
|
18461
|
+
}
|
|
18462
|
+
} catch (e) {
|
|
18463
|
+
console.error('Error loading column widths:', e);
|
|
18464
|
+
}
|
|
18465
|
+
},
|
|
18466
|
+
saveColumnWidths: function saveColumnWidths() {
|
|
18467
|
+
if (this.isChild) return;
|
|
18468
|
+
|
|
18469
|
+
try {
|
|
18470
|
+
var storageKey = 'tglist_column_widths_' + this.subModuleCode;
|
|
18471
|
+
localStorage.setItem(storageKey, JSON.stringify(this.columnWidths));
|
|
18472
|
+
} catch (e) {
|
|
18473
|
+
console.error('Error saving column widths:', e);
|
|
18474
|
+
}
|
|
18475
|
+
},
|
|
18476
|
+
applyColumnWidths: function applyColumnWidths() {
|
|
18477
|
+
var ths = this;
|
|
18478
|
+
this.$nextTick(function () {
|
|
18479
|
+
if (ths.isChild) return;
|
|
18480
|
+
ths.Headers.forEach(function (header) {
|
|
18481
|
+
if (header.VISIBLE && ths.columnWidths[header.COLUMN_NAME]) {
|
|
18482
|
+
var width = ths.columnWidths[header.COLUMN_NAME] + 'px';
|
|
18483
|
+
var thElement = document.getElementById(header.COLUMN_NAME);
|
|
18484
|
+
|
|
18485
|
+
if (thElement) {
|
|
18486
|
+
thElement.style.width = width;
|
|
18487
|
+
thElement.style.minWidth = width; // Also apply to corresponding td elements
|
|
18488
|
+
|
|
18489
|
+
var tableId = 'tablelistingdata_' + ths.randomNumberForIds;
|
|
18490
|
+
var table = document.getElementById(tableId);
|
|
18491
|
+
|
|
18492
|
+
if (table) {
|
|
18493
|
+
var rows = table.querySelectorAll('tbody tr');
|
|
18494
|
+
rows.forEach(function (row) {
|
|
18495
|
+
var cells = row.querySelectorAll('td'); // Find the td that corresponds to this column
|
|
18496
|
+
// We need to match by column index in the header
|
|
18497
|
+
|
|
18498
|
+
var headerRow = thElement.parentNode;
|
|
18499
|
+
var allThs = Array.from(headerRow.querySelectorAll('th'));
|
|
18500
|
+
var columnIndex = allThs.indexOf(thElement);
|
|
18501
|
+
|
|
18502
|
+
if (cells[columnIndex]) {
|
|
18503
|
+
cells[columnIndex].style.width = width;
|
|
18504
|
+
cells[columnIndex].style.minWidth = width;
|
|
18505
|
+
}
|
|
18506
|
+
});
|
|
18507
|
+
}
|
|
18508
|
+
}
|
|
18509
|
+
}
|
|
18510
|
+
});
|
|
18511
|
+
});
|
|
18512
|
+
},
|
|
18513
|
+
startResize: function startResize(event, columnName) {
|
|
18514
|
+
var ths = this;
|
|
18515
|
+
if (ths.isChild) return;
|
|
18516
|
+
event.preventDefault();
|
|
18517
|
+
event.stopPropagation();
|
|
18518
|
+
ths.isResizing = true;
|
|
18519
|
+
ths.resizingColumn = columnName;
|
|
18520
|
+
ths.startX = event.pageX;
|
|
18521
|
+
var thElement = document.getElementById(columnName);
|
|
18522
|
+
|
|
18523
|
+
if (thElement) {
|
|
18524
|
+
ths.startWidth = thElement.offsetWidth;
|
|
18525
|
+
}
|
|
18526
|
+
|
|
18527
|
+
var onResizeHandler = function onResizeHandler(e) {
|
|
18528
|
+
ths.onResize(e);
|
|
18529
|
+
};
|
|
18530
|
+
|
|
18531
|
+
var stopResizeHandler = function stopResizeHandler(e) {
|
|
18532
|
+
ths.stopResize(e);
|
|
18533
|
+
};
|
|
18534
|
+
|
|
18535
|
+
ths._onResizeHandler = onResizeHandler;
|
|
18536
|
+
ths._stopResizeHandler = stopResizeHandler;
|
|
18537
|
+
document.addEventListener('mousemove', onResizeHandler);
|
|
18538
|
+
document.addEventListener('mouseup', stopResizeHandler);
|
|
18539
|
+
document.body.style.cursor = 'col-resize';
|
|
18540
|
+
document.body.style.userSelect = 'none';
|
|
18541
|
+
},
|
|
18542
|
+
onResize: function onResize(event) {
|
|
18543
|
+
if (!this.isResizing || !this.resizingColumn) return;
|
|
18544
|
+
var diff = event.pageX - this.startX;
|
|
18545
|
+
var newWidth = Math.max(50, this.startWidth + diff);
|
|
18546
|
+
var thElement = document.getElementById(this.resizingColumn);
|
|
18547
|
+
|
|
18548
|
+
if (thElement) {
|
|
18549
|
+
thElement.style.width = newWidth + 'px';
|
|
18550
|
+
thElement.style.minWidth = newWidth + 'px'; // Also update corresponding td elements
|
|
18551
|
+
|
|
18552
|
+
var tableId = 'tablelistingdata_' + this.randomNumberForIds;
|
|
18553
|
+
var table = document.getElementById(tableId);
|
|
18554
|
+
var ths = this;
|
|
18555
|
+
|
|
18556
|
+
if (table) {
|
|
18557
|
+
// Get all th elements in the header row
|
|
18558
|
+
var headerRow = thElement.parentNode;
|
|
18559
|
+
var thElements = Array.from(headerRow.querySelectorAll('th'));
|
|
18560
|
+
var columnIndex = thElements.indexOf(thElement);
|
|
18561
|
+
var rows = table.querySelectorAll('tbody tr');
|
|
18562
|
+
rows.forEach(function (row) {
|
|
18563
|
+
var cells = row.querySelectorAll('td');
|
|
18564
|
+
|
|
18565
|
+
if (cells[columnIndex]) {
|
|
18566
|
+
cells[columnIndex].style.width = newWidth + 'px';
|
|
18567
|
+
cells[columnIndex].style.minWidth = newWidth + 'px';
|
|
18568
|
+
}
|
|
18569
|
+
});
|
|
18570
|
+
}
|
|
18571
|
+
}
|
|
18572
|
+
},
|
|
18573
|
+
stopResize: function stopResize(event) {
|
|
18574
|
+
if (!this.isResizing) return;
|
|
18575
|
+
|
|
18576
|
+
if (this.resizingColumn) {
|
|
18577
|
+
var thElement = document.getElementById(this.resizingColumn);
|
|
18578
|
+
|
|
18579
|
+
if (thElement) {
|
|
18580
|
+
var finalWidth = thElement.offsetWidth;
|
|
18581
|
+
this.$set(this.columnWidths, this.resizingColumn, finalWidth);
|
|
18582
|
+
this.saveColumnWidths();
|
|
18583
|
+
}
|
|
18584
|
+
}
|
|
18585
|
+
|
|
18586
|
+
this.isResizing = false;
|
|
18587
|
+
this.resizingColumn = null;
|
|
18588
|
+
|
|
18589
|
+
if (this._onResizeHandler) {
|
|
18590
|
+
document.removeEventListener('mousemove', this._onResizeHandler);
|
|
18591
|
+
}
|
|
18592
|
+
|
|
18593
|
+
if (this._stopResizeHandler) {
|
|
18594
|
+
document.removeEventListener('mouseup', this._stopResizeHandler);
|
|
18595
|
+
}
|
|
18596
|
+
|
|
18597
|
+
document.body.style.cursor = '';
|
|
18598
|
+
document.body.style.userSelect = '';
|
|
18599
|
+
},
|
|
18600
|
+
tdClasses: function tdClasses(key, item) {
|
|
18601
|
+
var rtnValues = "";
|
|
18602
|
+
|
|
18603
|
+
if (typeof key.settings != 'undefined' && key.settings != null && typeof key.settings.tdClasses != 'undefined') {
|
|
18604
|
+
rtnValues += " " + key.settings.tdClasses;
|
|
18605
|
+
}
|
|
18606
|
+
|
|
18607
|
+
if (key.DATA_TYPE == 'decimal' || key.DATA_TYPE == 'currency' || key.DATA_TYPE == 'int' || key.DATA_TYPE == 'bigint') {
|
|
18608
|
+
rtnValues += " text-right";
|
|
18609
|
+
}
|
|
18610
|
+
|
|
18611
|
+
return rtnValues;
|
|
18612
|
+
},
|
|
18380
18613
|
onExpndChild: function onExpndChild(item) {
|
|
18381
18614
|
item.child.isShowChild = true;
|
|
18382
18615
|
|
|
@@ -18441,22 +18674,36 @@ var Pager_component = normalizeComponent(
|
|
|
18441
18674
|
clickEventCheck: function clickEventCheck(key, item) {
|
|
18442
18675
|
typeof key.settings.clickEvent === 'function' && typeof item.rowDetailsUrl === 'undefined' ? key.settings.clickEvent(item, key) : '';
|
|
18443
18676
|
}
|
|
18677
|
+
},
|
|
18678
|
+
beforeDestroy: function beforeDestroy() {
|
|
18679
|
+
// Clean up event listeners
|
|
18680
|
+
if (this._onResizeHandler) {
|
|
18681
|
+
document.removeEventListener('mousemove', this._onResizeHandler);
|
|
18682
|
+
}
|
|
18683
|
+
|
|
18684
|
+
if (this._stopResizeHandler) {
|
|
18685
|
+
document.removeEventListener('mouseup', this._stopResizeHandler);
|
|
18686
|
+
}
|
|
18444
18687
|
}
|
|
18445
18688
|
});
|
|
18446
18689
|
// CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=script&lang=js&
|
|
18447
18690
|
/* harmony default export */ var components_DataTablevue_type_script_lang_js_ = (DataTablevue_type_script_lang_js_);
|
|
18691
|
+
// EXTERNAL MODULE: ./src/components/DataTable.vue?vue&type=style&index=0&lang=css&
|
|
18692
|
+
var DataTablevue_type_style_index_0_lang_css_ = __webpack_require__("6224");
|
|
18693
|
+
|
|
18448
18694
|
// CONCATENATED MODULE: ./src/components/DataTable.vue
|
|
18449
18695
|
|
|
18450
18696
|
|
|
18451
18697
|
|
|
18452
18698
|
|
|
18453
18699
|
|
|
18700
|
+
|
|
18454
18701
|
/* normalize component */
|
|
18455
18702
|
|
|
18456
18703
|
var DataTable_component = normalizeComponent(
|
|
18457
18704
|
components_DataTablevue_type_script_lang_js_,
|
|
18458
|
-
|
|
18459
|
-
|
|
18705
|
+
DataTablevue_type_template_id_5e7b1317_render,
|
|
18706
|
+
DataTablevue_type_template_id_5e7b1317_staticRenderFns,
|
|
18460
18707
|
false,
|
|
18461
18708
|
null,
|
|
18462
18709
|
null,
|
|
@@ -18465,8 +18712,8 @@ var DataTable_component = normalizeComponent(
|
|
|
18465
18712
|
)
|
|
18466
18713
|
|
|
18467
18714
|
/* harmony default export */ var DataTable = (DataTable_component.exports);
|
|
18468
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/left-search.vue?vue&type=template&id=
|
|
18469
|
-
var
|
|
18715
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/left-search.vue?vue&type=template&id=1d3e129a&
|
|
18716
|
+
var left_searchvue_type_template_id_1d3e129a_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()}}},[_vm._m(0)]),_c('span',{on:{"click":function($event){return _vm.ClearFilter()}}},[_vm._m(1)]),_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"}],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"}],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"}],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('v-date-picker',{staticClass:"input-group",attrs:{"popover":_vm.popover,"model-config":_vm.modelConfig,"minute-increment":5,"name":'DateFrom'+fieldIndex,"change":_vm.SetMinMaxValueForDatePicker(field, 'datefrom')},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
18470
18717
|
var inputValue = ref.inputValue;
|
|
18471
18718
|
var inputEvents = ref.inputEvents;
|
|
18472
18719
|
var togglePopover = ref.togglePopover;
|
|
@@ -18475,10 +18722,10 @@ var inputValue = ref.inputValue;
|
|
|
18475
18722
|
var inputEvents = ref.inputEvents;
|
|
18476
18723
|
var togglePopover = ref.togglePopover;
|
|
18477
18724
|
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":_vm.getPlaceholder(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(2,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',{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"}],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',{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',{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"}],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',{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')))])])])}
|
|
18478
|
-
var
|
|
18725
|
+
var left_searchvue_type_template_id_1d3e129a_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","title":"Search","data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{staticClass:"collapsed",attrs:{"title":"Reset","href":"javascript:;","data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-repeat",attrs:{"aria-hidden":"true"}})])},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"})])])}]
|
|
18479
18726
|
|
|
18480
18727
|
|
|
18481
|
-
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=
|
|
18728
|
+
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=1d3e129a&
|
|
18482
18729
|
|
|
18483
18730
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
18484
18731
|
var es_array_find = __webpack_require__("7db0");
|
|
@@ -19009,18 +19256,18 @@ function _objectSpread2(target) {
|
|
|
19009
19256
|
|
|
19010
19257
|
return target;
|
|
19011
19258
|
}
|
|
19012
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Autocomplete.vue?vue&type=template&id=
|
|
19013
|
-
var
|
|
19259
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Autocomplete.vue?vue&type=template&id=c293aa98&scoped=true&
|
|
19260
|
+
var Autocompletevue_type_template_id_c293aa98_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"custom-autocomplete mt-0",class:{ 'is-disabled': _vm.disabled, 'has-error': _vm.hasError }},[(!_vm.multiple)?_c('div',{staticClass:"autocomplete-wrapper"},[_c('div',{staticClass:"input-group"},[_c('input',{ref:"input",staticClass:"form-control",class:{ 'is-invalid': _vm.hasError, 'form-control-sm': _vm.density === 'compact', 'form-control-lg': _vm.density === 'comfortable' },attrs:{"type":"text","placeholder":_vm.placeholder,"disabled":_vm.disabled},domProps:{"value":_vm.displayText},on:{"input":_vm.onInput,"focus":_vm.onFocus,"blur":_vm.onBlur,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }$event.preventDefault();return _vm.handleEnter.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-down",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateDown.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-up",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateUp.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"escape",undefined,$event.key,undefined)){ return null; }return _vm.closeMenu.apply(null, arguments)}]}}),_c('div',{staticClass:"input-group-append"},[(_vm.clearable && _vm.selectedValue)?_c('button',{staticClass:"btn btn-outline-secondary",attrs:{"type":"button","tabindex":"-1"},on:{"click":_vm.clearSelection}},[_c('i',{staticClass:"fa fa-times"})]):_vm._e(),_c('button',{staticClass:"btn btn-outline-secondary dropdown-toggle",class:{ 'active': _vm.isMenuOpen },attrs:{"type":"button","tabindex":"-1"},on:{"click":_vm.toggleMenu}},[_c('i',{staticClass:"fa",class:_vm.loading ? 'fa-spinner fa-spin' : 'fa-chevron-down'})])])]),(_vm.isMenuOpen)?_c('div',{ref:"menu",staticClass:"autocomplete-menu",style:({ maxHeight: _vm.menuMaxHeight + 'px' }),on:{"scroll":_vm.onMenuScroll}},[(_vm.loading && !_vm.hasItems)?_c('div',{staticClass:"autocomplete-loading"},[_vm._m(0),_c('div',{staticClass:"mt-2 text-muted small"},[_vm._v("Loading...")])]):(!_vm.loading && !_vm.hasItems && _vm.searchTerm.length >= _vm.minSearchLength)?_c('div',{staticClass:"autocomplete-no-data"},[_c('i',{staticClass:"fa fa-search text-muted",staticStyle:{"font-size":"2rem"}}),_c('div',{staticClass:"mt-2 text-muted"},[_vm._v(_vm._s(_vm.noDataText))]),_c('div',{staticClass:"text-muted small"},[_vm._v("Try adjusting your search terms")])]):(_vm.hasGrouping)?_c('div',{staticClass:"autocomplete-grouped"},_vm._l((_vm.paginatedGroupedItems),function(group,groupIndex){return _c('div',{key:group.group || groupIndex,staticClass:"autocomplete-group"},[_c('div',{staticClass:"autocomplete-group-header"},[(_vm.groupFields.length > 0)?_c('div',{staticClass:"d-flex flex-column"},[_c('div',{staticClass:"font-weight-bold font-14"},[_vm._v(_vm._s(group.group))]),(_vm.groupFields.length > 1)?_c('div',{staticClass:"small text-muted mt-1"},_vm._l((_vm.groupFields),function(field,idx){return _c('span',{key:field},[(idx > 0)?_c('span',[_vm._v(" • ")]):_vm._e(),(_vm.getGroupFieldValue(group, field))?_c('span',[_vm._v(_vm._s(field)+": "+_vm._s(_vm.getGroupFieldValue(group, field)))]):_vm._e()])}),0):_vm._e()]):_c('div',[_vm._v(_vm._s(group.group))])]),_c('ul',{staticClass:"list-group list-group-flush"},_vm._l((group.items),function(item,itemIndex){return _c('li',{key:_vm.getItemValue(item),staticClass:"list-group-item autocomplete-item",class:{
|
|
19014
19261
|
'active': _vm.getFlatIndex(groupIndex, itemIndex) === _vm.highlightedIndex,
|
|
19015
19262
|
'selected': _vm.isSelected(item)
|
|
19016
|
-
},staticStyle:{"cursor":"pointer"},on:{"click":function($event){$event.preventDefault();return _vm.selectItem(item, $event)},"mouseenter":function($event){_vm.highlightedIndex = _vm.getFlatIndex(groupIndex, itemIndex)}}},[_c('div',{staticClass:"d-flex align-items-center"},[(_vm.multiple)?_c('div',{staticClass:"autocomplete-checkbox-wrapper mr-2"},[_c('input',{staticClass:"autocomplete-checkbox",attrs:{"type":"checkbox","tabindex":"-1"},domProps:{"checked":_vm.isSelected(item)},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.selectItem(item, $event)}}}),(_vm.isSelected(item))?_c('i',{staticClass:"fa fa-check autocomplete-check-icon"}):_vm._e()]):_vm._e(),(item.raw && item.raw.category)?_c('span',{staticClass:"badge badge-secondary mr-2",staticStyle:{"font-size":"0.75rem"}},[_vm._v(" "+_vm._s(item.raw.category)+" ")]):_vm._e(),_c('div',{staticClass:"flex-grow-1"},[(_vm.itemFields.length > 0)?_c('div',{staticClass:"font-weight-400",class:{ 'text-dark': _vm.isSelected(item) },domProps:{"innerHTML":_vm._s(_vm.formatItemFields(item))}}):_c('div',{staticClass:"font-weight-400",class:{ 'text-dark': _vm.isSelected(item) }},[_vm._v(_vm._s(_vm.getItemText(item)))]),(!_vm.itemFields.length && _vm.getItemDescription(item))?_c('div',{staticClass:"text-muted small mt-1"},[_vm._v(_vm._s(_vm.getItemDescription(item)))]):_vm._e()]),(_vm.isSelected(item) && !_vm.multiple)?_c('i',{staticClass:"fa fa-check text-success ml-2",staticStyle:{"font-size":"1.1rem"}}):_vm._e()])])}),0)])}),0):_c('ul',{staticClass:"list-group list-group-flush"},_vm._l((_vm.paginatedDisplayItems),function(item,index){return _c('li',{key:_vm.getItemValue(item),staticClass:"list-group-item autocomplete-item",class:{ 'active': index === _vm.highlightedIndex, 'selected': _vm.isSelected(item) },staticStyle:{"cursor":"pointer"},on:{"click":function($event){$event.preventDefault();return _vm.selectItem(item, $event)},"mouseenter":function($event){_vm.highlightedIndex = index}}},[_c('div',{staticClass:"d-flex align-items-center"},[(_vm.multiple)?_c('input',{staticClass:"mr-2",attrs:{"type":"checkbox","tabindex":"-1"},domProps:{"checked":_vm.isSelected(item)},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.selectItem(item)}}}):_vm._e(),(item.raw && item.raw.category)?_c('span',{staticClass:"badge badge-primary mr-2"},[_vm._v(" "+_vm._s(item.raw.category)+" ")]):_vm._e(),_c('div',{staticClass:"flex-grow-1"},[(_vm.itemFields.length > 0)?_c('div',{staticClass:"font-weight-400",domProps:{"innerHTML":_vm._s(_vm.formatItemFields(item))}}):_c('div',{staticClass:"font-weight-400"},[_vm._v(_vm._s(_vm.getItemText(item)))]),(!_vm.itemFields.length && _vm.getItemDescription(item))?_c('div',{staticClass:"text-muted small mt-1"},[_vm._v(_vm._s(_vm.getItemDescription(item)))]):_vm._e()]),(_vm.isSelected(item) && !_vm.multiple)?_c('i',{staticClass:"fa fa-check text-primary ml-2"}):_vm._e()])])}),0)]):_vm._e()]):_c('div',{staticClass:"autocomplete-wrapper"},[_c('div',{staticClass:"input-group"},[_c('div',{staticClass:"form-control autocomplete-chips-container",class:{ 'is-invalid': _vm.hasError, 'form-control-sm': _vm.density === 'compact', 'form-control-lg': _vm.density === 'comfortable' }},[_c('div',{staticClass:"d-flex flex-wrap align-items-center"},[_vm._l((_vm.visibleChips),function(selectedItem,index){return [(index < _vm.maxVisibleChipsCount)?_c('span',{key:_vm.getItemValue(selectedItem),staticClass:"badge badge-primary mr-1 mb-1 pl-2 autocomplete-chip",attrs:{"title":_vm.getChipText(selectedItem)}},[_c('span',{staticClass:"autocomplete-chip-text",domProps:{"innerHTML":_vm._s(_vm.getChipText(selectedItem))}}),_c('button',{staticClass:"close ml-1 autocomplete-chip-close",attrs:{"type":"button","tabindex":"-1","aria-label":'Remove ' + (_vm.getChipText(selectedItem).replace(/<[^>]*>/g, ''))},on:{"click":function($event){$event.stopPropagation();_vm.removeItem(_vm.getItemValue(selectedItem))}}},[_c('span',{attrs:{"aria-hidden":"true"}},[_vm._v("×")])])]):_vm._e()]}),(_vm.remainingChipsCount > 0)?_c('span',{staticClass:"badge badge-secondary mr-1 mb-1 pl-2 autocomplete-chip autocomplete-chip-more",attrs:{"title":(_vm.remainingChipsCount + " more selected")}},[_c('span',{staticClass:"autocomplete-chip-text"},[_vm._v("+ "+_vm._s(_vm.remainingChipsCount)+" more")])]):_vm._e(),_c('input',{ref:"input",staticClass:"autocomplete-input-inline",attrs:{"type":"text","placeholder":_vm.selectedItems.length === 0 ? _vm.placeholder : '',"disabled":_vm.disabled},domProps:{"value":_vm.searchTerm},on:{"input":_vm.onInput,"focus":_vm.onFocus,"blur":_vm.onBlur,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }$event.preventDefault();return _vm.handleEnter.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-down",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateDown.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-up",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateUp.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"escape",undefined,$event.key,undefined)){ return null; }return _vm.closeMenu.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"backspace",undefined,$event.key,undefined)){ return null; }return _vm.handleBackspace.apply(null, arguments)}]}})],2)]),_c('div',{staticClass:"input-group-append"},[(_vm.clearable && (_vm.currentValue && (Array.isArray(_vm.currentValue) ? _vm.currentValue.length > 0 : true)))?_c('button',{staticClass:"btn btn-outline-secondary",attrs:{"type":"button","tabindex":"-1"},on:{"click":_vm.clearSelection}},[_c('i',{staticClass:"fa fa-times"})]):_vm._e(),_c('button',{staticClass:"btn btn-outline-secondary dropdown-toggle",class:{ 'active': _vm.isMenuOpen },attrs:{"type":"button","tabindex":"-1"},on:{"click":_vm.toggleMenu}},[_c('i',{staticClass:"fa",class:_vm.loading ? 'fa-spinner fa-spin' : 'fa-chevron-down'})])])]),(_vm.isMenuOpen)?_c('div',{ref:"menu",staticClass:"autocomplete-menu",style:({ maxHeight: _vm.menuMaxHeight + 'px' }),on:{"scroll":_vm.onMenuScroll}},[(_vm.hasActionButtons)?_c('div',{staticClass:"autocomplete-actions p-2 border-bottom"},[_c('div',{staticClass:"d-flex flex-wrap gap-1"},[(_vm.actionButtons.selectAll)?_c('button',{staticClass:"btn btn-sm btn-outline-primary",attrs:{"type":"button","disabled":_vm.disabled || _vm.allSelected},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.selectAll($event)}}},[_c('i',{staticClass:"fa fa-check-square mr-1"}),_vm._v(" Select All ")]):_vm._e(),(_vm.actionButtons.active)?_c('button',{staticClass:"btn btn-sm btn-outline-success",class:{ 'active': _vm.filterStatus === 'active' },attrs:{"type":"button","disabled":_vm.disabled},on:{"click":function($event){return _vm.filterByStatus('active')}}},[_c('i',{staticClass:"fa fa-check-circle mr-1"}),_vm._v(" Active ")]):_vm._e(),(_vm.actionButtons.inactive)?_c('button',{staticClass:"btn btn-sm btn-outline-secondary",class:{ 'active': _vm.filterStatus === 'inactive' },attrs:{"type":"button","disabled":_vm.disabled},on:{"click":function($event){return _vm.filterByStatus('inactive')}}},[_c('i',{staticClass:"fa fa-times-circle mr-1"}),_vm._v(" Inactive ")]):_vm._e(),(_vm.actionButtons.clear)?_c('button',{staticClass:"btn btn-sm btn-outline-danger",attrs:{"type":"button","disabled":_vm.disabled || !_vm.hasSelectedItems},on:{"click":_vm.clearSelection}},[_c('i',{staticClass:"fa fa-times mr-1"}),_vm._v(" Clear ")]):_vm._e()])]):_vm._e(),(_vm.loading && !_vm.hasItems)?_c('div',{staticClass:"autocomplete-loading"},[_vm._m(1),_c('div',{staticClass:"mt-2 text-muted small"},[_vm._v("Loading...")])]):(!_vm.loading && !_vm.hasItems && _vm.searchTerm.length >= _vm.minSearchLength)?_c('div',{staticClass:"autocomplete-no-data"},[_c('i',{staticClass:"fa fa-search text-muted",staticStyle:{"font-size":"2rem"}}),_c('div',{staticClass:"mt-2 text-muted"},[_vm._v(_vm._s(_vm.noDataText))]),_c('div',{staticClass:"text-muted small"},[_vm._v("Try adjusting your search terms")])]):(_vm.hasGrouping)?_c('div',{staticClass:"autocomplete-grouped"},_vm._l((_vm.paginatedGroupedItems),function(group,groupIndex){return _c('div',{key:group.group || groupIndex,staticClass:"autocomplete-group"},[_c('div',{staticClass:"autocomplete-group-header"},[(_vm.groupFields.length > 0)?_c('div',{staticClass:"d-flex flex-column"},[_c('div',{staticClass:"font-weight-bold"},[_vm._v(_vm._s(group.group))]),_c('div',{staticClass:"small text-muted mt-1"},_vm._l((_vm.groupFields),function(field,idx){return _c('span',{key:field},[(idx > 0)?_c('span',[_vm._v(" • ")]):_vm._e(),(_vm.getGroupFieldValue(group, field))?_c('span',[_vm._v(_vm._s(field)+": "+_vm._s(_vm.getGroupFieldValue(group, field)))]):_vm._e()])}),0)]):_c('div',[_vm._v(_vm._s(group.group))])]),_c('ul',{staticClass:"list-group list-group-flush"},_vm._l((group.items),function(item,itemIndex){return _c('li',{key:_vm.getItemValue(item),staticClass:"list-group-item autocomplete-item",class:{
|
|
19263
|
+
},staticStyle:{"cursor":"pointer"},on:{"click":function($event){$event.preventDefault();return _vm.selectItem(item, $event)},"mouseenter":function($event){_vm.highlightedIndex = _vm.getFlatIndex(groupIndex, itemIndex)}}},[_c('div',{staticClass:"d-flex align-items-center"},[(_vm.multiple)?_c('div',{staticClass:"autocomplete-checkbox-wrapper mr-2"},[_c('input',{staticClass:"autocomplete-checkbox",attrs:{"type":"checkbox","tabindex":"-1"},domProps:{"checked":_vm.isSelected(item)},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.selectItem(item, $event)}}}),(_vm.isSelected(item))?_c('i',{staticClass:"fa fa-check autocomplete-check-icon"}):_vm._e()]):_vm._e(),(item.raw && item.raw.category)?_c('span',{staticClass:"badge badge-secondary mr-2",staticStyle:{"font-size":"0.75rem"}},[_vm._v(" "+_vm._s(item.raw.category)+" ")]):_vm._e(),_c('div',{staticClass:"flex-grow-1"},[(_vm.itemFields.length > 0)?_c('div',{staticClass:"font-weight-400",class:{ 'text-dark': _vm.isSelected(item) },domProps:{"innerHTML":_vm._s(_vm.formatItemFields(item))}}):_c('div',{staticClass:"font-weight-400",class:{ 'text-dark': _vm.isSelected(item) }},[_vm._v(_vm._s(_vm.getItemText(item)))]),(!_vm.itemFields.length && _vm.getItemDescription(item))?_c('div',{staticClass:"text-muted small mt-1"},[_vm._v(_vm._s(_vm.getItemDescription(item)))]):_vm._e()]),(_vm.isSelected(item) && !_vm.multiple)?_c('i',{staticClass:"fa fa-check text-success ml-2",staticStyle:{"font-size":"1.1rem"}}):_vm._e()])])}),0)])}),0):_c('ul',{staticClass:"list-group list-group-flush"},_vm._l((_vm.paginatedDisplayItems),function(item,index){return _c('li',{key:_vm.getItemValue(item),staticClass:"list-group-item autocomplete-item",class:{ 'active': index === _vm.highlightedIndex, 'selected': _vm.isSelected(item) },staticStyle:{"cursor":"pointer"},on:{"click":function($event){$event.preventDefault();return _vm.selectItem(item, $event)},"mouseenter":function($event){_vm.highlightedIndex = index}}},[_c('div',{staticClass:"d-flex align-items-center"},[(_vm.multiple)?_c('input',{staticClass:"mr-2",attrs:{"type":"checkbox","tabindex":"-1"},domProps:{"checked":_vm.isSelected(item)},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.selectItem(item)}}}):_vm._e(),(item.raw && item.raw.category)?_c('span',{staticClass:"badge badge-primary mr-2"},[_vm._v(" "+_vm._s(item.raw.category)+" ")]):_vm._e(),_c('div',{staticClass:"flex-grow-1"},[(_vm.itemFields.length > 0)?_c('div',{staticClass:"font-weight-400",domProps:{"innerHTML":_vm._s(_vm.formatItemFields(item))}}):_c('div',{staticClass:"font-weight-400"},[_vm._v(_vm._s(_vm.getItemText(item)))]),(!_vm.itemFields.length && _vm.getItemDescription(item))?_c('div',{staticClass:"text-muted small mt-1"},[_vm._v(_vm._s(_vm.getItemDescription(item)))]):_vm._e()]),(_vm.isSelected(item) && !_vm.multiple)?_c('i',{staticClass:"fa fa-check text-primary ml-2"}):_vm._e()])])}),0)]):_vm._e()]):_c('div',{staticClass:"autocomplete-wrapper"},[_c('div',{staticClass:"input-group"},[_c('div',{staticClass:"form-control autocomplete-chips-container",class:{ 'is-invalid': _vm.hasError, 'form-control-sm': _vm.density === 'compact', 'form-control-lg': _vm.density === 'comfortable' }},[_c('div',{staticClass:"d-flex flex-wrap align-items-center"},[_vm._l((_vm.visibleChips),function(selectedItem,index){return [(index < _vm.maxVisibleChipsCount)?_c('span',{key:_vm.getItemValue(selectedItem),staticClass:"badge badge-primary mr-1 mb-1 pl-2 autocomplete-chip",attrs:{"title":_vm.getChipText(selectedItem)}},[_c('span',{staticClass:"autocomplete-chip-text",domProps:{"innerHTML":_vm._s(_vm.getChipText(selectedItem))}}),_c('button',{staticClass:"close ml-1 autocomplete-chip-close",attrs:{"type":"button","tabindex":"-1","aria-label":'Remove ' + (_vm.getChipText(selectedItem).replace(/<[^>]*>/g, ''))},on:{"click":function($event){$event.stopPropagation();_vm.removeItem(_vm.getItemValue(selectedItem))}}},[_c('span',{attrs:{"aria-hidden":"true"}},[_vm._v("×")])])]):_vm._e()]}),(_vm.remainingChipsCount > 0)?_c('span',{staticClass:"badge badge-secondary mr-1 mb-1 pl-2 autocomplete-chip autocomplete-chip-more",attrs:{"title":(_vm.remainingChipsCount + " more selected")}},[_c('span',{staticClass:"autocomplete-chip-text"},[_vm._v("+ "+_vm._s(_vm.remainingChipsCount)+" more")])]):_vm._e(),_c('input',{ref:"input",staticClass:"autocomplete-input-inline",attrs:{"type":"text","placeholder":_vm.selectedItems.length === 0 ? _vm.placeholder : '',"disabled":_vm.disabled},domProps:{"value":_vm.searchTerm},on:{"input":_vm.onInput,"focus":_vm.onFocus,"blur":_vm.onBlur,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }$event.preventDefault();return _vm.handleEnter.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-down",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateDown.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-up",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateUp.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"escape",undefined,$event.key,undefined)){ return null; }return _vm.closeMenu.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"backspace",undefined,$event.key,undefined)){ return null; }return _vm.handleBackspace.apply(null, arguments)}]}})],2)]),_c('div',{staticClass:"input-group-append"},[(_vm.clearable && (_vm.currentValue && (Array.isArray(_vm.currentValue) ? _vm.currentValue.length > 0 : true)))?_c('button',{staticClass:"btn btn-outline-secondary",attrs:{"type":"button","tabindex":"-1"},on:{"click":_vm.clearSelection}},[_c('i',{staticClass:"fa fa-times"})]):_vm._e(),_c('button',{staticClass:"btn btn-outline-secondary dropdown-toggle",class:{ 'active': _vm.isMenuOpen },attrs:{"type":"button","tabindex":"-1"},on:{"click":_vm.toggleMenu}},[_c('i',{staticClass:"fa",class:_vm.loading ? 'fa-spinner fa-spin' : 'fa-chevron-down'})])])]),(_vm.isMenuOpen)?_c('div',{ref:"menu",staticClass:"autocomplete-menu",style:({ maxHeight: _vm.menuMaxHeight + 'px' }),on:{"scroll":_vm.onMenuScroll}},[(_vm.hasActionButtons)?_c('div',{staticClass:"autocomplete-actions p-2 border-bottom"},[_c('div',{staticClass:"d-flex flex-wrap gap-1"},[(_vm.actionButtons.selectAll)?_c('button',{staticClass:"btn btn-sm btn-outline-primary",attrs:{"type":"button","disabled":_vm.disabled || _vm.allSelected},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.selectAll($event)}}},[_c('i',{staticClass:"fa fa-check-square mr-1"}),_vm._v(" Select All ")]):_vm._e(),(_vm.actionButtons.active)?_c('button',{staticClass:"btn btn-sm btn-outline-success",class:{ 'active': _vm.filterStatus === 'active' },attrs:{"type":"button","disabled":_vm.disabled},on:{"click":function($event){return _vm.filterByStatus('active')}}},[_c('i',{staticClass:"fa fa-check-circle mr-1"}),_vm._v(" Active ")]):_vm._e(),(_vm.actionButtons.inactive)?_c('button',{staticClass:"btn btn-sm btn-outline-secondary",class:{ 'active': _vm.filterStatus === 'inactive' },attrs:{"type":"button","disabled":_vm.disabled},on:{"click":function($event){return _vm.filterByStatus('inactive')}}},[_c('i',{staticClass:"fa fa-times-circle mr-1"}),_vm._v(" Inactive ")]):_vm._e(),(_vm.actionButtons.clear)?_c('button',{staticClass:"btn btn-sm btn-outline-danger",attrs:{"type":"button","disabled":_vm.disabled || !_vm.hasSelectedItems},on:{"click":_vm.clearSelection}},[_c('i',{staticClass:"fa fa-times mr-1"}),_vm._v(" Clear ")]):_vm._e()])]):_vm._e(),(_vm.loading && !_vm.hasItems)?_c('div',{staticClass:"autocomplete-loading"},[_vm._m(1),_c('div',{staticClass:"mt-2 text-muted small"},[_vm._v("Loading...")])]):(!_vm.loading && !_vm.hasItems && _vm.searchTerm.length >= _vm.minSearchLength)?_c('div',{staticClass:"autocomplete-no-data"},[_c('i',{staticClass:"fa fa-search text-muted",staticStyle:{"font-size":"2rem"}}),_c('div',{staticClass:"mt-2 text-muted"},[_vm._v(_vm._s(_vm.noDataText))]),_c('div',{staticClass:"text-muted small"},[_vm._v("Try adjusting your search terms")])]):(_vm.hasGrouping)?_c('div',{staticClass:"autocomplete-grouped"},_vm._l((_vm.paginatedGroupedItems),function(group,groupIndex){return _c('div',{key:group.group || groupIndex,staticClass:"autocomplete-group"},[_c('div',{staticClass:"autocomplete-group-header"},[(_vm.groupFields.length > 0)?_c('div',{staticClass:"d-flex flex-column"},[_c('div',{staticClass:"font-weight-bold font-14"},[_vm._v(_vm._s(group.group))]),(_vm.groupFields.length > 1)?_c('div',{staticClass:"small text-muted mt-1"},_vm._l((_vm.groupFields),function(field,idx){return _c('span',{key:field},[(idx > 0)?_c('span',[_vm._v(" • ")]):_vm._e(),(_vm.getGroupFieldValue(group, field))?_c('span',[_vm._v(_vm._s(field)+": "+_vm._s(_vm.getGroupFieldValue(group, field)))]):_vm._e()])}),0):_vm._e()]):_c('div',[_vm._v(_vm._s(group.group))])]),_c('ul',{staticClass:"list-group list-group-flush"},_vm._l((group.items),function(item,itemIndex){return _c('li',{key:_vm.getItemValue(item),staticClass:"list-group-item autocomplete-item",class:{
|
|
19017
19264
|
'active': _vm.getFlatIndex(groupIndex, itemIndex) === _vm.highlightedIndex,
|
|
19018
19265
|
'selected': _vm.isSelected(item)
|
|
19019
19266
|
},staticStyle:{"cursor":"pointer"},on:{"click":function($event){$event.preventDefault();return _vm.selectItem(item, $event)},"mouseenter":function($event){_vm.highlightedIndex = _vm.getFlatIndex(groupIndex, itemIndex)}}},[_c('div',{staticClass:"d-flex align-items-center"},[(_vm.multiple)?_c('div',{staticClass:"autocomplete-checkbox-wrapper mr-2"},[_c('input',{staticClass:"autocomplete-checkbox",attrs:{"type":"checkbox","tabindex":"-1"},domProps:{"checked":_vm.isSelected(item)},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.selectItem(item, $event)}}}),(_vm.isSelected(item))?_c('i',{staticClass:"fa fa-check autocomplete-check-icon"}):_vm._e()]):_vm._e(),(item.raw && item.raw.category)?_c('span',{staticClass:"badge badge-secondary mr-2",staticStyle:{"font-size":"0.75rem"}},[_vm._v(" "+_vm._s(item.raw.category)+" ")]):_vm._e(),_c('div',{staticClass:"flex-grow-1"},[(_vm.itemFields.length > 0)?_c('div',{staticClass:"font-weight-400",class:{ 'text-dark': _vm.isSelected(item) },domProps:{"innerHTML":_vm._s(_vm.formatItemFields(item))}}):_c('div',{staticClass:"font-weight-400",class:{ 'text-dark': _vm.isSelected(item) }},[_vm._v(_vm._s(_vm.getItemText(item)))]),(!_vm.itemFields.length && _vm.getItemDescription(item))?_c('div',{staticClass:"text-muted small mt-1"},[_vm._v(_vm._s(_vm.getItemDescription(item)))]):_vm._e()]),(_vm.isSelected(item) && !_vm.multiple)?_c('i',{staticClass:"fa fa-check text-success ml-2",staticStyle:{"font-size":"1.1rem"}}):_vm._e()])])}),0)])}),0):_c('ul',{staticClass:"list-group list-group-flush"},_vm._l((_vm.paginatedDisplayItems),function(item,index){return _c('li',{key:_vm.getItemValue(item),staticClass:"list-group-item autocomplete-item",class:{ 'active': index === _vm.highlightedIndex, 'selected': _vm.isSelected(item) },staticStyle:{"cursor":"pointer"},on:{"click":function($event){$event.preventDefault();return _vm.selectItem(item, $event)},"mouseenter":function($event){_vm.highlightedIndex = index}}},[_c('div',{staticClass:"d-flex align-items-center"},[(_vm.multiple)?_c('input',{staticClass:"mr-2",attrs:{"type":"checkbox","tabindex":"-1"},domProps:{"checked":_vm.isSelected(item)},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.selectItem(item)}}}):_vm._e(),(item.raw && item.raw.category)?_c('span',{staticClass:"badge badge-primary mr-2"},[_vm._v(" "+_vm._s(item.raw.category)+" ")]):_vm._e(),_c('div',{staticClass:"flex-grow-1"},[(_vm.itemFields.length > 0)?_c('div',{staticClass:"font-weight-400",domProps:{"innerHTML":_vm._s(_vm.formatItemFields(item))}}):_c('div',{staticClass:"font-weight-400"},[_vm._v(_vm._s(_vm.getItemText(item)))]),(!_vm.itemFields.length && _vm.getItemDescription(item))?_c('div',{staticClass:"text-muted small mt-1"},[_vm._v(_vm._s(_vm.getItemDescription(item)))]):_vm._e()]),(_vm.isSelected(item) && !_vm.multiple)?_c('i',{staticClass:"fa fa-check text-primary ml-2"}):_vm._e()])])}),0)]):_vm._e()]),(!_vm.hideDetails && _vm.hasError)?_c('div',{staticClass:"invalid-feedback d-block"},_vm._l((_vm.errorMessagesArray),function(error,index){return _c('div',{key:index},[_vm._v(_vm._s(error))])}),0):_vm._e()])}
|
|
19020
|
-
var
|
|
19267
|
+
var Autocompletevue_type_template_id_c293aa98_scoped_true_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"spinner-border spinner-border-sm text-primary",attrs:{"role":"status"}},[_c('span',{staticClass:"sr-only"},[_vm._v("Loading...")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"spinner-border spinner-border-sm text-primary",attrs:{"role":"status"}},[_c('span',{staticClass:"sr-only"},[_vm._v("Loading...")])])}]
|
|
19021
19268
|
|
|
19022
19269
|
|
|
19023
|
-
// CONCATENATED MODULE: ./src/components/Autocomplete.vue?vue&type=template&id=
|
|
19270
|
+
// CONCATENATED MODULE: ./src/components/Autocomplete.vue?vue&type=template&id=c293aa98&scoped=true&
|
|
19024
19271
|
|
|
19025
19272
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
19026
19273
|
function _arrayLikeToArray(arr, len) {
|
|
@@ -20571,8 +20818,8 @@ var es_set = __webpack_require__("6062");
|
|
|
20571
20818
|
});
|
|
20572
20819
|
// CONCATENATED MODULE: ./src/components/Autocomplete.vue?vue&type=script&lang=js&
|
|
20573
20820
|
/* harmony default export */ var components_Autocompletevue_type_script_lang_js_ = (Autocompletevue_type_script_lang_js_);
|
|
20574
|
-
// EXTERNAL MODULE: ./src/components/Autocomplete.vue?vue&type=style&index=0&id=
|
|
20575
|
-
var
|
|
20821
|
+
// EXTERNAL MODULE: ./src/components/Autocomplete.vue?vue&type=style&index=0&id=c293aa98&scoped=true&lang=css&
|
|
20822
|
+
var Autocompletevue_type_style_index_0_id_c293aa98_scoped_true_lang_css_ = __webpack_require__("9783");
|
|
20576
20823
|
|
|
20577
20824
|
// CONCATENATED MODULE: ./src/components/Autocomplete.vue
|
|
20578
20825
|
|
|
@@ -20585,11 +20832,11 @@ var Autocompletevue_type_style_index_0_id_723cadb2_scoped_true_lang_css_ = __web
|
|
|
20585
20832
|
|
|
20586
20833
|
var Autocomplete_component = normalizeComponent(
|
|
20587
20834
|
components_Autocompletevue_type_script_lang_js_,
|
|
20588
|
-
|
|
20589
|
-
|
|
20835
|
+
Autocompletevue_type_template_id_c293aa98_scoped_true_render,
|
|
20836
|
+
Autocompletevue_type_template_id_c293aa98_scoped_true_staticRenderFns,
|
|
20590
20837
|
false,
|
|
20591
20838
|
null,
|
|
20592
|
-
"
|
|
20839
|
+
"c293aa98",
|
|
20593
20840
|
null
|
|
20594
20841
|
|
|
20595
20842
|
)
|
|
@@ -21607,6 +21854,7 @@ var SearchableSelect_component = normalizeComponent(
|
|
|
21607
21854
|
case "ddl-check":
|
|
21608
21855
|
case "checkbox":
|
|
21609
21856
|
case "ddl-multilevel":
|
|
21857
|
+
case "searchableselect":
|
|
21610
21858
|
if (item.value) {
|
|
21611
21859
|
item.value = String(item.value);
|
|
21612
21860
|
}
|
|
@@ -21818,8 +22066,8 @@ var SearchableSelect_component = normalizeComponent(
|
|
|
21818
22066
|
|
|
21819
22067
|
var left_search_component = normalizeComponent(
|
|
21820
22068
|
components_left_searchvue_type_script_lang_js_,
|
|
21821
|
-
|
|
21822
|
-
|
|
22069
|
+
left_searchvue_type_template_id_1d3e129a_render,
|
|
22070
|
+
left_searchvue_type_template_id_1d3e129a_staticRenderFns,
|
|
21823
22071
|
false,
|
|
21824
22072
|
null,
|
|
21825
22073
|
null,
|
|
@@ -21828,26 +22076,23 @@ var left_search_component = normalizeComponent(
|
|
|
21828
22076
|
)
|
|
21829
22077
|
|
|
21830
22078
|
/* harmony default export */ var left_search = (left_search_component.exports);
|
|
21831
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/top-search.vue?vue&type=template&id=
|
|
21832
|
-
var
|
|
21833
|
-
)?_c('div',{staticClass:"
|
|
21834
|
-
'input-group': true,
|
|
21835
|
-
'mb-2': field.fieldType == 'date-range',
|
|
21836
|
-
}},[_c('v-date-picker',{staticClass:"input-group",attrs:{"popover":_vm.popover,"model-config":_vm.modelConfig,"minute-increment":5,"name":'DateFrom' + fieldIndex,"change":_vm.SetMinMaxValueForDatePicker(field, 'datefrom')},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
22079
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/top-search.vue?vue&type=template&id=74e7c3b8&
|
|
22080
|
+
var top_searchvue_type_template_id_74e7c3b8_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'
|
|
22081
|
+
)?_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('v-date-picker',{staticClass:"input-group",attrs:{"popover":_vm.popover,"model-config":_vm.modelConfig,"minute-increment":5,"name":'DateFrom' + fieldIndex,"change":_vm.SetMinMaxValueForDatePicker(field, 'datefrom')},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
21837
22082
|
var inputValue = ref.inputValue;
|
|
21838
22083
|
var inputEvents = ref.inputEvents;
|
|
21839
22084
|
var togglePopover = ref.togglePopover;
|
|
21840
22085
|
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":field.fieldType == 'date-range'
|
|
21841
|
-
|
|
21842
|
-
|
|
21843
|
-
|
|
21844
|
-
|
|
21845
|
-
|
|
21846
|
-
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":"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])}}},[_c('option',{attrs:{"value":""}},[_vm._v(_vm._s(_vm.$t("Select"))+" "+_vm._s(_vm.$t(field.fieldName)))]),_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:"
|
|
21847
|
-
var
|
|
22086
|
+
? 'DateFrom'
|
|
22087
|
+
: _vm.$t(field.fieldName)},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('v-date-picker',{staticClass:"input-group",attrs:{"popover":_vm.popover,"model-config":_vm.modelConfig,"minute-increment":5,"name":'DateTo' + fieldIndex,"change":_vm.SetMinMaxValueForDatePicker(field, 'dateto')},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
22088
|
+
var inputValue = ref.inputValue;
|
|
22089
|
+
var inputEvents = ref.inputEvents;
|
|
22090
|
+
var togglePopover = ref.togglePopover;
|
|
22091
|
+
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":"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])}}},[_c('option',{attrs:{"value":""}},[_vm._v(_vm._s(_vm.$t("Select"))+" "+_vm._s(_vm.$t(field.fieldName)))]),_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:{"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()])}),_c('div',{class:{'col-sm-12 col-md-3 col-lg-3 col-xl-3 float-left': (((_vm.fields.length % 4) > 0) || _vm.fields.length == 1), 'mt-4': (((_vm.fields.length % 4) > 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 % 4) == 0) }},[_c('div',{staticClass:"background-0 text-left form-check-inline"},[_c('a',{staticClass:"btn btn-success mr-1 px-4",attrs:{"title":"","id":"Go","href":"javascript:;","data-toggle-tooltip":"tooltip","data-original-title":"Search"},on:{"click":function($event){return _vm.SearchData()}}},[_c('i',{staticClass:"fa fa-search"})]),_c('a',{staticClass:"btn btn-danger clearsearchtext px-4",attrs:{"href":"javascript:void(0);","title":"","data-toggle-tooltip":"tooltip","data-original-title":"Clear all "},on:{"click":function($event){return _vm.ClearFilter()}}},[_c('i',{staticClass:"fa fa-refresh"})])])])],2)])])}
|
|
22092
|
+
var top_searchvue_type_template_id_74e7c3b8_staticRenderFns = []
|
|
21848
22093
|
|
|
21849
22094
|
|
|
21850
|
-
// CONCATENATED MODULE: ./src/components/top-search.vue?vue&type=template&id=
|
|
22095
|
+
// CONCATENATED MODULE: ./src/components/top-search.vue?vue&type=template&id=74e7c3b8&
|
|
21851
22096
|
|
|
21852
22097
|
// 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&
|
|
21853
22098
|
|
|
@@ -22065,6 +22310,10 @@ imo;
|
|
|
22065
22310
|
item.datePickerConfig.maxDate = new Date();
|
|
22066
22311
|
}
|
|
22067
22312
|
}
|
|
22313
|
+
|
|
22314
|
+
if (item.hasOwnProperty("onChange")) {
|
|
22315
|
+
item.onChange(item, type);
|
|
22316
|
+
}
|
|
22068
22317
|
},
|
|
22069
22318
|
SearchData: function SearchData() {
|
|
22070
22319
|
var vueObj = this;
|
|
@@ -22137,6 +22386,7 @@ imo;
|
|
|
22137
22386
|
case "ddl-check":
|
|
22138
22387
|
case "checkbox":
|
|
22139
22388
|
case "ddl-multilevel":
|
|
22389
|
+
case "searchableselect":
|
|
22140
22390
|
if (item.value) {
|
|
22141
22391
|
item.value = String(item.value);
|
|
22142
22392
|
}
|
|
@@ -22333,8 +22583,8 @@ imo;
|
|
|
22333
22583
|
|
|
22334
22584
|
var top_search_component = normalizeComponent(
|
|
22335
22585
|
components_top_searchvue_type_script_lang_js_,
|
|
22336
|
-
|
|
22337
|
-
|
|
22586
|
+
top_searchvue_type_template_id_74e7c3b8_render,
|
|
22587
|
+
top_searchvue_type_template_id_74e7c3b8_staticRenderFns,
|
|
22338
22588
|
false,
|
|
22339
22589
|
null,
|
|
22340
22590
|
null,
|
|
@@ -23160,6 +23410,7 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
23160
23410
|
//
|
|
23161
23411
|
//
|
|
23162
23412
|
//
|
|
23413
|
+
//
|
|
23163
23414
|
//
|
|
23164
23415
|
// Data table Compoonent for deiplaying data into the tabel.
|
|
23165
23416
|
|
|
@@ -23189,6 +23440,10 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
23189
23440
|
type: String,
|
|
23190
23441
|
default: "container-fluid mt-2 p-0"
|
|
23191
23442
|
},
|
|
23443
|
+
tableClasses: {
|
|
23444
|
+
type: String,
|
|
23445
|
+
default: "table-fix-header"
|
|
23446
|
+
},
|
|
23192
23447
|
isNewDesign: {
|
|
23193
23448
|
type: Boolean,
|
|
23194
23449
|
default: false
|