tg-listv 0.0.86 → 0.0.88
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 +51 -43
- package/dist/tglistv.common.js.map +1 -1
- package/dist/tglistv.css +1 -1
- package/dist/tglistv.umd.js +51 -43
- 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
|
@@ -2851,6 +2851,13 @@ module.exports = {
|
|
|
2851
2851
|
};
|
|
2852
2852
|
|
|
2853
2853
|
|
|
2854
|
+
/***/ }),
|
|
2855
|
+
|
|
2856
|
+
/***/ "58ac":
|
|
2857
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
2858
|
+
|
|
2859
|
+
// extracted by mini-css-extract-plugin
|
|
2860
|
+
|
|
2854
2861
|
/***/ }),
|
|
2855
2862
|
|
|
2856
2863
|
/***/ "5926":
|
|
@@ -11690,6 +11697,17 @@ module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
|
|
11690
11697
|
};
|
|
11691
11698
|
|
|
11692
11699
|
|
|
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
|
+
|
|
11693
11711
|
/***/ }),
|
|
11694
11712
|
|
|
11695
11713
|
/***/ "c6b6":
|
|
@@ -15814,13 +15832,6 @@ module.exports = function (O, key, value, options) {
|
|
|
15814
15832
|
};
|
|
15815
15833
|
|
|
15816
15834
|
|
|
15817
|
-
/***/ }),
|
|
15818
|
-
|
|
15819
|
-
/***/ "cb62":
|
|
15820
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
15821
|
-
|
|
15822
|
-
// extracted by mini-css-extract-plugin
|
|
15823
|
-
|
|
15824
15835
|
/***/ }),
|
|
15825
15836
|
|
|
15826
15837
|
/***/ "cc12":
|
|
@@ -17490,17 +17501,6 @@ module.exports = function (key) {
|
|
|
17490
17501
|
};
|
|
17491
17502
|
|
|
17492
17503
|
|
|
17493
|
-
/***/ }),
|
|
17494
|
-
|
|
17495
|
-
/***/ "fa5c":
|
|
17496
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17497
|
-
|
|
17498
|
-
"use strict";
|
|
17499
|
-
/* 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_279f960e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("cb62");
|
|
17500
|
-
/* 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_279f960e_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_279f960e_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
17501
|
-
/* unused harmony reexport * */
|
|
17502
|
-
|
|
17503
|
-
|
|
17504
17504
|
/***/ }),
|
|
17505
17505
|
|
|
17506
17506
|
/***/ "fb15":
|
|
@@ -18465,8 +18465,8 @@ var DataTable_component = normalizeComponent(
|
|
|
18465
18465
|
)
|
|
18466
18466
|
|
|
18467
18467
|
/* 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
|
|
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=4dcfdbee&
|
|
18469
|
+
var left_searchvue_type_template_id_4dcfdbee_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
18470
|
var inputValue = ref.inputValue;
|
|
18471
18471
|
var inputEvents = ref.inputEvents;
|
|
18472
18472
|
var togglePopover = ref.togglePopover;
|
|
@@ -18474,11 +18474,11 @@ return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":_vm.g
|
|
|
18474
18474
|
var inputValue = ref.inputValue;
|
|
18475
18475
|
var inputEvents = ref.inputEvents;
|
|
18476
18476
|
var togglePopover = ref.togglePopover;
|
|
18477
|
-
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},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
|
|
18477
|
+
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 left_searchvue_type_template_id_4dcfdbee_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
18479
|
|
|
18480
18480
|
|
|
18481
|
-
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=
|
|
18481
|
+
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=4dcfdbee&
|
|
18482
18482
|
|
|
18483
18483
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
18484
18484
|
var es_array_find = __webpack_require__("7db0");
|
|
@@ -19009,18 +19009,18 @@ function _objectSpread2(target) {
|
|
|
19009
19009
|
|
|
19010
19010
|
return target;
|
|
19011
19011
|
}
|
|
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
|
|
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=723cadb2&scoped=true&
|
|
19013
|
+
var Autocompletevue_type_template_id_723cadb2_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"},[_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:{
|
|
19014
19014
|
'active': _vm.getFlatIndex(groupIndex, itemIndex) === _vm.highlightedIndex,
|
|
19015
19015
|
'selected': _vm.isSelected(item)
|
|
19016
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:{
|
|
19017
19017
|
'active': _vm.getFlatIndex(groupIndex, itemIndex) === _vm.highlightedIndex,
|
|
19018
19018
|
'selected': _vm.isSelected(item)
|
|
19019
19019
|
},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
|
|
19020
|
+
var Autocompletevue_type_template_id_723cadb2_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
19021
|
|
|
19022
19022
|
|
|
19023
|
-
// CONCATENATED MODULE: ./src/components/Autocomplete.vue?vue&type=template&id=
|
|
19023
|
+
// CONCATENATED MODULE: ./src/components/Autocomplete.vue?vue&type=template&id=723cadb2&scoped=true&
|
|
19024
19024
|
|
|
19025
19025
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
19026
19026
|
function _arrayLikeToArray(arr, len) {
|
|
@@ -19590,8 +19590,6 @@ var es_set = __webpack_require__("6062");
|
|
|
19590
19590
|
//
|
|
19591
19591
|
//
|
|
19592
19592
|
//
|
|
19593
|
-
//
|
|
19594
|
-
//
|
|
19595
19593
|
/* harmony default export */ var Autocompletevue_type_script_lang_js_ = ({
|
|
19596
19594
|
name: 'Autocomplete',
|
|
19597
19595
|
// Vue 2 v-model uses value/input by default
|
|
@@ -20573,8 +20571,8 @@ var es_set = __webpack_require__("6062");
|
|
|
20573
20571
|
});
|
|
20574
20572
|
// CONCATENATED MODULE: ./src/components/Autocomplete.vue?vue&type=script&lang=js&
|
|
20575
20573
|
/* harmony default export */ var components_Autocompletevue_type_script_lang_js_ = (Autocompletevue_type_script_lang_js_);
|
|
20576
|
-
// EXTERNAL MODULE: ./src/components/Autocomplete.vue?vue&type=style&index=0&id=
|
|
20577
|
-
var
|
|
20574
|
+
// EXTERNAL MODULE: ./src/components/Autocomplete.vue?vue&type=style&index=0&id=723cadb2&scoped=true&lang=css&
|
|
20575
|
+
var Autocompletevue_type_style_index_0_id_723cadb2_scoped_true_lang_css_ = __webpack_require__("c6a9");
|
|
20578
20576
|
|
|
20579
20577
|
// CONCATENATED MODULE: ./src/components/Autocomplete.vue
|
|
20580
20578
|
|
|
@@ -20587,11 +20585,11 @@ var Autocompletevue_type_style_index_0_id_279f960e_scoped_true_lang_css_ = __web
|
|
|
20587
20585
|
|
|
20588
20586
|
var Autocomplete_component = normalizeComponent(
|
|
20589
20587
|
components_Autocompletevue_type_script_lang_js_,
|
|
20590
|
-
|
|
20591
|
-
|
|
20588
|
+
Autocompletevue_type_template_id_723cadb2_scoped_true_render,
|
|
20589
|
+
Autocompletevue_type_template_id_723cadb2_scoped_true_staticRenderFns,
|
|
20592
20590
|
false,
|
|
20593
20591
|
null,
|
|
20594
|
-
"
|
|
20592
|
+
"723cadb2",
|
|
20595
20593
|
null
|
|
20596
20594
|
|
|
20597
20595
|
)
|
|
@@ -21753,6 +21751,11 @@ var SearchableSelect_component = normalizeComponent(
|
|
|
21753
21751
|
field.onChange(field, e);
|
|
21754
21752
|
}
|
|
21755
21753
|
},
|
|
21754
|
+
onSearchableChange: function onSearchableChange(x, field, e) {
|
|
21755
|
+
if (field && field.hasOwnProperty("onChange")) {
|
|
21756
|
+
field.onChange(field, x);
|
|
21757
|
+
}
|
|
21758
|
+
},
|
|
21756
21759
|
getPlaceholder: function getPlaceholder(field, e) {
|
|
21757
21760
|
var placeholder = "";
|
|
21758
21761
|
|
|
@@ -21815,8 +21818,8 @@ var SearchableSelect_component = normalizeComponent(
|
|
|
21815
21818
|
|
|
21816
21819
|
var left_search_component = normalizeComponent(
|
|
21817
21820
|
components_left_searchvue_type_script_lang_js_,
|
|
21818
|
-
|
|
21819
|
-
|
|
21821
|
+
left_searchvue_type_template_id_4dcfdbee_render,
|
|
21822
|
+
left_searchvue_type_template_id_4dcfdbee_staticRenderFns,
|
|
21820
21823
|
false,
|
|
21821
21824
|
null,
|
|
21822
21825
|
null,
|
|
@@ -21825,8 +21828,8 @@ var left_search_component = normalizeComponent(
|
|
|
21825
21828
|
)
|
|
21826
21829
|
|
|
21827
21830
|
/* harmony default export */ var left_search = (left_search_component.exports);
|
|
21828
|
-
// 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=
|
|
21829
|
-
var
|
|
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=c19a34a0&
|
|
21832
|
+
var top_searchvue_type_template_id_c19a34a0_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 pt-2"},[_vm._l((_vm.Fields),function(field,fieldIndex){return _c('div',{key:fieldIndex,staticClass:"col-sm-12 col-md-3 col-lg-3 col-xl-3 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'
|
|
21830
21833
|
)?_c('div',{staticClass:"form-group mb-2"},[_c('div',{class:{
|
|
21831
21834
|
'input-group': true,
|
|
21832
21835
|
'mb-2': field.fieldType == 'date-range',
|
|
@@ -21840,11 +21843,11 @@ return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":field
|
|
|
21840
21843
|
var inputValue = ref.inputValue;
|
|
21841
21844
|
var inputEvents = ref.inputEvents;
|
|
21842
21845
|
var togglePopover = ref.togglePopover;
|
|
21843
|
-
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:"orm-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},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)])])}
|
|
21844
|
-
var
|
|
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:"orm-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)])])}
|
|
21847
|
+
var top_searchvue_type_template_id_c19a34a0_staticRenderFns = []
|
|
21845
21848
|
|
|
21846
21849
|
|
|
21847
|
-
// CONCATENATED MODULE: ./src/components/top-search.vue?vue&type=template&id=
|
|
21850
|
+
// CONCATENATED MODULE: ./src/components/top-search.vue?vue&type=template&id=c19a34a0&
|
|
21848
21851
|
|
|
21849
21852
|
// 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&
|
|
21850
21853
|
|
|
@@ -22310,6 +22313,11 @@ imo;
|
|
|
22310
22313
|
} else {
|
|
22311
22314
|
return 50;
|
|
22312
22315
|
}
|
|
22316
|
+
},
|
|
22317
|
+
onSearchableChange: function onSearchableChange(x, field, e) {
|
|
22318
|
+
if (field && field.hasOwnProperty("onChange")) {
|
|
22319
|
+
field.onChange(field, x);
|
|
22320
|
+
}
|
|
22313
22321
|
}
|
|
22314
22322
|
}
|
|
22315
22323
|
});
|
|
@@ -22325,8 +22333,8 @@ imo;
|
|
|
22325
22333
|
|
|
22326
22334
|
var top_search_component = normalizeComponent(
|
|
22327
22335
|
components_top_searchvue_type_script_lang_js_,
|
|
22328
|
-
|
|
22329
|
-
|
|
22336
|
+
top_searchvue_type_template_id_c19a34a0_render,
|
|
22337
|
+
top_searchvue_type_template_id_c19a34a0_staticRenderFns,
|
|
22330
22338
|
false,
|
|
22331
22339
|
null,
|
|
22332
22340
|
null,
|