@knime/jsonforms 1.17.5 → 1.18.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 (87) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{AnyOfTwinlist-CSbFqiiy.js → AnyOfTwinlist-Dk_ou9W9.js} +1 -1
  3. package/dist/{Button-BfZfHt8q.js → Button-D8mgaxLU.js} +1 -1
  4. package/dist/{Checkbox-M2rFIZY0.js → Checkbox-DD4pKL3h.js} +1 -1
  5. package/dist/{CheckboxControl-Dz65huic.js → CheckboxControl-NTWDDTuK.js} +1 -1
  6. package/dist/{Checkboxes-Qc7Wn4p8.js → Checkboxes-BZyTWKxA.js} +2 -2
  7. package/dist/{CheckboxesControl-52GcYYsS.js → CheckboxesControl-DYSMiVtJ.js} +3 -3
  8. package/dist/{ComboBoxControl-BSrtnamE.js → ComboBoxControl-LCX4h3aU.js} +3 -3
  9. package/dist/{DateControl-B9h4p2F5.js → DateControl-DI6h7HP8.js} +1 -1
  10. package/dist/{DateTimeControl-BsPKGDFA.js → DateTimeControl-VgDOif_C.js} +1 -1
  11. package/dist/{DateTimeFormatInput-bkxjAG8p.js → DateTimeFormatInput-DkqacscY.js} +5 -6
  12. package/dist/{DateTimeFormatPickerControl-SZNaksRz.js → DateTimeFormatPickerControl-BSrOOnCs.js} +2 -2
  13. package/dist/{DateTimeFormatPickerWithTypeControl-CAEt6y2T.js → DateTimeFormatPickerWithTypeControl-hk-FzFiP.js} +3 -3
  14. package/dist/{Dropdown-6eVZoGpG.js → Dropdown-DCj9CrKC.js} +30 -31
  15. package/dist/{DropdownControl-mDfFM4Ka.js → DropdownControl-CCP_1uip.js} +3 -3
  16. package/dist/{HorizontalLayout-TMNv34K1.js → HorizontalLayout-BYLOtJxA.js} +1 -1
  17. package/dist/{InputField-OKgaETDx.js → InputField-Dvezbm7O.js} +1 -1
  18. package/dist/{IntegerControl-xaXhFuiQ.js → IntegerControl-CVJrLhsi.js} +1 -1
  19. package/dist/{IntervalControl-Bdoki_MC.js → IntervalControl-CkUZmAS3.js} +38 -39
  20. package/dist/{LoadingDropdown-edN4VitH.js → LoadingDropdown-BI_31sRO.js} +5 -5
  21. package/dist/{LoadingIcon-DMHNXXmQ.js → LoadingIcon-DlQBrbLr.js} +1 -1
  22. package/dist/{ManualTwinlistControl-DEBn3XgS.js → ManualTwinlistControl-DZnXKbOp.js} +4 -4
  23. package/dist/{MultiSelectListBoxControl-BmRzZUI_.js → MultiSelectListBoxControl-CI5uZ6q4.js} +2 -2
  24. package/dist/{MultimodeTwinlistControl-P0Bj7FYU.js → MultimodeTwinlistControl-VeD41Gre.js} +12 -12
  25. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-McCAyYfA.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-DQ6N2rm-.js} +2 -2
  26. package/dist/{MultiselectListBox-Ivk-_tly.js → MultiselectListBox-Dl_jpzqo.js} +6 -7
  27. package/dist/{NameFilter-SAlJdnm7.js → NameFilter-CYgrV7af.js} +1 -1
  28. package/dist/{NumberControl-C_VElIjG.js → NumberControl-ByeZpXkg.js} +1 -1
  29. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-Bcc2XPBa.js → NumberControlBase.vue_vue_type_script_setup_true_lang-BwL1OLQ_.js} +2 -2
  30. package/dist/{NumberInput-CHeMUEcJ.js → NumberInput-BNOfmKVa.js} +1 -1
  31. package/dist/{OneOfDropdown-DZgSOLLJ.js → OneOfDropdown-CoyhfG0y.js} +1 -1
  32. package/dist/{RadioControl-xm6uqnsz.js → RadioControl-CGDyH1c0.js} +5 -5
  33. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-cwi1lPmz.js → RadioControlBase.vue_vue_type_script_setup_true_lang-BfNBgOGr.js} +16 -16
  34. package/dist/{RichTextControl-Bx9uzTcU.js → RichTextControl-CkXcfkrB.js} +13 -14
  35. package/dist/{SectionHeading-ChmLXMcT.js → SectionHeading-CQ5ZhHbM.js} +1 -1
  36. package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.js +16726 -0
  37. package/dist/{SectionLayout-DlR3VVwY.js → SectionLayout-k5W0xxod.js} +3 -3
  38. package/dist/SettingsSubPanel-C4se578b.js +5 -0
  39. package/dist/{SettingsSubPanelLayout-DFSdKm29.js → SettingsSubPanelLayout-BmLlsA43.js} +9 -9
  40. package/dist/{SimpleButtonControl-0nEpHoVU.js → SimpleButtonControl-DkywfxOh.js} +2 -2
  41. package/dist/{SimpleTwinlistControl-BlS_kAjd.js → SimpleTwinlistControl-CpfNxe_A.js} +2 -2
  42. package/dist/{SingleSelectControl-CN-n21yb.js → SingleSelectControl-Cn4i_dQA.js} +2 -2
  43. package/dist/{SingleSelectListBoxControl-CCI8zCX8.js → SingleSelectListBoxControl-FSDzcglF.js} +3 -3
  44. package/dist/{SortListControl-BulTKISX.js → SortListControl-DoMyixya.js} +26 -26
  45. package/dist/{StyledListItem-CQwlzLP2.js → StyledListItem-CAnXva6A.js} +1 -1
  46. package/dist/{TextAreaControl-CXKJWxR3.js → TextAreaControl-zDaBkP9F.js} +1 -1
  47. package/dist/{TextControl-CgsdWiFw.js → TextControl-C_xVOyqJ.js} +1 -1
  48. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-BTqu_S1c.js → TextControl.vue_vue_type_script_setup_true_lang-C_ayUzXZ.js} +3 -3
  49. package/dist/{TimeControl-OsnqrTKz.js → TimeControl-BFW6Jbz3.js} +1 -1
  50. package/dist/{TwinlistControlBase-BEEFVvf6.js → TwinlistControlBase-hU63N9DI.js} +7 -7
  51. package/dist/{TwinlistLoadingInfo-BFWX5bru.js → TwinlistLoadingInfo-CEKS8EK-.js} +25 -25
  52. package/dist/{TypedStringFilter-CAXArbh6.js → TypedStringFilter-D0CV_lR9.js} +1 -1
  53. package/dist/{ValueSwitch-BmW_v2r_.js → ValueSwitch-BX_4vNxr.js} +4 -4
  54. package/dist/{ValueSwitchControl-F9EBfMSY.js → ValueSwitchControl-uuYwunJW.js} +1 -1
  55. package/dist/{VerticalLayout-DEFdoJSU.js → VerticalLayout-DuBfkHiD.js} +2 -2
  56. package/dist/{VerticalLayoutBase-DiZEVSbM.js → VerticalLayoutBase-BzGelHRs.js} +1 -1
  57. package/dist/{ZonedDateTimeControl-TJvHA6Rm.js → ZonedDateTimeControl-BuxRP-bI.js} +3 -3
  58. package/dist/{_baseEach-BxODVDA6.js → _baseEach-Bo6-9-dg.js} +2 -2
  59. package/dist/{_baseIteratee-C5Hf2GDl.js → _baseIteratee-Cn5QShGO.js} +3 -3
  60. package/dist/{_getTag-DTjoqLoo.js → _getTag-Bvm_nCSV.js} +1 -1
  61. package/dist/circle-error-BKcmt7Jv-EwT8EkbM.js +22 -0
  62. package/dist/circle-info-UvZ8z7Uk-DygBesk-.js +23 -0
  63. package/dist/knime-jsonforms.css +1 -1
  64. package/dist/knime-jsonforms.js +135 -90
  65. package/dist/local-filesystem-hArfE0_N-CbgY_UQS.js +22 -0
  66. package/dist/{localTimeUtils-BsjK2bfg.js → localTimeUtils-D8YXvgUG.js} +6 -6
  67. package/dist/minimize-side-panel-Brx7aXNg-Bk7ePyhf.js +22 -0
  68. package/dist/src/renderers/defaultRenderers.d.ts +2 -2
  69. package/dist/src/renderers/radioRenderer.d.ts +1 -1
  70. package/dist/src/renderers/valueSwitchRenderer.d.ts +1 -1
  71. package/dist/src/uiComponents/FieldControl.vue.d.ts +19 -0
  72. package/dist/src/uiComponents/FieldRenderer.vue.d.ts +21 -0
  73. package/dist/src/uiComponents/RadioControl.vue.d.ts +1 -1
  74. package/dist/src/uiComponents/RadioControlBase.vue.d.ts +1 -1
  75. package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +1 -1
  76. package/dist/src/uiComponents/index.d.ts +2 -1
  77. package/dist/testing.js +2 -2
  78. package/dist/{toString-DJjlKbCy.js → toString-QZrKsF0R.js} +1 -1
  79. package/dist/{useBuiltinValidations-Dx6fNtgz.js → useBuiltinValidations-BuK2jQ92.js} +1 -1
  80. package/dist/{usePossibleValues-CJPCrHNK.js → usePossibleValues-mDlctZMJ.js} +1 -1
  81. package/package.json +4 -4
  82. package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js +0 -16088
  83. package/dist/SettingsSubPanel-BE_UKIFi.js +0 -5
  84. package/dist/circle-error-DSKuwq8B-CWvOjP4j.js +0 -22
  85. package/dist/circle-info-DL9BFZEc-BlUxsw1S.js +0 -22
  86. package/dist/index-CZ-Na6c0.js +0 -376
  87. package/dist/local-filesystem-D9Znqo5U-U94FQxJl.js +0 -22
@@ -1,27 +1,27 @@
1
- import { defineComponent as u, ref as i, onMounted as E, createElementBlock as P, createCommentVNode as T, openBlock as c, createElementVNode as S, provide as b, computed as h, watch as C, createBlock as F, Suspense as A, withCtx as d, createVNode as l, renderSlot as D, unref as B, mergeProps as I, nextTick as O } from "vue";
2
- import { _, p as J, F as M, s as N, U as $, i as R } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
3
- import { E as oe, L as ae, a as se, c as re, f as ne, e as de, d as le, g as ie, h as ce, k as ue, l as me, j as pe, m as fe, b as ve, n as ge, t as he, u as De, w as ye } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
4
- import { default as Se } from "./SimpleButtonControl-0nEpHoVU.js";
5
- import { _ as xe } from "./TextControl.vue_vue_type_script_setup_true_lang-BTqu_S1c.js";
6
- import { V as we } from "./VerticalLayoutBase-DiZEVSbM.js";
7
- import { S as ke } from "./SectionHeading-ChmLXMcT.js";
8
- import { S as Te } from "./SettingsSubPanel-BE_UKIFi.js";
9
- const V = {
1
+ import { defineComponent as c, ref as v, onMounted as E, createElementBlock as b, createCommentVNode as T, openBlock as l, createElementVNode as C, provide as N, computed as i, watch as $, createBlock as g, Suspense as A, withCtx as f, createVNode as h, renderSlot as S, unref as F, mergeProps as B, nextTick as I } from "vue";
2
+ import { _ as L, p as O, F as J, s as M, U as R, i as V, a as U } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.js";
3
+ import { E as re, L as ne, b as le, c as ie, j as ce, f as de, d as ue, g as me, h as pe, n as fe, l as he, k as ve, m as ge, e as De, o as ye, t as Pe, u as xe, w as Se } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.js";
4
+ import { default as be } from "./SimpleButtonControl-DkywfxOh.js";
5
+ import { _ as Fe } from "./TextControl.vue_vue_type_script_setup_true_lang-C_ayUzXZ.js";
6
+ import { V as ke } from "./VerticalLayoutBase-BzGelHRs.js";
7
+ import { S as je } from "./SectionHeading-CQ5ZhHbM.js";
8
+ import { S as Te } from "./SettingsSubPanel-C4se578b.js";
9
+ const G = {
10
10
  key: 0,
11
11
  class: "loading-dialog skeleton-wrapper"
12
- }, U = 200, G = /* @__PURE__ */ u({
12
+ }, H = 200, q = /* @__PURE__ */ c({
13
13
  __name: "LoadingDialog",
14
- setup(o) {
15
- const s = i(!1);
14
+ setup(t) {
15
+ const s = v(!1);
16
16
  return E(() => {
17
17
  setTimeout(() => {
18
18
  s.value = !0;
19
- }, U);
20
- }), (m, a) => s.value ? (c(), P("div", V, [...a[0] || (a[0] = [
21
- S("div", { class: "loading-dialog-content skeleton" }, null, -1)
19
+ }, H);
20
+ }), (r, a) => s.value ? (l(), b("div", G, [...a[0] || (a[0] = [
21
+ C("div", { class: "loading-dialog-content skeleton" }, null, -1)
22
22
  ])])) : T("", !0);
23
23
  }
24
- }), H = /* @__PURE__ */ _(G, [["__scopeId", "data-v-9c94592d"]]), q = { class: "dialog" }, y = "EXPOSED_METHOD", X = /* @__PURE__ */ u({
24
+ }), X = /* @__PURE__ */ L(q, [["__scopeId", "data-v-9c94592d"]]), Y = { class: "dialog" }, _ = "EXPOSED_METHOD", z = /* @__PURE__ */ c({
25
25
  __name: "JsonFormsDialog",
26
26
  props: {
27
27
  schema: {},
@@ -33,76 +33,76 @@ const V = {
33
33
  validate: { type: Function, default: void 0 }
34
34
  },
35
35
  emits: ["updateData", "trigger", "change", "alert", "stateProviderListener"],
36
- setup(o, { expose: s, emit: m }) {
37
- const a = m, x = (e, t, n) => (t.type === $ && // @ts-expect-error source doesn't exist on type object
38
- t.context?.source !== y && setTimeout(() => O(() => a("updateData", t.path))), n(e, t)), L = (e) => {
36
+ setup(t, { expose: s, emit: r }) {
37
+ const a = r, d = (e, o, p) => (o.type === R && // @ts-expect-error source doesn't exist on type object
38
+ o.context?.source !== _ && setTimeout(() => I(() => a("updateData", o.path))), p(e, o)), n = (e) => {
39
39
  a("change", e);
40
40
  };
41
41
  Object.entries({
42
42
  trigger: (e) => a("trigger", e),
43
- addStateProviderListener: (e, t) => a("stateProviderListener", e, t),
43
+ addStateProviderListener: (e, o) => a("stateProviderListener", e, o),
44
44
  sendAlert: (e) => a("alert", e),
45
- validate: (e, t) => {
46
- if (!o.validate)
45
+ validate: (e, o) => {
46
+ if (!t.validate)
47
47
  throw new Error(
48
48
  `No validate function provided to JsonFormsDialog but validate called with arguments ${JSON.stringify(
49
- { id: e, data: t }
49
+ { id: e, data: o }
50
50
  )}`
51
51
  );
52
- return o.validate(e, t);
52
+ return t.validate(e, o);
53
53
  }
54
- }).forEach(([e, t]) => b(e, t));
55
- const r = i(null), p = [], f = (e, t) => {
56
- r.value.dispatch(
57
- R.update(e, () => t, {
58
- source: y
54
+ }).forEach(([e, o]) => N(e, o));
55
+ const m = v(null), D = [], y = (e, o) => {
56
+ m.value.dispatch(
57
+ V.update(e, () => o, {
58
+ source: _
59
59
  })
60
60
  );
61
- }, w = h(() => r.value !== null);
62
- let v;
63
- const j = new Promise((e) => {
64
- v = e;
61
+ }, k = i(() => m.value !== null);
62
+ let P;
63
+ const w = new Promise((e) => {
64
+ P = e;
65
65
  });
66
- C(
67
- () => w.value,
66
+ $(
67
+ () => k.value,
68
68
  (e) => {
69
- e && (v(), p.forEach(
70
- ({ path: t, value: n }) => f(t, n)
69
+ e && (P(), D.forEach(
70
+ ({ path: o, value: p }) => y(o, p)
71
71
  ));
72
72
  }
73
73
  ), s({
74
- updateData: async (e, t) => {
75
- r.value ? f(e, t) : (p.push({ path: e, value: t }), await j);
74
+ updateData: async (e, o) => {
75
+ m.value ? y(e, o) : (D.push({ path: e, value: o }), await w);
76
76
  }
77
77
  });
78
- const g = i(null);
79
- J(g);
80
- const k = h(() => ({
81
- data: o.data,
82
- schema: o.schema,
83
- uischema: o.uischema,
84
- renderers: o.renderers,
85
- middleware: x,
86
- ...o.ajv ? { ajv: o.ajv } : {}
78
+ const x = v(null);
79
+ O(x);
80
+ const j = i(() => ({
81
+ data: t.data,
82
+ schema: t.schema,
83
+ uischema: t.uischema,
84
+ renderers: t.renderers,
85
+ middleware: d,
86
+ ...t.ajv ? { ajv: t.ajv } : {}
87
87
  }));
88
- return (e, t) => (c(), P("div", q, [
89
- S("div", {
88
+ return (e, o) => (l(), b("div", Y, [
89
+ C("div", {
90
90
  ref_key: "subPanelTeleportDest",
91
- ref: g
91
+ ref: x
92
92
  }, null, 512),
93
- (c(), F(A, null, {
94
- fallback: d(() => [
95
- l(H)
93
+ (l(), g(A, null, {
94
+ fallback: f(() => [
95
+ h(X)
96
96
  ]),
97
- default: d(() => [
98
- l(M, null, {
99
- default: d(() => [
100
- D(e.$slots, "top", {}, void 0, !0),
101
- l(B(N), I({
97
+ default: f(() => [
98
+ h(J, null, {
99
+ default: f(() => [
100
+ S(e.$slots, "top", {}, void 0, !0),
101
+ h(F(M), B({
102
102
  ref_key: "jsonforms",
103
- ref: r
104
- }, k.value, { onChange: L }), null, 16),
105
- D(e.$slots, "bottom", {}, void 0, !0)
103
+ ref: m
104
+ }, j.value, { onChange: n }), null, 16),
105
+ S(e.$slots, "bottom", {}, void 0, !0)
106
106
  ]),
107
107
  _: 3
108
108
  })
@@ -111,40 +111,85 @@ const V = {
111
111
  }))
112
112
  ]));
113
113
  }
114
- }), W = /* @__PURE__ */ _(X, [["__scopeId", "data-v-16f2d28d"]]), Y = {
114
+ }), ee = /* @__PURE__ */ L(z, [["__scopeId", "data-v-16f2d28d"]]), K = {
115
115
  layout: {
116
116
  type: Object,
117
117
  required: !0
118
118
  }
119
- }, Z = (o) => u(o, {
120
- props: Y
119
+ }, te = (t) => c(t, {
120
+ props: K
121
+ }), Q = /* @__PURE__ */ c({
122
+ __name: "FieldRenderer",
123
+ props: {
124
+ control: {},
125
+ fieldName: {},
126
+ uischema: {}
127
+ },
128
+ setup(t) {
129
+ const s = (n, u) => n === "" ? u : `${n}.${u}`, r = t, a = i(() => s(r.control.path, r.fieldName)), d = i(
130
+ () => r.control.schema.properties[r.fieldName]
131
+ );
132
+ return (n, u) => (l(), g(F(U), {
133
+ key: a.value,
134
+ schema: d.value,
135
+ uischema: t.uischema,
136
+ path: a.value,
137
+ enabled: t.control.enabled,
138
+ renderers: t.control.renderers,
139
+ cells: t.control.cells
140
+ }, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]));
141
+ }
142
+ }), oe = /* @__PURE__ */ c({
143
+ __name: "FieldControl",
144
+ props: {
145
+ control: {},
146
+ fieldName: {},
147
+ format: {},
148
+ options: {}
149
+ },
150
+ setup(t) {
151
+ const s = t, r = i(() => ({
152
+ type: "Control",
153
+ scope: "#",
154
+ options: {
155
+ ...s.options,
156
+ format: s.format
157
+ }
158
+ }));
159
+ return (a, d) => (l(), g(Q, {
160
+ "field-name": t.fieldName,
161
+ uischema: r.value,
162
+ control: t.control
163
+ }, null, 8, ["field-name", "uischema", "control"]));
164
+ }
121
165
  });
122
166
  export {
123
- oe as ErrorMessages,
124
- M as Form,
125
- W as JsonFormsDialog,
126
- ae as LabeledControl,
127
- ke as SectionHeading,
167
+ re as ErrorMessages,
168
+ oe as FieldControl,
169
+ J as Form,
170
+ ee as JsonFormsDialog,
171
+ ne as LabeledControl,
172
+ je as SectionHeading,
128
173
  Te as SettingsSubPanel,
129
- Se as SimpleButtonControl,
130
- xe as TextControl,
131
- we as VerticalLayoutBase,
132
- se as controlProps,
133
- re as controlToRenderer,
134
- ne as controls,
174
+ be as SimpleButtonControl,
175
+ Fe as TextControl,
176
+ ke as VerticalLayoutBase,
177
+ le as controlProps,
178
+ ie as controlToRenderer,
179
+ ce as controls,
135
180
  de as defaultRenderers,
136
- le as defineControl,
137
- Z as defineLayout,
138
- ie as getAsyncSetupMethod,
139
- ce as handleAsyncComponents,
140
- ue as inputFormats,
141
- Y as layoutProps,
142
- me as layoutToRenderer,
143
- pe as layouts,
144
- fe as mapControls,
145
- ve as mapLayouts,
146
- ge as priorityRanks,
147
- he as toRenderers,
148
- De as useProvidedState,
149
- ye as withLabel
181
+ ue as defineControl,
182
+ te as defineLayout,
183
+ me as getAsyncSetupMethod,
184
+ pe as handleAsyncComponents,
185
+ fe as inputFormats,
186
+ K as layoutProps,
187
+ he as layoutToRenderer,
188
+ ve as layouts,
189
+ ge as mapControls,
190
+ De as mapLayouts,
191
+ ye as priorityRanks,
192
+ Pe as toRenderers,
193
+ xe as useProvidedState,
194
+ Se as withLabel
150
195
  };
@@ -0,0 +1,22 @@
1
+ import { createElementBlock as o, openBlock as t, createElementVNode as n } from "vue";
2
+ const r = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ stroke: "currentColor",
6
+ "stroke-linecap": "round",
7
+ "stroke-linejoin": "round",
8
+ viewBox: "0 0 12 12"
9
+ };
10
+ function l(s, e) {
11
+ return t(), o("svg", r, [...e[0] || (e[0] = [
12
+ n("path", {
13
+ d: "M8.963 10.5H3m1.778 0V7.88m2.666 0v2.62M1.556 7.88h8.888A.574.574 0 0 0 11 7.317V2.065a.574.574 0 0 0-.556-.565H1.556A.574.574 0 0 0 1 2.065v5.25a.55.55 0 0 0 .556.566",
14
+ "vector-effect": "non-scaling-stroke"
15
+ }, null, -1)
16
+ ])]);
17
+ }
18
+ const i = { render: l };
19
+ export {
20
+ i as default,
21
+ l as render
22
+ };
@@ -1,13 +1,13 @@
1
1
  import { resolveComponent as Ve, createElementBlock as A, openBlock as x, normalizeClass as oe, createElementVNode as q, createCommentVNode as ie, withModifiers as Wt, createVNode as V, reactive as za, computed as T, defineComponent as $e, ref as De, watch as Ue, onMounted as Rn, onUnmounted as Ga, toRefs as ql, nextTick as gr, useAttrs as jl, createBlock as Pe, renderSlot as Mr, unref as P, resolveDynamicComponent as Za, normalizeProps as br, mergeProps as Pt, inject as Cr, toRef as Dn, withCtx as Me, toDisplayString as He, Fragment as xe, renderList as Ke, normalizeStyle as Dr, withKeys as Cn, withDirectives as Bs, watchEffect as zs, provide as Or, guardReactiveProps as $a, createTextVNode as Ka, isRef as lr, Transition as Gs, resolveDirective as Vl, toHandlers as Zs } from "vue";
2
2
  import { c as Bl } from "./popper-LGjf7Wza.js";
3
- import { _ as Ks, H as qn, I as zl } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
4
- import { D as Gl } from "./Dropdown-6eVZoGpG.js";
3
+ import { _ as Ks, J as qn, K as zl } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.js";
4
+ import { D as Gl } from "./Dropdown-DCj9CrKC.js";
5
5
  import { A as Zl } from "./arrow-dropdown-BHK4j8GT.js";
6
6
  /* empty css */
7
- import { a as Kl } from "./toString-DJjlKbCy.js";
8
- import { b as Xl } from "./_baseIteratee-C5Hf2GDl.js";
9
- import { b as Ql } from "./_baseEach-BxODVDA6.js";
10
- import { d as Jl } from "./_getTag-DTjoqLoo.js";
7
+ import { a as Kl } from "./toString-QZrKsF0R.js";
8
+ import { b as Xl } from "./_baseIteratee-Cn5QShGO.js";
9
+ import { b as Ql } from "./_baseEach-Bo6-9-dg.js";
10
+ import { d as Jl } from "./_getTag-Bvm_nCSV.js";
11
11
  import { i as ec } from "./isArray-WzO_os3q.js";
12
12
  function st(e) {
13
13
  "@babel/helpers - typeof";
@@ -0,0 +1,22 @@
1
+ import { createElementBlock as n, openBlock as o, createElementVNode as t } from "vue";
2
+ const r = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ stroke: "currentColor",
6
+ "stroke-linecap": "round",
7
+ "stroke-linejoin": "round",
8
+ viewBox: "0 0 12 12"
9
+ };
10
+ function l(i, e) {
11
+ return o(), n("svg", r, [...e[0] || (e[0] = [
12
+ t("path", {
13
+ d: "M3.75 3.25v5.5M2.45 1.5h7.105a.45.45 0 0 1 .45.45v8.1a.45.45 0 0 1-.45.45H2.45a.45.45 0 0 1-.45-.45v-8.1a.45.45 0 0 1 .45-.45",
14
+ "vector-effect": "non-scaling-stroke"
15
+ }, null, -1)
16
+ ])]);
17
+ }
18
+ const a = { render: l };
19
+ export {
20
+ a as default,
21
+ l as render
22
+ };
@@ -38,7 +38,7 @@ export declare const controls: {
38
38
  multiSelectListBoxRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string[]>>;
39
39
  nameFilterRenderer: import('..').SpecialControlRenderer<import('..').VueControl<import('../uiComponents/twinlist/MultimodeTwinlistControl.vue').TwinlistData>>;
40
40
  numberRenderer: import('..').SpecialControlRenderer<import('..').VueControl<number>>;
41
- radioRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string>>;
41
+ radioRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string | undefined>>;
42
42
  richTextRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string>>;
43
43
  simpleTwinlistRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string[]>>;
44
44
  singleSelectListBoxRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string>>;
@@ -1091,7 +1091,7 @@ export declare const controls: {
1091
1091
  textAreaRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string>>;
1092
1092
  twinlistRenderer: import('..').SpecialControlRenderer<import('..').VueControl<import('../uiComponents/twinlist/MultimodeTwinlistControl.vue').TwinlistData>>;
1093
1093
  manualTwinlistRenderer: import('..').SpecialControlRenderer<import('..').VueControl<import('../uiComponents/twinlist/ManualTwinlistControl.vue').ManualTwinlistData>>;
1094
- valueSwitchRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string>>;
1094
+ valueSwitchRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string | undefined>>;
1095
1095
  zonedDateTimeRenderer: import('..').SpecialControlRenderer<import('..').VueControl<{
1096
1096
  dateTime: string;
1097
1097
  timeZone: string;
@@ -1 +1 @@
1
- export declare const radioRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string>>;
1
+ export declare const radioRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string | undefined>>;
@@ -1 +1 @@
1
- export declare const valueSwitchRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string>>;
1
+ export declare const valueSwitchRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string | undefined>>;
@@ -0,0 +1,19 @@
1
+ import { VueControlProps } from '../higherOrderComponents';
2
+ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
4
+ control: VueControlProps<T>["control"];
5
+ fieldName: keyof T & string;
6
+ format?: string;
7
+ options?: object;
8
+ } & Partial<{}>> & import('vue').PublicProps;
9
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
10
+ attrs: any;
11
+ slots: {};
12
+ emit: {};
13
+ }>) => import('vue').VNode & {
14
+ __ctx?: Awaited<typeof __VLS_setup>;
15
+ };
16
+ export default _default;
17
+ type __VLS_PrettifyLocal<T> = {
18
+ [K in keyof T]: T[K];
19
+ } & {};
@@ -0,0 +1,21 @@
1
+ import { UISchemaElement } from '@jsonforms/core';
2
+ import { VueControlProps } from '../higherOrderComponents';
3
+ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
5
+ control: VueControlProps<T>["control"];
6
+ fieldName: keyof T & string;
7
+ uischema: UISchemaElement & {
8
+ scope?: `#${string}`;
9
+ };
10
+ } & Partial<{}>> & import('vue').PublicProps;
11
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
12
+ attrs: any;
13
+ slots: {};
14
+ emit: {};
15
+ }>) => import('vue').VNode & {
16
+ __ctx?: Awaited<typeof __VLS_setup>;
17
+ };
18
+ export default _default;
19
+ type __VLS_PrettifyLocal<T> = {
20
+ [K in keyof T]: T[K];
21
+ } & {};
@@ -1,4 +1,4 @@
1
1
  import { VueControlPropsForLabelContent } from '../higherOrderComponents/control/withLabel';
2
- type __VLS_Props = VueControlPropsForLabelContent<string>;
2
+ type __VLS_Props = VueControlPropsForLabelContent<string | undefined>;
3
3
  declare const _default: 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>;
4
4
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { VueControlPropsForLabelContent } from '../higherOrderComponents';
2
- type __VLS_Props = VueControlPropsForLabelContent<string> & {
2
+ type __VLS_Props = VueControlPropsForLabelContent<string | undefined> & {
3
3
  type: "radio" | "valueSwitch";
4
4
  };
5
5
  declare const _default: 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>;
@@ -1,4 +1,4 @@
1
1
  import { VueControlPropsForLabelContent } from '../higherOrderComponents/control/withLabel';
2
- type __VLS_Props = VueControlPropsForLabelContent<string>;
2
+ type __VLS_Props = VueControlPropsForLabelContent<string | undefined>;
3
3
  declare const _default: 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>;
4
4
  export default _default;
@@ -1,4 +1,5 @@
1
+ import { default as FieldControl } from './FieldControl.vue';
1
2
  import { default as SimpleButtonControl } from './SimpleButtonControl.vue';
2
3
  import { default as TextControl } from './TextControl.vue';
3
4
  import { default as useProvidedState } from './composables/useProvidedState';
4
- export { TextControl, SimpleButtonControl, useProvidedState };
5
+ export { TextControl, SimpleButtonControl, useProvidedState, FieldControl };
package/dist/testing.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as nh from "vue";
2
2
  import { ssrUtils as Ii, initDirectivesForSSR as V_, nextTick as uo, defineComponent as li, computed as kr, h as En, shallowReactive as q_, reactive as U_, ref as rh, createApp as W_, transformVNodeArgs as z_, setDevtoolsHook as K_, isRef as G_, TransitionGroup as H_, Transition as X_, BaseTransition as Y_ } from "vue";
3
- import { o as J_, q as Q_, e as Z_ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
4
- import { b as em } from "./_baseIteratee-C5Hf2GDl.js";
3
+ import { q as J_, r as Q_, f as Z_ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.js";
4
+ import { b as em } from "./_baseIteratee-Cn5QShGO.js";
5
5
  function tm(e, t) {
6
6
  return e > t;
7
7
  }
@@ -1,4 +1,4 @@
1
- import { o as g, S as s } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
1
+ import { q as g, S as s } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.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 "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
2
+ import { u as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.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 "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
2
+ import { u as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CQxP1EIA.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)) };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/jsonforms",
3
- "version": "1.17.5",
3
+ "version": "1.18.1",
4
4
  "description": "Internal JSON Forms integration for frontend KNIME projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,14 +16,14 @@
16
16
  "@jsonforms/core": "3.4.0",
17
17
  "@jsonforms/vue": "3.4.0",
18
18
  "@jsonforms/vue-vanilla": "3.4.0",
19
- "@knime/kds-components": "0.5.5",
19
+ "@knime/kds-components": "0.5.7",
20
20
  "ajv": "8.13.0",
21
21
  "date-fns": "2.30.0",
22
22
  "focus-trap-vue": "4.0.3",
23
23
  "tabbable": "6.2.0",
24
24
  "uuid": "10.0.0",
25
- "@knime/components": "1.45.2",
26
25
  "@knime/rich-text-editor": "1.8.8",
26
+ "@knime/components": "1.45.2",
27
27
  "@knime/styles": "1.15.0",
28
28
  "@knime/utils": "1.9.2"
29
29
  },
@@ -36,7 +36,7 @@
36
36
  "@vitejs/plugin-vue": "^6.0.1",
37
37
  "@vue/test-utils": "2.4.6",
38
38
  "consola": "3.4.2",
39
- "lodash-es": "4.17.21",
39
+ "lodash-es": "4.17.23",
40
40
  "modern-normalize": "3.0.1",
41
41
  "postcss": "8.5.6",
42
42
  "type-fest": "4.26.1",