@gravitee/graphene-core 3.28.0-fix-json-schema-form-array-ux.250f003 → 3.28.0-fix-json-schema-form-array-ux.d988077
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/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/itemCount.d.ts +4 -0
- package/dist/composed/JsonSchemaForm/fields/array/itemCount.d.ts.map +1 -0
- package/dist/composed/JsonSchemaForm/fields/array/itemTitle.d.ts +2 -1
- package/dist/composed/JsonSchemaForm/fields/array/itemTitle.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/fields/enum/EnumField.d.ts +2 -2
- package/dist/composed/JsonSchemaForm/fields/enum/EnumField.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/fields/number/NumberField.d.ts +2 -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 +2 -2
- package/dist/composed/JsonSchemaForm/fields/string/StringField.d.ts.map +1 -1
- package/dist/index.js +444 -417
- package/package.json +2 -2
|
@@ -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 hiddenTitle?: string;
|
|
8
8
|
}
|
|
9
|
-
declare function SchemaField({ node, name, depth,
|
|
9
|
+
declare function SchemaField({ node, name, depth, hiddenTitle }: 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;IAGxB,QAAQ,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;IAGxB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAQD,iBAAS,WAAW,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAS,EAAE,WAAW,EAAE,EAAE,gBAAgB,+TAgC5E;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":"AAWA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"ArrayField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/array/ArrayField.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAYrD,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;AAeD,iBAAS,UAAU,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,eAAe,+BAwFzD;AA2ID,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":"AASA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAWrD,UAAU,sBAAsB;IAC9B,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAMD,iBAAS,iBAAiB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,sBAAsB,+BA8EvE;AA0FD,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"itemCount.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/array/itemCount.ts"],"names":[],"mappings":"AAGA,iBAAS,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAE5D;AAED,iBAAS,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAG/D;AAMD,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { JsonSchema } from '../../models/json-schema.types';
|
|
2
2
|
declare function itemTitleOf(itemsSchema: JsonSchema | undefined): string;
|
|
3
|
+
declare function asNoun(title: string): string;
|
|
3
4
|
declare function itemNounOf(itemsSchema: JsonSchema | undefined): string;
|
|
4
|
-
export { itemNounOf, itemTitleOf };
|
|
5
|
+
export { asNoun, itemNounOf, itemTitleOf };
|
|
5
6
|
//# sourceMappingURL=itemTitle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"itemTitle.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/array/itemTitle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAGjE,iBAAS,WAAW,CAAC,WAAW,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,CAGhE;AAID,iBAAS,UAAU,CAAC,WAAW,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,
|
|
1
|
+
{"version":3,"file":"itemTitle.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/array/itemTitle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAGjE,iBAAS,WAAW,CAAC,WAAW,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,CAGhE;AAID,iBAAS,MAAM,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAKrC;AAED,iBAAS,UAAU,CAAC,WAAW,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,CAE/D;AAED,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -2,8 +2,8 @@ import { SchemaNode } from '../../schema/types';
|
|
|
2
2
|
interface EnumFieldProps {
|
|
3
3
|
readonly node: SchemaNode;
|
|
4
4
|
readonly name: string;
|
|
5
|
-
readonly
|
|
5
|
+
readonly hiddenTitle?: string;
|
|
6
6
|
}
|
|
7
|
-
declare function EnumField({ node, name,
|
|
7
|
+
declare function EnumField({ node, name, hiddenTitle }: EnumFieldProps): import("react").JSX.Element;
|
|
8
8
|
export { EnumField };
|
|
9
9
|
//# 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;IAEtB,QAAQ,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;IAEtB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,iBAAS,SAAS,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,cAAc,+BA6C7D;AAWD,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -2,8 +2,8 @@ import { SchemaNode } from '../../schema/types';
|
|
|
2
2
|
interface NumberFieldProps {
|
|
3
3
|
readonly node: SchemaNode;
|
|
4
4
|
readonly name: string;
|
|
5
|
-
readonly
|
|
5
|
+
readonly hiddenTitle?: string;
|
|
6
6
|
}
|
|
7
|
-
declare function NumberField({ node, name,
|
|
7
|
+
declare function NumberField({ node, name, hiddenTitle }: NumberFieldProps): import("react").JSX.Element;
|
|
8
8
|
export { NumberField };
|
|
9
9
|
//# 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;IAEtB,QAAQ,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;IAEtB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,iBAAS,WAAW,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,gBAAgB,+BAgEjE;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 hiddenTitle?: string;
|
|
7
7
|
}
|
|
8
|
-
declare function ObjectField({ node, name, depth,
|
|
8
|
+
declare function ObjectField({ node, name, depth, hiddenTitle }: 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,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAQD,iBAAS,WAAW,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,EAAE,gBAAgB,+BA0DxE;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -2,8 +2,8 @@ import { SchemaNode } from '../../schema/types';
|
|
|
2
2
|
interface StringFieldProps {
|
|
3
3
|
readonly node: SchemaNode;
|
|
4
4
|
readonly name: string;
|
|
5
|
-
readonly
|
|
5
|
+
readonly hiddenTitle?: string;
|
|
6
6
|
}
|
|
7
|
-
declare function StringField({ node, name,
|
|
7
|
+
declare function StringField({ node, name, hiddenTitle }: StringFieldProps): import("react").JSX.Element;
|
|
8
8
|
export { StringField };
|
|
9
9
|
//# 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":"AAQA,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;IAEtB,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"StringField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/string/StringField.tsx"],"names":[],"mappings":"AAQA,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;IAEtB,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;CAC/B;AAOD,iBAAS,WAAW,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,gBAAgB,+BA4DjE;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|