Commit 5b4dba3
authored
Feat/add new feats (#65)
* feat: Implement filtering and pagination services for Angular, Preact, and SolidJS
- Added FilterService, DebouncedFilterService, and PaginatedFilterService for Angular.
- Created corresponding tests for filtering and pagination functionalities in Angular.
- Introduced useFilter, useFilteredState, useDebouncedFilter, and usePaginatedFilter hooks for Preact.
- Developed tests for Preact filtering and pagination hooks.
- Implemented useFilter, useDebouncedFilter, and usePaginatedFilter hooks for SolidJS.
- Added tests for SolidJS filtering and pagination hooks.
- Enhanced operator exports in the operators module for better usability.
* feat: Enhance build process and optimize package size by adding integration options and cleanup scripts
* feat: Add orderBy functionality to filter, enabling sorting of results by specified fields
feat: Implement sorting utilities and integrate with filter function
feat: Enhance API documentation to include orderBy options and examples
test: Add comprehensive tests for orderBy functionality in filter
refactor: Update memoization to support orderBy in cache key generation
refactor: Improve validation schemas to include orderBy field structures
* feat: Add support for Angular, SolidJS, and Preact frameworks in documentation and API
- Updated framework integrations in the documentation to include Angular, SolidJS, and Preact.
- Added new sections for Angular integration, including FilterService, DebouncedFilterService, and PaginatedFilterService.
- Introduced SolidJS and Preact integration examples with corresponding hooks.
- Updated version number in the framework guide to 5.7.0.
- Enhanced filtering options with `orderBy` and `limit` features in the configuration guide.
- Implemented `limit` functionality in the core filter logic to restrict the number of results returned.
- Updated operator processing to handle array operations more effectively.
- Added TypeScript support for new configuration options.
* feat: Update Angular integration with new FilterService, DebouncedFilterService, and PaginatedFilterService; enhance documentation and testing
* feat: Refactor filtering logic and enhance utility functions for improved performance and readability; integrate new validation and post-processing methods
* feat(geospatial): add geospatial operators for evaluating proximity, bounding boxes, and polygons
feat(logical): implement logical operators with comprehensive tests
feat(string): introduce string operators with support for regex and case sensitivity
refactor: reorganize operator imports for better structure
test(logical): add extensive tests for logical operators including nested scenarios
test(string): create tests for string operators covering various edge cases and combinations
* feat(tests): add comprehensive tests for operator exports and structure validation
* feat: add performance monitoring utility
- Introduced PerformanceMonitor class for tracking operation durations and metrics.
- Added methods for starting, tracking, and retrieving performance metrics.
- Implemented global performance monitor instance and utility functions for easy access.
- Added decorator for performance tracking on methods.
feat: implement sorting utilities
- Created sorting utilities including normalizeOrderBy, compareValues, and sortByFields.
- Added type definitions for sorting operations.
feat: add string helper functions
- Implemented lowercase and equals functions for string manipulation.
feat: introduce type guards
- Added type guard utilities for checking types such as isString, isObject, and isFunction.
- Implemented tests for type guard functions.
feat: create typed filter utilities
- Developed typedFilter function for type-safe filtering with dot notation support.
- Introduced TypedFilterBuilder class for building filter expressions fluently.
feat: enhance validation schemas and validators
- Created validation schemas for expressions and filter options using zod.
- Implemented validateExpression and validateOptions functions for input validation.
- Added comprehensive tests for validation logic and operator schemas.1 parent 3371e99 commit 5b4dba3
File tree
145 files changed
+5765
-1756
lines changed- __test__
- test-d
- docs
- .vitepress
- advanced
- api
- frameworks
- guide
- implementation
- project
- scripts
- src
- comparison
- deep
- object
- property
- constants
- core
- filter
- lazy
- integrations
- angular
- preact
- react
- solidjs
- operators
- array
- comparison
- datetime
- geospatial
- logical
- string
- predicate
- factory
- function
- object
- string
- types
- config
- datetime
- expression
- geospatial
- helpers
- lazy
- operators
- utils
- cache
- date-time
- geo-distance
- lazy-iterators
- memoization
- operator-detection
- pattern-matching
- performance-monitor
- sort
- string-helpers
- type-guards
- typed-filter
- validation
- schemas
- validator
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
145 files changed
+5765
-1756
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
11 | 16 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
18 | | - | |
| 22 | + | |
19 | 23 | | |
20 | | - | |
21 | | - | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
40 | 41 | | |
41 | | - | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
50 | 49 | | |
51 | 50 | | |
52 | 51 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
57 | 97 | | |
58 | 98 | | |
This file was deleted.
0 commit comments