tg-listv 0.1.7 → 0.1.8
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 +24 -16
- package/dist/tglistv.common.js.map +1 -1
- package/dist/tglistv.umd.js +24 -16
- package/dist/tglistv.umd.js.map +1 -1
- package/dist/tglistv.umd.min.js +1 -1
- package/dist/tglistv.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/tglistv.common.js
CHANGED
|
@@ -40008,8 +40008,8 @@ var DataTable_component = normalizeComponent(
|
|
|
40008
40008
|
)
|
|
40009
40009
|
|
|
40010
40010
|
/* harmony default export */ var DataTable = (DataTable_component.exports);
|
|
40011
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1bc84821-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=
|
|
40012
|
-
var
|
|
40011
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1bc84821-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=37ff81be&
|
|
40012
|
+
var left_searchvue_type_template_id_37ff81be_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.header)?_c('div',{staticClass:"col-md-12 p-0 mb-2"},[_c('div',{staticClass:"theme-primary partition"},[_c('span',{staticClass:"p-name text-white"},[_vm._v(_vm._s(_vm.header))])])]):_vm._e(),_c('div',{staticClass:"accordion md-accordion left-filter",attrs:{"id":"accordionEx","role":"tablist","aria-multiselectable":"true"}},[_c('div',{staticClass:"card"},[_c('div',{staticClass:"card-header filter-head",attrs:{"role":"tab","id":"headingOne1"}},[_c('h5',{staticClass:"mb-0"},[_c('em',{staticClass:"fa fa-filter",attrs:{"aria-hidden":"true"}}),_vm._v(" "+_vm._s(_vm.$t("Search"))+" "),_c('span',{staticClass:"expand_all_filters"},[_c('span',{attrs:{"id":"SearchData"},on:{"click":function($event){return _vm.SearchData()}}},[_c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","title":_vm.$t('Search'),"data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})])]),_c('span',{on:{"click":function($event){return _vm.ClearFilter()}}},[_c('a',{staticClass:"collapsed",attrs:{"title":_vm.$t('Reset'),"href":"javascript:;","data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-repeat",attrs:{"aria-hidden":"true"}})])]),_c('span',{staticClass:"collapsed ancExpandAllCollapseAll",attrs:{"data-target":".multi-collapse","data-toggle":"collapse"},on:{"click":function($event){return _vm.ExpandCollapsedAll()}}},[_c('a',{staticClass:"collapsed",attrs:{"href":"javascript:;","title":_vm.$t('ExpandAllCollapseAll'),"data-toggle-tooltip":"tooltip"}},[_c('em',{staticClass:"fa fa-sort-desc",attrs:{"aria-hidden":"true"}})])])])])])]),_c('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"}],ref:field.fieldName,refInFor:true,staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholder(field),"type":"checkbox"},domProps:{"checked":Array.isArray(field.value)?_vm._i(field.value,null)>-1:(field.value)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field)},"change":function($event){var $$a=field.value,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(field, "value", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(field, "value", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(field, "value", $$c)}}}}):(((field.isNumeric == true)? 'number':'text')==='radio')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],ref:field.fieldName,refInFor:true,staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholder(field),"type":"radio"},domProps:{"checked":_vm._q(field.value,null)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field)},"change":function($event){return _vm.$set(field, "value", null)}}}):_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],ref:field.fieldName,refInFor:true,staticClass:"form-control search",attrs:{"placeholder":_vm.getPlaceholder(field),"type":(field.isNumeric == true)? 'number':'text'},domProps:{"value":(field.value)},on:{"keydown":function($event){return _vm.SearchOnEnter($event, field)},"input":function($event){if($event.target.composing){ return; }_vm.$set(field, "value", $event.target.value)}}})]):_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('DatePicker',{ref:field.fieldName,refInFor:true,staticClass:"input-group",staticStyle:{"flex-wrap":"nowrap"},attrs:{"locale":_vm.lang,"is24hr":false,"name":'DateFrom' + fieldIndex,"mode":_vm.getModeofDateField(field),"masks":_vm.getFormat(field),"popover":_vm.popover,"min-date":_vm.getMinmumDate(field, 'dateFrom'),"max-date":_vm.getMaxDate(field, 'dateFrom'),"minute-increment":5},on:{"input":function($event){return _vm.SetMinMaxValueForDatePicker(field, 'datefrom')}},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
40013
40013
|
var inputValue = ref.inputValue;
|
|
40014
40014
|
var inputEvents = ref.inputEvents;
|
|
40015
40015
|
var togglePopover = ref.togglePopover;
|
|
@@ -40018,10 +40018,10 @@ var inputValue = ref.inputValue;
|
|
|
40018
40018
|
var inputEvents = ref.inputEvents;
|
|
40019
40019
|
var togglePopover = ref.togglePopover;
|
|
40020
40020
|
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":_vm.getPlaceholderforAnyField(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"}],ref:field.fieldName,refInFor:true,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',{ref:field.fieldName,refInFor:true,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(0,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',{ref:field.fieldName,refInFor:true,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"}],ref:field.fieldName,refInFor:true,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',{ref:field.fieldName,refInFor:true,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',{ref:field.fieldName,refInFor:true,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"}],ref:field.fieldName,refInFor:true,staticClass:"form-control",attrs:{"id":'dropdown'+fieldIndex},on:{"change":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return val}); _vm.$set(field, "value", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((field.listOptions),function(option){return _c('option',{domProps:{"value":option.value}},[_vm._v(_vm._s(option.name))])}),0)]):_vm._e(),(field.fieldType == 'searchableselect')?_c('div',{staticClass:"form-group ddl-custom-searchableselect"},[_c('searchable-select',{ref:field.fieldName,refInFor:true,attrs:{"items":field.listOptions,"max-visible-chips":2,"action-buttons":_vm.computedActionButtons(field),"item-fields":_vm.computedItemFields(field),"group-fields":_vm.computedGroupFields(field),"max-render-items":_vm.computedMaxRenderItems(field),"lazy-load":true,"multiple":field.isMultiple,"label":field.fieldName,"placeholder":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')))])])])}
|
|
40021
|
-
var
|
|
40021
|
+
var left_searchvue_type_template_id_37ff81be_staticRenderFns = [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"})])])}]
|
|
40022
40022
|
|
|
40023
40023
|
|
|
40024
|
-
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=
|
|
40024
|
+
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=37ff81be&
|
|
40025
40025
|
|
|
40026
40026
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.symbol.to-primitive.js
|
|
40027
40027
|
var es_symbol_to_primitive = __webpack_require__("8172");
|
|
@@ -43385,12 +43385,16 @@ var _methods;
|
|
|
43385
43385
|
},
|
|
43386
43386
|
onChangeforDDL: function onChangeforDDL(field, e) {
|
|
43387
43387
|
if (field && field.hasOwnProperty("onChange")) {
|
|
43388
|
-
field.onChange
|
|
43388
|
+
if (typeof field.onChange == "function") {
|
|
43389
|
+
field.onChange(field, e);
|
|
43390
|
+
}
|
|
43389
43391
|
}
|
|
43390
43392
|
},
|
|
43391
43393
|
onSearchableChange: function onSearchableChange(x, field, e) {
|
|
43392
43394
|
if (field && field.hasOwnProperty("onChange")) {
|
|
43393
|
-
field.onChange
|
|
43395
|
+
if (typeof field.onChange == "function") {
|
|
43396
|
+
field.onChange(field, x);
|
|
43397
|
+
}
|
|
43394
43398
|
}
|
|
43395
43399
|
},
|
|
43396
43400
|
getPlaceholder: function getPlaceholder(field, e) {
|
|
@@ -43521,8 +43525,8 @@ var _methods;
|
|
|
43521
43525
|
|
|
43522
43526
|
var left_search_component = normalizeComponent(
|
|
43523
43527
|
components_left_searchvue_type_script_lang_js_,
|
|
43524
|
-
|
|
43525
|
-
|
|
43528
|
+
left_searchvue_type_template_id_37ff81be_render,
|
|
43529
|
+
left_searchvue_type_template_id_37ff81be_staticRenderFns,
|
|
43526
43530
|
false,
|
|
43527
43531
|
null,
|
|
43528
43532
|
null,
|
|
@@ -43531,8 +43535,8 @@ var left_search_component = normalizeComponent(
|
|
|
43531
43535
|
)
|
|
43532
43536
|
|
|
43533
43537
|
/* harmony default export */ var left_search = (left_search_component.exports);
|
|
43534
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1bc84821-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=
|
|
43535
|
-
var
|
|
43538
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1bc84821-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=7d1182ee&
|
|
43539
|
+
var top_searchvue_type_template_id_7d1182ee_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'
|
|
43536
43540
|
)?_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('DatePicker',{ref:field.fieldName,refInFor:true,staticClass:"input-group",staticStyle:{"flex-wrap":"nowrap"},attrs:{"locale":_vm.lang,"is24hr":false,"name":'DateFrom' + fieldIndex,"mode":_vm.getModeofDateField(field),"masks":_vm.getFormat(field),"popover":_vm.popover,"min-date":_vm.getMinmumDate(field, 'dateFrom'),"max-date":_vm.getMaxDate(field, 'dateFrom'),"minute-increment":5},on:{"input":function($event){return _vm.SetMinMaxValueForDatePicker(field, 'datefrom')}},scopedSlots:_vm._u([{key:"default",fn:function(ref){
|
|
43537
43541
|
var inputValue = ref.inputValue;
|
|
43538
43542
|
var inputEvents = ref.inputEvents;
|
|
@@ -43542,10 +43546,10 @@ return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":_vm.g
|
|
|
43542
43546
|
var inputEvents = ref.inputEvents;
|
|
43543
43547
|
var togglePopover = ref.togglePopover;
|
|
43544
43548
|
return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":_vm.getPlaceholderforAnyField(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(),(field.fieldType == 'ddl-multilevel')?_c('div',{staticClass:"form-group mb-2"},[(field.listOptions && field.listOptions.length > 0)?_c('tree-select',{ref:field.fieldName,refInFor:true,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"}],ref:field.fieldName,refInFor:true,staticClass:"form-control",attrs:{"id":'dropdown' + fieldIndex},on:{"change":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return val}); _vm.$set(field, "value", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[((field.isDefaultOptionReq != false))?_c('option',{attrs:{"value":""}},[_vm._v(_vm._s(_vm.$t("Select"))+" "+_vm._s(_vm.$t(field.fieldName)))]):_vm._e(),_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',{ref:field.fieldName,refInFor:true,attrs:{"items":field.listOptions,"max-visible-chips":2,"action-buttons":_vm.computedActionButtons(field),"item-fields":_vm.computedItemFields(field),"group-fields":_vm.computedGroupFields(field),"max-render-items":_vm.computedMaxRenderItems(field),"lazy-load":true,"multiple":field.isMultiple,"label":field.fieldName,"placeholder":field.placeholder,"status-field-config":field.statusFieldConfig,"min-search-length":field.minSearchLength},on:{"blur":function($event){return _vm.onSearchableChange($event, field, 'blur')},"change":function($event){return _vm.onSearchableChange($event, field, 'change')}},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 % 3) > 0) || _vm.fields.length == 1), 'mt-4': (((_vm.fields.length % 3) > 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 % 3) == 0) }},[_c('div',{staticClass:"background-0 text-left form-check-inline"},[_c('a',{staticClass:"btn btn-success mr-1 px-4",attrs:{"title":_vm.$t('Search'),"id":"Go","href":"javascript:;","data-toggle-tooltip":"tooltip","data-original-title":_vm.$t('Search')},on:{"click":function($event){return _vm.SearchData()}}},[_c('i',{staticClass:"fa fa-search"}),_vm._v(" "+_vm._s(_vm.$t("Search")))]),_c('a',{staticClass:"btn btn-danger clearsearchtext px-4",attrs:{"href":"javascript:void(0);","title":_vm.$t('Clear'),"data-toggle-tooltip":"tooltip","data-original-title":_vm.$t('Clear')},on:{"click":function($event){return _vm.ClearFilter()}}},[_c('i',{staticClass:"fa fa-refresh"}),_vm._v(" "+_vm._s(_vm.$t("Clear")))])])])],2)])])}
|
|
43545
|
-
var
|
|
43549
|
+
var top_searchvue_type_template_id_7d1182ee_staticRenderFns = []
|
|
43546
43550
|
|
|
43547
43551
|
|
|
43548
|
-
// CONCATENATED MODULE: ./src/components/top-search.vue?vue&type=template&id=
|
|
43552
|
+
// CONCATENATED MODULE: ./src/components/top-search.vue?vue&type=template&id=7d1182ee&
|
|
43549
43553
|
|
|
43550
43554
|
// 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&
|
|
43551
43555
|
|
|
@@ -44042,7 +44046,9 @@ var top_searchvue_type_template_id_1cf5a5e4_staticRenderFns = []
|
|
|
44042
44046
|
},
|
|
44043
44047
|
onChangeforDDL: function onChangeforDDL(field, e) {
|
|
44044
44048
|
if (field && field.hasOwnProperty("onChange")) {
|
|
44045
|
-
field.onChange
|
|
44049
|
+
if (typeof field.onChange == "function") {
|
|
44050
|
+
field.onChange(field, e);
|
|
44051
|
+
}
|
|
44046
44052
|
}
|
|
44047
44053
|
},
|
|
44048
44054
|
computedActionButtons: function computedActionButtons(field) {
|
|
@@ -44080,7 +44086,9 @@ var top_searchvue_type_template_id_1cf5a5e4_staticRenderFns = []
|
|
|
44080
44086
|
},
|
|
44081
44087
|
onSearchableChange: function onSearchableChange(x, field, e) {
|
|
44082
44088
|
if (field && field.hasOwnProperty("onChange")) {
|
|
44083
|
-
field.onChange
|
|
44089
|
+
if (typeof field.onChange == "function") {
|
|
44090
|
+
field.onChange(field, x);
|
|
44091
|
+
}
|
|
44084
44092
|
}
|
|
44085
44093
|
},
|
|
44086
44094
|
getModeofDateField: function getModeofDateField(field) {
|
|
@@ -44164,8 +44172,8 @@ var top_searchvue_type_template_id_1cf5a5e4_staticRenderFns = []
|
|
|
44164
44172
|
|
|
44165
44173
|
var top_search_component = normalizeComponent(
|
|
44166
44174
|
components_top_searchvue_type_script_lang_js_,
|
|
44167
|
-
|
|
44168
|
-
|
|
44175
|
+
top_searchvue_type_template_id_7d1182ee_render,
|
|
44176
|
+
top_searchvue_type_template_id_7d1182ee_staticRenderFns,
|
|
44169
44177
|
false,
|
|
44170
44178
|
null,
|
|
44171
44179
|
null,
|