@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.
@@ -25493,6 +25493,39 @@ var in_object_InObject = /*#__PURE__*/function (_BaseFilter) {
25493
25493
 
25494
25494
  return InObject;
25495
25495
  }(base_filter_BaseFilter);
25496
+ // CONCATENATED MODULE: ./src/components/GenericFilters/filters/in-array-of-object.ts
25497
+
25498
+
25499
+
25500
+
25501
+
25502
+ var in_array_of_object_InArrayOfObject = /*#__PURE__*/function (_BaseFilter) {
25503
+ _inherits(InArrayOfObject, _BaseFilter);
25504
+
25505
+ var _super = _createSuper(InArrayOfObject);
25506
+
25507
+ function InArrayOfObject() {
25508
+ var _this;
25509
+
25510
+ _classCallCheck(this, InArrayOfObject);
25511
+
25512
+ _this = _super.apply(this, arguments);
25513
+ _this.operator = 'in array of object';
25514
+ return _this;
25515
+ }
25516
+
25517
+ _createClass(InArrayOfObject, [{
25518
+ key: "applyFilter",
25519
+ value: function applyFilter() {
25520
+ return {
25521
+ searchItem: this.field + ':' + this.value,
25522
+ searchFieldItem: this.field + ':' + this.operator
25523
+ };
25524
+ }
25525
+ }]);
25526
+
25527
+ return InArrayOfObject;
25528
+ }(base_filter_BaseFilter);
25496
25529
  // CONCATENATED MODULE: ./src/components/GenericFilters/filters/in-array.ts
25497
25530
 
25498
25531
 
@@ -25645,6 +25678,7 @@ var group_by_filter_GroupByFilter = /*#__PURE__*/function (_BaseFilter) {
25645
25678
 
25646
25679
 
25647
25680
 
25681
+
25648
25682
 
25649
25683
  var filter_factory_FilterFactory = /*#__PURE__*/function () {
25650
25684
  function FilterFactory() {
@@ -25714,6 +25748,9 @@ var filter_factory_FilterFactory = /*#__PURE__*/function () {
25714
25748
  },
25715
25749
  in_array: function in_array(field, value) {
25716
25750
  return new in_array_InArray(field, value);
25751
+ },
25752
+ in_array_of_object: function in_array_of_object(field, value) {
25753
+ return new in_array_of_object_InArrayOfObject(field, value);
25717
25754
  }
25718
25755
  };
25719
25756
  }
@@ -25746,7 +25783,7 @@ var filter_convertor_FilterConverter = /*#__PURE__*/function () {
25746
25783
  var searchArray = [],
25747
25784
  searchFieldsArray = [];
25748
25785
  Object.keys(search).forEach(function (key) {
25749
- if (search[key] !== undefined && (search[key].operator && search[key].value || ['is_null', 'is_not_null'].includes(search[key].operator) || search[key].value === false)) {
25786
+ if (search[key].operator && search[key].value || ['is_null', 'is_not_null'].includes(search[key].operator) || search[key].value === false) {
25750
25787
  var filter = filterFactory.createFilter(key, search[key]);
25751
25788
 
25752
25789
  var _filter$applyFilter = filter.applyFilter(),