@sphereon/ui-components.ssi-react 0.4.1-unstable.145 → 0.4.1-unstable.147

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.
@@ -2,8 +2,8 @@ import { DateFormat } from '../helpers';
2
2
  import Ajv, { AnySchemaObject } from 'ajv';
3
3
  import { DataValidationCxt } from 'ajv/dist/types';
4
4
  export declare const createFormViewAjv: () => Ajv;
5
- export declare const isDateFormatKeyword: {
5
+ export declare const isDateFormatAjvKeyword: {
6
6
  keyword: string;
7
7
  modifying: boolean;
8
- validate: (schema: DateFormat, data: any, parentSchema: AnySchemaObject | undefined, dataCxt: DataValidationCxt<string | number> | undefined) => boolean;
8
+ validate: (schema: DateFormat, data: any, parentSchema?: AnySchemaObject, dataCxt?: DataValidationCxt) => boolean;
9
9
  };
package/dist/utils/Ajv.js CHANGED
@@ -4,10 +4,10 @@ import addFormats from 'ajv-formats';
4
4
  export const createFormViewAjv = () => {
5
5
  const ajv = new Ajv({ useDefaults: true });
6
6
  addFormats(ajv);
7
- ajv.addKeyword(isDateFormatKeyword);
7
+ ajv.addKeyword(isDateFormatAjvKeyword);
8
8
  return ajv;
9
9
  };
10
- export const isDateFormatKeyword = {
10
+ export const isDateFormatAjvKeyword = {
11
11
  keyword: 'isoDateFormat',
12
12
  modifying: true,
13
13
  validate: (schema, data, parentSchema, dataCxt) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sphereon/ui-components.ssi-react",
3
3
  "private": false,
4
- "version": "0.4.1-unstable.145+a269d2a",
4
+ "version": "0.4.1-unstable.147+c1b206e",
5
5
  "description": "SSI UI components for React",
6
6
  "repository": "git@github.com:Sphereon-Opensource/UI-Components.git",
7
7
  "author": "Sphereon <dev@sphereon.com>",
@@ -50,7 +50,7 @@
50
50
  "@mui/x-date-pickers": "^8.18.0",
51
51
  "@sphereon/ssi-sdk.data-store": "0.34.1-feature.SSISDK.45.94",
52
52
  "@sphereon/ssi-types": "0.34.1-feature.SSISDK.45.94",
53
- "@sphereon/ui-components.core": "0.4.1-unstable.145+a269d2a",
53
+ "@sphereon/ui-components.core": "0.4.1-unstable.147+c1b206e",
54
54
  "@tanstack/react-table": "^8.9.3",
55
55
  "ajv": "^8.17.1",
56
56
  "ajv-formats": "^3.0.1",
@@ -72,5 +72,5 @@
72
72
  "peerDependencies": {
73
73
  "react": ">= 18"
74
74
  },
75
- "gitHead": "a269d2ac92bc763a502f84a0b125d6d931b0501f"
75
+ "gitHead": "c1b206e083abb11c76471340d682c0f96b1ac540"
76
76
  }