tg-listv 0.0.35 → 0.0.37
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 +28 -15
- package/dist/tglistv.common.js.map +1 -1
- package/dist/tglistv.umd.js +28 -15
- 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
|
@@ -37539,8 +37539,8 @@ var DataTable_component = normalizeComponent(
|
|
|
37539
37539
|
)
|
|
37540
37540
|
|
|
37541
37541
|
/* harmony default export */ var DataTable = (DataTable_component.exports);
|
|
37542
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"78403d1f-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=
|
|
37543
|
-
var
|
|
37542
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"78403d1f-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=8d2d624c&
|
|
37543
|
+
var left_searchvue_type_template_id_8d2d624c_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(" 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==0?String(field.value).length>0:field.value)},attrs:{"href":"javascript:;"},on:{"click":function($event){return _vm.SearchData()}}},[_c('em',{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})])])]),_c('div',{staticClass:"collapse multi-collapse",attrs:{"id":'collapseOne'+fieldIndex,"role":"tabpanel","aria-labelledby":'headingOnee' + fieldIndex,"data-parent":"#accordionEx"}},[_c('div',{staticClass:"card-body pt-0"},[(field.fieldType== 'text')?_c('div',{staticClass:"form-group"},[(((field.isNumeric == true)? 'number':'text')==='checkbox')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control search",attrs:{"placeholder":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){
|
|
37544
37544
|
var inputValue = ref.inputValue;
|
|
37545
37545
|
var inputEvents = ref.inputEvents;
|
|
37546
37546
|
var togglePopover = ref.togglePopover;
|
|
@@ -37548,11 +37548,11 @@ return [_c('input',_vm._g({staticClass:"form-control",attrs:{"placeholder":(fiel
|
|
|
37548
37548
|
var inputValue = ref.inputValue;
|
|
37549
37549
|
var inputEvents = ref.inputEvents;
|
|
37550
37550
|
var togglePopover = ref.togglePopover;
|
|
37551
|
-
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(),_c('vue-scroll',[(field.fieldType== 'radio' || field.fieldType== 'checkbox')?_c('div',{staticClass:"form-group d-flex",staticStyle:{"max-height":"200px","flex-direction":"column"}},_vm._l((field.listOptions),function(item,index){return _c('div',{key:index,class:{'custom-control w-auto custom-control-inline': true, 'custom-radio': field.fieldType== 'radio', 'custom-checkbox': field.fieldType== 'checkbox'}},[(field.fieldType== 'radio')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"custom-control-input dynamic",attrs:{"type":"radio","id":'customcheckbox'+fieldIndex+index,"name":"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",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"},[_vm._m(3,true),_c('vue-scroll',[_c('div',{staticClass:"form-group filterscroll filterscroll_leftsearch",staticStyle:{"max-height":"200px"}},[(field.fieldType == 'ddl-check' && field.listOptions.length > 0)?_c('div',{staticClass:"custom-control custom-checkbox custom-control-inline w-100"},[_c('input',{staticClass:"custom-control-input dynamic customcheckboxselectall",attrs:{"id":'customcheckboxselectall'+fieldIndex,"type":"checkbox"},on:{"change":function($event){return _vm.SelectAllRecords(field, $event)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'customcheckboxselectall'+fieldIndex,"type":"checkbox"}},[_vm._v("Select All")])]):_vm._e(),_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('tree-select',{attrs:{"placeholder":"Select Location","multiple":false,"options":field.listOptions},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}}):_vm._e()],1):_vm._e(),(field.fieldType== 'dropdown')?_c('div',{staticClass:"form-group"},[_c('select',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control",attrs:{"id":'dropdown'+fieldIndex},on:{"change":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return val}); _vm.$set(field, "value", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((field.listOptions),function(option){return _c('option',{domProps:{"value":option.value}},[_vm._v(_vm._s(option.name))])}),0)]):_vm._e()],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("Expand All / Collapse All")])])])}
|
|
37552
|
-
var
|
|
37551
|
+
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(),_c('vue-scroll',[(field.fieldType== 'radio' || field.fieldType== 'checkbox')?_c('div',{staticClass:"form-group d-flex",staticStyle:{"max-height":"200px","flex-direction":"column"}},_vm._l((field.listOptions),function(item,index){return _c('div',{key:index,class:{'custom-control w-auto custom-control-inline': true, 'custom-radio': field.fieldType== 'radio', 'custom-checkbox': field.fieldType== 'checkbox'}},[(field.fieldType== 'radio')?_c('input',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"custom-control-input dynamic",attrs:{"type":"radio","id":'customcheckbox'+fieldIndex+index,"name":"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",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"},[_vm._m(3,true),_c('vue-scroll',[_c('div',{staticClass:"form-group filterscroll filterscroll_leftsearch",staticStyle:{"max-height":"200px"}},[(field.fieldType == 'ddl-check' && field.listOptions.length > 0)?_c('div',{staticClass:"custom-control custom-checkbox custom-control-inline w-100"},[_c('input',{staticClass:"custom-control-input dynamic customcheckboxselectall",attrs:{"id":'customcheckboxselectall'+fieldIndex,"type":"checkbox"},on:{"change":function($event){return _vm.SelectAllRecords(field, $event)}}}),_c('label',{staticClass:"custom-control-label",attrs:{"for":'customcheckboxselectall'+fieldIndex,"type":"checkbox"}},[_vm._v("Select All")])]):_vm._e(),(field.listOptions.length == 0)?_c('div',{staticClass:"text-center text-danger no-record",staticStyle:{"font-size":"12px"}},[_vm._v("No Record available")]):_vm._e(),_vm._l((field.listOptions),function(item,index){return _c('div',{key:index,class:{'custom-control custom-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('tree-select',{attrs:{"placeholder":"Select Location","multiple":false,"options":field.listOptions},model:{value:(field.value),callback:function ($$v) {_vm.$set(field, "value", $$v)},expression:"field.value"}}):_vm._e()],1):_vm._e(),(field.fieldType== 'dropdown')?_c('div',{staticClass:"form-group"},[_c('select',{directives:[{name:"model",rawName:"v-model",value:(field.value),expression:"field.value"}],staticClass:"form-control",attrs:{"id":'dropdown'+fieldIndex},on:{"change":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return val}); _vm.$set(field, "value", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((field.listOptions),function(option){return _c('option',{domProps:{"value":option.value}},[_vm._v(_vm._s(option.name))])}),0)]):_vm._e()],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("Expand All / Collapse All")])])])}
|
|
37552
|
+
var left_searchvue_type_template_id_8d2d624c_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"})])])])])}]
|
|
37553
37553
|
|
|
37554
37554
|
|
|
37555
|
-
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=
|
|
37555
|
+
// CONCATENATED MODULE: ./src/components/left-search.vue?vue&type=template&id=8d2d624c&
|
|
37556
37556
|
|
|
37557
37557
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
37558
37558
|
var es_array_find = __webpack_require__("7db0");
|
|
@@ -37667,10 +37667,15 @@ var vue_treeselect_cjs_default = /*#__PURE__*/__webpack_require__.n(vue_treesele
|
|
|
37667
37667
|
}
|
|
37668
37668
|
},
|
|
37669
37669
|
ClearFilter: function ClearFilter() {
|
|
37670
|
-
debugger;
|
|
37671
37670
|
$.each(this.Fields, function (index, item) {
|
|
37672
37671
|
item.isSearch = false;
|
|
37673
|
-
|
|
37672
|
+
|
|
37673
|
+
if (item.fieldType == "ddl-multilevel") {
|
|
37674
|
+
item.value = null;
|
|
37675
|
+
} else {
|
|
37676
|
+
item.value = "";
|
|
37677
|
+
}
|
|
37678
|
+
|
|
37674
37679
|
item.secondValue = "";
|
|
37675
37680
|
|
|
37676
37681
|
if (item.fieldType == "ddl-check") {
|
|
@@ -37682,6 +37687,14 @@ var vue_treeselect_cjs_default = /*#__PURE__*/__webpack_require__.n(vue_treesele
|
|
|
37682
37687
|
$(".searchcustomfilter").val("");
|
|
37683
37688
|
$(".searchcustomfilter").trigger("keyup");
|
|
37684
37689
|
this.SearchData();
|
|
37690
|
+
setTimeout(function () {
|
|
37691
|
+
$('span[data-target=".multi-collapse"],a[data-target=".multi-collapse"]').addClass("collapsed");
|
|
37692
|
+
$(".left-menu-tab .card").each(function () {
|
|
37693
|
+
$(this).find(".card-header h5 a").addClass("collapsed");
|
|
37694
|
+
$(this).find(".card-header h5 a").attr("aria-expanded", "false");
|
|
37695
|
+
$(this).find(".multi-collapse").collapse("hide");
|
|
37696
|
+
});
|
|
37697
|
+
}, 500);
|
|
37685
37698
|
},
|
|
37686
37699
|
CheckValueSelectedForbadge: function CheckValueSelectedForbadge(badgeValue, selectedValue, isSearch) {
|
|
37687
37700
|
var array = selectedValue.split(",");
|
|
@@ -37989,8 +38002,8 @@ var vue_treeselect_cjs_default = /*#__PURE__*/__webpack_require__.n(vue_treesele
|
|
|
37989
38002
|
|
|
37990
38003
|
var left_search_component = normalizeComponent(
|
|
37991
38004
|
components_left_searchvue_type_script_lang_js_,
|
|
37992
|
-
|
|
37993
|
-
|
|
38005
|
+
left_searchvue_type_template_id_8d2d624c_render,
|
|
38006
|
+
left_searchvue_type_template_id_8d2d624c_staticRenderFns,
|
|
37994
38007
|
false,
|
|
37995
38008
|
null,
|
|
37996
38009
|
null,
|
|
@@ -37999,12 +38012,12 @@ var left_search_component = normalizeComponent(
|
|
|
37999
38012
|
)
|
|
38000
38013
|
|
|
38001
38014
|
/* harmony default export */ var left_search = (left_search_component.exports);
|
|
38002
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"78403d1f-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/CardView.vue?vue&type=template&id=
|
|
38003
|
-
var
|
|
38004
|
-
var
|
|
38015
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"78403d1f-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/CardView.vue?vue&type=template&id=a2e0be84&
|
|
38016
|
+
var CardViewvue_type_template_id_a2e0be84_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"talygen-card-view"},[_c('div',{staticClass:"row"},[_c('div',{staticClass:"col-12 mb-2"},_vm._l((_vm.LegendArray),function(legend){return _c('div',{staticClass:"mr-2 d-inline-block"},[_c('span',{staticClass:"colorboxsquare",class:legend.class,style:({'background':legend.backgroundColor})}),_vm._v(_vm._s(legend.name)+" ")])}),0)]),_c('div',{staticClass:"row card-view bg-border custom-box-width"},[_vm._l((_vm.data),function(row,index){return _c('div',{key:index,staticClass:"col-md-12 col-lg-6 col-xl-3 mb-3 fsmaddresscontrol"},[(!_vm.customcard)?_c('div',{class:'card-box ' + ((typeof(row.additionalClass) != 'undefined')? row.additionalClass: '' ),style:('border-width: 5px 2px 2px; border-style: solid; border-color:' + ((typeof(row.color_code) != 'undefined')? row.color_code: 'rgb(153 153 153)' ) + '; border-image: initial;')},[_c('div',{staticClass:"mb-2"},[_c('div',{staticClass:"custom-control custom-checkbox"},[_c('input',{directives:[{name:"model",rawName:"v-model",value:(row.isSelected),expression:"row.isSelected"}],staticClass:"chkItems",attrs:{"disabled":row.isCheckBoxDisabled,"type":"checkbox"},domProps:{"value":row[_vm.identityColumn],"checked":Array.isArray(row.isSelected)?_vm._i(row.isSelected,row[_vm.identityColumn])>-1:(row.isSelected)},on:{"change":[function($event){var $$a=row.isSelected,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=row[_vm.identityColumn],$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(row, "isSelected", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(row, "isSelected", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(row, "isSelected", $$c)}},function($event){return _vm.onChangeEventOfCheckbox($event, _vm.item)}]}})]),((_vm.columns[0].DATA_TYPE=='date' || _vm.columns[0].DATA_TYPE=='datetime') && (_vm.columns[0].DATA_TYPE !='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.formatDate(row[_vm.columns[0].COLUMN_NAME])))]):_vm._e(),((_vm.columns[0].DATA_TYPE=='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.currency(row[_vm.columns[0].COLUMN_NAME])))]):_vm._e(),((_vm.columns[0].DATA_TYPE!='date' && _vm.columns[0].DATA_TYPE!='datetime' && _vm.columns[0].DATA_TYPE!='decimal'))?_c('span',{attrs:{"title":row[_vm.columns[0].COLUMN_NAME]}},[(typeof(_vm.columns[0].settings) != 'undefined' && _vm.columns[0].settings != null && typeof(_vm.columns[0].settings.clickEvent) != 'undefined' && _vm.columns[0].settings.clickEvent != null && _vm.columns[0].settings.isInSlot != true)?_c('a',{attrs:{"id":"viewLeadeContent_a","href":"javascript:;"},on:{"click":function($event){return _vm.clickEventCheck(_vm.columns,row)}}},[_vm._v(_vm._s(((typeof(_vm.columns[0].settings.formatter) === 'function')?_vm.columns[0].settings.formatter(row, _vm.columns[0]):_vm.TruncateStr(row[_vm.columns[0].COLUMN_NAME],30))))]):_vm._e(),(typeof(_vm.columns[0].settings) != 'undefined' && _vm.columns[0].settings != null && (typeof(_vm.columns[0].settings.clickEvent) === 'undefined' || _vm.columns[0].settings.clickEvent == null) && _vm.columns[0].settings.isInSlot != true)?_c('span',{attrs:{"title":row[_vm.columns[0].COLUMN_NAME]}},[_vm._v(_vm._s(((typeof(_vm.columns[0].settings.formatter) === 'function')?_vm.columns[0].settings.formatter(row, _vm.columns[0]):_vm.TruncateStr(row[_vm.columns[0].COLUMN_NAME],30))))]):_vm._e(),(typeof(_vm.columns[0].settings) === 'undefined' || _vm.columns[0].settings == null)?_c('span',{attrs:{"title":row[_vm.columns[0].COLUMN_NAME]}},[_vm._v(_vm._s(_vm.TruncateStr(row[_vm.columns[0].COLUMN_NAME],30)))]):_vm._e(),(typeof(_vm.columns[0].settings) != 'undefined' && _vm.columns[0].settings != null && typeof(_vm.columns[0].settings.isInSlot) != 'undefined' && _vm.columns[0].settings.isInSlot == true)?_vm._t("slotdata",null,{"data":{row:row,column:_vm.columns[0]}}):_vm._e()],2):_vm._e()]),_c('div',{staticClass:"card-detail-main filterscrollForCardView"},_vm._l((_vm.columns),function(key,index){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isShowColumn(row,key) && index > 0),expression:"isShowColumn(row,key) && index > 0"}],key:index,staticClass:"card-detail"},[_c('i',{class:'fa '+ _vm.defaultIconsForColumn(key),attrs:{"data-name":key.COLUMN_NAME,"aria-hidden":"true"}}),((key.DATA_TYPE=='date' || key.DATA_TYPE=='datetime') && (key.DATA_TYPE !='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.formatDate(row[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE=='decimal'))?_c('span',[_vm._v(_vm._s(_vm.$options.filters.currency(row[key.COLUMN_NAME])))]):_vm._e(),((key.DATA_TYPE!='date' && key.DATA_TYPE!='datetime' && key.DATA_TYPE!='decimal'))?_c('span',{attrs:{"title":row[key.COLUMN_NAME]}},[(typeof(key.settings) != 'undefined' && key.settings != null && typeof(key.settings.clickEvent) != 'undefined' && key.settings.clickEvent != null && key.settings.isInSlot != true)?_c('a',{attrs:{"id":"viewLeadeContent_a","href":"javascript:;"},on:{"click":function($event){return _vm.clickEventCheck2(key,row)}}},[_vm._v(_vm._s(((typeof(key.settings.formatter) === 'function')?key.settings.formatter(row, key):_vm.TruncateStr(row[key.COLUMN_NAME],30))))]):_vm._e(),(typeof(key.settings) != 'undefined' && key.settings != null && (typeof(key.settings.clickEvent) === 'undefined' || key.settings.clickEvent == null) && key.settings.isInSlot != true)?_c('span',{attrs:{"title":row[key.COLUMN_NAME]}},[_vm._v(_vm._s(((typeof(key.settings.formatter) === 'function')?key.settings.formatter(row, key):_vm.TruncateStr(row[key.COLUMN_NAME],30))))]):_vm._e(),(typeof(key.settings) === 'undefined' || key.settings == null)?_c('span',{attrs:{"title":row[key.COLUMN_NAME]}},[_vm._v(_vm._s(_vm.TruncateStr(row[key.COLUMN_NAME],30)))]):_vm._e(),(typeof(key.settings) != 'undefined' && key.settings != null && typeof(key.settings.isInSlot) != 'undefined' && key.settings.isInSlot == true)?_vm._t("slotdata",null,{"data":{row:row,column:key}}):_vm._e()],2):_vm._e()])}),0),_c('div',{staticClass:"bottom-action",staticStyle:{"background":"none !important"}},[_vm._l((_vm.columns),function(key){return [(typeof(key.settings) !== 'undefined' && key.settings != null && typeof(key.settings.isForTag) !== 'undefined' && key.settings.isForTag == true)?_c('div',{class:'px-2 text-center text-white d-block ' + _vm.tagColor(row, key)},[_vm._v(" "+_vm._s(row[key.COLUMN_NAME]=='Active'?'Draft':row[key.COLUMN_NAME])+" ")]):_vm._e()]}),_c('div',{staticClass:"card-action my-2"},[(_vm.IsShowAction == true)?_c('RowActions',{attrs:{"item":row,"index":index,"identityColumn":_vm.identityColumn,"listActionsMethod":_vm.renderRowActionMethod,"listType":"Card"},on:{"button-click":_vm.ButtonClick}}):_vm._e()],1)],2)]):_vm._e(),(_vm.customcard)?[_vm._t("customcard",null,{"data":{row:row,columnlist:_vm.columns, onchangecheckbox:_vm.onChangeEventOfCheckbox }})]:_vm._e()],2)}),(_vm.noRecord)?_c('div',{staticClass:"table-responsive table-fix-header text-center p-2 border",staticStyle:{"height":"46px"}},[_c('span',{staticClass:"text-center text-danger no-record",attrs:{"colspan":"17"}},[_vm._v(_vm._s(_vm.NorecordfoundText))])]):_vm._e()],2),_c('Pager',{attrs:{"numberofrecords":_vm.TotalRecords,"CurrentPageNumber":_vm.CurrentPageNumber,"prev-text":"Prev","first-text":"First","last-text":"Last","next-text":"Next"},on:{"SetCurrentPage":_vm.pagerMethod}})],1)}
|
|
38017
|
+
var CardViewvue_type_template_id_a2e0be84_staticRenderFns = []
|
|
38005
38018
|
|
|
38006
38019
|
|
|
38007
|
-
// CONCATENATED MODULE: ./src/components/CardView.vue?vue&type=template&id=
|
|
38020
|
+
// CONCATENATED MODULE: ./src/components/CardView.vue?vue&type=template&id=a2e0be84&
|
|
38008
38021
|
|
|
38009
38022
|
// 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/CardView.vue?vue&type=script&lang=js&
|
|
38010
38023
|
|
|
@@ -38172,8 +38185,8 @@ var CardViewvue_type_style_index_0_lang_css_ = __webpack_require__("7d46");
|
|
|
38172
38185
|
|
|
38173
38186
|
var CardView_component = normalizeComponent(
|
|
38174
38187
|
components_CardViewvue_type_script_lang_js_,
|
|
38175
|
-
|
|
38176
|
-
|
|
38188
|
+
CardViewvue_type_template_id_a2e0be84_render,
|
|
38189
|
+
CardViewvue_type_template_id_a2e0be84_staticRenderFns,
|
|
38177
38190
|
false,
|
|
38178
38191
|
null,
|
|
38179
38192
|
null,
|