@phoenix-cg/v-filters 0.2.10 → 0.2.11

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.
@@ -5983,7 +5983,7 @@ if (typeof window !== 'undefined') {
5983
5983
  // Indicate to webpack that this file can be concatenated
5984
5984
  /* harmony default export */ var setPublicPath = (null);
5985
5985
 
5986
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c65703f4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/VFilters.vue?vue&type=template&id=640aa581&
5986
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"c65703f4-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/VFilters.vue?vue&type=template&id=daf9f710&
5987
5987
  var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"v-filters"},[_c('div',{staticClass:"v-filters_fields"},[_vm._t("before-fields"),_vm._l((_vm.fields),function(field){return _c(_vm.fieldComponentName,{key:field._name,tag:"component",class:[("__" + (field._name))],attrs:{"title":field.title}},[_c(_vm.componentsMap[field._type],_vm._b({key:_vm.fieldKey,tag:"component",on:{"input":function($event){return _vm.handleFieldChange(field._name, $event)}},model:{value:(_vm.filters[field._name]),callback:function ($$v) {_vm.$set(_vm.filters, field._name, $$v)},expression:"filters[field._name]"}},'component',_vm.getFieldProps(field),false))],1)}),_vm._t("after-fields"),_vm._t("actions",[_c(_vm.fieldComponentName,{tag:"component"},[(!_vm.immediate)?_c('button',{staticClass:"v-button v-filters_button",on:{"click":_vm.showResult}},[_vm._v(" "+_vm._s(_vm.actionTitle)+" ")]):_vm._e(),(_vm.edited)?_c('button',{staticClass:"v-button v-filters_button __reset",on:{"click":_vm.resetFilters}},[_vm._v(" Сбросить параметры ")]):_vm._e()])],null,{
5988
5988
  showResult: _vm.showResult,
5989
5989
  resetFilters: _vm.resetFilters,
@@ -6000,7 +6000,7 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
6000
6000
  var staticRenderFns = []
6001
6001
 
6002
6002
 
6003
- // CONCATENATED MODULE: ./src/components/VFilters.vue?vue&type=template&id=640aa581&
6003
+ // CONCATENATED MODULE: ./src/components/VFilters.vue?vue&type=template&id=daf9f710&
6004
6004
 
6005
6005
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
6006
6006
  var es_promise = __webpack_require__("e6cf");
@@ -7017,7 +7017,7 @@ var VFiltersvue_type_script_lang_js_unserialize = function unserialize(input) {
7017
7017
  fields: {
7018
7018
  deep: true,
7019
7019
  handler: function handler() {
7020
- this.setFilters(true);
7020
+ this.setFilters(!this.immediate);
7021
7021
  }
7022
7022
  },
7023
7023
  paramsToInclude: {
@@ -7067,8 +7067,6 @@ var VFiltersvue_type_script_lang_js_unserialize = function unserialize(input) {
7067
7067
 
7068
7068
  value = _value2[0];
7069
7069
  }
7070
- } else {
7071
- value = paramsValue;
7072
7070
  }
7073
7071
 
7074
7072
  _this2.addEditedField(field._name);
@@ -7191,7 +7189,7 @@ var VFiltersvue_type_script_lang_js_unserialize = function unserialize(input) {
7191
7189
  if (showResult) {
7192
7190
  this.showResult();
7193
7191
  } else {
7194
- this.immediate ? this.showResult() : this.requestCount();
7192
+ this.requestCount();
7195
7193
  }
7196
7194
  },
7197
7195
  requestCount: function requestCount() {