@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.
@@ -4,9 +4,9 @@ interface SchemaFieldProps {
4
4
  readonly node: SchemaNode;
5
5
  readonly name?: string;
6
6
  readonly depth?: number;
7
- readonly hideTitle?: boolean;
7
+ readonly hiddenTitle?: string;
8
8
  }
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;
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,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
+ {"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;AAWrD,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,+BAmFzD;AA2ID,OAAO,EAAE,UAAU,EAAE,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":"AAOA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAUrD,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,+BAqEvE;AAuFD,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
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,4 @@
1
+ declare function countBadge(length: number, maxItems: number): string;
2
+ declare function countSentence(length: number, maxItems: number): string;
3
+ export { countBadge, countSentence };
4
+ //# sourceMappingURL=itemCount.d.ts.map
@@ -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,CAG/D;AAED,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,CAAC"}
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 hideTitle?: boolean;
5
+ readonly hiddenTitle?: string;
6
6
  }
7
- declare function EnumField({ node, name, hideTitle }: EnumFieldProps): import("react").JSX.Element;
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,SAAS,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,iBAAS,SAAS,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,cAAc,+BAyC3D;AAWD,OAAO,EAAE,SAAS,EAAE,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 hideTitle?: boolean;
5
+ readonly hiddenTitle?: string;
6
6
  }
7
- declare function NumberField({ node, name, hideTitle }: NumberFieldProps): import("react").JSX.Element;
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,SAAS,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,iBAAS,WAAW,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,gBAAgB,+BA4D/D;AAED,OAAO,EAAE,WAAW,EAAE,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 hideTitle?: boolean;
6
+ readonly hiddenTitle?: string;
7
7
  }
8
- declare function ObjectField({ node, name, depth, hideTitle }: ObjectFieldProps): import("react").JSX.Element;
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,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"}
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 hideTitle?: boolean;
5
+ readonly hiddenTitle?: string;
6
6
  }
7
- declare function StringField({ node, name, hideTitle }: StringFieldProps): import("react").JSX.Element;
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,SAAS,CAAC,EAAE,OAAO,CAAC;CAC9B;AAOD,iBAAS,WAAW,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,gBAAgB,+BAwD/D;AAED,OAAO,EAAE,WAAW,EAAE,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"}