@knime/jsonforms 3.0.0 → 3.1.1

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 (204) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/dist/AnyOfTwinlist-iPxS5C9Y.js +24 -0
  3. package/dist/CheckboxControl-C99OdmDL.js +41 -0
  4. package/dist/CheckboxesControl-BZhMhT9x.js +47 -0
  5. package/dist/ColorControl-D1dNnNbO.js +38 -0
  6. package/dist/ColorPreviewControl-B4zix2kb.js +67 -0
  7. package/dist/ComboBoxControl-BGWAD9IW.js +47 -0
  8. package/dist/DateControl-D0HfVrtz.js +49 -0
  9. package/dist/DateTimeControl-kTQZI9JC.js +103 -0
  10. package/dist/DateTimeFormatPickerControl-BiYcsKSn.js +44 -0
  11. package/dist/DropdownControl-jsayV3N5.js +42 -0
  12. package/dist/ExecutorCoresControl-DNo2SaC6.js +26 -0
  13. package/dist/ExecutorMemoryControl-C8RLYQdd.js +26 -0
  14. package/dist/FileUploadControl-Cv3xWTAS.js +58 -0
  15. package/dist/GridSelectionControl-BqtaGQYg.js +86 -0
  16. package/dist/HorizontalLayout-B_lETfCu.js +29 -0
  17. package/dist/IntegerControl-Cr8SO0xH.js +22 -0
  18. package/dist/IntervalControl-BdjKEwLy.js +53 -0
  19. package/dist/LinkControl-QMwkCJlj.js +37 -0
  20. package/dist/LoadingDropdown-BpU4Uiin.js +61 -0
  21. package/dist/ManualTwinlistControl-CPILp7H_.js +75 -0
  22. package/dist/NameFilter-CYYPRj-2.js +29 -0
  23. package/dist/NumberControl-ODy5GAlR.js +22 -0
  24. package/dist/NumberControlBase-Cl3QcvzB.js +56 -0
  25. package/dist/OneOfDropdown-CMPRAraI.js +44 -0
  26. package/dist/ProgressButtonControl-BimHrSZd.js +51 -0
  27. package/dist/RadioButtonsWithDescriptionControl-DJu3ODo7.js +58 -0
  28. package/dist/RadioControl-D_NE5s4n.js +22 -0
  29. package/dist/RadioControlBase-knF86px0.js +69 -0
  30. package/dist/ResourceControlBase-BVMVVYns.js +64 -0
  31. package/dist/RichTextControl-JIM904_P.js +72 -0
  32. package/dist/SectionLayout-BDYjoUXM.js +41 -0
  33. package/dist/SettingsSubPanelLayout-DVw_AsU6.js +53 -0
  34. package/dist/SimpleTwinlistControl-BNnOmbN-.js +24 -0
  35. package/dist/SingleSelectControl-CJV9VMZm.js +58 -0
  36. package/dist/SortListControl-D-ifoRva.js +71 -0
  37. package/dist/TeamAndSpacesControl-D1FvyeCV.js +56 -0
  38. package/dist/TeamResourceControl-DyCO6-Nk.js +26 -0
  39. package/dist/TextAreaControl-7QziyTgn.js +40 -0
  40. package/dist/TimeControl-B29iTlhP.js +71 -0
  41. package/dist/TimeframesControl-Wvu--J0V.js +46 -0
  42. package/dist/TwinlistControlBase-300a_qUR.js +55 -0
  43. package/dist/TypedStringFilter-Ek7bQ-7j.js +35 -0
  44. package/dist/ValueSwitchControl-H2t2Wgo6.js +22 -0
  45. package/dist/VerticalLayout-zV890HYr.js +32 -0
  46. package/dist/ZonedDateTimeControl-DoE2T9iz.js +88 -0
  47. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  48. package/dist/inject-DEsHVs5q.js +5 -0
  49. package/dist/knime-jsonforms.css +2 -1
  50. package/dist/knime-jsonforms.d.ts +1 -1
  51. package/dist/knime-jsonforms.js +3 -219
  52. package/dist/plainDateTimeUtils-5uOCJ4N5.js +58 -0
  53. package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
  54. package/dist/src/JsonFormsDialog.vue.d.ts +53 -435
  55. package/dist/src/higherOrderComponents/control/DescriptionPopover.vue.d.ts +2 -1
  56. package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +21 -21
  57. package/dist/src/layoutComponents/Form.vue.d.ts +9 -12
  58. package/dist/src/layoutComponents/HorizontalLayout.vue.d.ts +2 -1
  59. package/dist/src/layoutComponents/SectionLayout.vue.d.ts +9 -13
  60. package/dist/src/layoutComponents/SettingsSubPanelLayout.vue.d.ts +9 -13
  61. package/dist/src/layoutComponents/VerticalLayout.vue.d.ts +2 -1
  62. package/dist/src/layoutComponents/VerticalLayoutBase.vue.d.ts +10 -14
  63. package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +7 -15
  64. package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +11 -10
  65. package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayout.vue.d.ts +2 -1
  66. package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayoutItemControls.vue.d.ts +3 -2
  67. package/dist/src/loading/LoadingDialog.vue.d.ts +2 -1
  68. package/dist/src/renderers/checkboxRenderer.d.ts +5 -4
  69. package/dist/src/renderers/colorPreviewRenderer.d.ts +1 -1
  70. package/dist/src/renderers/defaultRenderers.d.ts +22 -21
  71. package/dist/src/renderers/fallbackRenderers.d.ts +6 -5
  72. package/dist/src/renderers/horizontalLayoutRenderer.d.ts +1 -1
  73. package/dist/src/renderers/linkRenderer.d.ts +1 -1
  74. package/dist/src/renderers/progressButtonRenderer.d.ts +3 -3
  75. package/dist/src/renderers/sectionLayoutRenderer.d.ts +3 -3
  76. package/dist/src/renderers/sectionSubPanelLayoutRenderer.d.ts +3 -3
  77. package/dist/src/renderers/simpleButtonRenderer.d.ts +3 -3
  78. package/dist/src/renderers/verticalLayoutRenderer.d.ts +2 -2
  79. package/dist/src/uiComponents/CheckboxControl.vue.d.ts +11 -14
  80. package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +2 -1
  81. package/dist/src/uiComponents/ColorControl.vue.d.ts +2 -1
  82. package/dist/src/uiComponents/ColorPreviewControl.vue.d.ts +2 -1
  83. package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +2 -1
  84. package/dist/src/uiComponents/DateControl.vue.d.ts +2 -1
  85. package/dist/src/uiComponents/DateTimeControl.vue.d.ts +2 -1
  86. package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +2 -1
  87. package/dist/src/uiComponents/DropdownControl.vue.d.ts +2 -1
  88. package/dist/src/uiComponents/FieldControl.vue.d.ts +12 -7
  89. package/dist/src/uiComponents/FieldRenderer.vue.d.ts +12 -7
  90. package/dist/src/uiComponents/FileUploadControl.vue.d.ts +2 -3
  91. package/dist/src/uiComponents/GridSelectionControl.vue.d.ts +2 -1
  92. package/dist/src/uiComponents/IntegerControl.vue.d.ts +2 -1
  93. package/dist/src/uiComponents/IntervalControl.vue.d.ts +2 -1
  94. package/dist/src/uiComponents/LinkControl.vue.d.ts +2 -1
  95. package/dist/src/uiComponents/NumberControl.vue.d.ts +2 -1
  96. package/dist/src/uiComponents/NumberControlBase.vue.d.ts +2 -1
  97. package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +2 -1
  98. package/dist/src/uiComponents/PasswordControl.vue.d.ts +2 -1
  99. package/dist/src/uiComponents/ProgressButtonControl.vue.d.ts +9 -13
  100. package/dist/src/uiComponents/QuantityControl.vue.d.ts +2 -1
  101. package/dist/src/uiComponents/RadioButtonsWithDescriptionControl.vue.d.ts +2 -1
  102. package/dist/src/uiComponents/RadioControl.vue.d.ts +2 -1
  103. package/dist/src/uiComponents/RadioControlBase.vue.d.ts +2 -1
  104. package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +9 -13
  105. package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +2 -1
  106. package/dist/src/uiComponents/SortListControl.vue.d.ts +2 -1
  107. package/dist/src/uiComponents/TeamAndSpacesControl.vue.d.ts +2 -1
  108. package/dist/src/uiComponents/TextAreaControl.vue.d.ts +2 -1
  109. package/dist/src/uiComponents/TextControl.vue.d.ts +3 -454
  110. package/dist/src/uiComponents/TextMessageControl.vue.d.ts +2 -1
  111. package/dist/src/uiComponents/TimeControl.vue.d.ts +2 -1
  112. package/dist/src/uiComponents/TimeframesControl.vue.d.ts +2 -1
  113. package/dist/src/uiComponents/UsernameControl.vue.d.ts +2 -1
  114. package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +2 -1
  115. package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +2 -1
  116. package/dist/src/uiComponents/colorPreview/ColorPreviewEmptyState.vue.d.ts +2 -1
  117. package/dist/src/uiComponents/colorPreview/GradientPreview.vue.d.ts +2 -1
  118. package/dist/src/uiComponents/colorPreview/PalettePreview.vue.d.ts +2 -1
  119. package/dist/src/uiComponents/loading/LoadingDropdown.vue.d.ts +3 -2
  120. package/dist/src/uiComponents/resourceControls/ExecutorCoresControl.vue.d.ts +2 -1
  121. package/dist/src/uiComponents/resourceControls/ExecutorMemoryControl.vue.d.ts +2 -1
  122. package/dist/src/uiComponents/resourceControls/ResourceControlBase.vue.d.ts +2 -1
  123. package/dist/src/uiComponents/resourceControls/TeamResourceControl.vue.d.ts +2 -1
  124. package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +2 -141
  125. package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +2 -1
  126. package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +2 -1
  127. package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +3 -2
  128. package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +2 -1
  129. package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +2 -1
  130. package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +2 -1
  131. package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +2 -1
  132. package/dist/src-DwqijroM.js +1269 -0
  133. package/dist/temporal-polyfill-D4u1I_Z-.js +3114 -0
  134. package/dist/testing.d.ts +1 -1
  135. package/dist/testing.js +108 -19153
  136. package/dist/toKdsPossibleValues-Dd_qzlUI.js +14 -0
  137. package/dist/useBuiltinValidations-B_Drc2y-.js +43 -0
  138. package/dist/usePossibleValues-Cx6iSt_X.js +15 -0
  139. package/dist/useProvidedState-478_KXOe.js +26 -0
  140. package/dist/useUnknownValuesInTwinlist-BvCTc3hC.js +205 -0
  141. package/dist/utils-DmZLgn8X.js +12 -0
  142. package/package.json +21 -11
  143. package/dist/AnyOfTwinlist-CcodfEXw.js +0 -23
  144. package/dist/CheckboxControl-B_MAR82s.js +0 -41
  145. package/dist/CheckboxesControl--bG4aF6O.js +0 -39
  146. package/dist/ColorControl-CEp2Ei7R.js +0 -29
  147. package/dist/ColorPreviewControl-j0uQH95J.js +0 -90
  148. package/dist/ComboBoxControl-BpJzwiv6.js +0 -39
  149. package/dist/DateControl-83Fi6P5y.js +0 -44
  150. package/dist/DateTimeControl-C-D8bFm3.js +0 -103
  151. package/dist/DateTimeFormatPickerControl-B9gl_66T.js +0 -35
  152. package/dist/DropdownControl-CtveoldX.js +0 -32
  153. package/dist/ExecutorCoresControl-CErHidL7.js +0 -39
  154. package/dist/ExecutorMemoryControl-DgSM86Yg.js +0 -35
  155. package/dist/FileUploadControl-BBfnxURy.js +0 -56
  156. package/dist/GridSelectionControl-BaI4j0Jj.js +0 -117
  157. package/dist/HorizontalLayout-D1SRCyhL.js +0 -26
  158. package/dist/IntegerControl-v93Xw4DJ.js +0 -21
  159. package/dist/IntervalControl-CVlO_mFO.js +0 -52
  160. package/dist/LinkControl-j8GrcZZG.js +0 -36
  161. package/dist/LoadingDropdown.vue_vue_type_script_setup_true_lang-DFSHuMQ6.js +0 -57
  162. package/dist/ManualTwinlistControl-BzJehuHs.js +0 -74
  163. package/dist/MultimodeTwinlistControl-Br0DrpsZ.js +0 -4
  164. package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CHcU__0y.js +0 -159
  165. package/dist/NameFilter-BjuVseuX.js +0 -25
  166. package/dist/NumberControl-BF76FEhD.js +0 -21
  167. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-DMTsK83k.js +0 -52
  168. package/dist/OneOfDropdown-DpXmZauV.js +0 -35
  169. package/dist/ProgressButtonControl-t8QMA22a.js +0 -52
  170. package/dist/RadioButtonsWithDescriptionControl-CeZ4qYCr.js +0 -58
  171. package/dist/RadioControl-DOn1Kre5.js +0 -21
  172. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-CExBvDXt.js +0 -57
  173. package/dist/ResourceControlBase-CX97xRiy.js +0 -70
  174. package/dist/RichTextControl-BrVmkMgh.js +0 -60
  175. package/dist/SectionHeading-YAJTwOE4.js +0 -61
  176. package/dist/SectionLayout-BYOxuxY2.js +0 -47
  177. package/dist/SettingsSubPanel-DgISjowU.js +0 -5
  178. package/dist/SettingsSubPanelLayout-BQJCnTqx.js +0 -69
  179. package/dist/SimpleButtonControl-GTX19t2_.js +0 -50
  180. package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js +0 -1284
  181. package/dist/SimpleTwinlistControl-DOH1_L25.js +0 -23
  182. package/dist/SingleSelectControl-mY_yYOyk.js +0 -58
  183. package/dist/SortListControl-D-Um5gEW.js +0 -81
  184. package/dist/TeamAndSpacesControl-fGumynvr.js +0 -66
  185. package/dist/TeamResourceControl--1Sj3-Ks.js +0 -35
  186. package/dist/TextAreaControl-Cwq-lNBk.js +0 -30
  187. package/dist/TextControl-MvbrNTGW.js +0 -4
  188. package/dist/TextControl.vue_vue_type_script_setup_true_lang-Cbv0bM2X.js +0 -53
  189. package/dist/TimeControl-WG0SC4_b.js +0 -71
  190. package/dist/TimeframesControl-CX5eKOGZ.js +0 -53
  191. package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-BKCvZF3X.js +0 -45
  192. package/dist/TypedStringFilter-BnWygKQJ.js +0 -27
  193. package/dist/ValueSwitchControl-BByKe7NK.js +0 -21
  194. package/dist/VerticalLayout-DIBkvSZ9.js +0 -30
  195. package/dist/VerticalLayoutBase-BEDnWcoh.js +0 -20
  196. package/dist/ZonedDateTimeControl-B45OygrC.js +0 -97
  197. package/dist/index-Blg1O3Fz.js +0 -15
  198. package/dist/index-_VUHzju5.js +0 -3210
  199. package/dist/magic-string.es-uPKorP4O.js +0 -663
  200. package/dist/plainDateTimeUtils-BZSKqp9i.js +0 -52
  201. package/dist/toKdsPossibleValues-BklBg3gG.js +0 -14
  202. package/dist/useBuiltinValidations-_4IBMopQ.js +0 -74
  203. package/dist/usePossibleValues-CXVLf00v.js +0 -16
  204. package/dist/useUnknownValuesInTwinlist-uXOCQkVS.js +0 -65
@@ -1,9 +1,29 @@
1
- import { CoreActions, JsonFormsCore, JsonSchema, UISchemaElement } from '@jsonforms/core';
1
+ import { JsonSchema, UISchemaElement } from '@jsonforms/core';
2
2
  import { default as Ajv } from 'ajv';
3
3
  import { NamedRenderer } from './higherOrderComponents/types';
4
4
  import { AlertParams } from './types/alert';
5
5
  import { StateProviderLocation } from './types/provided';
6
- type __VLS_Props = {
6
+ /**
7
+ * `JsonFormsDialog` renders a KNIME settings dialog from a JSON `schema` +
8
+ * `uischema` + `data` triple.
9
+ *
10
+ * It is the entry point of `@knime/jsonforms`, the KNIME
11
+ * [JSONForms](https://jsonforms.io/) integration built on top of
12
+ * [`@jsonforms/vue`](https://github.com/eclipsesource/jsonforms), and powers
13
+ * node dialogs and other schema-driven forms across our apps.
14
+ *
15
+ * A `renderers` prop is required. The simplest option is the ready-made
16
+ * `defaultRenderers` export, which covers the full set of KNIME Design System
17
+ * controls and layouts (text, number, dropdown, combo box, radio, value switch,
18
+ * twinlist, date/time, rich text, and more). If you need only a subset, build
19
+ * the renderers yourself with `toRenderers`, picking the bundled `controls` and
20
+ * `layouts` you want. Consumers can also extend the set with their own custom
21
+ * renderers — this is how `knime-core-ui` adds node-dialog widgets (array
22
+ * layouts, file choosers, credentials, flow variables, …).
23
+ */
24
+ declare const _default: typeof __VLS_export;
25
+ export default _default;
26
+ declare const __VLS_export: __VLS_WithSlots<import('vue').DefineComponent<{
7
27
  schema: JsonSchema;
8
28
  uischema: UISchemaElement;
9
29
  data: unknown;
@@ -26,226 +46,7 @@ type __VLS_Props = {
26
46
  * @param data the current data to validate
27
47
  */
28
48
  validate?: (id: string, data: unknown) => Promise<string | null>;
29
- };
30
- declare function __VLS_template(): {
31
- attrs: Partial<{}>;
32
- slots: {
33
- top?(_: {}): any;
34
- bottom?(_: {}): any;
35
- };
36
- refs: {
37
- subPanelTeleportDest: HTMLDivElement;
38
- jsonforms: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
39
- data: {
40
- required: false;
41
- type: import('vue').PropType<any>;
42
- default: undefined;
43
- };
44
- schema: {
45
- required: false;
46
- type: import('vue').PropType<JsonSchema>;
47
- default: undefined;
48
- };
49
- uischema: {
50
- required: false;
51
- type: import('vue').PropType<UISchemaElement>;
52
- default: undefined;
53
- };
54
- renderers: {
55
- required: true;
56
- type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>>;
57
- };
58
- cells: {
59
- required: false;
60
- type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>>;
61
- default: () => never[];
62
- };
63
- config: {
64
- required: false;
65
- type: import('vue').PropType<any>;
66
- default: undefined;
67
- };
68
- readonly: {
69
- required: false;
70
- type: BooleanConstructor;
71
- default: boolean;
72
- };
73
- uischemas: {
74
- required: false;
75
- type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>>;
76
- default: () => never[];
77
- };
78
- validationMode: {
79
- required: false;
80
- type: import('vue').PropType<import('@jsonforms/core').ValidationMode>;
81
- default: string;
82
- };
83
- ajv: {
84
- required: false;
85
- type: import('vue').PropType<Ajv>;
86
- default: undefined;
87
- };
88
- i18n: {
89
- required: false;
90
- type: import('vue').PropType<import('@jsonforms/core').JsonFormsI18nState>;
91
- default: undefined;
92
- };
93
- additionalErrors: {
94
- required: false;
95
- type: import('vue').PropType<import('ajv').ErrorObject[]>;
96
- default: () => import('ajv').ErrorObject<string, Record<string, any>, unknown>[];
97
- };
98
- middleware: {
99
- required: false;
100
- type: import('vue').PropType<import('@jsonforms/core').Middleware>;
101
- default: import('@jsonforms/core').Middleware;
102
- };
103
- }>> & Readonly<{
104
- onChange?: ((...args: any[]) => any) | undefined;
105
- }>, {}, {
106
- schemaToUse: JsonSchema;
107
- dataToUse: any;
108
- uischemaToUse: UISchemaElement;
109
- jsonforms: {
110
- core: JsonFormsCore;
111
- config: any;
112
- i18n: import('@jsonforms/core').JsonFormsI18nState;
113
- renderers: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>;
114
- cells: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
115
- uischemas: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>;
116
- readonly: boolean;
117
- };
118
- }, {
119
- coreDataToUpdate(): any;
120
- eventToEmit(): import('@jsonforms/vue').JsonFormsChangeEvent;
121
- }, {
122
- dispatch(action: CoreActions): void;
123
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "change"[], import('vue').PublicProps, {
124
- data: any;
125
- schema: JsonSchema;
126
- uischema: UISchemaElement;
127
- cells: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
128
- config: any;
129
- readonly: boolean;
130
- uischemas: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>;
131
- validationMode: import('@jsonforms/core').ValidationMode;
132
- ajv: Ajv;
133
- i18n: import('@jsonforms/core').JsonFormsI18nState;
134
- additionalErrors: import('ajv').ErrorObject<string, Record<string, any>, unknown>[];
135
- middleware: import('@jsonforms/core').Middleware;
136
- }, true, {}, {}, {
137
- DispatchRenderer: import('vue').DefineComponent<{}, {}, any>;
138
- } & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
139
- P: {};
140
- B: {};
141
- D: {};
142
- C: {};
143
- M: {};
144
- Defaults: {};
145
- }, Readonly<import('vue').ExtractPropTypes<{
146
- data: {
147
- required: false;
148
- type: import('vue').PropType<any>;
149
- default: undefined;
150
- };
151
- schema: {
152
- required: false;
153
- type: import('vue').PropType<JsonSchema>;
154
- default: undefined;
155
- };
156
- uischema: {
157
- required: false;
158
- type: import('vue').PropType<UISchemaElement>;
159
- default: undefined;
160
- };
161
- renderers: {
162
- required: true;
163
- type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>>;
164
- };
165
- cells: {
166
- required: false;
167
- type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>>;
168
- default: () => never[];
169
- };
170
- config: {
171
- required: false;
172
- type: import('vue').PropType<any>;
173
- default: undefined;
174
- };
175
- readonly: {
176
- required: false;
177
- type: BooleanConstructor;
178
- default: boolean;
179
- };
180
- uischemas: {
181
- required: false;
182
- type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>>;
183
- default: () => never[];
184
- };
185
- validationMode: {
186
- required: false;
187
- type: import('vue').PropType<import('@jsonforms/core').ValidationMode>;
188
- default: string;
189
- };
190
- ajv: {
191
- required: false;
192
- type: import('vue').PropType<Ajv>;
193
- default: undefined;
194
- };
195
- i18n: {
196
- required: false;
197
- type: import('vue').PropType<import('@jsonforms/core').JsonFormsI18nState>;
198
- default: undefined;
199
- };
200
- additionalErrors: {
201
- required: false;
202
- type: import('vue').PropType<import('ajv').ErrorObject[]>;
203
- default: () => import('ajv').ErrorObject<string, Record<string, any>, unknown>[];
204
- };
205
- middleware: {
206
- required: false;
207
- type: import('vue').PropType<import('@jsonforms/core').Middleware>;
208
- default: import('@jsonforms/core').Middleware;
209
- };
210
- }>> & Readonly<{
211
- onChange?: ((...args: any[]) => any) | undefined;
212
- }>, {}, {
213
- schemaToUse: JsonSchema;
214
- dataToUse: any;
215
- uischemaToUse: UISchemaElement;
216
- jsonforms: {
217
- core: JsonFormsCore;
218
- config: any;
219
- i18n: import('@jsonforms/core').JsonFormsI18nState;
220
- renderers: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>;
221
- cells: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
222
- uischemas: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>;
223
- readonly: boolean;
224
- };
225
- }, {
226
- coreDataToUpdate(): any;
227
- eventToEmit(): import('@jsonforms/vue').JsonFormsChangeEvent;
228
- }, {
229
- dispatch(action: CoreActions): void;
230
- }, {
231
- data: any;
232
- schema: JsonSchema;
233
- uischema: UISchemaElement;
234
- cells: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
235
- config: any;
236
- readonly: boolean;
237
- uischemas: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>;
238
- validationMode: import('@jsonforms/core').ValidationMode;
239
- ajv: Ajv;
240
- i18n: import('@jsonforms/core').JsonFormsI18nState;
241
- additionalErrors: import('ajv').ErrorObject<string, Record<string, any>, unknown>[];
242
- middleware: import('@jsonforms/core').Middleware;
243
- }> | null;
244
- };
245
- rootEl: HTMLDivElement;
246
- };
247
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
248
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
49
+ }, {
249
50
  updateData: (path: string, value: unknown) => Promise<void>;
250
51
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
251
52
  trigger: (id: unknown, done: () => void) => any;
@@ -258,7 +59,30 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
258
59
  [key: string]: unknown;
259
60
  }, callback: (value: unknown) => void) => any;
260
61
  initialized: () => any;
261
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
62
+ }, string, import('vue').PublicProps, Readonly<{
63
+ schema: JsonSchema;
64
+ uischema: UISchemaElement;
65
+ data: unknown;
66
+ renderers: readonly NamedRenderer[];
67
+ /**
68
+ * Optional AJV instance for JSON Schema validation.
69
+ *
70
+ * By default, JsonForms creates its own AJV instance internally, which uses `eval()`
71
+ * to compile validation functions from JSON schemas. This can cause CSP (Content Security Policy)
72
+ * violations in environments that restrict dynamic code execution with 'unsafe-eval'.
73
+ */
74
+ ajv?: Ajv;
75
+ /**
76
+ * Called by elements who have custom validation needs.
77
+ * Calling this method on every value change (debounced) starts when the ui option
78
+ * `validatorId` is provided with a non-`null` value and stops when `null` is provided
79
+ * as id. Also one call is issued when the `validatorId` is provided.
80
+ *
81
+ * @param id the id of the validator
82
+ * @param data the current data to validate
83
+ */
84
+ validate?: (id: string, data: unknown) => Promise<string | null>;
85
+ }> & Readonly<{
262
86
  onTrigger?: ((id: unknown, done: () => void) => any) | undefined;
263
87
  onUpdateData?: ((path: string) => any) | undefined;
264
88
  onChange?: ((args_0: {
@@ -269,218 +93,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
269
93
  [key: string]: unknown;
270
94
  }, callback: (value: unknown) => void) => any) | undefined;
271
95
  onInitialized?: (() => any) | undefined;
272
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
273
- subPanelTeleportDest: HTMLDivElement;
274
- jsonforms: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
275
- data: {
276
- required: false;
277
- type: import('vue').PropType<any>;
278
- default: undefined;
279
- };
280
- schema: {
281
- required: false;
282
- type: import('vue').PropType<JsonSchema>;
283
- default: undefined;
284
- };
285
- uischema: {
286
- required: false;
287
- type: import('vue').PropType<UISchemaElement>;
288
- default: undefined;
289
- };
290
- renderers: {
291
- required: true;
292
- type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>>;
293
- };
294
- cells: {
295
- required: false;
296
- type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>>;
297
- default: () => never[];
298
- };
299
- config: {
300
- required: false;
301
- type: import('vue').PropType<any>;
302
- default: undefined;
303
- };
304
- readonly: {
305
- required: false;
306
- type: BooleanConstructor;
307
- default: boolean;
308
- };
309
- uischemas: {
310
- required: false;
311
- type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>>;
312
- default: () => never[];
313
- };
314
- validationMode: {
315
- required: false;
316
- type: import('vue').PropType<import('@jsonforms/core').ValidationMode>;
317
- default: string;
318
- };
319
- ajv: {
320
- required: false;
321
- type: import('vue').PropType<Ajv>;
322
- default: undefined;
323
- };
324
- i18n: {
325
- required: false;
326
- type: import('vue').PropType<import('@jsonforms/core').JsonFormsI18nState>;
327
- default: undefined;
328
- };
329
- additionalErrors: {
330
- required: false;
331
- type: import('vue').PropType<import('ajv').ErrorObject[]>;
332
- default: () => import('ajv').ErrorObject<string, Record<string, any>, unknown>[];
333
- };
334
- middleware: {
335
- required: false;
336
- type: import('vue').PropType<import('@jsonforms/core').Middleware>;
337
- default: import('@jsonforms/core').Middleware;
338
- };
339
- }>> & Readonly<{
340
- onChange?: ((...args: any[]) => any) | undefined;
341
- }>, {}, {
342
- schemaToUse: JsonSchema;
343
- dataToUse: any;
344
- uischemaToUse: UISchemaElement;
345
- jsonforms: {
346
- core: JsonFormsCore;
347
- config: any;
348
- i18n: import('@jsonforms/core').JsonFormsI18nState;
349
- renderers: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>;
350
- cells: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
351
- uischemas: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>;
352
- readonly: boolean;
353
- };
354
- }, {
355
- coreDataToUpdate(): any;
356
- eventToEmit(): import('@jsonforms/vue').JsonFormsChangeEvent;
357
- }, {
358
- dispatch(action: CoreActions): void;
359
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "change"[], import('vue').PublicProps, {
360
- data: any;
361
- schema: JsonSchema;
362
- uischema: UISchemaElement;
363
- cells: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
364
- config: any;
365
- readonly: boolean;
366
- uischemas: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>;
367
- validationMode: import('@jsonforms/core').ValidationMode;
368
- ajv: Ajv;
369
- i18n: import('@jsonforms/core').JsonFormsI18nState;
370
- additionalErrors: import('ajv').ErrorObject<string, Record<string, any>, unknown>[];
371
- middleware: import('@jsonforms/core').Middleware;
372
- }, true, {}, {}, {
373
- DispatchRenderer: import('vue').DefineComponent<{}, {}, any>;
374
- } & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
375
- P: {};
376
- B: {};
377
- D: {};
378
- C: {};
379
- M: {};
380
- Defaults: {};
381
- }, Readonly<import('vue').ExtractPropTypes<{
382
- data: {
383
- required: false;
384
- type: import('vue').PropType<any>;
385
- default: undefined;
386
- };
387
- schema: {
388
- required: false;
389
- type: import('vue').PropType<JsonSchema>;
390
- default: undefined;
391
- };
392
- uischema: {
393
- required: false;
394
- type: import('vue').PropType<UISchemaElement>;
395
- default: undefined;
396
- };
397
- renderers: {
398
- required: true;
399
- type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>>;
400
- };
401
- cells: {
402
- required: false;
403
- type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>>;
404
- default: () => never[];
405
- };
406
- config: {
407
- required: false;
408
- type: import('vue').PropType<any>;
409
- default: undefined;
410
- };
411
- readonly: {
412
- required: false;
413
- type: BooleanConstructor;
414
- default: boolean;
415
- };
416
- uischemas: {
417
- required: false;
418
- type: import('vue').PropType<import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>>;
419
- default: () => never[];
420
- };
421
- validationMode: {
422
- required: false;
423
- type: import('vue').PropType<import('@jsonforms/core').ValidationMode>;
424
- default: string;
425
- };
426
- ajv: {
427
- required: false;
428
- type: import('vue').PropType<Ajv>;
429
- default: undefined;
430
- };
431
- i18n: {
432
- required: false;
433
- type: import('vue').PropType<import('@jsonforms/core').JsonFormsI18nState>;
434
- default: undefined;
435
- };
436
- additionalErrors: {
437
- required: false;
438
- type: import('vue').PropType<import('ajv').ErrorObject[]>;
439
- default: () => import('ajv').ErrorObject<string, Record<string, any>, unknown>[];
440
- };
441
- middleware: {
442
- required: false;
443
- type: import('vue').PropType<import('@jsonforms/core').Middleware>;
444
- default: import('@jsonforms/core').Middleware;
445
- };
446
- }>> & Readonly<{
447
- onChange?: ((...args: any[]) => any) | undefined;
448
- }>, {}, {
449
- schemaToUse: JsonSchema;
450
- dataToUse: any;
451
- uischemaToUse: UISchemaElement;
452
- jsonforms: {
453
- core: JsonFormsCore;
454
- config: any;
455
- i18n: import('@jsonforms/core').JsonFormsI18nState;
456
- renderers: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsRendererRegistryEntry[]>;
457
- cells: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
458
- uischemas: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>;
459
- readonly: boolean;
460
- };
461
- }, {
462
- coreDataToUpdate(): any;
463
- eventToEmit(): import('@jsonforms/vue').JsonFormsChangeEvent;
464
- }, {
465
- dispatch(action: CoreActions): void;
466
- }, {
467
- data: any;
468
- schema: JsonSchema;
469
- uischema: UISchemaElement;
470
- cells: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[]>;
471
- config: any;
472
- readonly: boolean;
473
- uischemas: import('@jsonforms/vue').MaybeReadonly<import('@jsonforms/core').JsonFormsUISchemaRegistryEntry[]>;
474
- validationMode: import('@jsonforms/core').ValidationMode;
475
- ajv: Ajv;
476
- i18n: import('@jsonforms/core').JsonFormsI18nState;
477
- additionalErrors: import('ajv').ErrorObject<string, Record<string, any>, unknown>[];
478
- middleware: import('@jsonforms/core').Middleware;
479
- }> | null;
480
- }, HTMLDivElement>;
481
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
482
- export default _default;
483
- type __VLS_WithTemplateSlots<T, S> = T & {
96
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
97
+ top?: (props: {}) => any;
98
+ } & {
99
+ bottom?: (props: {}) => any;
100
+ }>;
101
+ type __VLS_WithSlots<T, S> = T & {
484
102
  new (): {
485
103
  $slots: S;
486
104
  };
@@ -1,3 +1,4 @@
1
1
  import { DescriptionPopoverProps } from './types/DescriptionPopoverProps';
2
- declare const _default: import('vue').DefineComponent<DescriptionPopoverProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DescriptionPopoverProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
2
+ declare const __VLS_export: import('vue').DefineComponent<DescriptionPopoverProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DescriptionPopoverProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ declare const _default: typeof __VLS_export;
3
4
  export default _default;
@@ -5,29 +5,29 @@ type __VLS_Props = {
5
5
  large?: boolean;
6
6
  onLabelClick?: () => void;
7
7
  };
8
- declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
- slots: {
11
- default?(_: {
12
- labelForId: string;
13
- }): any;
14
- default?(_: {
15
- labelForId: string;
16
- }): any;
17
- icon?(_: {}): any;
18
- buttons?(_: {
19
- hover: boolean;
20
- }): any;
21
- 'after-buttons'?(_: {}): any;
22
- };
23
- refs: {};
24
- rootEl: any;
8
+ declare var __VLS_1: {
9
+ labelForId: string;
10
+ }, __VLS_10: {}, __VLS_12: {
11
+ hover: boolean;
12
+ }, __VLS_14: {}, __VLS_16: {
13
+ labelForId: string;
14
+ };
15
+ type __VLS_Slots = {} & {
16
+ default?: (props: typeof __VLS_1) => any;
17
+ } & {
18
+ icon?: (props: typeof __VLS_10) => any;
19
+ } & {
20
+ buttons?: (props: typeof __VLS_12) => any;
21
+ } & {
22
+ 'after-buttons'?: (props: typeof __VLS_14) => any;
23
+ } & {
24
+ default?: (props: typeof __VLS_16) => any;
25
25
  };
26
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
27
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
28
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
26
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
+ declare const _default: typeof __VLS_export;
29
29
  export default _default;
30
- type __VLS_WithTemplateSlots<T, S> = T & {
30
+ type __VLS_WithSlots<T, S> = T & {
31
31
  new (): {
32
32
  $slots: S;
33
33
  };
@@ -1,17 +1,14 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- default?(_: {}): any;
5
- 'bottom-content'?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: HTMLDivElement;
1
+ declare var __VLS_1: {}, __VLS_3: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ } & {
5
+ 'bottom-content'?: (props: typeof __VLS_3) => any;
9
6
  };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
7
+ declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
9
+ declare const _default: typeof __VLS_export;
13
10
  export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
11
+ type __VLS_WithSlots<T, S> = T & {
15
12
  new (): {
16
13
  $slots: S;
17
14
  };
@@ -1,3 +1,4 @@
1
1
  import { VueLayoutProps } from '../higherOrderComponents/layout/types';
2
- declare const _default: import('vue').DefineComponent<VueLayoutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<VueLayoutProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
2
+ declare const __VLS_export: import('vue').DefineComponent<VueLayoutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<VueLayoutProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ declare const _default: typeof __VLS_export;
3
4
  export default _default;
@@ -1,19 +1,15 @@
1
1
  import { VueLayoutProps } from '../higherOrderComponents/layout/types';
2
- declare function __VLS_template(): {
3
- attrs: Partial<{}>;
4
- slots: {
5
- buttons?(_: {
6
- hover: boolean;
7
- }): any;
8
- };
9
- refs: {};
10
- rootEl: HTMLDivElement;
2
+ declare var __VLS_8: {
3
+ hover: boolean;
4
+ };
5
+ type __VLS_Slots = {} & {
6
+ buttons?: (props: typeof __VLS_8) => any;
11
7
  };
12
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<VueLayoutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<VueLayoutProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
8
+ declare const __VLS_base: import('vue').DefineComponent<VueLayoutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<VueLayoutProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
+ declare const _default: typeof __VLS_export;
15
11
  export default _default;
16
- type __VLS_WithTemplateSlots<T, S> = T & {
12
+ type __VLS_WithSlots<T, S> = T & {
17
13
  new (): {
18
14
  $slots: S;
19
15
  };