@tripup-company/element-ui-extended 0.0.65 → 0.0.66

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.
@@ -25484,6 +25484,39 @@ var in_object_InObject = /*#__PURE__*/function (_BaseFilter) {
25484
25484
 
25485
25485
  return InObject;
25486
25486
  }(base_filter_BaseFilter);
25487
+ // CONCATENATED MODULE: ./src/components/GenericFilters/filters/in-array-of-object.ts
25488
+
25489
+
25490
+
25491
+
25492
+
25493
+ var in_array_of_object_InArrayOfObject = /*#__PURE__*/function (_BaseFilter) {
25494
+ _inherits(InArrayOfObject, _BaseFilter);
25495
+
25496
+ var _super = _createSuper(InArrayOfObject);
25497
+
25498
+ function InArrayOfObject() {
25499
+ var _this;
25500
+
25501
+ _classCallCheck(this, InArrayOfObject);
25502
+
25503
+ _this = _super.apply(this, arguments);
25504
+ _this.operator = 'in array of object';
25505
+ return _this;
25506
+ }
25507
+
25508
+ _createClass(InArrayOfObject, [{
25509
+ key: "applyFilter",
25510
+ value: function applyFilter() {
25511
+ return {
25512
+ searchItem: this.field + ':' + this.value,
25513
+ searchFieldItem: this.field + ':' + this.operator
25514
+ };
25515
+ }
25516
+ }]);
25517
+
25518
+ return InArrayOfObject;
25519
+ }(base_filter_BaseFilter);
25487
25520
  // CONCATENATED MODULE: ./src/components/GenericFilters/filters/in-array.ts
25488
25521
 
25489
25522
 
@@ -25636,6 +25669,7 @@ var group_by_filter_GroupByFilter = /*#__PURE__*/function (_BaseFilter) {
25636
25669
 
25637
25670
 
25638
25671
 
25672
+
25639
25673
 
25640
25674
  var filter_factory_FilterFactory = /*#__PURE__*/function () {
25641
25675
  function FilterFactory() {
@@ -25705,6 +25739,9 @@ var filter_factory_FilterFactory = /*#__PURE__*/function () {
25705
25739
  },
25706
25740
  in_array: function in_array(field, value) {
25707
25741
  return new in_array_InArray(field, value);
25742
+ },
25743
+ in_array_of_object: function in_array_of_object(field, value) {
25744
+ return new in_array_of_object_InArrayOfObject(field, value);
25708
25745
  }
25709
25746
  };
25710
25747
  }
@@ -25737,7 +25774,7 @@ var filter_convertor_FilterConverter = /*#__PURE__*/function () {
25737
25774
  var searchArray = [],
25738
25775
  searchFieldsArray = [];
25739
25776
  Object.keys(search).forEach(function (key) {
25740
- if (search[key] !== undefined && (search[key].operator && search[key].value || ['is_null', 'is_not_null'].includes(search[key].operator) || search[key].value === false)) {
25777
+ if (search[key].operator && search[key].value || ['is_null', 'is_not_null'].includes(search[key].operator) || search[key].value === false) {
25741
25778
  var filter = filterFactory.createFilter(key, search[key]);
25742
25779
 
25743
25780
  var _filter$applyFilter = filter.applyFilter(),