@ghentcdh/json-forms-vue 0.6.6 → 0.6.7

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.
@@ -1,99 +1,74 @@
1
- import { ControlElement, JsonFormsRendererRegistryEntry } from '@jsonforms/core';
2
- declare const controlRenderer: import('vue').DefineComponent<{
3
- schema: import('@jsonforms/core').JsonSchema;
4
- uischema: ControlElement;
5
- path: string;
6
- enabled?: boolean | undefined;
7
- renderers?: JsonFormsRendererRegistryEntry[] | undefined;
8
- cells?: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] | undefined;
9
- config?: any;
10
- }, {
11
- field: any;
12
- handleChange: (result: any) => void;
13
- control: import('vue').ComputedRef<{
14
- uischema: ControlElement;
15
- schema: NonNullable<import('@jsonforms/core').JsonSchema>;
16
- path: string;
17
- enabled: boolean;
18
- renderers: JsonFormsRendererRegistryEntry[];
19
- cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
20
- tester: import('@jsonforms/core').RankedTester;
21
- cell: any;
22
- }[];
23
- config: any;
24
- label: string;
25
- description: string;
26
- required: NonNullable<boolean | undefined>;
27
- i18nKeyPrefix: string;
28
- errors: string;
29
- data: any;
30
- rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
31
- id: string;
32
- visible: boolean;
33
- }>;
34
- controlWrapper: import('vue').ComputedRef<any>;
35
- isFocused: import('vue').Ref<boolean, boolean>;
36
- isTouched: import('vue').Ref<boolean, boolean>;
37
- onFocus: () => void;
38
- onBlur: () => void;
39
- styles: import('@jsonforms/vue-vanilla').Styles;
40
- appliedOptions: import('vue').ComputedRef<any>;
41
- onChange: (event: Event) => void;
42
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
43
- schema: import('@jsonforms/core').JsonSchema;
44
- uischema: ControlElement;
45
- path: string;
46
- enabled?: boolean | undefined;
47
- renderers?: JsonFormsRendererRegistryEntry[] | undefined;
48
- cells?: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] | undefined;
49
- config?: any;
50
- }> & Readonly<{}>, {
1
+ import { ControlElement } from '@jsonforms/core';
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ schema: {
4
+ required: true;
5
+ type: import('vue').PropType<import('@jsonforms/core').JsonSchema>;
6
+ };
7
+ uischema: {
8
+ required: true;
9
+ type: import('vue').PropType<ControlElement>;
10
+ };
11
+ path: {
12
+ required: true;
13
+ type: StringConstructor;
14
+ };
15
+ enabled: {
16
+ required: false;
17
+ type: BooleanConstructor;
18
+ default: undefined;
19
+ };
20
+ renderers: {
21
+ required: boolean;
22
+ type: import('vue').PropType<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>;
23
+ default: undefined;
24
+ };
25
+ cells: {
26
+ required: boolean;
27
+ type: import('vue').PropType<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
28
+ default: undefined;
29
+ };
30
+ config: {
31
+ required: boolean;
32
+ type: ObjectConstructor;
33
+ default: undefined;
34
+ };
35
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
36
+ schema: {
37
+ required: true;
38
+ type: import('vue').PropType<import('@jsonforms/core').JsonSchema>;
39
+ };
40
+ uischema: {
41
+ required: true;
42
+ type: import('vue').PropType<ControlElement>;
43
+ };
44
+ path: {
45
+ required: true;
46
+ type: StringConstructor;
47
+ };
48
+ enabled: {
49
+ required: false;
50
+ type: BooleanConstructor;
51
+ default: undefined;
52
+ };
53
+ renderers: {
54
+ required: boolean;
55
+ type: import('vue').PropType<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>;
56
+ default: undefined;
57
+ };
58
+ cells: {
59
+ required: boolean;
60
+ type: import('vue').PropType<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
61
+ default: undefined;
62
+ };
63
+ config: {
64
+ required: boolean;
65
+ type: ObjectConstructor;
66
+ default: undefined;
67
+ };
68
+ }>> & Readonly<{}>, {
51
69
  enabled: boolean;
52
70
  config: Record<string, any>;
53
- renderers: JsonFormsRendererRegistryEntry[];
71
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
54
72
  cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[];
55
- }, {}, {
56
- Autocomplete: import('vue').DefineComponent<{
57
- modelValue?: any;
58
- } & import('../../../../../../ui/src/index.ts').ControlProperties & {
59
- config?: import('../../../../../../ui/src/index.ts').AutoCompleteConfig;
60
- options?: Array<any>;
61
- valueKey?: string;
62
- labelKey?: string;
63
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
64
- blur: (event: Event) => any;
65
- change: (event: Event) => any;
66
- focus: (event: FocusEvent) => any;
67
- "update:modelValue": (value: any) => any;
68
- }, string, import('vue').PublicProps, Readonly<{
69
- modelValue?: any;
70
- } & import('../../../../../../ui/src/index.ts').ControlProperties & {
71
- config?: import('../../../../../../ui/src/index.ts').AutoCompleteConfig;
72
- options?: Array<any>;
73
- valueKey?: string;
74
- labelKey?: string;
75
- }> & Readonly<{
76
- onBlur?: ((event: Event) => any) | undefined;
77
- onChange?: ((event: Event) => any) | undefined;
78
- onFocus?: ((event: FocusEvent) => any) | undefined;
79
- "onUpdate:modelValue"?: ((value: any) => any) | undefined;
80
- }>, {
81
- options: Array<any>;
82
- label: string;
83
- id: string;
84
- required: boolean;
85
- description: string;
86
- styles: import('../../../../../../ui/src/index.ts').MyStyles;
87
- labelKey: string;
88
- errors: string;
89
- visible: boolean;
90
- enabled: boolean;
91
- isFocused: boolean;
92
- isTouched: boolean;
93
- hideLabel: boolean;
94
- valueKey: string;
95
- config: import('../../../../../../ui/src/index.ts').AutoCompleteConfig;
96
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLFieldSetElement>;
97
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
98
- export default controlRenderer;
99
- export declare const entry: JsonFormsRendererRegistryEntry;
73
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLFieldSetElement>;
74
+ export default _default;