tg-listv 0.0.18 → 0.0.19
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 +195 -65
- package/dist/tglistv.common.js.map +1 -1
- package/dist/tglistv.umd.js +195 -65
- package/dist/tglistv.umd.js.map +1 -1
- package/dist/tglistv.umd.min.js +4 -4
- package/dist/tglistv.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/tglistv.common.js
CHANGED
|
@@ -19101,6 +19101,74 @@ module.exports = isForced;
|
|
|
19101
19101
|
})));
|
|
19102
19102
|
|
|
19103
19103
|
|
|
19104
|
+
/***/ }),
|
|
19105
|
+
|
|
19106
|
+
/***/ "99af":
|
|
19107
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
19108
|
+
|
|
19109
|
+
"use strict";
|
|
19110
|
+
|
|
19111
|
+
var $ = __webpack_require__("23e7");
|
|
19112
|
+
var fails = __webpack_require__("d039");
|
|
19113
|
+
var isArray = __webpack_require__("e8b5");
|
|
19114
|
+
var isObject = __webpack_require__("861d");
|
|
19115
|
+
var toObject = __webpack_require__("7b0b");
|
|
19116
|
+
var lengthOfArrayLike = __webpack_require__("07fa");
|
|
19117
|
+
var doesNotExceedSafeInteger = __webpack_require__("3511");
|
|
19118
|
+
var createProperty = __webpack_require__("8418");
|
|
19119
|
+
var arraySpeciesCreate = __webpack_require__("65f0");
|
|
19120
|
+
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
|
|
19121
|
+
var wellKnownSymbol = __webpack_require__("b622");
|
|
19122
|
+
var V8_VERSION = __webpack_require__("2d00");
|
|
19123
|
+
|
|
19124
|
+
var IS_CONCAT_SPREADABLE = wellKnownSymbol('isConcatSpreadable');
|
|
19125
|
+
|
|
19126
|
+
// We can't use this feature detection in V8 since it causes
|
|
19127
|
+
// deoptimization and serious performance degradation
|
|
19128
|
+
// https://github.com/zloirock/core-js/issues/679
|
|
19129
|
+
var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION >= 51 || !fails(function () {
|
|
19130
|
+
var array = [];
|
|
19131
|
+
array[IS_CONCAT_SPREADABLE] = false;
|
|
19132
|
+
return array.concat()[0] !== array;
|
|
19133
|
+
});
|
|
19134
|
+
|
|
19135
|
+
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('concat');
|
|
19136
|
+
|
|
19137
|
+
var isConcatSpreadable = function (O) {
|
|
19138
|
+
if (!isObject(O)) return false;
|
|
19139
|
+
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
19140
|
+
return spreadable !== undefined ? !!spreadable : isArray(O);
|
|
19141
|
+
};
|
|
19142
|
+
|
|
19143
|
+
var FORCED = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
|
19144
|
+
|
|
19145
|
+
// `Array.prototype.concat` method
|
|
19146
|
+
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
19147
|
+
// with adding support of @@isConcatSpreadable and @@species
|
|
19148
|
+
$({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
|
|
19149
|
+
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
19150
|
+
concat: function concat(arg) {
|
|
19151
|
+
var O = toObject(this);
|
|
19152
|
+
var A = arraySpeciesCreate(O, 0);
|
|
19153
|
+
var n = 0;
|
|
19154
|
+
var i, k, length, len, E;
|
|
19155
|
+
for (i = -1, length = arguments.length; i < length; i++) {
|
|
19156
|
+
E = i === -1 ? O : arguments[i];
|
|
19157
|
+
if (isConcatSpreadable(E)) {
|
|
19158
|
+
len = lengthOfArrayLike(E);
|
|
19159
|
+
doesNotExceedSafeInteger(n + len);
|
|
19160
|
+
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
|
19161
|
+
} else {
|
|
19162
|
+
doesNotExceedSafeInteger(n + 1);
|
|
19163
|
+
createProperty(A, n++, E);
|
|
19164
|
+
}
|
|
19165
|
+
}
|
|
19166
|
+
A.length = n;
|
|
19167
|
+
return A;
|
|
19168
|
+
}
|
|
19169
|
+
});
|
|
19170
|
+
|
|
19171
|
+
|
|
19104
19172
|
/***/ }),
|
|
19105
19173
|
|
|
19106
19174
|
/***/ "9a1f":
|
|
@@ -20995,6 +21063,27 @@ module.exports = function (name) {
|
|
|
20995
21063
|
};
|
|
20996
21064
|
|
|
20997
21065
|
|
|
21066
|
+
/***/ }),
|
|
21067
|
+
|
|
21068
|
+
/***/ "b64b":
|
|
21069
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
21070
|
+
|
|
21071
|
+
var $ = __webpack_require__("23e7");
|
|
21072
|
+
var toObject = __webpack_require__("7b0b");
|
|
21073
|
+
var nativeKeys = __webpack_require__("df75");
|
|
21074
|
+
var fails = __webpack_require__("d039");
|
|
21075
|
+
|
|
21076
|
+
var FAILS_ON_PRIMITIVES = fails(function () { nativeKeys(1); });
|
|
21077
|
+
|
|
21078
|
+
// `Object.keys` method
|
|
21079
|
+
// https://tc39.es/ecma262/#sec-object.keys
|
|
21080
|
+
$({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
|
|
21081
|
+
keys: function keys(it) {
|
|
21082
|
+
return nativeKeys(toObject(it));
|
|
21083
|
+
}
|
|
21084
|
+
});
|
|
21085
|
+
|
|
21086
|
+
|
|
20998
21087
|
/***/ }),
|
|
20999
21088
|
|
|
21000
21089
|
/***/ "b727":
|
|
@@ -28788,6 +28877,29 @@ module.exports = function (KEY, exec, FORCED, SHAM) {
|
|
|
28788
28877
|
};
|
|
28789
28878
|
|
|
28790
28879
|
|
|
28880
|
+
/***/ }),
|
|
28881
|
+
|
|
28882
|
+
/***/ "d81d":
|
|
28883
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
28884
|
+
|
|
28885
|
+
"use strict";
|
|
28886
|
+
|
|
28887
|
+
var $ = __webpack_require__("23e7");
|
|
28888
|
+
var $map = __webpack_require__("b727").map;
|
|
28889
|
+
var arrayMethodHasSpeciesSupport = __webpack_require__("1dde");
|
|
28890
|
+
|
|
28891
|
+
var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('map');
|
|
28892
|
+
|
|
28893
|
+
// `Array.prototype.map` method
|
|
28894
|
+
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
28895
|
+
// with adding support of @@species
|
|
28896
|
+
$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
28897
|
+
map: function map(callbackfn /* , thisArg */) {
|
|
28898
|
+
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
28899
|
+
}
|
|
28900
|
+
});
|
|
28901
|
+
|
|
28902
|
+
|
|
28791
28903
|
/***/ }),
|
|
28792
28904
|
|
|
28793
28905
|
/***/ "d9b5":
|
|
@@ -31908,8 +32020,8 @@ var DataTable_component = normalizeComponent(
|
|
|
31908
32020
|
)
|
|
31909
32021
|
|
|
31910
32022
|
/* harmony default export */ var DataTable = (DataTable_component.exports);
|
|
31911
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1e3db1ba-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=
|
|
31912
|
-
var
|
|
32023
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1e3db1ba-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=3dc67b3a&
|
|
32024
|
+
var left_searchvue_type_template_id_3dc67b3a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:"col-md-12 p-0"},[_c('div',{staticClass:"theme-primary partition"},[(_vm.header)?_c('span',{staticClass:"p-name text-white"},[_vm._v(_vm._s(_vm.header))]):_vm._e()])]),_c('div',{staticClass:"accordion md-accordion left-filter mt-2",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(" 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()}}},[_vm._m(2)])])])])]),_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(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.length > 0},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":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":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":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')?_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){
|
|
31913
32025
|
var inputValue = ref.inputValue;
|
|
31914
32026
|
var inputEvents = ref.inputEvents;
|
|
31915
32027
|
var togglePopover = ref.togglePopover;
|
|
@@ -31917,11 +32029,11 @@ return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":(fiel
|
|
|
31917
32029
|
var inputValue = ref.inputValue;
|
|
31918
32030
|
var inputEvents = ref.inputEvents;
|
|
31919
32031
|
var togglePopover = ref.togglePopover;
|
|
31920
|
-
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== 'radio' || field.fieldType== 'checkbox')?_c('div',{staticClass:"form-group"},_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":"selectedDealOwner"},domProps:{"value":item.value,"checked":_vm._q(field.value,item.value)},on:{"change":function($event){return _vm.$set(field, "value", item.value)}}}):_vm._e(),(field.fieldType== 'checkbox')?_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)}}}):_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"},_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"},[_vm._m(3,true),_c('vue-scroll',[_c('div',{staticClass:"form-group filterscroll filterscroll_leftsearch",staticStyle:{"max-height":"200px"}},[(field.fieldType == 'ddl-check')?_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(),_vm._l((field.listOptions),function(item,index){return _c('div',{key:index,class:{'custom-control custom-checkbox 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)}}}):_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('v-jstree',{ref:"tree",refInFor:true,attrs:{"opened":false,"data":field.listOptions,"show-checkbox":"","multiple":"","allow-batch":"","whole-row":""},on:{"item-click":function($event){return _vm.JsTreeClick(field)}}}):_vm._e()],1):_vm._e()])])])}),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("
|
|
31921
|
-
var
|
|
32032
|
+
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== 'radio' || field.fieldType== 'checkbox')?_c('div',{staticClass:"form-group"},_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":"selectedDealOwner"},domProps:{"value":item.value,"checked":_vm._q(field.value,item.value)},on:{"change":function($event){return _vm.$set(field, "value", item.value)}}}):_vm._e(),(field.fieldType== 'checkbox')?_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)}}}):_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"},_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"},[_vm._m(3,true),_c('vue-scroll',[_c('div',{staticClass:"form-group filterscroll filterscroll_leftsearch",staticStyle:{"max-height":"200px"}},[(field.fieldType == 'ddl-check')?_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(),_vm._l((field.listOptions),function(item,index){return _c('div',{key:index,class:{'custom-control custom-checkbox 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)}}}):_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('v-jstree',{ref:"tree",refInFor:true,attrs:{"opened":false,"data":field.listOptions,"show-checkbox":"","multiple":"","allow-batch":"","whole-row":""},on:{"item-click":function($event){return _vm.JsTreeClick(field)}}}):_vm._e()],1):_vm._e()])])])}),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("Expand All CollapseAll")])])])}
|
|
32033
|
+
var left_searchvue_type_template_id_3dc67b3a_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('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","title":"ExpandAllCollapseAll","data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-sort-desc",attrs:{"aria-hidden":"true"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _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"}}),_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"})])])])])}]
|
|
31922
32034
|
|
|
31923
32035
|
|
|
31924
|
-
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=
|
|
32036
|
+
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=3dc67b3a&
|
|
31925
32037
|
|
|
31926
32038
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
31927
32039
|
var es_array_find = __webpack_require__("7db0");
|
|
@@ -31932,6 +32044,15 @@ var es_array_splice = __webpack_require__("a434");
|
|
|
31932
32044
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.trim.js
|
|
31933
32045
|
var es_string_trim = __webpack_require__("498a");
|
|
31934
32046
|
|
|
32047
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
32048
|
+
var es_array_map = __webpack_require__("d81d");
|
|
32049
|
+
|
|
32050
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
|
|
32051
|
+
var es_object_keys = __webpack_require__("b64b");
|
|
32052
|
+
|
|
32053
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
32054
|
+
var es_array_concat = __webpack_require__("99af");
|
|
32055
|
+
|
|
31935
32056
|
// EXTERNAL MODULE: ./node_modules/moment/moment.js
|
|
31936
32057
|
var moment = __webpack_require__("c1df");
|
|
31937
32058
|
var moment_default = /*#__PURE__*/__webpack_require__.n(moment);
|
|
@@ -31962,6 +32083,9 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
31962
32083
|
|
|
31963
32084
|
|
|
31964
32085
|
|
|
32086
|
+
|
|
32087
|
+
|
|
32088
|
+
|
|
31965
32089
|
/* harmony default export */ var left_searchvue_type_script_lang_js_ = ({
|
|
31966
32090
|
components: {
|
|
31967
32091
|
'vue-scroll': vuescroll_default.a,
|
|
@@ -31999,22 +32123,27 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
31999
32123
|
methods: {
|
|
32000
32124
|
JsTreeClick: function JsTreeClick(item) {
|
|
32001
32125
|
var selectedItems = [];
|
|
32002
|
-
|
|
32003
|
-
this.$refs.tree.handleRecursionNodeChilds(this.$refs.tree, function (node) {
|
|
32004
|
-
Array.from(node.data).forEach(function (node_item) {
|
|
32005
|
-
if (node_item.selected) {
|
|
32006
|
-
selectedItems.push(node_item.id);
|
|
32007
|
-
}
|
|
32126
|
+
debugger;
|
|
32008
32127
|
|
|
32009
|
-
|
|
32010
|
-
|
|
32011
|
-
|
|
32012
|
-
|
|
32013
|
-
|
|
32014
|
-
|
|
32015
|
-
|
|
32128
|
+
if (typeof this.$refs.tree.handleRecursionNodeChilds != 'undefined') {
|
|
32129
|
+
debugger;
|
|
32130
|
+
this.$refs.tree.handleRecursionNodeChilds(this.$refs.tree, function (node) {
|
|
32131
|
+
Array.from(node.data).forEach(function (node_item) {
|
|
32132
|
+
if (node_item.selected) {
|
|
32133
|
+
selectedItems.push(node_item.id);
|
|
32134
|
+
}
|
|
32135
|
+
|
|
32136
|
+
if (node_item.children.length > 0) {
|
|
32137
|
+
Array.from(node_item.children).forEach(function (node_child_item) {
|
|
32138
|
+
if (node_child_item.selected) {
|
|
32139
|
+
selectedItems.push(node_child_item.id);
|
|
32140
|
+
}
|
|
32141
|
+
});
|
|
32142
|
+
}
|
|
32143
|
+
});
|
|
32016
32144
|
});
|
|
32017
|
-
}
|
|
32145
|
+
}
|
|
32146
|
+
|
|
32018
32147
|
item.value = selectedItems;
|
|
32019
32148
|
},
|
|
32020
32149
|
isBlank: function isBlank(str) {
|
|
@@ -32059,12 +32188,6 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32059
32188
|
this.SearchData();
|
|
32060
32189
|
},
|
|
32061
32190
|
CheckValueSelectedForbadge: function CheckValueSelectedForbadge(badgeValue, selectedValue, isSearch) {
|
|
32062
|
-
debugger;
|
|
32063
|
-
|
|
32064
|
-
if (selectedValue) {
|
|
32065
|
-
selectedValue = String(selectedValue);
|
|
32066
|
-
}
|
|
32067
|
-
|
|
32068
32191
|
var array = selectedValue.split(",");
|
|
32069
32192
|
|
|
32070
32193
|
if (array.includes(badgeValue) && isSearch == true) {
|
|
@@ -32074,12 +32197,6 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32074
32197
|
}
|
|
32075
32198
|
},
|
|
32076
32199
|
ClearFilerForbadge: function ClearFilerForbadge(badgeValue, item, fieldIndex) {
|
|
32077
|
-
debugger;
|
|
32078
|
-
|
|
32079
|
-
if (item.value) {
|
|
32080
|
-
item.value = String(item.value);
|
|
32081
|
-
}
|
|
32082
|
-
|
|
32083
32200
|
var array = item.value.split(",");
|
|
32084
32201
|
var index = array.indexOf(badgeValue);
|
|
32085
32202
|
array.splice(index, 1);
|
|
@@ -32128,10 +32245,6 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32128
32245
|
} catch (e) {}
|
|
32129
32246
|
},
|
|
32130
32247
|
CheckIfSelected: function CheckIfSelected(item, value) {
|
|
32131
|
-
if (item.value) {
|
|
32132
|
-
item.value = String(item.value);
|
|
32133
|
-
}
|
|
32134
|
-
|
|
32135
32248
|
var array = item.value.split(",");
|
|
32136
32249
|
var index = array.indexOf(value);
|
|
32137
32250
|
return index > -1;
|
|
@@ -32168,18 +32281,17 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32168
32281
|
var orCondition = "";
|
|
32169
32282
|
var orJsonCondition = "";
|
|
32170
32283
|
var val = item.value.replace(/'/g, "''");
|
|
32284
|
+
|
|
32285
|
+
if (item.hasOwnProperty('paramName')) {
|
|
32286
|
+
searchConditionJson[item.paramName] = val;
|
|
32287
|
+
}
|
|
32288
|
+
|
|
32171
32289
|
item.fieldSearchConditionName.forEach(function (field, index) {
|
|
32172
32290
|
orCondition += $.trim(orCondition) != "" ? " OR " : "(";
|
|
32173
32291
|
orCondition += " " + field + " LIKE '%" + val + "%'"; // json condition
|
|
32174
32292
|
|
|
32175
32293
|
orJsonCondition += $.trim(orJsonCondition) != "" ? " OR " : "(";
|
|
32176
32294
|
orJsonCondition += " " + field + " LIKE '%" + val + "%'";
|
|
32177
|
-
|
|
32178
|
-
if (index === item.fieldSearchConditionName.length - 1) {
|
|
32179
|
-
orJsonCondition += " OR " + item.fieldSearchConditionName.join("+' '+") + " LIKE '%" + val + "%'";
|
|
32180
|
-
orJsonCondition += ")";
|
|
32181
|
-
searchConditionJson[field] = orJsonCondition;
|
|
32182
|
-
}
|
|
32183
32295
|
});
|
|
32184
32296
|
var combinedCondition = "";
|
|
32185
32297
|
|
|
@@ -32202,21 +32314,25 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32202
32314
|
|
|
32203
32315
|
case "ddl-radio":
|
|
32204
32316
|
case "radio":
|
|
32317
|
+
if (item.value) {
|
|
32318
|
+
item.value = String(item.value);
|
|
32319
|
+
}
|
|
32320
|
+
|
|
32205
32321
|
if (item.value.length > 0 && item.fieldSearchConditionName.length > 0) {
|
|
32206
32322
|
searchCondition += $.trim(searchCondition) != "" ? " AND (" : "(";
|
|
32207
32323
|
var orCondition = "";
|
|
32208
32324
|
var orJsonCondition = "";
|
|
32325
|
+
|
|
32326
|
+
if (item.hasOwnProperty('paramName')) {
|
|
32327
|
+
searchConditionJson[item.paramName] = item.value;
|
|
32328
|
+
}
|
|
32329
|
+
|
|
32209
32330
|
item.fieldSearchConditionName.forEach(function (field, index) {
|
|
32210
32331
|
orCondition += $.trim(orCondition) != "" ? " OR " : "(";
|
|
32211
32332
|
orCondition += " " + field + " = '" + item.value + "'"; // json condition
|
|
32212
32333
|
|
|
32213
32334
|
orJsonCondition += $.trim(orJsonCondition) != "" ? " OR " : "(";
|
|
32214
32335
|
orJsonCondition += " " + field + " = '" + item.value + "'";
|
|
32215
|
-
|
|
32216
|
-
if (index === item.fieldSearchConditionName.length - 1) {
|
|
32217
|
-
orJsonCondition += ")";
|
|
32218
|
-
searchConditionJson[field] = orJsonCondition;
|
|
32219
|
-
}
|
|
32220
32336
|
});
|
|
32221
32337
|
orCondition += ")";
|
|
32222
32338
|
searchCondition += orCondition + ")";
|
|
@@ -32236,21 +32352,20 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32236
32352
|
var orJsonCondition = "";
|
|
32237
32353
|
var valueArray = item.value.split(",");
|
|
32238
32354
|
var finalValues = "'" + valueArray.join("','") + "'";
|
|
32355
|
+
|
|
32356
|
+
if (item.hasOwnProperty('paramName')) {
|
|
32357
|
+
searchConditionJson[item.paramName] = item.value;
|
|
32358
|
+
}
|
|
32359
|
+
|
|
32239
32360
|
item.fieldSearchConditionName.forEach(function (field, index) {
|
|
32240
32361
|
orCondition += $.trim(orCondition) != "" ? " OR " : "(";
|
|
32241
32362
|
orCondition += " " + field + " in (" + finalValues + ")"; // json condition
|
|
32242
32363
|
|
|
32243
32364
|
orJsonCondition += $.trim(orJsonCondition) != "" ? " OR " : "(";
|
|
32244
32365
|
orJsonCondition += " " + field + " in (" + finalValues + ")";
|
|
32245
|
-
|
|
32246
|
-
if (index === item.fieldSearchConditionName.length - 1) {
|
|
32247
|
-
orJsonCondition += ")";
|
|
32248
|
-
searchConditionJson[field] = orJsonCondition;
|
|
32249
|
-
}
|
|
32250
32366
|
});
|
|
32251
32367
|
orCondition += ")";
|
|
32252
32368
|
searchCondition += orCondition + ")";
|
|
32253
|
-
searchConditionJson[item.fieldName] = orCondition;
|
|
32254
32369
|
item.isSearch = true;
|
|
32255
32370
|
} else {
|
|
32256
32371
|
item.isSearch = false;
|
|
@@ -32259,27 +32374,26 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32259
32374
|
break;
|
|
32260
32375
|
|
|
32261
32376
|
case "date":
|
|
32262
|
-
if (item.value
|
|
32377
|
+
if (item.value && item.fieldSearchConditionName.length > 0) {
|
|
32263
32378
|
searchCondition += $.trim(searchCondition) != "" ? " AND (" : "(";
|
|
32264
32379
|
var orCondition = "";
|
|
32265
32380
|
var orJsonCondition = "";
|
|
32266
32381
|
var selectedDate = moment_default()(item.value, item.datePickerConfig.format);
|
|
32267
32382
|
var dateWithYYYYMMDD = selectedDate.format("YYYY-MM-DD");
|
|
32383
|
+
|
|
32384
|
+
if (item.hasOwnProperty('paramName')) {
|
|
32385
|
+
searchConditionJson[item.paramName] = dateWithYYYYMMDD;
|
|
32386
|
+
}
|
|
32387
|
+
|
|
32268
32388
|
item.fieldSearchConditionName.forEach(function (field) {
|
|
32269
32389
|
orCondition += $.trim(orCondition) != "" ? " OR " : "(";
|
|
32270
32390
|
orCondition += " CONVERT(DATE, " + field + ") = '" + dateWithYYYYMMDD + "'"; // json condition
|
|
32271
32391
|
|
|
32272
32392
|
orJsonCondition += $.trim(orJsonCondition) != "" ? " OR " : "(";
|
|
32273
32393
|
orJsonCondition += " CONVERT(DATE, " + field + ") = '" + dateWithYYYYMMDD + "'";
|
|
32274
|
-
|
|
32275
|
-
if (index === item.fieldSearchConditionName.length - 1) {
|
|
32276
|
-
orJsonCondition += ")";
|
|
32277
|
-
searchConditionJson[field] = orJsonCondition;
|
|
32278
|
-
}
|
|
32279
32394
|
});
|
|
32280
32395
|
orCondition += ")";
|
|
32281
32396
|
searchCondition += orCondition + ")";
|
|
32282
|
-
searchConditionJson[item.fieldName] = orCondition;
|
|
32283
32397
|
item.isSearch = true;
|
|
32284
32398
|
} else {
|
|
32285
32399
|
item.isSearch = false;
|
|
@@ -32288,7 +32402,7 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32288
32402
|
break;
|
|
32289
32403
|
|
|
32290
32404
|
case "date-range":
|
|
32291
|
-
if ((item.value
|
|
32405
|
+
if ((item.value || item.secondValue) && item.fieldSearchConditionName.length > 0) {
|
|
32292
32406
|
searchCondition += $.trim(searchCondition) != "" ? " AND (" : "(";
|
|
32293
32407
|
var orCondition = "";
|
|
32294
32408
|
var orJsonCondition = "";
|
|
@@ -32302,6 +32416,10 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32302
32416
|
|
|
32303
32417
|
var _dateWithYYYYMMDD = _selectedDate.format("YYYY-MM-DD");
|
|
32304
32418
|
|
|
32419
|
+
if (item.hasOwnProperty('paramName')) {
|
|
32420
|
+
searchConditionJson[item.paramName] = _dateWithYYYYMMDD;
|
|
32421
|
+
}
|
|
32422
|
+
|
|
32305
32423
|
internalCondition = " CONVERT(DATE, " + splitfield[0] + ") >= '" + _dateWithYYYYMMDD + "'";
|
|
32306
32424
|
}
|
|
32307
32425
|
|
|
@@ -32310,6 +32428,10 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32310
32428
|
|
|
32311
32429
|
var _dateWithYYYYMMDD2 = _selectedDate2.format("YYYY-MM-DD");
|
|
32312
32430
|
|
|
32431
|
+
if (item.hasOwnProperty('paramName') && searchConditionJson[item.paramName]) {
|
|
32432
|
+
searchConditionJson[item.paramName] = searchConditionJson[item.paramName] + '|' + _dateWithYYYYMMDD2;
|
|
32433
|
+
}
|
|
32434
|
+
|
|
32313
32435
|
internalCondition += $.trim(internalCondition) != "" ? " AND " : "";
|
|
32314
32436
|
internalCondition += " CONVERT(DATE, " + splitfield[1] + ") <= '" + _dateWithYYYYMMDD2 + "'";
|
|
32315
32437
|
}
|
|
@@ -32319,12 +32441,10 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32319
32441
|
if (index === item.fieldSearchConditionName.length - 1) {
|
|
32320
32442
|
orJsonCondition += internalCondition;
|
|
32321
32443
|
orJsonCondition += ")";
|
|
32322
|
-
searchConditionJson[field] = orJsonCondition;
|
|
32323
32444
|
}
|
|
32324
32445
|
});
|
|
32325
32446
|
orCondition += ")";
|
|
32326
32447
|
searchCondition += orCondition + ")";
|
|
32327
|
-
searchConditionJson[item.fieldName] = orCondition;
|
|
32328
32448
|
item.isSearch = true;
|
|
32329
32449
|
} else {
|
|
32330
32450
|
item.isSearch = false;
|
|
@@ -32339,11 +32459,21 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32339
32459
|
//vueObj.$parent.conditionForInstantSearch = "";
|
|
32340
32460
|
//vueObj.$parent.conditionForInstantSearch = searchCondition;
|
|
32341
32461
|
|
|
32462
|
+
debugger;
|
|
32342
32463
|
console.log(searchConditionJson);
|
|
32464
|
+
var qs = '';
|
|
32465
|
+
|
|
32466
|
+
if (searchConditionJson) {
|
|
32467
|
+
qs = Object.keys(searchConditionJson).map(function (key) {
|
|
32468
|
+
return "".concat(key, "=").concat(params[key]);
|
|
32469
|
+
}).join('&');
|
|
32470
|
+
console.log(qs);
|
|
32471
|
+
}
|
|
32472
|
+
|
|
32343
32473
|
this.$emit('SetLeftSearch', {
|
|
32344
32474
|
'PageNumber': 1,
|
|
32345
32475
|
"searchCondition": searchCondition,
|
|
32346
|
-
'searchConditionJson':
|
|
32476
|
+
'searchConditionJson': qs
|
|
32347
32477
|
}); //vueObj.callbackfunction();
|
|
32348
32478
|
},
|
|
32349
32479
|
SearchOnEnter: function SearchOnEnter(event, itm) {
|
|
@@ -32380,8 +32510,8 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32380
32510
|
|
|
32381
32511
|
var left_search_component = normalizeComponent(
|
|
32382
32512
|
components_left_searchvue_type_script_lang_js_,
|
|
32383
|
-
|
|
32384
|
-
|
|
32513
|
+
left_searchvue_type_template_id_3dc67b3a_render,
|
|
32514
|
+
left_searchvue_type_template_id_3dc67b3a_staticRenderFns,
|
|
32385
32515
|
false,
|
|
32386
32516
|
null,
|
|
32387
32517
|
null,
|