@limetech/lime-elements 39.12.0 → 39.12.1
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/CHANGELOG.md +7 -0
- package/dist/cjs/limel-form.cjs.entry.js +103 -178
- package/dist/collection/components/form/form.js +13 -16
- package/dist/collection/components/form/schema-cache.js +66 -0
- package/dist/esm/limel-form.entry.js +103 -178
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/p-f93163eb.entry.js +7 -0
- package/dist/types/components/form/form.d.ts +1 -0
- package/dist/types/components/form/schema-cache.d.ts +17 -0
- package/package.json +1 -2
- package/dist/lime-elements/p-fb6c42a6.entry.js +0 -7
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import Ajv from 'ajv';
|
|
2
|
+
/**
|
|
3
|
+
* Returns a compiled JSON Schema validator, using a cached version
|
|
4
|
+
* if the same schema content has been seen before.
|
|
5
|
+
*
|
|
6
|
+
* @param schema - the JSON Schema to compile
|
|
7
|
+
*/
|
|
8
|
+
export declare function getValidator(schema: Record<string, any>): Ajv.ValidateFunction;
|
|
9
|
+
/**
|
|
10
|
+
* Generates a deterministic ID from schema content, preserving any
|
|
11
|
+
* existing `$id` as a prefix. Used to work around RJSF #1563 where
|
|
12
|
+
* identical schemas need stable IDs to avoid validation cache collisions.
|
|
13
|
+
*
|
|
14
|
+
* @param schema - the JSON Schema to generate an ID for
|
|
15
|
+
*/
|
|
16
|
+
export declare function getSchemaId(schema: Record<string, any>): string;
|
|
17
|
+
//# sourceMappingURL=schema-cache.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@limetech/lime-elements",
|
|
3
|
-
"version": "39.12.
|
|
3
|
+
"version": "39.12.1",
|
|
4
4
|
"description": "Lime Elements",
|
|
5
5
|
"author": "Lime Technologies",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -84,7 +84,6 @@
|
|
|
84
84
|
"puppeteer": "^19.11.1",
|
|
85
85
|
"react": "^19.1.1",
|
|
86
86
|
"react-dom": "^19.1.1",
|
|
87
|
-
"react-shadow-dom-retarget-events": "^1.1.0",
|
|
88
87
|
"rehype-parse": "^9.0.1",
|
|
89
88
|
"rehype-raw": "^7.0.0",
|
|
90
89
|
"rehype-sanitize": "^6.0.0",
|