@knime/jsonforms 2.0.6 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{AnyOfTwinlist-DpQ8IIsj.js → AnyOfTwinlist-2p38J6TB.js} +1 -1
  3. package/dist/{CheckboxControl-BuKizJs3.js → CheckboxControl-CQgVs955.js} +1 -1
  4. package/dist/{CheckboxesControl-B_Uq_ZAJ.js → CheckboxesControl-BBTGgWaL.js} +2 -2
  5. package/dist/{ColorControl-C-Ek6eUZ.js → ColorControl-Dxcl1I4j.js} +1 -1
  6. package/dist/{ColorPreviewControl-DFazuNfi.js → ColorPreviewControl-CcwzFb2W.js} +1 -1
  7. package/dist/{ComboBoxControl--ss3HRk6.js → ComboBoxControl-D46RLQSp.js} +4 -4
  8. package/dist/{DateControl-CpQlIDGG.js → DateControl-xz4dAXfv.js} +5 -5
  9. package/dist/{DateTimeControl-DBnBOANd.js → DateTimeControl-621tOLQk.js} +17 -17
  10. package/dist/{DateTimeFormatPickerControl-C41ya__v.js → DateTimeFormatPickerControl-BK8R5UTW.js} +1 -1
  11. package/dist/{DropdownControl-CJVeHgy6.js → DropdownControl-CZURMaxR.js} +2 -2
  12. package/dist/{ExecutorCoresControl-CMy8gNUz.js → ExecutorCoresControl-DXFG_H5T.js} +1 -1
  13. package/dist/{ExecutorMemoryControl-DCFIlqtN.js → ExecutorMemoryControl-DDEmODyY.js} +1 -1
  14. package/dist/{FileUploadControl-BMuYfZth.js → FileUploadControl-DsLzGiXR.js} +23 -23
  15. package/dist/{GridSelectionControl-B7HYdcOq.js → GridSelectionControl-QyQmweDR.js} +14 -14
  16. package/dist/{HorizontalLayout-BgFLIrFZ.js → HorizontalLayout-BFKX7Z6b.js} +1 -1
  17. package/dist/{IntegerControl-NZMpoiWB.js → IntegerControl-CLuWAExp.js} +1 -1
  18. package/dist/{IntervalControl-jO1PCriP.js → IntervalControl-CFFs8kRw.js} +4 -4
  19. package/dist/{LinkControl-BUhwvss6.js → LinkControl-BtCX1pHr.js} +1 -1
  20. package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-D3t0WrLt.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-CHAtK3ts.js} +3 -3
  21. package/dist/{ManualTwinlistControl-Dss7i29Z.js → ManualTwinlistControl-CEc0aapr.js} +3 -3
  22. package/dist/{MultiSelectListBoxControl-CR8k2XnN.js → MultiSelectListBoxControl-Bx0aXYts.js} +3 -3
  23. package/dist/{MultimodeTwinlistControl-CVLXJUku.js → MultimodeTwinlistControl-CBoJGoyA.js} +1 -1
  24. package/dist/{MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-DNkbXVA-.js → MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CsV_Tj00.js} +3 -3
  25. package/dist/{NameFilter-BIpnMaYA.js → NameFilter-BTt1i8CY.js} +1 -1
  26. package/dist/{NumberControl-BTK11xoU.js → NumberControl-1GXYZjSP.js} +1 -1
  27. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-DimtsHUM.js → NumberControlBase.vue_vue_type_script_setup_true_lang-Db11G6yz.js} +4 -4
  28. package/dist/{OneOfDropdown-GQw_8PGk.js → OneOfDropdown-DDKmYyq1.js} +1 -1
  29. package/dist/{ProgressButtonControl-DIL9klrt.js → ProgressButtonControl-CrSd11vZ.js} +1 -1
  30. package/dist/{RadioButtonsWithDescriptionControl-dtTEWUOU.js → RadioButtonsWithDescriptionControl-CzRXHAFw.js} +1 -1
  31. package/dist/{RadioControl-DXT55XH9.js → RadioControl-DP7cFkth.js} +1 -1
  32. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-BIAddwf1.js → RadioControlBase.vue_vue_type_script_setup_true_lang-DXGpfr8P.js} +2 -2
  33. package/dist/{ResourceControlBase-D_DeU0M7.js → ResourceControlBase-DpHX2wpj.js} +11 -11
  34. package/dist/{RichTextControl-DVqyBt2N.js → RichTextControl-C7d6IZGm.js} +3659 -3383
  35. package/dist/{SectionHeading-BuHP9vWb.js → SectionHeading-DyqvqUnY.js} +1 -1
  36. package/dist/{SectionLayout-Dq_Q_onV.js → SectionLayout-B_-rxGoP.js} +3 -3
  37. package/dist/{SettingsSubPanel-CrPyrGuw.js → SettingsSubPanel-C6vUziBL.js} +1 -1
  38. package/dist/{SettingsSubPanelLayout-BHxJUUUp.js → SettingsSubPanelLayout-Xa8hECwg.js} +6 -6
  39. package/dist/{SimpleButtonControl-BnEdNJwg.js → SimpleButtonControl-CUm4pLKg.js} +4 -4
  40. package/dist/{SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-BFx3A36I.js → SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-H1rQVLn0.js} +14339 -14417
  41. package/dist/{SimpleTwinlistControl-CaJn0fzZ.js → SimpleTwinlistControl-BIg9RlZc.js} +2 -2
  42. package/dist/{SingleSelectControl-DIy8roLi.js → SingleSelectControl-C9VQUQ05.js} +2 -2
  43. package/dist/{SingleSelectListBoxControl-CFRxgjJG.js → SingleSelectListBoxControl-EHjs0q_S.js} +3 -3
  44. package/dist/{SortListControl-D4uy4D6o.js → SortListControl-BzLVOl0E.js} +1 -1
  45. package/dist/{StyledListItem-DeGphOSn.js → StyledListItem-B9aA8zQ6.js} +1 -1
  46. package/dist/{TeamAndSpacesControl-DCtGaP89.js → TeamAndSpacesControl-Z86PRtbH.js} +5 -5
  47. package/dist/{TeamResourceControl-CYVRfMUU.js → TeamResourceControl-CFXVKPex.js} +1 -1
  48. package/dist/{TextAreaControl-Bl5z2I_O.js → TextAreaControl-D5Ies8iN.js} +1 -1
  49. package/dist/{TextControl-Dh8XWsob.js → TextControl-CyJTa30_.js} +1 -1
  50. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Bb6TniOt.js → TextControl.vue_vue_type_script_setup_true_lang-ha_yqp4Q.js} +2 -2
  51. package/dist/{TimeControl-ChMjQdLZ.js → TimeControl-D7KTmsro.js} +9 -9
  52. package/dist/{TimeframesControl-fWDWqU_P.js → TimeframesControl-7ckrMm6l.js} +1 -1
  53. package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-Rdgf6xB4.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-DfInqqdb.js} +2 -2
  54. package/dist/{TypedStringFilter-DkmPm7pw.js → TypedStringFilter-BXd_20Gk.js} +1 -1
  55. package/dist/{ValueSwitchControl-Szm78_yO.js → ValueSwitchControl-D_N97PIL.js} +1 -1
  56. package/dist/{VerticalLayout-CS4CM8gv.js → VerticalLayout-p3keQqaB.js} +2 -2
  57. package/dist/{VerticalLayoutBase-D3xzhzED.js → VerticalLayoutBase-DivrUbVt.js} +1 -1
  58. package/dist/{ZonedDateTimeControl-DtHa5dcv.js → ZonedDateTimeControl-BFZbs6KU.js} +15 -15
  59. package/dist/{_Uint8Array-D2PBFojq.js → _Uint8Array-B7PcCwlk.js} +1 -1
  60. package/dist/index-_VUHzju5.js +3210 -0
  61. package/dist/knime-jsonforms.css +1 -1
  62. package/dist/knime-jsonforms.js +7 -7
  63. package/dist/{plainDateTimeUtils-CR0UhpkD.js → plainDateTimeUtils-BZSKqp9i.js} +1 -1
  64. package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +2 -1
  65. package/dist/src/uiComponents/composables/useHideOnNull.d.ts +6 -8
  66. package/dist/testing.js +2 -2
  67. package/dist/{useBuiltinValidations-BDOuGAvI.js → useBuiltinValidations-DSimz2dt.js} +1 -1
  68. package/dist/{usePossibleValues-C-Cj9NbP.js → usePossibleValues-11Tpukcj.js} +1 -1
  69. package/dist/{useUnknownValuesInTwinlist-C0vVgrlt.js → useUnknownValuesInTwinlist-DTmgcWUF.js} +1 -1
  70. package/package.json +6 -6
  71. package/dist/classApi-CHpAZrj3.js +0 -3328
@@ -1,11 +1,11 @@
1
1
  import { openBlock as l, createElementBlock as y, createElementVNode as w, renderSlot as h, defineComponent as v, ref as D, onMounted as A, createVNode as n, unref as i, createCommentVNode as B, provide as E, computed as d, watch as F, createBlock as b, Suspense as I, withCtx as _, mergeProps as J, nextTick as O } from "vue";
2
- import { _ as P, K as p, p as R, s as M, U as V, i as U, a as z } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-BFx3A36I.js";
3
- import { L as de, S as ue, c as me, b as fe, d as pe, e as he, f as ve, g as ge, h as _e, j as De, k as ye, l as we, m as be, n as Pe, o as Se, q as xe, r as Le, t as $e, u as Ce, w as Fe, v as ke, x as Te } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-BFx3A36I.js";
4
- import { default as Ne } from "./SimpleButtonControl-BnEdNJwg.js";
5
- import { _ as Be } from "./TextControl.vue_vue_type_script_setup_true_lang-Bb6TniOt.js";
6
- import { V as Ie } from "./VerticalLayoutBase-D3xzhzED.js";
7
- import { S as Oe } from "./SectionHeading-BuHP9vWb.js";
8
- import { S as Me } from "./SettingsSubPanel-CrPyrGuw.js";
2
+ import { _ as P, K as p, p as R, s as M, U as V, i as U, a as z } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-H1rQVLn0.js";
3
+ import { L as de, S as ue, c as me, b as fe, d as pe, e as he, f as ve, g as ge, h as _e, j as De, k as ye, l as we, m as be, n as Pe, o as Se, q as xe, r as Le, t as $e, u as Ce, w as Fe, v as ke, x as Te } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-H1rQVLn0.js";
4
+ import { default as Ne } from "./SimpleButtonControl-CUm4pLKg.js";
5
+ import { _ as Be } from "./TextControl.vue_vue_type_script_setup_true_lang-ha_yqp4Q.js";
6
+ import { V as Ie } from "./VerticalLayoutBase-DivrUbVt.js";
7
+ import { S as Oe } from "./SectionHeading-DyqvqUnY.js";
8
+ import { S as Me } from "./SettingsSubPanel-C6vUziBL.js";
9
9
  const G = {}, H = { class: "flex-wrapper" }, K = { class: "form" };
10
10
  function q(t, s) {
11
11
  return l(), y("div", H, [
@@ -1,4 +1,4 @@
1
- import { U as r } from "./classApi-CHpAZrj3.js";
1
+ import { T as r } from "./index-_VUHzju5.js";
2
2
  const l = (t, n = {}) => {
3
3
  const e = t?.showSeconds ?? n.showSeconds ?? !0, i = t?.showMilliseconds ?? n.showMilliseconds ?? !0;
4
4
  return e ? i ? "millisecond" : "second" : "minute";
@@ -3,6 +3,7 @@ type __VLS_Props = {
3
3
  hideControlHeader?: boolean;
4
4
  fill?: boolean;
5
5
  large?: boolean;
6
+ onLabelClick?: () => void;
6
7
  };
7
8
  declare function __VLS_template(): {
8
9
  attrs: Partial<{}>;
@@ -13,11 +14,11 @@ declare function __VLS_template(): {
13
14
  default?(_: {
14
15
  labelForId: string;
15
16
  }): any;
16
- 'before-label'?(_: {}): any;
17
17
  icon?(_: {}): any;
18
18
  buttons?(_: {
19
19
  hover: boolean;
20
20
  }): any;
21
+ 'after-buttons'?(_: {}): any;
21
22
  };
22
23
  refs: {};
23
24
  rootEl: any;
@@ -1,5 +1,5 @@
1
1
  import { Ref } from 'vue';
2
- import { KdsCheckboxValue } from '@knime/kds-components';
2
+ import { KdsToggleSwitchProps } from '@knime/kds-components';
3
3
  import { Control } from '../../types/Control';
4
4
  declare const _default: ({ control, disabled, changeValue, controlElement, }: {
5
5
  control: Ref<Control>;
@@ -9,15 +9,13 @@ declare const _default: ({ control, disabled, changeValue, controlElement, }: {
9
9
  focus?: () => void;
10
10
  } | null>;
11
11
  }) => {
12
- showCheckbox: import('vue').ComputedRef<boolean>;
12
+ showToggle: import('vue').ComputedRef<boolean>;
13
13
  showControl: import('vue').ComputedRef<boolean>;
14
- checkboxProps: import('vue').ComputedRef<{
15
- modelValue: boolean;
16
- "onUpdate:modelValue": (value: KdsCheckboxValue) => void;
17
- disabled: boolean;
14
+ onLabelClick: () => void;
15
+ toggleProps: import('vue').ComputedRef<KdsToggleSwitchProps & {
16
+ "onUpdate:modelValue": (value: boolean) => void;
18
17
  class: string;
19
- label: undefined;
20
- title: string;
18
+ modelValue: boolean;
21
19
  }>;
22
20
  };
23
21
  export default _default;
package/dist/testing.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as Xh from "vue";
2
2
  import { ssrUtils as es, initDirectivesForSSR as sg, nextTick as Ro, defineComponent as Ni, computed as Vr, h as Mn, shallowReactive as og, reactive as ag, ref as Jh, createApp as cg, transformVNodeArgs as lg, setDevtoolsHook as ug, isRef as fg, TransitionGroup as hg, Transition as pg, BaseTransition as dg } from "vue";
3
- import { y as ts, z as Ai, A as Il, B as _g, C as mg, e as gg } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-BFx3A36I.js";
4
- import { i as _n, M as ka, e as bg, U as Ml, g as $l, a as Pl, b as Rl, S as fi, c as yg, k as vg, d as wg, f as Eg, h as Sg } from "./_Uint8Array-D2PBFojq.js";
3
+ import { y as ts, z as Ai, A as Il, B as _g, C as mg, e as gg } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-H1rQVLn0.js";
4
+ import { i as _n, M as ka, e as bg, U as Ml, g as $l, a as Pl, b as Rl, S as fi, c as yg, k as vg, d as wg, f as Eg, h as Sg } from "./_Uint8Array-B7PcCwlk.js";
5
5
  function Tg(e, t) {
6
6
  for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r; )
7
7
  i[n] = t(e[n], n, e);
@@ -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_c79c6b71_lang-BFx3A36I.js";
2
+ import { u as f } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-H1rQVLn0.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_c79c6b71_lang-BFx3A36I.js";
2
+ import { u as d } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-H1rQVLn0.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_c79c6b71_lang-BFx3A36I.js";
3
+ import "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-H1rQVLn0.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": "2.0.6",
3
+ "version": "2.1.0",
4
4
  "description": "Internal JSON Forms integration for frontend KNIME projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -15,14 +15,14 @@
15
15
  "@jsonforms/core": "3.4.0",
16
16
  "@jsonforms/vue": "3.4.0",
17
17
  "@jsonforms/vue-vanilla": "3.4.0",
18
- "@knime/kds-components": "1.1.4",
19
- "@knime/kds-rich-text-editor": "1.1.0",
18
+ "@knime/kds-components": "1.2.1",
19
+ "@knime/kds-rich-text-editor": "1.2.1",
20
20
  "ajv": "8.18.0",
21
- "temporal-polyfill": "^0.3.2",
21
+ "temporal-polyfill": "^1.0.1",
22
22
  "uuid": "14.0.0",
23
23
  "@knime/utils": "1.11.1",
24
- "@knime/styles": "1.15.1",
25
- "@knime/components": "1.46.7"
24
+ "@knime/components": "1.46.7",
25
+ "@knime/styles": "1.15.1"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "consola": "3.x",