@gravitee/graphene-core 3.29.3-fix-json-schema-form-array-ux.f8a5478 → 3.29.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/dist/{CodeEditorField-Cp5OWo1-.js → CodeEditorField-CMymmkQA.js} +6 -6
- package/dist/{SchemaBanner-B0ZEWe3Y.js → SchemaBanner-CdGB5Bfw.js} +7 -10
- package/dist/__stories__/fixtures/json-schema-form/array.fixture.d.ts +0 -2
- package/dist/__stories__/fixtures/json-schema-form/array.fixture.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/SchemaField.d.ts +2 -2
- package/dist/composed/JsonSchemaForm/SchemaField.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/fields/array/ArrayField.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/fields/array/HeadersArrayField.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/fields/array/use-array-field.d.ts +0 -4
- package/dist/composed/JsonSchemaForm/fields/array/use-array-field.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/fields/boolean/BooleanField.d.ts +1 -2
- package/dist/composed/JsonSchemaForm/fields/boolean/BooleanField.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/fields/enum/EnumField.d.ts +1 -2
- package/dist/composed/JsonSchemaForm/fields/enum/EnumField.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/fields/number/NumberField.d.ts +1 -2
- package/dist/composed/JsonSchemaForm/fields/number/NumberField.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/fields/object/ObjectField.d.ts +2 -2
- package/dist/composed/JsonSchemaForm/fields/object/ObjectField.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/fields/string/StringField.d.ts +1 -2
- package/dist/composed/JsonSchemaForm/fields/string/StringField.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/utils/fieldErrors.d.ts +1 -2
- package/dist/composed/JsonSchemaForm/utils/fieldErrors.d.ts.map +1 -1
- package/dist/index.js +7716 -7872
- package/dist/styles/globals.css +1 -1
- package/package.json +1 -2
- package/dist/composed/JsonSchemaForm/fields/array/BlockableButton.d.ts +0 -7
- package/dist/composed/JsonSchemaForm/fields/array/BlockableButton.d.ts.map +0 -1
- package/dist/composed/JsonSchemaForm/fields/array/itemCount.d.ts +0 -5
- package/dist/composed/JsonSchemaForm/fields/array/itemCount.d.ts.map +0 -1
- package/dist/composed/JsonSchemaForm/fields/array/itemTitle.d.ts +0 -6
- package/dist/composed/JsonSchemaForm/fields/array/itemTitle.d.ts.map +0 -1
- package/dist/composed/JsonSchemaForm/fields/array/summarizeItem.d.ts +0 -4
- package/dist/composed/JsonSchemaForm/fields/array/summarizeItem.d.ts.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as e, h as t, i as n, o as r, p as i, r as a, s as o, t as s, u as c } from "./SchemaBanner-CdGB5Bfw.js";
|
|
2
2
|
import { t as l } from "./CodeEditor-W9JPCQhc.js";
|
|
3
3
|
import { useEffect as u, useRef as d, useState as f } from "react";
|
|
4
4
|
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
@@ -13,7 +13,7 @@ function g(e) {
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
function _({ node: _, name: v }) {
|
|
16
|
-
let { control: y, basePath: b, disabled: x } =
|
|
16
|
+
let { control: y, basePath: b, disabled: x } = r(), { schema: S } = _, C = v ? b ? `${b}.${v}` : v : b, { field: w, fieldState: T } = o({
|
|
17
17
|
control: y,
|
|
18
18
|
name: C
|
|
19
19
|
}), E = a(S, v), D = T.invalid, O = typeof w.value == "string" ? w.value : "", [k] = f(() => O), A = S.gioConfig?.monacoEditorConfig?.language ?? (g(k) ? "json" : "plaintext"), j = d(w.onBlur);
|
|
@@ -23,10 +23,10 @@ function _({ node: _, name: v }) {
|
|
|
23
23
|
let M = d(null);
|
|
24
24
|
return u(() => () => {
|
|
25
25
|
M.current?.dispose(), M.current = null;
|
|
26
|
-
}, []), /* @__PURE__ */ m(
|
|
26
|
+
}, []), /* @__PURE__ */ m(c, {
|
|
27
27
|
"data-invalid": D,
|
|
28
28
|
children: [
|
|
29
|
-
/* @__PURE__ */ p(
|
|
29
|
+
/* @__PURE__ */ p(t, {
|
|
30
30
|
htmlFor: C,
|
|
31
31
|
required: S.isRequired,
|
|
32
32
|
children: E
|
|
@@ -43,8 +43,8 @@ function _({ node: _, name: v }) {
|
|
|
43
43
|
M.current?.dispose(), M.current = e.onDidBlurEditorText(() => j.current());
|
|
44
44
|
}
|
|
45
45
|
}),
|
|
46
|
-
S.description && /* @__PURE__ */ p(
|
|
47
|
-
/* @__PURE__ */ p(
|
|
46
|
+
S.description && /* @__PURE__ */ p(e, { children: S.description }),
|
|
47
|
+
/* @__PURE__ */ p(i, { errors: n(T.error) })
|
|
48
48
|
]
|
|
49
49
|
});
|
|
50
50
|
}
|
|
@@ -999,23 +999,20 @@ function yt() {
|
|
|
999
999
|
function bt(e) {
|
|
1000
1000
|
return e ? e.types ? Object.values(e.types).flat().filter((e) => typeof e == "string").map((e) => ({ message: e })) : [{ message: e.message }] : [];
|
|
1001
1001
|
}
|
|
1002
|
-
function xt(e) {
|
|
1003
|
-
return !e || typeof e != "object" ? 0 : typeof e.type == "string" ? 1 : Object.values(e).reduce((e, t) => e + xt(t), 0);
|
|
1004
|
-
}
|
|
1005
1002
|
//#endregion
|
|
1006
1003
|
//#region src/composed/JsonSchemaForm/utils/labelOf.ts
|
|
1007
|
-
function
|
|
1004
|
+
function xt(e) {
|
|
1008
1005
|
return e ? e.charAt(0).toUpperCase() + e.slice(1) : "Field";
|
|
1009
1006
|
}
|
|
1010
|
-
function
|
|
1011
|
-
return
|
|
1007
|
+
function St(e) {
|
|
1008
|
+
return xt(e.split(".").pop());
|
|
1012
1009
|
}
|
|
1013
|
-
function
|
|
1014
|
-
return typeof e.title == "string" && e.title.length > 0 ? e.title :
|
|
1010
|
+
function Ct(e, t) {
|
|
1011
|
+
return typeof e.title == "string" && e.title.length > 0 ? e.title : xt(t);
|
|
1015
1012
|
}
|
|
1016
1013
|
//#endregion
|
|
1017
1014
|
//#region src/composed/JsonSchemaForm/fields/banner/SchemaBanner.tsx
|
|
1018
|
-
function
|
|
1015
|
+
function wt({ banner: e }) {
|
|
1019
1016
|
let t = "title" in e ? e.title : void 0;
|
|
1020
1017
|
return /* @__PURE__ */ u(de, {
|
|
1021
1018
|
role: "note",
|
|
@@ -1034,4 +1031,4 @@ function Tt({ banner: e }) {
|
|
|
1034
1031
|
});
|
|
1035
1032
|
}
|
|
1036
1033
|
//#endregion
|
|
1037
|
-
export {
|
|
1034
|
+
export { g as A, me as C, D, le as E, y as M, p as N, C as O, m as P, de as S, fe as T, Ee as _, vt as a, ge as b, _t as c, Se as d, Te as f, ve as g, Ce as h, bt as i, h as j, ee as k, He as l, ye as m, St as n, yt as o, De as p, Ct as r, Ue as s, wt as t, xe as u, _e as v, pe as w, he as x, we as y };
|
|
@@ -4,8 +4,6 @@ import { JsonSchema } from '../../../composed/JsonSchemaForm';
|
|
|
4
4
|
* Covers every array variant US 4 ships:
|
|
5
5
|
* - simple string array
|
|
6
6
|
* - array of objects (collapsible items rendering nested fields)
|
|
7
|
-
* - array of objects carrying arrays of objects (nested rows start closed and sum up their
|
|
8
|
-
* item, each Add names what it adds, a rail bounds each open item)
|
|
9
7
|
* - array with `minItems` / `maxItems` constraints
|
|
10
8
|
* - array with `gioConfig.uiBorder: 'full'` opt-in (Graphene default = borderless)
|
|
11
9
|
* - headers-array via `gioConfig.uiType: 'gio-headers-array'`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"array.fixture.d.ts","sourceRoot":"","sources":["../../../../src/__stories__/fixtures/json-schema-form/array.fixture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAElF
|
|
1
|
+
{"version":3,"file":"array.fixture.d.ts","sourceRoot":"","sources":["../../../../src/__stories__/fixtures/json-schema-form/array.fixture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAElF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,gCAAgC,EAAE,UA8G9C,CAAC"}
|
|
@@ -4,9 +4,9 @@ interface SchemaFieldProps {
|
|
|
4
4
|
readonly node: SchemaNode;
|
|
5
5
|
readonly name?: string;
|
|
6
6
|
readonly depth?: number;
|
|
7
|
-
readonly
|
|
7
|
+
readonly hideTitle?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare function SchemaField({ node, name, depth,
|
|
9
|
+
declare function SchemaField({ node, name, depth, hideTitle }: SchemaFieldProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
10
10
|
export { SchemaField };
|
|
11
11
|
export type { SchemaFieldProps };
|
|
12
12
|
//# sourceMappingURL=SchemaField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaField.d.ts","sourceRoot":"","sources":["../../../src/composed/JsonSchemaForm/SchemaField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAgBhE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAejD,UAAU,gBAAgB;IACxB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAG1B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"SchemaField.d.ts","sourceRoot":"","sources":["../../../src/composed/JsonSchemaForm/SchemaField.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAC;AAgBhE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAejD,UAAU,gBAAgB;IACxB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAG1B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAExB,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;CAC9B;AAQD,iBAAS,WAAW,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAS,EAAE,SAAS,EAAE,EAAE,gBAAgB,+TAgC1E;AAsFD,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,YAAY,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArrayField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/array/ArrayField.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ArrayField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/array/ArrayField.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAQrD,UAAU,eAAe;IACvB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAUD,iBAAS,UAAU,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,eAAe,+BAuDzD;AA0ED,OAAO,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeadersArrayField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/array/HeadersArrayField.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"HeadersArrayField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/array/HeadersArrayField.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAQrD,UAAU,sBAAsB;IAC9B,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAKD,iBAAS,iBAAiB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,sBAAsB,+BAmEvE;AA6ED,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -7,12 +7,8 @@ declare function useArrayField(schema: JsonSchema, name: string | undefined): {
|
|
|
7
7
|
remove: import('react-hook-form').UseFieldArrayRemove;
|
|
8
8
|
fieldState: import('react-hook-form').ControllerFieldState;
|
|
9
9
|
isDisabled: boolean;
|
|
10
|
-
minItems: number;
|
|
11
|
-
maxItems: number;
|
|
12
10
|
atMin: boolean;
|
|
13
11
|
atMax: boolean;
|
|
14
|
-
addReason: string | undefined;
|
|
15
|
-
removeReason: string | undefined;
|
|
16
12
|
};
|
|
17
13
|
export { useArrayField };
|
|
18
14
|
//# sourceMappingURL=use-array-field.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-array-field.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/array/use-array-field.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;
|
|
1
|
+
{"version":3,"file":"use-array-field.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/array/use-array-field.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAEjE,iBAAS,aAAa,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS;;;;;;;;;;EAqBlE;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -2,8 +2,7 @@ import { SchemaNode } from '../../schema/types';
|
|
|
2
2
|
interface BooleanFieldProps {
|
|
3
3
|
readonly node: SchemaNode;
|
|
4
4
|
readonly name: string;
|
|
5
|
-
readonly hiddenTitle?: string;
|
|
6
5
|
}
|
|
7
|
-
declare function BooleanField({ node, name
|
|
6
|
+
declare function BooleanField({ node, name }: BooleanFieldProps): import("react").JSX.Element;
|
|
8
7
|
export { BooleanField };
|
|
9
8
|
//# sourceMappingURL=BooleanField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BooleanField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/boolean/BooleanField.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKrD,UAAU,iBAAiB;IACzB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"BooleanField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/boolean/BooleanField.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKrD,UAAU,iBAAiB;IACzB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,iBAAS,YAAY,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,iBAAiB,+BAsCtD;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -2,8 +2,7 @@ import { SchemaNode } from '../../schema/types';
|
|
|
2
2
|
interface EnumFieldProps {
|
|
3
3
|
readonly node: SchemaNode;
|
|
4
4
|
readonly name: string;
|
|
5
|
-
readonly hiddenTitle?: string;
|
|
6
5
|
}
|
|
7
|
-
declare function EnumField({ node, name
|
|
6
|
+
declare function EnumField({ node, name }: EnumFieldProps): import("react").JSX.Element;
|
|
8
7
|
export { EnumField };
|
|
9
8
|
//# sourceMappingURL=EnumField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnumField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/enum/EnumField.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAOrD,UAAU,cAAc;IACtB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"EnumField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/enum/EnumField.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAOrD,UAAU,cAAc;IACtB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,iBAAS,SAAS,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,cAAc,+BAyChD;AAWD,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -2,8 +2,7 @@ import { SchemaNode } from '../../schema/types';
|
|
|
2
2
|
interface NumberFieldProps {
|
|
3
3
|
readonly node: SchemaNode;
|
|
4
4
|
readonly name: string;
|
|
5
|
-
readonly hiddenTitle?: string;
|
|
6
5
|
}
|
|
7
|
-
declare function NumberField({ node, name
|
|
6
|
+
declare function NumberField({ node, name }: NumberFieldProps): import("react").JSX.Element;
|
|
8
7
|
export { NumberField };
|
|
9
8
|
//# sourceMappingURL=NumberField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/number/NumberField.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKrD,UAAU,gBAAgB;IACxB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"NumberField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/number/NumberField.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKrD,UAAU,gBAAgB;IACxB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,iBAAS,WAAW,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,gBAAgB,+BA4DpD;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -3,8 +3,8 @@ interface ObjectFieldProps {
|
|
|
3
3
|
readonly node: SchemaNode;
|
|
4
4
|
readonly name?: string;
|
|
5
5
|
readonly depth: number;
|
|
6
|
-
readonly
|
|
6
|
+
readonly hideTitle?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare function ObjectField({ node, name, depth,
|
|
8
|
+
declare function ObjectField({ node, name, depth, hideTitle }: ObjectFieldProps): import("react").JSX.Element;
|
|
9
9
|
export { ObjectField };
|
|
10
10
|
//# sourceMappingURL=ObjectField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/object/ObjectField.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAOrD,UAAU,gBAAgB;IACxB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAGvB,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"ObjectField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/object/ObjectField.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAOrD,UAAU,gBAAgB;IACxB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAGvB,QAAQ,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC;CAC9B;AAQD,iBAAS,WAAW,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,gBAAgB,+BA0DtE;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -2,8 +2,7 @@ import { SchemaNode } from '../../schema/types';
|
|
|
2
2
|
interface StringFieldProps {
|
|
3
3
|
readonly node: SchemaNode;
|
|
4
4
|
readonly name: string;
|
|
5
|
-
readonly hiddenTitle?: string;
|
|
6
5
|
}
|
|
7
|
-
declare function StringField({ node, name
|
|
6
|
+
declare function StringField({ node, name }: StringFieldProps): import("react").JSX.Element;
|
|
8
7
|
export { StringField };
|
|
9
8
|
//# sourceMappingURL=StringField.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StringField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/string/StringField.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"StringField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/string/StringField.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAKrD,UAAU,gBAAgB;IACxB,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAOD,iBAAS,WAAW,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,gBAAgB,+BAwDpD;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -2,6 +2,5 @@ import { FieldError } from 'react-hook-form';
|
|
|
2
2
|
declare function fieldErrorsAsArray(error: FieldError | undefined): Array<{
|
|
3
3
|
message?: string;
|
|
4
4
|
}>;
|
|
5
|
-
|
|
6
|
-
export { countFieldErrors, fieldErrorsAsArray };
|
|
5
|
+
export { fieldErrorsAsArray };
|
|
7
6
|
//# sourceMappingURL=fieldErrors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fieldErrors.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/utils/fieldErrors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAMlD,iBAAS,kBAAkB,CAAC,KAAK,EAAE,UAAU,GAAG,SAAS,GAAG,KAAK,CAAC;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAStF;
|
|
1
|
+
{"version":3,"file":"fieldErrors.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/utils/fieldErrors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAMlD,iBAAS,kBAAkB,CAAC,KAAK,EAAE,UAAU,GAAG,SAAS,GAAG,KAAK,CAAC;IAAE,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAStF;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|