@crystaldesign/forms 24.15.0-beta.20 → 24.15.0-beta.22
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/build/esm/index.js
CHANGED
|
@@ -6,10 +6,11 @@ import React, { useState, useEffect, useMemo } from 'react';
|
|
|
6
6
|
import { useJsonForms, ResolvedJsonFormsDispatch, withJsonFormsLayoutProps, JsonFormsDispatch, JsonForms } from '@jsonforms/react';
|
|
7
7
|
import { materialRenderers, materialCells } from '@jsonforms/material-renderers';
|
|
8
8
|
import { withVanillaControlProps, JsonFormsStyleContext, vanillaStyles, vanillaRenderers, vanillaCells } from '@jsonforms/vanilla-renderers';
|
|
9
|
-
import { rankWith, and, uiTypeIs, or
|
|
9
|
+
import { rankWith, and, uiTypeIs, or } from '@jsonforms/core';
|
|
10
10
|
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
11
11
|
import Grid from '@mui/material/Grid2';
|
|
12
12
|
import { useTranslation, getLogger } from '@crystaldesign/diva-core';
|
|
13
|
+
import Ajv from 'ajv';
|
|
13
14
|
|
|
14
15
|
(function() {
|
|
15
16
|
const env = {"STAGE":"production"};
|
|
@@ -266,9 +267,8 @@ function FormComponent(_ref) {
|
|
|
266
267
|
triggerAlways = _ref.triggerAlways,
|
|
267
268
|
other = _objectWithoutProperties(_ref, _excluded);
|
|
268
269
|
var customAjv = useMemo(function () {
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
});
|
|
270
|
+
var ajv = new Ajv();
|
|
271
|
+
return ajv;
|
|
272
272
|
}, []);
|
|
273
273
|
var _useTranslatedSchema = useTranslatedSchema(schema, uischema),
|
|
274
274
|
translatedSchema = _useTranslatedSchema.schema,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../src/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAwE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC9H,OAAO,
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../../../src/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAG5D,OAAO,EAAwE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAC9H,OAAO,EAAE,aAAa,EAAE,8BAA8B,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAQ7F,UAAU,aAAc,SAAQ,SAAS;IACvC,QAAQ,CAAC,EAAE,UAAU,CAAC;CACvB;AAED,UAAU,YAAa,SAAQ,SAAS;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;OAGG;IACH,QAAQ,CAAC,EAAE,QAAQ,EAAE,CAAC;CACvB;AAED,UAAU,SAAS;IACjB;;;OAGG;IACH,MAAM,EAAE,WAAW,CAAC;IACpB;;;OAGG;IACH,QAAQ,EAAE,GAAG,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,GAAG,CAAC;IACV;;OAEG;IACH,cAAc,CAAC,EAAE,8BAA8B,EAAE,CAAC;IAClD;;;;OAIG;IACH,QAAQ,CAAC,CAAC,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,MAAM,GAAG,QAAQ,CAAC,GAAG,IAAI,CAAC;IAC/D;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED,MAAM,MAAM,KAAK,GAAG,aAAa,GAAG,YAAY,CAAC;AAEjD;;;;;;GAMG;AACH,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,EACpC,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,QAAoB,EACpB,cAAmB,EACnB,QAAQ,EACR,aAAa,EACb,GAAG,KAAK,EACT,EAAE,KAAK,4BA6DP"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/forms",
|
|
3
|
-
"version": "24.15.0-beta.
|
|
3
|
+
"version": "24.15.0-beta.22",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@testing-library/jest-dom": "^6.5.0",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"@jsonforms/core": "^3.4.1",
|
|
13
13
|
"@jsonforms/material-renderers": "^3.4.1",
|
|
14
14
|
"@jsonforms/react": "^3.4.1",
|
|
15
|
-
"@jsonforms/vanilla-renderers": "^3.4.1"
|
|
15
|
+
"@jsonforms/vanilla-renderers": "^3.4.1",
|
|
16
|
+
"ajv": "8.6.3"
|
|
16
17
|
},
|
|
17
18
|
"peerDependencies": {
|
|
18
19
|
"@emotion/react": "^11.4.1",
|
|
@@ -24,5 +25,5 @@
|
|
|
24
25
|
},
|
|
25
26
|
"module": "build/esm/index.js",
|
|
26
27
|
"types": "./build/types/forms/src/index.d.ts",
|
|
27
|
-
"gitHead": "
|
|
28
|
+
"gitHead": "4b89be8b7d5cd32c87b0120f849156f85c23137f"
|
|
28
29
|
}
|