@rjsf/utils 5.0.0-beta.2 → 5.0.0-beta.20
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/README.md +13 -9
- package/dist/index.d.ts +1556 -38
- package/dist/utils.cjs.development.js +1212 -800
- package/dist/utils.cjs.development.js.map +1 -1
- package/dist/utils.cjs.production.min.js +1 -1
- package/dist/utils.cjs.production.min.js.map +1 -1
- package/dist/utils.esm.js +1193 -800
- package/dist/utils.esm.js.map +1 -1
- package/dist/utils.umd.development.js +1209 -803
- package/dist/utils.umd.development.js.map +1 -1
- package/dist/utils.umd.production.min.js +1 -1
- package/dist/utils.umd.production.min.js.map +1 -1
- package/package.json +13 -13
- package/dist/allowAdditionalItems.d.ts +0 -8
- package/dist/asNumber.d.ts +0 -10
- package/dist/canExpand.d.ts +0 -11
- package/dist/constants.d.ts +0 -27
- package/dist/createSchemaUtils.d.ts +0 -9
- package/dist/dataURItoBlob.d.ts +0 -10
- package/dist/deepEquals.d.ts +0 -8
- package/dist/findSchemaDefinition.d.ts +0 -20
- package/dist/getInputProps.d.ts +0 -10
- package/dist/getSchemaType.d.ts +0 -13
- package/dist/getSubmitButtonOptions.d.ts +0 -10
- package/dist/getTemplate.d.ts +0 -10
- package/dist/getUiOptions.d.ts +0 -8
- package/dist/getWidget.d.ts +0 -13
- package/dist/guessType.d.ts +0 -7
- package/dist/hasWidget.d.ts +0 -10
- package/dist/isConstant.d.ts +0 -8
- package/dist/isCustomWidget.d.ts +0 -7
- package/dist/isFixedItems.d.ts +0 -8
- package/dist/isObject.d.ts +0 -7
- package/dist/localToUTC.d.ts +0 -6
- package/dist/mergeDefaultsWithFormData.d.ts +0 -15
- package/dist/mergeObjects.d.ts +0 -9
- package/dist/mergeSchemas.d.ts +0 -10
- package/dist/optionsList.d.ts +0 -10
- package/dist/orderProperties.d.ts +0 -11
- package/dist/pad.d.ts +0 -7
- package/dist/parseDateString.d.ts +0 -9
- package/dist/processSelectValue.d.ts +0 -11
- package/dist/rangeSpec.d.ts +0 -9
- package/dist/schema/getDefaultFormState.d.ts +0 -47
- package/dist/schema/getDisplayLabel.d.ts +0 -11
- package/dist/schema/getMatchingOption.d.ts +0 -10
- package/dist/schema/index.d.ts +0 -11
- package/dist/schema/isFilesArray.d.ts +0 -10
- package/dist/schema/isMultiSelect.d.ts +0 -9
- package/dist/schema/isSelect.d.ts +0 -9
- package/dist/schema/mergeValidationData.d.ts +0 -12
- package/dist/schema/retrieveSchema.d.ts +0 -98
- package/dist/schema/toIdSchema.d.ts +0 -13
- package/dist/schema/toPathSchema.d.ts +0 -11
- package/dist/schemaRequiresTrueValue.d.ts +0 -11
- package/dist/shouldRender.d.ts +0 -10
- package/dist/toConstant.d.ts +0 -9
- package/dist/toDateString.d.ts +0 -9
- package/dist/types.d.ts +0 -755
- package/dist/utcToLocal.d.ts +0 -6
package/README.md
CHANGED
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
<br />
|
|
9
9
|
<p align="center">
|
|
10
10
|
<a href="https://github.com/rjsf-team/react-jsonschema-form">
|
|
11
|
-
<img src="https://raw.githubusercontent.com/rjsf-team/react-jsonschema-form/
|
|
11
|
+
<img src="https://raw.githubusercontent.com/rjsf-team/react-jsonschema-form/7ebc86621d8df8c21f0c39bcca6d476f6f7a2051/packages/utils/logo.png" alt="Logo" width="120" height="120">
|
|
12
12
|
</a>
|
|
13
13
|
|
|
14
14
|
<h3 align="center">@rjsf/utils</h3>
|
|
15
15
|
|
|
16
16
|
<p align="center">
|
|
17
|
-
|
|
17
|
+
Utility functions for <a href="https://github.com/rjsf-team/react-jsonschema-form/"><code>react-jsonschema-form</code></a>.
|
|
18
18
|
<br />
|
|
19
19
|
<a href="https://react-jsonschema-form.readthedocs.io/en/stable/"><strong>Explore the docs »</strong></a>
|
|
20
20
|
<br />
|
|
@@ -31,7 +31,9 @@
|
|
|
31
31
|
|
|
32
32
|
## Table of Contents
|
|
33
33
|
|
|
34
|
+
- [Table of Contents](#table-of-contents)
|
|
34
35
|
- [About The Project](#about-the-project)
|
|
36
|
+
- [Built With](#built-with)
|
|
35
37
|
- [Getting Started](#getting-started)
|
|
36
38
|
- [Prerequisites](#prerequisites)
|
|
37
39
|
- [Installation](#installation)
|
|
@@ -44,12 +46,11 @@
|
|
|
44
46
|
|
|
45
47
|
## About The Project
|
|
46
48
|
|
|
47
|
-
Exports `utils`
|
|
49
|
+
Exports `utils` functions for `react-jsonschema-form`.
|
|
48
50
|
|
|
49
51
|
### Built With
|
|
50
52
|
|
|
51
53
|
- [react-jsonschema-form](https://github.com/rjsf-team/react-jsonschema-form/)
|
|
52
|
-
- [AJV](https://github.com/ajv-validator/ajv/)
|
|
53
54
|
- [TypeScript](https://www.typescriptlang.org/)
|
|
54
55
|
|
|
55
56
|
<!-- GETTING STARTED -->
|
|
@@ -70,6 +71,10 @@ yarn add @rjsf/utils
|
|
|
70
71
|
import * as Utils from '@rjsf/utils';
|
|
71
72
|
```
|
|
72
73
|
|
|
74
|
+
## Documentation
|
|
75
|
+
|
|
76
|
+
[Utility function documentation](https://react-jsonschema-form.readthedocs.io/en/stable/api-reference/utility-functions/)
|
|
77
|
+
|
|
73
78
|
<!-- ROADMAP -->
|
|
74
79
|
|
|
75
80
|
## Roadmap
|
|
@@ -99,8 +104,7 @@ GitHub repository: [https://github.com/rjsf-team/react-jsonschema-form](https://
|
|
|
99
104
|
[contributors-url]: https://github.com/rjsf-team/react-jsonschema-form/graphs/contributors
|
|
100
105
|
[license-shield]: https://img.shields.io/badge/license-Apache%202.0-blue.svg?style=flat-square
|
|
101
106
|
[license-url]: https://choosealicense.com/licenses/apache-2.0/
|
|
102
|
-
[npm-shield]: https://img.shields.io/npm/v/@rjsf/
|
|
103
|
-
[npm-url]: https://www.npmjs.com/package/@rjsf/
|
|
104
|
-
[npm-dl-shield]: https://img.shields.io/npm/dm/@rjsf/
|
|
105
|
-
[npm-dl-url]: https://www.npmjs.com/package/@rjsf/
|
|
106
|
-
[product-screenshot]: https://raw.githubusercontent.com/rjsf-team/react-jsonschema-form/e2e1181d1020f18cad0c80c661ddae28edb9794e/packages/material-ui/screenshot5.png
|
|
107
|
+
[npm-shield]: https://img.shields.io/npm/v/@rjsf/utils/latest.svg?style=flat-square
|
|
108
|
+
[npm-url]: https://www.npmjs.com/package/@rjsf/utils
|
|
109
|
+
[npm-dl-shield]: https://img.shields.io/npm/dm/@rjsf/utils.svg?style=flat-square
|
|
110
|
+
[npm-dl-url]: https://www.npmjs.com/package/@rjsf/utils
|