tg-listv 0.0.87 → 0.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tglistv.common.js +124 -97
- package/dist/tglistv.common.js.map +1 -1
- package/dist/tglistv.css +1 -1
- package/dist/tglistv.umd.js +124 -97
- package/dist/tglistv.umd.js.map +1 -1
- package/dist/tglistv.umd.min.js +3 -3
- package/dist/tglistv.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/tglistv.common.js
CHANGED
|
@@ -2851,13 +2851,6 @@ module.exports = {
|
|
|
2851
2851
|
};
|
|
2852
2852
|
|
|
2853
2853
|
|
|
2854
|
-
/***/ }),
|
|
2855
|
-
|
|
2856
|
-
/***/ "58ac":
|
|
2857
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
2858
|
-
|
|
2859
|
-
// extracted by mini-css-extract-plugin
|
|
2860
|
-
|
|
2861
2854
|
/***/ }),
|
|
2862
2855
|
|
|
2863
2856
|
/***/ "5926":
|
|
@@ -4036,6 +4029,13 @@ module.exports = _typeof, module.exports.__esModule = true, module.exports["defa
|
|
|
4036
4029
|
|
|
4037
4030
|
/***/ }),
|
|
4038
4031
|
|
|
4032
|
+
/***/ "7070":
|
|
4033
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4034
|
+
|
|
4035
|
+
// extracted by mini-css-extract-plugin
|
|
4036
|
+
|
|
4037
|
+
/***/ }),
|
|
4038
|
+
|
|
4039
4039
|
/***/ "7149":
|
|
4040
4040
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4041
4041
|
|
|
@@ -10081,6 +10081,13 @@ function mergeFn (a, b) {
|
|
|
10081
10081
|
}
|
|
10082
10082
|
|
|
10083
10083
|
|
|
10084
|
+
/***/ }),
|
|
10085
|
+
|
|
10086
|
+
/***/ "9432":
|
|
10087
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
10088
|
+
|
|
10089
|
+
// extracted by mini-css-extract-plugin
|
|
10090
|
+
|
|
10084
10091
|
/***/ }),
|
|
10085
10092
|
|
|
10086
10093
|
/***/ "944a":
|
|
@@ -10150,6 +10157,17 @@ function _defineProperty(obj, key, value) {
|
|
|
10150
10157
|
|
|
10151
10158
|
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
10152
10159
|
|
|
10160
|
+
/***/ }),
|
|
10161
|
+
|
|
10162
|
+
/***/ "9783":
|
|
10163
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10164
|
+
|
|
10165
|
+
"use strict";
|
|
10166
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Autocomplete_vue_vue_type_style_index_0_id_c293aa98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9432");
|
|
10167
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Autocomplete_vue_vue_type_style_index_0_id_c293aa98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Autocomplete_vue_vue_type_style_index_0_id_c293aa98_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
10168
|
+
/* unused harmony reexport * */
|
|
10169
|
+
|
|
10170
|
+
|
|
10153
10171
|
/***/ }),
|
|
10154
10172
|
|
|
10155
10173
|
/***/ "99af":
|
|
@@ -10357,17 +10375,6 @@ exports.f = DESCRIPTORS ? V8_PROTOTYPE_DEFINE_BUG ? function defineProperty(O, P
|
|
|
10357
10375
|
};
|
|
10358
10376
|
|
|
10359
10377
|
|
|
10360
|
-
/***/ }),
|
|
10361
|
-
|
|
10362
|
-
/***/ "9c09":
|
|
10363
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
10364
|
-
|
|
10365
|
-
"use strict";
|
|
10366
|
-
/* 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_a1150c08_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ae4f");
|
|
10367
|
-
/* 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_a1150c08_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_a1150c08_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
10368
|
-
/* unused harmony reexport * */
|
|
10369
|
-
|
|
10370
|
-
|
|
10371
10378
|
/***/ }),
|
|
10372
10379
|
|
|
10373
10380
|
/***/ "9e69":
|
|
@@ -10840,13 +10847,6 @@ module.exports = function () {
|
|
|
10840
10847
|
};
|
|
10841
10848
|
|
|
10842
10849
|
|
|
10843
|
-
/***/ }),
|
|
10844
|
-
|
|
10845
|
-
/***/ "ae4f":
|
|
10846
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
10847
|
-
|
|
10848
|
-
// extracted by mini-css-extract-plugin
|
|
10849
|
-
|
|
10850
10850
|
/***/ }),
|
|
10851
10851
|
|
|
10852
10852
|
/***/ "ae93":
|
|
@@ -11708,17 +11708,6 @@ module.exports = NATIVE_BIND ? call.bind(call) : function () {
|
|
|
11708
11708
|
};
|
|
11709
11709
|
|
|
11710
11710
|
|
|
11711
|
-
/***/ }),
|
|
11712
|
-
|
|
11713
|
-
/***/ "c6a9":
|
|
11714
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11715
|
-
|
|
11716
|
-
"use strict";
|
|
11717
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Autocomplete_vue_vue_type_style_index_0_id_723cadb2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("58ac");
|
|
11718
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Autocomplete_vue_vue_type_style_index_0_id_723cadb2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Autocomplete_vue_vue_type_style_index_0_id_723cadb2_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
11719
|
-
/* unused harmony reexport * */
|
|
11720
|
-
|
|
11721
|
-
|
|
11722
11711
|
/***/ }),
|
|
11723
11712
|
|
|
11724
11713
|
/***/ "c6b6":
|
|
@@ -11847,6 +11836,17 @@ module.exports = function (METHOD_NAME) {
|
|
|
11847
11836
|
};
|
|
11848
11837
|
|
|
11849
11838
|
|
|
11839
|
+
/***/ }),
|
|
11840
|
+
|
|
11841
|
+
/***/ "c941":
|
|
11842
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
11843
|
+
|
|
11844
|
+
"use strict";
|
|
11845
|
+
/* 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_92200852_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("7070");
|
|
11846
|
+
/* 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_92200852_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_92200852_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__);
|
|
11847
|
+
/* unused harmony reexport * */
|
|
11848
|
+
|
|
11849
|
+
|
|
11850
11850
|
/***/ }),
|
|
11851
11851
|
|
|
11852
11852
|
/***/ "ca17":
|
|
@@ -17537,10 +17537,10 @@ if (typeof window !== 'undefined') {
|
|
|
17537
17537
|
// Indicate to webpack that this file can be concatenated
|
|
17538
17538
|
/* harmony default export */ var setPublicPath = (null);
|
|
17539
17539
|
|
|
17540
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TgList.vue?vue&type=template&id=
|
|
17540
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/TgList.vue?vue&type=template&id=76168742&
|
|
17541
17541
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.classes},[((typeof(_vm.SearchPosition) === 'undefined' || _vm.SearchPosition == 'left') && _vm.SearchFields)?_c('div',{staticClass:"left-menu-tab",attrs:{"id":"crmleftsearch"}},[_c('left-search',{attrs:{"header":_vm.HeaderText,"isShowHeaderText":_vm.isShowHeaderText,"fields":_vm.SearchFields,"modulename":_vm.ModuleName},on:{"SetLeftSearch":_vm.leftCommonSearch,"ClearFilter":_vm.ClearFilter}})],1):_vm._e(),_c('div',{class:{'right-content': ((typeof(_vm.SearchPosition) === 'undefined' || _vm.SearchPosition == 'left') && _vm.SearchFields)}},[(_vm.widgets.length > 0)?_c('ul',{staticClass:"dashbord-widget WalkHRLeaveWidgetContent_ul"},[_vm._l((_vm.widgets),function(widget,index){return (!_vm.isNewDesign)?_c('li',{class:'cursor-pointer ' + _vm.widgetClassArray[(index%5)],staticStyle:{"cursor":"pointer !important"},on:{"click":function($event){return _vm.onWidgetClick(widget, $event)}}},[_c('h3',[_vm._v(" "+_vm._s(widget.value)+" "),_c('br'),_c('span',[_vm._v(_vm._s(widget.name))])]),_c('i',{class:'fa ' + widget.icon,attrs:{"aria-hidden":"true"}})]):_vm._e()}),_vm._l((_vm.widgets),function(widget,index){return (_vm.isNewDesign)?_c('li',{class:'cursor-pointer ' + _vm.widgetClassArray[(index%5)],staticStyle:{"cursor":"pointer !important"},on:{"click":function($event){return _vm.onWidgetClick(widget, $event)}}},[_c('i',{class:'fa ' + widget.icon,attrs:{"aria-hidden":"true"}}),_c('h3',[_c('span',[_vm._v(_vm._s(widget.name))]),_c('br'),_vm._v(" "+_vm._s(widget.value)+" ")])]):_vm._e()})],2):_vm._e(),_c('div',{staticStyle:{"clear":"both"}}),(_vm.HeaderButtons)?_c('div',{staticClass:"col-md-12 p-0"},[_c('list-header-button-new',{ref:"tgListHeaderButtons",attrs:{"header":_vm.HeaderText,"isShowHeaderText":(_vm.isShowHeaderText && (typeof(_vm.SearchFields) == 'undefined' || _vm.SearchFields.length == 0)),"icons":_vm.HeaderButtonArrayForUpdate,"submodulecode":_vm.SubModuleCode,"modulename":_vm.ModuleName,"ViewList":_vm.ViewList,"listType":_vm.listType},on:{"ApplyView":_vm.OnApplyView,"ButtonClick":_vm.commonHeaderButtonClick,"ChangeViewEvent":_vm.ChangeViewEvent},scopedSlots:_vm._u([{key:"headerleftbuttons",fn:function(ref){
|
|
17542
17542
|
var data = ref.data;
|
|
17543
|
-
return [_vm._t("headerleftbuttons",null,{"data":{data: data}})]}}],null,true)})],1):_vm._e(),(( _vm.SearchPosition == 'top') && _vm.SearchFields)?_c('div',{staticClass:"top-menu-tab
|
|
17543
|
+
return [_vm._t("headerleftbuttons",null,{"data":{data: data}})]}}],null,true)})],1):_vm._e(),(( _vm.SearchPosition == 'top') && _vm.SearchFields)?_c('div',{staticClass:"top-menu-tab border p-3",attrs:{"id":"crmleftsearch"}},[_c('top-search',{attrs:{"header":_vm.HeaderText,"fields":_vm.SearchFields,"isShowHeaderText":_vm.isShowHeaderText,"modulename":_vm.ModuleName},on:{"SetLeftSearch":_vm.leftCommonSearch,"ClearFilter":_vm.ClearFilter}})],1):_vm._e(),_c('div',{staticClass:"py-2 d-inline-block"},[_vm._l((_vm.LegendArray),function(lgnd){return [_c('span',{class:lgnd.class,staticStyle:{"border":"1px solid rgb(238, 238, 238)"}}),_vm._v(_vm._s(lgnd.text)+" ")]})],2),_c('div',{staticClass:"listing mt-2"},[((typeof(_vm.SearchPosition) === 'undefined' || _vm.SearchPosition == 'left') && typeof(_vm.SearchFields) != 'undefined' && _vm.SearchFields.length > 0)?_c('div',{staticClass:"expand-list",class:{'d-none':_vm.SearchPosition=='none'}},[_c('a',{class:{'expand-list-btn justify-content-center align-items-center': true, 'filter-selected':_vm.IsFilterApplied==true},attrs:{"href":"javascript:;"}},[_c('em',{staticClass:"icon-solid arrow-solid-left text-white",staticStyle:{"font-size":"9pt"}})])]):_vm._e(),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.ErrorText),expression:"ErrorText"}],staticClass:"text-center text-danger"},[_vm._v(_vm._s(_vm.ErrorText))]),(_vm.ListData && _vm.selectedView == 'List')?_c('DataTable',{attrs:{"Data":_vm.ListData,"noRecord":_vm.noRecord,"Headers":_vm.HeaderData,"SortExp":_vm.SortExp,"SortBy":_vm.SortBy,"tableClasses":_vm.tableClasses,"UserPageSize":_vm.PageSize,"totalrecords":_vm.TotalRecordsForPaging,"IsShowAction":_vm.IsShowAction,"randomNumberForIds":_vm.randomNumberForIds,"renderRowActionMethod":_vm.RenderRowActionMethod,"identityColumn":_vm.IdentityColumn,"subModuleCode":_vm.SubModuleCode,"NorecordfoundText":_vm.NorecordfoundText,"showCheckBox":_vm.showCheckBox,"selectionType":_vm.selectionType},on:{"sortdata":_vm.sortdata,"ButtonClick":_vm.actionButtonClick,"PagerMethod":_vm.pagerMethod,"EventOfCheckbox":_vm.onChangeEventOfCheckbox},scopedSlots:_vm._u([{key:"slotdata",fn:function(ref){
|
|
17544
17544
|
var data = ref.data;
|
|
17545
17545
|
return [_vm._t("slotdata",null,{"data":{row:data.row,column:data.column,listtype:_vm.selectedView}})]}}],null,true)}):_vm._e(),(_vm.ListData && _vm.selectedView == 'Card')?_c('CardView',{attrs:{"data":_vm.ListData,"columns":_vm.HeaderData,"totalrecords":_vm.TotalRecordsForPaging,"UserPageSize":_vm.PageSize,"customcard":_vm.IsShowCustomCard,"randomNumberForIds":_vm.randomNumberForIds,"IsShowAction":_vm.IsShowAction,"identityColumn":_vm.IdentityColumn,"subModuleCode":_vm.SubModuleCode,"LegendArray":_vm.LegendArray,"noRecord":_vm.noRecord,"NorecordfoundText":_vm.NorecordfoundText,"renderRowActionMethod":_vm.RenderRowActionMethod},on:{"PagerMethod":_vm.pagerMethod,"ButtonClick":_vm.actionButtonClick,"EventOfCheckbox":_vm.onChangeEventOfCheckbox},scopedSlots:_vm._u([{key:"slotdata",fn:function(ref){
|
|
17546
17546
|
var data = ref.data;
|
|
@@ -17554,7 +17554,7 @@ return [_vm._t("customcard",null,{"data":{row:data.row,columnlist:data.columnlis
|
|
|
17554
17554
|
var staticRenderFns = []
|
|
17555
17555
|
|
|
17556
17556
|
|
|
17557
|
-
// CONCATENATED MODULE: ./src/components/TgList.vue?vue&type=template&id=
|
|
17557
|
+
// CONCATENATED MODULE: ./src/components/TgList.vue?vue&type=template&id=76168742&
|
|
17558
17558
|
|
|
17559
17559
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.js
|
|
17560
17560
|
var es_symbol = __webpack_require__("a4d3");
|
|
@@ -17612,20 +17612,20 @@ var web_dom_collections_for_each = __webpack_require__("159b");
|
|
|
17612
17612
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.from.js
|
|
17613
17613
|
var es_array_from = __webpack_require__("a630");
|
|
17614
17614
|
|
|
17615
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DataTable.vue?vue&type=template&id=
|
|
17616
|
-
var
|
|
17615
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/DataTable.vue?vue&type=template&id=ffa94a0e&
|
|
17616
|
+
var DataTablevue_type_template_id_ffa94a0e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{class:'table-responsive ' + _vm.tableClasses},[_c('table',{staticClass:"table table-bordered mt-0",staticStyle:{"width":"100%"},attrs:{"id":'tablelistingdata_' + _vm.randomNumberForIds}},[_c('thead',{staticClass:"thead-bg"},[_c('tr',[((typeof(_vm.showCheckBox) === 'undefined' || _vm.showCheckBox == true))?_c('th',{staticClass:"text-center",staticStyle:{"width":"50px !important"}},[(_vm.selectionType == 'multiple')?_c('label',{class:{'form-check form-check-inline' : true}},[_c('div',{staticClass:"custom-control custom-checkbox custom-control-inline"},[_c('input',{staticClass:"chkItems custom-control-input",attrs:{"id":'chkAll_' + _vm.randomNumberForIds,"value":"","type":"checkbox"},on:{"change":function($event){return _vm.onChangeEventOfCheckbox($event)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'chkAll_' + _vm.randomNumberForIds}})])]):_vm._e()]):_vm._e(),_vm._l((_vm.Headers),function(item,headerIndex){return [(item.VISIBLE)?_c('th',{key:headerIndex,class:{'text-center': item.COLUMN_NAME=='status', 'text-right':(item.DATA_TYPE=='decimal' || item.DATA_TYPE=='currency' || item.DATA_TYPE=='int' || item.DATA_TYPE=='bigint')},staticStyle:{"text-transform":"capitalize"},style:([(item.COLUMN_NAME=='status_name') ? {'width':'10%'} : {'width':''}]),attrs:{"id":item.COLUMN_NAME}},[(item.VISIBLE && item.SORTABLE == true && _vm.isChild == false)?_c('span',{class:{
|
|
17617
17617
|
'sort': item.SORTABLE == true,
|
|
17618
17618
|
'tb_headerSortUp': _vm.SortExp == 'ASC' && _vm.SortBy == item.COLUMN_NAME,
|
|
17619
17619
|
'tb_headerSortDown':
|
|
17620
17620
|
_vm.SortExp == 'DESC' && _vm.SortBy == item.COLUMN_NAME,
|
|
17621
|
-
},on:{"click":function($event){return _vm.sortdata(item.COLUMN_NAME)}}},[_vm._v(" "+_vm._s(_vm.$t(item.DISPLAY_NAME))+" ")]):_vm._e(),(item.SORTABLE == false || item.SORTABLE == null || _vm.isChild == true)?_c('span',[_vm._v(" "+_vm._s(_vm.$t(item.DISPLAY_NAME))+" ")]):_vm._e()]):_vm._e()]}),(_vm.IsShowAction == true)?_c('th',{staticClass:"nonresize text-center"},[_c('span',[_vm._v(_vm._s(_vm.$t('Action')))])]):_vm._e()],2)]),_c('tbody',[_vm._l((_vm.Data),function(item,dataIndex){return [_c('tr',{class:item.additionalClass,style:(item.CssStyle)},[((typeof(_vm.showCheckBox) === 'undefined' || _vm.showCheckBox == true))?_c('td',{staticClass:"text-center"},[_c('label',{class:{'form-check form-check-inline' : true},attrs:{"disabled":item.isCheckBoxDisabled}},[(_vm.selectionType == 'multiple')?_c('div',{staticClass:"custom-control custom-checkbox custom-control-inline"},[_c('input',{staticClass:"chkItems custom-control-input",attrs:{"id":'Checkbox_'+ _vm.randomNumberForIds + '_' + dataIndex,"disabled":item.isCheckBoxDisabled,"type":"checkbox"},domProps:{"checked":item.isSelected,"value":item[_vm.identityColumn]},on:{"change":function($event){return _vm.onChangeEventOfCheckbox($event, item)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'Checkbox_'+ _vm.randomNumberForIds + '_' + dataIndex}})]):_vm._e(),(_vm.selectionType == 'single')?_c('div',{staticClass:"custom-control custom-radio custom-control-inline"},[_c('input',{staticClass:"chkItems custom-control-input",attrs:{"name":'radiobox_'+ _vm.randomNumberForIds,"disabled":item.isCheckBoxDisabled,"type":"radio"},domProps:{"checked":item.isSelected,"value":item[_vm.identityColumn]},on:{"change":function($event){return _vm.onChangeEventOfRadiobox($event, item)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'radiobox__'+ _vm.randomNumberForIds + '_' + dataIndex}})]):_vm._e()])]):_vm._e(),_vm._l((_vm.Headers),function(key,headerIndex){return [(key.VISIBLE)?_c('td',{key:headerIndex,class:
|
|
17621
|
+
},on:{"click":function($event){return _vm.sortdata(item.COLUMN_NAME)}}},[_vm._v(" "+_vm._s(_vm.$t(item.DISPLAY_NAME))+" ")]):_vm._e(),(item.SORTABLE == false || item.SORTABLE == null || _vm.isChild == true)?_c('span',[_vm._v(" "+_vm._s(_vm.$t(item.DISPLAY_NAME))+" ")]):_vm._e()]):_vm._e()]}),(_vm.IsShowAction == true)?_c('th',{staticClass:"nonresize text-center",staticStyle:{"width":"100px !important"}},[_c('span',[_vm._v(_vm._s(_vm.$t('Action')))])]):_vm._e()],2)]),_c('tbody',[_vm._l((_vm.Data),function(item,dataIndex){return [_c('tr',{class:item.additionalClass,style:(item.CssStyle)},[((typeof(_vm.showCheckBox) === 'undefined' || _vm.showCheckBox == true))?_c('td',{staticClass:"text-center"},[_c('label',{class:{'form-check form-check-inline' : true},attrs:{"disabled":item.isCheckBoxDisabled}},[(_vm.selectionType == 'multiple')?_c('div',{staticClass:"custom-control custom-checkbox custom-control-inline"},[_c('input',{staticClass:"chkItems custom-control-input",attrs:{"id":'Checkbox_'+ _vm.randomNumberForIds + '_' + dataIndex,"disabled":item.isCheckBoxDisabled,"type":"checkbox"},domProps:{"checked":item.isSelected,"value":item[_vm.identityColumn]},on:{"change":function($event){return _vm.onChangeEventOfCheckbox($event, item)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'Checkbox_'+ _vm.randomNumberForIds + '_' + dataIndex}})]):_vm._e(),(_vm.selectionType == 'single')?_c('div',{staticClass:"custom-control custom-radio custom-control-inline"},[_c('input',{staticClass:"chkItems custom-control-input",attrs:{"name":'radiobox_'+ _vm.randomNumberForIds,"disabled":item.isCheckBoxDisabled,"type":"radio"},domProps:{"checked":item.isSelected,"value":item[_vm.identityColumn]},on:{"change":function($event){return _vm.onChangeEventOfRadiobox($event, item)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'radiobox__'+ _vm.randomNumberForIds + '_' + dataIndex}})]):_vm._e()])]):_vm._e(),_vm._l((_vm.Headers),function(key,headerIndex){return [(key.VISIBLE)?_c('td',{key:headerIndex,class:_vm.tdClasses(key, item)},[(typeof(key.settings) != 'undefined' && key.settings != null && typeof(key.settings.isInSlot) != 'undefined' && key.settings.isInSlot == true)?[(typeof(item.child) != 'undefined' && item.child.isShowExpandButton == true && item.child.isShowChild == false && headerIndex == 0)?_c('a',{staticClass:"parentwithchild d-inline-block parent-childrow chkItems",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.onExpndChild(item)}}},[_c('i',{staticClass:"fa fa-chevron-right"})]):_vm._e(),(typeof(item.child) != 'undefined' && item.child.isShowExpandButton == true && item.child.isShowChild == true && headerIndex == 0)?_c('a',{staticClass:"parentwithchild d-inline-block parent-childrow chkItems",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.onCollapeChild(item)}}},[_c('i',{staticClass:"fa fa-chevron-down"})]):_vm._e(),_c('span',[_vm._t("slotdata",null,{"data":{row:item,column:key}})],2)]:[(typeof(item.child) != 'undefined' && item.child.isShowExpandButton == true && item.child.isShowChild == false && headerIndex == 0)?_c('a',{staticClass:"parentwithchild d-inline-block parent-childrow chkItems",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.onExpndChild(item)}}},[_c('i',{staticClass:"fa fa-chevron-right"})]):_vm._e(),(typeof(item.child) != 'undefined' && item.child.isShowExpandButton == true && item.child.isShowChild == true && headerIndex == 0)?_c('a',{staticClass:"parentwithchild d-inline-block parent-childrow chkItems",attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.onCollapeChild(item)}}},[_c('i',{staticClass:"fa fa-chevron-down"})]):_vm._e(),((key.DATA_TYPE=='date' || key.DATA_TYPE=='datetime') && (key.DATA_TYPE !='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.formatDate(item[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE=='decimal' || key.DATA_TYPE=='int' || key.DATA_TYPE=='bigint'))?_c('span',[_vm._v(_vm._s(_vm.$n(item[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE=='currency'))?_c('span',[_vm._v(_vm._s(_vm.$n(item[key.COLUMN_NAME], 'currency')))]):_vm._e(),((key.DATA_TYPE!='date' && key.DATA_TYPE!='datetime' && key.DATA_TYPE!='decimal' && key.DATA_TYPE != 'int' && key.DATA_TYPE != 'bigint'))?_c('span',{attrs:{"title":item[key.COLUMN_NAME]}},[(typeof(key.settings) != 'undefined' && key.settings != null
|
|
17622
17622
|
&& typeof(key.settings.clickEvent) != 'undefined' && key.settings.clickEvent != null && key.settings.isInSlot != true)?_c('RouterLink',{attrs:{"id":"viewLeadeContent_a","to":typeof(item.rowDetailsUrl)!='undefined' ? item.rowDetailsUrl : ''},nativeOn:{"click":function($event){return _vm.clickEventCheck(key,item)}}},[_vm._v(" "+_vm._s(((typeof(key.settings.formatter) === 'function')?key.settings.formatter(item, key):_vm.TruncateStr(item[key.COLUMN_NAME],30)))+" ")]):_vm._e(),(typeof(key.settings) != 'undefined' && key.settings != null && (typeof(key.settings.clickEvent) === 'undefined' || key.settings.clickEvent == null) && key.settings.isInSlot != true)?_c('span',{attrs:{"title":item[key.COLUMN_NAME]}},[_vm._v(_vm._s(((typeof(key.settings.formatter) === 'function')?key.settings.formatter(item, key):_vm.TruncateStr(item[key.COLUMN_NAME],30))))]):_vm._e(),(typeof(key.settings) === 'undefined' || key.settings == null)?_c('span',{attrs:{"title":item[key.COLUMN_NAME]}},[_vm._v(_vm._s(_vm.TruncateStr(item[key.COLUMN_NAME],30)))]):_vm._e()],1):_vm._e()]],2):_vm._e()]}),(_vm.IsShowAction == true)?_c('RowActions',{attrs:{"item":item,"index":dataIndex,"identityColumn":_vm.identityColumn,"listActionsMethod":_vm.renderRowActionMethod},on:{"ButtonClick":_vm.ButtonClick}}):_vm._e()],2),(typeof(item.child) != 'undefined' && item.child.isShowChild == true)?_c('tr',[_c('td',{attrs:{"colspan":(_vm.Headers.length + 2)}},[_c('data-table',{attrs:{"name":'child' + dataIndex,"Data":item.child.data,"noRecord":((typeof(item.child.data) != 'undefined' && item.child.data.length > 0) ? false: true),"Headers":(typeof(item.child.headers) != 'undefined' ? item.child.headers: _vm.Headers),"SortExp":_vm.SortExp,"SortBy":_vm.SortBy,"isChild":true,"UserPageSize":_vm.UserPageSize,"totalrecords":(typeof(item.child.data) != 'undefined' ? item.child.data.length: 0),"IsShowAction":_vm.IsShowAction,"renderRowActionMethod":_vm.renderRowActionMethod,"identityColumn":_vm.identityColumn,"subModuleCode":_vm.subModuleCode,"NorecordfoundText":_vm.NorecordfoundText,"showCheckBox":_vm.showCheckBox,"selectionType":_vm.selectionType},on:{"sortdata":_vm.sortdata,"ButtonClick":_vm.ChildButtonClick,"PagerMethod":_vm.pagerMethod,"EventOfCheckbox":_vm.onChangeEventOfCheckbox},scopedSlots:_vm._u([{key:"slotdata",fn:function(ref){
|
|
17623
17623
|
var data = ref.data;
|
|
17624
17624
|
return [_vm._t("slotdata",null,{"data":{row:data.row,column:data.column,listtype:_vm.selectedView}})]}}],null,true)})],1)]):_vm._e()]}),(_vm.noRecord)?_c('tr',[_c('td',{staticClass:"text-center text-danger no-record",attrs:{"colspan":"17"}},[_vm._v(_vm._s(_vm.NorecordfoundText))])]):_vm._e()],2)])]),(_vm.isChild == false)?_c('Pager',{attrs:{"UserPageSize":_vm.UserPageSize,"numberofrecords":_vm.totalrecords,"prev-text":_vm.$t('Previous'),"first-text":_vm.$t('First'),"last-text":_vm.$t('Last'),"next-text":_vm.$t('Next')},on:{"SetCurrentPage":_vm.pagerMethod}}):_vm._e()],1)}
|
|
17625
|
-
var
|
|
17625
|
+
var DataTablevue_type_template_id_ffa94a0e_staticRenderFns = []
|
|
17626
17626
|
|
|
17627
17627
|
|
|
17628
|
-
// CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=template&id=
|
|
17628
|
+
// CONCATENATED MODULE: ./src/components/DataTable.vue?vue&type=template&id=ffa94a0e&
|
|
17629
17629
|
|
|
17630
17630
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.exec.js
|
|
17631
17631
|
var es_regexp_exec = __webpack_require__("ac1f");
|
|
@@ -17633,12 +17633,12 @@ var es_regexp_exec = __webpack_require__("ac1f");
|
|
|
17633
17633
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.regexp.test.js
|
|
17634
17634
|
var es_regexp_test = __webpack_require__("00b4");
|
|
17635
17635
|
|
|
17636
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/RowActions.vue?vue&type=template&id=
|
|
17637
|
-
var
|
|
17638
|
-
var
|
|
17636
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/RowActions.vue?vue&type=template&id=271c2bdb&
|
|
17637
|
+
var RowActionsvue_type_template_id_271c2bdb_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('justWraper',{style:((_vm.listType == 'List' && _vm.listActions.length <= 2)?'display: table-cell;text-align: center;right: 6px;z-index: 99;vertical-align: middle;':(_vm.listType == 'List')? 'display: table-cell;text-align: center; position: sticky !important;right: 6px;z-index: 99;vertical-align: middle;' : '')},[(_vm.listType == 'List' && _vm.listActions.length > 2)?_c('td',{staticClass:"text-center mobile-action",style:((_vm.listType == 'List')?'display: block;': '')},[_c('span',{staticClass:"actions mobileaction"},[_c('em',{staticClass:"fa fa-ellipsis-h action_icon",attrs:{"aria-hidden":"true"}}),_c('span',{staticClass:"action-list-box"},[_c('span',{staticClass:"list-actions",attrs:{"id":"action-list"}},[_vm._l((_vm.listActions),function(action){return [(action.isVisible == true && typeof action.callbackfunction != 'undefined')?_c('a',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"typetitle":_vm.$t(action.title),"typefor":_vm.$t(action.title),"value":_vm.item[_vm.identityColumn],"title":_vm.$t(action.title)},on:{"click":function($event){return _vm.ClickEvent(action.isDisabled, action.callbackfunction,_vm.item,_vm.index,$event)}}},[_c('em',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')}),_c('span',{staticClass:"text"},[_vm._v(" "+_vm._s(_vm.$t(action.title))+" "),_c('span',{domProps:{"innerHTML":_vm._s(_vm.replaceText(action.additionalSpan))}})])]):_vm._e(),(action.isVisible == true && typeof action.callbackfunction == 'undefined')?_c('RouterLink',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"to":_vm.replaceText(action.href),"title":_vm.$t(action.title)}},[_c('em',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')}),_vm._v(" "),_c('br'),_c('span',{staticClass:"text"},[_vm._v(" "+_vm._s(action.title))])]):_vm._e()]}),_c('em',{staticClass:"fa fa-times close close-action",attrs:{"aria-hidden":"true"}})],2)])])]):_vm._e(),(_vm.listType == 'List' && _vm.listActions.length <= 2)?_c('td',{staticClass:"text-center single-action",style:((_vm.listType == 'List')?'display: inline-block': '')},[_vm._l((_vm.listActions),function(action){return [(action.isVisible == true && typeof action.callbackfunction != 'undefined')?_c('a',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"typetitle":_vm.$t(action.title),"typefor":_vm.$t(action.title),"value":_vm.item[_vm.identityColumn],"title":_vm.$t(action.title)},on:{"click":function($event){return _vm.ClickEvent(action.isDisabled, action.callbackfunction,_vm.item,_vm.index,$event)}}},[_c('em',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')})]):_vm._e(),(action.isVisible == true && typeof action.callbackfunction == 'undefined')?_c('RouterLink',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"to":_vm.replaceText(action.href),"title":_vm.$t(action.title)}},[_c('em',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')})]):_vm._e()]})],2):_vm._e(),_vm._l((_vm.listActions),function(action){return (_vm.listType == 'Card')?[((action.isVisible == true && typeof action.callbackfunction != 'undefined'))?_c('a',{class:'round-icon-small ' + ((action.class) ? action.class : 'btn-info') + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': ''),attrs:{"typetitle":_vm.$t(action.title),"typefor":_vm.$t(action.title),"value":_vm.item[_vm.identityColumn],"title":_vm.$t(action.title),"data-toggle-tooltip":"tooltip","data-original-title":_vm.$t(action.title)},on:{"click":function($event){return _vm.ClickEvent(action.isDisabled, action.callbackfunction,_vm.item,_vm.index,$event)}}},[_c('em',{class:_vm.CardActionIcon(action.icon) + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')})]):_vm._e(),(action.isVisible == true && typeof action.callbackfunction == 'undefined')?_c('RouterLink',{class:'round-icon-small ' + ((action.class) ? action.class : 'btn-info') + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': ''),attrs:{"to":_vm.replaceText(action.href),"title":action.title}},[_c('em',{class:_vm.CardActionIcon(action.icon) + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')})]):_vm._e()]:_vm._e()}),_vm._l((_vm.listActions),function(action){return (_vm.listType == 'Kanban')?[(action.isVisible == true && typeof action.callbackfunction != 'undefined')?_c('a',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"typetitle":_vm.$t(action.title),"typefor":_vm.$t(action.title),"value":_vm.item[_vm.identityColumn],"title":_vm.$t(action.title)},on:{"click":function($event){return _vm.ClickEvent(action.isDisabled, action.callbackfunction,_vm.item,_vm.index,$event)}}},[_c('i',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')}),_c('span',{staticClass:"text"},[_vm._v(" "+_vm._s(_vm.$t(action.title))+" "),_c('span',{domProps:{"innerHTML":_vm._s(_vm.replaceText(action.additionalSpan))}})])]):_vm._e(),(action.isVisible == true && typeof action.callbackfunction == 'undefined')?_c('RouterLink',{class:{'actions-onclick': true, 'disabled': (typeof action.isDisabled != 'undefined' && action.isDisabled == true)},attrs:{"to":_vm.replaceText(action.href),"title":_vm.$t(action.title)}},[_c('i',{class:action.icon + ' ' + ((typeof action.isDisabled != 'undefined' && action.isDisabled == true)?'disabled': '')}),_c('span',{staticClass:"text"},[_vm._v(" "+_vm._s(_vm.$t(action.title)))])]):_vm._e()]:_vm._e()})],2)}
|
|
17638
|
+
var RowActionsvue_type_template_id_271c2bdb_staticRenderFns = []
|
|
17639
17639
|
|
|
17640
17640
|
|
|
17641
|
-
// CONCATENATED MODULE: ./src/components/RowActions.vue?vue&type=template&id=
|
|
17641
|
+
// CONCATENATED MODULE: ./src/components/RowActions.vue?vue&type=template&id=271c2bdb&
|
|
17642
17642
|
|
|
17643
17643
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.replace.js
|
|
17644
17644
|
var es_string_replace = __webpack_require__("5319");
|
|
@@ -17731,6 +17731,7 @@ var es_array_join = __webpack_require__("a15b");
|
|
|
17731
17731
|
//
|
|
17732
17732
|
//
|
|
17733
17733
|
//
|
|
17734
|
+
//
|
|
17734
17735
|
/* harmony default export */ var RowActionsvue_type_script_lang_js_ = ({
|
|
17735
17736
|
props: {
|
|
17736
17737
|
item: {
|
|
@@ -17912,8 +17913,8 @@ function normalizeComponent (
|
|
|
17912
17913
|
|
|
17913
17914
|
var component = normalizeComponent(
|
|
17914
17915
|
components_RowActionsvue_type_script_lang_js_,
|
|
17915
|
-
|
|
17916
|
-
|
|
17916
|
+
RowActionsvue_type_template_id_271c2bdb_render,
|
|
17917
|
+
RowActionsvue_type_template_id_271c2bdb_staticRenderFns,
|
|
17917
17918
|
false,
|
|
17918
17919
|
null,
|
|
17919
17920
|
null,
|
|
@@ -18358,6 +18359,10 @@ var Pager_component = normalizeComponent(
|
|
|
18358
18359
|
selectionType: {
|
|
18359
18360
|
type: String,
|
|
18360
18361
|
default: "multiple"
|
|
18362
|
+
},
|
|
18363
|
+
tableClasses: {
|
|
18364
|
+
type: String,
|
|
18365
|
+
default: "table-fix-header"
|
|
18361
18366
|
}
|
|
18362
18367
|
},
|
|
18363
18368
|
watch: {
|
|
@@ -18377,6 +18382,19 @@ var Pager_component = normalizeComponent(
|
|
|
18377
18382
|
};
|
|
18378
18383
|
},
|
|
18379
18384
|
methods: {
|
|
18385
|
+
tdClasses: function tdClasses(key, item) {
|
|
18386
|
+
var rtnValues = "";
|
|
18387
|
+
|
|
18388
|
+
if (typeof key.settings != 'undefined' && key.settings != null && typeof key.settings.tdClasses != 'undefined') {
|
|
18389
|
+
rtnValues += " " + key.settings.tdClasses;
|
|
18390
|
+
}
|
|
18391
|
+
|
|
18392
|
+
if (key.DATA_TYPE == 'decimal' || key.DATA_TYPE == 'currency' || key.DATA_TYPE == 'int' || key.DATA_TYPE == 'bigint') {
|
|
18393
|
+
rtnValues += " text-right";
|
|
18394
|
+
}
|
|
18395
|
+
|
|
18396
|
+
return rtnValues;
|
|
18397
|
+
},
|
|
18380
18398
|
onExpndChild: function onExpndChild(item) {
|
|
18381
18399
|
item.child.isShowChild = true;
|
|
18382
18400
|
|
|
@@ -18455,8 +18473,8 @@ var Pager_component = normalizeComponent(
|
|
|
18455
18473
|
|
|
18456
18474
|
var DataTable_component = normalizeComponent(
|
|
18457
18475
|
components_DataTablevue_type_script_lang_js_,
|
|
18458
|
-
|
|
18459
|
-
|
|
18476
|
+
DataTablevue_type_template_id_ffa94a0e_render,
|
|
18477
|
+
DataTablevue_type_template_id_ffa94a0e_staticRenderFns,
|
|
18460
18478
|
false,
|
|
18461
18479
|
null,
|
|
18462
18480
|
null,
|
|
@@ -18465,8 +18483,8 @@ var DataTable_component = normalizeComponent(
|
|
|
18465
18483
|
)
|
|
18466
18484
|
|
|
18467
18485
|
/* harmony default export */ var DataTable = (DataTable_component.exports);
|
|
18468
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/left-search.vue?vue&type=template&id=
|
|
18469
|
-
var
|
|
18486
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/left-search.vue?vue&type=template&id=1d3e129a&
|
|
18487
|
+
var left_searchvue_type_template_id_1d3e129a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.header)?_c('div',{staticClass:"col-md-12 p-0 mb-2"},[_c('div',{staticClass:"theme-primary partition"},[_c('span',{staticClass:"p-name text-white"},[_vm._v(_vm._s(_vm.header))])])]):_vm._e(),_c('div',{staticClass:"accordion md-accordion left-filter",attrs:{"id":"accordionEx","role":"tablist","aria-multiselectable":"true"}},[_c('div',{staticClass:"card"},[_c('div',{staticClass:"card-header filter-head",attrs:{"role":"tab","id":"headingOne1"}},[_c('h5',{staticClass:"mb-0"},[_c('em',{staticClass:"fa fa-filter",attrs:{"aria-hidden":"true"}}),_vm._v(" "+_vm._s(_vm.$t("Search"))+" "),_c('span',{staticClass:"expand_all_filters"},[_c('span',{attrs:{"id":"SearchData"},on:{"click":function($event){return _vm.SearchData()}}},[_vm._m(0)]),_c('span',{on:{"click":function($event){return _vm.ClearFilter()}}},[_vm._m(1)]),_c('span',{staticClass:"collapsed ancExpandAllCollapseAll",attrs:{"data-target":".multi-collapse","data-toggle":"collapse"},on:{"click":function($event){return _vm.ExpandCollapsedAll()}}},[_c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","title":_vm.$t('ExpandAllCollapseAll'),"data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-sort-desc",attrs:{"aria-hidden":"true"}})])])])])])]),_c('div',{staticClass:"card-panel"},_vm._l((_vm.Fields),function(field,fieldIndex){return _c('div',{key:fieldIndex,staticClass:"card"},[_c('div',{staticClass:"card-header",attrs:{"role":"tab","id":'headingOnee' + fieldIndex}},[_c('h5',{staticClass:"mb-0"},[_c('a',{staticClass:"collapsed",attrs:{"data-toggle":"collapse","data-parent":"#accordionEx","href":'#collapseOne'+fieldIndex,"aria-expanded":"false","aria-controls":'collapseOne'+fieldIndex}},[_c('em',{class:'fa ' + field.fieldIcon,attrs:{"aria-hidden":"true"}}),_c('span',{class:{'filter':field.isSearch}},[_vm._v(_vm._s(_vm.$t(field.fieldName)))]),_c('em',{staticClass:"fa fa-angle-down rotate-icon",attrs:{"aria-hidden":"true"}})]),_c('a',{class:{'tab-Search-btn': true, 'd-block': (field.value==0?String(field.value).length>0:field.value)},attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.SearchData()}}},[_c('em',{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})])])]),_c('div',{staticClass:"collapse multi-collapse",attrs:{"id":'collapseOne'+fieldIndex,"role":"tabpanel","aria-labelledby":'headingOnee' + fieldIndex,"data-parent":"#accordionEx"}},[_c('div',{staticClass:"card-body pt-0"},[(field.fieldType== 'text')?_c('div',{staticClass:"form-group"},[(((field.isNumeric == true)? 'number':'text')==='checkbox')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholder(field),"type":"checkbox"},domProps:{"checked":Array.isArray(field.value)?_vm._i(field.value,null)>-1:(field.value)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field)},"change":function($event){var $$a=field.value,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(field, "value", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(field, "value", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(field, "value", $$c)}}}}):(((field.isNumeric == true)? 'number':'text')==='radio')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholder(field),"type":"radio"},domProps:{"checked":_vm._q(field.value,null)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field)},"change":function($event){return _vm.$set(field, "value", null)}}}):_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholder(field),"type":(field.isNumeric == true)? 'number':'text'},domProps:{"value":(field.value)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field)},"input":function($event){if($event.target.composing){ return; }_vm.$set(field, "value", $event.target.value)}}})]):_vm._e(),(field.fieldType== 'date' || field.fieldType== 'date-range')?_c('div',{staticClass:"form-group"},[_c('div',{class:{'input-group':true, 'mb-2':(field.fieldType == 'date-range') }},[_c('v-date-picker',{staticClass:"input-group",attrs:{"popover":_vm.popover,"model-config":_vm.modelConfig,"minute-increment":5,"name":'DateFrom'+fieldIndex,"change":_vm.SetMinMaxValueForDatePicker(field, 'datefrom')},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
18470
18488
|
var inputValue = ref.inputValue;
|
|
18471
18489
|
var inputEvents = ref.inputEvents;
|
|
18472
18490
|
var togglePopover = ref.togglePopover;
|
|
@@ -18474,11 +18492,11 @@ return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":_vm.g
|
|
|
18474
18492
|
var inputValue = ref.inputValue;
|
|
18475
18493
|
var inputEvents = ref.inputEvents;
|
|
18476
18494
|
var togglePopover = ref.togglePopover;
|
|
18477
|
-
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":_vm.getPlaceholder(field, 'DateTo')},domProps:{"value":inputValue}},inputEvents)),_c('div',{staticClass:"input-group-append",on:{"click":function($event){return togglePopover()}}},[_c('span',{staticClass:"input-group-text"},[_c('em',{staticClass:"fa fa-calendar"})])])]}}],null,true),model:{value:(field.secondValue),callback:function ($$v) {_vm.$set(field, "secondValue", $$v)},expression:"field.secondValue"}})],1):_vm._e()]):_vm._e(),_c('vue-scroll',[(field.fieldType== 'radio' || field.fieldType== 'checkbox')?_c('div',{staticClass:"form-group d-flex",staticStyle:{"max-height":"200px","flex-direction":"column"}},_vm._l((field.listOptions),function(item,index){return _c('div',{key:index,class:{'custom-control w-auto custom-control-inline': true, 'custom-radio': field.fieldType== 'radio', 'custom-checkbox': field.fieldType== 'checkbox'}},[(field.fieldType== 'radio')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"custom-control-input dynamic",attrs:{"type":"radio","id":'customcheckbox'+fieldIndex+index,"name":'RadioButtonForLeftSearch' + fieldIndex},domProps:{"value":item.value,"checked":_vm._q(field.value,item.value)},on:{"change":[function($event){return _vm.$set(field, "value", item.value)},function($event){return _vm.onChangeforDDL(field, $event)}]}}):_vm._e(),(field.fieldType== 'checkbox')?_c('input',{staticClass:"custom-control-input dynamic",attrs:{"type":"checkbox","id":'customcheckbox'+fieldIndex+index,"name":'CheckboxButtonForLeftSearch' + fieldIndex},domProps:{"checked":_vm.CheckIfSelected(field, item.value),"value":item.value},on:{"change":function($event){return _vm.UpdateCheckedValues(field, item.value, $event)}}}):_vm._e(),_c('label',{staticClass:"custom-control-label",attrs:{"for":'customcheckbox'+fieldIndex+index}},[_vm._v(_vm._s(item.name))])])}),0):_vm._e()]),(field.fieldType== 'ddl-radio' || field.fieldType== 'ddl-check')?_c('div',{staticClass:"form-group"},[_c('vue-scroll',[_c('div',{staticClass:"w-100 d-flex flex-wrap filterscroll filterscroll_leftsearch",staticStyle:{"max-height":"200px"}},_vm._l((field.listOptions),function(btn,index){return _c('button',{key:index,class:{'btn search-tag searchtagfloat float-left':true, 'd-none':_vm.CheckValueSelectedForbadge(btn.value, field.value, field.isSearch)},attrs:{"type":"button"}},[_c('span',{staticClass:"tag-name"},[_vm._v(_vm._s(btn.name))]),_c('span',{staticClass:"badge text-dark",on:{"click":function($event){return _vm.ClearFilerForbadge(btn.value, field, fieldIndex)}}},[_vm._v("×")])])}),0)]),_c('div',{staticClass:"w-100"},[_c('div',{staticClass:"p-0 mb-1 w-100"},[_c('div',{staticClass:"input-group customsearchbox"},[_c('input',{staticClass:"form-control searchcustomfilter border-right-0",attrs:{"type":"text","Placeholder":"Search","autocomplete":"off"},on:{"keyup":function($event){return _vm.onLeftSearchLocalFilter($event)}}}),_vm._m(2,true)])]),_c('vue-scroll',[_c('div',{staticClass:"form-group filterscroll filterscroll_leftsearch",staticStyle:{"max-height":"200px"}},[(field.fieldType == 'ddl-check' && field.listOptions.length > 0)?_c('div',{staticClass:"custom-control custom-checkbox custom-control-inline w-100"},[_c('input',{staticClass:"custom-control-input dynamic customcheckboxselectall",attrs:{"id":'customcheckboxselectall'+fieldIndex,"type":"checkbox"},on:{"change":function($event){return _vm.SelectAllRecords(field, $event)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'customcheckboxselectall'+fieldIndex,"type":"checkbox"}},[_vm._v("Select All")])]):_vm._e(),(field.listOptions.length == 0)?_c('div',{staticClass:"text-center text-danger no-record",staticStyle:{"font-size":"12px"}},[_vm._v("No Record available")]):_vm._e(),_vm._l((field.listOptions),function(item,index){return _c('div',{key:index,class:{'custom-control custom-control-inline w-100': true, 'custom-radio': field.fieldType== 'ddl-radio','custom-checkbox': field.fieldType=='ddl-check'}},[(field.fieldType== 'ddl-radio')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"custom-control-input dynamic",attrs:{"type":"radio","id":'customcheckbox'+fieldIndex+index,"name":"selectedDealOwner"},domProps:{"value":item.value,"checked":_vm._q(field.value,item.value)},on:{"change":[function($event){return _vm.$set(field, "value", item.value)},function($event){return _vm.onChangeforDDL(field, $event)}]}}):_vm._e(),(field.fieldType== 'ddl-check')?_c('input',{staticClass:"custom-control-input dynamic",attrs:{"type":"checkbox","id":'customcheckbox'+fieldIndex+index,"name":"selectedDealOwner"},domProps:{"checked":_vm.CheckIfSelected(field, item.value),"value":item.value},on:{"change":function($event){return _vm.UpdateCheckedValues(field, item.value, $event, 'customcheckboxselectall'+fieldIndex)}}}):_vm._e(),_c('label',{staticClass:"custom-control-label",attrs:{"for":'customcheckbox'+fieldIndex+index}},[_vm._v(_vm._s(item.name))])])})],2)])],1)],1):_vm._e(),(field.fieldType== 'ddl-multilevel')?_c('div',{staticClass:"form-group"},[(field.listOptions && field.listOptions.length>0)?_c('tree-select',{attrs:{"placeholder":"Select Location","multiple":false,"options":field.listOptions},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}}):_vm._e()],1):_vm._e(),(field.fieldType== 'dropdown')?_c('div',{staticClass:"form-group"},[_c('select',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control",attrs:{"id":'dropdown'+fieldIndex},on:{"change":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return val}); _vm.$set(field, "value", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((field.listOptions),function(option){return _c('option',{domProps:{"value":option.value}},[_vm._v(_vm._s(option.name))])}),0)]):_vm._e(),(field.fieldType == 'searchableselect')?_c('div',{staticClass:"form-group ddl-custom-searchableselect"},[_c('searchable-select',{attrs:{"items":field.listOptions,"max-visible-chips":2,"action-buttons":_vm.computedActionButtons(field),"item-fields":_vm.computedItemFields(field),"group-fields":_vm.computedGroupFields(field),"max-render-items":_vm.computedMaxRenderItems(field),"lazy-load":true,"multiple":field.isMultiple,"label":field.fieldName,"placeholder":field.placeholder,"status-field-config":field.statusFieldConfig,"min-search-length":field.minSearchLength},on:{"change":_vm.onSearchableChange},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})],1):_vm._e()],1)])])}),0)]),_c('div',{staticClass:"bottom_filter_button"},[_c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","data-target":".multi-collapse","data-toggle":"collapse"},on:{"click":_vm.ExpandCollapsedAll}},[_vm._v(_vm._s(_vm.$t('ExpandAllCollapseAll')))])])])}
|
|
18478
|
-
var
|
|
18495
|
+
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":_vm.getPlaceholder(field, 'DateTo')},domProps:{"value":inputValue}},inputEvents)),_c('div',{staticClass:"input-group-append",on:{"click":function($event){return togglePopover()}}},[_c('span',{staticClass:"input-group-text"},[_c('em',{staticClass:"fa fa-calendar"})])])]}}],null,true),model:{value:(field.secondValue),callback:function ($$v) {_vm.$set(field, "secondValue", $$v)},expression:"field.secondValue"}})],1):_vm._e()]):_vm._e(),_c('vue-scroll',[(field.fieldType== 'radio' || field.fieldType== 'checkbox')?_c('div',{staticClass:"form-group d-flex",staticStyle:{"max-height":"200px","flex-direction":"column"}},_vm._l((field.listOptions),function(item,index){return _c('div',{key:index,class:{'custom-control w-auto custom-control-inline': true, 'custom-radio': field.fieldType== 'radio', 'custom-checkbox': field.fieldType== 'checkbox'}},[(field.fieldType== 'radio')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"custom-control-input dynamic",attrs:{"type":"radio","id":'customcheckbox'+fieldIndex+index,"name":'RadioButtonForLeftSearch' + fieldIndex},domProps:{"value":item.value,"checked":_vm._q(field.value,item.value)},on:{"change":[function($event){return _vm.$set(field, "value", item.value)},function($event){return _vm.onChangeforDDL(field, $event)}]}}):_vm._e(),(field.fieldType== 'checkbox')?_c('input',{staticClass:"custom-control-input dynamic",attrs:{"type":"checkbox","id":'customcheckbox'+fieldIndex+index,"name":'CheckboxButtonForLeftSearch' + fieldIndex},domProps:{"checked":_vm.CheckIfSelected(field, item.value),"value":item.value},on:{"change":function($event){return _vm.UpdateCheckedValues(field, item.value, $event)}}}):_vm._e(),_c('label',{staticClass:"custom-control-label",attrs:{"for":'customcheckbox'+fieldIndex+index}},[_vm._v(_vm._s(item.name))])])}),0):_vm._e()]),(field.fieldType== 'ddl-radio' || field.fieldType== 'ddl-check')?_c('div',{staticClass:"form-group"},[_c('vue-scroll',[_c('div',{staticClass:"w-100 d-flex flex-wrap filterscroll filterscroll_leftsearch",staticStyle:{"max-height":"200px"}},_vm._l((field.listOptions),function(btn,index){return _c('button',{key:index,class:{'btn search-tag searchtagfloat float-left':true, 'd-none':_vm.CheckValueSelectedForbadge(btn.value, field.value, field.isSearch)},attrs:{"type":"button"}},[_c('span',{staticClass:"tag-name"},[_vm._v(_vm._s(btn.name))]),_c('span',{staticClass:"badge text-dark",on:{"click":function($event){return _vm.ClearFilerForbadge(btn.value, field, fieldIndex)}}},[_vm._v("×")])])}),0)]),_c('div',{staticClass:"w-100"},[_c('div',{staticClass:"p-0 mb-1 w-100"},[_c('div',{staticClass:"input-group customsearchbox"},[_c('input',{staticClass:"form-control searchcustomfilter border-right-0",attrs:{"type":"text","Placeholder":"Search","autocomplete":"off"},on:{"keyup":function($event){return _vm.onLeftSearchLocalFilter($event)}}}),_vm._m(2,true)])]),_c('vue-scroll',[_c('div',{staticClass:"form-group filterscroll filterscroll_leftsearch",staticStyle:{"max-height":"200px"}},[(field.fieldType == 'ddl-check' && field.listOptions.length > 0)?_c('div',{staticClass:"custom-control custom-checkbox custom-control-inline w-100"},[_c('input',{staticClass:"custom-control-input dynamic customcheckboxselectall",attrs:{"id":'customcheckboxselectall'+fieldIndex,"type":"checkbox"},on:{"change":function($event){return _vm.SelectAllRecords(field, $event)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'customcheckboxselectall'+fieldIndex,"type":"checkbox"}},[_vm._v("Select All")])]):_vm._e(),(field.listOptions.length == 0)?_c('div',{staticClass:"text-center text-danger no-record",staticStyle:{"font-size":"12px"}},[_vm._v("No Record available")]):_vm._e(),_vm._l((field.listOptions),function(item,index){return _c('div',{key:index,class:{'custom-control custom-control-inline w-100': true, 'custom-radio': field.fieldType== 'ddl-radio','custom-checkbox': field.fieldType=='ddl-check'}},[(field.fieldType== 'ddl-radio')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"custom-control-input dynamic",attrs:{"type":"radio","id":'customcheckbox'+fieldIndex+index,"name":"selectedDealOwner"},domProps:{"value":item.value,"checked":_vm._q(field.value,item.value)},on:{"change":[function($event){return _vm.$set(field, "value", item.value)},function($event){return _vm.onChangeforDDL(field, $event)}]}}):_vm._e(),(field.fieldType== 'ddl-check')?_c('input',{staticClass:"custom-control-input dynamic",attrs:{"type":"checkbox","id":'customcheckbox'+fieldIndex+index,"name":"selectedDealOwner"},domProps:{"checked":_vm.CheckIfSelected(field, item.value),"value":item.value},on:{"change":function($event){return _vm.UpdateCheckedValues(field, item.value, $event, 'customcheckboxselectall'+fieldIndex)}}}):_vm._e(),_c('label',{staticClass:"custom-control-label",attrs:{"for":'customcheckbox'+fieldIndex+index}},[_vm._v(_vm._s(item.name))])])})],2)])],1)],1):_vm._e(),(field.fieldType== 'ddl-multilevel')?_c('div',{staticClass:"form-group"},[(field.listOptions && field.listOptions.length>0)?_c('tree-select',{attrs:{"placeholder":"Select Location","multiple":false,"options":field.listOptions},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}}):_vm._e()],1):_vm._e(),(field.fieldType== 'dropdown')?_c('div',{staticClass:"form-group"},[_c('select',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control",attrs:{"id":'dropdown'+fieldIndex},on:{"change":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return val}); _vm.$set(field, "value", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((field.listOptions),function(option){return _c('option',{domProps:{"value":option.value}},[_vm._v(_vm._s(option.name))])}),0)]):_vm._e(),(field.fieldType == 'searchableselect')?_c('div',{staticClass:"form-group ddl-custom-searchableselect"},[_c('searchable-select',{attrs:{"items":field.listOptions,"max-visible-chips":2,"action-buttons":_vm.computedActionButtons(field),"item-fields":_vm.computedItemFields(field),"group-fields":_vm.computedGroupFields(field),"max-render-items":_vm.computedMaxRenderItems(field),"lazy-load":true,"multiple":field.isMultiple,"label":field.fieldName,"placeholder":field.placeholder,"status-field-config":field.statusFieldConfig,"min-search-length":field.minSearchLength},on:{"change":function($event){return _vm.onSearchableChange($event, field)}},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})],1):_vm._e()],1)])])}),0)]),_c('div',{staticClass:"bottom_filter_button"},[_c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","data-target":".multi-collapse","data-toggle":"collapse"},on:{"click":_vm.ExpandCollapsedAll}},[_vm._v(_vm._s(_vm.$t('ExpandAllCollapseAll')))])])])}
|
|
18496
|
+
var left_searchvue_type_template_id_1d3e129a_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","title":"Search","data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{staticClass:"collapsed",attrs:{"title":"Reset","href":"javascript:;","data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-repeat",attrs:{"aria-hidden":"true"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"input-group-append"},[_c('span',{staticClass:"input-group-text bg-transparent bg-white border-left-0"},[_c('em',{staticClass:"fa fa-search"})])])}]
|
|
18479
18497
|
|
|
18480
18498
|
|
|
18481
|
-
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=
|
|
18499
|
+
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=1d3e129a&
|
|
18482
18500
|
|
|
18483
18501
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
18484
18502
|
var es_array_find = __webpack_require__("7db0");
|
|
@@ -18510,12 +18528,12 @@ var vuescroll_default = /*#__PURE__*/__webpack_require__.n(vuescroll);
|
|
|
18510
18528
|
var vue_treeselect_cjs = __webpack_require__("ca17");
|
|
18511
18529
|
var vue_treeselect_cjs_default = /*#__PURE__*/__webpack_require__.n(vue_treeselect_cjs);
|
|
18512
18530
|
|
|
18513
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SearchableSelect.vue?vue&type=template&id=
|
|
18514
|
-
var
|
|
18515
|
-
var
|
|
18531
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SearchableSelect.vue?vue&type=template&id=92200852&scoped=true&
|
|
18532
|
+
var SearchableSelectvue_type_template_id_92200852_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)}
|
|
18533
|
+
var SearchableSelectvue_type_template_id_92200852_scoped_true_staticRenderFns = []
|
|
18516
18534
|
|
|
18517
18535
|
|
|
18518
|
-
// CONCATENATED MODULE: ./src/components/SearchableSelect.vue?vue&type=template&id=
|
|
18536
|
+
// CONCATENATED MODULE: ./src/components/SearchableSelect.vue?vue&type=template&id=92200852&scoped=true&
|
|
18519
18537
|
|
|
18520
18538
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.async-iterator.js
|
|
18521
18539
|
var es_symbol_async_iterator = __webpack_require__("b636");
|
|
@@ -19009,18 +19027,18 @@ function _objectSpread2(target) {
|
|
|
19009
19027
|
|
|
19010
19028
|
return target;
|
|
19011
19029
|
}
|
|
19012
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Autocomplete.vue?vue&type=template&id=
|
|
19013
|
-
var
|
|
19030
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/Autocomplete.vue?vue&type=template&id=c293aa98&scoped=true&
|
|
19031
|
+
var Autocompletevue_type_template_id_c293aa98_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"custom-autocomplete mt-0",class:{ 'is-disabled': _vm.disabled, 'has-error': _vm.hasError }},[(!_vm.multiple)?_c('div',{staticClass:"autocomplete-wrapper"},[_c('div',{staticClass:"input-group"},[_c('input',{ref:"input",staticClass:"form-control",class:{ 'is-invalid': _vm.hasError, 'form-control-sm': _vm.density === 'compact', 'form-control-lg': _vm.density === 'comfortable' },attrs:{"type":"text","placeholder":_vm.placeholder,"disabled":_vm.disabled},domProps:{"value":_vm.displayText},on:{"input":_vm.onInput,"focus":_vm.onFocus,"blur":_vm.onBlur,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }$event.preventDefault();return _vm.handleEnter.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-down",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateDown.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-up",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateUp.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"escape",undefined,$event.key,undefined)){ return null; }return _vm.closeMenu.apply(null, arguments)}]}}),_c('div',{staticClass:"input-group-append"},[(_vm.clearable && _vm.selectedValue)?_c('button',{staticClass:"btn btn-outline-secondary",attrs:{"type":"button","tabindex":"-1"},on:{"click":_vm.clearSelection}},[_c('i',{staticClass:"fa fa-times"})]):_vm._e(),_c('button',{staticClass:"btn btn-outline-secondary dropdown-toggle",class:{ 'active': _vm.isMenuOpen },attrs:{"type":"button","tabindex":"-1"},on:{"click":_vm.toggleMenu}},[_c('i',{staticClass:"fa",class:_vm.loading ? 'fa-spinner fa-spin' : 'fa-chevron-down'})])])]),(_vm.isMenuOpen)?_c('div',{ref:"menu",staticClass:"autocomplete-menu",style:({ maxHeight: _vm.menuMaxHeight + 'px' }),on:{"scroll":_vm.onMenuScroll}},[(_vm.loading && !_vm.hasItems)?_c('div',{staticClass:"autocomplete-loading"},[_vm._m(0),_c('div',{staticClass:"mt-2 text-muted small"},[_vm._v("Loading...")])]):(!_vm.loading && !_vm.hasItems && _vm.searchTerm.length >= _vm.minSearchLength)?_c('div',{staticClass:"autocomplete-no-data"},[_c('i',{staticClass:"fa fa-search text-muted",staticStyle:{"font-size":"2rem"}}),_c('div',{staticClass:"mt-2 text-muted"},[_vm._v(_vm._s(_vm.noDataText))]),_c('div',{staticClass:"text-muted small"},[_vm._v("Try adjusting your search terms")])]):(_vm.hasGrouping)?_c('div',{staticClass:"autocomplete-grouped"},_vm._l((_vm.paginatedGroupedItems),function(group,groupIndex){return _c('div',{key:group.group || groupIndex,staticClass:"autocomplete-group"},[_c('div',{staticClass:"autocomplete-group-header"},[(_vm.groupFields.length > 0)?_c('div',{staticClass:"d-flex flex-column"},[_c('div',{staticClass:"font-weight-bold font-14"},[_vm._v(_vm._s(group.group))]),(_vm.groupFields.length > 1)?_c('div',{staticClass:"small text-muted mt-1"},_vm._l((_vm.groupFields),function(field,idx){return _c('span',{key:field},[(idx > 0)?_c('span',[_vm._v(" • ")]):_vm._e(),(_vm.getGroupFieldValue(group, field))?_c('span',[_vm._v(_vm._s(field)+": "+_vm._s(_vm.getGroupFieldValue(group, field)))]):_vm._e()])}),0):_vm._e()]):_c('div',[_vm._v(_vm._s(group.group))])]),_c('ul',{staticClass:"list-group list-group-flush"},_vm._l((group.items),function(item,itemIndex){return _c('li',{key:_vm.getItemValue(item),staticClass:"list-group-item autocomplete-item",class:{
|
|
19014
19032
|
'active': _vm.getFlatIndex(groupIndex, itemIndex) === _vm.highlightedIndex,
|
|
19015
19033
|
'selected': _vm.isSelected(item)
|
|
19016
|
-
},staticStyle:{"cursor":"pointer"},on:{"click":function($event){$event.preventDefault();return _vm.selectItem(item, $event)},"mouseenter":function($event){_vm.highlightedIndex = _vm.getFlatIndex(groupIndex, itemIndex)}}},[_c('div',{staticClass:"d-flex align-items-center"},[(_vm.multiple)?_c('div',{staticClass:"autocomplete-checkbox-wrapper mr-2"},[_c('input',{staticClass:"autocomplete-checkbox",attrs:{"type":"checkbox","tabindex":"-1"},domProps:{"checked":_vm.isSelected(item)},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.selectItem(item, $event)}}}),(_vm.isSelected(item))?_c('i',{staticClass:"fa fa-check autocomplete-check-icon"}):_vm._e()]):_vm._e(),(item.raw && item.raw.category)?_c('span',{staticClass:"badge badge-secondary mr-2",staticStyle:{"font-size":"0.75rem"}},[_vm._v(" "+_vm._s(item.raw.category)+" ")]):_vm._e(),_c('div',{staticClass:"flex-grow-1"},[(_vm.itemFields.length > 0)?_c('div',{staticClass:"font-weight-400",class:{ 'text-dark': _vm.isSelected(item) },domProps:{"innerHTML":_vm._s(_vm.formatItemFields(item))}}):_c('div',{staticClass:"font-weight-400",class:{ 'text-dark': _vm.isSelected(item) }},[_vm._v(_vm._s(_vm.getItemText(item)))]),(!_vm.itemFields.length && _vm.getItemDescription(item))?_c('div',{staticClass:"text-muted small mt-1"},[_vm._v(_vm._s(_vm.getItemDescription(item)))]):_vm._e()]),(_vm.isSelected(item) && !_vm.multiple)?_c('i',{staticClass:"fa fa-check text-success ml-2",staticStyle:{"font-size":"1.1rem"}}):_vm._e()])])}),0)])}),0):_c('ul',{staticClass:"list-group list-group-flush"},_vm._l((_vm.paginatedDisplayItems),function(item,index){return _c('li',{key:_vm.getItemValue(item),staticClass:"list-group-item autocomplete-item",class:{ 'active': index === _vm.highlightedIndex, 'selected': _vm.isSelected(item) },staticStyle:{"cursor":"pointer"},on:{"click":function($event){$event.preventDefault();return _vm.selectItem(item, $event)},"mouseenter":function($event){_vm.highlightedIndex = index}}},[_c('div',{staticClass:"d-flex align-items-center"},[(_vm.multiple)?_c('input',{staticClass:"mr-2",attrs:{"type":"checkbox","tabindex":"-1"},domProps:{"checked":_vm.isSelected(item)},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.selectItem(item)}}}):_vm._e(),(item.raw && item.raw.category)?_c('span',{staticClass:"badge badge-primary mr-2"},[_vm._v(" "+_vm._s(item.raw.category)+" ")]):_vm._e(),_c('div',{staticClass:"flex-grow-1"},[(_vm.itemFields.length > 0)?_c('div',{staticClass:"font-weight-400",domProps:{"innerHTML":_vm._s(_vm.formatItemFields(item))}}):_c('div',{staticClass:"font-weight-400"},[_vm._v(_vm._s(_vm.getItemText(item)))]),(!_vm.itemFields.length && _vm.getItemDescription(item))?_c('div',{staticClass:"text-muted small mt-1"},[_vm._v(_vm._s(_vm.getItemDescription(item)))]):_vm._e()]),(_vm.isSelected(item) && !_vm.multiple)?_c('i',{staticClass:"fa fa-check text-primary ml-2"}):_vm._e()])])}),0)]):_vm._e()]):_c('div',{staticClass:"autocomplete-wrapper"},[_c('div',{staticClass:"input-group"},[_c('div',{staticClass:"form-control autocomplete-chips-container",class:{ 'is-invalid': _vm.hasError, 'form-control-sm': _vm.density === 'compact', 'form-control-lg': _vm.density === 'comfortable' }},[_c('div',{staticClass:"d-flex flex-wrap align-items-center"},[_vm._l((_vm.visibleChips),function(selectedItem,index){return [(index < _vm.maxVisibleChipsCount)?_c('span',{key:_vm.getItemValue(selectedItem),staticClass:"badge badge-primary mr-1 mb-1 pl-2 autocomplete-chip",attrs:{"title":_vm.getChipText(selectedItem)}},[_c('span',{staticClass:"autocomplete-chip-text",domProps:{"innerHTML":_vm._s(_vm.getChipText(selectedItem))}}),_c('button',{staticClass:"close ml-1 autocomplete-chip-close",attrs:{"type":"button","tabindex":"-1","aria-label":'Remove ' + (_vm.getChipText(selectedItem).replace(/<[^>]*>/g, ''))},on:{"click":function($event){$event.stopPropagation();_vm.removeItem(_vm.getItemValue(selectedItem))}}},[_c('span',{attrs:{"aria-hidden":"true"}},[_vm._v("×")])])]):_vm._e()]}),(_vm.remainingChipsCount > 0)?_c('span',{staticClass:"badge badge-secondary mr-1 mb-1 pl-2 autocomplete-chip autocomplete-chip-more",attrs:{"title":(_vm.remainingChipsCount + " more selected")}},[_c('span',{staticClass:"autocomplete-chip-text"},[_vm._v("+ "+_vm._s(_vm.remainingChipsCount)+" more")])]):_vm._e(),_c('input',{ref:"input",staticClass:"autocomplete-input-inline",attrs:{"type":"text","placeholder":_vm.selectedItems.length === 0 ? _vm.placeholder : '',"disabled":_vm.disabled},domProps:{"value":_vm.searchTerm},on:{"input":_vm.onInput,"focus":_vm.onFocus,"blur":_vm.onBlur,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }$event.preventDefault();return _vm.handleEnter.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-down",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateDown.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-up",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateUp.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"escape",undefined,$event.key,undefined)){ return null; }return _vm.closeMenu.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"backspace",undefined,$event.key,undefined)){ return null; }return _vm.handleBackspace.apply(null, arguments)}]}})],2)]),_c('div',{staticClass:"input-group-append"},[(_vm.clearable && (_vm.currentValue && (Array.isArray(_vm.currentValue) ? _vm.currentValue.length > 0 : true)))?_c('button',{staticClass:"btn btn-outline-secondary",attrs:{"type":"button","tabindex":"-1"},on:{"click":_vm.clearSelection}},[_c('i',{staticClass:"fa fa-times"})]):_vm._e(),_c('button',{staticClass:"btn btn-outline-secondary dropdown-toggle",class:{ 'active': _vm.isMenuOpen },attrs:{"type":"button","tabindex":"-1"},on:{"click":_vm.toggleMenu}},[_c('i',{staticClass:"fa",class:_vm.loading ? 'fa-spinner fa-spin' : 'fa-chevron-down'})])])]),(_vm.isMenuOpen)?_c('div',{ref:"menu",staticClass:"autocomplete-menu",style:({ maxHeight: _vm.menuMaxHeight + 'px' }),on:{"scroll":_vm.onMenuScroll}},[(_vm.hasActionButtons)?_c('div',{staticClass:"autocomplete-actions p-2 border-bottom"},[_c('div',{staticClass:"d-flex flex-wrap gap-1"},[(_vm.actionButtons.selectAll)?_c('button',{staticClass:"btn btn-sm btn-outline-primary",attrs:{"type":"button","disabled":_vm.disabled || _vm.allSelected},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.selectAll($event)}}},[_c('i',{staticClass:"fa fa-check-square mr-1"}),_vm._v(" Select All ")]):_vm._e(),(_vm.actionButtons.active)?_c('button',{staticClass:"btn btn-sm btn-outline-success",class:{ 'active': _vm.filterStatus === 'active' },attrs:{"type":"button","disabled":_vm.disabled},on:{"click":function($event){return _vm.filterByStatus('active')}}},[_c('i',{staticClass:"fa fa-check-circle mr-1"}),_vm._v(" Active ")]):_vm._e(),(_vm.actionButtons.inactive)?_c('button',{staticClass:"btn btn-sm btn-outline-secondary",class:{ 'active': _vm.filterStatus === 'inactive' },attrs:{"type":"button","disabled":_vm.disabled},on:{"click":function($event){return _vm.filterByStatus('inactive')}}},[_c('i',{staticClass:"fa fa-times-circle mr-1"}),_vm._v(" Inactive ")]):_vm._e(),(_vm.actionButtons.clear)?_c('button',{staticClass:"btn btn-sm btn-outline-danger",attrs:{"type":"button","disabled":_vm.disabled || !_vm.hasSelectedItems},on:{"click":_vm.clearSelection}},[_c('i',{staticClass:"fa fa-times mr-1"}),_vm._v(" Clear ")]):_vm._e()])]):_vm._e(),(_vm.loading && !_vm.hasItems)?_c('div',{staticClass:"autocomplete-loading"},[_vm._m(1),_c('div',{staticClass:"mt-2 text-muted small"},[_vm._v("Loading...")])]):(!_vm.loading && !_vm.hasItems && _vm.searchTerm.length >= _vm.minSearchLength)?_c('div',{staticClass:"autocomplete-no-data"},[_c('i',{staticClass:"fa fa-search text-muted",staticStyle:{"font-size":"2rem"}}),_c('div',{staticClass:"mt-2 text-muted"},[_vm._v(_vm._s(_vm.noDataText))]),_c('div',{staticClass:"text-muted small"},[_vm._v("Try adjusting your search terms")])]):(_vm.hasGrouping)?_c('div',{staticClass:"autocomplete-grouped"},_vm._l((_vm.paginatedGroupedItems),function(group,groupIndex){return _c('div',{key:group.group || groupIndex,staticClass:"autocomplete-group"},[_c('div',{staticClass:"autocomplete-group-header"},[(_vm.groupFields.length > 0)?_c('div',{staticClass:"d-flex flex-column"},[_c('div',{staticClass:"font-weight-bold"},[_vm._v(_vm._s(group.group))]),_c('div',{staticClass:"small text-muted mt-1"},_vm._l((_vm.groupFields),function(field,idx){return _c('span',{key:field},[(idx > 0)?_c('span',[_vm._v(" • ")]):_vm._e(),(_vm.getGroupFieldValue(group, field))?_c('span',[_vm._v(_vm._s(field)+": "+_vm._s(_vm.getGroupFieldValue(group, field)))]):_vm._e()])}),0)]):_c('div',[_vm._v(_vm._s(group.group))])]),_c('ul',{staticClass:"list-group list-group-flush"},_vm._l((group.items),function(item,itemIndex){return _c('li',{key:_vm.getItemValue(item),staticClass:"list-group-item autocomplete-item",class:{
|
|
19034
|
+
},staticStyle:{"cursor":"pointer"},on:{"click":function($event){$event.preventDefault();return _vm.selectItem(item, $event)},"mouseenter":function($event){_vm.highlightedIndex = _vm.getFlatIndex(groupIndex, itemIndex)}}},[_c('div',{staticClass:"d-flex align-items-center"},[(_vm.multiple)?_c('div',{staticClass:"autocomplete-checkbox-wrapper mr-2"},[_c('input',{staticClass:"autocomplete-checkbox",attrs:{"type":"checkbox","tabindex":"-1"},domProps:{"checked":_vm.isSelected(item)},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.selectItem(item, $event)}}}),(_vm.isSelected(item))?_c('i',{staticClass:"fa fa-check autocomplete-check-icon"}):_vm._e()]):_vm._e(),(item.raw && item.raw.category)?_c('span',{staticClass:"badge badge-secondary mr-2",staticStyle:{"font-size":"0.75rem"}},[_vm._v(" "+_vm._s(item.raw.category)+" ")]):_vm._e(),_c('div',{staticClass:"flex-grow-1"},[(_vm.itemFields.length > 0)?_c('div',{staticClass:"font-weight-400",class:{ 'text-dark': _vm.isSelected(item) },domProps:{"innerHTML":_vm._s(_vm.formatItemFields(item))}}):_c('div',{staticClass:"font-weight-400",class:{ 'text-dark': _vm.isSelected(item) }},[_vm._v(_vm._s(_vm.getItemText(item)))]),(!_vm.itemFields.length && _vm.getItemDescription(item))?_c('div',{staticClass:"text-muted small mt-1"},[_vm._v(_vm._s(_vm.getItemDescription(item)))]):_vm._e()]),(_vm.isSelected(item) && !_vm.multiple)?_c('i',{staticClass:"fa fa-check text-success ml-2",staticStyle:{"font-size":"1.1rem"}}):_vm._e()])])}),0)])}),0):_c('ul',{staticClass:"list-group list-group-flush"},_vm._l((_vm.paginatedDisplayItems),function(item,index){return _c('li',{key:_vm.getItemValue(item),staticClass:"list-group-item autocomplete-item",class:{ 'active': index === _vm.highlightedIndex, 'selected': _vm.isSelected(item) },staticStyle:{"cursor":"pointer"},on:{"click":function($event){$event.preventDefault();return _vm.selectItem(item, $event)},"mouseenter":function($event){_vm.highlightedIndex = index}}},[_c('div',{staticClass:"d-flex align-items-center"},[(_vm.multiple)?_c('input',{staticClass:"mr-2",attrs:{"type":"checkbox","tabindex":"-1"},domProps:{"checked":_vm.isSelected(item)},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.selectItem(item)}}}):_vm._e(),(item.raw && item.raw.category)?_c('span',{staticClass:"badge badge-primary mr-2"},[_vm._v(" "+_vm._s(item.raw.category)+" ")]):_vm._e(),_c('div',{staticClass:"flex-grow-1"},[(_vm.itemFields.length > 0)?_c('div',{staticClass:"font-weight-400",domProps:{"innerHTML":_vm._s(_vm.formatItemFields(item))}}):_c('div',{staticClass:"font-weight-400"},[_vm._v(_vm._s(_vm.getItemText(item)))]),(!_vm.itemFields.length && _vm.getItemDescription(item))?_c('div',{staticClass:"text-muted small mt-1"},[_vm._v(_vm._s(_vm.getItemDescription(item)))]):_vm._e()]),(_vm.isSelected(item) && !_vm.multiple)?_c('i',{staticClass:"fa fa-check text-primary ml-2"}):_vm._e()])])}),0)]):_vm._e()]):_c('div',{staticClass:"autocomplete-wrapper"},[_c('div',{staticClass:"input-group"},[_c('div',{staticClass:"form-control autocomplete-chips-container",class:{ 'is-invalid': _vm.hasError, 'form-control-sm': _vm.density === 'compact', 'form-control-lg': _vm.density === 'comfortable' }},[_c('div',{staticClass:"d-flex flex-wrap align-items-center"},[_vm._l((_vm.visibleChips),function(selectedItem,index){return [(index < _vm.maxVisibleChipsCount)?_c('span',{key:_vm.getItemValue(selectedItem),staticClass:"badge badge-primary mr-1 mb-1 pl-2 autocomplete-chip",attrs:{"title":_vm.getChipText(selectedItem)}},[_c('span',{staticClass:"autocomplete-chip-text",domProps:{"innerHTML":_vm._s(_vm.getChipText(selectedItem))}}),_c('button',{staticClass:"close ml-1 autocomplete-chip-close",attrs:{"type":"button","tabindex":"-1","aria-label":'Remove ' + (_vm.getChipText(selectedItem).replace(/<[^>]*>/g, ''))},on:{"click":function($event){$event.stopPropagation();_vm.removeItem(_vm.getItemValue(selectedItem))}}},[_c('span',{attrs:{"aria-hidden":"true"}},[_vm._v("×")])])]):_vm._e()]}),(_vm.remainingChipsCount > 0)?_c('span',{staticClass:"badge badge-secondary mr-1 mb-1 pl-2 autocomplete-chip autocomplete-chip-more",attrs:{"title":(_vm.remainingChipsCount + " more selected")}},[_c('span',{staticClass:"autocomplete-chip-text"},[_vm._v("+ "+_vm._s(_vm.remainingChipsCount)+" more")])]):_vm._e(),_c('input',{ref:"input",staticClass:"autocomplete-input-inline",attrs:{"type":"text","placeholder":_vm.selectedItems.length === 0 ? _vm.placeholder : '',"disabled":_vm.disabled},domProps:{"value":_vm.searchTerm},on:{"input":_vm.onInput,"focus":_vm.onFocus,"blur":_vm.onBlur,"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"enter",13,$event.key,"Enter")){ return null; }$event.preventDefault();return _vm.handleEnter.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-down",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateDown.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"arrow-up",undefined,$event.key,undefined)){ return null; }$event.preventDefault();return _vm.navigateUp.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"escape",undefined,$event.key,undefined)){ return null; }return _vm.closeMenu.apply(null, arguments)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"backspace",undefined,$event.key,undefined)){ return null; }return _vm.handleBackspace.apply(null, arguments)}]}})],2)]),_c('div',{staticClass:"input-group-append"},[(_vm.clearable && (_vm.currentValue && (Array.isArray(_vm.currentValue) ? _vm.currentValue.length > 0 : true)))?_c('button',{staticClass:"btn btn-outline-secondary",attrs:{"type":"button","tabindex":"-1"},on:{"click":_vm.clearSelection}},[_c('i',{staticClass:"fa fa-times"})]):_vm._e(),_c('button',{staticClass:"btn btn-outline-secondary dropdown-toggle",class:{ 'active': _vm.isMenuOpen },attrs:{"type":"button","tabindex":"-1"},on:{"click":_vm.toggleMenu}},[_c('i',{staticClass:"fa",class:_vm.loading ? 'fa-spinner fa-spin' : 'fa-chevron-down'})])])]),(_vm.isMenuOpen)?_c('div',{ref:"menu",staticClass:"autocomplete-menu",style:({ maxHeight: _vm.menuMaxHeight + 'px' }),on:{"scroll":_vm.onMenuScroll}},[(_vm.hasActionButtons)?_c('div',{staticClass:"autocomplete-actions p-2 border-bottom"},[_c('div',{staticClass:"d-flex flex-wrap gap-1"},[(_vm.actionButtons.selectAll)?_c('button',{staticClass:"btn btn-sm btn-outline-primary",attrs:{"type":"button","disabled":_vm.disabled || _vm.allSelected},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.selectAll($event)}}},[_c('i',{staticClass:"fa fa-check-square mr-1"}),_vm._v(" Select All ")]):_vm._e(),(_vm.actionButtons.active)?_c('button',{staticClass:"btn btn-sm btn-outline-success",class:{ 'active': _vm.filterStatus === 'active' },attrs:{"type":"button","disabled":_vm.disabled},on:{"click":function($event){return _vm.filterByStatus('active')}}},[_c('i',{staticClass:"fa fa-check-circle mr-1"}),_vm._v(" Active ")]):_vm._e(),(_vm.actionButtons.inactive)?_c('button',{staticClass:"btn btn-sm btn-outline-secondary",class:{ 'active': _vm.filterStatus === 'inactive' },attrs:{"type":"button","disabled":_vm.disabled},on:{"click":function($event){return _vm.filterByStatus('inactive')}}},[_c('i',{staticClass:"fa fa-times-circle mr-1"}),_vm._v(" Inactive ")]):_vm._e(),(_vm.actionButtons.clear)?_c('button',{staticClass:"btn btn-sm btn-outline-danger",attrs:{"type":"button","disabled":_vm.disabled || !_vm.hasSelectedItems},on:{"click":_vm.clearSelection}},[_c('i',{staticClass:"fa fa-times mr-1"}),_vm._v(" Clear ")]):_vm._e()])]):_vm._e(),(_vm.loading && !_vm.hasItems)?_c('div',{staticClass:"autocomplete-loading"},[_vm._m(1),_c('div',{staticClass:"mt-2 text-muted small"},[_vm._v("Loading...")])]):(!_vm.loading && !_vm.hasItems && _vm.searchTerm.length >= _vm.minSearchLength)?_c('div',{staticClass:"autocomplete-no-data"},[_c('i',{staticClass:"fa fa-search text-muted",staticStyle:{"font-size":"2rem"}}),_c('div',{staticClass:"mt-2 text-muted"},[_vm._v(_vm._s(_vm.noDataText))]),_c('div',{staticClass:"text-muted small"},[_vm._v("Try adjusting your search terms")])]):(_vm.hasGrouping)?_c('div',{staticClass:"autocomplete-grouped"},_vm._l((_vm.paginatedGroupedItems),function(group,groupIndex){return _c('div',{key:group.group || groupIndex,staticClass:"autocomplete-group"},[_c('div',{staticClass:"autocomplete-group-header"},[(_vm.groupFields.length > 0)?_c('div',{staticClass:"d-flex flex-column"},[_c('div',{staticClass:"font-weight-bold font-14"},[_vm._v(_vm._s(group.group))]),(_vm.groupFields.length > 1)?_c('div',{staticClass:"small text-muted mt-1"},_vm._l((_vm.groupFields),function(field,idx){return _c('span',{key:field},[(idx > 0)?_c('span',[_vm._v(" • ")]):_vm._e(),(_vm.getGroupFieldValue(group, field))?_c('span',[_vm._v(_vm._s(field)+": "+_vm._s(_vm.getGroupFieldValue(group, field)))]):_vm._e()])}),0):_vm._e()]):_c('div',[_vm._v(_vm._s(group.group))])]),_c('ul',{staticClass:"list-group list-group-flush"},_vm._l((group.items),function(item,itemIndex){return _c('li',{key:_vm.getItemValue(item),staticClass:"list-group-item autocomplete-item",class:{
|
|
19017
19035
|
'active': _vm.getFlatIndex(groupIndex, itemIndex) === _vm.highlightedIndex,
|
|
19018
19036
|
'selected': _vm.isSelected(item)
|
|
19019
19037
|
},staticStyle:{"cursor":"pointer"},on:{"click":function($event){$event.preventDefault();return _vm.selectItem(item, $event)},"mouseenter":function($event){_vm.highlightedIndex = _vm.getFlatIndex(groupIndex, itemIndex)}}},[_c('div',{staticClass:"d-flex align-items-center"},[(_vm.multiple)?_c('div',{staticClass:"autocomplete-checkbox-wrapper mr-2"},[_c('input',{staticClass:"autocomplete-checkbox",attrs:{"type":"checkbox","tabindex":"-1"},domProps:{"checked":_vm.isSelected(item)},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.selectItem(item, $event)}}}),(_vm.isSelected(item))?_c('i',{staticClass:"fa fa-check autocomplete-check-icon"}):_vm._e()]):_vm._e(),(item.raw && item.raw.category)?_c('span',{staticClass:"badge badge-secondary mr-2",staticStyle:{"font-size":"0.75rem"}},[_vm._v(" "+_vm._s(item.raw.category)+" ")]):_vm._e(),_c('div',{staticClass:"flex-grow-1"},[(_vm.itemFields.length > 0)?_c('div',{staticClass:"font-weight-400",class:{ 'text-dark': _vm.isSelected(item) },domProps:{"innerHTML":_vm._s(_vm.formatItemFields(item))}}):_c('div',{staticClass:"font-weight-400",class:{ 'text-dark': _vm.isSelected(item) }},[_vm._v(_vm._s(_vm.getItemText(item)))]),(!_vm.itemFields.length && _vm.getItemDescription(item))?_c('div',{staticClass:"text-muted small mt-1"},[_vm._v(_vm._s(_vm.getItemDescription(item)))]):_vm._e()]),(_vm.isSelected(item) && !_vm.multiple)?_c('i',{staticClass:"fa fa-check text-success ml-2",staticStyle:{"font-size":"1.1rem"}}):_vm._e()])])}),0)])}),0):_c('ul',{staticClass:"list-group list-group-flush"},_vm._l((_vm.paginatedDisplayItems),function(item,index){return _c('li',{key:_vm.getItemValue(item),staticClass:"list-group-item autocomplete-item",class:{ 'active': index === _vm.highlightedIndex, 'selected': _vm.isSelected(item) },staticStyle:{"cursor":"pointer"},on:{"click":function($event){$event.preventDefault();return _vm.selectItem(item, $event)},"mouseenter":function($event){_vm.highlightedIndex = index}}},[_c('div',{staticClass:"d-flex align-items-center"},[(_vm.multiple)?_c('input',{staticClass:"mr-2",attrs:{"type":"checkbox","tabindex":"-1"},domProps:{"checked":_vm.isSelected(item)},on:{"click":function($event){$event.stopPropagation();$event.preventDefault();return _vm.selectItem(item)}}}):_vm._e(),(item.raw && item.raw.category)?_c('span',{staticClass:"badge badge-primary mr-2"},[_vm._v(" "+_vm._s(item.raw.category)+" ")]):_vm._e(),_c('div',{staticClass:"flex-grow-1"},[(_vm.itemFields.length > 0)?_c('div',{staticClass:"font-weight-400",domProps:{"innerHTML":_vm._s(_vm.formatItemFields(item))}}):_c('div',{staticClass:"font-weight-400"},[_vm._v(_vm._s(_vm.getItemText(item)))]),(!_vm.itemFields.length && _vm.getItemDescription(item))?_c('div',{staticClass:"text-muted small mt-1"},[_vm._v(_vm._s(_vm.getItemDescription(item)))]):_vm._e()]),(_vm.isSelected(item) && !_vm.multiple)?_c('i',{staticClass:"fa fa-check text-primary ml-2"}):_vm._e()])])}),0)]):_vm._e()]),(!_vm.hideDetails && _vm.hasError)?_c('div',{staticClass:"invalid-feedback d-block"},_vm._l((_vm.errorMessagesArray),function(error,index){return _c('div',{key:index},[_vm._v(_vm._s(error))])}),0):_vm._e()])}
|
|
19020
|
-
var
|
|
19038
|
+
var Autocompletevue_type_template_id_c293aa98_scoped_true_staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"spinner-border spinner-border-sm text-primary",attrs:{"role":"status"}},[_c('span',{staticClass:"sr-only"},[_vm._v("Loading...")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"spinner-border spinner-border-sm text-primary",attrs:{"role":"status"}},[_c('span',{staticClass:"sr-only"},[_vm._v("Loading...")])])}]
|
|
19021
19039
|
|
|
19022
19040
|
|
|
19023
|
-
// CONCATENATED MODULE: ./src/components/Autocomplete.vue?vue&type=template&id=
|
|
19041
|
+
// CONCATENATED MODULE: ./src/components/Autocomplete.vue?vue&type=template&id=c293aa98&scoped=true&
|
|
19024
19042
|
|
|
19025
19043
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
19026
19044
|
function _arrayLikeToArray(arr, len) {
|
|
@@ -20571,8 +20589,8 @@ var es_set = __webpack_require__("6062");
|
|
|
20571
20589
|
});
|
|
20572
20590
|
// CONCATENATED MODULE: ./src/components/Autocomplete.vue?vue&type=script&lang=js&
|
|
20573
20591
|
/* harmony default export */ var components_Autocompletevue_type_script_lang_js_ = (Autocompletevue_type_script_lang_js_);
|
|
20574
|
-
// EXTERNAL MODULE: ./src/components/Autocomplete.vue?vue&type=style&index=0&id=
|
|
20575
|
-
var
|
|
20592
|
+
// EXTERNAL MODULE: ./src/components/Autocomplete.vue?vue&type=style&index=0&id=c293aa98&scoped=true&lang=css&
|
|
20593
|
+
var Autocompletevue_type_style_index_0_id_c293aa98_scoped_true_lang_css_ = __webpack_require__("9783");
|
|
20576
20594
|
|
|
20577
20595
|
// CONCATENATED MODULE: ./src/components/Autocomplete.vue
|
|
20578
20596
|
|
|
@@ -20585,11 +20603,11 @@ var Autocompletevue_type_style_index_0_id_723cadb2_scoped_true_lang_css_ = __web
|
|
|
20585
20603
|
|
|
20586
20604
|
var Autocomplete_component = normalizeComponent(
|
|
20587
20605
|
components_Autocompletevue_type_script_lang_js_,
|
|
20588
|
-
|
|
20589
|
-
|
|
20606
|
+
Autocompletevue_type_template_id_c293aa98_scoped_true_render,
|
|
20607
|
+
Autocompletevue_type_template_id_c293aa98_scoped_true_staticRenderFns,
|
|
20590
20608
|
false,
|
|
20591
20609
|
null,
|
|
20592
|
-
"
|
|
20610
|
+
"c293aa98",
|
|
20593
20611
|
null
|
|
20594
20612
|
|
|
20595
20613
|
)
|
|
@@ -21130,7 +21148,7 @@ function debounce(func, wait) {
|
|
|
21130
21148
|
|
|
21131
21149
|
this.$emit('input', finalValue);
|
|
21132
21150
|
this.$emit('update:modelValue', finalValue);
|
|
21133
|
-
this.$emit('change', finalValue
|
|
21151
|
+
this.$emit('change', finalValue);
|
|
21134
21152
|
},
|
|
21135
21153
|
onFocus: function onFocus() {
|
|
21136
21154
|
this.$emit('focus');
|
|
@@ -21291,8 +21309,8 @@ function debounce(func, wait) {
|
|
|
21291
21309
|
});
|
|
21292
21310
|
// CONCATENATED MODULE: ./src/components/SearchableSelect.vue?vue&type=script&lang=js&
|
|
21293
21311
|
/* harmony default export */ var components_SearchableSelectvue_type_script_lang_js_ = (SearchableSelectvue_type_script_lang_js_);
|
|
21294
|
-
// EXTERNAL MODULE: ./src/components/SearchableSelect.vue?vue&type=style&index=0&id=
|
|
21295
|
-
var
|
|
21312
|
+
// EXTERNAL MODULE: ./src/components/SearchableSelect.vue?vue&type=style&index=0&id=92200852&scoped=true&lang=css&
|
|
21313
|
+
var SearchableSelectvue_type_style_index_0_id_92200852_scoped_true_lang_css_ = __webpack_require__("c941");
|
|
21296
21314
|
|
|
21297
21315
|
// CONCATENATED MODULE: ./src/components/SearchableSelect.vue
|
|
21298
21316
|
|
|
@@ -21305,11 +21323,11 @@ var SearchableSelectvue_type_style_index_0_id_a1150c08_scoped_true_lang_css_ = _
|
|
|
21305
21323
|
|
|
21306
21324
|
var SearchableSelect_component = normalizeComponent(
|
|
21307
21325
|
components_SearchableSelectvue_type_script_lang_js_,
|
|
21308
|
-
|
|
21309
|
-
|
|
21326
|
+
SearchableSelectvue_type_template_id_92200852_scoped_true_render,
|
|
21327
|
+
SearchableSelectvue_type_template_id_92200852_scoped_true_staticRenderFns,
|
|
21310
21328
|
false,
|
|
21311
21329
|
null,
|
|
21312
|
-
"
|
|
21330
|
+
"92200852",
|
|
21313
21331
|
null
|
|
21314
21332
|
|
|
21315
21333
|
)
|
|
@@ -21607,6 +21625,7 @@ var SearchableSelect_component = normalizeComponent(
|
|
|
21607
21625
|
case "ddl-check":
|
|
21608
21626
|
case "checkbox":
|
|
21609
21627
|
case "ddl-multilevel":
|
|
21628
|
+
case "searchableselect":
|
|
21610
21629
|
if (item.value) {
|
|
21611
21630
|
item.value = String(item.value);
|
|
21612
21631
|
}
|
|
@@ -21751,9 +21770,9 @@ var SearchableSelect_component = normalizeComponent(
|
|
|
21751
21770
|
field.onChange(field, e);
|
|
21752
21771
|
}
|
|
21753
21772
|
},
|
|
21754
|
-
onSearchableChange: function onSearchableChange(field, e) {
|
|
21773
|
+
onSearchableChange: function onSearchableChange(x, field, e) {
|
|
21755
21774
|
if (field && field.hasOwnProperty("onChange")) {
|
|
21756
|
-
field.onChange(field,
|
|
21775
|
+
field.onChange(field, x);
|
|
21757
21776
|
}
|
|
21758
21777
|
},
|
|
21759
21778
|
getPlaceholder: function getPlaceholder(field, e) {
|
|
@@ -21818,8 +21837,8 @@ var SearchableSelect_component = normalizeComponent(
|
|
|
21818
21837
|
|
|
21819
21838
|
var left_search_component = normalizeComponent(
|
|
21820
21839
|
components_left_searchvue_type_script_lang_js_,
|
|
21821
|
-
|
|
21822
|
-
|
|
21840
|
+
left_searchvue_type_template_id_1d3e129a_render,
|
|
21841
|
+
left_searchvue_type_template_id_1d3e129a_staticRenderFns,
|
|
21823
21842
|
false,
|
|
21824
21843
|
null,
|
|
21825
21844
|
null,
|
|
@@ -21828,26 +21847,23 @@ var left_search_component = normalizeComponent(
|
|
|
21828
21847
|
)
|
|
21829
21848
|
|
|
21830
21849
|
/* harmony default export */ var left_search = (left_search_component.exports);
|
|
21831
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/top-search.vue?vue&type=template&id=
|
|
21832
|
-
var
|
|
21833
|
-
)?_c('div',{staticClass:"
|
|
21834
|
-
'input-group': true,
|
|
21835
|
-
'mb-2': field.fieldType == 'date-range',
|
|
21836
|
-
}},[_c('v-date-picker',{staticClass:"input-group",attrs:{"popover":_vm.popover,"model-config":_vm.modelConfig,"minute-increment":5,"name":'DateFrom' + fieldIndex,"change":_vm.SetMinMaxValueForDatePicker(field, 'datefrom')},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
21850
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"a33ad36a-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/top-search.vue?vue&type=template&id=70a8d4ea&
|
|
21851
|
+
var top_searchvue_type_template_id_70a8d4ea_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{staticClass:"page-action w-100"},[_c('div',{staticClass:"container-fluid p-0"},[_c('div',{staticClass:"row p-0"},[_vm._l((_vm.Fields),function(field,fieldIndex){return _c('div',{key:fieldIndex,staticClass:"col-sm-12 col-md-6 col-lg-4 col-xl-4 float-left"},[(_vm.Fields.length>1)?_c('label',[_vm._v(_vm._s(_vm.$t(field.fieldName)))]):_vm._e(),(field.fieldType == 'text')?_c('div',{staticClass:"form-group mb-2"},[((field.isNumeric == true ? 'number' : 'text')==='checkbox')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control search",attrs:{"placeholder":_vm.$t(field.fieldName),"type":"checkbox"},domProps:{"checked":Array.isArray(field.value)?_vm._i(field.value,null)>-1:(field.value)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field)},"change":function($event){var $$a=field.value,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(field, "value", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(field, "value", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(field, "value", $$c)}}}}):((field.isNumeric == true ? 'number' : 'text')==='radio')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control search",attrs:{"placeholder":_vm.$t(field.fieldName),"type":"radio"},domProps:{"checked":_vm._q(field.value,null)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field)},"change":function($event){return _vm.$set(field, "value", null)}}}):_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control search",attrs:{"placeholder":_vm.$t(field.fieldName),"type":field.isNumeric == true ? 'number' : 'text'},domProps:{"value":(field.value)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field)},"input":function($event){if($event.target.composing){ return; }_vm.$set(field, "value", $event.target.value)}}})]):_vm._e(),(field.fieldType == 'date' || field.fieldType == 'date-range'
|
|
21852
|
+
)?_c('div',{staticClass:"row mb-2"},[_c('div',{class:(field.fieldType == 'date-range')? 'col-md-6': 'col-md-12'},[_c('div',{staticClass:"input-group"},[_c('v-date-picker',{staticClass:"input-group",attrs:{"popover":_vm.popover,"model-config":_vm.modelConfig,"minute-increment":5,"name":'DateFrom' + fieldIndex,"change":_vm.SetMinMaxValueForDatePicker(field, 'datefrom')},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
21837
21853
|
var inputValue = ref.inputValue;
|
|
21838
21854
|
var inputEvents = ref.inputEvents;
|
|
21839
21855
|
var togglePopover = ref.togglePopover;
|
|
21840
21856
|
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":field.fieldType == 'date-range'
|
|
21841
|
-
|
|
21842
|
-
|
|
21843
|
-
|
|
21844
|
-
|
|
21845
|
-
|
|
21846
|
-
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":"DateTo"},domProps:{"value":inputValue}},inputEvents)),_c('div',{staticClass:"input-group-append",on:{"click":function($event){return togglePopover()}}},[_c('span',{staticClass:"input-group-text"},[_c('em',{staticClass:"fa fa-calendar"})])])]}}],null,true),model:{value:(field.secondValue),callback:function ($$v) {_vm.$set(field, "secondValue", $$v)},expression:"field.secondValue"}})],1):_vm._e()]):_vm._e(),(field.fieldType == 'ddl-multilevel')?_c('div',{staticClass:"form-group mb-2"},[(field.listOptions && field.listOptions.length > 0)?_c('tree-select',{attrs:{"placeholder":"Select Location","multiple":false,"options":field.listOptions},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}}):_vm._e()],1):_vm._e(),(field.fieldType == 'dropdown' || field.fieldType == 'ddl-radio' || field.fieldType == 'ddl-check' || field.fieldType == 'radio' || field.fieldType == 'checkbox')?_c('div',{staticClass:"form-group mb-2"},[_c('select',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control",attrs:{"id":'dropdown' + fieldIndex},on:{"change":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return val}); _vm.$set(field, "value", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{"value":""}},[_vm._v(_vm._s(_vm.$t("Select"))+" "+_vm._s(_vm.$t(field.fieldName)))]),_vm._l((field.listOptions),function(option){return _c('option',{domProps:{"value":option.value}},[_vm._v(" "+_vm._s(option.name)+" ")])})],2)]):_vm._e(),(field.fieldType == 'searchableselect')?_c('div',{staticClass:"
|
|
21847
|
-
var
|
|
21857
|
+
? 'DateFrom'
|
|
21858
|
+
: _vm.$t(field.fieldName)},domProps:{"value":inputValue}},inputEvents)),_c('div',{staticClass:"input-group-append",on:{"click":function($event){return togglePopover()}}},[_c('span',{staticClass:"input-group-text"},[_c('em',{staticClass:"fa fa-calendar"})])])]}}],null,true),model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})],1)]),(field.fieldType == 'date-range')?_c('div',{staticClass:"col-md-6"},[_c('div',{staticClass:"input-group"},[_c('v-date-picker',{staticClass:"input-group",attrs:{"popover":_vm.popover,"model-config":_vm.modelConfig,"minute-increment":5,"name":'DateTo' + fieldIndex,"change":_vm.SetMinMaxValueForDatePicker(field, 'dateto')},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
21859
|
+
var inputValue = ref.inputValue;
|
|
21860
|
+
var inputEvents = ref.inputEvents;
|
|
21861
|
+
var togglePopover = ref.togglePopover;
|
|
21862
|
+
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":"DateTo"},domProps:{"value":inputValue}},inputEvents)),_c('div',{staticClass:"input-group-append",on:{"click":function($event){return togglePopover()}}},[_c('span',{staticClass:"input-group-text"},[_c('em',{staticClass:"fa fa-calendar"})])])]}}],null,true),model:{value:(field.secondValue),callback:function ($$v) {_vm.$set(field, "secondValue", $$v)},expression:"field.secondValue"}})],1)]):_vm._e()]):_vm._e(),(field.fieldType == 'ddl-multilevel')?_c('div',{staticClass:"form-group mb-2"},[(field.listOptions && field.listOptions.length > 0)?_c('tree-select',{attrs:{"placeholder":"Select Location","multiple":false,"options":field.listOptions},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}}):_vm._e()],1):_vm._e(),(field.fieldType == 'dropdown' || field.fieldType == 'ddl-radio' || field.fieldType == 'ddl-check' || field.fieldType == 'radio' || field.fieldType == 'checkbox')?_c('div',{staticClass:"form-group mb-2"},[_c('select',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control",attrs:{"id":'dropdown' + fieldIndex},on:{"change":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return val}); _vm.$set(field, "value", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{attrs:{"value":""}},[_vm._v(_vm._s(_vm.$t("Select"))+" "+_vm._s(_vm.$t(field.fieldName)))]),_vm._l((field.listOptions),function(option){return _c('option',{domProps:{"value":option.value}},[_vm._v(" "+_vm._s(option.name)+" ")])})],2)]):_vm._e(),(field.fieldType == 'searchableselect')?_c('div',{staticClass:"form-group mb-2"},[_c('searchable-select',{attrs:{"items":field.listOptions,"max-visible-chips":2,"action-buttons":_vm.computedActionButtons(field),"item-fields":_vm.computedItemFields(field),"group-fields":_vm.computedGroupFields(field),"max-render-items":_vm.computedMaxRenderItems(field),"lazy-load":true,"multiple":field.isMultiple,"label":field.fieldName,"placeholder":field.placeholder,"status-field-config":field.statusFieldConfig,"min-search-length":field.minSearchLength},on:{"change":function($event){return _vm.onSearchableChange($event, field)}},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}})],1):_vm._e()])}),_c('div',{class:{'col-sm-12 col-md-3 col-lg-3 col-xl-3 float-left': (((_vm.fields.length % 4) > 0) || _vm.fields.length == 1), 'mt-4': (((_vm.fields.length % 4) > 0) && _vm.fields.length > 1), 'col-sm-12 col-md-12 col-lg-12 col-xl-12 text-right pr-1 mt-3':((_vm.fields.length % 4) == 0) }},[_c('div',{staticClass:"background-0 text-left form-check-inline"},[_c('a',{staticClass:"btn btn-success mr-1 px-4",attrs:{"title":"","id":"Go","href":"javascript:;","data-toggle-tooltip":"tooltip","data-original-title":"Search"},on:{"click":function($event){return _vm.SearchData()}}},[_c('i',{staticClass:"fa fa-search"})]),_c('a',{staticClass:"btn btn-danger clearsearchtext px-4",attrs:{"href":"javascript:void(0);","title":"","data-toggle-tooltip":"tooltip","data-original-title":"Clear all "},on:{"click":function($event){return _vm.ClearFilter()}}},[_c('i',{staticClass:"fa fa-refresh"})])])])],2)])])}
|
|
21863
|
+
var top_searchvue_type_template_id_70a8d4ea_staticRenderFns = []
|
|
21848
21864
|
|
|
21849
21865
|
|
|
21850
|
-
// CONCATENATED MODULE: ./src/components/top-search.vue?vue&type=template&id=
|
|
21866
|
+
// CONCATENATED MODULE: ./src/components/top-search.vue?vue&type=template&id=70a8d4ea&
|
|
21851
21867
|
|
|
21852
21868
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/top-search.vue?vue&type=script&lang=js&
|
|
21853
21869
|
|
|
@@ -22137,6 +22153,7 @@ imo;
|
|
|
22137
22153
|
case "ddl-check":
|
|
22138
22154
|
case "checkbox":
|
|
22139
22155
|
case "ddl-multilevel":
|
|
22156
|
+
case "searchableselect":
|
|
22140
22157
|
if (item.value) {
|
|
22141
22158
|
item.value = String(item.value);
|
|
22142
22159
|
}
|
|
@@ -22313,6 +22330,11 @@ imo;
|
|
|
22313
22330
|
} else {
|
|
22314
22331
|
return 50;
|
|
22315
22332
|
}
|
|
22333
|
+
},
|
|
22334
|
+
onSearchableChange: function onSearchableChange(x, field, e) {
|
|
22335
|
+
if (field && field.hasOwnProperty("onChange")) {
|
|
22336
|
+
field.onChange(field, x);
|
|
22337
|
+
}
|
|
22316
22338
|
}
|
|
22317
22339
|
}
|
|
22318
22340
|
});
|
|
@@ -22328,8 +22350,8 @@ imo;
|
|
|
22328
22350
|
|
|
22329
22351
|
var top_search_component = normalizeComponent(
|
|
22330
22352
|
components_top_searchvue_type_script_lang_js_,
|
|
22331
|
-
|
|
22332
|
-
|
|
22353
|
+
top_searchvue_type_template_id_70a8d4ea_render,
|
|
22354
|
+
top_searchvue_type_template_id_70a8d4ea_staticRenderFns,
|
|
22333
22355
|
false,
|
|
22334
22356
|
null,
|
|
22335
22357
|
null,
|
|
@@ -23155,6 +23177,7 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
23155
23177
|
//
|
|
23156
23178
|
//
|
|
23157
23179
|
//
|
|
23180
|
+
//
|
|
23158
23181
|
//
|
|
23159
23182
|
// Data table Compoonent for deiplaying data into the tabel.
|
|
23160
23183
|
|
|
@@ -23184,6 +23207,10 @@ var list_header_buttonNew_component = normalizeComponent(
|
|
|
23184
23207
|
type: String,
|
|
23185
23208
|
default: "container-fluid mt-2 p-0"
|
|
23186
23209
|
},
|
|
23210
|
+
tableClasses: {
|
|
23211
|
+
type: String,
|
|
23212
|
+
default: "table-fix-header"
|
|
23213
|
+
},
|
|
23187
23214
|
isNewDesign: {
|
|
23188
23215
|
type: Boolean,
|
|
23189
23216
|
default: false
|