tg-listv 0.0.17 → 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 +202 -49
- package/dist/tglistv.common.js.map +1 -1
- package/dist/tglistv.umd.js +202 -49
- 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) {
|
|
@@ -32042,6 +32171,7 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32042
32171
|
}
|
|
32043
32172
|
},
|
|
32044
32173
|
ClearFilter: function ClearFilter() {
|
|
32174
|
+
debugger;
|
|
32045
32175
|
$.each(this.Fields, function (index, item) {
|
|
32046
32176
|
item.isSearch = false;
|
|
32047
32177
|
item.value = "";
|
|
@@ -32085,6 +32215,12 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32085
32215
|
this.SearchData();
|
|
32086
32216
|
},
|
|
32087
32217
|
UpdateCheckedValues: function UpdateCheckedValues(fieldItem, value, event, selectAllId) {
|
|
32218
|
+
debugger;
|
|
32219
|
+
|
|
32220
|
+
if (value) {
|
|
32221
|
+
value = String(value);
|
|
32222
|
+
}
|
|
32223
|
+
|
|
32088
32224
|
if (event.target.checked == true) {
|
|
32089
32225
|
if (fieldItem.value != "") {
|
|
32090
32226
|
var array = fieldItem.value.split(",");
|
|
@@ -32145,18 +32281,17 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32145
32281
|
var orCondition = "";
|
|
32146
32282
|
var orJsonCondition = "";
|
|
32147
32283
|
var val = item.value.replace(/'/g, "''");
|
|
32284
|
+
|
|
32285
|
+
if (item.hasOwnProperty('paramName')) {
|
|
32286
|
+
searchConditionJson[item.paramName] = val;
|
|
32287
|
+
}
|
|
32288
|
+
|
|
32148
32289
|
item.fieldSearchConditionName.forEach(function (field, index) {
|
|
32149
32290
|
orCondition += $.trim(orCondition) != "" ? " OR " : "(";
|
|
32150
32291
|
orCondition += " " + field + " LIKE '%" + val + "%'"; // json condition
|
|
32151
32292
|
|
|
32152
32293
|
orJsonCondition += $.trim(orJsonCondition) != "" ? " OR " : "(";
|
|
32153
32294
|
orJsonCondition += " " + field + " LIKE '%" + val + "%'";
|
|
32154
|
-
|
|
32155
|
-
if (index === item.fieldSearchConditionName.length - 1) {
|
|
32156
|
-
orJsonCondition += " OR " + item.fieldSearchConditionName.join("+' '+") + " LIKE '%" + val + "%'";
|
|
32157
|
-
orJsonCondition += ")";
|
|
32158
|
-
searchConditionJson[field] = orJsonCondition;
|
|
32159
|
-
}
|
|
32160
32295
|
});
|
|
32161
32296
|
var combinedCondition = "";
|
|
32162
32297
|
|
|
@@ -32179,21 +32314,25 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32179
32314
|
|
|
32180
32315
|
case "ddl-radio":
|
|
32181
32316
|
case "radio":
|
|
32317
|
+
if (item.value) {
|
|
32318
|
+
item.value = String(item.value);
|
|
32319
|
+
}
|
|
32320
|
+
|
|
32182
32321
|
if (item.value.length > 0 && item.fieldSearchConditionName.length > 0) {
|
|
32183
32322
|
searchCondition += $.trim(searchCondition) != "" ? " AND (" : "(";
|
|
32184
32323
|
var orCondition = "";
|
|
32185
32324
|
var orJsonCondition = "";
|
|
32325
|
+
|
|
32326
|
+
if (item.hasOwnProperty('paramName')) {
|
|
32327
|
+
searchConditionJson[item.paramName] = item.value;
|
|
32328
|
+
}
|
|
32329
|
+
|
|
32186
32330
|
item.fieldSearchConditionName.forEach(function (field, index) {
|
|
32187
32331
|
orCondition += $.trim(orCondition) != "" ? " OR " : "(";
|
|
32188
32332
|
orCondition += " " + field + " = '" + item.value + "'"; // json condition
|
|
32189
32333
|
|
|
32190
32334
|
orJsonCondition += $.trim(orJsonCondition) != "" ? " OR " : "(";
|
|
32191
32335
|
orJsonCondition += " " + field + " = '" + item.value + "'";
|
|
32192
|
-
|
|
32193
|
-
if (index === item.fieldSearchConditionName.length - 1) {
|
|
32194
|
-
orJsonCondition += ")";
|
|
32195
|
-
searchConditionJson[field] = orJsonCondition;
|
|
32196
|
-
}
|
|
32197
32336
|
});
|
|
32198
32337
|
orCondition += ")";
|
|
32199
32338
|
searchCondition += orCondition + ")";
|
|
@@ -32213,21 +32352,20 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32213
32352
|
var orJsonCondition = "";
|
|
32214
32353
|
var valueArray = item.value.split(",");
|
|
32215
32354
|
var finalValues = "'" + valueArray.join("','") + "'";
|
|
32355
|
+
|
|
32356
|
+
if (item.hasOwnProperty('paramName')) {
|
|
32357
|
+
searchConditionJson[item.paramName] = item.value;
|
|
32358
|
+
}
|
|
32359
|
+
|
|
32216
32360
|
item.fieldSearchConditionName.forEach(function (field, index) {
|
|
32217
32361
|
orCondition += $.trim(orCondition) != "" ? " OR " : "(";
|
|
32218
32362
|
orCondition += " " + field + " in (" + finalValues + ")"; // json condition
|
|
32219
32363
|
|
|
32220
32364
|
orJsonCondition += $.trim(orJsonCondition) != "" ? " OR " : "(";
|
|
32221
32365
|
orJsonCondition += " " + field + " in (" + finalValues + ")";
|
|
32222
|
-
|
|
32223
|
-
if (index === item.fieldSearchConditionName.length - 1) {
|
|
32224
|
-
orJsonCondition += ")";
|
|
32225
|
-
searchConditionJson[field] = orJsonCondition;
|
|
32226
|
-
}
|
|
32227
32366
|
});
|
|
32228
32367
|
orCondition += ")";
|
|
32229
32368
|
searchCondition += orCondition + ")";
|
|
32230
|
-
searchConditionJson[item.fieldName] = orCondition;
|
|
32231
32369
|
item.isSearch = true;
|
|
32232
32370
|
} else {
|
|
32233
32371
|
item.isSearch = false;
|
|
@@ -32236,27 +32374,26 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32236
32374
|
break;
|
|
32237
32375
|
|
|
32238
32376
|
case "date":
|
|
32239
|
-
if (item.value
|
|
32377
|
+
if (item.value && item.fieldSearchConditionName.length > 0) {
|
|
32240
32378
|
searchCondition += $.trim(searchCondition) != "" ? " AND (" : "(";
|
|
32241
32379
|
var orCondition = "";
|
|
32242
32380
|
var orJsonCondition = "";
|
|
32243
32381
|
var selectedDate = moment_default()(item.value, item.datePickerConfig.format);
|
|
32244
32382
|
var dateWithYYYYMMDD = selectedDate.format("YYYY-MM-DD");
|
|
32383
|
+
|
|
32384
|
+
if (item.hasOwnProperty('paramName')) {
|
|
32385
|
+
searchConditionJson[item.paramName] = dateWithYYYYMMDD;
|
|
32386
|
+
}
|
|
32387
|
+
|
|
32245
32388
|
item.fieldSearchConditionName.forEach(function (field) {
|
|
32246
32389
|
orCondition += $.trim(orCondition) != "" ? " OR " : "(";
|
|
32247
32390
|
orCondition += " CONVERT(DATE, " + field + ") = '" + dateWithYYYYMMDD + "'"; // json condition
|
|
32248
32391
|
|
|
32249
32392
|
orJsonCondition += $.trim(orJsonCondition) != "" ? " OR " : "(";
|
|
32250
32393
|
orJsonCondition += " CONVERT(DATE, " + field + ") = '" + dateWithYYYYMMDD + "'";
|
|
32251
|
-
|
|
32252
|
-
if (index === item.fieldSearchConditionName.length - 1) {
|
|
32253
|
-
orJsonCondition += ")";
|
|
32254
|
-
searchConditionJson[field] = orJsonCondition;
|
|
32255
|
-
}
|
|
32256
32394
|
});
|
|
32257
32395
|
orCondition += ")";
|
|
32258
32396
|
searchCondition += orCondition + ")";
|
|
32259
|
-
searchConditionJson[item.fieldName] = orCondition;
|
|
32260
32397
|
item.isSearch = true;
|
|
32261
32398
|
} else {
|
|
32262
32399
|
item.isSearch = false;
|
|
@@ -32265,7 +32402,7 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32265
32402
|
break;
|
|
32266
32403
|
|
|
32267
32404
|
case "date-range":
|
|
32268
|
-
if ((item.value
|
|
32405
|
+
if ((item.value || item.secondValue) && item.fieldSearchConditionName.length > 0) {
|
|
32269
32406
|
searchCondition += $.trim(searchCondition) != "" ? " AND (" : "(";
|
|
32270
32407
|
var orCondition = "";
|
|
32271
32408
|
var orJsonCondition = "";
|
|
@@ -32279,6 +32416,10 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32279
32416
|
|
|
32280
32417
|
var _dateWithYYYYMMDD = _selectedDate.format("YYYY-MM-DD");
|
|
32281
32418
|
|
|
32419
|
+
if (item.hasOwnProperty('paramName')) {
|
|
32420
|
+
searchConditionJson[item.paramName] = _dateWithYYYYMMDD;
|
|
32421
|
+
}
|
|
32422
|
+
|
|
32282
32423
|
internalCondition = " CONVERT(DATE, " + splitfield[0] + ") >= '" + _dateWithYYYYMMDD + "'";
|
|
32283
32424
|
}
|
|
32284
32425
|
|
|
@@ -32287,6 +32428,10 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32287
32428
|
|
|
32288
32429
|
var _dateWithYYYYMMDD2 = _selectedDate2.format("YYYY-MM-DD");
|
|
32289
32430
|
|
|
32431
|
+
if (item.hasOwnProperty('paramName') && searchConditionJson[item.paramName]) {
|
|
32432
|
+
searchConditionJson[item.paramName] = searchConditionJson[item.paramName] + '|' + _dateWithYYYYMMDD2;
|
|
32433
|
+
}
|
|
32434
|
+
|
|
32290
32435
|
internalCondition += $.trim(internalCondition) != "" ? " AND " : "";
|
|
32291
32436
|
internalCondition += " CONVERT(DATE, " + splitfield[1] + ") <= '" + _dateWithYYYYMMDD2 + "'";
|
|
32292
32437
|
}
|
|
@@ -32296,12 +32441,10 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32296
32441
|
if (index === item.fieldSearchConditionName.length - 1) {
|
|
32297
32442
|
orJsonCondition += internalCondition;
|
|
32298
32443
|
orJsonCondition += ")";
|
|
32299
|
-
searchConditionJson[field] = orJsonCondition;
|
|
32300
32444
|
}
|
|
32301
32445
|
});
|
|
32302
32446
|
orCondition += ")";
|
|
32303
32447
|
searchCondition += orCondition + ")";
|
|
32304
|
-
searchConditionJson[item.fieldName] = orCondition;
|
|
32305
32448
|
item.isSearch = true;
|
|
32306
32449
|
} else {
|
|
32307
32450
|
item.isSearch = false;
|
|
@@ -32316,11 +32459,21 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32316
32459
|
//vueObj.$parent.conditionForInstantSearch = "";
|
|
32317
32460
|
//vueObj.$parent.conditionForInstantSearch = searchCondition;
|
|
32318
32461
|
|
|
32462
|
+
debugger;
|
|
32319
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
|
+
|
|
32320
32473
|
this.$emit('SetLeftSearch', {
|
|
32321
32474
|
'PageNumber': 1,
|
|
32322
32475
|
"searchCondition": searchCondition,
|
|
32323
|
-
'searchConditionJson':
|
|
32476
|
+
'searchConditionJson': qs
|
|
32324
32477
|
}); //vueObj.callbackfunction();
|
|
32325
32478
|
},
|
|
32326
32479
|
SearchOnEnter: function SearchOnEnter(event, itm) {
|
|
@@ -32357,8 +32510,8 @@ var vue_jstree_default = /*#__PURE__*/__webpack_require__.n(vue_jstree);
|
|
|
32357
32510
|
|
|
32358
32511
|
var left_search_component = normalizeComponent(
|
|
32359
32512
|
components_left_searchvue_type_script_lang_js_,
|
|
32360
|
-
|
|
32361
|
-
|
|
32513
|
+
left_searchvue_type_template_id_3dc67b3a_render,
|
|
32514
|
+
left_searchvue_type_template_id_3dc67b3a_staticRenderFns,
|
|
32362
32515
|
false,
|
|
32363
32516
|
null,
|
|
32364
32517
|
null,
|