@knime/jsonforms 1.21.16 → 1.21.17

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 (93) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/AnyOfTwinlist-SXwBBRp2.js +23 -0
  3. package/dist/CheckboxControl-CbWn843V.js +40 -0
  4. package/dist/CheckboxesControl-BiQOMrsp.js +39 -0
  5. package/dist/{ColorControl-wEr-pQ4g.js → ColorControl-B_mQdOCs.js} +10 -8
  6. package/dist/{ColorPreviewControl-B7aXaak-.js → ColorPreviewControl-BREwhSO9.js} +28 -28
  7. package/dist/ComboBoxControl-BIZlnizm.js +39 -0
  8. package/dist/DateControl-vkwY-8Qy.js +44 -0
  9. package/dist/DateTimeControl-CtXV6_D2.js +80 -0
  10. package/dist/DateTimeFormatPickerControl-a7MPaNFN.js +34 -0
  11. package/dist/{DateTimeFormatPickerWithTypeControl-BVG_BSaN.js → DateTimeFormatPickerWithTypeControl-B9Nu0dh1.js} +18 -17
  12. package/dist/DropdownControl-BUwovb4K.js +32 -0
  13. package/dist/{ExecutorCoresControl-Cphh4q2c.js → ExecutorCoresControl-DN-1o1XJ.js} +10 -9
  14. package/dist/{ExecutorMemoryControl-BQDSkKjf.js → ExecutorMemoryControl-UzqzP4hI.js} +9 -8
  15. package/dist/{FileUploadControl-CnPXEafs.js → FileUploadControl-WC8TFQHe.js} +46 -45
  16. package/dist/{GridSelectionControl-093qWj_x.js → GridSelectionControl-BgqT1t9d.js} +24 -23
  17. package/dist/{HorizontalLayout-D07DfljM.js → HorizontalLayout-CESRA3YR.js} +6 -6
  18. package/dist/{IntegerControl-D0qSSA_X.js → IntegerControl-DKXN0mcE.js} +5 -4
  19. package/dist/IntervalControl-BswGPjcV.js +51 -0
  20. package/dist/LinkControl-DTqOfnTg.js +35 -0
  21. package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-B4K9Nnse.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-Cic7UEOM.js} +1 -1
  22. package/dist/ManualTwinlistControl-CoZdPu6n.js +74 -0
  23. package/dist/{MultiSelectListBoxControl-qdxrfyqT.js → MultiSelectListBoxControl-CjM94miu.js} +53 -52
  24. package/dist/{MultimodeTwinlistControl-DKNf9s6C.js → MultimodeTwinlistControl-NMnPBn6a.js} +1 -1
  25. package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-mQFRHgGM.js +159 -0
  26. package/dist/{NameFilter-DxsfvMYP.js → NameFilter-DuVJG0SF.js} +7 -6
  27. package/dist/{NumberControl-gRIAl0Xw.js → NumberControl-NMJmxuze.js} +7 -6
  28. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8.js +52 -0
  29. package/dist/{OneOfDropdown-6EW73QQp.js → OneOfDropdown-CwJemyYo.js} +13 -11
  30. package/dist/{RadioButtonsWithDescriptionControl-DDdnwXUW.js → RadioButtonsWithDescriptionControl-BK3UCreL.js} +15 -15
  31. package/dist/{RadioControl-BOGJkSzd.js → RadioControl-ts1-JozG.js} +5 -4
  32. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-jxw_5dVt.js +57 -0
  33. package/dist/{ResourceControlBase-D-oG-tP4.js → ResourceControlBase-FDiyHyQi.js} +18 -15
  34. package/dist/{RichTextControl-FgGsWYtG.js → RichTextControl-DH6GqUeF.js} +4 -3
  35. package/dist/{SectionHeading-xMNeMcnS.js → SectionHeading-DIAFnjCM.js} +1 -1
  36. package/dist/{SectionLayout-Bo11XVly.js → SectionLayout-Cb3_L9Te.js} +3 -3
  37. package/dist/{SettingsSubPanel-D_FDP5Zc.js → SettingsSubPanel-BuxORlJO.js} +1 -1
  38. package/dist/{SettingsSubPanelLayout-Dp_jLbsR.js → SettingsSubPanelLayout-DruWJjQA.js} +4 -4
  39. package/dist/{SimpleButtonControl-QdWssOCJ.js → SimpleButtonControl-BeRnF6lP.js} +13 -13
  40. package/dist/{SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js → SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js} +5294 -5346
  41. package/dist/{SimpleTwinlistControl-CAaKpaUA.js → SimpleTwinlistControl-CnBe4qsI.js} +6 -5
  42. package/dist/{SingleSelectControl-D7D5AanU.js → SingleSelectControl-C4Qzk2Ki.js} +21 -19
  43. package/dist/{SingleSelectListBoxControl-XeWCleLY.js → SingleSelectListBoxControl-sLe2Y67h.js} +16 -15
  44. package/dist/SortListControl-ChpYm3CZ.js +105 -0
  45. package/dist/{StyledListItem-CjOv-VlL.js → StyledListItem-BJEJoIzr.js} +1 -1
  46. package/dist/{TeamAndSpacesControl-DFrotXG1.js → TeamAndSpacesControl-7ZXPUwBb.js} +12 -11
  47. package/dist/{TeamResourceControl-BnBXHcn9.js → TeamResourceControl-BZDXMRLZ.js} +12 -11
  48. package/dist/{TextAreaControl-9YsuIVg_.js → TextAreaControl-BDGtgWys.js} +10 -8
  49. package/dist/{TextControl-BrUMvx4G.js → TextControl-8jfyOJKb.js} +1 -1
  50. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-4BT0xCnX.js → TextControl.vue_vue_type_script_setup_true_lang--8lz3nbO.js} +16 -14
  51. package/dist/{TimeControl-DvzIDb-2.js → TimeControl-Dvt5U7xN.js} +28 -26
  52. package/dist/{TimeframesControl-2GAc0ndD.js → TimeframesControl-DcUxC3kX.js} +7 -6
  53. package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-Chqnf11f.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N.js} +14 -11
  54. package/dist/{TypedStringFilter-mklK-qwG.js → TypedStringFilter-Cx8OCQcE.js} +5 -4
  55. package/dist/{ValueSwitchControl-BOUlFthR.js → ValueSwitchControl-1ax1yKbk.js} +6 -5
  56. package/dist/{VerticalLayout-u04mODMq.js → VerticalLayout-DnyoqTeh.js} +2 -2
  57. package/dist/{VerticalLayoutBase-rWbtLYJT.js → VerticalLayoutBase-BS5IpgON.js} +2 -2
  58. package/dist/ZonedDateTimeControl-mIIRwaHz.js +79 -0
  59. package/dist/{_Uint8Array-S1XaShiS.js → _Uint8Array-CsgDtogS.js} +12 -12
  60. package/dist/knime-jsonforms.css +1 -1
  61. package/dist/knime-jsonforms.js +41 -42
  62. package/dist/src/higherOrderComponents/control/index.d.ts +1 -2
  63. package/dist/src/higherOrderComponents/control/util.d.ts +4 -5
  64. package/dist/src/higherOrderComponents/control/validation/types.d.ts +2 -2
  65. package/dist/src/higherOrderComponents/control/withLabel.d.ts +1 -1
  66. package/dist/src/renderers/checkboxRenderer.d.ts +120 -1
  67. package/dist/src/renderers/defaultRenderers.d.ts +120 -1
  68. package/dist/src/renderers/fallbackRenderers.d.ts +120 -1
  69. package/dist/testing.js +3 -3
  70. package/dist/{toString-DXjInt1t.js → toString-hCFROtg1.js} +1 -1
  71. package/dist/{useBuiltinValidations-CFNcCpco.js → useBuiltinValidations-Cfw3JlJf.js} +1 -1
  72. package/dist/{usePossibleValues-yDswh8Qc.js → usePossibleValues-CtPV4Cjp.js} +1 -1
  73. package/dist/{useUnknownValuesInTwinlist-BSnLQI_Q.js → useUnknownValuesInTwinlist-BCbqJg7j.js} +1 -1
  74. package/package.json +1 -1
  75. package/dist/AnyOfTwinlist-BCIsT83q.js +0 -22
  76. package/dist/CheckboxControl-CjiUwvWU.js +0 -38
  77. package/dist/CheckboxesControl-CAHj0UnX.js +0 -37
  78. package/dist/ComboBoxControl-hveFsDLi.js +0 -37
  79. package/dist/DateControl-BtCCimuA.js +0 -42
  80. package/dist/DateTimeControl-Bll2rZlX.js +0 -78
  81. package/dist/DateTimeFormatPickerControl-CsKD9vWJ.js +0 -32
  82. package/dist/DropdownControl-DA8lNfVk.js +0 -30
  83. package/dist/IntervalControl-vOi33CZB.js +0 -48
  84. package/dist/LinkControl-D5t3awqb.js +0 -35
  85. package/dist/ManualTwinlistControl-BQ4H-fRR.js +0 -72
  86. package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-DHx6nrqi.js +0 -157
  87. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-DEG90Gdx.js +0 -50
  88. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BOuoChe1.js +0 -52
  89. package/dist/SortListControl-kjhkdRwC.js +0 -103
  90. package/dist/ZonedDateTimeControl-BzV5ZuYf.js +0 -77
  91. package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +0 -5
  92. package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +0 -23
  93. package/dist/src/higherOrderComponents/control/errorMessage/withErrorMessage.d.ts +0 -11
@@ -1,11 +1,11 @@
1
- import { defineComponent as u, ref as y, onMounted as $, openBlock as c, createElementBlock as F, createVNode as n, unref as i, createElementVNode as j, createCommentVNode as A, provide as B, computed as d, watch as x, createBlock as D, Suspense as I, withCtx as g, renderSlot as L, mergeProps as O, nextTick as J } from "vue";
2
- import { K as h, _ as k, p as M, F as R, s as V, U, i as z, a as q } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
3
- import { E as le, L as ce, S as de, c as ue, b as me, d as pe, e as fe, f as he, g as ve, h as ge, j as ye, l as De, k as _e, m as be, n as Se, o as we, t as Pe, u as xe, w as Le, q as Ce } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
4
- import { default as je } from "./SimpleButtonControl-QdWssOCJ.js";
5
- import { _ as Ee } from "./TextControl.vue_vue_type_script_setup_true_lang-4BT0xCnX.js";
6
- import { V as Ne } from "./VerticalLayoutBase-rWbtLYJT.js";
7
- import { S as Ae } from "./SectionHeading-xMNeMcnS.js";
8
- import { S as Ie } from "./SettingsSubPanel-D_FDP5Zc.js";
1
+ import { defineComponent as u, ref as y, onMounted as A, openBlock as c, createElementBlock as F, createVNode as n, unref as i, createElementVNode as j, createCommentVNode as E, provide as B, computed as d, watch as x, createBlock as D, Suspense as I, withCtx as g, renderSlot as L, mergeProps as O, nextTick as J } from "vue";
2
+ import { K as h, _ as k, p as R, F as M, s as V, U, i as z, a as q } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
3
+ import { L as le, S as ce, c as de, b as ue, d as me, e as pe, f as fe, g as he, h as ve, j as ge, l as ye, k as De, m as _e, n as be, o as Se, t as we, u as Pe, w as xe, q as Le } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
4
+ import { default as Fe } from "./SimpleButtonControl-BeRnF6lP.js";
5
+ import { _ as ke } from "./TextControl.vue_vue_type_script_setup_true_lang--8lz3nbO.js";
6
+ import { V as Ne } from "./VerticalLayoutBase-BS5IpgON.js";
7
+ import { S as Ae } from "./SectionHeading-DIAFnjCM.js";
8
+ import { S as Be } from "./SettingsSubPanel-BuxORlJO.js";
9
9
  const G = {
10
10
  key: 0,
11
11
  class: "loading-dialog"
@@ -13,7 +13,7 @@ const G = {
13
13
  __name: "LoadingDialog",
14
14
  setup(t) {
15
15
  const s = y(!1);
16
- return $(() => {
16
+ return A(() => {
17
17
  setTimeout(() => {
18
18
  s.value = !0;
19
19
  }, K);
@@ -30,7 +30,7 @@ const G = {
30
30
  variant: "input-with-label",
31
31
  repeat: 3
32
32
  })
33
- ])) : A("", !0);
33
+ ])) : E("", !0);
34
34
  }
35
35
  }), Y = /* @__PURE__ */ k(X, [["__scopeId", "data-v-fa5292ba"]]), Q = { class: "dialog" }, C = "EXPOSED_METHOD", W = /* @__PURE__ */ u({
36
36
  __name: "JsonFormsDialog",
@@ -71,12 +71,12 @@ const G = {
71
71
  );
72
72
  }, S = d(() => f.value !== null);
73
73
  let w;
74
- const E = new Promise((e) => {
74
+ const T = new Promise((e) => {
75
75
  w = e;
76
- }), T = x(
76
+ }), N = x(
77
77
  () => S.value,
78
78
  (e) => {
79
- e && (o("initialized"), T());
79
+ e && (o("initialized"), N());
80
80
  },
81
81
  { immediate: !0 }
82
82
  );
@@ -89,12 +89,12 @@ const G = {
89
89
  }
90
90
  ), s({
91
91
  updateData: async (e, a) => {
92
- f.value ? b(e, a) : (_.push({ path: e, value: a }), await E);
92
+ f.value ? b(e, a) : (_.push({ path: e, value: a }), await T);
93
93
  }
94
94
  });
95
95
  const P = y(null);
96
- M(P);
97
- const N = d(() => ({
96
+ R(P);
97
+ const $ = d(() => ({
98
98
  data: t.data,
99
99
  schema: t.schema,
100
100
  uischema: t.uischema,
@@ -112,13 +112,13 @@ const G = {
112
112
  n(Y)
113
113
  ]),
114
114
  default: g(() => [
115
- n(R, null, {
115
+ n(M, null, {
116
116
  default: g(() => [
117
117
  L(e.$slots, "top", {}, void 0, !0),
118
118
  n(i(V), O({
119
119
  ref_key: "jsonforms",
120
120
  ref: f
121
- }, N.value, { onChange: l }), null, 16),
121
+ }, $.value, { onChange: l }), null, 16),
122
122
  L(e.$slots, "bottom", {}, void 0, !0)
123
123
  ]),
124
124
  _: 3
@@ -181,34 +181,33 @@ const G = {
181
181
  }
182
182
  });
183
183
  export {
184
- le as ErrorMessages,
185
184
  re as FieldControl,
186
- R as Form,
185
+ M as Form,
187
186
  oe as JsonFormsDialog,
188
- ce as LabeledControl,
187
+ le as LabeledControl,
189
188
  Ae as SectionHeading,
190
- Ie as SettingsSubPanel,
191
- de as SimpleArrayLayout,
192
- je as SimpleButtonControl,
193
- Ee as TextControl,
189
+ Be as SettingsSubPanel,
190
+ ce as SimpleArrayLayout,
191
+ Fe as SimpleButtonControl,
192
+ ke as TextControl,
194
193
  Ne as VerticalLayoutBase,
195
- ue as controlProps,
196
- me as controlToRenderer,
197
- pe as controls,
198
- fe as defaultRenderers,
199
- he as defineControl,
194
+ de as controlProps,
195
+ ue as controlToRenderer,
196
+ me as controls,
197
+ pe as defaultRenderers,
198
+ fe as defineControl,
200
199
  se as defineLayout,
201
- ve as getAsyncSetupMethod,
202
- ge as handleAsyncComponents,
203
- ye as inputFormats,
200
+ he as getAsyncSetupMethod,
201
+ ve as handleAsyncComponents,
202
+ ge as inputFormats,
204
203
  Z as layoutProps,
205
- De as layoutToRenderer,
206
- _e as layouts,
207
- be as mapControls,
208
- Se as mapLayouts,
209
- we as priorityRanks,
210
- Pe as toRenderers,
211
- xe as useProvidedState,
212
- Le as withDescriptionButton,
213
- Ce as withLabel
204
+ ye as layoutToRenderer,
205
+ De as layouts,
206
+ _e as mapControls,
207
+ be as mapLayouts,
208
+ Se as priorityRanks,
209
+ we as toRenderers,
210
+ Pe as useProvidedState,
211
+ xe as withDescriptionButton,
212
+ Le as withLabel
214
213
  };
@@ -1,9 +1,8 @@
1
1
  import { default as LabeledControl } from './LabeledControl.vue';
2
- import { default as ErrorMessages } from './errorMessage/ErrorMessages.vue';
3
2
  export type * from './types';
4
3
  export * from './withLabel';
5
4
  export * from './controlToRenderer';
6
5
  export * from './util';
7
6
  export * from './withDescription';
8
7
  export type { PerformExternalValidation } from './validation/types';
9
- export { LabeledControl, ErrorMessages };
8
+ export { LabeledControl };
@@ -18,13 +18,12 @@ export declare const controlProps: {
18
18
  type: PropType<VueControlProps<never>["disabled"]>;
19
19
  required: boolean;
20
20
  };
21
- isValid: {
22
- type: PropType<VueControlProps<never>["isValid"]>;
21
+ error: {
22
+ type: PropType<VueControlProps<never>["error"]>;
23
23
  required: boolean;
24
24
  };
25
- messages: {
26
- type: PropType<VueControlProps<never>["messages"]>;
27
- required: boolean;
25
+ subText: {
26
+ type: PropType<VueControlProps<never>["subText"]>;
28
27
  };
29
28
  onRegisterValidation: {
30
29
  type: PropType<VueControlProps<never>["onRegisterValidation"]>;
@@ -10,8 +10,8 @@ export type Messages = {
10
10
  */
11
11
  export type ValidationMethod<D> = MaybeRef<((value: D) => Messages) | null>;
12
12
  export type ValidationSettings<D> = {
13
- isValid: boolean;
14
- messages: Messages;
13
+ error: boolean;
14
+ subText: string | undefined;
15
15
  /**
16
16
  * @param validation the validation method to register.
17
17
  * @returns the cleanup callback with which the validation can be unregistered.
@@ -1,5 +1,5 @@
1
1
  import { PropsToComponent, VueControl, VueControlProps } from './types';
2
- export type VueControlPropsForLabelContent<D> = Omit<VueControlProps<D>, "labelForId" | "messages"> & {
2
+ export type VueControlPropsForLabelContent<D> = Omit<VueControlProps<D>, "labelForId"> & {
3
3
  labelForId: string;
4
4
  };
5
5
  export type VueControlThatRequiresLabelWrapper<D> = PropsToComponent<VueControlPropsForLabelContent<D>>;
@@ -1 +1,120 @@
1
- export declare const checkboxRenderer: import('..').SpecialControlRenderer<import('..').VueControl<boolean>>;
1
+ export declare const checkboxRenderer: {
2
+ name: string;
3
+ control: {
4
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
5
+ control: {
6
+ data: boolean;
7
+ uischema: {
8
+ providedOptions?: string[];
9
+ id?: string;
10
+ };
11
+ } & Omit<{
12
+ uischema: import('@jsonforms/core').ControlElement;
13
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
14
+ path: string;
15
+ enabled: boolean;
16
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
17
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
18
+ tester: import('@jsonforms/core').RankedTester;
19
+ cell: any;
20
+ }[];
21
+ config: any;
22
+ label: string;
23
+ description: string;
24
+ required: NonNullable<boolean | undefined>;
25
+ i18nKeyPrefix: string;
26
+ errors: string;
27
+ data: any;
28
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
29
+ id: string;
30
+ visible: boolean;
31
+ }, "data">;
32
+ handleChange: (path: string, value: unknown) => void;
33
+ changeValue: (newValue: boolean) => void;
34
+ disabled: boolean;
35
+ labelForId?: null;
36
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
37
+ P: {};
38
+ B: {};
39
+ D: {};
40
+ C: {};
41
+ M: {};
42
+ Defaults: {};
43
+ }, Readonly<{
44
+ control: {
45
+ data: boolean;
46
+ uischema: {
47
+ providedOptions?: string[];
48
+ id?: string;
49
+ };
50
+ } & Omit<{
51
+ uischema: import('@jsonforms/core').ControlElement;
52
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
53
+ path: string;
54
+ enabled: boolean;
55
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
56
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
57
+ tester: import('@jsonforms/core').RankedTester;
58
+ cell: any;
59
+ }[];
60
+ config: any;
61
+ label: string;
62
+ description: string;
63
+ required: NonNullable<boolean | undefined>;
64
+ i18nKeyPrefix: string;
65
+ errors: string;
66
+ data: any;
67
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
68
+ id: string;
69
+ visible: boolean;
70
+ }, "data">;
71
+ handleChange: (path: string, value: unknown) => void;
72
+ changeValue: (newValue: boolean) => void;
73
+ disabled: boolean;
74
+ labelForId?: null;
75
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & Readonly<{}>, {}, {}, {}, {}, {}>;
76
+ __isFragment?: never;
77
+ __isTeleport?: never;
78
+ __isSuspense?: never;
79
+ } & import('vue').ComponentOptionsBase<Readonly<{
80
+ control: {
81
+ data: boolean;
82
+ uischema: {
83
+ providedOptions?: string[];
84
+ id?: string;
85
+ };
86
+ } & Omit<{
87
+ uischema: import('@jsonforms/core').ControlElement;
88
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
89
+ path: string;
90
+ enabled: boolean;
91
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
92
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
93
+ tester: import('@jsonforms/core').RankedTester;
94
+ cell: any;
95
+ }[];
96
+ config: any;
97
+ label: string;
98
+ description: string;
99
+ required: NonNullable<boolean | undefined>;
100
+ i18nKeyPrefix: string;
101
+ errors: string;
102
+ data: any;
103
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
104
+ id: string;
105
+ visible: boolean;
106
+ }, "data">;
107
+ handleChange: (path: string, value: unknown) => void;
108
+ changeValue: (newValue: boolean) => void;
109
+ disabled: boolean;
110
+ labelForId?: null;
111
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
112
+ $slots: {
113
+ icon?(_: {}): any;
114
+ buttons?(_: {
115
+ hover: boolean;
116
+ }): any;
117
+ };
118
+ });
119
+ tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
120
+ };
@@ -11,7 +11,126 @@ export declare const controls: {
11
11
  control: import('..').VueControl<string>;
12
12
  };
13
13
  textRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string | null>>;
14
- checkboxRenderer: import('..').SpecialControlRenderer<import('..').VueControl<boolean>>;
14
+ checkboxRenderer: {
15
+ name: string;
16
+ control: {
17
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
18
+ control: {
19
+ data: boolean;
20
+ uischema: {
21
+ providedOptions?: string[];
22
+ id?: string;
23
+ };
24
+ } & Omit<{
25
+ uischema: import('@jsonforms/core').ControlElement;
26
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
27
+ path: string;
28
+ enabled: boolean;
29
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
30
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
31
+ tester: import('@jsonforms/core').RankedTester;
32
+ cell: any;
33
+ }[];
34
+ config: any;
35
+ label: string;
36
+ description: string;
37
+ required: NonNullable<boolean | undefined>;
38
+ i18nKeyPrefix: string;
39
+ errors: string;
40
+ data: any;
41
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
42
+ id: string;
43
+ visible: boolean;
44
+ }, "data">;
45
+ handleChange: (path: string, value: unknown) => void;
46
+ changeValue: (newValue: boolean) => void;
47
+ disabled: boolean;
48
+ labelForId?: null;
49
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
50
+ P: {};
51
+ B: {};
52
+ D: {};
53
+ C: {};
54
+ M: {};
55
+ Defaults: {};
56
+ }, Readonly<{
57
+ control: {
58
+ data: boolean;
59
+ uischema: {
60
+ providedOptions?: string[];
61
+ id?: string;
62
+ };
63
+ } & Omit<{
64
+ uischema: import('@jsonforms/core').ControlElement;
65
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
66
+ path: string;
67
+ enabled: boolean;
68
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
69
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
70
+ tester: import('@jsonforms/core').RankedTester;
71
+ cell: any;
72
+ }[];
73
+ config: any;
74
+ label: string;
75
+ description: string;
76
+ required: NonNullable<boolean | undefined>;
77
+ i18nKeyPrefix: string;
78
+ errors: string;
79
+ data: any;
80
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
81
+ id: string;
82
+ visible: boolean;
83
+ }, "data">;
84
+ handleChange: (path: string, value: unknown) => void;
85
+ changeValue: (newValue: boolean) => void;
86
+ disabled: boolean;
87
+ labelForId?: null;
88
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & Readonly<{}>, {}, {}, {}, {}, {}>;
89
+ __isFragment?: never;
90
+ __isTeleport?: never;
91
+ __isSuspense?: never;
92
+ } & import('vue').ComponentOptionsBase<Readonly<{
93
+ control: {
94
+ data: boolean;
95
+ uischema: {
96
+ providedOptions?: string[];
97
+ id?: string;
98
+ };
99
+ } & Omit<{
100
+ uischema: import('@jsonforms/core').ControlElement;
101
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
102
+ path: string;
103
+ enabled: boolean;
104
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
105
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
106
+ tester: import('@jsonforms/core').RankedTester;
107
+ cell: any;
108
+ }[];
109
+ config: any;
110
+ label: string;
111
+ description: string;
112
+ required: NonNullable<boolean | undefined>;
113
+ i18nKeyPrefix: string;
114
+ errors: string;
115
+ data: any;
116
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
117
+ id: string;
118
+ visible: boolean;
119
+ }, "data">;
120
+ handleChange: (path: string, value: unknown) => void;
121
+ changeValue: (newValue: boolean) => void;
122
+ disabled: boolean;
123
+ labelForId?: null;
124
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
125
+ $slots: {
126
+ icon?(_: {}): any;
127
+ buttons?(_: {
128
+ hover: boolean;
129
+ }): any;
130
+ };
131
+ });
132
+ tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
133
+ };
15
134
  anyOfTwinlistRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string[]>>;
16
135
  numberFallbackRenderer: {
17
136
  tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
@@ -7,7 +7,126 @@ export declare const fallbackControlRenderers: {
7
7
  control: import('..').VueControl<string>;
8
8
  };
9
9
  textRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string | null>>;
10
- checkboxRenderer: import('..').SpecialControlRenderer<import('..').VueControl<boolean>>;
10
+ checkboxRenderer: {
11
+ name: string;
12
+ control: {
13
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
14
+ control: {
15
+ data: boolean;
16
+ uischema: {
17
+ providedOptions?: string[];
18
+ id?: string;
19
+ };
20
+ } & Omit<{
21
+ uischema: import('@jsonforms/core').ControlElement;
22
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
23
+ path: string;
24
+ enabled: boolean;
25
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
26
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
27
+ tester: import('@jsonforms/core').RankedTester;
28
+ cell: any;
29
+ }[];
30
+ config: any;
31
+ label: string;
32
+ description: string;
33
+ required: NonNullable<boolean | undefined>;
34
+ i18nKeyPrefix: string;
35
+ errors: string;
36
+ data: any;
37
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
38
+ id: string;
39
+ visible: boolean;
40
+ }, "data">;
41
+ handleChange: (path: string, value: unknown) => void;
42
+ changeValue: (newValue: boolean) => void;
43
+ disabled: boolean;
44
+ labelForId?: null;
45
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
46
+ P: {};
47
+ B: {};
48
+ D: {};
49
+ C: {};
50
+ M: {};
51
+ Defaults: {};
52
+ }, Readonly<{
53
+ control: {
54
+ data: boolean;
55
+ uischema: {
56
+ providedOptions?: string[];
57
+ id?: string;
58
+ };
59
+ } & Omit<{
60
+ uischema: import('@jsonforms/core').ControlElement;
61
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
62
+ path: string;
63
+ enabled: boolean;
64
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
65
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
66
+ tester: import('@jsonforms/core').RankedTester;
67
+ cell: any;
68
+ }[];
69
+ config: any;
70
+ label: string;
71
+ description: string;
72
+ required: NonNullable<boolean | undefined>;
73
+ i18nKeyPrefix: string;
74
+ errors: string;
75
+ data: any;
76
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
77
+ id: string;
78
+ visible: boolean;
79
+ }, "data">;
80
+ handleChange: (path: string, value: unknown) => void;
81
+ changeValue: (newValue: boolean) => void;
82
+ disabled: boolean;
83
+ labelForId?: null;
84
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & Readonly<{}>, {}, {}, {}, {}, {}>;
85
+ __isFragment?: never;
86
+ __isTeleport?: never;
87
+ __isSuspense?: never;
88
+ } & import('vue').ComponentOptionsBase<Readonly<{
89
+ control: {
90
+ data: boolean;
91
+ uischema: {
92
+ providedOptions?: string[];
93
+ id?: string;
94
+ };
95
+ } & Omit<{
96
+ uischema: import('@jsonforms/core').ControlElement;
97
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
98
+ path: string;
99
+ enabled: boolean;
100
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
101
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
102
+ tester: import('@jsonforms/core').RankedTester;
103
+ cell: any;
104
+ }[];
105
+ config: any;
106
+ label: string;
107
+ description: string;
108
+ required: NonNullable<boolean | undefined>;
109
+ i18nKeyPrefix: string;
110
+ errors: string;
111
+ data: any;
112
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
113
+ id: string;
114
+ visible: boolean;
115
+ }, "data">;
116
+ handleChange: (path: string, value: unknown) => void;
117
+ changeValue: (newValue: boolean) => void;
118
+ disabled: boolean;
119
+ labelForId?: null;
120
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
121
+ $slots: {
122
+ icon?(_: {}): any;
123
+ buttons?(_: {
124
+ hover: boolean;
125
+ }): any;
126
+ };
127
+ });
128
+ tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
129
+ };
11
130
  anyOfTwinlistRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string[]>>;
12
131
  numberFallbackRenderer: {
13
132
  tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
package/dist/testing.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as Hh from "vue";
2
2
  import { ssrUtils as Zi, initDirectivesForSSR as ng, nextTick as $o, defineComponent as Ni, computed as Vr, h as In, shallowReactive as rg, reactive as ig, ref as Yh, createApp as sg, transformVNodeArgs as og, setDevtoolsHook as ag, isRef as cg, TransitionGroup as lg, Transition as ug, BaseTransition as fg } from "vue";
3
- import { r as Na, v as Cl, x as Il, y as hg, z as pg, e as dg } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
4
- import { M as Aa, e as _g, U as Ml, g as $l, a as Pl, i as Rl, S as fi, b as mg, k as gg, c as bg, d as yg, f as vg } from "./_Uint8Array-S1XaShiS.js";
3
+ import { r as Na, v as Cl, x as Il, y as hg, z as pg, e as dg } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
4
+ import { M as Aa, e as _g, U as Ml, g as $l, a as Pl, i as Rl, S as fi, b as mg, k as gg, c as bg, d as yg, f as vg } from "./_Uint8Array-CsgDtogS.js";
5
5
  import { i as Rn } from "./isArray-WzO_os3q.js";
6
- import { t as wg } from "./toString-DXjInt1t.js";
6
+ import { t as wg } from "./toString-hCFROtg1.js";
7
7
  function Eg(e) {
8
8
  return e;
9
9
  }
@@ -1,4 +1,4 @@
1
- import { r as g, v as e } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
1
+ import { r as g, v as e } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
2
2
  import { i as l } from "./isArray-WzO_os3q.js";
3
3
  function p(r, t) {
4
4
  for (var n = -1, i = r == null ? 0 : r.length, o = Array(i); ++n < i; )
@@ -1,5 +1,5 @@
1
1
  import { onUnmounted as u, toRef as p, computed as d } from "vue";
2
- import { u as f } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
2
+ import { u as f } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
3
3
  const h = (t = {}) => t.validation || null, m = (t) => t.replace(/^validation\./, ""), v = (t) => {
4
4
  const a = (t.providedOptions ?? []).filter(
5
5
  (e) => e.startsWith("validation.")
@@ -1,5 +1,5 @@
1
1
  import { computed as l } from "vue";
2
- import { u as d } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
2
+ import { u as d } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
3
3
  const t = (s, e) => {
4
4
  const u = l(() => s.value.uischema), o = d(u, "possibleValues");
5
5
  return { possibleValues: l(() => u.value.providedOptions?.includes("possibleValues") ? o.value : u.value.options?.possibleValues ?? (typeof e?.defaultOnNonProvided > "u" ? [] : e?.defaultOnNonProvided)) };
@@ -1,6 +1,6 @@
1
1
  import { ref as v, watch as m } from "vue";
2
2
  import { g as S, a as g } from "./index-Blg1O3Fz.js";
3
- import "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
3
+ import "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
4
4
  const w = ({
5
5
  knownValuesSide: s,
6
6
  possibleValueIds: l,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/jsonforms",
3
- "version": "1.21.16",
3
+ "version": "1.21.17",
4
4
  "description": "Internal JSON Forms integration for frontend KNIME projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,22 +0,0 @@
1
- import { defineComponent as s, openBlock as p, createBlock as a, mergeProps as t, unref as r } from "vue";
2
- import { o as l } from "./index-Blg1O3Fz.js";
3
- import { _ as i } from "./TwinlistControlBase.vue_vue_type_script_setup_true_lang-Chqnf11f.js";
4
- const _ = /* @__PURE__ */ s({
5
- __name: "AnyOfTwinlist",
6
- props: {
7
- control: {},
8
- handleChange: { type: Function },
9
- changeValue: { type: Function },
10
- disabled: { type: Boolean },
11
- isValid: { type: Boolean },
12
- onRegisterValidation: { type: Function },
13
- labelForId: {}
14
- },
15
- setup(o) {
16
- const e = o.control.schema.anyOf.map(l);
17
- return (n, m) => (p(), a(i, t(n.$props, { "possible-values": r(e) }), null, 16, ["possible-values"]));
18
- }
19
- });
20
- export {
21
- _ as default
22
- };