@gravitee/graphene-core 2.12.3 → 2.13.0-graphene-135.fd7cbb8
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/__stories__/fixtures/index.d.ts +2 -1
- package/dist/__stories__/fixtures/index.d.ts.map +1 -1
- package/dist/__stories__/fixtures/json-schema-form/enum.fixture.d.ts +9 -0
- package/dist/__stories__/fixtures/json-schema-form/enum.fixture.d.ts.map +1 -0
- package/dist/__stories__/fixtures/json-schema-form/index.d.ts +3 -0
- package/dist/__stories__/fixtures/json-schema-form/index.d.ts.map +1 -0
- package/dist/__stories__/fixtures/{json-schema-form.fixture.d.ts → json-schema-form/playground.fixture.d.ts} +2 -2
- package/dist/__stories__/fixtures/json-schema-form/playground.fixture.d.ts.map +1 -0
- package/dist/__stories__/fixtures/json-schema-form-object-variants.fixture.d.ts +15 -0
- package/dist/__stories__/fixtures/json-schema-form-object-variants.fixture.d.ts.map +1 -0
- package/dist/composed/JsonSchemaForm/SchemaField.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/fields/__test-utils__/setupJsonSchemaForm.d.ts +13 -0
- package/dist/composed/JsonSchemaForm/fields/__test-utils__/setupJsonSchemaForm.d.ts.map +1 -0
- package/dist/composed/JsonSchemaForm/fields/boolean/BooleanField.d.ts +8 -0
- package/dist/composed/JsonSchemaForm/fields/boolean/BooleanField.d.ts.map +1 -0
- package/dist/composed/JsonSchemaForm/fields/enum/EnumField.d.ts +8 -0
- package/dist/composed/JsonSchemaForm/fields/enum/EnumField.d.ts.map +1 -0
- package/dist/composed/JsonSchemaForm/fields/enum/MultiSelectField.d.ts +8 -0
- package/dist/composed/JsonSchemaForm/fields/enum/MultiSelectField.d.ts.map +1 -0
- package/dist/composed/JsonSchemaForm/fields/enum/enumOptions.d.ts +11 -0
- package/dist/composed/JsonSchemaForm/fields/enum/enumOptions.d.ts.map +1 -0
- package/dist/composed/JsonSchemaForm/fields/null/NullField.d.ts +3 -0
- package/dist/composed/JsonSchemaForm/fields/null/NullField.d.ts.map +1 -0
- package/dist/composed/JsonSchemaForm/fields/number/NumberField.d.ts +8 -0
- package/dist/composed/JsonSchemaForm/fields/number/NumberField.d.ts.map +1 -0
- package/dist/composed/JsonSchemaForm/fields/object/ObjectField.d.ts +9 -0
- package/dist/composed/JsonSchemaForm/fields/object/ObjectField.d.ts.map +1 -0
- package/dist/composed/JsonSchemaForm/fields/string/StringField.d.ts +8 -0
- package/dist/composed/JsonSchemaForm/fields/string/StringField.d.ts.map +1 -0
- package/dist/composed/JsonSchemaForm/utils/fieldErrors.d.ts +6 -0
- package/dist/composed/JsonSchemaForm/utils/fieldErrors.d.ts.map +1 -0
- package/dist/composed/JsonSchemaForm/utils/resolveRefs.d.ts.map +1 -1
- package/dist/composed/JsonSchemaForm/utils/schemaShape.d.ts +5 -0
- package/dist/composed/JsonSchemaForm/utils/schemaShape.d.ts.map +1 -0
- package/dist/index.js +7113 -6538
- package/package.json +2 -1
- package/dist/__stories__/fixtures/json-schema-form.fixture.d.ts.map +0 -1
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
export { sampleApps } from './shell/app-switcher.fixture';
|
|
6
6
|
export { sampleEnvironments, sampleEnvironmentsForSidebar } from './shell/environment-picker.fixture';
|
|
7
7
|
export { agentManagementApps, agentManagementNavGroups, contextNavGroups, contextPageTabKeys, findContextLabel, findNavLabel, pageLayoutNavGroups, sampleNavGroups, } from './navigation.fixture';
|
|
8
|
-
export { jsonSchemaFormPlaygroundSchema } from './json-schema-form
|
|
8
|
+
export { jsonSchemaFormEnumExampleSchema, jsonSchemaFormPlaygroundSchema } from './json-schema-form';
|
|
9
|
+
export { jsonSchemaFormObjectVariantsSchema } from './json-schema-form-object-variants.fixture';
|
|
9
10
|
export { catalogApis } from './apim/api-catalog.fixture';
|
|
10
11
|
export { samplePlans } from './apim/plans.fixture';
|
|
11
12
|
export { pageLayoutPlaygroundBreadcrumbs } from './apim/page-layout-labels.fixture';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__stories__/fixtures/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAEtG,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,8BAA8B,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/__stories__/fixtures/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAEtG,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACZ,mBAAmB,EACnB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,+BAA+B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACrG,OAAO,EAAE,kCAAkC,EAAE,MAAM,4CAA4C,CAAC;AAChG,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AAEpF,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAEpE,OAAO,EAAE,SAAS,EAAE,UAAU,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { JsonSchema } from '../../../composed/JsonSchemaForm';
|
|
2
|
+
/**
|
|
3
|
+
* Mirrors ui-particles' `enumExample` (`gio-form-json-schema/json-schema-example/enum.ts`).
|
|
4
|
+
* Covers every variant US 3 ships: simple enum, enum with `gioConfig.enumLabelMap`, oneOf
|
|
5
|
+
* with const/title, enum behind a `$ref`, multi-select via array+uniqueItems+items.enum, and
|
|
6
|
+
* multi-select with labeled items. Used as a forcing function for ISO behavior with Particles.
|
|
7
|
+
*/
|
|
8
|
+
export declare const jsonSchemaFormEnumExampleSchema: JsonSchema;
|
|
9
|
+
//# sourceMappingURL=enum.fixture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enum.fixture.d.ts","sourceRoot":"","sources":["../../../../src/__stories__/fixtures/json-schema-form/enum.fixture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAElF;;;;;GAKG;AACH,eAAO,MAAM,+BAA+B,EAAE,UAmN7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/__stories__/fixtures/json-schema-form/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,+BAA+B,EAAE,MAAM,gBAAgB,CAAC;AACjE,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { JsonSchema } from '
|
|
1
|
+
import { JsonSchema } from '../../../composed/JsonSchemaForm';
|
|
2
2
|
/**
|
|
3
3
|
* Synthetic schema covering each primitive type, a `$ref` to a shared definition, an array
|
|
4
4
|
* with a custom `uniqueItemProperties` constraint, and a null-typed field. Designed to
|
|
5
5
|
* exercise resolveRefs + extractDefaults + jsonSchemaResolver end-to-end in US 1's shell.
|
|
6
6
|
*/
|
|
7
7
|
export declare const jsonSchemaFormPlaygroundSchema: JsonSchema;
|
|
8
|
-
//# sourceMappingURL=
|
|
8
|
+
//# sourceMappingURL=playground.fixture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"playground.fixture.d.ts","sourceRoot":"","sources":["../../../../src/__stories__/fixtures/json-schema-form/playground.fixture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAElF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,EAAE,UA8D5C,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { JsonSchema } from '../../composed/JsonSchemaForm';
|
|
2
|
+
/**
|
|
3
|
+
* Synthetic schema that exercises the four combinations of `ObjectField` rendering:
|
|
4
|
+
*
|
|
5
|
+
* | uiBorder | description |
|
|
6
|
+
* | -------- | ----------- |
|
|
7
|
+
* | default | absent | plain title + children, most minimal
|
|
8
|
+
* | default | present | title + description line + children
|
|
9
|
+
* | 'full' | absent | bordered card, legend on the border, no description
|
|
10
|
+
* | 'full' | present | bordered card with description below the legend
|
|
11
|
+
*
|
|
12
|
+
* Used by the `ObjectVariants` story to visually compare each combination side by side.
|
|
13
|
+
*/
|
|
14
|
+
export declare const jsonSchemaFormObjectVariantsSchema: JsonSchema;
|
|
15
|
+
//# sourceMappingURL=json-schema-form-object-variants.fixture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"json-schema-form-object-variants.fixture.d.ts","sourceRoot":"","sources":["../../../src/__stories__/fixtures/json-schema-form-object-variants.fixture.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iDAAiD,CAAC;AAElF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,kCAAkC,EAAE,UAwChD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SchemaField.d.ts","sourceRoot":"","sources":["../../../src/composed/JsonSchemaForm/SchemaField.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SchemaField.d.ts","sourceRoot":"","sources":["../../../src/composed/JsonSchemaForm/SchemaField.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAG7D,UAAU,gBAAgB;IACxB,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAG5B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;CACzB;AAMD,iBAAS,WAAW,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAS,EAAE,EAAE,gBAAgB,2CAuCjE;AAyBD,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,YAAY,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { FieldValues, UseFormReturn } from 'react-hook-form';
|
|
3
|
+
import { JsonSchema } from '../../models/json-schema.types';
|
|
4
|
+
declare function setupJsonSchemaForm(options: {
|
|
5
|
+
readonly schema: JsonSchema;
|
|
6
|
+
readonly defaultValues?: Record<string, unknown>;
|
|
7
|
+
readonly disabled?: boolean;
|
|
8
|
+
readonly render: (liftedSchema: JsonSchema) => ReactElement;
|
|
9
|
+
}): {
|
|
10
|
+
form: UseFormReturn<FieldValues>;
|
|
11
|
+
};
|
|
12
|
+
export { setupJsonSchemaForm };
|
|
13
|
+
//# sourceMappingURL=setupJsonSchemaForm.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setupJsonSchemaForm.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/__test-utils__/setupJsonSchemaForm.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAa,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,KAAK,WAAW,EAAW,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAWjE,iBAAS,mBAAmB,CAAC,OAAO,EAAE;IACpC,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACjD,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,CAAC,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,KAAK,YAAY,CAAC;CAC7D,GAAG;IAAE,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,CAAA;CAAE,CAwBvC;AAED,OAAO,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { JsonSchema } from '../../models/json-schema.types';
|
|
2
|
+
interface BooleanFieldProps {
|
|
3
|
+
readonly schema: JsonSchema;
|
|
4
|
+
readonly name: string;
|
|
5
|
+
}
|
|
6
|
+
declare function BooleanField({ schema, name }: BooleanFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { BooleanField };
|
|
8
|
+
//# sourceMappingURL=BooleanField.d.ts.map
|
|
@@ -0,0 +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,gCAAgC,CAAC;AAIjE,UAAU,iBAAiB;IACzB,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,iBAAS,YAAY,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,iBAAiB,2CAoCxD;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { JsonSchema } from '../../models/json-schema.types';
|
|
2
|
+
interface EnumFieldProps {
|
|
3
|
+
readonly schema: JsonSchema;
|
|
4
|
+
readonly name: string;
|
|
5
|
+
}
|
|
6
|
+
declare function EnumField({ schema, name }: EnumFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { EnumField };
|
|
8
|
+
//# sourceMappingURL=EnumField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EnumField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/enum/EnumField.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAMjE,UAAU,cAAc;IACtB,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,iBAAS,SAAS,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,cAAc,2CAqClD;AAWD,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { JsonSchema } from '../../models/json-schema.types';
|
|
2
|
+
interface MultiSelectFieldProps {
|
|
3
|
+
readonly schema: JsonSchema;
|
|
4
|
+
readonly name: string;
|
|
5
|
+
}
|
|
6
|
+
declare function MultiSelectField({ schema, name }: MultiSelectFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { MultiSelectField };
|
|
8
|
+
//# sourceMappingURL=MultiSelectField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultiSelectField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/enum/MultiSelectField.tsx"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAKjE,UAAU,qBAAqB;IAC7B,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,iBAAS,gBAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,qBAAqB,2CA8EhE;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { JsonSchema } from '../../models/json-schema.types';
|
|
2
|
+
interface EnumOption {
|
|
3
|
+
readonly raw: unknown;
|
|
4
|
+
readonly key: string;
|
|
5
|
+
readonly label: string;
|
|
6
|
+
}
|
|
7
|
+
declare function enumOptions(values: readonly unknown[], labelMap?: Record<string, string>): EnumOption[];
|
|
8
|
+
declare function oneOfConstOptions(oneOf: readonly JsonSchema[]): EnumOption[];
|
|
9
|
+
export { enumOptions, oneOfConstOptions };
|
|
10
|
+
export type { EnumOption };
|
|
11
|
+
//# sourceMappingURL=enumOptions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enumOptions.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/enum/enumOptions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAEjE,UAAU,UAAU;IAClB,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;IAGtB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAcD,iBAAS,WAAW,CAAC,MAAM,EAAE,SAAS,OAAO,EAAE,EAAE,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,UAAU,EAAE,CAMhG;AAID,iBAAS,iBAAiB,CAAC,KAAK,EAAE,SAAS,UAAU,EAAE,GAAG,UAAU,EAAE,CAMrE;AAED,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,CAAC;AAC1C,YAAY,EAAE,UAAU,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NullField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/null/NullField.tsx"],"names":[],"mappings":"AAGA,iBAAS,SAAS,SAEjB;AAED,OAAO,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { JsonSchema } from '../../models/json-schema.types';
|
|
2
|
+
interface NumberFieldProps {
|
|
3
|
+
readonly schema: JsonSchema;
|
|
4
|
+
readonly name: string;
|
|
5
|
+
}
|
|
6
|
+
declare function NumberField({ schema, name }: NumberFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { NumberField };
|
|
8
|
+
//# sourceMappingURL=NumberField.d.ts.map
|
|
@@ -0,0 +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,gCAAgC,CAAC;AAIjE,UAAU,gBAAgB;IACxB,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,iBAAS,WAAW,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,gBAAgB,2CAkDtD;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { JsonSchema } from '../../models/json-schema.types';
|
|
2
|
+
interface ObjectFieldProps {
|
|
3
|
+
readonly schema: JsonSchema;
|
|
4
|
+
readonly name?: string;
|
|
5
|
+
readonly depth: number;
|
|
6
|
+
}
|
|
7
|
+
declare function ObjectField({ schema, name, depth }: ObjectFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export { ObjectField };
|
|
9
|
+
//# sourceMappingURL=ObjectField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ObjectField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/object/ObjectField.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAGjE,UAAU,gBAAgB;IACxB,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAQD,iBAAS,WAAW,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,gBAAgB,2CA4B7D;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { JsonSchema } from '../../models/json-schema.types';
|
|
2
|
+
interface StringFieldProps {
|
|
3
|
+
readonly schema: JsonSchema;
|
|
4
|
+
readonly name: string;
|
|
5
|
+
}
|
|
6
|
+
declare function StringField({ schema, name }: StringFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { StringField };
|
|
8
|
+
//# sourceMappingURL=StringField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StringField.d.ts","sourceRoot":"","sources":["../../../../../src/composed/JsonSchemaForm/fields/string/StringField.tsx"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAIjE,UAAU,gBAAgB;IACxB,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,iBAAS,WAAW,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,gBAAgB,2CAuDtD;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +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;AAED,OAAO,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveRefs.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/utils/resolveRefs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D,iBAAS,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAEnD;
|
|
1
|
+
{"version":3,"file":"resolveRefs.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/utils/resolveRefs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAG9D,iBAAS,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAEnD;AA6ED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { JsonSchema } from '../models/json-schema.types';
|
|
2
|
+
declare function isOneOfConstSelect(schema: JsonSchema): boolean;
|
|
3
|
+
declare function isMultiSelectArray(schema: JsonSchema): boolean;
|
|
4
|
+
export { isMultiSelectArray, isOneOfConstSelect };
|
|
5
|
+
//# sourceMappingURL=schemaShape.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schemaShape.d.ts","sourceRoot":"","sources":["../../../../src/composed/JsonSchemaForm/utils/schemaShape.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAK9D,iBAAS,kBAAkB,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAMvD;AAID,iBAAS,kBAAkB,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAIvD;AAED,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAC"}
|