@knime/jsonforms 1.12.2 → 1.12.4

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 (75) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/{AnyOfTwinlist-C2hopPFE.js → AnyOfTwinlist-D9PZ1pQL.js} +1 -1
  3. package/dist/{Button-a3DyR88M.js → Button-BmupLxtR.js} +1 -1
  4. package/dist/{CheckboxControl-DoQCgnTf.js → CheckboxControl-rZz_eVaX.js} +1 -1
  5. package/dist/{Checkboxes-DNbu05C7.js → Checkboxes-DJFEP18W.js} +1 -1
  6. package/dist/{CheckboxesControl-DgwL4BAl.js → CheckboxesControl-DPBgi8ER.js} +3 -3
  7. package/dist/{ComboBoxControl-DSSfSqIC.js → ComboBoxControl-Nz1Olkkr.js} +2 -2
  8. package/dist/{DateControl-DArS42tY.js → DateControl-f-Fx1Mvk.js} +1 -1
  9. package/dist/{DateTimeControl-BuZ5D5EW.js → DateTimeControl-BpygMW4x.js} +2 -2
  10. package/dist/{DateTimeFormatInput-BJepKEOT.js → DateTimeFormatInput-CDtPOm8O.js} +3 -3
  11. package/dist/{DateTimeFormatPickerControl-YAKOrguY.js → DateTimeFormatPickerControl-CLScuIr9.js} +2 -2
  12. package/dist/{DateTimeFormatPickerWithTypeControl-CM2eu1Bq.js → DateTimeFormatPickerWithTypeControl-C3A2Z9fy.js} +3 -3
  13. package/dist/{DateTimeInput-B30lQ3sx.js → DateTimeInput-DBzWaC1M.js} +6 -6
  14. package/dist/{Dropdown-Cp5fC5vt.js → Dropdown-BoJb215Q.js} +2 -2
  15. package/dist/{DropdownControl-DXtUnm7l.js → DropdownControl-DwWRmXkz.js} +2 -2
  16. package/dist/{HorizontalLayout-BTxnoo0O.js → HorizontalLayout-OijX1haf.js} +1 -1
  17. package/dist/{InputField-B2bBpIrm.js → InputField-COACe1p5.js} +1 -1
  18. package/dist/{IntegerControl-CamhgT4b.js → IntegerControl-Cy1uvvLG.js} +1 -1
  19. package/dist/{IntervalControl-Dhz8aY9W.js → IntervalControl-DkH6yQs_.js} +3 -3
  20. package/dist/{LoadingDropdown-DFLGXxJe.js → LoadingDropdown-C4lMKz45.js} +3 -3
  21. package/dist/{ManualTwinlistControl-C1Bk354m.js → ManualTwinlistControl-BO_Bb8w3.js} +4 -4
  22. package/dist/{MultiSelectListBoxControl-DiSPf1p7.js → MultiSelectListBoxControl-DDS-fnJB.js} +2 -2
  23. package/dist/{MultimodeTwinlistControl-DnpmvhFB.js → MultimodeTwinlistControl-CZCYZdjb.js} +6 -6
  24. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_ca157254_lang-DjGJNwBV.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_ca157254_lang-B2MRMh44.js} +1 -1
  25. package/dist/{MultiselectListBox-DMZvKZT2.js → MultiselectListBox-D96AQzGw.js} +2 -2
  26. package/dist/{NameFilter-qYooMIRr.js → NameFilter-DMYnVz4i.js} +1 -1
  27. package/dist/{NumberControl-mAvpRa8P.js → NumberControl-CkuaWwJk.js} +1 -1
  28. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-DsYiLVc0.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CuLp8s6f.js} +2 -2
  29. package/dist/{NumberInput-DfYpYs35.js → NumberInput-CKnd9yS_.js} +1 -1
  30. package/dist/{OneOfDropdown-Dx9oWy6Y.js → OneOfDropdown-SDU8lgEU.js} +1 -1
  31. package/dist/{RadioControl-C0sZejgk.js → RadioControl-DmYEQoP6.js} +2 -2
  32. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-BBZFZcBX.js → RadioControlBase.vue_vue_type_script_setup_true_lang-C7PfnM_4.js} +3 -3
  33. package/dist/{RichTextControl-ikOmp5Zc.js → RichTextControl-Dmo1oCBw.js} +4 -4
  34. package/dist/{SectionHeading-DoKeahJG.js → SectionHeading-6b5kIri7.js} +1 -1
  35. package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js} +5012 -4981
  36. package/dist/{SectionLayout-DqhrTk7G.js → SectionLayout-BDjIuS8E.js} +3 -3
  37. package/dist/{SettingsSubPanel-BsP2TPpl.js → SettingsSubPanel-BL7fFXlN.js} +1 -1
  38. package/dist/{SettingsSubPanelLayout-QgTIOWrJ.js → SettingsSubPanelLayout-CDGF-d3Z.js} +4 -4
  39. package/dist/{SimpleButtonControl-DWOwphdQ.js → SimpleButtonControl-BkiULQms.js} +2 -2
  40. package/dist/{SimpleTwinlistControl-Bm8f15KT.js → SimpleTwinlistControl-AkdBf0Rb.js} +2 -2
  41. package/dist/{SingleSelectControl-DzoiFSGp.js → SingleSelectControl-Bhl45WII.js} +2 -2
  42. package/dist/{SingleSelectListBoxControl-COshImPF.js → SingleSelectListBoxControl-CrU8jRBo.js} +3 -3
  43. package/dist/{SortListControl-D5jBOA2x.js → SortListControl-BK3otvxF.js} +6 -6
  44. package/dist/{StyledListItem-DCmVSIus.js → StyledListItem-KNxPwwT0.js} +1 -1
  45. package/dist/{TextAreaControl-ijQXrkd5.js → TextAreaControl-B32paKT6.js} +1 -1
  46. package/dist/{TextControl-Di5u3kig.js → TextControl-ru6CRq5e.js} +1 -1
  47. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-DWUPaWoR.js → TextControl.vue_vue_type_script_setup_true_lang-BTZ0nH_m.js} +3 -3
  48. package/dist/{TimeControl-oa9oA0c7.js → TimeControl-7AYWY8U9.js} +2 -2
  49. package/dist/{TwinlistControlBase-Dm8KSJE0.js → TwinlistControlBase-COvc3pxs.js} +3 -3
  50. package/dist/{TwinlistLoadingInfo-Dcbz2hUN.js → TwinlistLoadingInfo-D3I8oxeT.js} +4 -4
  51. package/dist/{TypedStringFilter-DOox0S1z.js → TypedStringFilter-DU0pTNQn.js} +1 -1
  52. package/dist/{ValueSwitch-Ba0d4Jda.js → ValueSwitch-CB9CzZn0.js} +1 -1
  53. package/dist/{ValueSwitchControl-BFY2YwjA.js → ValueSwitchControl-DXkAwwHn.js} +1 -1
  54. package/dist/{VerticalLayout-CdmecqY1.js → VerticalLayout-Cz5j5WGe.js} +2 -2
  55. package/dist/{VerticalLayoutBase-2Al6mtWQ.js → VerticalLayoutBase-BkttrwrM.js} +1 -1
  56. package/dist/{ZonedDateTimeControl-xwK_O0Ue.js → ZonedDateTimeControl-DPhNa3H1.js} +4 -4
  57. package/dist/{_baseEach-kS6aH7yJ.js → _baseEach-B_zeEGN9.js} +2 -2
  58. package/dist/{_baseIteratee-CcwzbMbu.js → _baseIteratee-Bx9_04UE.js} +3 -3
  59. package/dist/{_getTag-DpK8q53u.js → _getTag-C0NMijHn.js} +1 -1
  60. package/dist/knime-jsonforms.js +7 -7
  61. package/dist/{localTimeUtils-4g4u5t7X.js → localTimeUtils-CCd4er-w.js} +1 -1
  62. package/dist/{magic-string.es-CWjITDzi.js → magic-string.es-Cxv7HfYh.js} +1 -1
  63. package/dist/src/higherOrderComponents/control/util.d.ts +1 -1
  64. package/dist/src/higherOrderComponents/control/validation/types.d.ts +5 -1
  65. package/dist/src/higherOrderComponents/control/validation/useValidation.d.ts +1 -1
  66. package/dist/src/renderers/defaultRenderers.d.ts +3 -3
  67. package/dist/src/renderers/simpleButtonRenderer.d.ts +3 -3
  68. package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +3 -3
  69. package/dist/{svgWithTitle-DGBkWQrO.js → svgWithTitle-CMIq5tX0.js} +1 -1
  70. package/dist/testing.js +3 -3
  71. package/dist/{toString-ByDUn5bZ.js → toString-tjuhZuzw.js} +1 -1
  72. package/dist/useBuiltinValidations-DWAxgz8f.js +74 -0
  73. package/dist/{usePossibleValues-BB4he0jT.js → usePossibleValues-BGNVrp_C.js} +1 -1
  74. package/package.json +3 -3
  75. package/dist/useBuiltinValidations-ChTFREt7.js +0 -73
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as u, ref as i, openBlock as l, createElementBlock as m, createVNode as s, withCtx as r, renderSlot as p, createBlock as c, unref as d } from "vue";
2
- import { v as f, _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
3
- import { V as h } from "./VerticalLayoutBase-2Al6mtWQ.js";
4
- import { S as v } from "./SectionHeading-DoKeahJG.js";
2
+ import { v as f, _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
3
+ import { V as h } from "./VerticalLayoutBase-BkttrwrM.js";
4
+ import { S as v } from "./SectionHeading-6b5kIri7.js";
5
5
  const b = /* @__PURE__ */ u({
6
6
  __name: "SectionLayout",
7
7
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as s, y as a } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
1
+ import { _ as s, y as a } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
2
2
  const _ = /* @__PURE__ */ s(a, [["__scopeId", "data-v-110037e2"]]);
3
3
  export {
4
4
  _ as S
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as i, openBlock as n, createBlock as s, withCtx as t, createVNode as a, unref as l, createElementVNode as m } from "vue";
2
- import { r as c, v as p, _ as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
2
+ import { r as c, v as p, _ as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
3
3
  import { N as f } from "./arrow-next-CIOU5o42.js";
4
- import { V as h } from "./VerticalLayoutBase-2Al6mtWQ.js";
5
- import { S as y } from "./SectionHeading-DoKeahJG.js";
6
- import { S as b } from "./SettingsSubPanel-BsP2TPpl.js";
4
+ import { V as h } from "./VerticalLayoutBase-BkttrwrM.js";
5
+ import { S as y } from "./SectionHeading-6b5kIri7.js";
6
+ import { S as b } from "./SettingsSubPanel-BL7fFXlN.js";
7
7
  const S = /* @__PURE__ */ i({
8
8
  __name: "SettingsSubPanelLayout",
9
9
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as u, openBlock as s, createBlock as p, resolveDynamicComponent as f, computed as r, ref as g, createElementBlock as _, createVNode as b, unref as y, withCtx as B, createCommentVNode as C, createTextVNode as h, toDisplayString as I, renderSlot as V } from "vue";
2
- import { z as k, _ as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
2
+ import { z as k, _ as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
3
3
  import { R as S } from "./reload-BVbCGubF.js";
4
- import { B as $ } from "./Button-a3DyR88M.js";
4
+ import { B as $ } from "./Button-BmupLxtR.js";
5
5
  const x = /* @__PURE__ */ u({
6
6
  __name: "DynamicIcon",
7
7
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as i, toRef as l, openBlock as a, createBlock as r, mergeProps as p, unref as c } from "vue";
2
- import { u } from "./usePossibleValues-BB4he0jT.js";
3
- import { T as m } from "./TwinlistControlBase-Dm8KSJE0.js";
2
+ import { u } from "./usePossibleValues-BGNVrp_C.js";
3
+ import { T as m } from "./TwinlistControlBase-COvc3pxs.js";
4
4
  const w = /* @__PURE__ */ i({
5
5
  __name: "SimpleTwinlistControl",
6
6
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as _, computed as i, toRef as I, openBlock as y, createBlock as F } from "vue";
2
- import { u as $ } from "./usePossibleValues-BB4he0jT.js";
3
- import { L as v } from "./LoadingDropdown-DFLGXxJe.js";
2
+ import { u as $ } from "./usePossibleValues-BGNVrp_C.js";
3
+ import { L as v } from "./LoadingDropdown-C4lMKz45.js";
4
4
  const r = "__special__", a = "__regular__", R = /* @__PURE__ */ _({
5
5
  __name: "SingleSelectControl",
6
6
  props: {
@@ -1,7 +1,7 @@
1
1
  import { useId as m, resolveComponent as V, openBlock as a, createElementBlock as u, normalizeClass as c, createElementVNode as y, normalizeStyle as h, Fragment as I, renderList as x, createBlock as f, defineComponent as g, toRef as v, unref as o, createCommentVNode as S } from "vue";
2
- import { u as C } from "./usePossibleValues-BB4he0jT.js";
3
- import { S as L } from "./StyledListItem-DCmVSIus.js";
4
- import { _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
2
+ import { u as C } from "./usePossibleValues-BGNVrp_C.js";
3
+ import { S as L } from "./StyledListItem-KNxPwwT0.js";
4
+ import { _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
5
5
  const B = 40, w = 38, H = 36, T = 35, K = {
6
6
  name: "ListBox",
7
7
  components: {
@@ -1,13 +1,13 @@
1
1
  import { openBlock as C, createElementBlock as S, createElementVNode as k, defineComponent as W, computed as V, ref as F, watch as z, Fragment as Y, createVNode as c, withKeys as B, withModifiers as M, unref as p, withCtx as f, nextTick as re, onMounted as ie, createTextVNode as $, renderSlot as H, normalizeClass as ue } from "vue";
2
- import { r as E, _ as q, u as de, L as ce, E as me } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
2
+ import { r as E, _ as q, u as de, L as ce, E as me } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
3
3
  import { i as pe } from "./navigator-D_R-txCf.js";
4
- import { M as fe } from "./MultiselectListBox-DMZvKZT2.js";
5
- import { g as ve } from "./_getTag-DpK8q53u.js";
6
- import { b as we } from "./_baseEach-kS6aH7yJ.js";
7
- import { b as be } from "./_baseIteratee-CcwzbMbu.js";
4
+ import { M as fe } from "./MultiselectListBox-D96AQzGw.js";
5
+ import { g as ve } from "./_getTag-C0NMijHn.js";
6
+ import { b as we } from "./_baseEach-B_zeEGN9.js";
7
+ import { b as be } from "./_baseIteratee-Bx9_04UE.js";
8
8
  import { i as he } from "./isArray-WzO_os3q.js";
9
9
  import { c as ge } from "./createMissingItem-B00Kg95q.js";
10
- import { B as N } from "./Button-a3DyR88M.js";
10
+ import { B as N } from "./Button-BmupLxtR.js";
11
11
  const R = {
12
12
  ArrowUp: "↑",
13
13
  ArrowDown: "↓",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as s, createElementBlock as n, mergeProps as d, withModifiers as o, toDisplayString as a } from "vue";
2
- import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
2
+ import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
3
3
  const f = {
4
4
  name: "StyledListItem",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { openBlock as a, createElementBlock as o, normalizeClass as r, createElementVNode as u, mergeProps as c, createCommentVNode as m, defineComponent as p, createBlock as f, unref as V } from "vue";
2
- import { _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
2
+ import { _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
3
3
  const y = {
4
4
  name: "TextArea",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./TextControl.vue_vue_type_script_setup_true_lang-DWUPaWoR.js";
1
+ import { _ as f } from "./TextControl.vue_vue_type_script_setup_true_lang-BTZ0nH_m.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as s, computed as c, ref as u, openBlock as m, createBlock as h, unref as l } from "vue";
2
- import { u as f } from "./useBuiltinValidations-ChTFREt7.js";
3
- import { u as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
4
- import { I as F } from "./InputField-B2bBpIrm.js";
2
+ import { u as f } from "./useBuiltinValidations-DWAxgz8f.js";
3
+ import { u as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
4
+ import { I as F } from "./InputField-COACe1p5.js";
5
5
  const I = /* @__PURE__ */ s({
6
6
  __name: "TextControl",
7
7
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as m, computed as e, openBlock as p, createBlock as h, unref as t } from "vue";
2
- import { D as f } from "./DateTimeInput-B30lQ3sx.js";
3
- import { l as a } from "./localTimeUtils-4g4u5t7X.js";
2
+ import { D as f } from "./DateTimeInput-DBzWaC1M.js";
3
+ import { l as a } from "./localTimeUtils-CCd4er-w.js";
4
4
  const g = /* @__PURE__ */ m({
5
5
  __name: "TimeControl",
6
6
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as t, markRaw as d, toRef as p, openBlock as r, createBlock as u, unref as l } from "vue";
2
- import { a as m } from "./usePossibleValues-BB4he0jT.js";
3
- import { T as b, a as c } from "./TwinlistLoadingInfo-Dcbz2hUN.js";
4
- import { _ as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
2
+ import { a as m } from "./usePossibleValues-BGNVrp_C.js";
3
+ import { T as b, a as c } from "./TwinlistLoadingInfo-D3I8oxeT.js";
4
+ import { _ as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
5
5
  const h = /* @__PURE__ */ t({
6
6
  __name: "TwinlistControlBase",
7
7
  props: {
@@ -1,12 +1,12 @@
1
1
  import { openBlock as r, createElementBlock as v, createElementVNode as c, computed as u, nextTick as Q, resolveComponent as w, createBlock as V, normalizeClass as k, withCtx as x, renderSlot as $, createVNode as I, createCommentVNode as y, defineComponent as j, useCssVars as G, ref as T, normalizeStyle as D, Fragment as ee, renderList as te, unref as H, toRef as U, toDisplayString as R } from "vue";
2
2
  import { N as ne } from "./arrow-next-CIOU5o42.js";
3
3
  import { u as O } from "./useSearch-hpyYQ_6y.js";
4
- import { A as le, D as se, _ as A, r as oe, x as ie } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
5
- import { M as ae } from "./MultiselectListBox-DMZvKZT2.js";
4
+ import { A as le, D as se, _ as A, r as oe, x as ie } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
5
+ import { M as ae } from "./MultiselectListBox-D96AQzGw.js";
6
6
  import { C as ue } from "./close-BuY4mhXV.js";
7
- import { I as de } from "./InputField-B2bBpIrm.js";
7
+ import { I as de } from "./InputField-COACe1p5.js";
8
8
  import { c as P } from "./createMissingItem-B00Kg95q.js";
9
- import { L as re } from "./svgWithTitle-DGBkWQrO.js";
9
+ import { L as re } from "./svgWithTitle-CMIq5tX0.js";
10
10
  const ce = {
11
11
  xmlns: "http://www.w3.org/2000/svg",
12
12
  fill: "none",
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as a, computed as s, openBlock as i, createBlock as p, mergeProps as r } from "vue";
2
- import u from "./MultimodeTwinlistControl-DnpmvhFB.js";
2
+ import u from "./MultimodeTwinlistControl-CZCYZdjb.js";
3
3
  const w = /* @__PURE__ */ a({
4
4
  __name: "TypedStringFilter",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, useId as V, openBlock as o, createElementBlock as d, Fragment as n, renderList as B, normalizeClass as i, createElementVNode as s, toDisplayString as r, renderSlot as p, createCommentVNode as $, resolveComponent as v, createBlock as g, withCtx as h, normalizeProps as S, guardReactiveProps as k } from "vue";
2
- import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
2
+ import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
3
3
  const w = u({
4
4
  name: "BaseRadioButtons",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as a } from "vue";
2
- import { _ as p } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-BBZFZcBX.js";
2
+ import { _ as p } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-C7PfnM_4.js";
3
3
  const s = /* @__PURE__ */ o({
4
4
  __name: "ValueSwitchControl",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as o, openBlock as a, createBlock as l, withCtx as s, unref as n } from "vue";
2
- import { v as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
3
- import { V as m } from "./VerticalLayoutBase-2Al6mtWQ.js";
2
+ import { v as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
3
+ import { V as m } from "./VerticalLayoutBase-BkttrwrM.js";
4
4
  const d = /* @__PURE__ */ o({
5
5
  __name: "VerticalLayout",
6
6
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, openBlock as r, createElementBlock as o, Fragment as n, renderList as c, renderSlot as l } from "vue";
2
- import { _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
2
+ import { _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
3
3
  const p = { class: "vertical-layout" }, u = /* @__PURE__ */ s({
4
4
  __name: "VerticalLayoutBase",
5
5
  props: {
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as V, computed as a, openBlock as b, createElementBlock as f, createVNode as r, unref as c } from "vue";
2
- import { D as h } from "./DateTimeInput-B30lQ3sx.js";
3
- import { _ as T } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
4
- import { t as w, f as g } from "./localTimeUtils-4g4u5t7X.js";
5
- import { D as C } from "./Dropdown-Cp5fC5vt.js";
2
+ import { D as h } from "./DateTimeInput-DBzWaC1M.js";
3
+ import { _ as T } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
4
+ import { t as w, f as g } from "./localTimeUtils-CCd4er-w.js";
5
+ import { D as C } from "./Dropdown-BoJb215Q.js";
6
6
  const y = ["id"], D = /* @__PURE__ */ V({
7
7
  __name: "ZonedDateTimeControl",
8
8
  props: {
@@ -1,5 +1,5 @@
1
- import { k as h } from "./_baseIteratee-CcwzbMbu.js";
2
- import { c as b } from "./_getTag-DpK8q53u.js";
1
+ import { k as h } from "./_baseIteratee-Bx9_04UE.js";
2
+ import { c as b } from "./_getTag-C0NMijHn.js";
3
3
  function g(n) {
4
4
  return function(e, r, f) {
5
5
  for (var i = -1, a = Object(e), t = f(e), u = t.length; u--; ) {
@@ -1,7 +1,7 @@
1
- import { i as J, a as $, b as Q, c as fn, d as un, g as ln, M as W, e as H, f as _n } from "./_getTag-DpK8q53u.js";
2
- import { o as V, G as on, S as N, H as F, D as hn } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
1
+ import { i as J, a as $, b as Q, c as fn, d as un, g as ln, M as W, e as H, f as _n } from "./_getTag-C0NMijHn.js";
2
+ import { o as V, G as on, S as N, H as F, D as hn } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
3
3
  import { i as O } from "./isArray-WzO_os3q.js";
4
- import { t as pn } from "./toString-ByDUn5bZ.js";
4
+ import { t as pn } from "./toString-tjuhZuzw.js";
5
5
  function dn(n) {
6
6
  return n;
7
7
  }
@@ -1,4 +1,4 @@
1
- import { D as I, I as i, G as o, H as v, J as _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
1
+ import { D as I, I as i, G as o, H as v, J as _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
2
2
  var V = "[object AsyncFunction]", D = "[object Function]", U = "[object GeneratorFunction]", G = "[object Proxy]";
3
3
  function E(r) {
4
4
  if (!I(r))
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as c, ref as i, onMounted as P, openBlock as u, createElementBlock as v, createElementVNode as y, createCommentVNode as T, provide as x, computed as C, watch as E, createBlock as A, Suspense as w, withCtx as d, createVNode as l, renderSlot as h, unref as B, nextTick as j } from "vue";
2
- import { _ as S, p as F, F as M, s as O, U as I, i as R } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
3
- import { E as Z, L as ee, a as te, c as oe, f as se, e as ae, d as re, g as ne, h as de, k as le, l as ie, j as ue, m as ce, b as pe, n as me, t as fe, u as _e, w as ge } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
4
- import { default as De } from "./SimpleButtonControl-DWOwphdQ.js";
5
- import { _ as ye } from "./TextControl.vue_vue_type_script_setup_true_lang-DWUPaWoR.js";
6
- import { V as Le } from "./VerticalLayoutBase-2Al6mtWQ.js";
7
- import { S as ke } from "./SectionHeading-DoKeahJG.js";
8
- import { S as Te } from "./SettingsSubPanel-BsP2TPpl.js";
2
+ import { _ as S, p as F, F as M, s as O, U as I, i as R } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
3
+ import { E as Z, L as ee, a as te, c as oe, f as se, e as ae, d as re, g as ne, h as de, k as le, l as ie, j as ue, m as ce, b as pe, n as me, t as fe, u as _e, w as ge } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
4
+ import { default as De } from "./SimpleButtonControl-BkiULQms.js";
5
+ import { _ as ye } from "./TextControl.vue_vue_type_script_setup_true_lang-BTZ0nH_m.js";
6
+ import { V as Le } from "./VerticalLayoutBase-BkttrwrM.js";
7
+ import { S as ke } from "./SectionHeading-6b5kIri7.js";
8
+ import { S as Te } from "./SettingsSubPanel-BL7fFXlN.js";
9
9
  const V = {
10
10
  key: 0,
11
11
  class: "loading-dialog skeleton-wrapper"
@@ -1,4 +1,4 @@
1
- import { r as q, t as k, g as F, a as Z, b as j, c as z, d as _, i as V, e as K, s as A, l as J, f as ee, h as L, j as te, k as re, m as ne, n as I, o as P, p as ae } from "./DateTimeInput-B30lQ3sx.js";
1
+ import { r as q, t as k, g as F, a as Z, b as j, c as z, d as _, i as V, e as K, s as A, l as J, f as ee, h as L, j as te, k as re, m as ne, n as I, o as P, p as ae } from "./DateTimeInput-DBzWaC1M.js";
2
2
  var ie = 864e5;
3
3
  function oe(a) {
4
4
  q(1, arguments);
@@ -1,4 +1,4 @@
1
- import { N as ht } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
1
+ import { N as ht } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
2
2
  var q = { exports: {} };
3
3
  (function(E, t) {
4
4
  (function(e, n) {
@@ -53,7 +53,7 @@ export declare const controlProps: {
53
53
  required: boolean;
54
54
  };
55
55
  onRegisterValidation: {
56
- type: PropType<(validation: import('./validation/types').ValidationMethod<any>) => void>;
56
+ type: PropType<(validation: import('./validation/types').ValidationMethod<any>) => () => void>;
57
57
  required: boolean;
58
58
  };
59
59
  };
@@ -12,6 +12,10 @@ export type ValidationMethod<D> = MaybeRef<((value: D) => Messages) | null>;
12
12
  export type ValidationSettings<D> = {
13
13
  isValid: boolean;
14
14
  messages: Messages;
15
- onRegisterValidation: (validation: ValidationMethod<D>) => void;
15
+ /**
16
+ * @param validation the validation method to register.
17
+ * @returns the cleanup callback with which the validation can be unregistered.
18
+ */
19
+ onRegisterValidation: (validation: ValidationMethod<D>) => () => void;
16
20
  };
17
21
  export type PerformExternalValidation<D> = (id: string, value: D) => Promise<string | null>;
@@ -7,6 +7,6 @@ export declare const useValidation: <T = any>({ data, options, performExternalVa
7
7
  }) => {
8
8
  messages: import('vue').ComputedRef<Messages>;
9
9
  isValid: import('vue').ComputedRef<boolean>;
10
- onRegisterValidation: (validationMethod: ValidationMethod<T>) => number;
10
+ onRegisterValidation: (validationMethod: ValidationMethod<T>) => () => void;
11
11
  performExternalValidationDebounced: import('lodash-es').DebouncedFunc<(value: T) => void>;
12
12
  };
@@ -237,7 +237,7 @@ export declare const controls: {
237
237
  labelForId?: null | undefined;
238
238
  isValid: boolean;
239
239
  messages: import('../higherOrderComponents/control/validation/types').Messages;
240
- onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => void;
240
+ onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => () => void;
241
241
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
242
242
  slots: {
243
243
  buttons?(_: {
@@ -281,7 +281,7 @@ export declare const controls: {
281
281
  labelForId?: null | undefined;
282
282
  isValid: boolean;
283
283
  messages: import('../higherOrderComponents/control/validation/types').Messages;
284
- onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => void;
284
+ onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => () => void;
285
285
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
286
286
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
287
287
  attrs: any;
@@ -329,7 +329,7 @@ export declare const controls: {
329
329
  labelForId?: null | undefined;
330
330
  isValid: boolean;
331
331
  messages: import('../higherOrderComponents/control/validation/types').Messages;
332
- onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => void;
332
+ onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => () => void;
333
333
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
334
334
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
335
335
  attrs: any;
@@ -34,7 +34,7 @@ export declare const simpleButtonRenderer: {
34
34
  labelForId?: null | undefined;
35
35
  isValid: boolean;
36
36
  messages: import('../higherOrderComponents/control/validation/types').Messages;
37
- onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => void;
37
+ onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => () => void;
38
38
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
39
39
  slots: {
40
40
  buttons?(_: {
@@ -78,7 +78,7 @@ export declare const simpleButtonRenderer: {
78
78
  labelForId?: null | undefined;
79
79
  isValid: boolean;
80
80
  messages: import('../higherOrderComponents/control/validation/types').Messages;
81
- onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => void;
81
+ onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => () => void;
82
82
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
83
83
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
84
84
  attrs: any;
@@ -126,7 +126,7 @@ export declare const simpleButtonRenderer: {
126
126
  labelForId?: null | undefined;
127
127
  isValid: boolean;
128
128
  messages: import('../higherOrderComponents/control/validation/types').Messages;
129
- onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => void;
129
+ onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => () => void;
130
130
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
131
131
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
132
132
  attrs: any;
@@ -32,7 +32,7 @@ declare const _default: <SettingValue>(__VLS_props: {
32
32
  labelForId?: null | undefined;
33
33
  isValid: boolean;
34
34
  messages: import('../higherOrderComponents/control/validation/types').Messages;
35
- onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => void;
35
+ onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => () => void;
36
36
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
37
37
  slots: {
38
38
  buttons?(_: {
@@ -76,7 +76,7 @@ declare const _default: <SettingValue>(__VLS_props: {
76
76
  labelForId?: null | undefined;
77
77
  isValid: boolean;
78
78
  messages: import('../higherOrderComponents/control/validation/types').Messages;
79
- onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => void;
79
+ onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => () => void;
80
80
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
81
81
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
82
82
  attrs: any;
@@ -124,7 +124,7 @@ declare const _default: <SettingValue>(__VLS_props: {
124
124
  labelForId?: null | undefined;
125
125
  isValid: boolean;
126
126
  messages: import('../higherOrderComponents/control/validation/types').Messages;
127
- onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => void;
127
+ onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => () => void;
128
128
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
129
129
  expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
130
130
  attrs: any;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as r, openBlock as c, createBlock as s, unref as a, h as i } from "vue";
2
2
  import { R as d } from "./reload-BVbCGubF.js";
3
- import { _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
3
+ import { _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
4
4
  const p = /* @__PURE__ */ r({
5
5
  __name: "LoadingIcon",
6
6
  setup(t) {
package/dist/testing.js CHANGED
@@ -3,8 +3,8 @@ var L_ = (e, t, n) => t in e ? j_(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var G = (e, t, n) => L_(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import * as nh from "vue";
5
5
  import { initDirectivesForSSR as F_, nextTick as fo, defineComponent as ui, computed as kr, h as xn, shallowReactive as B_, reactive as V_, ref as rh, createApp as q_, transformVNodeArgs as W_, setDevtoolsHook as U_, Transition as z_, BaseTransition as K_, TransitionGroup as X_, isRef as G_ } from "vue";
6
- import { o as J_, q as H_, e as Y_ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
7
- import { b as Q_ } from "./_baseIteratee-CcwzbMbu.js";
6
+ import { o as J_, q as H_, e as Y_ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
7
+ import { b as Q_ } from "./_baseIteratee-Bx9_04UE.js";
8
8
  function Z_(e, t) {
9
9
  return e > t;
10
10
  }
@@ -9512,7 +9512,7 @@ function Bw(e, t) {
9512
9512
  return s + 1;
9513
9513
  }
9514
9514
  async function Vw(e, t) {
9515
- const n = (await import("./magic-string.es-CWjITDzi.js")).default, r = new Set(t.map((i) => i.file));
9515
+ const n = (await import("./magic-string.es-Cxv7HfYh.js")).default, r = new Set(t.map((i) => i.file));
9516
9516
  await Promise.all(
9517
9517
  Array.from(r).map(async (i) => {
9518
9518
  const s = t.filter((c) => c.file === i), o = await e.readSnapshotFile(i), a = new n(o);
@@ -1,4 +1,4 @@
1
- import { S as s, o as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
1
+ import { S as s, o as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.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; )
@@ -0,0 +1,74 @@
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_625edfbe_lang-jODEm1Ob.js";
3
+ const h = (t = {}) => t.validation || null, m = (t) => t.replace(/^validation\./, ""), v = (t) => {
4
+ const a = (t.providedOptions ?? []).filter(
5
+ (e) => e.startsWith("validation.")
6
+ );
7
+ return a.length === 0 ? null : a.reduce(
8
+ (e, n) => ({
9
+ ...e,
10
+ [m(n)]: f(
11
+ p(t),
12
+ // @ts-expect-error - the valid provided options cannot be inferred
13
+ n
14
+ )
15
+ }),
16
+ {}
17
+ );
18
+ }, s = (t) => Object.entries(t), c = (t, a) => {
19
+ const e = s(t).map(
20
+ ([n, { parameters: o, errorMessage: i }]) => ({
21
+ validate: a[n](o),
22
+ errorMessage: i
23
+ })
24
+ );
25
+ return (n) => ({
26
+ errors: e.filter(({ validate: o }) => !o(n)).map(({ errorMessage: o }) => o)
27
+ });
28
+ }, V = (t, a, e) => t === null ? null : c(
29
+ {
30
+ [a]: t
31
+ },
32
+ e
33
+ ), M = (t, a, e, n) => {
34
+ const o = [];
35
+ if (t) {
36
+ const i = c(t, e);
37
+ o.push(n(i));
38
+ }
39
+ return a && s(a).map(
40
+ ([r, l]) => d(
41
+ () => V(l.value, r, e)
42
+ )
43
+ ).map(n).forEach((r) => o.push(r)), o;
44
+ }, b = ({
45
+ validations: t,
46
+ providedValidations: a
47
+ }) => {
48
+ const e = s(t || {}).reduce(
49
+ (n, [o, { parameters: i }]) => ({ ...n, [o]: i }),
50
+ {}
51
+ );
52
+ return d(() => a === null ? e : s(a).map(([n, o]) => ({
53
+ key: n,
54
+ providedValidation: o.value
55
+ })).filter(({ providedValidation: n }) => n !== null).reduce(
56
+ (n, { key: o, providedValidation: i }) => ({
57
+ ...n,
58
+ // @ts-expect-error - we know that providedValidation is not null here
59
+ [o]: i.parameters
60
+ }),
61
+ e
62
+ ));
63
+ }, O = (t, a) => {
64
+ const { uischema: e } = a.control, { options: n } = e, o = h(n), i = v(e), r = M(
65
+ o,
66
+ i,
67
+ t,
68
+ a.onRegisterValidation
69
+ );
70
+ return u(() => r.forEach((l) => l())), b({ validations: o, providedValidations: i });
71
+ };
72
+ export {
73
+ O as u
74
+ };
@@ -1,5 +1,5 @@
1
1
  import { computed as a } from "vue";
2
- import { u as o } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
2
+ import { u as o } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-jODEm1Ob.js";
3
3
  const t = (s) => {
4
4
  const e = a(() => s.value.uischema);
5
5
  return { possibleValues: o(e, "possibleValues") };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/jsonforms",
3
- "version": "1.12.2",
3
+ "version": "1.12.4",
4
4
  "description": "Internal JSON Forms integration for frontend KNIME projects",
5
5
  "homepage": "https://knime.github.io/webapps-common/",
6
6
  "license": "GPL 3 and Additional Permissions according to Sec. 7 (SEE the file LICENSE)",
@@ -15,8 +15,8 @@
15
15
  "focus-trap-vue": "4.0.3",
16
16
  "tabbable": "6.2.0",
17
17
  "uuid": "10.0.0",
18
- "@knime/components": "1.28.7",
19
- "@knime/rich-text-editor": "1.4.16",
18
+ "@knime/components": "1.29.0",
19
+ "@knime/rich-text-editor": "1.4.17",
20
20
  "@knime/styles": "1.5.0",
21
21
  "@knime/utils": "1.4.1"
22
22
  },