@knime/jsonforms 1.21.23 → 1.22.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 (86) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/{AnyOfTwinlist-BdwpIS0r.js → AnyOfTwinlist-B8PBh1xj.js} +1 -1
  3. package/dist/{CheckboxControl-BJWpiyld.js → CheckboxControl-D7Lcz8gt.js} +1 -1
  4. package/dist/{CheckboxesControl-BSWFEy6K.js → CheckboxesControl-BuQCEx59.js} +2 -2
  5. package/dist/{ColorControl-HQccHtms.js → ColorControl-BkXpfCEC.js} +1 -1
  6. package/dist/{ColorPreviewControl-Wu76BKIg.js → ColorPreviewControl-ueHi_a0-.js} +5 -5
  7. package/dist/{ComboBoxControl-D7vQBmBD.js → ComboBoxControl-14P-HY8g.js} +4 -4
  8. package/dist/{DateControl-BgRNqwAd.js → DateControl-CLUwLf19.js} +3 -3
  9. package/dist/{DateTimeControl-DyirKZ0R.js → DateTimeControl-BneMmxG1.js} +12 -12
  10. package/dist/{DateTimeFormatPickerControl-Dsqzp_BX.js → DateTimeFormatPickerControl-BBWLs7Ci.js} +1 -1
  11. package/dist/{DateTimeFormatPickerWithTypeControl-CQgpCTOd.js → DateTimeFormatPickerWithTypeControl-DoWWcgus.js} +1 -1
  12. package/dist/{DropdownControl-C2_VoLHg.js → DropdownControl-CYvjaJAK.js} +2 -2
  13. package/dist/{ExecutorCoresControl-DFuhFidS.js → ExecutorCoresControl-DyFCrXLb.js} +1 -1
  14. package/dist/{ExecutorMemoryControl-DEKPhYUw.js → ExecutorMemoryControl-DAilad7a.js} +1 -1
  15. package/dist/{FileUploadControl-CSbV56Vn.js → FileUploadControl-CJwBvyiQ.js} +37 -37
  16. package/dist/{GridSelectionControl-NncfIRvP.js → GridSelectionControl-BXQv_7jE.js} +11 -11
  17. package/dist/{HorizontalLayout-B-ds48gW.js → HorizontalLayout-OsC-y3Or.js} +1 -1
  18. package/dist/{IntegerControl-pUbx7WSK.js → IntegerControl-DQ6CynXZ.js} +1 -1
  19. package/dist/{IntervalControl-BUW-2Bx8.js → IntervalControl-Beh2DQID.js} +1 -1
  20. package/dist/{LinkControl-DC0ZtSAr.js → LinkControl-CVCTakhR.js} +3 -3
  21. package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-DYEhT-Zb.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-BkVLi3YU.js} +1 -1
  22. package/dist/{ManualTwinlistControl-QvU-jfUF.js → ManualTwinlistControl-0u36AsRn.js} +3 -3
  23. package/dist/{MultiSelectListBoxControl-DNO72Sz0.js → MultiSelectListBoxControl-Chpsgdn4.js} +7 -7
  24. package/dist/{MultimodeTwinlistControl-8aFLX0x0.js → MultimodeTwinlistControl-BhtwjZIb.js} +1 -1
  25. package/dist/{MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CzVSjv2W.js → MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-DXd5FIto.js} +5 -5
  26. package/dist/{NameFilter-mAp6qqdT.js → NameFilter-D11BngiR.js} +1 -1
  27. package/dist/{NumberControl-DOqEPfEf.js → NumberControl-CjQ5cb9n.js} +1 -1
  28. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-DGdl3Wo0.js → NumberControlBase.vue_vue_type_script_setup_true_lang-DuZUTwWr.js} +2 -2
  29. package/dist/{OneOfDropdown-DhZjle9x.js → OneOfDropdown-BmZpMZgI.js} +1 -1
  30. package/dist/{RadioButtonsWithDescriptionControl-Dg2Itz7Q.js → RadioButtonsWithDescriptionControl-BoqUh5Pc.js} +1 -1
  31. package/dist/{RadioControl-BBziixT-.js → RadioControl-DMZA_kWS.js} +1 -1
  32. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-tSTbiOku.js → RadioControlBase.vue_vue_type_script_setup_true_lang-DO_edeV7.js} +2 -2
  33. package/dist/{ResourceControlBase-BRXYSFAV.js → ResourceControlBase-C_tH3Jl8.js} +5 -5
  34. package/dist/{RichTextControl-Bq7YLonH.js → RichTextControl-Bt1uDp0C.js} +2 -2
  35. package/dist/{SectionHeading-DchxhG1K.js → SectionHeading-BWPFs7uy.js} +1 -1
  36. package/dist/{SectionLayout-Kne4HxW-.js → SectionLayout-Dx5wn5j3.js} +5 -5
  37. package/dist/SettingsSubPanel-DUa6yfOJ.js +5 -0
  38. package/dist/{SettingsSubPanelLayout-BLWt2KeI.js → SettingsSubPanelLayout-B-nXxWwO.js} +10 -10
  39. package/dist/{SimpleButtonControl-Ys32aCoO.js → SimpleButtonControl-DxI1mFtb.js} +6 -6
  40. package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-CNHmGiRi.js +30409 -0
  41. package/dist/{SimpleTwinlistControl-DJq47r_F.js → SimpleTwinlistControl-Cq2JjAkn.js} +2 -2
  42. package/dist/{SingleSelectControl-x5gvGkvw.js → SingleSelectControl-CNoQhpxh.js} +2 -2
  43. package/dist/{SingleSelectListBoxControl-DqQ53ZQ-.js → SingleSelectListBoxControl-CtxV3AJ3.js} +5 -5
  44. package/dist/{SortListControl-d2OUv5Y1.js → SortListControl-DY1nBl05.js} +1 -1
  45. package/dist/{StyledListItem-DbkMmR9c.js → StyledListItem-BaRk7CEL.js} +1 -1
  46. package/dist/{TeamAndSpacesControl-HRNreIGG.js → TeamAndSpacesControl-BzRikYWI.js} +1 -1
  47. package/dist/{TeamResourceControl-BO7KKrdD.js → TeamResourceControl-CapUI8Km.js} +1 -1
  48. package/dist/{TextAreaControl-Pza_JWbe.js → TextAreaControl-DnlLga_u.js} +1 -1
  49. package/dist/{TextControl-DrmBGUAd.js → TextControl-DzWhVu0l.js} +1 -1
  50. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Bc75tih4.js → TextControl.vue_vue_type_script_setup_true_lang-BFcaQLGb.js} +2 -2
  51. package/dist/{TimeControl-BcEDucPC.js → TimeControl-3dd1V-zN.js} +3 -3
  52. package/dist/{TimeframesControl-CMKMmffz.js → TimeframesControl-ZTwIxa3g.js} +1 -1
  53. package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-CAdPG_pV.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-VnJtjgcy.js} +2 -2
  54. package/dist/{TypedStringFilter-CCzF5DoR.js → TypedStringFilter-C-uWNSrj.js} +1 -1
  55. package/dist/{ValueSwitchControl-CgkErxGx.js → ValueSwitchControl-B7OHEjjH.js} +1 -1
  56. package/dist/{VerticalLayout-DTRWg7yl.js → VerticalLayout-uQksYYt2.js} +2 -2
  57. package/dist/{VerticalLayoutBase-DuHXRzgu.js → VerticalLayoutBase-DEHCE8nG.js} +1 -1
  58. package/dist/{ZonedDateTimeControl-RKV_GsYP.js → ZonedDateTimeControl-nupm0U-p.js} +10 -10
  59. package/dist/{_Uint8Array-B-i5wyx9.js → _Uint8Array-mj8HOaJ6.js} +34 -34
  60. package/dist/auto-configure-BU7AIhL7-7W3z7Vjz.js +22 -0
  61. package/dist/{copy-DAYm6-mo-CDvX8jVa.js → copy-D43FaHi--Bqzsv-mJ.js} +2 -2
  62. package/dist/duplicate-Mtq886XD-BDwFp0vh.js +22 -0
  63. package/dist/folder-move-6L5NfoIs-CCvXkj23.js +22 -0
  64. package/dist/import-table-BaqmTPnF-KBTO9jUb.js +22 -0
  65. package/dist/knime-jsonforms.css +1 -1
  66. package/dist/knime-jsonforms.js +79 -85
  67. package/dist/linked-component-BOb5aj87-VJSVKxb2.js +22 -0
  68. package/dist/login-DGaxAy8E-DplCH1d8.js +22 -0
  69. package/dist/random-seed-BmLMj_2x-DINXvCyu.js +22 -0
  70. package/dist/src/higherOrderComponents/control/DescriptionPopover.vue.d.ts +1 -4
  71. package/dist/src/higherOrderComponents/control/types/DescriptionPopoverProps.d.ts +4 -0
  72. package/dist/src/higherOrderComponents/layout/index.d.ts +1 -0
  73. package/dist/src/higherOrderComponents/layout/types.d.ts +3 -1
  74. package/dist/src/higherOrderComponents/layout/withDescription.d.ts +2 -0
  75. package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayoutItemControls.vue.d.ts +2 -2
  76. package/dist/table-Pffb9Oig-Qm0Lnd2q.js +22 -0
  77. package/dist/testing.js +3 -3
  78. package/dist/{toString-x58yYJWH.js → toString-D9IJg6lL.js} +5 -5
  79. package/dist/update-file-5lTfm97G-mHppEON3.js +22 -0
  80. package/dist/{useBuiltinValidations-C2YbLdRv.js → useBuiltinValidations-CAUeuDaZ.js} +1 -1
  81. package/dist/{usePossibleValues-D-YElzcA.js → usePossibleValues-D-GnrkrV.js} +1 -1
  82. package/dist/{useUnknownValuesInTwinlist-Di8XYPC0.js → useUnknownValuesInTwinlist-Dp0uNuG6.js} +1 -1
  83. package/dist/validate-CD0_eO0m-8oVXNF5a.js +22 -0
  84. package/package.json +4 -5
  85. package/dist/SettingsSubPanel-UndE7oc7.js +0 -5
  86. package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-F5YI_AcK.js +0 -27180
@@ -1,47 +1,47 @@
1
- import { openBlock as l, createElementBlock as D, createElementVNode as b, renderSlot as v, defineComponent as u, ref as y, onMounted as A, createVNode as n, unref as i, createCommentVNode as E, provide as I, computed as d, watch as F, createBlock as w, Suspense as B, withCtx as _, mergeProps as O, nextTick as J } from "vue";
2
- import { _ as S, K as h, p as R, s as M, U as V, i as U, a as z } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-F5YI_AcK.js";
3
- import { L as me, S as pe, c as fe, b as he, d as ve, e as ge, f as _e, g as ye, h as De, j as be, l as we, k as Se, m as Pe, n as xe, o as Le, t as $e, u as Ce, w as Fe, q as je } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-F5YI_AcK.js";
4
- import { default as Te } from "./SimpleButtonControl-Ys32aCoO.js";
5
- import { _ as Ae } from "./TextControl.vue_vue_type_script_setup_true_lang-Bc75tih4.js";
6
- import { V as Ie } from "./VerticalLayoutBase-DuHXRzgu.js";
7
- import { S as Oe } from "./SectionHeading-DchxhG1K.js";
8
- import { S as Re } from "./SettingsSubPanel-UndE7oc7.js";
9
- const q = {}, G = { class: "flex-wrapper" }, H = { class: "form" };
10
- function K(t, s) {
11
- return l(), D("div", G, [
12
- b("div", H, [
13
- v(t.$slots, "default", {}, void 0, !0)
1
+ import { openBlock as l, createElementBlock as y, createElementVNode as b, 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 w, Suspense as I, withCtx as _, mergeProps as J, nextTick as O } from "vue";
2
+ import { _ as S, 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_a203e154_lang-CNHmGiRi.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 be, m as we, n as Se, o as xe, q as Pe, 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_a203e154_lang-CNHmGiRi.js";
4
+ import { default as Ne } from "./SimpleButtonControl-DxI1mFtb.js";
5
+ import { _ as Be } from "./TextControl.vue_vue_type_script_setup_true_lang-BFcaQLGb.js";
6
+ import { V as Ie } from "./VerticalLayoutBase-DEHCE8nG.js";
7
+ import { S as Oe } from "./SectionHeading-BWPFs7uy.js";
8
+ import { S as Me } from "./SettingsSubPanel-DUa6yfOJ.js";
9
+ const G = {}, H = { class: "flex-wrapper" }, K = { class: "form" };
10
+ function q(t, s) {
11
+ return l(), y("div", H, [
12
+ b("div", K, [
13
+ h(t.$slots, "default", {}, void 0, !0)
14
14
  ]),
15
- v(t.$slots, "bottom-content", {}, void 0, !0)
15
+ h(t.$slots, "bottom-content", {}, void 0, !0)
16
16
  ]);
17
17
  }
18
- const X = /* @__PURE__ */ S(q, [["render", K], ["__scopeId", "data-v-2d34194b"]]), Y = {
18
+ const X = /* @__PURE__ */ S(G, [["render", q], ["__scopeId", "data-v-2d34194b"]]), Y = {
19
19
  key: 0,
20
20
  class: "loading-dialog"
21
- }, Q = { class: "two-columns" }, W = 200, Z = /* @__PURE__ */ u({
21
+ }, Q = { class: "two-columns" }, W = 200, Z = /* @__PURE__ */ v({
22
22
  __name: "LoadingDialog",
23
23
  setup(t) {
24
- const s = y(!1);
24
+ const s = D(!1);
25
25
  return A(() => {
26
26
  setTimeout(() => {
27
27
  s.value = !0;
28
28
  }, W);
29
- }), (r, a) => s.value ? (l(), D("div", Y, [
30
- n(i(h), {
29
+ }), (r, o) => s.value ? (l(), y("div", Y, [
30
+ n(i(p), {
31
31
  variant: "input-with-label",
32
32
  repeat: 3
33
33
  }),
34
34
  b("div", Q, [
35
- n(i(h), { variant: "input-with-label" }),
36
- n(i(h), { variant: "input-with-label" })
35
+ n(i(p), { variant: "input-with-label" }),
36
+ n(i(p), { variant: "input-with-label" })
37
37
  ]),
38
- n(i(h), {
38
+ n(i(p), {
39
39
  variant: "input-with-label",
40
40
  repeat: 3
41
41
  })
42
- ])) : E("", !0);
42
+ ])) : B("", !0);
43
43
  }
44
- }), ee = /* @__PURE__ */ S(Z, [["__scopeId", "data-v-6920196f"]]), te = { class: "dialog" }, j = "EXPOSED_METHOD", oe = /* @__PURE__ */ u({
44
+ }), ee = /* @__PURE__ */ S(Z, [["__scopeId", "data-v-6920196f"]]), te = { class: "dialog" }, k = "EXPOSED_METHOD", ae = /* @__PURE__ */ v({
45
45
  __name: "JsonFormsDialog",
46
46
  props: {
47
47
  schema: {},
@@ -54,81 +54,81 @@ const X = /* @__PURE__ */ S(q, [["render", K], ["__scopeId", "data-v-2d34194b"]]
54
54
  },
55
55
  emits: ["updateData", "trigger", "change", "alert", "stateProviderListener", "initialized"],
56
56
  setup(t, { expose: s, emit: r }) {
57
- const a = r, m = (e, o, g) => (o.type === V && // @ts-expect-error source doesn't exist on type object
58
- o.context?.source !== j && setTimeout(() => J(() => a("updateData", o.path))), g(e, o)), c = (e) => {
59
- a("change", e);
57
+ const o = r, u = (e, a, g) => (a.type === V && // @ts-expect-error source doesn't exist on type object
58
+ a.context?.source !== k && setTimeout(() => O(() => o("updateData", a.path))), g(e, a)), c = (e) => {
59
+ o("change", e);
60
60
  };
61
61
  Object.entries({
62
- trigger: (e) => a("trigger", e),
63
- addStateProviderListener: (e, o) => a("stateProviderListener", e, o),
64
- sendAlert: (e) => a("alert", e),
65
- validate: (e, o) => {
62
+ trigger: (e) => o("trigger", e),
63
+ addStateProviderListener: (e, a) => o("stateProviderListener", e, a),
64
+ sendAlert: (e) => o("alert", e),
65
+ validate: (e, a) => {
66
66
  if (!t.validate)
67
67
  throw new Error(
68
68
  `No validate function provided to JsonFormsDialog but validate called with arguments ${JSON.stringify(
69
- { id: e, data: o }
69
+ { id: e, data: a }
70
70
  )}`
71
71
  );
72
- return t.validate(e, o);
72
+ return t.validate(e, a);
73
73
  }
74
- }).forEach(([e, o]) => I(e, o));
75
- const f = y(null), P = [], x = (e, o) => {
74
+ }).forEach(([e, a]) => E(e, a));
75
+ const f = D(null), x = [], P = (e, a) => {
76
76
  f.value.dispatch(
77
- U.update(e, () => o, {
78
- source: j
77
+ U.update(e, () => a, {
78
+ source: k
79
79
  })
80
80
  );
81
81
  }, L = d(() => f.value !== null);
82
82
  let $;
83
- const k = new Promise((e) => {
83
+ const T = new Promise((e) => {
84
84
  $ = e;
85
- }), T = F(
85
+ }), j = F(
86
86
  () => L.value,
87
87
  (e) => {
88
- e && (a("initialized"), T());
88
+ e && (o("initialized"), j());
89
89
  },
90
90
  { immediate: !0 }
91
91
  );
92
92
  F(
93
93
  () => L.value,
94
94
  (e) => {
95
- e && ($(), P.forEach(
96
- ({ path: o, value: g }) => x(o, g)
95
+ e && ($(), x.forEach(
96
+ ({ path: a, value: g }) => P(a, g)
97
97
  ));
98
98
  }
99
99
  ), s({
100
- updateData: async (e, o) => {
101
- f.value ? x(e, o) : (P.push({ path: e, value: o }), await k);
100
+ updateData: async (e, a) => {
101
+ f.value ? P(e, a) : (x.push({ path: e, value: a }), await T);
102
102
  }
103
103
  });
104
- const C = y(null);
104
+ const C = D(null);
105
105
  R(C);
106
106
  const N = d(() => ({
107
107
  data: t.data,
108
108
  schema: t.schema,
109
109
  uischema: t.uischema,
110
110
  renderers: t.renderers,
111
- middleware: m,
111
+ middleware: u,
112
112
  ...t.ajv ? { ajv: t.ajv } : {}
113
113
  }));
114
- return (e, o) => (l(), D("div", te, [
114
+ return (e, a) => (l(), y("div", te, [
115
115
  b("div", {
116
116
  ref_key: "subPanelTeleportDest",
117
117
  ref: C
118
118
  }, null, 512),
119
- (l(), w(B, null, {
119
+ (l(), w(I, null, {
120
120
  fallback: _(() => [
121
121
  n(ee)
122
122
  ]),
123
123
  default: _(() => [
124
124
  n(X, null, {
125
125
  default: _(() => [
126
- v(e.$slots, "top", {}, void 0, !0),
127
- n(i(M), O({
126
+ h(e.$slots, "top", {}, void 0, !0),
127
+ n(i(M), J({
128
128
  ref_key: "jsonforms",
129
129
  ref: f
130
130
  }, N.value, { onChange: c }), null, 16),
131
- v(e.$slots, "bottom", {}, void 0, !0)
131
+ h(e.$slots, "bottom", {}, void 0, !0)
132
132
  ]),
133
133
  _: 3
134
134
  })
@@ -137,14 +137,7 @@ const X = /* @__PURE__ */ S(q, [["render", K], ["__scopeId", "data-v-2d34194b"]]
137
137
  }))
138
138
  ]));
139
139
  }
140
- }), ie = /* @__PURE__ */ S(oe, [["__scopeId", "data-v-a067eab2"]]), ae = {
141
- layout: {
142
- type: Object,
143
- required: !0
144
- }
145
- }, le = (t) => u(t, {
146
- props: ae
147
- }), se = /* @__PURE__ */ u({
140
+ }), ne = /* @__PURE__ */ S(ae, [["__scopeId", "data-v-a067eab2"]]), oe = /* @__PURE__ */ v({
148
141
  __name: "FieldRenderer",
149
142
  props: {
150
143
  control: {},
@@ -152,20 +145,20 @@ const X = /* @__PURE__ */ S(q, [["render", K], ["__scopeId", "data-v-2d34194b"]]
152
145
  uischema: {}
153
146
  },
154
147
  setup(t) {
155
- const s = (c, p) => c === "" ? p : `${c}.${p}`, r = t, a = d(() => s(r.control.path, r.fieldName)), m = d(
148
+ const s = (c, m) => c === "" ? m : `${c}.${m}`, r = t, o = d(() => s(r.control.path, r.fieldName)), u = d(
156
149
  () => r.control.schema.properties[r.fieldName]
157
150
  );
158
- return (c, p) => (l(), w(i(z), {
159
- key: a.value,
160
- schema: m.value,
151
+ return (c, m) => (l(), w(i(z), {
152
+ key: o.value,
153
+ schema: u.value,
161
154
  uischema: t.uischema,
162
- path: a.value,
155
+ path: o.value,
163
156
  enabled: t.control.enabled,
164
157
  renderers: t.control.renderers,
165
158
  cells: t.control.cells
166
159
  }, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]));
167
160
  }
168
- }), ce = /* @__PURE__ */ u({
161
+ }), ie = /* @__PURE__ */ v({
169
162
  __name: "FieldControl",
170
163
  props: {
171
164
  control: {},
@@ -182,7 +175,7 @@ const X = /* @__PURE__ */ S(q, [["render", K], ["__scopeId", "data-v-2d34194b"]]
182
175
  format: s.format
183
176
  }
184
177
  }));
185
- return (a, m) => (l(), w(se, {
178
+ return (o, u) => (l(), w(oe, {
186
179
  "field-name": t.fieldName,
187
180
  uischema: r.value,
188
181
  control: t.control
@@ -190,33 +183,34 @@ const X = /* @__PURE__ */ S(q, [["render", K], ["__scopeId", "data-v-2d34194b"]]
190
183
  }
191
184
  });
192
185
  export {
193
- ce as FieldControl,
186
+ ie as FieldControl,
194
187
  X as Form,
195
- ie as JsonFormsDialog,
196
- me as LabeledControl,
188
+ ne as JsonFormsDialog,
189
+ de as LabeledControl,
197
190
  Oe as SectionHeading,
198
- Re as SettingsSubPanel,
199
- pe as SimpleArrayLayout,
200
- Te as SimpleButtonControl,
201
- Ae as TextControl,
191
+ Me as SettingsSubPanel,
192
+ ue as SimpleArrayLayout,
193
+ Ne as SimpleButtonControl,
194
+ Be as TextControl,
202
195
  Ie as VerticalLayoutBase,
203
- fe as controlProps,
204
- he as controlToRenderer,
205
- ve as controls,
206
- ge as defaultRenderers,
207
- _e as defineControl,
208
- le as defineLayout,
209
- ye as getAsyncSetupMethod,
196
+ me as controlProps,
197
+ fe as controlToRenderer,
198
+ pe as controls,
199
+ he as defaultRenderers,
200
+ ve as defineControl,
201
+ ge as defineLayout,
202
+ _e as getAsyncSetupMethod,
210
203
  De as handleAsyncComponents,
211
- be as inputFormats,
212
- ae as layoutProps,
204
+ ye as inputFormats,
205
+ be as layoutProps,
213
206
  we as layoutToRenderer,
214
207
  Se as layouts,
215
- Pe as mapControls,
216
- xe as mapLayouts,
208
+ xe as mapControls,
209
+ Pe as mapLayouts,
217
210
  Le as priorityRanks,
218
211
  $e as toRenderers,
219
212
  Ce as useProvidedState,
220
213
  Fe as withDescriptionButton,
221
- je as withLabel
214
+ ke as withDescriptionButtonLayout,
215
+ Te as withLabel
222
216
  };
@@ -0,0 +1,22 @@
1
+ import { openBlock as o, createElementBlock as n, 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(m, e) {
11
+ return o(), n("svg", r, [...e[0] || (e[0] = [
12
+ t("path", {
13
+ d: "M7.5 5V2.25a.75.75 0 0 0-.75-.75H2.251a.753.753 0 0 0-.751.751v4.5c0 .412.337.749.749.749H3m6.25 2.75V9.5h1.5V11H9.258zm0 0h-.5a1 1 0 0 1-1-1v-1m1.5-2V5.5h1.5V7H9.258zm0 0h-.5a1 1 0 0 0-1 1v1m-1.5 0V7.5h-1.5v.75l.008.75H6.25zm0 0h1.5m-2-5-2.5 2.5m.5-2.5h2v1.88",
14
+ "vector-effect": "non-scaling-stroke"
15
+ }, null, -1)
16
+ ])]);
17
+ }
18
+ const s = { render: l };
19
+ export {
20
+ s as default,
21
+ l as render
22
+ };
@@ -0,0 +1,22 @@
1
+ import { openBlock as o, createElementBlock as n, 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 c(l, e) {
11
+ return o(), n("svg", r, [...e[0] || (e[0] = [
12
+ t("path", {
13
+ d: "M3.853 3.75V2.625c0-.298.118-.585.327-.796.21-.21.494-.329.79-.329h3.912c.297 0 .581.119.79.33.21.21.328.497.328.795v6.75c0 .298-.118.585-.327.796-.21.21-.494.329-.79.329H4.97c-.297 0-.581-.118-.79-.33a1.13 1.13 0 0 1-.328-.795V8.25M1 6h6.765M6.088 7.688 7.765 6 6.088 4.313",
14
+ "vector-effect": "non-scaling-stroke"
15
+ }, null, -1)
16
+ ])]);
17
+ }
18
+ const i = { render: c };
19
+ export {
20
+ i as default,
21
+ c as render
22
+ };
@@ -0,0 +1,22 @@
1
+ import { openBlock as o, createElementBlock as n, createElementVNode as r } from "vue";
2
+ const t = {
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(c, e) {
11
+ return o(), n("svg", t, [...e[0] || (e[0] = [
12
+ r("path", {
13
+ d: "m9 5 1.5-1.5L9 2m1.5 1.5H8a2.5 2.5 0 0 0-1.5.5M9 7l1.5 1.5L9 10m1.5-1.5H8A2.5 2.5 0 0 1 5.5 6 2.5 2.5 0 0 0 3 3.5H1.5m3 4.5c-.432.325-.959.5-1.5.5H1.5",
14
+ "vector-effect": "non-scaling-stroke"
15
+ }, null, -1)
16
+ ])]);
17
+ }
18
+ const d = { render: l };
19
+ export {
20
+ d as default,
21
+ l as render
22
+ };
@@ -1,6 +1,3 @@
1
- export type DescriptionPopoverProps = {
2
- html?: string;
3
- hover?: boolean;
4
- };
1
+ import { DescriptionPopoverProps } from './types/DescriptionPopoverProps';
5
2
  declare const _default: import('vue').DefineComponent<DescriptionPopoverProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DescriptionPopoverProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
3
  export default _default;
@@ -0,0 +1,4 @@
1
+ export type DescriptionPopoverProps = {
2
+ html?: string;
3
+ hover?: boolean;
4
+ };
@@ -1,3 +1,4 @@
1
1
  export type * from './types';
2
2
  export * from './layoutToRenderer';
3
3
  export * from './util';
4
+ export * from './withDescription';
@@ -7,7 +7,9 @@ import { NamedTester, ParameterizedComponent } from '../types';
7
7
  export type VueLayoutProps = {
8
8
  layout: ReturnType<typeof useJsonFormsLayout>["layout"]["value"] & {
9
9
  uischema: {
10
- [K: string]: never;
10
+ label?: string;
11
+ description?: string;
12
+ [K: string]: unknown;
11
13
  };
12
14
  };
13
15
  };
@@ -0,0 +1,2 @@
1
+ import { VueLayout } from './types';
2
+ export declare const withDescriptionButtonLayout: (component: VueLayout) => VueLayout;
@@ -6,14 +6,14 @@ type __VLS_Props = {
6
6
  isHidingControlHeader?: boolean;
7
7
  };
8
8
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ duplicate: () => any;
9
10
  delete: () => any;
10
11
  moveUp: () => any;
11
12
  moveDown: () => any;
12
- duplicate: () => any;
13
13
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ onDuplicate?: (() => any) | undefined;
14
15
  onDelete?: (() => any) | undefined;
15
16
  onMoveUp?: (() => any) | undefined;
16
17
  onMoveDown?: (() => any) | undefined;
17
- onDuplicate?: (() => any) | undefined;
18
18
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
19
19
  export default _default;
@@ -0,0 +1,22 @@
1
+ import { openBlock as o, createElementBlock 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 o(), t("svg", r, [...e[0] || (e[0] = [
12
+ n("path", {
13
+ d: "M9.5 1.5h-7a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1m0 0L6 5M4.5 1.5l-3 3m5.5-3L3.5 5m7-2-2 2m-7 0h9M5 5v5.5",
14
+ "vector-effect": "non-scaling-stroke"
15
+ }, null, -1)
16
+ ])]);
17
+ }
18
+ const c = { render: l };
19
+ export {
20
+ c as default,
21
+ l as render
22
+ };
package/dist/testing.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as Hh from "vue";
2
2
  import { ssrUtils as Zi, initDirectivesForSSR as ng, nextTick as $o, defineComponent as Ni, computed as Vr, h as In, shallowReactive as rg, reactive as ig, ref as Yh, createApp as sg, transformVNodeArgs as og, setDevtoolsHook as ag, isRef as cg, TransitionGroup as lg, Transition as ug, BaseTransition as fg } from "vue";
3
- import { r as Na, v as Cl, x as Il, y as hg, z as pg, e as dg } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-F5YI_AcK.js";
4
- import { M as Aa, e as _g, U as Ml, g as $l, a as Pl, i as Rl, S as fi, b as mg, k as gg, c as bg, d as yg, f as vg } from "./_Uint8Array-B-i5wyx9.js";
3
+ import { y as Na, z as Cl, A as Il, B as hg, C as pg, e as dg } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-CNHmGiRi.js";
4
+ import { M as Aa, e as _g, U as Ml, g as $l, a as Pl, i as Rl, S as fi, b as mg, k as gg, c as bg, d as yg, f as vg } from "./_Uint8Array-mj8HOaJ6.js";
5
5
  import { i as Rn } from "./isArray-WzO_os3q.js";
6
- import { t as wg } from "./toString-x58yYJWH.js";
6
+ import { t as wg } from "./toString-D9IJg6lL.js";
7
7
  function Eg(e) {
8
8
  return e;
9
9
  }
@@ -1,6 +1,6 @@
1
- import { r as g, v as e } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-F5YI_AcK.js";
2
- import { i as l } from "./isArray-WzO_os3q.js";
3
- function p(r, t) {
1
+ import { y, z as e } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-CNHmGiRi.js";
2
+ import { i as g } from "./isArray-WzO_os3q.js";
3
+ function l(r, t) {
4
4
  for (var n = -1, i = r == null ? 0 : r.length, o = Array(i); ++n < i; )
5
5
  o[n] = t(r[n], n, r);
6
6
  return o;
@@ -9,9 +9,9 @@ var f = e ? e.prototype : void 0, s = f ? f.toString : void 0;
9
9
  function m(r) {
10
10
  if (typeof r == "string")
11
11
  return r;
12
- if (l(r))
13
- return p(r, m) + "";
14
12
  if (g(r))
13
+ return l(r, m) + "";
14
+ if (y(r))
15
15
  return s ? s.call(r) : "";
16
16
  var t = r + "";
17
17
  return t == "0" && 1 / r == -1 / 0 ? "-0" : t;
@@ -0,0 +1,22 @@
1
+ import { openBlock as o, createElementBlock 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 c(l, e) {
11
+ return o(), t("svg", r, [...e[0] || (e[0] = [
12
+ n("path", {
13
+ d: "m10.018 11-.818-.502.327-.804m-.327.804c1.018-.126 1.8-.897 1.8-1.92 0-.915-.618-1.686-1.473-1.938m-2.171-.484.818.502-.327.83m.327-.83c-1.018.126-1.8.897-1.8 1.92 0 .915.618 1.686 1.473 1.938m-2.182.172H2.381c-.487 0-.881-.362-.881-.807V1.807c0-.446.394-.807.88-.807h4.515L9.72 3.906v.757M6.895 1v2.906H9.72",
14
+ "vector-effect": "non-scaling-stroke"
15
+ }, null, -1)
16
+ ])]);
17
+ }
18
+ const i = { render: c };
19
+ export {
20
+ i as default,
21
+ c as render
22
+ };
@@ -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_a203e154_lang-F5YI_AcK.js";
2
+ import { u as f } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-CNHmGiRi.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_a203e154_lang-F5YI_AcK.js";
2
+ import { u as d } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-CNHmGiRi.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_a203e154_lang-F5YI_AcK.js";
3
+ import "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-CNHmGiRi.js";
4
4
  const w = ({
5
5
  knownValuesSide: s,
6
6
  possibleValueIds: l,
@@ -0,0 +1,22 @@
1
+ import { openBlock as o, createElementBlock 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(c, e) {
11
+ return o(), t("svg", r, [...e[0] || (e[0] = [
12
+ n("path", {
13
+ d: "M4.847 10.398a5.1 5.1 0 0 1-1.388-.519M7.085 1A5.07 5.07 0 0 1 9.9 2.694 4.7 4.7 0 0 1 11 5.699a4.7 4.7 0 0 1-1.099 3.005 5.07 5.07 0 0 1-2.816 1.694m.585-2.089-.585 2.089L9.433 11M1.814 8.426a4.7 4.7 0 0 1-.686-1.388M1 4.896c.09-.509.262-.99.504-1.432l.094-.163m1.518-1.575A5.1 5.1 0 0 1 4.846 1M4.47 5.449 5.555 6.8 7.67 4.25",
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
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/jsonforms",
3
- "version": "1.21.23",
3
+ "version": "1.22.0",
4
4
  "description": "Internal JSON Forms integration for frontend KNIME projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -12,18 +12,17 @@
12
12
  "author": "KNIME AG, Zurich, Switzerland",
13
13
  "type": "module",
14
14
  "dependencies": {
15
- "@floating-ui/vue": "1.1.8",
16
15
  "@jsonforms/core": "3.4.0",
17
16
  "@jsonforms/vue": "3.4.0",
18
17
  "@jsonforms/vue-vanilla": "3.4.0",
19
- "@knime/kds-components": "0.28.5",
18
+ "@knime/kds-components": "0.30.0",
20
19
  "ajv": "8.18.0",
21
20
  "temporal-polyfill": "^0.3.2",
22
21
  "uuid": "14.0.0",
23
22
  "@knime/rich-text-editor": "1.8.23",
24
23
  "@knime/styles": "1.15.1",
25
- "@knime/components": "1.46.6",
26
- "@knime/utils": "1.11.0"
24
+ "@knime/utils": "1.11.0",
25
+ "@knime/components": "1.46.6"
27
26
  },
28
27
  "peerDependencies": {
29
28
  "consola": "3.x",
@@ -1,5 +0,0 @@
1
- import { _ as s, D as a } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_a203e154_lang-F5YI_AcK.js";
2
- const _ = /* @__PURE__ */ s(a, [["__scopeId", "data-v-ce05c683"]]);
3
- export {
4
- _ as S
5
- };