@ghentcdh/json-forms-vue 1.1.1 → 2.0.0

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.
Files changed (65) hide show
  1. package/composables/useFormEvents.d.ts +4 -2
  2. package/composables/useHttpClient.d.ts +12 -0
  3. package/forms/FormComponent.properties.d.ts +16 -0
  4. package/forms/FormComponent.vue.d.ts +28 -1
  5. package/forms/errorMode.d.ts +1 -0
  6. package/forms/modal/FormModal.properties.d.ts +11 -0
  7. package/forms/modal/FormModal.vue.d.ts +83 -5
  8. package/forms/modal/FormModalService.d.ts +29 -1
  9. package/forms/renderers/array/ArrayRenderers.d.ts +1 -1
  10. package/forms/renderers/controls/{composable/UseControlBinding.d.ts → composables/useControlBinding.d.ts} +8 -1
  11. package/forms/renderers/controls/{composable/UseFetchOption.d.ts → composables/useFetchOption.d.ts} +4 -3
  12. package/forms/renderers/controls/composables/useReadonlyBinding.d.ts +135 -0
  13. package/forms/renderers/controls/{composable/UseSelectBinding.d.ts → composables/useSelectBinding.d.ts} +6 -0
  14. package/forms/renderers/controls/index.d.ts +2 -2
  15. package/forms/renderers/controls/readonly/ControlReadonlyRenderer.vue.d.ts +7 -0
  16. package/forms/renderers/controls/readonly/ReadonlyLabel.vue.d.ts +254 -0
  17. package/forms/renderers/controls/readonly/__tests__/formatDate.spec.d.ts +1 -0
  18. package/forms/renderers/controls/readonly/constants.d.ts +2 -0
  19. package/forms/renderers/controls/readonly/displayValue/BooleanValue.vue.d.ts +46 -0
  20. package/forms/renderers/controls/readonly/displayValue/DateValue.vue.d.ts +46 -0
  21. package/forms/renderers/controls/readonly/displayValue/LinkValue.vue.d.ts +46 -0
  22. package/forms/renderers/controls/readonly/displayValue/MarkdownValue.vue.d.ts +46 -0
  23. package/forms/renderers/controls/readonly/displayValue/NotSetValue.vue.d.ts +46 -0
  24. package/forms/renderers/controls/readonly/displayValue/NumberValue.vue.d.ts +46 -0
  25. package/forms/renderers/controls/readonly/displayValue/ObjectValue.vue.d.ts +46 -0
  26. package/forms/renderers/controls/readonly/displayValue/StringValue.vue.d.ts +46 -0
  27. package/forms/renderers/controls/readonly/displayValue/ViewDetailValue.vue.d.ts +46 -0
  28. package/forms/renderers/controls/readonly/displayValue/displayValue.properties.d.ts +23 -0
  29. package/forms/renderers/controls/readonly/displayValue/formatDate.d.ts +25 -0
  30. package/forms/renderers/controls/readonly/displayValue/index.d.ts +1 -0
  31. package/forms/renderers/{layout/LayoutRenders.d.ts → controls/readonly/index.d.ts} +4 -4
  32. package/forms/renderers/controls/readonly/useDisplayValue.d.ts +1 -0
  33. package/forms/renderers/controls/{composable/resource.d.ts → resource.d.ts} +88 -13
  34. package/forms/renderers/index.d.ts +42 -2
  35. package/forms/{renderes.d.ts → renderers/layout/LayoutRenderers.d.ts} +9 -8
  36. package/forms/renderers/layout/ReadOnlyLayoutRenderer.vue.d.ts +7 -0
  37. package/http-client.d.ts +14 -0
  38. package/index.d.ts +15 -8
  39. package/index.js +1702 -1077
  40. package/package.json +14 -22
  41. package/repository/{crud.repository.d.ts → CrudRepository.d.ts} +9 -7
  42. package/repository/index.d.ts +1 -1
  43. package/table/TableComponent.properties.d.ts +49 -0
  44. package/table/TableComponent.vue.d.ts +92 -0
  45. package/table/TableToolbar.vue.d.ts +36 -0
  46. package/table/cells/index.d.ts +10 -0
  47. package/table/filter/{table-filter.vue.d.ts → FilterRowInput.vue.d.ts} +11 -7
  48. package/table/filter/TableFilter.vue.d.ts +16 -0
  49. package/table/index.d.ts +6 -2
  50. package/testers/__tests__/jsonforms-testers.spec.d.ts +1 -0
  51. package/testers/__tests__/tester.spec.d.ts +1 -0
  52. package/testers/jsonforms-testers.d.ts +27 -0
  53. package/testers/tester.d.ts +16 -0
  54. package/view/modal/ViewModal.properties.d.ts +82 -0
  55. package/{forms/FormWithActions.vue.d.ts → view/modal/ViewModal.vue.d.ts} +150 -51
  56. package/form.store.d.ts +0 -8
  57. package/forms/FormWithActions.properties.d.ts +0 -52
  58. package/forms/FormWithTable.properties.d.ts +0 -65
  59. package/forms/FormWithTable.vue.d.ts +0 -90
  60. package/renderes/tester.d.ts +0 -11
  61. package/table/table.component.properties.d.ts +0 -34
  62. package/table/table.component.vue.d.ts +0 -60
  63. package/table/table.store.d.ts +0 -29
  64. /package/forms/renderers/controls/{composable/UseInput.d.ts → composables/useInput.d.ts} +0 -0
  65. /package/forms/{renderer-registry.d.ts → renderers/registry.d.ts} +0 -0
@@ -1,7 +1,8 @@
1
1
  declare function __VLS_template(): {
2
2
  attrs: Partial<{}>;
3
3
  slots: {
4
- actions?(_: {}): any;
4
+ 'content-before'?(_: {}): any;
5
+ 'content-after'?(_: {}): any;
5
6
  };
6
7
  refs: {
7
8
  formRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
@@ -25,21 +26,36 @@ declare function __VLS_template(): {
25
26
  type: BooleanConstructor;
26
27
  default: boolean;
27
28
  };
29
+ readonly: {
30
+ type: BooleanConstructor;
31
+ default: boolean;
32
+ };
28
33
  formData: {
29
- type: import('vue').PropType<import('./FormComponent.properties').Data>;
34
+ type: import('vue').PropType<import('../../forms/FormComponent.properties').Data>;
30
35
  default: () => {};
31
36
  };
32
37
  errorMode: {
33
- type: import('vue').PropType<import('./errorMode').ErrorMode>;
38
+ type: import('vue').PropType<import('../..').ErrorMode>;
34
39
  default: "onChanges";
35
40
  };
41
+ http: {
42
+ type: import('vue').PropType<import('../..').HttpClient>;
43
+ default: null;
44
+ };
45
+ renderers: {
46
+ type: import('vue').PropType<any[]>;
47
+ default: null;
48
+ };
36
49
  }>> & Readonly<{}>, {
37
50
  markSubmitted: () => void;
38
51
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
39
- errorMode: import('./errorMode').ErrorMode;
40
52
  disabled: boolean;
41
53
  name: string;
42
- formData: import('./FormComponent.properties').Data;
54
+ readonly: boolean;
55
+ http: import('../..').HttpClient;
56
+ errorMode: import('../..').ErrorMode;
57
+ renderers: any[];
58
+ formData: import('../../forms/FormComponent.properties').Data;
43
59
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLFormElement, import('vue').ComponentProvideOptions, {
44
60
  P: {};
45
61
  B: {};
@@ -68,105 +84,158 @@ declare function __VLS_template(): {
68
84
  type: BooleanConstructor;
69
85
  default: boolean;
70
86
  };
87
+ readonly: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
71
91
  formData: {
72
- type: import('vue').PropType<import('./FormComponent.properties').Data>;
92
+ type: import('vue').PropType<import('../../forms/FormComponent.properties').Data>;
73
93
  default: () => {};
74
94
  };
75
95
  errorMode: {
76
- type: import('vue').PropType<import('./errorMode').ErrorMode>;
96
+ type: import('vue').PropType<import('../..').ErrorMode>;
77
97
  default: "onChanges";
78
98
  };
99
+ http: {
100
+ type: import('vue').PropType<import('../..').HttpClient>;
101
+ default: null;
102
+ };
103
+ renderers: {
104
+ type: import('vue').PropType<any[]>;
105
+ default: null;
106
+ };
79
107
  }>> & Readonly<{}>, {
80
108
  markSubmitted: () => void;
81
109
  }, {}, {}, {}, {
82
- errorMode: import('./errorMode').ErrorMode;
83
110
  disabled: boolean;
84
111
  name: string;
85
- formData: import('./FormComponent.properties').Data;
112
+ readonly: boolean;
113
+ http: import('../..').HttpClient;
114
+ errorMode: import('../..').ErrorMode;
115
+ renderers: any[];
116
+ formData: import('../../forms/FormComponent.properties').Data;
86
117
  }> | null;
87
118
  };
88
- rootEl: HTMLDivElement;
119
+ rootEl: HTMLDialogElement;
89
120
  };
90
121
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
91
122
  declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
92
- id: {
123
+ modalTitle: {
93
124
  type: StringConstructor;
94
125
  required: true;
95
126
  };
96
- createTitle: {
127
+ closeLabel: {
97
128
  type: StringConstructor;
98
- required: true;
129
+ default: string;
99
130
  };
100
- updateTitle: {
131
+ editLabel: {
101
132
  type: StringConstructor;
133
+ default: string;
134
+ };
135
+ deleteLabel: {
136
+ type: StringConstructor;
137
+ default: string;
102
138
  };
103
139
  schema: {
104
140
  type: import('vue').PropType<any>;
141
+ required: true;
105
142
  };
106
143
  uiSchema: {
107
144
  type: import('vue').PropType<any>;
145
+ required: true;
108
146
  };
109
- uri: {
110
- type: StringConstructor;
147
+ modalSize: {
148
+ type: import('vue').PropType<import('../../../../core/src/index.ts').SizeType>;
149
+ default: string;
150
+ };
151
+ onClose: {
152
+ type: import('vue').PropType<() => void>;
153
+ default: () => void;
111
154
  };
112
- scrollable: {
155
+ canEdit: {
113
156
  type: BooleanConstructor;
114
157
  default: boolean;
115
158
  };
116
- fullHeight: {
159
+ canDelete: {
117
160
  type: BooleanConstructor;
118
161
  default: boolean;
119
162
  };
120
- modelValue: {
163
+ data: {
121
164
  type: import('vue').PropType<any>;
122
- default: () => {};
165
+ required: true;
166
+ };
167
+ renderers: {
168
+ type: import('vue').PropType<any[]>;
169
+ default: null;
123
170
  };
124
- errorMode: {
125
- type: import('vue').PropType<import('./errorMode').ErrorMode>;
126
- default: "onBlur";
171
+ modelValue: {
172
+ type: import('vue').PropType<any>;
127
173
  };
128
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
129
- id: {
174
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
175
+ "update:modelValue": (value: any) => void;
176
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
177
+ modalTitle: {
130
178
  type: StringConstructor;
131
179
  required: true;
132
180
  };
133
- createTitle: {
181
+ closeLabel: {
134
182
  type: StringConstructor;
135
- required: true;
183
+ default: string;
184
+ };
185
+ editLabel: {
186
+ type: StringConstructor;
187
+ default: string;
136
188
  };
137
- updateTitle: {
189
+ deleteLabel: {
138
190
  type: StringConstructor;
191
+ default: string;
139
192
  };
140
193
  schema: {
141
194
  type: import('vue').PropType<any>;
195
+ required: true;
142
196
  };
143
197
  uiSchema: {
144
198
  type: import('vue').PropType<any>;
199
+ required: true;
145
200
  };
146
- uri: {
147
- type: StringConstructor;
201
+ modalSize: {
202
+ type: import('vue').PropType<import('../../../../core/src/index.ts').SizeType>;
203
+ default: string;
148
204
  };
149
- scrollable: {
205
+ onClose: {
206
+ type: import('vue').PropType<() => void>;
207
+ default: () => void;
208
+ };
209
+ canEdit: {
150
210
  type: BooleanConstructor;
151
211
  default: boolean;
152
212
  };
153
- fullHeight: {
213
+ canDelete: {
154
214
  type: BooleanConstructor;
155
215
  default: boolean;
156
216
  };
157
- modelValue: {
217
+ data: {
158
218
  type: import('vue').PropType<any>;
159
- default: () => {};
219
+ required: true;
160
220
  };
161
- errorMode: {
162
- type: import('vue').PropType<import('./errorMode').ErrorMode>;
163
- default: "onBlur";
221
+ renderers: {
222
+ type: import('vue').PropType<any[]>;
223
+ default: null;
224
+ };
225
+ modelValue: {
226
+ type: import('vue').PropType<any>;
164
227
  };
165
- }>> & Readonly<{}>, {
166
- errorMode: import('./errorMode').ErrorMode;
167
- modelValue: any;
168
- scrollable: boolean;
169
- fullHeight: boolean;
228
+ }>> & Readonly<{
229
+ "onUpdate:modelValue"?: ((value: any) => any) | undefined;
230
+ }>, {
231
+ onClose: () => void;
232
+ modalSize: "xs" | "sm" | "lg" | "xl";
233
+ renderers: any[];
234
+ closeLabel: string;
235
+ editLabel: string;
236
+ deleteLabel: string;
237
+ canEdit: boolean;
238
+ canDelete: boolean;
170
239
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
171
240
  formRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
172
241
  id: {
@@ -189,21 +258,36 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
189
258
  type: BooleanConstructor;
190
259
  default: boolean;
191
260
  };
261
+ readonly: {
262
+ type: BooleanConstructor;
263
+ default: boolean;
264
+ };
192
265
  formData: {
193
- type: import('vue').PropType<import('./FormComponent.properties').Data>;
266
+ type: import('vue').PropType<import('../../forms/FormComponent.properties').Data>;
194
267
  default: () => {};
195
268
  };
196
269
  errorMode: {
197
- type: import('vue').PropType<import('./errorMode').ErrorMode>;
270
+ type: import('vue').PropType<import('../..').ErrorMode>;
198
271
  default: "onChanges";
199
272
  };
273
+ http: {
274
+ type: import('vue').PropType<import('../..').HttpClient>;
275
+ default: null;
276
+ };
277
+ renderers: {
278
+ type: import('vue').PropType<any[]>;
279
+ default: null;
280
+ };
200
281
  }>> & Readonly<{}>, {
201
282
  markSubmitted: () => void;
202
283
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
203
- errorMode: import('./errorMode').ErrorMode;
204
284
  disabled: boolean;
205
285
  name: string;
206
- formData: import('./FormComponent.properties').Data;
286
+ readonly: boolean;
287
+ http: import('../..').HttpClient;
288
+ errorMode: import('../..').ErrorMode;
289
+ renderers: any[];
290
+ formData: import('../../forms/FormComponent.properties').Data;
207
291
  }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLFormElement, import('vue').ComponentProvideOptions, {
208
292
  P: {};
209
293
  B: {};
@@ -232,23 +316,38 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
232
316
  type: BooleanConstructor;
233
317
  default: boolean;
234
318
  };
319
+ readonly: {
320
+ type: BooleanConstructor;
321
+ default: boolean;
322
+ };
235
323
  formData: {
236
- type: import('vue').PropType<import('./FormComponent.properties').Data>;
324
+ type: import('vue').PropType<import('../../forms/FormComponent.properties').Data>;
237
325
  default: () => {};
238
326
  };
239
327
  errorMode: {
240
- type: import('vue').PropType<import('./errorMode').ErrorMode>;
328
+ type: import('vue').PropType<import('../..').ErrorMode>;
241
329
  default: "onChanges";
242
330
  };
331
+ http: {
332
+ type: import('vue').PropType<import('../..').HttpClient>;
333
+ default: null;
334
+ };
335
+ renderers: {
336
+ type: import('vue').PropType<any[]>;
337
+ default: null;
338
+ };
243
339
  }>> & Readonly<{}>, {
244
340
  markSubmitted: () => void;
245
341
  }, {}, {}, {}, {
246
- errorMode: import('./errorMode').ErrorMode;
247
342
  disabled: boolean;
248
343
  name: string;
249
- formData: import('./FormComponent.properties').Data;
344
+ readonly: boolean;
345
+ http: import('../..').HttpClient;
346
+ errorMode: import('../..').ErrorMode;
347
+ renderers: any[];
348
+ formData: import('../../forms/FormComponent.properties').Data;
250
349
  }> | null;
251
- }, HTMLDivElement>;
350
+ }, HTMLDialogElement>;
252
351
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
253
352
  export default _default;
254
353
  type __VLS_WithTemplateSlots<T, S> = T & {
package/form.store.d.ts DELETED
@@ -1,8 +0,0 @@
1
- export declare class FormStore {
2
- private readonly uri;
3
- constructor(uri: string);
4
- delete<T>(data: T & {
5
- id?: string;
6
- }): Promise<void>;
7
- save<T>(id: string | null, data: T): Promise<any>;
8
- }
@@ -1,52 +0,0 @@
1
- import { ExtractPublicPropTypes, PropType } from 'vue';
2
- import { ErrorMode } from './errorMode';
3
- export declare const FormWithActionsProperties: {
4
- /** Unique identifier used to namespace the inner form element. */
5
- id: {
6
- type: StringConstructor;
7
- required: true;
8
- };
9
- /** Title shown when creating a new record. */
10
- createTitle: {
11
- type: StringConstructor;
12
- required: true;
13
- };
14
- /** Title shown when editing an existing record. Falls back to `createTitle` when omitted. */
15
- updateTitle: {
16
- type: StringConstructor;
17
- };
18
- /** JSON schema describing the shape of the form data. */
19
- schema: {
20
- type: PropType<any>;
21
- };
22
- /** UI schema describing the layout and controls. */
23
- uiSchema: {
24
- type: PropType<any>;
25
- };
26
- /** REST endpoint used by `FormStore` to persist data. When omitted the form emits `submit` instead. */
27
- uri: {
28
- type: StringConstructor;
29
- };
30
- /** Enable vertical scrolling inside the form area. */
31
- scrollable: {
32
- type: BooleanConstructor;
33
- default: boolean;
34
- };
35
- /** Stretch the collapse wrapper to full height. */
36
- fullHeight: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- /** Two-way bound form data object. */
41
- modelValue: {
42
- type: PropType<any>;
43
- default: () => {};
44
- };
45
- /** When validation errors are shown (`'onBlur'`, `'onChange'`, `'onSubmit'`, `'always'`). */
46
- errorMode: {
47
- type: PropType<ErrorMode>;
48
- default: "onBlur";
49
- };
50
- };
51
- export type FormWithActionsProp = ExtractPublicPropTypes<typeof FormWithActionsProperties>;
52
- export declare const FormWithActionsEmits: string[];
@@ -1,65 +0,0 @@
1
- import { ExtractPublicPropTypes, PropType } from 'vue';
2
- import { JsonFormsLayout } from '../../../core/src/index.ts';
3
- import { TableAction } from '../../../../ui/src/index.ts';
4
- import { ErrorMode } from './errorMode';
5
- /** Generic record shape used by table rows. */
6
- export type Data = {
7
- [key: string]: any;
8
- };
9
- export declare const FormWithTableProperties: {
10
- /** Unique identifier used to namespace the inner table element. */
11
- id: {
12
- type: StringConstructor;
13
- required: true;
14
- };
15
- /** Heading displayed above the table. */
16
- tableTitle: {
17
- type: StringConstructor;
18
- required: true;
19
- };
20
- /** Title shown in the modal when creating a new record. */
21
- createTitle: {
22
- type: StringConstructor;
23
- required: true;
24
- };
25
- /** Title shown in the modal when editing a record. Falls back to `createTitle` when omitted. */
26
- updateTitle: {
27
- type: StringConstructor;
28
- };
29
- /** Override URI used to fetch table data. Defaults to `uri` when omitted. */
30
- dataUri: {
31
- type: StringConstructor;
32
- };
33
- /** Custom row actions rendered in the table. */
34
- tableActions: {
35
- type: PropType<TableAction[]>;
36
- };
37
- /** JSON Forms layout for the create/edit modal form. */
38
- form: {
39
- type: PropType<JsonFormsLayout>;
40
- };
41
- /** JSON Forms layout for the table. */
42
- table: {
43
- type: PropType<JsonFormsLayout>;
44
- };
45
- /** JSON Forms layout for the table filter. */
46
- filter: {
47
- type: PropType<JsonFormsLayout>;
48
- };
49
- /** REST endpoint used by `FormStore` for CRUD operations. */
50
- uri: {
51
- type: StringConstructor;
52
- };
53
- /** Default data pre-filled when creating a new record. */
54
- initialData: {
55
- type: PropType<Data>;
56
- default: () => {};
57
- };
58
- /** When validation errors are shown in the modal form. */
59
- errorMode: {
60
- type: PropType<ErrorMode>;
61
- default: "onBlur";
62
- };
63
- };
64
- export type FormWithTableProp = ExtractPublicPropTypes<typeof FormWithTableProperties>;
65
- export declare const FormWithTableEmits: string[];
@@ -1,90 +0,0 @@
1
- import { Data } from './FormWithTable.properties';
2
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
- id: {
4
- type: StringConstructor;
5
- required: true;
6
- };
7
- tableTitle: {
8
- type: StringConstructor;
9
- required: true;
10
- };
11
- createTitle: {
12
- type: StringConstructor;
13
- required: true;
14
- };
15
- updateTitle: {
16
- type: StringConstructor;
17
- };
18
- dataUri: {
19
- type: StringConstructor;
20
- };
21
- tableActions: {
22
- type: import('vue').PropType<import('../../../../ui/src/index.ts').TableAction[]>;
23
- };
24
- form: {
25
- type: import('vue').PropType<import('../../../core/src/index.ts').JsonFormsLayout>;
26
- };
27
- table: {
28
- type: import('vue').PropType<import('../../../core/src/index.ts').JsonFormsLayout>;
29
- };
30
- filter: {
31
- type: import('vue').PropType<import('../../../core/src/index.ts').JsonFormsLayout>;
32
- };
33
- uri: {
34
- type: StringConstructor;
35
- };
36
- initialData: {
37
- type: import('vue').PropType<Data>;
38
- default: () => {};
39
- };
40
- errorMode: {
41
- type: import('vue').PropType<import('./errorMode').ErrorMode>;
42
- default: "onBlur";
43
- };
44
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
45
- id: {
46
- type: StringConstructor;
47
- required: true;
48
- };
49
- tableTitle: {
50
- type: StringConstructor;
51
- required: true;
52
- };
53
- createTitle: {
54
- type: StringConstructor;
55
- required: true;
56
- };
57
- updateTitle: {
58
- type: StringConstructor;
59
- };
60
- dataUri: {
61
- type: StringConstructor;
62
- };
63
- tableActions: {
64
- type: import('vue').PropType<import('../../../../ui/src/index.ts').TableAction[]>;
65
- };
66
- form: {
67
- type: import('vue').PropType<import('../../../core/src/index.ts').JsonFormsLayout>;
68
- };
69
- table: {
70
- type: import('vue').PropType<import('../../../core/src/index.ts').JsonFormsLayout>;
71
- };
72
- filter: {
73
- type: import('vue').PropType<import('../../../core/src/index.ts').JsonFormsLayout>;
74
- };
75
- uri: {
76
- type: StringConstructor;
77
- };
78
- initialData: {
79
- type: import('vue').PropType<Data>;
80
- default: () => {};
81
- };
82
- errorMode: {
83
- type: import('vue').PropType<import('./errorMode').ErrorMode>;
84
- default: "onBlur";
85
- };
86
- }>> & Readonly<{}>, {
87
- errorMode: import('./errorMode').ErrorMode;
88
- initialData: Data;
89
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
90
- export default _default;
@@ -1,11 +0,0 @@
1
- export declare const isAutoCompleteControl: import('@jsonforms/core/src/testers/testers').Tester;
2
- export declare const isTextAreaControl: import('@jsonforms/core/src/testers/testers').Tester;
3
- export declare const isStringFormat: import('@jsonforms/core/src/testers/testers').Tester;
4
- export declare const isMarkdownControl: import('@jsonforms/core/src/testers/testers').Tester;
5
- export declare const isArrayRenderer: import('@jsonforms/core/src/testers/testers').Tester;
6
- export declare const isCustomControl: (customType: string) => import('@jsonforms/core/src/testers/testers').Tester;
7
- export declare const isMultiselectControl: import('@jsonforms/core/src/testers/testers').Tester;
8
- export declare const isSelectControl: import('@jsonforms/core/src/testers/testers').Tester;
9
- export declare const isBooleanControl: import('@jsonforms/core/src/testers/testers').Tester;
10
- export declare const isNumberFormat: import('@jsonforms/core/src/testers/testers').Tester;
11
- export declare const isIntegerFormat: import('@jsonforms/core/src/testers/testers').Tester;
@@ -1,34 +0,0 @@
1
- import { JsonSchema, Layout } from '@jsonforms/core';
2
- import { PropType } from 'vue';
3
- import { TableAction } from '../../../../ui/src/index.ts';
4
- export declare const TableComponentProperties: {
5
- id: {
6
- type: StringConstructor;
7
- required: true;
8
- };
9
- uiSchema: {
10
- type: PropType<Layout>;
11
- required: true;
12
- };
13
- schema: {
14
- type: PropType<JsonSchema>;
15
- required: true;
16
- };
17
- filterUiSchema: {
18
- type: PropType<Layout>;
19
- };
20
- filterSchema: {
21
- type: PropType<JsonSchema>;
22
- };
23
- uri: {
24
- type: StringConstructor;
25
- required: true;
26
- };
27
- reload: {
28
- type: NumberConstructor;
29
- };
30
- actions: {
31
- type: PropType<TableAction[]>;
32
- };
33
- };
34
- export declare const TableComponentEmits: string[];
@@ -1,60 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- id: {
3
- type: StringConstructor;
4
- required: true;
5
- };
6
- uiSchema: {
7
- type: import('vue').PropType<import('@jsonforms/core').Layout>;
8
- required: true;
9
- };
10
- schema: {
11
- type: import('vue').PropType<import('@jsonforms/core').JsonSchema>;
12
- required: true;
13
- };
14
- filterUiSchema: {
15
- type: import('vue').PropType<import('@jsonforms/core').Layout>;
16
- };
17
- filterSchema: {
18
- type: import('vue').PropType<import('@jsonforms/core').JsonSchema>;
19
- };
20
- uri: {
21
- type: StringConstructor;
22
- required: true;
23
- };
24
- reload: {
25
- type: NumberConstructor;
26
- };
27
- actions: {
28
- type: import('vue').PropType<import('../../../../ui/src/index.ts').TableAction[]>;
29
- };
30
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
31
- id: {
32
- type: StringConstructor;
33
- required: true;
34
- };
35
- uiSchema: {
36
- type: import('vue').PropType<import('@jsonforms/core').Layout>;
37
- required: true;
38
- };
39
- schema: {
40
- type: import('vue').PropType<import('@jsonforms/core').JsonSchema>;
41
- required: true;
42
- };
43
- filterUiSchema: {
44
- type: import('vue').PropType<import('@jsonforms/core').Layout>;
45
- };
46
- filterSchema: {
47
- type: import('vue').PropType<import('@jsonforms/core').JsonSchema>;
48
- };
49
- uri: {
50
- type: StringConstructor;
51
- required: true;
52
- };
53
- reload: {
54
- type: NumberConstructor;
55
- };
56
- actions: {
57
- type: import('vue').PropType<import('../../../../ui/src/index.ts').TableAction[]>;
58
- };
59
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
60
- export default _default;