@phoenix-cg/v-filters 0.2.0-beta.6 → 0.2.0-beta.7

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.
@@ -4354,7 +4354,7 @@ if (typeof window !== 'undefined') {
4354
4354
  // Indicate to webpack that this file can be concatenated
4355
4355
  /* harmony default export */ var setPublicPath = (null);
4356
4356
 
4357
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"79d96166-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=0c0dfdb0&
4357
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"cf5396ca-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=765a2cf6&
4358
4358
  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",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)}},model:{value:(_vm.filters[field._name]),callback:function ($$v) {_vm.$set(_vm.filters, field._name, $$v)},expression:"filters[field._name]"}},'component',field._fieldProps || {},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,{
4359
4359
  showResult: _vm.showResult,
4360
4360
  resetFilters: _vm.resetFilters,
@@ -4371,7 +4371,7 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
4371
4371
  var staticRenderFns = []
4372
4372
 
4373
4373
 
4374
- // CONCATENATED MODULE: ./src/components/VFilters.vue?vue&type=template&id=0c0dfdb0&
4374
+ // CONCATENATED MODULE: ./src/components/VFilters.vue?vue&type=template&id=765a2cf6&
4375
4375
 
4376
4376
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.object.keys.js
4377
4377
  var es_object_keys = __webpack_require__("b64b");
@@ -5337,8 +5337,8 @@ var VFiltersvue_type_script_lang_js_unserialize = function unserialize(input) {
5337
5337
  value = field.data[0];
5338
5338
  }
5339
5339
  } else {
5340
- value = value.reduce(function (acc, currentValue) {
5341
- var isValueInData = value.data.some(function (dataValue) {
5340
+ value = field.value.reduce(function (acc, currentValue) {
5341
+ var isValueInData = field.data.some(function (dataValue) {
5342
5342
  return dataValue._id === currentValue._id || dataValue._id === currentValue;
5343
5343
  });
5344
5344