@knime/jsonforms 1.11.0 → 1.11.2

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 (68) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/{AnyOfTwinlist-C0BYfhuc.js → AnyOfTwinlist-jWBJSDAM.js} +1 -1
  3. package/dist/{Button-B2PevR13.js → Button-DjP4YL3-.js} +1 -1
  4. package/dist/{CheckboxControl-C9Eo-Get.js → CheckboxControl-ED9DD2gm.js} +1 -1
  5. package/dist/{Checkboxes-BoSLHg-R.js → Checkboxes-DOgqCEOW.js} +1 -1
  6. package/dist/{CheckboxesControl-9OOMWktT.js → CheckboxesControl-HlcbASvj.js} +2 -2
  7. package/dist/{ComboBoxControl-BQx3TWoL.js → ComboBoxControl-DzYBhoyK.js} +85 -90
  8. package/dist/{DateControl-CfI2AD4P.js → DateControl-D-egKwDo.js} +1 -1
  9. package/dist/{DateTimeControl-BCvP4qo5.js → DateTimeControl-DSE30hdz.js} +2 -2
  10. package/dist/{DateTimeFormatInput-B9g7at3r.js → DateTimeFormatInput-DNkZw5He.js} +3 -3
  11. package/dist/{DateTimeFormatPickerControl-B9O1f_mH.js → DateTimeFormatPickerControl-dubLlTxa.js} +2 -2
  12. package/dist/{DateTimeFormatPickerWithTypeControl-ueXR9GQl.js → DateTimeFormatPickerWithTypeControl-BQG_pG7L.js} +3 -3
  13. package/dist/{DateTimeInput-B_U-QJmL.js → DateTimeInput-Q1ic_63I.js} +6 -6
  14. package/dist/{Dropdown-B_NNidgA.js → Dropdown-CBwC2V-z.js} +2 -2
  15. package/dist/{DropdownControl-HNf0y3og.js → DropdownControl-Cs8up8Ku.js} +2 -2
  16. package/dist/{HorizontalLayout-CMdaU98F.js → HorizontalLayout-f8UYdNLo.js} +1 -1
  17. package/dist/{InputField-DKobsHBJ.js → InputField-BtlCROEm.js} +1 -1
  18. package/dist/{IntegerControl-9YzuybpQ.js → IntegerControl-D2e-ZW2v.js} +1 -1
  19. package/dist/{IntervalControl-DWOlVutr.js → IntervalControl-B35yAryJ.js} +3 -3
  20. package/dist/{LoadingDropdown-DjDkU0GJ.js → LoadingDropdown-Csvv1Wfe.js} +3 -3
  21. package/dist/{MultiSelectListBoxControl-Dwxf-Auj.js → MultiSelectListBoxControl-BhYg9O8M.js} +2 -2
  22. package/dist/{MultimodeTwinlistControl-CgIOZGiK.js → MultimodeTwinlistControl-Bcgra7CR.js} +5 -5
  23. package/dist/{MultiselectListBox-DVWx2L8G.js → MultiselectListBox-Dqph296E.js} +2 -2
  24. package/dist/{NameFilter-CIEZ3MXY.js → NameFilter-C6UEL_49.js} +1 -1
  25. package/dist/{NumberControl-BTGdHGGc.js → NumberControl-DUM_SlWB.js} +1 -1
  26. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-Cs69LvYa.js → NumberControlBase.vue_vue_type_script_setup_true_lang-D4GAZIBQ.js} +2 -2
  27. package/dist/{NumberInput-B_xx1SLE.js → NumberInput-oc3sb6vg.js} +1 -1
  28. package/dist/{OneOfDropdown-1Vh8BGXT.js → OneOfDropdown-BwLSPPF4.js} +1 -1
  29. package/dist/{RadioControl-LOA6Mp-I.js → RadioControl-BvNgWD-W.js} +2 -2
  30. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-D1RnAmQA.js +114 -0
  31. package/dist/{RichTextControl-BV881LVa.js → RichTextControl-2B7mBaPS.js} +4 -4
  32. package/dist/{SectionHeading-9w_hIbyv.js → SectionHeading-C2lSvKnH.js} +1 -1
  33. package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CrLBs-gn.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-BrJ6LQGt.js} +840 -843
  34. package/dist/{SectionLayout-CTkFSsDA.js → SectionLayout-DieToVBW.js} +3 -3
  35. package/dist/{SettingsSubPanel-BbZP8Ymj.js → SettingsSubPanel-C-S5-28W.js} +1 -1
  36. package/dist/{SettingsSubPanelLayout-s00rjvBL.js → SettingsSubPanelLayout-Ceic8vnM.js} +4 -4
  37. package/dist/{SimpleButtonControl-CuOsmR2j.js → SimpleButtonControl-CHErhoH4.js} +2 -2
  38. package/dist/{SimpleTwinlistControl-CYOMlGEL.js → SimpleTwinlistControl-l0_5j2hj.js} +2 -2
  39. package/dist/{SingleSelectControl-Dw1VHL_S.js → SingleSelectControl-CTH1Aq5X.js} +2 -2
  40. package/dist/{SingleSelectListBoxControl-fJHYO33a.js → SingleSelectListBoxControl-BuLEOgFi.js} +3 -3
  41. package/dist/{SortListControl-BvbvFUOf.js → SortListControl-CCPZ0eRY.js} +6 -6
  42. package/dist/{StyledListItem-Cpvg8mvO.js → StyledListItem-BK2xfd_b.js} +1 -1
  43. package/dist/{TextAreaControl-D9rNGe7P.js → TextAreaControl-GbybukKd.js} +1 -1
  44. package/dist/{TextControl-j_CdOruM.js → TextControl-ByPhbCqP.js} +1 -1
  45. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Drnp3Zra.js → TextControl.vue_vue_type_script_setup_true_lang-Cy3d3CnV.js} +3 -3
  46. package/dist/{TimeControl-BR-v1k78.js → TimeControl-xjyqHxgh.js} +2 -2
  47. package/dist/{TwinlistControlBase-C-LwkBvD.js → TwinlistControlBase-CWOCXGb5.js} +3 -3
  48. package/dist/{TwinlistLoadingInfo-C0fjx5Ik.js → TwinlistLoadingInfo-BZdwrP3z.js} +4 -4
  49. package/dist/{TypedStringFilter-C2m_LzO-.js → TypedStringFilter-DXuYvmJn.js} +1 -1
  50. package/dist/{ValueSwitch-D4b_VjAX.js → ValueSwitch-u2Zc1YDe.js} +1 -1
  51. package/dist/{ValueSwitchControl-D5Wvvjkl.js → ValueSwitchControl-Atj8ClT2.js} +1 -1
  52. package/dist/{VerticalLayout-BWdIxoLw.js → VerticalLayout-BFxPwnF7.js} +2 -2
  53. package/dist/{VerticalLayoutBase-BDXZiCFe.js → VerticalLayoutBase-D_Y-RaVb.js} +1 -1
  54. package/dist/{ZonedDateTimeControl-DxYaZt1o.js → ZonedDateTimeControl-Cqe2urb-.js} +4 -4
  55. package/dist/{_baseEach-CeIQwrHm.js → _baseEach-BaLrcdzD.js} +2 -2
  56. package/dist/{_baseIteratee-CcE6KGT4.js → _baseIteratee-DSHh3Sqf.js} +3 -3
  57. package/dist/{_getTag--DhdlgdA.js → _getTag-B904McQ-.js} +1 -1
  58. package/dist/knime-jsonforms.css +1 -1
  59. package/dist/knime-jsonforms.js +7 -7
  60. package/dist/{localTimeUtils-CCm4ffv1.js → localTimeUtils-Dv-ghQDC.js} +1 -1
  61. package/dist/{magic-string.es-qNw6JCs_.js → magic-string.es-DJ32-ZAB.js} +1 -1
  62. package/dist/{svgWithTitle-CMKpJKYe.js → svgWithTitle-D9kwNOTa.js} +1 -1
  63. package/dist/testing.js +3 -3
  64. package/dist/{toString-BNdfvkwo.js → toString-CalibWV6.js} +1 -1
  65. package/dist/{useBuiltinValidations-CPGk0tzm.js → useBuiltinValidations-CzP4JB2q.js} +1 -1
  66. package/dist/{usePossibleValues-C_KA5P1k.js → usePossibleValues-BM9DZiFf.js} +1 -1
  67. package/package.json +4 -4
  68. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BO1C66xG.js +0 -108
@@ -1,7 +1,7 @@
1
1
  import { A as p } from "./arrow-dropdown-DdgjzLAO.js";
2
2
  /* empty css */
3
3
  import { resolveComponent as h, openBlock as o, createElementBlock as d, normalizeClass as l, createElementVNode as n, createCommentVNode as f, withModifiers as r, createVNode as m } from "vue";
4
- import { _ as V } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CrLBs-gn.js";
4
+ import { _ as V } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-BrJ6LQGt.js";
5
5
  const c = 200, g = 50, v = 0.1, E = 1, I = {
6
6
  name: "NumberInput",
7
7
  components: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as i, computed as u, openBlock as c, createBlock as m, unref as s } from "vue";
2
2
  import { o as b } from "./index-Blg1O3Fz.js";
3
- import { D as f } from "./Dropdown-B_NNidgA.js";
3
+ import { D as f } from "./Dropdown-CBwC2V-z.js";
4
4
  const F = /* @__PURE__ */ i({
5
5
  __name: "OneOfDropdown",
6
6
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as e, openBlock as n, createBlock as t, mergeProps as a } from "vue";
2
- import { _ as r } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-BO1C66xG.js";
3
- import { _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CrLBs-gn.js";
2
+ import { _ as r } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-D1RnAmQA.js";
3
+ import { _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-BrJ6LQGt.js";
4
4
  const i = /* @__PURE__ */ e({
5
5
  __name: "RadioControl",
6
6
  props: {
@@ -0,0 +1,114 @@
1
+ import { resolveComponent as b, openBlock as m, createBlock as p, normalizeClass as f, defineComponent as v, computed as n, ref as V, toRef as B, onMounted as h, resolveDynamicComponent as y, createCommentVNode as _ } from "vue";
2
+ import { o as g } from "./index-Blg1O3Fz.js";
3
+ import { u as C } from "./usePossibleValues-BM9DZiFf.js";
4
+ import { B as R, V as O } from "./ValueSwitch-u2Zc1YDe.js";
5
+ import { _ as S } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-BrJ6LQGt.js";
6
+ const F = {
7
+ name: "RadioButtons",
8
+ components: {
9
+ BaseRadioButtons: R
10
+ },
11
+ props: {
12
+ // these props are passed to BaseRadioButtons
13
+ id: {
14
+ type: String,
15
+ default: null
16
+ },
17
+ modelValue: {
18
+ type: String,
19
+ default: ""
20
+ },
21
+ disabled: {
22
+ default: !1,
23
+ type: Boolean
24
+ },
25
+ /**
26
+ * List of possible values. Each item must have an `id` and a `text` property
27
+ * @example
28
+ * [{
29
+ * id: 'pdf',
30
+ * text: 'PDF'
31
+ * }, {
32
+ * id: 'XLS',
33
+ * text: 'Excel',
34
+ * }]
35
+ */
36
+ possibleValues: {
37
+ type: Array,
38
+ default: () => []
39
+ },
40
+ // additional props
41
+ alignment: {
42
+ type: String,
43
+ default: "horizontal",
44
+ validator(t) {
45
+ return ["horizontal", "vertical"].includes(t);
46
+ }
47
+ }
48
+ },
49
+ emits: ["update:modelValue"],
50
+ methods: {
51
+ hasSelection() {
52
+ return this.$refs.radioButton.$refs.input.some((t) => t.checked);
53
+ }
54
+ }
55
+ };
56
+ function k(t, o, a, d, u, r) {
57
+ const l = b("BaseRadioButtons");
58
+ return m(), p(l, {
59
+ id: a.id,
60
+ ref: "radioButton",
61
+ "possible-values": a.possibleValues,
62
+ "model-value": a.modelValue,
63
+ disabled: a.disabled,
64
+ class: f(["radio-buttons", a.alignment, { disabled: a.disabled }]),
65
+ "onUpdate:modelValue": o[0] || (o[0] = (s) => t.$emit("update:modelValue", s))
66
+ }, null, 8, ["id", "possible-values", "model-value", "disabled", "class"]);
67
+ }
68
+ const z = /* @__PURE__ */ S(F, [["render", k], ["__scopeId", "data-v-e428929b"]]), A = /* @__PURE__ */ v({
69
+ __name: "RadioControlBase",
70
+ props: {
71
+ control: {},
72
+ handleChange: { type: Function },
73
+ changeValue: { type: Function },
74
+ disabled: { type: Boolean },
75
+ isValid: { type: Boolean },
76
+ onRegisterValidation: { type: Function },
77
+ labelForId: {},
78
+ type: {}
79
+ },
80
+ setup(t) {
81
+ const o = t, a = n(() => {
82
+ var e;
83
+ return (e = o.control.uischema.options) == null ? void 0 : e.radioLayout;
84
+ }), d = n(
85
+ () => {
86
+ var e;
87
+ return ((e = o.control.uischema.options) == null ? void 0 : e.disabledOptions) ?? [];
88
+ }
89
+ ), u = (e) => d.value.includes(e.id) ? { ...e, disabled: !0 } : e, r = n(
90
+ () => o.type === "valueSwitch" ? O : z
91
+ ), l = V(null), { possibleValues: s } = C(B(o, "control")), c = n(
92
+ () => {
93
+ var e;
94
+ return (e = l.value ?? s.value) == null ? void 0 : e.map(u);
95
+ }
96
+ );
97
+ return h(() => {
98
+ var e, i;
99
+ l.value = (i = (e = o.control) == null ? void 0 : e.schema) != null && i.oneOf ? o.control.schema.oneOf.map(g) : null;
100
+ }), (e, i) => c.value ? (m(), p(y(r.value), {
101
+ key: 0,
102
+ id: e.labelForId,
103
+ "possible-values": c.value,
104
+ alignment: a.value,
105
+ disabled: e.disabled,
106
+ "model-value": e.control.data,
107
+ compact: "",
108
+ "onUpdate:modelValue": e.changeValue
109
+ }, null, 8, ["id", "possible-values", "alignment", "disabled", "model-value", "onUpdate:modelValue"])) : _("", !0);
110
+ }
111
+ });
112
+ export {
113
+ A as _
114
+ };
@@ -3,14 +3,14 @@ import { a as td, c as nd } from "./popper-CRR--9mA.js";
3
3
  import { i as Ca } from "./navigator-D_R-txCf.js";
4
4
  import { g as Ma } from "./hotkeys-kwHHtFKz.js";
5
5
  import { C as rd } from "./close-BuY4mhXV.js";
6
- import { _ as We, q as Ks, C as id, v as Bo } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CrLBs-gn.js";
6
+ import { _ as We, q as Ks, C as id, v as Bo } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-BrJ6LQGt.js";
7
7
  import { F as sd, u as od } from "./useDropdownNavigation-7o7SRJSo.js";
8
- import { B as Di } from "./Button-B2PevR13.js";
9
- import { I as Fo } from "./InputField-DKobsHBJ.js";
8
+ import { B as Di } from "./Button-DjP4YL3-.js";
9
+ import { I as Fo } from "./InputField-BtlCROEm.js";
10
10
  import { u as va, f as Ta, s as Ea, a as Oa } from "./floating-ui.vue-B-MrqKCT.js";
11
11
  import { o as ld } from "./index-Bf0xDq3g.js";
12
12
  import { N as ad } from "./arrow-next-CIOU5o42.js";
13
- import { t as cd } from "./toString-BNdfvkwo.js";
13
+ import { t as cd } from "./toString-CalibWV6.js";
14
14
  const ud = (n, e) => (n % e + e) % e, dd = me({
15
15
  name: "BaseModal",
16
16
  components: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, openBlock as n, createElementBlock as s, createElementVNode as t, toDisplayString as r, renderSlot as i } from "vue";
2
- import { _ as c } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CrLBs-gn.js";
2
+ import { _ as c } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-BrJ6LQGt.js";
3
3
  const a = { class: "section-header" }, d = { class: "section-header-layout-container" }, _ = /* @__PURE__ */ o({
4
4
  __name: "SectionHeading",
5
5
  props: {