tg-listv 0.1.25 → 0.1.27

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.
@@ -520,17 +520,6 @@ function _iterableToArray(r) {
520
520
 
521
521
  module.exports = _iterableToArray, module.exports.__esModule = true, module.exports["default"] = module.exports;
522
522
 
523
- /***/ }),
524
-
525
- /***/ "1207":
526
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
527
-
528
- "use strict";
529
- /* 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_SearchableSelect_vue_vue_type_style_index_0_id_37e24b56_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("fc94");
530
- /* 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_SearchableSelect_vue_vue_type_style_index_0_id_37e24b56_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_SearchableSelect_vue_vue_type_style_index_0_id_37e24b56_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
531
- /* unused harmony reexport * */
532
-
533
-
534
523
  /***/ }),
535
524
 
536
525
  /***/ "1276":
@@ -23612,17 +23601,6 @@ module.exports = function from(arrayLike /* , mapfn = undefined, thisArg = undef
23612
23601
  };
23613
23602
 
23614
23603
 
23615
- /***/ }),
23616
-
23617
- /***/ "4e04":
23618
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
23619
-
23620
- "use strict";
23621
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_left_search_vue_vue_type_style_index_0_id_ec6fcfc4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7132");
23622
- /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_left_search_vue_vue_type_style_index_0_id_ec6fcfc4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_left_search_vue_vue_type_style_index_0_id_ec6fcfc4_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
23623
- /* unused harmony reexport * */
23624
-
23625
-
23626
23604
  /***/ }),
23627
23605
 
23628
23606
  /***/ "4fad":
@@ -23994,6 +23972,17 @@ module.exports = {
23994
23972
 
23995
23973
  // extracted by mini-css-extract-plugin
23996
23974
 
23975
+ /***/ }),
23976
+
23977
+ /***/ "58f4":
23978
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
23979
+
23980
+ "use strict";
23981
+ /* 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_SearchableSelect_vue_vue_type_style_index_0_id_50fe2d92_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e0a5");
23982
+ /* 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_SearchableSelect_vue_vue_type_style_index_0_id_50fe2d92_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_SearchableSelect_vue_vue_type_style_index_0_id_50fe2d92_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
23983
+ /* unused harmony reexport * */
23984
+
23985
+
23997
23986
  /***/ }),
23998
23987
 
23999
23988
  /***/ "5926":
@@ -25025,13 +25014,6 @@ module.exports = {
25025
25014
  };
25026
25015
 
25027
25016
 
25028
- /***/ }),
25029
-
25030
- /***/ "6bab":
25031
- /***/ (function(module, exports, __webpack_require__) {
25032
-
25033
- // extracted by mini-css-extract-plugin
25034
-
25035
25017
  /***/ }),
25036
25018
 
25037
25019
  /***/ "6d1e":
@@ -25156,6 +25138,17 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
25156
25138
  };
25157
25139
 
25158
25140
 
25141
+ /***/ }),
25142
+
25143
+ /***/ "6f77":
25144
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
25145
+
25146
+ "use strict";
25147
+ /* 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_6cb7e2c2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f138");
25148
+ /* 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_6cb7e2c2_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_6cb7e2c2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
25149
+ /* unused harmony reexport * */
25150
+
25151
+
25159
25152
  /***/ }),
25160
25153
 
25161
25154
  /***/ "7037":
@@ -25189,13 +25182,6 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
25189
25182
 
25190
25183
  /***/ }),
25191
25184
 
25192
- /***/ "7132":
25193
- /***/ (function(module, exports, __webpack_require__) {
25194
-
25195
- // extracted by mini-css-extract-plugin
25196
-
25197
- /***/ }),
25198
-
25199
25185
  /***/ "7149":
25200
25186
  /***/ (function(module, exports, __webpack_require__) {
25201
25187
 
@@ -31330,6 +31316,17 @@ function _defineProperty(e, r, t) {
31330
31316
 
31331
31317
  module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
31332
31318
 
31319
+ /***/ }),
31320
+
31321
+ /***/ "972e":
31322
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
31323
+
31324
+ "use strict";
31325
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_left_search_vue_vue_type_style_index_0_id_195f1f96_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("e11e");
31326
+ /* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_left_search_vue_vue_type_style_index_0_id_195f1f96_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_left_search_vue_vue_type_style_index_0_id_195f1f96_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
31327
+ /* unused harmony reexport * */
31328
+
31329
+
31333
31330
  /***/ }),
31334
31331
 
31335
31332
  /***/ "99af":
@@ -38021,6 +38018,13 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
38021
38018
  }
38022
38019
 
38023
38020
 
38021
+ /***/ }),
38022
+
38023
+ /***/ "e0a5":
38024
+ /***/ (function(module, exports, __webpack_require__) {
38025
+
38026
+ // extracted by mini-css-extract-plugin
38027
+
38024
38028
  /***/ }),
38025
38029
 
38026
38030
  /***/ "e0ef":
@@ -38068,6 +38072,13 @@ function before(n, func) {
38068
38072
  module.exports = before;
38069
38073
 
38070
38074
 
38075
+ /***/ }),
38076
+
38077
+ /***/ "e11e":
38078
+ /***/ (function(module, exports, __webpack_require__) {
38079
+
38080
+ // extracted by mini-css-extract-plugin
38081
+
38071
38082
  /***/ }),
38072
38083
 
38073
38084
  /***/ "e163":
@@ -38518,17 +38529,6 @@ if ($stringify) {
38518
38529
  }
38519
38530
 
38520
38531
 
38521
- /***/ }),
38522
-
38523
- /***/ "eb1b":
38524
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
38525
-
38526
- "use strict";
38527
- /* 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_0d240705_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("6bab");
38528
- /* 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_0d240705_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_0d240705_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
38529
- /* unused harmony reexport * */
38530
-
38531
-
38532
38532
  /***/ }),
38533
38533
 
38534
38534
  /***/ "efec":
@@ -38576,6 +38576,13 @@ module.exports.f = function (C) {
38576
38576
  };
38577
38577
 
38578
38578
 
38579
+ /***/ }),
38580
+
38581
+ /***/ "f138":
38582
+ /***/ (function(module, exports, __webpack_require__) {
38583
+
38584
+ // extracted by mini-css-extract-plugin
38585
+
38579
38586
  /***/ }),
38580
38587
 
38581
38588
  /***/ "f183":
@@ -40079,8 +40086,8 @@ var DataTable_component = normalizeComponent(
40079
40086
  )
40080
40087
 
40081
40088
  /* harmony default export */ var DataTable = (DataTable_component.exports);
40082
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cea975cc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/left-search.vue?vue&type=template&id=ec6fcfc4&scoped=true&
40083
- var left_searchvue_type_template_id_ec6fcfc4_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.header)?_c('div',{staticClass:"col-md-12 p-0 mb-2"},[_c('div',{staticClass:"theme-primary partition"},[_c('span',{staticClass:"p-name text-white"},[_vm._v(_vm._s(_vm.header))])])]):_vm._e(),_c('div',{staticClass:"accordion md-accordion left-filter",attrs:{"id":"accordionEx","role":"tablist","aria-multiselectable":"true"}},[_c('div',{staticClass:"card"},[_c('div',{staticClass:"card-header filter-head",attrs:{"role":"tab","id":"headingOne1"}},[_c('h5',{staticClass:"mb-0"},[_c('em',{staticClass:"fa fa-filter",attrs:{"aria-hidden":"true"}}),_vm._v(" "+_vm._s(_vm.$t("Search"))+" "),_c('span',{staticClass:"expand_all_filters"},[_c('span',{attrs:{"id":"SearchData"},on:{"click":function($event){return _vm.SearchData()}}},[_c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","title":_vm.$t('Search'),"data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})])]),_c('span',{on:{"click":function($event){return _vm.ClearFilter()}}},[_c('a',{staticClass:"collapsed",attrs:{"title":_vm.$t('Reset'),"href":"javascript:;","data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-repeat",attrs:{"aria-hidden":"true"}})])]),_c('span',{staticClass:"collapsed ancExpandAllCollapseAll",attrs:{"data-target":".multi-collapse","data-toggle":"collapse"},on:{"click":function($event){return _vm.ExpandCollapsedAll()}}},[_c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","title":_vm.$t('ExpandAllCollapseAll'),"data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-sort-desc",attrs:{"aria-hidden":"true"}})])])])])])]),_c('ValidationObserver',{ref:"searchForm",staticClass:"card-panel",attrs:{"tag":"div"}},_vm._l((_vm.Fields),function(field,fieldIndex){return _c('div',{key:fieldIndex,staticClass:"card"},[_c('div',{staticClass:"card-header",attrs:{"role":"tab","id":'headingOnee' + fieldIndex}},[_c('h5',{staticClass:"mb-0"},[_c('a',{staticClass:"collapsed",attrs:{"data-toggle":"collapse","data-parent":"#accordionEx","href":'#collapseOne'+fieldIndex,"aria-expanded":"false","aria-controls":'collapseOne'+fieldIndex}},[_c('em',{class:'fa ' + field.fieldIcon,attrs:{"aria-hidden":"true"}}),_c('span',{class:{'filter':field.isSearch}},[_vm._v(_vm._s(_vm.$t(field.fieldName)))]),_c('em',{staticClass:"fa fa-angle-down rotate-icon",attrs:{"aria-hidden":"true"}})]),_c('a',{class:{'tab-Search-btn': true, 'd-block': (field.value==0?String(field.value).length>0:field.value)},attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.SearchData()}}},[_c('em',{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})])])]),_c('div',{staticClass:"collapse multi-collapse",attrs:{"id":'collapseOne'+fieldIndex,"role":"tabpanel","aria-labelledby":'headingOnee' + fieldIndex,"data-parent":"#accordionEx"}},[_c('div',{staticClass:"card-body pt-0"},[(field.fieldType== 'text')?_c('div',{staticClass:"form-group"},[(_vm.hasValidationRules(field))?_c('ValidationProvider',{attrs:{"rules":field.validationRules,"name":_vm.getValidationFieldName(field)},scopedSlots:_vm._u([{key:"default",fn:function(ref){
40089
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cea975cc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/left-search.vue?vue&type=template&id=195f1f96&scoped=true&
40090
+ var left_searchvue_type_template_id_195f1f96_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.header)?_c('div',{staticClass:"col-md-12 p-0 mb-2"},[_c('div',{staticClass:"theme-primary partition"},[_c('span',{staticClass:"p-name text-white"},[_vm._v(_vm._s(_vm.header))])])]):_vm._e(),_c('div',{staticClass:"accordion md-accordion left-filter",attrs:{"id":"accordionEx","role":"tablist","aria-multiselectable":"true"}},[_c('div',{staticClass:"card"},[_c('div',{staticClass:"card-header filter-head",attrs:{"role":"tab","id":"headingOne1"}},[_c('h5',{staticClass:"mb-0"},[_c('em',{staticClass:"fa fa-filter",attrs:{"aria-hidden":"true"}}),_vm._v(" "+_vm._s(_vm.$t("Search"))+" "),_c('span',{staticClass:"expand_all_filters"},[_c('span',{attrs:{"id":"SearchData"},on:{"click":function($event){return _vm.SearchData()}}},[_c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","title":_vm.$t('Search'),"data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})])]),_c('span',{on:{"click":function($event){return _vm.ClearFilter()}}},[_c('a',{staticClass:"collapsed",attrs:{"title":_vm.$t('Reset'),"href":"javascript:;","data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-repeat",attrs:{"aria-hidden":"true"}})])]),_c('span',{staticClass:"collapsed ancExpandAllCollapseAll",attrs:{"data-target":".multi-collapse","data-toggle":"collapse"},on:{"click":function($event){return _vm.ExpandCollapsedAll()}}},[_c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","title":_vm.$t('ExpandAllCollapseAll'),"data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-sort-desc",attrs:{"aria-hidden":"true"}})])])])])])]),_c('ValidationObserver',{ref:"searchForm",staticClass:"card-panel",attrs:{"tag":"div"}},_vm._l((_vm.Fields),function(field,fieldIndex){return _c('div',{key:fieldIndex,staticClass:"card"},[_c('div',{staticClass:"card-header",attrs:{"role":"tab","id":'headingOnee' + fieldIndex}},[_c('h5',{staticClass:"mb-0"},[_c('a',{staticClass:"collapsed",attrs:{"data-toggle":"collapse","data-parent":"#accordionEx","href":'#collapseOne'+fieldIndex,"aria-expanded":"false","aria-controls":'collapseOne'+fieldIndex}},[_c('em',{class:'fa ' + field.fieldIcon,attrs:{"aria-hidden":"true"}}),_c('span',{class:{'filter':field.isSearch}},[_vm._v(_vm._s(_vm.$t(field.fieldName)))]),_c('em',{staticClass:"fa fa-angle-down rotate-icon",attrs:{"aria-hidden":"true"}})]),_c('a',{class:{'tab-Search-btn': true, 'd-block': (field.value==0?String(field.value).length>0:field.value)},attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.SearchData()}}},[_c('em',{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})])])]),_c('div',{staticClass:"collapse multi-collapse",attrs:{"id":'collapseOne'+fieldIndex,"role":"tabpanel","aria-labelledby":'headingOnee' + fieldIndex,"data-parent":"#accordionEx"}},[_c('div',{staticClass:"card-body pt-0"},[(field.fieldType== 'text')?_c('div',{staticClass:"form-group"},[(_vm.hasValidationRules(field))?_c('ValidationProvider',{attrs:{"rules":field.validationRules,"name":_vm.getValidationFieldName(field)},scopedSlots:_vm._u([{key:"default",fn:function(ref){
40084
40091
  var errors = ref.errors;
40085
40092
  var validate = ref.validate;
40086
40093
  return [_c('input',{ref:field.fieldName,refInFor:true,class:['form-control', 'search', { 'is-invalid': errors && errors.length }],attrs:{"type":(field.isNumeric == true)? 'number':'text',"placeholder":_vm.getPlaceholder(field)},domProps:{"value":field.value},on:{"input":function (e) { field.value = e.target.value; validate(e.target.value); },"keydown":function($event){return _vm.SearchOnEnter($event, field)}}}),(errors[0])?_c('span',{staticClass:"text-danger small d-block mt-1"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}):[(((field.isNumeric == true)? 'number':'text')==='checkbox')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],ref:field.fieldName,refInFor:true,staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholder(field),"type":"checkbox"},domProps:{"checked":Array.isArray(field.value)?_vm._i(field.value,null)>-1:(field.value)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field)},"change":function($event){var $$a=field.value,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(field, "value", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(field, "value", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(field, "value", $$c)}}}}):(((field.isNumeric == true)? 'number':'text')==='radio')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],ref:field.fieldName,refInFor:true,staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholder(field),"type":"radio"},domProps:{"checked":_vm._q(field.value,null)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field)},"change":function($event){return _vm.$set(field, "value", null)}}}):_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],ref:field.fieldName,refInFor:true,staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholder(field),"type":(field.isNumeric == true)? 'number':'text'},domProps:{"value":(field.value)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field)},"input":function($event){if($event.target.composing){ return; }_vm.$set(field, "value", $event.target.value)}}})]],2):_vm._e(),(field.fieldType == 'numeric-range')?[_c('div',{staticClass:"form-group"},[(_vm.hasValidationRules(field))?_c('ValidationProvider',{attrs:{"rules":field.validationRules,"name":_vm.getValidationFieldName(field, ' (From)')},scopedSlots:_vm._u([{key:"default",fn:function(ref){
@@ -40118,11 +40125,11 @@ var validate = ref.validate;
40118
40125
  return [_c('select',{ref:field.fieldName,refInFor:true,class:['form-control', { 'is-invalid': errors && errors.length }],attrs:{"id":'dropdown'+fieldIndex},domProps:{"value":field.value},on:{"change":function (e) { field.value = e.target.value; validate(e.target.value); }}},_vm._l((field.listOptions),function(option){return _c('option',{domProps:{"value":option.value}},[_vm._v(_vm._s(option.name))])}),0),(errors[0])?_c('span',{staticClass:"text-danger small d-block mt-1"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}):_c('select',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],ref:field.fieldName,refInFor:true,staticClass:"form-control",attrs:{"id":'dropdown'+fieldIndex},on:{"change":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return val}); _vm.$set(field, "value", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((field.listOptions),function(option){return _c('option',{domProps:{"value":option.value}},[_vm._v(_vm._s(option.name))])}),0)],1):_vm._e(),(field.fieldType == 'searchableselect')?_c('div',{staticClass:"form-group ddl-custom-searchableselect"},[(_vm.hasValidationRules(field))?_c('ValidationProvider',{attrs:{"rules":field.validationRules,"name":_vm.getValidationFieldName(field)},scopedSlots:_vm._u([{key:"default",fn:function(ref){
40119
40126
  var errors = ref.errors;
40120
40127
  var validate = ref.validate;
40121
- return [_c('div',{class:{ 'is-invalid': errors && errors.length }},[_c('searchable-select',{ref:field.fieldName,refInFor:true,attrs:{"items":field.listOptions,"max-visible-chips":2,"action-buttons":_vm.computedActionButtons(field),"item-fields":_vm.computedItemFields(field),"group-fields":_vm.computedGroupFields(field),"max-render-items":_vm.computedMaxRenderItems(field),"lazy-load":true,"multiple":field.isMultiple,"label":field.fieldName,"placeholder":_vm.$t(field.placeholder),"status-field-config":field.statusFieldConfig,"min-search-length":field.minSearchLength},on:{"change":function (x) { _vm.onSearchableChange(x, field); validate(field.value); }},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})],1),(errors[0])?_c('span',{staticClass:"text-danger small d-block mt-1"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}):[_vm._v(" "+_vm._s(field.value)+" "),_c('searchable-select',{ref:field.fieldName,refInFor:true,attrs:{"items":field.listOptions,"max-visible-chips":2,"action-buttons":_vm.computedActionButtons(field),"item-fields":_vm.computedItemFields(field),"group-fields":_vm.computedGroupFields(field),"max-render-items":_vm.computedMaxRenderItems(field),"lazy-load":true,"multiple":field.isMultiple,"label":field.fieldName,"placeholder":_vm.$t(field.placeholder),"status-field-config":field.statusFieldConfig,"min-search-length":field.minSearchLength},on:{"change":function($event){return _vm.onSearchableChange($event, field)}},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})]],2):_vm._e()],2)])])}),0)],1),_c('div',{staticClass:"bottom_filter_button"},[_c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","data-target":".multi-collapse","data-toggle":"collapse"},on:{"click":_vm.ExpandCollapsedAll}},[_vm._v(_vm._s(_vm.$t('ExpandAllCollapseAll')))])])])}
40122
- var left_searchvue_type_template_id_ec6fcfc4_scoped_true_staticRenderFns = []
40128
+ return [_c('div',{class:{ 'is-invalid': errors && errors.length }},[_c('searchable-select',{ref:field.fieldName,refInFor:true,attrs:{"items":field.listOptions,"max-visible-chips":2,"action-buttons":_vm.computedActionButtons(field),"item-fields":_vm.computedItemFields(field),"group-fields":_vm.computedGroupFields(field),"max-render-items":_vm.computedMaxRenderItems(field),"lazy-load":true,"multiple":field.isMultiple,"label":field.fieldName,"placeholder":_vm.$t(field.placeholder),"status-field-config":field.statusFieldConfig,"min-search-length":field.minSearchLength},on:{"change":function (x) { _vm.onSearchableChange(x, field); validate(field.value); }},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})],1),(errors[0])?_c('span',{staticClass:"text-danger small d-block mt-1"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}):[_c('searchable-select',{ref:field.fieldName,refInFor:true,attrs:{"items":field.listOptions,"max-visible-chips":2,"action-buttons":_vm.computedActionButtons(field),"item-fields":_vm.computedItemFields(field),"group-fields":_vm.computedGroupFields(field),"max-render-items":_vm.computedMaxRenderItems(field),"lazy-load":true,"multiple":field.isMultiple,"label":field.fieldName,"placeholder":_vm.$t(field.placeholder),"status-field-config":field.statusFieldConfig,"min-search-length":field.minSearchLength},on:{"change":function($event){return _vm.onSearchableChange($event, field)}},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})]],2):_vm._e()],2)])])}),0)],1),_c('div',{staticClass:"bottom_filter_button"},[_c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","data-target":".multi-collapse","data-toggle":"collapse"},on:{"click":_vm.ExpandCollapsedAll}},[_vm._v(_vm._s(_vm.$t('ExpandAllCollapseAll')))])])])}
40129
+ var left_searchvue_type_template_id_195f1f96_scoped_true_staticRenderFns = []
40123
40130
 
40124
40131
 
40125
- // CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=ec6fcfc4&scoped=true&
40132
+ // CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=195f1f96&scoped=true&
40126
40133
 
40127
40134
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.to-primitive.js
40128
40135
  var es_symbol_to_primitive = __webpack_require__("8172");
@@ -43457,25 +43464,25 @@ var vuescroll_default = /*#__PURE__*/__webpack_require__.n(vuescroll);
43457
43464
  var vue_treeselect_cjs = __webpack_require__("ca17");
43458
43465
  var vue_treeselect_cjs_default = /*#__PURE__*/__webpack_require__.n(vue_treeselect_cjs);
43459
43466
 
43460
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cea975cc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SearchableSelect.vue?vue&type=template&id=37e24b56&scoped=true&
43461
- var SearchableSelectvue_type_template_id_37e24b56_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"searchable-select"},[_c('Autocomplete',{attrs:{"value":_vm.internalValue,"model-value":_vm.internalValue,"items":_vm.displayItems,"all-items":_vm.allItems,"loading":_vm.loading,"placeholder":_vm.placeholder,"label":_vm.label,"disabled":_vm.disabled,"clearable":_vm.clearable,"density":_vm.density,"variant":_vm.variant,"multiple":_vm.multiple,"item-title":_vm.itemTitle,"item-value":_vm.itemValue,"menu-props":_vm.menuProps,"no-data-text":_vm.noDataText,"hide-details":_vm.hideDetails,"error-messages":_vm.errorMessages,"rules":_vm.rules,"min-search-length":_vm.minSearchLength,"max-visible-chips":_vm.maxVisibleChips,"action-buttons":_vm.actionButtons,"item-fields":_vm.itemFields,"group-fields":_vm.groupFields,"max-render-items":_vm.maxRenderItems,"lazy-load":_vm.lazyLoad,"status-field-config":_vm.statusFieldConfig},on:{"input":_vm.onSelectionChange,"update:model-value":_vm.onSelectionChange,"update:search":_vm.onSearch,"focus":_vm.onFocus,"blur":_vm.onBlur,"search":_vm.onSearch}})],1)}
43462
- var SearchableSelectvue_type_template_id_37e24b56_scoped_true_staticRenderFns = []
43467
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cea975cc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SearchableSelect.vue?vue&type=template&id=50fe2d92&scoped=true&
43468
+ var SearchableSelectvue_type_template_id_50fe2d92_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"searchable-select",style:((_vm.hasError == true)? 'border:1px solid #dc3545 !important;': '')},[_c('Autocomplete',{attrs:{"value":_vm.internalValue,"model-value":_vm.internalValue,"items":_vm.displayItems,"all-items":_vm.allItems,"loading":_vm.loading,"placeholder":_vm.placeholder,"label":_vm.label,"disabled":_vm.disabled,"clearable":_vm.clearable,"density":_vm.density,"variant":_vm.variant,"multiple":_vm.multiple,"item-title":_vm.itemTitle,"item-value":_vm.itemValue,"menu-props":_vm.menuProps,"no-data-text":_vm.noDataText,"hide-details":_vm.hideDetails,"error-messages":_vm.errorMessages,"rules":_vm.rules,"min-search-length":_vm.minSearchLength,"max-visible-chips":_vm.maxVisibleChips,"action-buttons":_vm.actionButtons,"item-fields":_vm.itemFields,"group-fields":_vm.groupFields,"max-render-items":_vm.maxRenderItems,"lazy-load":_vm.lazyLoad,"status-field-config":_vm.statusFieldConfig},on:{"input":_vm.onSelectionChange,"update:model-value":_vm.onSelectionChange,"update:search":_vm.onSearch,"focus":_vm.onFocus,"blur":_vm.onBlur,"search":_vm.onSearch}})],1)}
43469
+ var SearchableSelectvue_type_template_id_50fe2d92_scoped_true_staticRenderFns = []
43463
43470
 
43464
43471
 
43465
- // CONCATENATED MODULE: ./src/components/SearchableSelect.vue?vue&type=template&id=37e24b56&scoped=true&
43472
+ // CONCATENATED MODULE: ./src/components/SearchableSelect.vue?vue&type=template&id=50fe2d92&scoped=true&
43466
43473
 
43467
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cea975cc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Autocomplete.vue?vue&type=template&id=0d240705&scoped=true&
43468
- var Autocompletevue_type_template_id_0d240705_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",attrs:{"id":_vm.label}},[_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($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-down",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateDown($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-up",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateUp($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"escape",undefined,$event.key,undefined)){ return null; }return _vm.closeMenu($event)}]}}),_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.toggleMenu1}},[_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:{
43469
- 'active': _vm.getFlatIndex(groupIndex, itemIndex) === _vm.highlightedIndex,
43470
- 'selected': _vm.isSelected(item)
43471
- },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();return _vm.selectItem(item, $event)}}}),_c('i',{staticClass:"fa fa-check autocomplete-check-icon"})]):_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();return _vm.selectItem(item, $event)}}}):_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($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-down",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateDown($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-up",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateUp($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"escape",undefined,$event.key,undefined)){ return null; }return _vm.closeMenu($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"backspace",undefined,$event.key,undefined)){ return null; }return _vm.handleBackspace($event)}]}})],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.toggleMenu1}},[_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:{
43472
- 'active': _vm.getFlatIndex(groupIndex, itemIndex) === _vm.highlightedIndex,
43473
- 'selected': _vm.isSelected(item)
43474
- },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();return _vm.selectItem(item, $event)}}}),_c('i',{staticClass:"fa fa-check autocomplete-check-icon"})]):_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();return _vm.selectItem(item, $event)}}}):_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()])}
43475
- var Autocompletevue_type_template_id_0d240705_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...")])])}]
43474
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cea975cc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Autocomplete.vue?vue&type=template&id=6cb7e2c2&scoped=true&
43475
+ var Autocompletevue_type_template_id_6cb7e2c2_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($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-down",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateDown($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-up",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateUp($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"escape",undefined,$event.key,undefined)){ return null; }return _vm.closeMenu($event)}]}}),_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.lazyLoad && _vm.topSpacerHeight > 0)?_c('div',{staticClass:"autocomplete-spacer",style:({ height: _vm.topSpacerHeight + 'px' })}):_vm._e(),_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:{
43476
+ 'active': _vm.getFlatIndex(groupIndex, itemIndex) === _vm.highlightedIndex,
43477
+ 'selected': _vm.isSelected(item)
43478
+ },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();return _vm.selectItem(item, $event)}}}),_c('i',{staticClass:"fa fa-check autocomplete-check-icon"})]):_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)])}),(_vm.lazyLoad && _vm.bottomSpacerHeight > 0)?_c('div',{staticClass:"autocomplete-spacer",style:({ height: _vm.bottomSpacerHeight + 'px' })}):_vm._e()],2):_c('ul',{staticClass:"list-group list-group-flush"},[(_vm.lazyLoad && _vm.topSpacerHeight > 0)?_c('li',{staticClass:"autocomplete-spacer",style:({ height: _vm.topSpacerHeight + 'px' })}):_vm._e(),_vm._l((_vm.paginatedDisplayItems),function(item,index){return _c('li',{key:_vm.getItemValue(item),staticClass:"list-group-item autocomplete-item",class:{ 'active': (_vm.windowStart + 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 = _vm.windowStart + 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();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()])])}),(_vm.lazyLoad && _vm.bottomSpacerHeight > 0)?_c('li',{staticClass:"autocomplete-spacer",style:({ height: _vm.bottomSpacerHeight + 'px' })}):_vm._e()],2)]):_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($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-down",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateDown($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-up",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateUp($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"escape",undefined,$event.key,undefined)){ return null; }return _vm.closeMenu($event)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"backspace",undefined,$event.key,undefined)){ return null; }return _vm.handleBackspace($event)}]}})],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.lazyLoad && _vm.topSpacerHeight > 0)?_c('div',{staticClass:"autocomplete-spacer",style:({ height: _vm.topSpacerHeight + 'px' })}):_vm._e(),_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:{
43479
+ 'active': _vm.getFlatIndex(groupIndex, itemIndex) === _vm.highlightedIndex,
43480
+ 'selected': _vm.isSelected(item)
43481
+ },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();return _vm.selectItem(item, $event)}}}),_c('i',{staticClass:"fa fa-check autocomplete-check-icon"})]):_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)])}),(_vm.lazyLoad && _vm.bottomSpacerHeight > 0)?_c('div',{staticClass:"autocomplete-spacer",style:({ height: _vm.bottomSpacerHeight + 'px' })}):_vm._e()],2):_c('ul',{staticClass:"list-group list-group-flush"},[(_vm.lazyLoad && _vm.topSpacerHeight > 0)?_c('li',{staticClass:"autocomplete-spacer",style:({ height: _vm.topSpacerHeight + 'px' })}):_vm._e(),_vm._l((_vm.paginatedDisplayItems),function(item,index){return _c('li',{key:_vm.getItemValue(item),staticClass:"list-group-item autocomplete-item",class:{ 'active': (_vm.windowStart + 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 = _vm.windowStart + 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();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()])])}),(_vm.lazyLoad && _vm.bottomSpacerHeight > 0)?_c('li',{staticClass:"autocomplete-spacer",style:({ height: _vm.bottomSpacerHeight + 'px' })}):_vm._e()],2)]):_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()])}
43482
+ var Autocompletevue_type_template_id_6cb7e2c2_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...")])])}]
43476
43483
 
43477
43484
 
43478
- // CONCATENATED MODULE: ./src/components/Autocomplete.vue?vue&type=template&id=0d240705&scoped=true&
43485
+ // CONCATENATED MODULE: ./src/components/Autocomplete.vue?vue&type=template&id=6cb7e2c2&scoped=true&
43479
43486
 
43480
43487
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
43481
43488
  function _arrayLikeToArray(r, a) {
@@ -43625,12 +43632,12 @@ var es_array_flat_map = __webpack_require__("5db7");
43625
43632
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.unscopables.flat-map.js
43626
43633
  var es_array_unscopables_flat_map = __webpack_require__("73d9");
43627
43634
 
43628
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find-index.js
43629
- var es_array_find_index = __webpack_require__("c740");
43630
-
43631
43635
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.js
43632
43636
  var es_set = __webpack_require__("6062");
43633
43637
 
43638
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find-index.js
43639
+ var es_array_find_index = __webpack_require__("c740");
43640
+
43634
43641
  // 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/Autocomplete.vue?vue&type=script&lang=js&
43635
43642
 
43636
43643
 
@@ -44064,6 +44071,12 @@ var es_set = __webpack_require__("6062");
44064
44071
  //
44065
44072
  //
44066
44073
  //
44074
+ //
44075
+ //
44076
+ //
44077
+ //
44078
+ //
44079
+ //
44067
44080
  /* harmony default export */ var Autocompletevue_type_script_lang_js_ = ({
44068
44081
  name: 'Autocomplete',
44069
44082
  // Vue 2 v-model uses value/input by default
@@ -44233,7 +44246,10 @@ var es_set = __webpack_require__("6062");
44233
44246
  isMenuOpen: false,
44234
44247
  searchTerm: '',
44235
44248
  highlightedIndex: -1,
44236
- renderedItemCount: this.maxRenderItems,
44249
+ windowStart: 0,
44250
+ // first flat-item index in the sliding render window
44251
+ estimatedItemHeight: 48,
44252
+ // updated by _measureItemHeight after first open
44237
44253
  filterStatus: null // 'active', 'inactive', or null for all
44238
44254
 
44239
44255
  };
@@ -44251,6 +44267,13 @@ var es_set = __webpack_require__("6062");
44251
44267
  displayItems: function displayItems() {
44252
44268
  var _this = this;
44253
44269
 
44270
+ if (this.items.length === 0) return []; // Fast path: items already normalized by SearchableSelect (have .raw and .title set)
44271
+ // Avoid re-mapping 3000+ objects for no benefit
44272
+
44273
+ if (this.items[0].raw !== undefined && this.items[0].title !== undefined) {
44274
+ return this.items;
44275
+ }
44276
+
44254
44277
  return this.items.map(function (item) {
44255
44278
  return _objectSpread2(_objectSpread2({}, item), {}, {
44256
44279
  title: _this.getItemText(item),
@@ -44304,21 +44327,24 @@ var es_set = __webpack_require__("6062");
44304
44327
  });
44305
44328
  },
44306
44329
  hasGrouping: function hasGrouping() {
44307
- var _this3 = this;
44330
+ if (this.items.length === 0) return false; // Check if items are already in pre-grouped format
44308
44331
 
44309
- if (this.items.length === 0) return false; // Check if items are in grouped format
44310
-
44311
- if (Array.isArray(this.items[0].items)) return true; // Check if items have group property or groupFields is defined
44332
+ if (Array.isArray(this.items[0].items)) return true; // If groupFields is defined, only enable grouping when items actually have
44333
+ // a value for that field — check the first item (O(1)) rather than scanning all
44312
44334
 
44313
44335
  if (this.groupFields && this.groupFields.length > 0) {
44314
- // If groupFields is defined, we should group by the first field
44315
- return true;
44316
- } // Check if items have explicit group property
44336
+ var firstItem = this.items[0];
44337
+ var raw = firstItem.raw || firstItem;
44338
+ var val = raw[this.groupFields[0]];
44339
+ return val !== undefined && val !== null && val !== '';
44340
+ } // Fallback: check the first item for any explicit group property
44317
44341
 
44318
44342
 
44319
- return this.displayItems.some(function (item) {
44320
- return _this3.getItemGroup(item);
44321
- });
44343
+ if (this.displayItems.length > 0) {
44344
+ return !!this.getItemGroup(this.displayItems[0]);
44345
+ }
44346
+
44347
+ return false;
44322
44348
  },
44323
44349
  flatDisplayItems: function flatDisplayItems() {
44324
44350
  // Flatten grouped items for easier iteration
@@ -44337,7 +44363,7 @@ var es_set = __webpack_require__("6062");
44337
44363
  return this.menuProps && this.menuProps.maxHeight || 300;
44338
44364
  },
44339
44365
  selectedItems: function selectedItems() {
44340
- var _this4 = this;
44366
+ var _this3 = this;
44341
44367
 
44342
44368
  if (!this.multiple) return []; // Get selected values from currentValue (supports both value and modelValue props)
44343
44369
 
@@ -44359,7 +44385,7 @@ var es_set = __webpack_require__("6062");
44359
44385
  }
44360
44386
 
44361
44387
  var filtered = itemsToSearch.filter(function (item) {
44362
- var itemValue = _this4.getItemValue(item);
44388
+ var itemValue = _this3.getItemValue(item);
44363
44389
 
44364
44390
  return selectedValues.some(function (sv) {
44365
44391
  return String(sv) === String(itemValue);
@@ -44367,19 +44393,19 @@ var es_set = __webpack_require__("6062");
44367
44393
  });
44368
44394
  return filtered.map(function (item) {
44369
44395
  return _objectSpread2(_objectSpread2({}, item), {}, {
44370
- title: _this4.getItemText(item),
44371
- value: _this4.getItemValue(item)
44396
+ title: _this3.getItemText(item),
44397
+ value: _this3.getItemValue(item)
44372
44398
  });
44373
44399
  });
44374
44400
  },
44375
44401
  displayText: function displayText() {
44376
- var _this5 = this;
44402
+ var _this4 = this;
44377
44403
 
44378
44404
  if (this.multiple) return '';
44379
44405
  var currentVal = this.currentValue;
44380
44406
  if (!currentVal) return this.searchTerm;
44381
44407
  var selected = this.displayItems.find(function (item) {
44382
- return String(_this5.getItemValue(item)) === String(currentVal);
44408
+ return String(_this4.getItemValue(item)) === String(currentVal);
44383
44409
  });
44384
44410
  return selected ? this.getItemText(selected) : this.searchTerm;
44385
44411
  },
@@ -44408,15 +44434,32 @@ var es_set = __webpack_require__("6062");
44408
44434
  hasActionButtons: function hasActionButtons() {
44409
44435
  return this.actionButtons && (this.actionButtons.selectAll || this.actionButtons.active || this.actionButtons.inactive || this.actionButtons.clear);
44410
44436
  },
44437
+ // O(1) Set of stringified selected values — used by isSelected to avoid O(n) .some() per item
44438
+ selectedValueSet: function selectedValueSet() {
44439
+ var currentVal = this.currentValue;
44440
+
44441
+ if (this.multiple) {
44442
+ var selectedValues = Array.isArray(currentVal) ? currentVal : currentVal ? [currentVal] : [];
44443
+ return new Set(selectedValues.map(function (sv) {
44444
+ return String(sv);
44445
+ }));
44446
+ }
44447
+
44448
+ if (currentVal !== null && currentVal !== undefined) {
44449
+ return new Set([String(currentVal)]);
44450
+ }
44451
+
44452
+ return new Set();
44453
+ },
44411
44454
  allSelected: function allSelected() {
44412
- var _this6 = this;
44455
+ var _this5 = this;
44413
44456
 
44414
44457
  if (!this.multiple) return false; // Check if all filtered items are selected
44415
44458
 
44416
44459
  var filteredItems = this.filteredDisplayItems;
44417
44460
  var selectedValues = Array.isArray(this.currentValue) ? this.currentValue : [];
44418
44461
  return filteredItems.length > 0 && filteredItems.every(function (item) {
44419
- var itemValue = _this6.getItemValue(item);
44462
+ var itemValue = _this5.getItemValue(item);
44420
44463
 
44421
44464
  return selectedValues.some(function (sv) {
44422
44465
  return String(sv) === String(itemValue);
@@ -44430,20 +44473,20 @@ var es_set = __webpack_require__("6062");
44430
44473
  },
44431
44474
  // Performance: Filter and paginate items
44432
44475
  filteredDisplayItems: function filteredDisplayItems() {
44433
- var _this7 = this;
44476
+ var _this6 = this;
44434
44477
 
44435
44478
  var items = this.displayItems; // Apply status filter if active
44436
44479
 
44437
44480
  if (this.filterStatus) {
44438
44481
  items = items.filter(function (item) {
44439
44482
  // Check status field (case-insensitive)
44440
- var status = _this7.getItemFieldValue(item, 'status') || _this7.getItemFieldValue(item, 'Status') || _this7.getItemFieldValue(item, 'isActive');
44483
+ var status = _this6.getItemFieldValue(item, 'status') || _this6.getItemFieldValue(item, 'Status') || _this6.getItemFieldValue(item, 'isActive');
44441
44484
 
44442
44485
  var statusStr = String(status).toLowerCase().trim();
44443
44486
 
44444
- if (_this7.filterStatus === 'active') {
44487
+ if (_this6.filterStatus === 'active') {
44445
44488
  return statusStr === 'active' || statusStr === 'true' || statusStr === '1';
44446
- } else if (_this7.filterStatus === 'inactive') {
44489
+ } else if (_this6.filterStatus === 'inactive') {
44447
44490
  return statusStr === 'inactive' || statusStr === 'false' || statusStr === '0';
44448
44491
  }
44449
44492
 
@@ -44453,83 +44496,124 @@ var es_set = __webpack_require__("6062");
44453
44496
 
44454
44497
  return items;
44455
44498
  },
44456
- // Performance: Limit rendered items
44457
- paginatedDisplayItems: function paginatedDisplayItems() {
44458
- if (this.lazyLoad && this.filteredDisplayItems.length > this.renderedItemCount) {
44459
- return this.filteredDisplayItems.slice(0, this.renderedItemCount);
44460
- }
44461
-
44462
- return this.filteredDisplayItems;
44463
- },
44464
- // Update grouped items to use paginated/filtered items
44465
- paginatedGroupedItems: function paginatedGroupedItems() {
44466
- var _this8 = this;
44499
+ // Status-filtered groups (shared by paginatedGroupedItems and filteredFlatItemCount)
44500
+ filteredGroups: function filteredGroups() {
44501
+ var _this7 = this;
44467
44502
 
44468
44503
  if (!this.hasGrouping) return [];
44469
- var groups = this.groupedItems; // Apply status filter if active
44504
+ var groups = this.groupedItems;
44470
44505
 
44471
44506
  if (this.filterStatus) {
44472
44507
  groups = groups.map(function (group) {
44473
44508
  return _objectSpread2(_objectSpread2({}, group), {}, {
44474
44509
  items: group.items.filter(function (item) {
44475
- // Check status field (case-insensitive)
44476
- var status = _this8.getItemFieldValue(item, 'status') || _this8.getItemFieldValue(item, 'Status') || _this8.getItemFieldValue(item, 'isActive');
44510
+ var status = _this7.getItemFieldValue(item, 'status') || _this7.getItemFieldValue(item, 'Status') || _this7.getItemFieldValue(item, 'isActive');
44477
44511
 
44478
44512
  var statusStr = String(status).toLowerCase().trim();
44479
-
44480
- if (_this8.filterStatus === 'active') {
44481
- return statusStr === 'active' || statusStr === 'true' || statusStr === '1';
44482
- } else if (_this8.filterStatus === 'inactive') {
44483
- return statusStr === 'inactive' || statusStr === 'false' || statusStr === '0';
44484
- }
44485
-
44513
+ if (_this7.filterStatus === 'active') return statusStr === 'active' || statusStr === 'true' || statusStr === '1';
44514
+ if (_this7.filterStatus === 'inactive') return statusStr === 'inactive' || statusStr === 'false' || statusStr === '0';
44486
44515
  return true;
44487
44516
  })
44488
44517
  });
44489
44518
  }).filter(function (group) {
44490
44519
  return group.items.length > 0;
44491
44520
  });
44492
- } // Apply pagination if lazy load is enabled
44521
+ }
44493
44522
 
44523
+ return groups;
44524
+ },
44525
+ // Total flat-item count after status filter (used for spacer math)
44526
+ filteredFlatItemCount: function filteredFlatItemCount() {
44527
+ if (this.hasGrouping) {
44528
+ return this.filteredGroups.reduce(function (sum, g) {
44529
+ return sum + g.items.length;
44530
+ }, 0);
44531
+ }
44494
44532
 
44495
- if (this.lazyLoad) {
44496
- var itemCount = 0;
44497
- var result = [];
44533
+ return this.filteredDisplayItems.length;
44534
+ },
44535
+ // Last index (exclusive) of the render window
44536
+ windowEnd: function windowEnd() {
44537
+ return Math.min(this.windowStart + this.maxRenderItems, this.filteredFlatItemCount);
44538
+ },
44539
+ // Virtual spacer heights so the scrollbar represents the full list
44540
+ topSpacerHeight: function topSpacerHeight() {
44541
+ if (!this.lazyLoad) return 0;
44542
+ return this.windowStart * this.estimatedItemHeight;
44543
+ },
44544
+ bottomSpacerHeight: function bottomSpacerHeight() {
44545
+ if (!this.lazyLoad) return 0;
44546
+ return Math.max(0, (this.filteredFlatItemCount - this.windowEnd) * this.estimatedItemHeight);
44547
+ },
44548
+ // Performance: Sliding-window render (constant DOM size regardless of scroll depth)
44549
+ paginatedDisplayItems: function paginatedDisplayItems() {
44550
+ if (!this.lazyLoad) return this.filteredDisplayItems;
44551
+ return this.filteredDisplayItems.slice(this.windowStart, this.windowEnd);
44552
+ },
44553
+ // Grouped sliding window — slices flat items [windowStart, windowEnd) across groups
44554
+ paginatedGroupedItems: function paginatedGroupedItems() {
44555
+ if (!this.hasGrouping) return [];
44556
+ var groups = this.filteredGroups;
44557
+ if (!this.lazyLoad) return groups;
44558
+ var itemCount = 0;
44559
+ var result = [];
44498
44560
 
44499
- var _iterator = _createForOfIteratorHelper(groups),
44500
- _step;
44561
+ var _iterator = _createForOfIteratorHelper(groups),
44562
+ _step;
44501
44563
 
44502
- try {
44503
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
44504
- var group = _step.value;
44505
- if (itemCount >= this.renderedItemCount) break;
44506
- var remaining = this.renderedItemCount - itemCount;
44507
- result.push(_objectSpread2(_objectSpread2({}, group), {}, {
44508
- items: group.items.slice(0, remaining)
44509
- }));
44564
+ try {
44565
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
44566
+ var group = _step.value;
44567
+ var groupEnd = itemCount + group.items.length; // Skip groups entirely before the window
44568
+
44569
+ if (groupEnd <= this.windowStart) {
44510
44570
  itemCount += group.items.length;
44511
- }
44512
- } catch (err) {
44513
- _iterator.e(err);
44514
- } finally {
44515
- _iterator.f();
44516
- }
44571
+ continue;
44572
+ } // Stop once we are entirely past the window
44573
+
44517
44574
 
44518
- return result;
44575
+ if (itemCount >= this.windowEnd) break;
44576
+ var sliceStart = Math.max(0, this.windowStart - itemCount);
44577
+ var sliceEnd = Math.min(group.items.length, this.windowEnd - itemCount);
44578
+ result.push(_objectSpread2(_objectSpread2({}, group), {}, {
44579
+ items: group.items.slice(sliceStart, sliceEnd)
44580
+ }));
44581
+ itemCount += group.items.length;
44582
+ }
44583
+ } catch (err) {
44584
+ _iterator.e(err);
44585
+ } finally {
44586
+ _iterator.f();
44519
44587
  }
44520
44588
 
44521
- return groups;
44589
+ return result;
44522
44590
  }
44523
44591
  },
44524
44592
  watch: {
44525
44593
  items: function items() {
44526
- // Reset highlight when items change
44594
+ // Reset highlight, height measurement and window when items change
44527
44595
  this.highlightedIndex = -1;
44596
+ this._heightMeasured = false;
44597
+ this.windowStart = 0;
44528
44598
  },
44529
44599
  hasGrouping: function hasGrouping() {
44530
44600
  // Reset highlight when grouping changes
44531
44601
  this.highlightedIndex = -1;
44532
44602
  },
44603
+ isMenuOpen: function isMenuOpen(newVal) {
44604
+ var _this8 = this;
44605
+
44606
+ if (newVal) {
44607
+ // Reset window to top on every open so stale position is not carried over
44608
+ this.windowStart = 0; // After the dropdown renders, measure actual item heights so the virtual
44609
+ // spacers are sized correctly. Critical for grouped items where
44610
+ // group headers add height beyond the default estimate.
44611
+
44612
+ this.$nextTick(function () {
44613
+ _this8._measureItemHeight();
44614
+ });
44615
+ }
44616
+ },
44533
44617
  modelValue: {
44534
44618
  handler: function handler(newVal, oldVal) {
44535
44619
  // Reset search term when value changes externally
@@ -44560,8 +44644,10 @@ var es_set = __webpack_require__("6062");
44560
44644
  }
44561
44645
  },
44562
44646
  mounted: function mounted() {// Close menu when clicking outside
44647
+ //document.addEventListener('click', this.handleClickOutside)
44648
+ },
44649
+ beforeDestroy: function beforeDestroy() {//document.removeEventListener('click', this.handleClickOutside)
44563
44650
  },
44564
- beforeDestroy: function beforeDestroy() {},
44565
44651
  methods: {
44566
44652
  getItemText: function getItemText(item) {
44567
44653
  if (item.raw) {
@@ -44589,7 +44675,6 @@ var es_set = __webpack_require__("6062");
44589
44675
  if (itemIndex > -1) {
44590
44676
  value = "item-".concat(itemIndex);
44591
44677
  } else {
44592
- console.warn('Autocomplete: Item has no value and could not determine index', item);
44593
44678
  value = "item-".concat(Date.now(), "-").concat(Math.random());
44594
44679
  }
44595
44680
  }
@@ -44656,20 +44741,12 @@ var es_set = __webpack_require__("6062");
44656
44741
  },
44657
44742
  isSelected: function isSelected(item) {
44658
44743
  var value = this.getItemValue(item);
44659
- var currentVal = this.currentValue;
44660
-
44661
- if (this.multiple) {
44662
- var selectedValues = Array.isArray(currentVal) ? currentVal : currentVal ? [currentVal] : []; // Compare values with type coercion to handle string/number mismatches
44663
-
44664
- return selectedValues.some(function (sv) {
44665
- return String(sv) === String(value);
44666
- });
44667
- }
44668
-
44669
- return currentVal !== null && currentVal !== undefined && String(currentVal) === String(value);
44744
+ return this.selectedValueSet.has(String(value));
44670
44745
  },
44671
44746
  onInput: function onInput(event) {
44672
44747
  this.searchTerm = event.target.value;
44748
+ this.windowStart = 0; // scroll back to top of results on every keystroke
44749
+
44673
44750
  this.isMenuOpen = true;
44674
44751
  this.$emit('update:search', this.searchTerm);
44675
44752
  this.$emit('search', this.searchTerm);
@@ -44697,12 +44774,12 @@ var es_set = __webpack_require__("6062");
44697
44774
  if (selected && _this9.searchTerm !== _this9.getItemText(selected)) {
44698
44775
  _this9.searchTerm = '';
44699
44776
  }
44700
- } //this.$emit('blur', selectedValue)
44777
+ }
44778
+ } //this.$emit('blur')
44701
44779
 
44702
- }
44703
44780
  }, 200);
44704
44781
  },
44705
- toggleMenu1: function toggleMenu1() {
44782
+ toggleMenu: function toggleMenu() {
44706
44783
  var _this10 = this;
44707
44784
 
44708
44785
  if (this.disabled) return;
@@ -44721,6 +44798,7 @@ var es_set = __webpack_require__("6062");
44721
44798
  closeMenu: function closeMenu() {
44722
44799
  this.isMenuOpen = false;
44723
44800
  this.highlightedIndex = -1;
44801
+ this.windowStart = 0;
44724
44802
  document.removeEventListener('click', this.handleClickOutside);
44725
44803
 
44726
44804
  if (this.multiple) {
@@ -44735,12 +44813,13 @@ var es_set = __webpack_require__("6062");
44735
44813
  }
44736
44814
  },
44737
44815
  selectItem: function selectItem(item, event) {
44738
- // Stop bubbling so the <li> click doesn't fire twice,
44739
- // but let the browser toggle the checkbox normally.
44816
+ // Prevent event from bubbling and default behavior
44740
44817
  if (event) {
44818
+ event.preventDefault();
44741
44819
  event.stopPropagation();
44742
44820
  event.stopImmediatePropagation();
44743
- }
44821
+ } // Debug logging
44822
+
44744
44823
 
44745
44824
  var value = this.getItemValue(item);
44746
44825
  var currentVal = this.currentValue;
@@ -44942,7 +45021,6 @@ var es_set = __webpack_require__("6062");
44942
45021
  event.stopImmediatePropagation();
44943
45022
  }
44944
45023
 
44945
- console.log('selectAll called - this should only be called from the Select All button');
44946
45024
  if (!this.multiple) return; // Select all items from the currently filtered/displayed items
44947
45025
 
44948
45026
  var allItems = this.filteredDisplayItems;
@@ -44954,22 +45032,18 @@ var es_set = __webpack_require__("6062");
44954
45032
 
44955
45033
  var mergedValues = _toConsumableArray(new Set([].concat(_toConsumableArray(currentValues), _toConsumableArray(allValues))));
44956
45034
 
44957
- console.log('Select All - all values:', mergedValues);
44958
45035
  this.$emit('input', mergedValues);
44959
45036
  this.$emit('update:modelValue', mergedValues);
44960
45037
  this.$emit('change', mergedValues);
44961
45038
  },
44962
45039
  filterByStatus: function filterByStatus(status) {
44963
45040
  if (this.filterStatus === status) {
44964
- // Toggle off if clicking the same filter
44965
45041
  this.filterStatus = null;
44966
45042
  } else {
44967
45043
  this.filterStatus = status;
44968
- } // Reset pagination when filter changes
44969
-
44970
-
44971
- this.renderedItemCount = this.maxRenderItems; // Reset highlight when filter changes
45044
+ }
44972
45045
 
45046
+ this.windowStart = 0;
44973
45047
  this.highlightedIndex = -1;
44974
45048
  },
44975
45049
  formatItemFields: function formatItemFields(item) {
@@ -45043,21 +45117,50 @@ var es_set = __webpack_require__("6062");
45043
45117
 
45044
45118
  return this.getItemText(item);
45045
45119
  },
45120
+ // Measure actual rendered item heights so virtual spacers are correctly sized.
45121
+ // Called once per dropdown open. Critical for grouped items where group headers
45122
+ // add height beyond the 48 px default, causing white space without measurement.
45123
+ _measureItemHeight: function _measureItemHeight() {
45124
+ if (this._heightMeasured || !this.$refs.menu) return;
45125
+ var menuEl = this.$refs.menu;
45126
+ var itemEls = menuEl.querySelectorAll('.autocomplete-item');
45127
+ if (itemEls.length === 0) return; // Sum heights of all rendered leaf items AND group headers
45128
+
45129
+ var contentHeight = 0;
45130
+ itemEls.forEach(function (el) {
45131
+ contentHeight += el.getBoundingClientRect().height;
45132
+ });
45133
+ menuEl.querySelectorAll('.autocomplete-group-header').forEach(function (el) {
45134
+ contentHeight += el.getBoundingClientRect().height;
45135
+ });
45136
+ var renderedFlatCount = this.hasGrouping ? this.paginatedGroupedItems.reduce(function (sum, g) {
45137
+ return sum + g.items.length;
45138
+ }, 0) : this.paginatedDisplayItems.length;
45139
+
45140
+ if (renderedFlatCount > 0 && contentHeight > 0) {
45141
+ this.estimatedItemHeight = Math.ceil(contentHeight / renderedFlatCount);
45142
+ this._heightMeasured = true;
45143
+ }
45144
+ },
45046
45145
  onMenuScroll: function onMenuScroll(event) {
45047
45146
  if (!this.lazyLoad) return;
45048
- var target = event.target;
45049
- var scrollBottom = target.scrollHeight - target.scrollTop - target.clientHeight; // Load more items when scrolled near bottom (within 50px)
45147
+ var target = event.target; // Keep a 25% overscan buffer above the visible area so the transition is seamless
45148
+
45149
+ var overscan = Math.max(1, Math.floor(this.maxRenderItems * 0.25));
45150
+ var rawStart = Math.floor(target.scrollTop / this.estimatedItemHeight) - overscan;
45151
+ var maxStart = Math.max(0, this.filteredFlatItemCount - this.maxRenderItems);
45152
+ var newWindowStart = Math.max(0, Math.min(rawStart, maxStart));
45050
45153
 
45051
- if (scrollBottom < 50 && this.renderedItemCount < this.filteredDisplayItems.length) {
45052
- this.renderedItemCount = Math.min(this.renderedItemCount + this.maxRenderItems, this.filteredDisplayItems.length);
45154
+ if (newWindowStart !== this.windowStart) {
45155
+ this.windowStart = newWindowStart;
45053
45156
  }
45054
45157
  }
45055
45158
  }
45056
45159
  });
45057
45160
  // CONCATENATED MODULE: ./src/components/Autocomplete.vue?vue&type=script&lang=js&
45058
45161
  /* harmony default export */ var components_Autocompletevue_type_script_lang_js_ = (Autocompletevue_type_script_lang_js_);
45059
- // EXTERNAL MODULE: ./src/components/Autocomplete.vue?vue&type=style&index=0&id=0d240705&scoped=true&lang=css&
45060
- var Autocompletevue_type_style_index_0_id_0d240705_scoped_true_lang_css_ = __webpack_require__("eb1b");
45162
+ // EXTERNAL MODULE: ./src/components/Autocomplete.vue?vue&type=style&index=0&id=6cb7e2c2&scoped=true&lang=css&
45163
+ var Autocompletevue_type_style_index_0_id_6cb7e2c2_scoped_true_lang_css_ = __webpack_require__("6f77");
45061
45164
 
45062
45165
  // CONCATENATED MODULE: ./src/components/Autocomplete.vue
45063
45166
 
@@ -45070,11 +45173,11 @@ var Autocompletevue_type_style_index_0_id_0d240705_scoped_true_lang_css_ = __web
45070
45173
 
45071
45174
  var Autocomplete_component = normalizeComponent(
45072
45175
  components_Autocompletevue_type_script_lang_js_,
45073
- Autocompletevue_type_template_id_0d240705_scoped_true_render,
45074
- Autocompletevue_type_template_id_0d240705_scoped_true_staticRenderFns,
45176
+ Autocompletevue_type_template_id_6cb7e2c2_scoped_true_render,
45177
+ Autocompletevue_type_template_id_6cb7e2c2_scoped_true_staticRenderFns,
45075
45178
  false,
45076
45179
  null,
45077
- "0d240705",
45180
+ "6cb7e2c2",
45078
45181
  null
45079
45182
 
45080
45183
  )
@@ -45303,6 +45406,10 @@ function SearchableSelectvue_type_script_lang_js_debounce(func, wait) {
45303
45406
  type: Boolean,
45304
45407
  default: false
45305
45408
  },
45409
+ hasError: {
45410
+ type: Boolean,
45411
+ default: false
45412
+ },
45306
45413
  // Status field configuration for dynamic color formatting
45307
45414
  statusFieldConfig: {
45308
45415
  type: Object,
@@ -45384,26 +45491,25 @@ function SearchableSelectvue_type_script_lang_js_debounce(func, wait) {
45384
45491
  allItems: function allItems() {
45385
45492
  var _this = this;
45386
45493
 
45387
- // Return all items (not filtered) - used for finding selected items
45388
- var sourceItems;
45494
+ // Return all items (not filtered) - used for finding selected items by chips
45495
+ if (!this.useLocalItems) {
45496
+ return this.remoteItems;
45497
+ } // When no search is active, displayItems already covers all items — reuse it
45498
+ // to avoid mapping the full list a second time
45389
45499
 
45390
- if (this.useLocalItems) {
45391
- sourceItems = this.normalizedLocalItems;
45392
- } else {
45393
- sourceItems = this.remoteItems;
45394
- }
45395
45500
 
45396
- return sourceItems.map(function (item, index) {
45397
- // Ensure value is always set - use index as fallback if no value/id
45398
- var itemValue = item.value !== undefined && item.value !== null ? item.value : item.id !== undefined && item.id !== null ? item.id : "item-".concat(index); // Determine group value - Priority: groupFields > group/groupName
45501
+ if (!this.searchTerm || !this.searchTerm.trim()) {
45502
+ return this.displayItems;
45503
+ } // With an active search, displayItems is filtered so we need to map the full list
45399
45504
 
45505
+
45506
+ return this.normalizedLocalItems.map(function (item, index) {
45507
+ var itemValue = item.value !== undefined && item.value !== null ? item.value : item.id !== undefined && item.id !== null ? item.id : "item-".concat(index);
45400
45508
  var groupValue = '';
45401
45509
 
45402
45510
  if (_this.groupFields && _this.groupFields.length > 0) {
45403
- // groupFields has highest priority
45404
45511
  groupValue = item[_this.groupFields[0]] || '';
45405
- } // Fallback to explicit group/groupName if groupFields didn't provide a value
45406
-
45512
+ }
45407
45513
 
45408
45514
  if (!groupValue) {
45409
45515
  groupValue = item.group || item.groupName || '';
@@ -45598,18 +45704,17 @@ function SearchableSelectvue_type_script_lang_js_debounce(func, wait) {
45598
45704
  }))();
45599
45705
  },
45600
45706
  onSearch: function onSearch(search) {
45601
- this.searchTerm = search;
45602
-
45603
45707
  if (this.useLocalItems) {
45604
- // For local items, filtering is handled by displayItems computed property
45605
- var filtered = this.filterLocalItems(search);
45708
+ // Defer the heavy filterLocalItems + groupedItems recomputation until typing pauses.
45709
+ // The Autocomplete input already shows the typed text immediately (its own searchTerm);
45710
+ // only the dropdown item list update is deferred.
45711
+ this.debouncedSetSearchTerm(search);
45606
45712
  this.$emit('search', {
45607
- search: search,
45608
- results: filtered.length,
45609
- total: filtered.length
45713
+ search: search
45610
45714
  });
45611
45715
  } else {
45612
45716
  // For remote items, debounce the API call
45717
+ this.searchTerm = search;
45613
45718
  this.debouncedLoadItems(search, 1, false);
45614
45719
  }
45615
45720
  },
@@ -45677,9 +45782,7 @@ function SearchableSelectvue_type_script_lang_js_debounce(func, wait) {
45677
45782
  // When local items prop changes, update totalItems
45678
45783
  if (this.useLocalItems) {
45679
45784
  var filtered = this.filterLocalItems(this.searchTerm);
45680
- this.totalItems = filtered.length; // Force reactivity update
45681
-
45682
- this.$forceUpdate();
45785
+ this.totalItems = filtered.length;
45683
45786
  }
45684
45787
  },
45685
45788
  deep: true,
@@ -45770,7 +45873,15 @@ function SearchableSelectvue_type_script_lang_js_debounce(func, wait) {
45770
45873
  }
45771
45874
  },
45772
45875
  created: function created() {
45773
- this.debouncedLoadItems = SearchableSelectvue_type_script_lang_js_debounce(this.loadItems, this.debounceMs);
45876
+ var _this4 = this;
45877
+
45878
+ this.debouncedLoadItems = SearchableSelectvue_type_script_lang_js_debounce(this.loadItems, this.debounceMs); // Debounce the reactive searchTerm update for local items.
45879
+ // Setting searchTerm triggers filterLocalItems → displayItems → groupedItems on 3000+ items,
45880
+ // so we defer it until the user pauses typing rather than running on every keystroke.
45881
+
45882
+ this.debouncedSetSearchTerm = SearchableSelectvue_type_script_lang_js_debounce(function (search) {
45883
+ _this4.searchTerm = search;
45884
+ }, this.debounceMs);
45774
45885
  },
45775
45886
  mounted: function mounted() {
45776
45887
  // Initialize items based on mode
@@ -45786,8 +45897,8 @@ function SearchableSelectvue_type_script_lang_js_debounce(func, wait) {
45786
45897
  });
45787
45898
  // CONCATENATED MODULE: ./src/components/SearchableSelect.vue?vue&type=script&lang=js&
45788
45899
  /* harmony default export */ var components_SearchableSelectvue_type_script_lang_js_ = (SearchableSelectvue_type_script_lang_js_);
45789
- // EXTERNAL MODULE: ./src/components/SearchableSelect.vue?vue&type=style&index=0&id=37e24b56&scoped=true&lang=css&
45790
- var SearchableSelectvue_type_style_index_0_id_37e24b56_scoped_true_lang_css_ = __webpack_require__("1207");
45900
+ // EXTERNAL MODULE: ./src/components/SearchableSelect.vue?vue&type=style&index=0&id=50fe2d92&scoped=true&lang=css&
45901
+ var SearchableSelectvue_type_style_index_0_id_50fe2d92_scoped_true_lang_css_ = __webpack_require__("58f4");
45791
45902
 
45792
45903
  // CONCATENATED MODULE: ./src/components/SearchableSelect.vue
45793
45904
 
@@ -45800,11 +45911,11 @@ var SearchableSelectvue_type_style_index_0_id_37e24b56_scoped_true_lang_css_ = _
45800
45911
 
45801
45912
  var SearchableSelect_component = normalizeComponent(
45802
45913
  components_SearchableSelectvue_type_script_lang_js_,
45803
- SearchableSelectvue_type_template_id_37e24b56_scoped_true_render,
45804
- SearchableSelectvue_type_template_id_37e24b56_scoped_true_staticRenderFns,
45914
+ SearchableSelectvue_type_template_id_50fe2d92_scoped_true_render,
45915
+ SearchableSelectvue_type_template_id_50fe2d92_scoped_true_staticRenderFns,
45805
45916
  false,
45806
45917
  null,
45807
- "37e24b56",
45918
+ "50fe2d92",
45808
45919
  null
45809
45920
 
45810
45921
  )
@@ -45964,6 +46075,12 @@ var _methods;
45964
46075
  });
45965
46076
  }
45966
46077
 
46078
+ if (item.fieldType == "ddl-radio") {
46079
+ item.listOptions.forEach(function (itm) {
46080
+ itm.isSelected = false;
46081
+ });
46082
+ }
46083
+
45967
46084
  $(".tab-Search-btn").css("display", "none");
45968
46085
  });
45969
46086
  $(".searchcustomfilter").val("");
@@ -46185,18 +46302,16 @@ var _methods;
46185
46302
  case "checkbox":
46186
46303
  case "ddl-multilevel":
46187
46304
  case "searchableselect":
46188
- if (item.value) {
46189
- item.value = String(item.value);
46190
- }
46305
+ var searchableStrValue = Array.isArray(item.value) ? item.value.join(",") : item.value ? String(item.value) : "";
46191
46306
 
46192
- if (item.value != null && item.value.length > 0 && (item.fieldSearchConditionName.length > 0 || item.hasOwnProperty('paramName'))) {
46307
+ if (searchableStrValue.length > 0 && (item.fieldSearchConditionName.length > 0 || item.hasOwnProperty('paramName'))) {
46193
46308
  searchCondition += $.trim(searchCondition) != "" ? " AND (" : "(";
46194
46309
  var orCondition = "";
46195
- var valueArray = item.value.split(",");
46310
+ var valueArray = searchableStrValue.split(",");
46196
46311
  var finalValues = "'" + valueArray.join("','") + "'";
46197
46312
 
46198
46313
  if (item.hasOwnProperty('paramName')) {
46199
- searchConditionJson[item.paramName] = item.value;
46314
+ searchConditionJson[item.paramName] = searchableStrValue;
46200
46315
  }
46201
46316
 
46202
46317
  item.fieldSearchConditionName.forEach(function (field, index) {
@@ -46539,8 +46654,8 @@ var _methods;
46539
46654
  });
46540
46655
  // CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=script&lang=js&
46541
46656
  /* harmony default export */ var components_left_searchvue_type_script_lang_js_ = (left_searchvue_type_script_lang_js_);
46542
- // EXTERNAL MODULE: ./src/components/left-search.vue?vue&type=style&index=0&id=ec6fcfc4&scoped=true&lang=css&
46543
- var left_searchvue_type_style_index_0_id_ec6fcfc4_scoped_true_lang_css_ = __webpack_require__("4e04");
46657
+ // EXTERNAL MODULE: ./src/components/left-search.vue?vue&type=style&index=0&id=195f1f96&scoped=true&lang=css&
46658
+ var left_searchvue_type_style_index_0_id_195f1f96_scoped_true_lang_css_ = __webpack_require__("972e");
46544
46659
 
46545
46660
  // CONCATENATED MODULE: ./src/components/left-search.vue
46546
46661
 
@@ -46553,11 +46668,11 @@ var left_searchvue_type_style_index_0_id_ec6fcfc4_scoped_true_lang_css_ = __webp
46553
46668
 
46554
46669
  var left_search_component = normalizeComponent(
46555
46670
  components_left_searchvue_type_script_lang_js_,
46556
- left_searchvue_type_template_id_ec6fcfc4_scoped_true_render,
46557
- left_searchvue_type_template_id_ec6fcfc4_scoped_true_staticRenderFns,
46671
+ left_searchvue_type_template_id_195f1f96_scoped_true_render,
46672
+ left_searchvue_type_template_id_195f1f96_scoped_true_staticRenderFns,
46558
46673
  false,
46559
46674
  null,
46560
- "ec6fcfc4",
46675
+ "195f1f96",
46561
46676
  null
46562
46677
 
46563
46678
  )
@@ -47354,12 +47469,12 @@ var top_search_component = normalizeComponent(
47354
47469
  )
47355
47470
 
47356
47471
  /* harmony default export */ var top_search = (top_search_component.exports);
47357
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cea975cc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CardView.vue?vue&type=template&id=1e09dffe&
47358
- var CardViewvue_type_template_id_1e09dffe_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"talygen-card-view"},[_c('div',{staticClass:"row card-view bg-border custom-box-width"},[_vm._l((_vm.data),function(row,index){return _c('div',{key:index,staticClass:"col-md-12 col-lg-6 col-xl-3 mb-3 fsmaddresscontrol"},[(!_vm.customcard)?_c('div',{class:'card-box ' + ((typeof(row.additionalClass) != 'undefined')? row.additionalClass: '' ),style:('border-width: 5px 2px 2px; border-style: solid; border-color:' + ((typeof(row.color_code) != 'undefined')? row.color_code: 'rgb(153 153 153)' ) + '; border-image: initial;')},[_c('div',{staticClass:"mb-2"},[_c('div',{staticClass:"custom-control custom-checkbox custom-control-inline"},[_c('input',{staticClass:"chkItems custom-control-input",attrs:{"id":'Checkbox_' + index,"disabled":row.isCheckBoxDisabled,"type":"checkbox"},domProps:{"checked":row.isSelected,"value":row[_vm.identityColumn]},on:{"change":function($event){return _vm.onChangeEventOfCheckbox($event, row)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'Checkbox_' + index}})]),((_vm.columns[0].DATA_TYPE=='date' || _vm.columns[0].DATA_TYPE=='datetime') && (_vm.columns[0].DATA_TYPE !='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.formatDate(row[_vm.columns[0].COLUMN_NAME])))]):_vm._e(),((_vm.columns[0].DATA_TYPE=='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.currency(row[_vm.columns[0].COLUMN_NAME])))]):_vm._e(),((_vm.columns[0].DATA_TYPE!='date' && _vm.columns[0].DATA_TYPE!='datetime' && _vm.columns[0].DATA_TYPE!='decimal'))?_c('span',{attrs:{"title":row[_vm.columns[0].COLUMN_NAME]}},[(typeof(_vm.columns[0].settings) != 'undefined' && _vm.columns[0].settings != null && typeof(_vm.columns[0].settings.clickEvent) != 'undefined' && _vm.columns[0].settings.clickEvent != null && _vm.columns[0].settings.isInSlot != true)?_c('a',{attrs:{"id":"viewLeadeContent_a","href":"javascript:;"},on:{"click":function($event){return _vm.clickEventCheck(_vm.columns,row)}}},[_vm._v(_vm._s(((typeof(_vm.columns[0].settings.formatter) === 'function')?_vm.columns[0].settings.formatter(row, _vm.columns[0]):_vm.TruncateStr(row[_vm.columns[0].COLUMN_NAME],30))))]):_vm._e(),(typeof(_vm.columns[0].settings) != 'undefined' && _vm.columns[0].settings != null && (typeof(_vm.columns[0].settings.clickEvent) === 'undefined' || _vm.columns[0].settings.clickEvent == null) && _vm.columns[0].settings.isInSlot != true)?_c('span',{attrs:{"title":row[_vm.columns[0].COLUMN_NAME]}},[_vm._v(_vm._s(((typeof(_vm.columns[0].settings.formatter) === 'function')?_vm.columns[0].settings.formatter(row, _vm.columns[0]):_vm.TruncateStr(row[_vm.columns[0].COLUMN_NAME],30))))]):_vm._e(),(typeof(_vm.columns[0].settings) === 'undefined' || _vm.columns[0].settings == null)?_c('span',{attrs:{"title":row[_vm.columns[0].COLUMN_NAME]}},[_vm._v(_vm._s(_vm.TruncateStr(row[_vm.columns[0].COLUMN_NAME],30)))]):_vm._e(),(typeof(_vm.columns[0].settings) != 'undefined' && _vm.columns[0].settings != null && typeof(_vm.columns[0].settings.isInSlot) != 'undefined' && _vm.columns[0].settings.isInSlot == true)?_vm._t("slotdata",null,{"data":{row:row,column:_vm.columns[0]}}):_vm._e()],2):_vm._e()]),_c('div',{staticClass:"card-detail-main filterscrollForCardView"},_vm._l((_vm.columns),function(key,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowColumn(row,key) && index > 0),expression:"isShowColumn(row,key) && index > 0"}],key:index,staticClass:"card-detail"},[_c('i',{class:'fa '+ _vm.defaultIconsForColumn(key),attrs:{"data-name":key.COLUMN_NAME,"aria-hidden":"true"}}),((key.DATA_TYPE=='date' || key.DATA_TYPE=='datetime') && (key.DATA_TYPE !='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.formatDate(row[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE=='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.currency(row[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE!='date' && key.DATA_TYPE!='datetime' && key.DATA_TYPE!='decimal'))?_c('span',{attrs:{"title":row[key.COLUMN_NAME]}},[(typeof(key.settings) != 'undefined' && key.settings != null && typeof(key.settings.clickEvent) != 'undefined' && key.settings.clickEvent != null && key.settings.isInSlot != true)?_c('a',{attrs:{"id":"viewLeadeContent_a","href":"javascript:;"},on:{"click":function($event){return _vm.clickEventCheck2(key,row)}}},[_vm._v(_vm._s(((typeof(key.settings.formatter) === 'function')?key.settings.formatter(row, key):_vm.TruncateStr(row[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":row[key.COLUMN_NAME]}},[_vm._v(_vm._s(((typeof(key.settings.formatter) === 'function')?key.settings.formatter(row, key):_vm.TruncateStr(row[key.COLUMN_NAME],30))))]):_vm._e(),(typeof(key.settings) === 'undefined' || key.settings == null)?_c('span',{attrs:{"title":row[key.COLUMN_NAME]}},[_vm._v(_vm._s(_vm.TruncateStr(row[key.COLUMN_NAME],30)))]):_vm._e(),(typeof(key.settings) != 'undefined' && key.settings != null && typeof(key.settings.isInSlot) != 'undefined' && key.settings.isInSlot == true)?_vm._t("slotdata",null,{"data":{row:row,column:key}}):_vm._e()],2):_vm._e()])}),0),_c('div',{staticClass:"bottom-action",staticStyle:{"background":"none !important"}},[_vm._l((_vm.columns),function(key){return [(typeof(key.settings) !== 'undefined' && key.settings != null && typeof(key.settings.isForTag) !== 'undefined' && key.settings.isForTag == true)?_c('div',{class:'px-2 text-center text-white d-block ' + _vm.tagColor(row, key)},[_vm._v(" "+_vm._s(row[key.COLUMN_NAME]=='Active'?'Draft':row[key.COLUMN_NAME])+" ")]):_vm._e()]}),_c('div',{staticClass:"card-action my-2"},[(_vm.IsShowAction == true)?_c('RowActions',{attrs:{"item":row,"index":index,"identityColumn":_vm.identityColumn,"listActionsMethod":_vm.renderRowActionMethod,"listType":"Card"},on:{"ButtonClick":_vm.ButtonClick}}):_vm._e()],1)],2)]):_vm._e(),(_vm.customcard)?[_vm._t("customcard",null,{"data":{row:row,columnlist:_vm.columns, onchangecheckbox:_vm.onChangeEventOfCheckbox }})]:_vm._e()],2)}),(_vm.noRecord)?_c('div',{staticClass:"table-responsive table-fix-header text-center p-2 border",staticStyle:{"height":"46px"}},[_c('span',{staticClass:"text-center text-danger no-record",attrs:{"colspan":"17"}},[_vm._v(_vm._s(_vm.NorecordfoundText))])]):_vm._e()],2),_c('Pager',{attrs:{"UserPageSize":_vm.UserPageSize,"numberofrecords":_vm.TotalRecords,"CurrentPageNumber":_vm.CurrentPageNumber,"prev-text":_vm.$t('Previous'),"first-text":_vm.$t('First'),"last-text":_vm.$t('Last'),"next-text":_vm.$t('Next')},on:{"SetCurrentPage":_vm.pagerMethod}})],1)}
47359
- var CardViewvue_type_template_id_1e09dffe_staticRenderFns = []
47472
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cea975cc-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/CardView.vue?vue&type=template&id=7e36c8b8&
47473
+ var CardViewvue_type_template_id_7e36c8b8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"talygen-card-view"},[_c('div',{class:{'card-view bg-border custom-box-width': true, 'row': !_vm.noRecord}},[_vm._l((_vm.data),function(row,index){return _c('div',{key:index,staticClass:"col-md-12 col-lg-6 col-xl-3 mb-3 fsmaddresscontrol"},[(!_vm.customcard)?_c('div',{class:'card-box ' + ((typeof(row.additionalClass) != 'undefined')? row.additionalClass: '' ),style:('border-width: 5px 2px 2px; border-style: solid; border-color:' + ((typeof(row.color_code) != 'undefined')? row.color_code: 'rgb(153 153 153)' ) + '; border-image: initial;')},[_c('div',{staticClass:"mb-2"},[_c('div',{staticClass:"custom-control custom-checkbox custom-control-inline"},[_c('input',{staticClass:"chkItems custom-control-input",attrs:{"id":'Checkbox_' + index,"disabled":row.isCheckBoxDisabled,"type":"checkbox"},domProps:{"checked":row.isSelected,"value":row[_vm.identityColumn]},on:{"change":function($event){return _vm.onChangeEventOfCheckbox($event, row)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'Checkbox_' + index}})]),((_vm.columns[0].DATA_TYPE=='date' || _vm.columns[0].DATA_TYPE=='datetime') && (_vm.columns[0].DATA_TYPE !='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.formatDate(row[_vm.columns[0].COLUMN_NAME])))]):_vm._e(),((_vm.columns[0].DATA_TYPE=='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.currency(row[_vm.columns[0].COLUMN_NAME])))]):_vm._e(),((_vm.columns[0].DATA_TYPE!='date' && _vm.columns[0].DATA_TYPE!='datetime' && _vm.columns[0].DATA_TYPE!='decimal'))?_c('span',{attrs:{"title":row[_vm.columns[0].COLUMN_NAME]}},[(typeof(_vm.columns[0].settings) != 'undefined' && _vm.columns[0].settings != null && typeof(_vm.columns[0].settings.clickEvent) != 'undefined' && _vm.columns[0].settings.clickEvent != null && _vm.columns[0].settings.isInSlot != true)?_c('a',{attrs:{"id":"viewLeadeContent_a","href":"javascript:;"},on:{"click":function($event){return _vm.clickEventCheck(_vm.columns,row)}}},[_vm._v(_vm._s(((typeof(_vm.columns[0].settings.formatter) === 'function')?_vm.columns[0].settings.formatter(row, _vm.columns[0]):_vm.TruncateStr(row[_vm.columns[0].COLUMN_NAME],30))))]):_vm._e(),(typeof(_vm.columns[0].settings) != 'undefined' && _vm.columns[0].settings != null && (typeof(_vm.columns[0].settings.clickEvent) === 'undefined' || _vm.columns[0].settings.clickEvent == null) && _vm.columns[0].settings.isInSlot != true)?_c('span',{attrs:{"title":row[_vm.columns[0].COLUMN_NAME]}},[_vm._v(_vm._s(((typeof(_vm.columns[0].settings.formatter) === 'function')?_vm.columns[0].settings.formatter(row, _vm.columns[0]):_vm.TruncateStr(row[_vm.columns[0].COLUMN_NAME],30))))]):_vm._e(),(typeof(_vm.columns[0].settings) === 'undefined' || _vm.columns[0].settings == null)?_c('span',{attrs:{"title":row[_vm.columns[0].COLUMN_NAME]}},[_vm._v(_vm._s(_vm.TruncateStr(row[_vm.columns[0].COLUMN_NAME],30)))]):_vm._e(),(typeof(_vm.columns[0].settings) != 'undefined' && _vm.columns[0].settings != null && typeof(_vm.columns[0].settings.isInSlot) != 'undefined' && _vm.columns[0].settings.isInSlot == true)?_vm._t("slotdata",null,{"data":{row:row,column:_vm.columns[0]}}):_vm._e()],2):_vm._e()]),_c('div',{staticClass:"card-detail-main filterscrollForCardView"},_vm._l((_vm.columns),function(key,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowColumn(row,key) && index > 0),expression:"isShowColumn(row,key) && index > 0"}],key:index,staticClass:"card-detail"},[_c('i',{class:'fa '+ _vm.defaultIconsForColumn(key),attrs:{"data-name":key.COLUMN_NAME,"aria-hidden":"true"}}),((key.DATA_TYPE=='date' || key.DATA_TYPE=='datetime') && (key.DATA_TYPE !='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.formatDate(row[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE=='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.currency(row[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE!='date' && key.DATA_TYPE!='datetime' && key.DATA_TYPE!='decimal'))?_c('span',{attrs:{"title":row[key.COLUMN_NAME]}},[(typeof(key.settings) != 'undefined' && key.settings != null && typeof(key.settings.clickEvent) != 'undefined' && key.settings.clickEvent != null && key.settings.isInSlot != true)?_c('a',{attrs:{"id":"viewLeadeContent_a","href":"javascript:;"},on:{"click":function($event){return _vm.clickEventCheck2(key,row)}}},[_vm._v(_vm._s(((typeof(key.settings.formatter) === 'function')?key.settings.formatter(row, key):_vm.TruncateStr(row[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":row[key.COLUMN_NAME]}},[_vm._v(_vm._s(((typeof(key.settings.formatter) === 'function')?key.settings.formatter(row, key):_vm.TruncateStr(row[key.COLUMN_NAME],30))))]):_vm._e(),(typeof(key.settings) === 'undefined' || key.settings == null)?_c('span',{attrs:{"title":row[key.COLUMN_NAME]}},[_vm._v(_vm._s(_vm.TruncateStr(row[key.COLUMN_NAME],30)))]):_vm._e(),(typeof(key.settings) != 'undefined' && key.settings != null && typeof(key.settings.isInSlot) != 'undefined' && key.settings.isInSlot == true)?_vm._t("slotdata",null,{"data":{row:row,column:key}}):_vm._e()],2):_vm._e()])}),0),_c('div',{staticClass:"bottom-action",staticStyle:{"background":"none !important"}},[_vm._l((_vm.columns),function(key){return [(typeof(key.settings) !== 'undefined' && key.settings != null && typeof(key.settings.isForTag) !== 'undefined' && key.settings.isForTag == true)?_c('div',{class:'px-2 text-center text-white d-block ' + _vm.tagColor(row, key)},[_vm._v(" "+_vm._s(row[key.COLUMN_NAME]=='Active'?'Draft':row[key.COLUMN_NAME])+" ")]):_vm._e()]}),_c('div',{staticClass:"card-action my-2"},[(_vm.IsShowAction == true)?_c('RowActions',{attrs:{"item":row,"index":index,"identityColumn":_vm.identityColumn,"listActionsMethod":_vm.renderRowActionMethod,"listType":"Card"},on:{"ButtonClick":_vm.ButtonClick}}):_vm._e()],1)],2)]):_vm._e(),(_vm.customcard)?[_vm._t("customcard",null,{"data":{row:row,columnlist:_vm.columns, onchangecheckbox:_vm.onChangeEventOfCheckbox }})]:_vm._e()],2)}),(_vm.noRecord)?_c('div',{staticClass:"table-responsive table-fix-header text-center p-2 border",staticStyle:{"height":"46px"}},[_c('span',{staticClass:"text-center text-danger no-record",attrs:{"colspan":"17"}},[_vm._v(_vm._s(_vm.NorecordfoundText))])]):_vm._e()],2),_c('Pager',{attrs:{"UserPageSize":_vm.UserPageSize,"numberofrecords":_vm.TotalRecords,"CurrentPageNumber":_vm.CurrentPageNumber,"prev-text":_vm.$t('Previous'),"first-text":_vm.$t('First'),"last-text":_vm.$t('Last'),"next-text":_vm.$t('Next')},on:{"SetCurrentPage":_vm.pagerMethod}})],1)}
47474
+ var CardViewvue_type_template_id_7e36c8b8_staticRenderFns = []
47360
47475
 
47361
47476
 
47362
- // CONCATENATED MODULE: ./src/components/CardView.vue?vue&type=template&id=1e09dffe&
47477
+ // CONCATENATED MODULE: ./src/components/CardView.vue?vue&type=template&id=7e36c8b8&
47363
47478
 
47364
47479
  // 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/CardView.vue?vue&type=script&lang=js&
47365
47480
 
@@ -47535,8 +47650,8 @@ var CardViewvue_type_style_index_0_lang_css_ = __webpack_require__("7d46");
47535
47650
 
47536
47651
  var CardView_component = normalizeComponent(
47537
47652
  components_CardViewvue_type_script_lang_js_,
47538
- CardViewvue_type_template_id_1e09dffe_render,
47539
- CardViewvue_type_template_id_1e09dffe_staticRenderFns,
47653
+ CardViewvue_type_template_id_7e36c8b8_render,
47654
+ CardViewvue_type_template_id_7e36c8b8_staticRenderFns,
47540
47655
  false,
47541
47656
  null,
47542
47657
  null,
@@ -48861,13 +48976,6 @@ module.exports = function (it) {
48861
48976
  };
48862
48977
 
48863
48978
 
48864
- /***/ }),
48865
-
48866
- /***/ "fc94":
48867
- /***/ (function(module, exports, __webpack_require__) {
48868
-
48869
- // extracted by mini-css-extract-plugin
48870
-
48871
48979
  /***/ }),
48872
48980
 
48873
48981
  /***/ "fce3":