@mono-lit/utility 0.0.1 → 0.0.3
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.
- package/LICENSE.md +54 -54
- package/README.md +156 -156
- package/dist/{app-roots-BJsIxzjk.d.ts → app-roots-DK41xMWj.d.ts} +1 -2
- package/dist/config-node.d.ts +134 -188
- package/dist/config-node.js +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/{create-config-D3m6xTaQ.d.ts → create-config-B8IhX4ht.d.ts} +5 -3
- package/dist/fetching.d.ts +51 -46
- package/dist/fetching.js +163 -15
- package/dist/{index-C2hZeNkq.d.ts → index-BAy6tbOG.d.ts} +12 -6
- package/dist/{index-ClrZbU7n.d.ts → index-DYlzhHq7.d.ts} +83 -87
- package/dist/index.d.ts +3 -7
- package/dist/index.js +5 -3
- package/dist/{merge-file-C5nzi_MY.d.ts → merge-file-CLc3wxY4.d.ts} +5 -28
- package/dist/{mock-db-5mJTObSC.js → mock-db-4tTWrF-P.js} +12 -12
- package/dist/mock-db.d.ts +1 -1
- package/dist/mock-db.js +1 -1
- package/dist/mono-db.d.ts +1 -1
- package/dist/mono-db.js +115 -108
- package/dist/mono-prepare.d.ts +1 -1
- package/dist/mono-prepare.js +3 -2
- package/dist/mono-skills.d.ts +1 -1
- package/dist/mono-skills.js +39 -32
- package/dist/nuxt-layers.d.ts +4 -2
- package/dist/nuxt-runtime.d.ts +4 -5
- package/dist/nuxt-runtime.js +1 -1
- package/dist/nuxt.d.ts +42 -38
- package/dist/nuxt.js +153 -6
- package/dist/{runtime-C_IWNrAG.js → runtime-vs7U9Ed4.js} +394 -157
- package/dist/runtime.d.ts +68 -133
- package/dist/runtime.js +2 -2
- package/dist/{session-Bk985AIM.js → session-Bcig-rPi.js} +4 -4
- package/dist/{universal-B2eD9xho.d.ts → universal-BR0O7Qwk.d.ts} +8 -46
- package/dist/{universal-BNTo_83u.js → universal-DIVEzCvN.js} +3 -2
- package/dist/vite.d.ts +44 -41
- package/package.json +11 -15
package/LICENSE.md
CHANGED
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
# MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 YCEJ9999
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
22
|
-
|
|
23
|
-
---
|
|
24
|
-
|
|
25
|
-
## Third-party software
|
|
26
|
-
|
|
27
|
-
The MIT License above covers only the code written for this package. It does
|
|
28
|
-
**not** cover third-party packages these libraries depend on or work with. Each of
|
|
29
|
-
those keeps its own license.
|
|
30
|
-
|
|
31
|
-
### DevExtreme
|
|
32
|
-
|
|
33
|
-
**DevExtreme** is a product of **Developer Express Inc. ("DevExpress")** and is
|
|
34
|
-
licensed by DevExpress under its own terms, not by the copyright holder of this
|
|
35
|
-
package. `@mono-lit/utility` depends on `devextreme` and `devextreme-vue`, so installing
|
|
36
|
-
it downloads them, but:
|
|
37
|
-
|
|
38
|
-
- this package does **not** provide, sublicense, transfer or grant any DevExtreme
|
|
39
|
-
license;
|
|
40
|
-
- you are responsible for obtaining a valid DevExtreme license from DevExpress and
|
|
41
|
-
for complying with its End User License Agreement;
|
|
42
|
-
- DevExpress's license terms, not this file, govern your use of DevExtreme.
|
|
43
|
-
|
|
44
|
-
Official DevExpress licensing information:
|
|
45
|
-
|
|
46
|
-
- DevExtreme licensing: https://js.devexpress.com/Licensing/
|
|
47
|
-
- DevExtreme EULA: https://js.devexpress.com/EULAs/DevExtremeComplete/
|
|
48
|
-
|
|
49
|
-
For setting up your license key, see
|
|
50
|
-
[../devextreme/README.md](../devextreme/README.md).
|
|
51
|
-
|
|
52
|
-
"DevExpress" and "DevExtreme" are trademarks or registered trademarks of
|
|
53
|
-
Developer Express Inc. This project is not affiliated with or endorsed by
|
|
54
|
-
DevExpress.
|
|
1
|
+
# MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 YCEJ9999
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Third-party software
|
|
26
|
+
|
|
27
|
+
The MIT License above covers only the code written for this package. It does
|
|
28
|
+
**not** cover third-party packages these libraries depend on or work with. Each of
|
|
29
|
+
those keeps its own license.
|
|
30
|
+
|
|
31
|
+
### DevExtreme
|
|
32
|
+
|
|
33
|
+
**DevExtreme** is a product of **Developer Express Inc. ("DevExpress")** and is
|
|
34
|
+
licensed by DevExpress under its own terms, not by the copyright holder of this
|
|
35
|
+
package. `@mono-lit/utility` depends on `devextreme` and `devextreme-vue`, so installing
|
|
36
|
+
it downloads them, but:
|
|
37
|
+
|
|
38
|
+
- this package does **not** provide, sublicense, transfer or grant any DevExtreme
|
|
39
|
+
license;
|
|
40
|
+
- you are responsible for obtaining a valid DevExtreme license from DevExpress and
|
|
41
|
+
for complying with its End User License Agreement;
|
|
42
|
+
- DevExpress's license terms, not this file, govern your use of DevExtreme.
|
|
43
|
+
|
|
44
|
+
Official DevExpress licensing information:
|
|
45
|
+
|
|
46
|
+
- DevExtreme licensing: https://js.devexpress.com/Licensing/
|
|
47
|
+
- DevExtreme EULA: https://js.devexpress.com/EULAs/DevExtremeComplete/
|
|
48
|
+
|
|
49
|
+
For setting up your license key, see
|
|
50
|
+
[../devextreme/README.md](../devextreme/README.md).
|
|
51
|
+
|
|
52
|
+
"DevExpress" and "DevExtreme" are trademarks or registered trademarks of
|
|
53
|
+
Developer Express Inc. This project is not affiliated with or endorsed by
|
|
54
|
+
DevExpress.
|
package/README.md
CHANGED
|
@@ -1,157 +1,157 @@
|
|
|
1
|
-
# Mono Utils
|
|
2
|
-
|
|
3
|
-
A comprehensive utility library for Vue.js applications built around DevExtreme UI components, providing powerful data management, validation, and export capabilities.
|
|
4
|
-
|
|
5
|
-
## Features
|
|
6
|
-
|
|
7
|
-
- 🔧 **OData Integration** - Sophisticated OData client with batch operations, caching, and error handling
|
|
8
|
-
- 🎛️ **DevExtreme Helpers** - Utilities for data grids, lookups, and form components
|
|
9
|
-
- ✅ **Schema Validation** - Yup-based validation system with nested object support
|
|
10
|
-
- 📊 **Excel Export** - Advanced Excel export capabilities with custom formatting and formulas
|
|
11
|
-
- 🔔 **Notification System** - Notivue-based notification management
|
|
12
|
-
- 🚨 **Error Handling** - Comprehensive HTTP and OData error handling
|
|
13
|
-
- 🔄 **Data Manipulation** - Powerful utilities for data transformation and operations
|
|
14
|
-
|
|
15
|
-
## Installation
|
|
16
|
-
|
|
17
|
-
**From npmjs (public):**
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
pnpm add @mono-lit/utility
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
**From the Netlify registry:** add this to your project's `.npmrc`, then run the same `pnpm add`:
|
|
24
|
-
|
|
25
|
-
```ini
|
|
26
|
-
@mono-lit:registry=https://mono-libs.netlify.app/npm/
|
|
27
|
-
//mono-libs.netlify.app/npm/:_authToken=<REGISTRY_DOWNLOAD_TOKEN>
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
See the [repository README](https://github.com/mono-lit/core#install-in-your-project) for details.
|
|
31
|
-
|
|
32
|
-
## Dependencies
|
|
33
|
-
|
|
34
|
-
### Core Dependencies
|
|
35
|
-
|
|
36
|
-
These are the essential dependencies required for core functionality:
|
|
37
|
-
|
|
38
|
-
```bash
|
|
39
|
-
npm install notivue yup exceljs file-saver-es @odata2ts/http-client-fetch json-server change-case chokidar
|
|
40
|
-
```
|
|
41
|
-
|
|
42
|
-
**Note:** The additional dependencies (`json-server`, `change-case`, `chokidar`) are recommended for development and should be installed as devDependencies:
|
|
43
|
-
|
|
44
|
-
```bash
|
|
45
|
-
npm install --save-dev json-server change-case chokidar
|
|
46
|
-
```
|
|
47
|
-
|
|
48
|
-
### Optional DevExtreme Dependencies
|
|
49
|
-
|
|
50
|
-
**For DevExtreme UI Components:**
|
|
51
|
-
If you're using DevExtreme components, you'll also need:
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
npm install devextreme devextreme-vue
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
**Note:** The core data fetching, validation, and Excel export utilities work independently of any UI framework. You can use this library with Vue, React, Angular, or vanilla JavaScript.
|
|
58
|
-
|
|
59
|
-
## Quick Start
|
|
60
|
-
|
|
61
|
-
### Basic Setup
|
|
62
|
-
|
|
63
|
-
```vue
|
|
64
|
-
<script setup>
|
|
65
|
-
import { useUtils } from '@mono-lit/utility/runtime'
|
|
66
|
-
|
|
67
|
-
const utils = useUtils()
|
|
68
|
-
|
|
69
|
-
// Destructure the utilities you need
|
|
70
|
-
const {
|
|
71
|
-
notif,
|
|
72
|
-
validateAllSchema,
|
|
73
|
-
validateSchema,
|
|
74
|
-
replacerData,
|
|
75
|
-
exportExcel,
|
|
76
|
-
useFetchOData,
|
|
77
|
-
createFetcher,
|
|
78
|
-
advanceExportExcel
|
|
79
|
-
} = utils
|
|
80
|
-
</script>
|
|
81
|
-
```
|
|
82
|
-
|
|
83
|
-
### Usage Without DevExtreme
|
|
84
|
-
|
|
85
|
-
For users working with other UI frameworks (React, Angular, or vanilla JavaScript), you can still use the core data fetching, validation, and export utilities:
|
|
86
|
-
|
|
87
|
-
```javascript
|
|
88
|
-
import { useUtils } from '@mono-lit/utility/runtime'
|
|
89
|
-
|
|
90
|
-
const { useFetchOData, notif, advanceExportExcel } = useUtils()
|
|
91
|
-
|
|
92
|
-
// Fetch data
|
|
93
|
-
const { data, error } = await useFetchOData({
|
|
94
|
-
url: '/Users',
|
|
95
|
-
baseUrl: 'https://your-api.com/odata',
|
|
96
|
-
type: 'data'
|
|
97
|
-
})
|
|
98
|
-
|
|
99
|
-
if (error) {
|
|
100
|
-
notif({
|
|
101
|
-
message: error.message,
|
|
102
|
-
type: 'error'
|
|
103
|
-
})
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// Export to Excel
|
|
107
|
-
await advanceExportExcel({
|
|
108
|
-
title: 'User Report',
|
|
109
|
-
items: data,
|
|
110
|
-
config: {
|
|
111
|
-
columns: [
|
|
112
|
-
{ key: 'Id', title: 'ID', width: 10 },
|
|
113
|
-
{ key: 'Name', title: 'Name', width: 30 },
|
|
114
|
-
{ key: 'Email', title: 'Email', width: 40 }
|
|
115
|
-
]
|
|
116
|
-
}
|
|
117
|
-
})
|
|
118
|
-
```
|
|
119
|
-
|
|
120
|
-
## Documentation
|
|
121
|
-
|
|
122
|
-
- **[Data Fetching](./docs/data-fetching.md)** - OData integration, HTTP client, data manipulation
|
|
123
|
-
- **[Excel Export](./docs/excel-export.md)** - Advanced Excel export with formatting and formulas
|
|
124
|
-
- **[Validation](./docs/validation.md)** - Schema validation with Yup
|
|
125
|
-
- **[Notifications](./docs/notifications.md)** - Notivue-based notification system
|
|
126
|
-
- **[DevExtreme Integration](./docs/devextreme-integration.md)** - DevExtreme UI helpers and components
|
|
127
|
-
|
|
128
|
-
## API Reference
|
|
129
|
-
|
|
130
|
-
### useUtils Return Object
|
|
131
|
-
|
|
132
|
-
The main `useUtils()` function returns an object with the following utilities:
|
|
133
|
-
|
|
134
|
-
#### Core Utilities
|
|
135
|
-
- `notif` - Notification system
|
|
136
|
-
- `validateAllSchema` - Validate entire form with Yup
|
|
137
|
-
- `validateSchema` - Validate single field with Yup
|
|
138
|
-
- `validateAllSchemaCheck` - Check if any validation errors exist
|
|
139
|
-
- `clearSchemaValidation` - Clear all validation errors
|
|
140
|
-
|
|
141
|
-
#### Data Utilities
|
|
142
|
-
- `replacerData` - Add/update/remove items from arrays or DataSources
|
|
143
|
-
- `filterOrIn` - Create OData filter expressions
|
|
144
|
-
|
|
145
|
-
#### UI Components
|
|
146
|
-
- `exportExcel` - Basic Excel export
|
|
147
|
-
- `advanceExportExcel` - Advanced Excel export with formulas
|
|
148
|
-
|
|
149
|
-
#### OData & HTTP
|
|
150
|
-
- `useFetchOData` - Main OData fetching utility
|
|
151
|
-
- `createFetcher` - Create reusable fetchers
|
|
152
|
-
- `useNormalFetch` - Simple HTTP fetch utility
|
|
153
|
-
- `createUniqueFetcher` - Fetch unique records
|
|
154
|
-
|
|
155
|
-
## License
|
|
156
|
-
|
|
1
|
+
# Mono Utils
|
|
2
|
+
|
|
3
|
+
A comprehensive utility library for Vue.js applications built around DevExtreme UI components, providing powerful data management, validation, and export capabilities.
|
|
4
|
+
|
|
5
|
+
## Features
|
|
6
|
+
|
|
7
|
+
- 🔧 **OData Integration** - Sophisticated OData client with batch operations, caching, and error handling
|
|
8
|
+
- 🎛️ **DevExtreme Helpers** - Utilities for data grids, lookups, and form components
|
|
9
|
+
- ✅ **Schema Validation** - Yup-based validation system with nested object support
|
|
10
|
+
- 📊 **Excel Export** - Advanced Excel export capabilities with custom formatting and formulas
|
|
11
|
+
- 🔔 **Notification System** - Notivue-based notification management
|
|
12
|
+
- 🚨 **Error Handling** - Comprehensive HTTP and OData error handling
|
|
13
|
+
- 🔄 **Data Manipulation** - Powerful utilities for data transformation and operations
|
|
14
|
+
|
|
15
|
+
## Installation
|
|
16
|
+
|
|
17
|
+
**From npmjs (public):**
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
pnpm add @mono-lit/utility
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
**From the Netlify registry:** add this to your project's `.npmrc`, then run the same `pnpm add`:
|
|
24
|
+
|
|
25
|
+
```ini
|
|
26
|
+
@mono-lit:registry=https://mono-libs.netlify.app/npm/
|
|
27
|
+
//mono-libs.netlify.app/npm/:_authToken=<REGISTRY_DOWNLOAD_TOKEN>
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
See the [repository README](https://github.com/mono-lit/core#install-in-your-project) for details.
|
|
31
|
+
|
|
32
|
+
## Dependencies
|
|
33
|
+
|
|
34
|
+
### Core Dependencies
|
|
35
|
+
|
|
36
|
+
These are the essential dependencies required for core functionality:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npm install notivue yup exceljs file-saver-es @odata2ts/http-client-fetch json-server change-case chokidar
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
**Note:** The additional dependencies (`json-server`, `change-case`, `chokidar`) are recommended for development and should be installed as devDependencies:
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
npm install --save-dev json-server change-case chokidar
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### Optional DevExtreme Dependencies
|
|
49
|
+
|
|
50
|
+
**For DevExtreme UI Components:**
|
|
51
|
+
If you're using DevExtreme components, you'll also need:
|
|
52
|
+
|
|
53
|
+
```bash
|
|
54
|
+
npm install devextreme devextreme-vue
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**Note:** The core data fetching, validation, and Excel export utilities work independently of any UI framework. You can use this library with Vue, React, Angular, or vanilla JavaScript.
|
|
58
|
+
|
|
59
|
+
## Quick Start
|
|
60
|
+
|
|
61
|
+
### Basic Setup
|
|
62
|
+
|
|
63
|
+
```vue
|
|
64
|
+
<script setup>
|
|
65
|
+
import { useUtils } from '@mono-lit/utility/runtime'
|
|
66
|
+
|
|
67
|
+
const utils = useUtils()
|
|
68
|
+
|
|
69
|
+
// Destructure the utilities you need
|
|
70
|
+
const {
|
|
71
|
+
notif,
|
|
72
|
+
validateAllSchema,
|
|
73
|
+
validateSchema,
|
|
74
|
+
replacerData,
|
|
75
|
+
exportExcel,
|
|
76
|
+
useFetchOData,
|
|
77
|
+
createFetcher,
|
|
78
|
+
advanceExportExcel
|
|
79
|
+
} = utils
|
|
80
|
+
</script>
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
### Usage Without DevExtreme
|
|
84
|
+
|
|
85
|
+
For users working with other UI frameworks (React, Angular, or vanilla JavaScript), you can still use the core data fetching, validation, and export utilities:
|
|
86
|
+
|
|
87
|
+
```javascript
|
|
88
|
+
import { useUtils } from '@mono-lit/utility/runtime'
|
|
89
|
+
|
|
90
|
+
const { useFetchOData, notif, advanceExportExcel } = useUtils()
|
|
91
|
+
|
|
92
|
+
// Fetch data
|
|
93
|
+
const { data, error } = await useFetchOData({
|
|
94
|
+
url: '/Users',
|
|
95
|
+
baseUrl: 'https://your-api.com/odata',
|
|
96
|
+
type: 'data'
|
|
97
|
+
})
|
|
98
|
+
|
|
99
|
+
if (error) {
|
|
100
|
+
notif({
|
|
101
|
+
message: error.message,
|
|
102
|
+
type: 'error'
|
|
103
|
+
})
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// Export to Excel
|
|
107
|
+
await advanceExportExcel({
|
|
108
|
+
title: 'User Report',
|
|
109
|
+
items: data,
|
|
110
|
+
config: {
|
|
111
|
+
columns: [
|
|
112
|
+
{ key: 'Id', title: 'ID', width: 10 },
|
|
113
|
+
{ key: 'Name', title: 'Name', width: 30 },
|
|
114
|
+
{ key: 'Email', title: 'Email', width: 40 }
|
|
115
|
+
]
|
|
116
|
+
}
|
|
117
|
+
})
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
## Documentation
|
|
121
|
+
|
|
122
|
+
- **[Data Fetching](./docs/data-fetching.md)** - OData integration, HTTP client, data manipulation
|
|
123
|
+
- **[Excel Export](./docs/excel-export.md)** - Advanced Excel export with formatting and formulas
|
|
124
|
+
- **[Validation](./docs/validation.md)** - Schema validation with Yup
|
|
125
|
+
- **[Notifications](./docs/notifications.md)** - Notivue-based notification system
|
|
126
|
+
- **[DevExtreme Integration](./docs/devextreme-integration.md)** - DevExtreme UI helpers and components
|
|
127
|
+
|
|
128
|
+
## API Reference
|
|
129
|
+
|
|
130
|
+
### useUtils Return Object
|
|
131
|
+
|
|
132
|
+
The main `useUtils()` function returns an object with the following utilities:
|
|
133
|
+
|
|
134
|
+
#### Core Utilities
|
|
135
|
+
- `notif` - Notification system
|
|
136
|
+
- `validateAllSchema` - Validate entire form with Yup
|
|
137
|
+
- `validateSchema` - Validate single field with Yup
|
|
138
|
+
- `validateAllSchemaCheck` - Check if any validation errors exist
|
|
139
|
+
- `clearSchemaValidation` - Clear all validation errors
|
|
140
|
+
|
|
141
|
+
#### Data Utilities
|
|
142
|
+
- `replacerData` - Add/update/remove items from arrays or DataSources
|
|
143
|
+
- `filterOrIn` - Create OData filter expressions
|
|
144
|
+
|
|
145
|
+
#### UI Components
|
|
146
|
+
- `exportExcel` - Basic Excel export
|
|
147
|
+
- `advanceExportExcel` - Advanced Excel export with formulas
|
|
148
|
+
|
|
149
|
+
#### OData & HTTP
|
|
150
|
+
- `useFetchOData` - Main OData fetching utility
|
|
151
|
+
- `createFetcher` - Create reusable fetchers
|
|
152
|
+
- `useNormalFetch` - Simple HTTP fetch utility
|
|
153
|
+
- `createUniqueFetcher` - Fetch unique records
|
|
154
|
+
|
|
155
|
+
## License
|
|
156
|
+
|
|
157
157
|
This project is licensed under the MIT License.
|