tg-listv 0.1.26 → 0.1.28

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.
@@ -246,17 +246,6 @@ module.exports = function (fn, that) {
246
246
  };
247
247
 
248
248
 
249
- /***/ }),
250
-
251
- /***/ "038f":
252
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
253
-
254
- "use strict";
255
- /* 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_098fa225_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5525");
256
- /* 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_098fa225_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_098fa225_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
257
- /* unused harmony reexport * */
258
-
259
-
260
249
  /***/ }),
261
250
 
262
251
  /***/ "057f":
@@ -1064,6 +1053,13 @@ module.exports = function (exec, SKIP_CLOSING) {
1064
1053
  };
1065
1054
 
1066
1055
 
1056
+ /***/ }),
1057
+
1058
+ /***/ "1c9b":
1059
+ /***/ (function(module, exports, __webpack_require__) {
1060
+
1061
+ // extracted by mini-css-extract-plugin
1062
+
1067
1063
  /***/ }),
1068
1064
 
1069
1065
  /***/ "1cdc":
@@ -23834,13 +23830,6 @@ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNa
23834
23830
  }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
23835
23831
 
23836
23832
 
23837
- /***/ }),
23838
-
23839
- /***/ "5525":
23840
- /***/ (function(module, exports, __webpack_require__) {
23841
-
23842
- // extracted by mini-css-extract-plugin
23843
-
23844
23833
  /***/ }),
23845
23834
 
23846
23835
  /***/ "5692":
@@ -23990,6 +23979,17 @@ module.exports = {
23990
23979
 
23991
23980
  // extracted by mini-css-extract-plugin
23992
23981
 
23982
+ /***/ }),
23983
+
23984
+ /***/ "58f4":
23985
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
23986
+
23987
+ "use strict";
23988
+ /* 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");
23989
+ /* 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__);
23990
+ /* unused harmony reexport * */
23991
+
23992
+
23993
23993
  /***/ }),
23994
23994
 
23995
23995
  /***/ "5926":
@@ -24452,13 +24452,6 @@ setToStringTag(PromiseConstructor, PROMISE, false, true);
24452
24452
  setSpecies(PROMISE);
24453
24453
 
24454
24454
 
24455
- /***/ }),
24456
-
24457
- /***/ "5eca":
24458
- /***/ (function(module, exports, __webpack_require__) {
24459
-
24460
- // extracted by mini-css-extract-plugin
24461
-
24462
24455
  /***/ }),
24463
24456
 
24464
24457
  /***/ "5eed":
@@ -24580,17 +24573,6 @@ function toFinite(value) {
24580
24573
  module.exports = toFinite;
24581
24574
 
24582
24575
 
24583
- /***/ }),
24584
-
24585
- /***/ "64c2":
24586
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
24587
-
24588
- "use strict";
24589
- /* 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_47f497de_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5eca");
24590
- /* 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_47f497de_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_47f497de_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
24591
- /* unused harmony reexport * */
24592
-
24593
-
24594
24576
  /***/ }),
24595
24577
 
24596
24578
  /***/ "6547":
@@ -25163,6 +25145,17 @@ module.exports = function (CONSTRUCTOR_NAME, wrapper, common) {
25163
25145
  };
25164
25146
 
25165
25147
 
25148
+ /***/ }),
25149
+
25150
+ /***/ "6f77":
25151
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
25152
+
25153
+ "use strict";
25154
+ /* 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");
25155
+ /* 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__);
25156
+ /* unused harmony reexport * */
25157
+
25158
+
25166
25159
  /***/ }),
25167
25160
 
25168
25161
  /***/ "7037":
@@ -31330,17 +31323,6 @@ function _defineProperty(e, r, t) {
31330
31323
 
31331
31324
  module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
31332
31325
 
31333
- /***/ }),
31334
-
31335
- /***/ "972e":
31336
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
31337
-
31338
- "use strict";
31339
- /* 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");
31340
- /* 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__);
31341
- /* unused harmony reexport * */
31342
-
31343
-
31344
31326
  /***/ }),
31345
31327
 
31346
31328
  /***/ "99af":
@@ -38032,6 +38014,13 @@ if (DESCRIPTORS && isCallable(NativeSymbol) && (!('description' in SymbolPrototy
38032
38014
  }
38033
38015
 
38034
38016
 
38017
+ /***/ }),
38018
+
38019
+ /***/ "e0a5":
38020
+ /***/ (function(module, exports, __webpack_require__) {
38021
+
38022
+ // extracted by mini-css-extract-plugin
38023
+
38035
38024
  /***/ }),
38036
38025
 
38037
38026
  /***/ "e0ef":
@@ -38079,13 +38068,6 @@ function before(n, func) {
38079
38068
  module.exports = before;
38080
38069
 
38081
38070
 
38082
- /***/ }),
38083
-
38084
- /***/ "e11e":
38085
- /***/ (function(module, exports, __webpack_require__) {
38086
-
38087
- // extracted by mini-css-extract-plugin
38088
-
38089
38071
  /***/ }),
38090
38072
 
38091
38073
  /***/ "e163":
@@ -38536,6 +38518,17 @@ if ($stringify) {
38536
38518
  }
38537
38519
 
38538
38520
 
38521
+ /***/ }),
38522
+
38523
+ /***/ "ebcb":
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_left_search_vue_vue_type_style_index_0_id_1a666c55_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1c9b");
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_left_search_vue_vue_type_style_index_0_id_1a666c55_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_1a666c55_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
38529
+ /* unused harmony reexport * */
38530
+
38531
+
38539
38532
  /***/ }),
38540
38533
 
38541
38534
  /***/ "efec":
@@ -38583,6 +38576,13 @@ module.exports.f = function (C) {
38583
38576
  };
38584
38577
 
38585
38578
 
38579
+ /***/ }),
38580
+
38581
+ /***/ "f138":
38582
+ /***/ (function(module, exports, __webpack_require__) {
38583
+
38584
+ // extracted by mini-css-extract-plugin
38585
+
38586
38586
  /***/ }),
38587
38587
 
38588
38588
  /***/ "f183":
@@ -40086,14 +40086,14 @@ var DataTable_component = normalizeComponent(
40086
40086
  )
40087
40087
 
40088
40088
  /* harmony default export */ var DataTable = (DataTable_component.exports);
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){
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=1a666c55&scoped=true&
40090
+ var left_searchvue_type_template_id_1a666c55_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){
40091
40091
  var errors = ref.errors;
40092
40092
  var validate = ref.validate;
40093
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){
40094
40094
  var errors = ref.errors;
40095
40095
  var validate = ref.validate;
40096
- return [_c('input',{class:['form-control', 'search', { 'is-invalid': errors && errors.length }],attrs:{"type":'number',"placeholder":_vm.getPlaceholderforAnyField(field, 'from')},domProps:{"value":field.value},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field, 'from')},"input":function (e) { field.value = e.target.value; validate(e.target.value); }}}),(errors[0])?_c('span',{staticClass:"text-danger small d-block mt-1"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}):( false)?undefined:( false)?undefined:_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholderforAnyField(field, 'from'),"type":'number'},domProps:{"value":(field.value)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field, 'from')},"input":function($event){if($event.target.composing){ return; }_vm.$set(field, "value", $event.target.value)}}})],1),_c('div',{staticClass:"form-group"},[( false)?undefined:( false)?undefined:_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.secondValue),expression:"field.secondValue"}],staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholderforAnyField(field, 'to'),"type":'number'},domProps:{"value":(field.secondValue)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field, 'to')},"input":function($event){if($event.target.composing){ return; }_vm.$set(field, "secondValue", $event.target.value)}}})])]:_vm._e(),(field.fieldType== 'date' || field.fieldType== 'date-range')?_c('div',{staticClass:"form-group"},[(_vm.hasValidationRules(field) && field.fieldType == 'date')?_c('ValidationProvider',{attrs:{"rules":field.validationRules,"name":_vm.getValidationFieldName(field)},scopedSlots:_vm._u([{key:"default",fn:function(ref){
40096
+ return [_c('input',{class:['form-control', 'search', { 'is-invalid': errors && errors.length }],attrs:{"type":'number',"placeholder":_vm.getPlaceholderforAnyField(field, 'from')},domProps:{"value":field.value},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field, 'from')},"input":function (e) { field.value = e.target.value; validate(e.target.value); }}}),(errors[0])?_c('span',{staticClass:"text-danger small d-block mt-1"},[_vm._v(_vm._s(errors[0]))]):_vm._e()]}}],null,true)}):( false)?undefined:( false)?undefined:_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholderforAnyField(field, 'from'),"type":'number'},domProps:{"value":(field.value)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field, 'from')},"input":function($event){if($event.target.composing){ return; }_vm.$set(field, "value", $event.target.value)}}})],1),_c('div',{staticClass:"form-group mt-2"},[( false)?undefined:( false)?undefined:_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.secondValue),expression:"field.secondValue"}],staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholderforAnyField(field, 'to'),"type":'number'},domProps:{"value":(field.secondValue)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field, 'to')},"input":function($event){if($event.target.composing){ return; }_vm.$set(field, "secondValue", $event.target.value)}}})])]:_vm._e(),(field.fieldType== 'date' || field.fieldType== 'date-range')?_c('div',{staticClass:"form-group"},[(_vm.hasValidationRules(field) && field.fieldType == 'date')?_c('ValidationProvider',{attrs:{"rules":field.validationRules,"name":_vm.getValidationFieldName(field)},scopedSlots:_vm._u([{key:"default",fn:function(ref){
40097
40097
  var errors = ref.errors;
40098
40098
  var validate = ref.validate;
40099
40099
  return [_c('div',{class:['input-group', { 'mb-2': field.fieldType == 'date-range', 'is-invalid': errors && errors.length }]},[_c('DatePicker',{ref:field.fieldName,refInFor:true,staticClass:"input-group",staticStyle:{"flex-wrap":"nowrap"},attrs:{"locale":_vm.lang,"is24hr":false,"name":'DateFrom' + fieldIndex,"mode":_vm.getModeofDateField(field),"masks":_vm.getFormat(field),"popover":_vm.popover,"min-date":_vm.getMinmumDate(field, 'dateFrom'),"max-date":_vm.getMaxDate(field, 'dateFrom'),"minute-increment":5},on:{"input":function (val) { validate(val); _vm.SetMinMaxValueForDatePicker(field, 'datefrom'); }},scopedSlots:_vm._u([{key:"default",fn:function(ref){
@@ -40126,10 +40126,10 @@ return [_c('select',{ref:field.fieldName,refInFor:true,class:['form-control', {
40126
40126
  var errors = ref.errors;
40127
40127
  var validate = ref.validate;
40128
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 = []
40129
+ var left_searchvue_type_template_id_1a666c55_scoped_true_staticRenderFns = []
40130
40130
 
40131
40131
 
40132
- // CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=195f1f96&scoped=true&
40132
+ // CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=1a666c55&scoped=true&
40133
40133
 
40134
40134
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.to-primitive.js
40135
40135
  var es_symbol_to_primitive = __webpack_require__("8172");
@@ -43464,25 +43464,25 @@ var vuescroll_default = /*#__PURE__*/__webpack_require__.n(vuescroll);
43464
43464
  var vue_treeselect_cjs = __webpack_require__("ca17");
43465
43465
  var vue_treeselect_cjs_default = /*#__PURE__*/__webpack_require__.n(vue_treeselect_cjs);
43466
43466
 
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=47f497de&scoped=true&
43468
- var SearchableSelectvue_type_template_id_47f497de_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)}
43469
- var SearchableSelectvue_type_template_id_47f497de_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 = []
43470
43470
 
43471
43471
 
43472
- // CONCATENATED MODULE: ./src/components/SearchableSelect.vue?vue&type=template&id=47f497de&scoped=true&
43472
+ // CONCATENATED MODULE: ./src/components/SearchableSelect.vue?vue&type=template&id=50fe2d92&scoped=true&
43473
43473
 
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=098fa225&scoped=true&
43475
- var Autocompletevue_type_template_id_098fa225_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:{
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)])}),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:{
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)])}),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()])}
43482
- var Autocompletevue_type_template_id_098fa225_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...")])])}]
43483
43483
 
43484
43484
 
43485
- // CONCATENATED MODULE: ./src/components/Autocomplete.vue?vue&type=template&id=098fa225&scoped=true&
43485
+ // CONCATENATED MODULE: ./src/components/Autocomplete.vue?vue&type=template&id=6cb7e2c2&scoped=true&
43486
43486
 
43487
43487
  // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
43488
43488
  function _arrayLikeToArray(r, a) {
@@ -43632,12 +43632,12 @@ var es_array_flat_map = __webpack_require__("5db7");
43632
43632
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.unscopables.flat-map.js
43633
43633
  var es_array_unscopables_flat_map = __webpack_require__("73d9");
43634
43634
 
43635
- // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find-index.js
43636
- var es_array_find_index = __webpack_require__("c740");
43637
-
43638
43635
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.set.js
43639
43636
  var es_set = __webpack_require__("6062");
43640
43637
 
43638
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find-index.js
43639
+ var es_array_find_index = __webpack_require__("c740");
43640
+
43641
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&
43642
43642
 
43643
43643
 
@@ -44071,6 +44071,12 @@ var es_set = __webpack_require__("6062");
44071
44071
  //
44072
44072
  //
44073
44073
  //
44074
+ //
44075
+ //
44076
+ //
44077
+ //
44078
+ //
44079
+ //
44074
44080
  /* harmony default export */ var Autocompletevue_type_script_lang_js_ = ({
44075
44081
  name: 'Autocomplete',
44076
44082
  // Vue 2 v-model uses value/input by default
@@ -44240,7 +44246,10 @@ var es_set = __webpack_require__("6062");
44240
44246
  isMenuOpen: false,
44241
44247
  searchTerm: '',
44242
44248
  highlightedIndex: -1,
44243
- 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
44244
44253
  filterStatus: null // 'active', 'inactive', or null for all
44245
44254
 
44246
44255
  };
@@ -44258,6 +44267,13 @@ var es_set = __webpack_require__("6062");
44258
44267
  displayItems: function displayItems() {
44259
44268
  var _this = this;
44260
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
+
44261
44277
  return this.items.map(function (item) {
44262
44278
  return _objectSpread2(_objectSpread2({}, item), {}, {
44263
44279
  title: _this.getItemText(item),
@@ -44311,21 +44327,24 @@ var es_set = __webpack_require__("6062");
44311
44327
  });
44312
44328
  },
44313
44329
  hasGrouping: function hasGrouping() {
44314
- var _this3 = this;
44315
-
44316
- if (this.items.length === 0) return false; // Check if items are in grouped format
44330
+ if (this.items.length === 0) return false; // Check if items are already in pre-grouped format
44317
44331
 
44318
- 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
44319
44334
 
44320
44335
  if (this.groupFields && this.groupFields.length > 0) {
44321
- // If groupFields is defined, we should group by the first field
44322
- return true;
44323
- } // 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
44324
44341
 
44325
44342
 
44326
- return this.displayItems.some(function (item) {
44327
- return _this3.getItemGroup(item);
44328
- });
44343
+ if (this.displayItems.length > 0) {
44344
+ return !!this.getItemGroup(this.displayItems[0]);
44345
+ }
44346
+
44347
+ return false;
44329
44348
  },
44330
44349
  flatDisplayItems: function flatDisplayItems() {
44331
44350
  // Flatten grouped items for easier iteration
@@ -44344,7 +44363,7 @@ var es_set = __webpack_require__("6062");
44344
44363
  return this.menuProps && this.menuProps.maxHeight || 300;
44345
44364
  },
44346
44365
  selectedItems: function selectedItems() {
44347
- var _this4 = this;
44366
+ var _this3 = this;
44348
44367
 
44349
44368
  if (!this.multiple) return []; // Get selected values from currentValue (supports both value and modelValue props)
44350
44369
 
@@ -44366,7 +44385,7 @@ var es_set = __webpack_require__("6062");
44366
44385
  }
44367
44386
 
44368
44387
  var filtered = itemsToSearch.filter(function (item) {
44369
- var itemValue = _this4.getItemValue(item);
44388
+ var itemValue = _this3.getItemValue(item);
44370
44389
 
44371
44390
  return selectedValues.some(function (sv) {
44372
44391
  return String(sv) === String(itemValue);
@@ -44374,19 +44393,19 @@ var es_set = __webpack_require__("6062");
44374
44393
  });
44375
44394
  return filtered.map(function (item) {
44376
44395
  return _objectSpread2(_objectSpread2({}, item), {}, {
44377
- title: _this4.getItemText(item),
44378
- value: _this4.getItemValue(item)
44396
+ title: _this3.getItemText(item),
44397
+ value: _this3.getItemValue(item)
44379
44398
  });
44380
44399
  });
44381
44400
  },
44382
44401
  displayText: function displayText() {
44383
- var _this5 = this;
44402
+ var _this4 = this;
44384
44403
 
44385
44404
  if (this.multiple) return '';
44386
44405
  var currentVal = this.currentValue;
44387
44406
  if (!currentVal) return this.searchTerm;
44388
44407
  var selected = this.displayItems.find(function (item) {
44389
- return String(_this5.getItemValue(item)) === String(currentVal);
44408
+ return String(_this4.getItemValue(item)) === String(currentVal);
44390
44409
  });
44391
44410
  return selected ? this.getItemText(selected) : this.searchTerm;
44392
44411
  },
@@ -44415,15 +44434,32 @@ var es_set = __webpack_require__("6062");
44415
44434
  hasActionButtons: function hasActionButtons() {
44416
44435
  return this.actionButtons && (this.actionButtons.selectAll || this.actionButtons.active || this.actionButtons.inactive || this.actionButtons.clear);
44417
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
+ },
44418
44454
  allSelected: function allSelected() {
44419
- var _this6 = this;
44455
+ var _this5 = this;
44420
44456
 
44421
44457
  if (!this.multiple) return false; // Check if all filtered items are selected
44422
44458
 
44423
44459
  var filteredItems = this.filteredDisplayItems;
44424
44460
  var selectedValues = Array.isArray(this.currentValue) ? this.currentValue : [];
44425
44461
  return filteredItems.length > 0 && filteredItems.every(function (item) {
44426
- var itemValue = _this6.getItemValue(item);
44462
+ var itemValue = _this5.getItemValue(item);
44427
44463
 
44428
44464
  return selectedValues.some(function (sv) {
44429
44465
  return String(sv) === String(itemValue);
@@ -44437,20 +44473,20 @@ var es_set = __webpack_require__("6062");
44437
44473
  },
44438
44474
  // Performance: Filter and paginate items
44439
44475
  filteredDisplayItems: function filteredDisplayItems() {
44440
- var _this7 = this;
44476
+ var _this6 = this;
44441
44477
 
44442
44478
  var items = this.displayItems; // Apply status filter if active
44443
44479
 
44444
44480
  if (this.filterStatus) {
44445
44481
  items = items.filter(function (item) {
44446
44482
  // Check status field (case-insensitive)
44447
- 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');
44448
44484
 
44449
44485
  var statusStr = String(status).toLowerCase().trim();
44450
44486
 
44451
- if (_this7.filterStatus === 'active') {
44487
+ if (_this6.filterStatus === 'active') {
44452
44488
  return statusStr === 'active' || statusStr === 'true' || statusStr === '1';
44453
- } else if (_this7.filterStatus === 'inactive') {
44489
+ } else if (_this6.filterStatus === 'inactive') {
44454
44490
  return statusStr === 'inactive' || statusStr === 'false' || statusStr === '0';
44455
44491
  }
44456
44492
 
@@ -44460,92 +44496,128 @@ var es_set = __webpack_require__("6062");
44460
44496
 
44461
44497
  return items;
44462
44498
  },
44463
- // Performance: Limit rendered items
44464
- paginatedDisplayItems: function paginatedDisplayItems() {
44465
- if (this.lazyLoad && this.filteredDisplayItems.length > this.renderedItemCount) {
44466
- return this.filteredDisplayItems.slice(0, this.renderedItemCount);
44467
- }
44468
-
44469
- return this.filteredDisplayItems;
44470
- },
44471
- // Update grouped items to use paginated/filtered items
44472
- paginatedGroupedItems: function paginatedGroupedItems() {
44473
- var _this8 = this;
44499
+ // Status-filtered groups (shared by paginatedGroupedItems and filteredFlatItemCount)
44500
+ filteredGroups: function filteredGroups() {
44501
+ var _this7 = this;
44474
44502
 
44475
44503
  if (!this.hasGrouping) return [];
44476
- var groups = this.groupedItems; // Apply status filter if active
44504
+ var groups = this.groupedItems;
44477
44505
 
44478
44506
  if (this.filterStatus) {
44479
44507
  groups = groups.map(function (group) {
44480
44508
  return _objectSpread2(_objectSpread2({}, group), {}, {
44481
44509
  items: group.items.filter(function (item) {
44482
- // Check status field (case-insensitive)
44483
- 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');
44484
44511
 
44485
44512
  var statusStr = String(status).toLowerCase().trim();
44486
-
44487
- if (_this8.filterStatus === 'active') {
44488
- return statusStr === 'active' || statusStr === 'true' || statusStr === '1';
44489
- } else if (_this8.filterStatus === 'inactive') {
44490
- return statusStr === 'inactive' || statusStr === 'false' || statusStr === '0';
44491
- }
44492
-
44513
+ if (_this7.filterStatus === 'active') return statusStr === 'active' || statusStr === 'true' || statusStr === '1';
44514
+ if (_this7.filterStatus === 'inactive') return statusStr === 'inactive' || statusStr === 'false' || statusStr === '0';
44493
44515
  return true;
44494
44516
  })
44495
44517
  });
44496
44518
  }).filter(function (group) {
44497
44519
  return group.items.length > 0;
44498
44520
  });
44499
- } // Apply pagination if lazy load is enabled
44521
+ }
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
+ }
44500
44532
 
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 = [];
44501
44560
 
44502
- if (this.lazyLoad) {
44503
- var itemCount = 0;
44504
- var result = [];
44561
+ var _iterator = _createForOfIteratorHelper(groups),
44562
+ _step;
44505
44563
 
44506
- var _iterator = _createForOfIteratorHelper(groups),
44507
- _step;
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
44508
44568
 
44509
- try {
44510
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
44511
- var group = _step.value;
44512
- if (itemCount >= this.renderedItemCount) break;
44513
- var remaining = this.renderedItemCount - itemCount;
44514
- result.push(_objectSpread2(_objectSpread2({}, group), {}, {
44515
- items: group.items.slice(0, remaining)
44516
- }));
44569
+ if (groupEnd <= this.windowStart) {
44517
44570
  itemCount += group.items.length;
44518
- }
44519
- } catch (err) {
44520
- _iterator.e(err);
44521
- } finally {
44522
- _iterator.f();
44523
- }
44571
+ continue;
44572
+ } // Stop once we are entirely past the window
44524
44573
 
44525
- return result;
44574
+
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();
44526
44587
  }
44527
44588
 
44528
- return groups;
44589
+ return result;
44529
44590
  }
44530
44591
  },
44531
44592
  watch: {
44532
44593
  items: function items() {
44533
- // Reset highlight when items change
44594
+ // Reset highlight, height measurement and window when items change
44534
44595
  this.highlightedIndex = -1;
44596
+ this._heightMeasured = false;
44597
+ this.windowStart = 0;
44535
44598
  },
44536
44599
  hasGrouping: function hasGrouping() {
44537
44600
  // Reset highlight when grouping changes
44538
44601
  this.highlightedIndex = -1;
44539
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
+ },
44540
44617
  modelValue: {
44541
44618
  handler: function handler(newVal, oldVal) {
44542
44619
  // Reset search term when value changes externally
44543
- if (this.multiple) {
44544
- var isEmpty = !newVal || (Array.isArray(newVal) ? newVal.length === 0 : newVal === '');
44545
-
44546
- if (isEmpty && this.searchTerm) {
44547
- this.searchTerm = '';
44548
- }
44620
+ if (this.multiple) {// For multiple, keep search term
44549
44621
  } else {
44550
44622
  // For single select, clear search term if value is cleared
44551
44623
  if (!newVal && this.searchTerm) {
@@ -44559,12 +44631,7 @@ var es_set = __webpack_require__("6062");
44559
44631
  value: {
44560
44632
  handler: function handler(newVal, oldVal) {
44561
44633
  // Reset search term when value changes externally
44562
- if (this.multiple) {
44563
- var isEmpty = !newVal || (Array.isArray(newVal) ? newVal.length === 0 : newVal === '');
44564
-
44565
- if (isEmpty && this.searchTerm) {
44566
- this.searchTerm = '';
44567
- }
44634
+ if (this.multiple) {// For multiple, keep search term
44568
44635
  } else {
44569
44636
  // For single select, clear search term if value is cleared
44570
44637
  if (!newVal && this.searchTerm) {
@@ -44577,8 +44644,10 @@ var es_set = __webpack_require__("6062");
44577
44644
  }
44578
44645
  },
44579
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)
44580
44650
  },
44581
- beforeDestroy: function beforeDestroy() {},
44582
44651
  methods: {
44583
44652
  getItemText: function getItemText(item) {
44584
44653
  if (item.raw) {
@@ -44606,7 +44675,6 @@ var es_set = __webpack_require__("6062");
44606
44675
  if (itemIndex > -1) {
44607
44676
  value = "item-".concat(itemIndex);
44608
44677
  } else {
44609
- console.warn('Autocomplete: Item has no value and could not determine index', item);
44610
44678
  value = "item-".concat(Date.now(), "-").concat(Math.random());
44611
44679
  }
44612
44680
  }
@@ -44673,20 +44741,12 @@ var es_set = __webpack_require__("6062");
44673
44741
  },
44674
44742
  isSelected: function isSelected(item) {
44675
44743
  var value = this.getItemValue(item);
44676
- var currentVal = this.currentValue;
44677
-
44678
- if (this.multiple) {
44679
- var selectedValues = Array.isArray(currentVal) ? currentVal : currentVal ? [currentVal] : []; // Compare values with type coercion to handle string/number mismatches
44680
-
44681
- return selectedValues.some(function (sv) {
44682
- return String(sv) === String(value);
44683
- });
44684
- }
44685
-
44686
- return currentVal !== null && currentVal !== undefined && String(currentVal) === String(value);
44744
+ return this.selectedValueSet.has(String(value));
44687
44745
  },
44688
44746
  onInput: function onInput(event) {
44689
44747
  this.searchTerm = event.target.value;
44748
+ this.windowStart = 0; // scroll back to top of results on every keystroke
44749
+
44690
44750
  this.isMenuOpen = true;
44691
44751
  this.$emit('update:search', this.searchTerm);
44692
44752
  this.$emit('search', this.searchTerm);
@@ -44714,12 +44774,12 @@ var es_set = __webpack_require__("6062");
44714
44774
  if (selected && _this9.searchTerm !== _this9.getItemText(selected)) {
44715
44775
  _this9.searchTerm = '';
44716
44776
  }
44717
- } //this.$emit('blur', selectedValue)
44777
+ }
44778
+ } //this.$emit('blur')
44718
44779
 
44719
- }
44720
44780
  }, 200);
44721
44781
  },
44722
- toggleMenu1: function toggleMenu1() {
44782
+ toggleMenu: function toggleMenu() {
44723
44783
  var _this10 = this;
44724
44784
 
44725
44785
  if (this.disabled) return;
@@ -44738,6 +44798,7 @@ var es_set = __webpack_require__("6062");
44738
44798
  closeMenu: function closeMenu() {
44739
44799
  this.isMenuOpen = false;
44740
44800
  this.highlightedIndex = -1;
44801
+ this.windowStart = 0;
44741
44802
  document.removeEventListener('click', this.handleClickOutside);
44742
44803
 
44743
44804
  if (this.multiple) {
@@ -44752,12 +44813,13 @@ var es_set = __webpack_require__("6062");
44752
44813
  }
44753
44814
  },
44754
44815
  selectItem: function selectItem(item, event) {
44755
- // Stop bubbling so the <li> click doesn't fire twice,
44756
- // but let the browser toggle the checkbox normally.
44816
+ // Prevent event from bubbling and default behavior
44757
44817
  if (event) {
44818
+ event.preventDefault();
44758
44819
  event.stopPropagation();
44759
44820
  event.stopImmediatePropagation();
44760
- }
44821
+ } // Debug logging
44822
+
44761
44823
 
44762
44824
  var value = this.getItemValue(item);
44763
44825
  var currentVal = this.currentValue;
@@ -44959,7 +45021,6 @@ var es_set = __webpack_require__("6062");
44959
45021
  event.stopImmediatePropagation();
44960
45022
  }
44961
45023
 
44962
- console.log('selectAll called - this should only be called from the Select All button');
44963
45024
  if (!this.multiple) return; // Select all items from the currently filtered/displayed items
44964
45025
 
44965
45026
  var allItems = this.filteredDisplayItems;
@@ -44971,22 +45032,18 @@ var es_set = __webpack_require__("6062");
44971
45032
 
44972
45033
  var mergedValues = _toConsumableArray(new Set([].concat(_toConsumableArray(currentValues), _toConsumableArray(allValues))));
44973
45034
 
44974
- console.log('Select All - all values:', mergedValues);
44975
45035
  this.$emit('input', mergedValues);
44976
45036
  this.$emit('update:modelValue', mergedValues);
44977
45037
  this.$emit('change', mergedValues);
44978
45038
  },
44979
45039
  filterByStatus: function filterByStatus(status) {
44980
45040
  if (this.filterStatus === status) {
44981
- // Toggle off if clicking the same filter
44982
45041
  this.filterStatus = null;
44983
45042
  } else {
44984
45043
  this.filterStatus = status;
44985
- } // Reset pagination when filter changes
44986
-
44987
-
44988
- this.renderedItemCount = this.maxRenderItems; // Reset highlight when filter changes
45044
+ }
44989
45045
 
45046
+ this.windowStart = 0;
44990
45047
  this.highlightedIndex = -1;
44991
45048
  },
44992
45049
  formatItemFields: function formatItemFields(item) {
@@ -45060,21 +45117,50 @@ var es_set = __webpack_require__("6062");
45060
45117
 
45061
45118
  return this.getItemText(item);
45062
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
+ },
45063
45145
  onMenuScroll: function onMenuScroll(event) {
45064
45146
  if (!this.lazyLoad) return;
45065
- var target = event.target;
45066
- 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
45067
45148
 
45068
- if (scrollBottom < 50 && this.renderedItemCount < this.filteredDisplayItems.length) {
45069
- this.renderedItemCount = Math.min(this.renderedItemCount + this.maxRenderItems, this.filteredDisplayItems.length);
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));
45153
+
45154
+ if (newWindowStart !== this.windowStart) {
45155
+ this.windowStart = newWindowStart;
45070
45156
  }
45071
45157
  }
45072
45158
  }
45073
45159
  });
45074
45160
  // CONCATENATED MODULE: ./src/components/Autocomplete.vue?vue&type=script&lang=js&
45075
45161
  /* harmony default export */ var components_Autocompletevue_type_script_lang_js_ = (Autocompletevue_type_script_lang_js_);
45076
- // EXTERNAL MODULE: ./src/components/Autocomplete.vue?vue&type=style&index=0&id=098fa225&scoped=true&lang=css&
45077
- var Autocompletevue_type_style_index_0_id_098fa225_scoped_true_lang_css_ = __webpack_require__("038f");
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");
45078
45164
 
45079
45165
  // CONCATENATED MODULE: ./src/components/Autocomplete.vue
45080
45166
 
@@ -45087,11 +45173,11 @@ var Autocompletevue_type_style_index_0_id_098fa225_scoped_true_lang_css_ = __web
45087
45173
 
45088
45174
  var Autocomplete_component = normalizeComponent(
45089
45175
  components_Autocompletevue_type_script_lang_js_,
45090
- Autocompletevue_type_template_id_098fa225_scoped_true_render,
45091
- Autocompletevue_type_template_id_098fa225_scoped_true_staticRenderFns,
45176
+ Autocompletevue_type_template_id_6cb7e2c2_scoped_true_render,
45177
+ Autocompletevue_type_template_id_6cb7e2c2_scoped_true_staticRenderFns,
45092
45178
  false,
45093
45179
  null,
45094
- "098fa225",
45180
+ "6cb7e2c2",
45095
45181
  null
45096
45182
 
45097
45183
  )
@@ -45112,6 +45198,7 @@ var Autocomplete_component = normalizeComponent(
45112
45198
 
45113
45199
 
45114
45200
 
45201
+
45115
45202
  //
45116
45203
  //
45117
45204
  //
@@ -45319,6 +45406,10 @@ function SearchableSelectvue_type_script_lang_js_debounce(func, wait) {
45319
45406
  type: Boolean,
45320
45407
  default: false
45321
45408
  },
45409
+ hasError: {
45410
+ type: Boolean,
45411
+ default: false
45412
+ },
45322
45413
  // Status field configuration for dynamic color formatting
45323
45414
  statusFieldConfig: {
45324
45415
  type: Object,
@@ -45400,26 +45491,25 @@ function SearchableSelectvue_type_script_lang_js_debounce(func, wait) {
45400
45491
  allItems: function allItems() {
45401
45492
  var _this = this;
45402
45493
 
45403
- // Return all items (not filtered) - used for finding selected items
45404
- 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
45405
45499
 
45406
- if (this.useLocalItems) {
45407
- sourceItems = this.normalizedLocalItems;
45408
- } else {
45409
- sourceItems = this.remoteItems;
45410
- }
45411
45500
 
45412
- return sourceItems.map(function (item, index) {
45413
- // Ensure value is always set - use index as fallback if no value/id
45414
- 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
45415
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);
45416
45508
  var groupValue = '';
45417
45509
 
45418
45510
  if (_this.groupFields && _this.groupFields.length > 0) {
45419
- // groupFields has highest priority
45420
45511
  groupValue = item[_this.groupFields[0]] || '';
45421
- } // Fallback to explicit group/groupName if groupFields didn't provide a value
45422
-
45512
+ }
45423
45513
 
45424
45514
  if (!groupValue) {
45425
45515
  groupValue = item.group || item.groupName || '';
@@ -45614,18 +45704,17 @@ function SearchableSelectvue_type_script_lang_js_debounce(func, wait) {
45614
45704
  }))();
45615
45705
  },
45616
45706
  onSearch: function onSearch(search) {
45617
- this.searchTerm = search;
45618
-
45619
45707
  if (this.useLocalItems) {
45620
- // For local items, filtering is handled by displayItems computed property
45621
- 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);
45622
45712
  this.$emit('search', {
45623
- search: search,
45624
- results: filtered.length,
45625
- total: filtered.length
45713
+ search: search
45626
45714
  });
45627
45715
  } else {
45628
45716
  // For remote items, debounce the API call
45717
+ this.searchTerm = search;
45629
45718
  this.debouncedLoadItems(search, 1, false);
45630
45719
  }
45631
45720
  },
@@ -45693,9 +45782,7 @@ function SearchableSelectvue_type_script_lang_js_debounce(func, wait) {
45693
45782
  // When local items prop changes, update totalItems
45694
45783
  if (this.useLocalItems) {
45695
45784
  var filtered = this.filterLocalItems(this.searchTerm);
45696
- this.totalItems = filtered.length; // Force reactivity update
45697
-
45698
- this.$forceUpdate();
45785
+ this.totalItems = filtered.length;
45699
45786
  }
45700
45787
  },
45701
45788
  deep: true,
@@ -45733,19 +45820,15 @@ function SearchableSelectvue_type_script_lang_js_debounce(func, wait) {
45733
45820
  },
45734
45821
  value: {
45735
45822
  handler: function () {
45736
- var _handler = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime_regeneratorRuntime().mark(function _callee2(newValue) {
45737
- var isEmpty;
45823
+ var _handler = _asyncToGenerator( /*#__PURE__*/regeneratorRuntime_regeneratorRuntime().mark(function _callee2(newValue, oldValue) {
45738
45824
  return regeneratorRuntime_regeneratorRuntime().wrap(function _callee2$(_context2) {
45739
45825
  while (1) {
45740
45826
  switch (_context2.prev = _context2.next) {
45741
45827
  case 0:
45742
- // Clear search term when value is reset to empty externally (e.g. ClearFilter)
45743
- isEmpty = newValue === null || newValue === undefined || newValue === '' || Array.isArray(newValue) && newValue.length === 0;
45744
-
45745
- if (isEmpty && this.searchTerm) {
45746
- this.searchTerm = '';
45747
- } // Only load remote items if not using local items
45748
-
45828
+ console.log('=== SearchableSelect value watcher ===');
45829
+ console.log('New value:', newValue, 'type:', Array.isArray(newValue) ? 'array' : _typeof(newValue));
45830
+ console.log('Old value:', oldValue);
45831
+ console.log('=== End watcher ==='); // Only load remote items if not using local items
45749
45832
 
45750
45833
  if (!this.useLocalItems && newValue && this.remoteItems.length === 0 && !this.loading && this.type) {// try {
45751
45834
  // this.loading = true
@@ -45772,7 +45855,7 @@ function SearchableSelectvue_type_script_lang_js_debounce(func, wait) {
45772
45855
  // }
45773
45856
  }
45774
45857
 
45775
- case 3:
45858
+ case 5:
45776
45859
  case "end":
45777
45860
  return _context2.stop();
45778
45861
  }
@@ -45780,7 +45863,7 @@ function SearchableSelectvue_type_script_lang_js_debounce(func, wait) {
45780
45863
  }, _callee2, this);
45781
45864
  }));
45782
45865
 
45783
- function handler(_x) {
45866
+ function handler(_x, _x2) {
45784
45867
  return _handler.apply(this, arguments);
45785
45868
  }
45786
45869
 
@@ -45790,7 +45873,15 @@ function SearchableSelectvue_type_script_lang_js_debounce(func, wait) {
45790
45873
  }
45791
45874
  },
45792
45875
  created: function created() {
45793
- 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);
45794
45885
  },
45795
45886
  mounted: function mounted() {
45796
45887
  // Initialize items based on mode
@@ -45806,8 +45897,8 @@ function SearchableSelectvue_type_script_lang_js_debounce(func, wait) {
45806
45897
  });
45807
45898
  // CONCATENATED MODULE: ./src/components/SearchableSelect.vue?vue&type=script&lang=js&
45808
45899
  /* harmony default export */ var components_SearchableSelectvue_type_script_lang_js_ = (SearchableSelectvue_type_script_lang_js_);
45809
- // EXTERNAL MODULE: ./src/components/SearchableSelect.vue?vue&type=style&index=0&id=47f497de&scoped=true&lang=css&
45810
- var SearchableSelectvue_type_style_index_0_id_47f497de_scoped_true_lang_css_ = __webpack_require__("64c2");
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");
45811
45902
 
45812
45903
  // CONCATENATED MODULE: ./src/components/SearchableSelect.vue
45813
45904
 
@@ -45820,11 +45911,11 @@ var SearchableSelectvue_type_style_index_0_id_47f497de_scoped_true_lang_css_ = _
45820
45911
 
45821
45912
  var SearchableSelect_component = normalizeComponent(
45822
45913
  components_SearchableSelectvue_type_script_lang_js_,
45823
- SearchableSelectvue_type_template_id_47f497de_scoped_true_render,
45824
- SearchableSelectvue_type_template_id_47f497de_scoped_true_staticRenderFns,
45914
+ SearchableSelectvue_type_template_id_50fe2d92_scoped_true_render,
45915
+ SearchableSelectvue_type_template_id_50fe2d92_scoped_true_staticRenderFns,
45825
45916
  false,
45826
45917
  null,
45827
- "47f497de",
45918
+ "50fe2d92",
45828
45919
  null
45829
45920
 
45830
45921
  )
@@ -46418,6 +46509,14 @@ var _methods;
46418
46509
  }
46419
46510
  },
46420
46511
  onChangeforDDL: function onChangeforDDL(field, e) {
46512
+ if (field.fieldType == 'ddl-radio') {
46513
+ field.listOptions.forEach(function (item) {
46514
+ if (field.value != item.value) {
46515
+ item.isSelected = false;
46516
+ }
46517
+ });
46518
+ }
46519
+
46421
46520
  if (field && field.hasOwnProperty("onChange")) {
46422
46521
  if (typeof field.onChange == "function") {
46423
46522
  field.onChange(field, e);
@@ -46563,8 +46662,8 @@ var _methods;
46563
46662
  });
46564
46663
  // CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=script&lang=js&
46565
46664
  /* harmony default export */ var components_left_searchvue_type_script_lang_js_ = (left_searchvue_type_script_lang_js_);
46566
- // EXTERNAL MODULE: ./src/components/left-search.vue?vue&type=style&index=0&id=195f1f96&scoped=true&lang=css&
46567
- var left_searchvue_type_style_index_0_id_195f1f96_scoped_true_lang_css_ = __webpack_require__("972e");
46665
+ // EXTERNAL MODULE: ./src/components/left-search.vue?vue&type=style&index=0&id=1a666c55&scoped=true&lang=css&
46666
+ var left_searchvue_type_style_index_0_id_1a666c55_scoped_true_lang_css_ = __webpack_require__("ebcb");
46568
46667
 
46569
46668
  // CONCATENATED MODULE: ./src/components/left-search.vue
46570
46669
 
@@ -46577,11 +46676,11 @@ var left_searchvue_type_style_index_0_id_195f1f96_scoped_true_lang_css_ = __webp
46577
46676
 
46578
46677
  var left_search_component = normalizeComponent(
46579
46678
  components_left_searchvue_type_script_lang_js_,
46580
- left_searchvue_type_template_id_195f1f96_scoped_true_render,
46581
- left_searchvue_type_template_id_195f1f96_scoped_true_staticRenderFns,
46679
+ left_searchvue_type_template_id_1a666c55_scoped_true_render,
46680
+ left_searchvue_type_template_id_1a666c55_scoped_true_staticRenderFns,
46582
46681
  false,
46583
46682
  null,
46584
- "195f1f96",
46683
+ "1a666c55",
46585
46684
  null
46586
46685
 
46587
46686
  )