@knime/jsonforms 1.21.17 → 1.21.19

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 (79) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{AnyOfTwinlist-SXwBBRp2.js → AnyOfTwinlist-Chx0nmt3.js} +1 -1
  3. package/dist/{CheckboxControl-CbWn843V.js → CheckboxControl-B8b1Di4k.js} +1 -1
  4. package/dist/{CheckboxesControl-BiQOMrsp.js → CheckboxesControl-DWUnPGdN.js} +2 -2
  5. package/dist/{ColorControl-B_mQdOCs.js → ColorControl-ByE5ku7u.js} +1 -1
  6. package/dist/{ColorPreviewControl-BREwhSO9.js → ColorPreviewControl-XiKZ4jfn.js} +5 -5
  7. package/dist/{ComboBoxControl-BIZlnizm.js → ComboBoxControl-zSceYlyZ.js} +2 -2
  8. package/dist/{DateControl-vkwY-8Qy.js → DateControl-BBGpEVpr.js} +1 -1
  9. package/dist/{DateTimeControl-CtXV6_D2.js → DateTimeControl-CymOURq5.js} +2 -2
  10. package/dist/{DateTimeFormatPickerControl-a7MPaNFN.js → DateTimeFormatPickerControl-Bx19jwpr.js} +1 -1
  11. package/dist/{DateTimeFormatPickerWithTypeControl-B9Nu0dh1.js → DateTimeFormatPickerWithTypeControl-Byo_0cTq.js} +14 -14
  12. package/dist/{DropdownControl-BUwovb4K.js → DropdownControl-C6ffVYyf.js} +2 -2
  13. package/dist/{ExecutorCoresControl-DN-1o1XJ.js → ExecutorCoresControl-D9FZ-g9O.js} +1 -1
  14. package/dist/{ExecutorMemoryControl-UzqzP4hI.js → ExecutorMemoryControl-__P80Lkb.js} +1 -1
  15. package/dist/{FileUploadControl-WC8TFQHe.js → FileUploadControl-DWs4PhOj.js} +28 -28
  16. package/dist/{GridSelectionControl-BgqT1t9d.js → GridSelectionControl-WcJ4y6Fs.js} +7 -7
  17. package/dist/{HorizontalLayout-CESRA3YR.js → HorizontalLayout-ByB5A7X3.js} +1 -1
  18. package/dist/{IntegerControl-DKXN0mcE.js → IntegerControl-aveswmbr.js} +1 -1
  19. package/dist/{IntervalControl-BswGPjcV.js → IntervalControl-B4Eqs1Jf.js} +1 -1
  20. package/dist/{LinkControl-DTqOfnTg.js → LinkControl-DD56lOiw.js} +5 -5
  21. package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-Cic7UEOM.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-CscatDmg.js} +5 -5
  22. package/dist/{ManualTwinlistControl-CoZdPu6n.js → ManualTwinlistControl-DBZ5RZgW.js} +3 -3
  23. package/dist/{MultiSelectListBoxControl-CjM94miu.js → MultiSelectListBoxControl-BMsPvxGQ.js} +3 -3
  24. package/dist/{MultimodeTwinlistControl-NMnPBn6a.js → MultimodeTwinlistControl-thO1be1r.js} +1 -1
  25. package/dist/{MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-mQFRHgGM.js → MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CKcpm_I1.js} +5 -5
  26. package/dist/{NameFilter-DuVJG0SF.js → NameFilter-DBMVmZmk.js} +1 -1
  27. package/dist/{NumberControl-NMJmxuze.js → NumberControl-BPVO5l6t.js} +1 -1
  28. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CR61f6d6.js} +4 -4
  29. package/dist/{OneOfDropdown-CwJemyYo.js → OneOfDropdown-DBG8ZcpV.js} +1 -1
  30. package/dist/{RadioButtonsWithDescriptionControl-BK3UCreL.js → RadioButtonsWithDescriptionControl-BsqMTEB5.js} +1 -1
  31. package/dist/{RadioControl-ts1-JozG.js → RadioControl-ClJmr0EQ.js} +1 -1
  32. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-jxw_5dVt.js → RadioControlBase.vue_vue_type_script_setup_true_lang-Bm4EUEvw.js} +2 -2
  33. package/dist/{ResourceControlBase-FDiyHyQi.js → ResourceControlBase-CeXYJeR1.js} +7 -7
  34. package/dist/{RichTextControl-DH6GqUeF.js → RichTextControl-DvYkBpzH.js} +2794 -2625
  35. package/dist/SectionHeading-7KVIxCGG.js +61 -0
  36. package/dist/{SectionLayout-Cb3_L9Te.js → SectionLayout-CwRO3UXc.js} +3 -3
  37. package/dist/SettingsSubPanel-i2sjXJXx.js +5 -0
  38. package/dist/SettingsSubPanelLayout-CV6y2bcX.js +67 -0
  39. package/dist/{SimpleButtonControl-BeRnF6lP.js → SimpleButtonControl-D58aXnm7.js} +4 -4
  40. package/dist/{SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js → SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.js} +9217 -9194
  41. package/dist/{SimpleTwinlistControl-CnBe4qsI.js → SimpleTwinlistControl-BSON5VYy.js} +2 -2
  42. package/dist/{SingleSelectControl-C4Qzk2Ki.js → SingleSelectControl-BSqORMYm.js} +2 -2
  43. package/dist/{SingleSelectListBoxControl-sLe2Y67h.js → SingleSelectListBoxControl-CFdKzbOK.js} +5 -5
  44. package/dist/{SortListControl-ChpYm3CZ.js → SortListControl-DZIHeQmn.js} +5 -5
  45. package/dist/{StyledListItem-BJEJoIzr.js → StyledListItem--sgmJ3W_.js} +1 -1
  46. package/dist/{TeamAndSpacesControl-7ZXPUwBb.js → TeamAndSpacesControl-DiMyDT-5.js} +5 -5
  47. package/dist/{TeamResourceControl-BZDXMRLZ.js → TeamResourceControl-Bag_dwA1.js} +1 -1
  48. package/dist/{TextAreaControl-BDGtgWys.js → TextAreaControl-B52P0DAa.js} +1 -1
  49. package/dist/{TextControl-8jfyOJKb.js → TextControl-52n-sttB.js} +1 -1
  50. package/dist/{TextControl.vue_vue_type_script_setup_true_lang--8lz3nbO.js → TextControl.vue_vue_type_script_setup_true_lang-DrD-RvHO.js} +2 -2
  51. package/dist/{TimeControl-Dvt5U7xN.js → TimeControl-Cu12_qpz.js} +7 -7
  52. package/dist/{TimeframesControl-DcUxC3kX.js → TimeframesControl-DhdC8OS1.js} +1 -1
  53. package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-t1I2qxJz.js} +2 -2
  54. package/dist/{TypedStringFilter-Cx8OCQcE.js → TypedStringFilter-zJOICQei.js} +1 -1
  55. package/dist/{ValueSwitchControl-1ax1yKbk.js → ValueSwitchControl-CEVWJH7z.js} +1 -1
  56. package/dist/{VerticalLayout-DnyoqTeh.js → VerticalLayout-D_13xb_m.js} +2 -2
  57. package/dist/{VerticalLayoutBase-BS5IpgON.js → VerticalLayoutBase-CYfG9KqS.js} +1 -1
  58. package/dist/{ZonedDateTimeControl-mIIRwaHz.js → ZonedDateTimeControl-C-vO6fC1.js} +4 -4
  59. package/dist/{_Uint8Array-CsgDtogS.js → _Uint8Array-DdGQvEX6.js} +18 -18
  60. package/dist/collection-BBXRVj4b-DzRZ2FYd.js +22 -0
  61. package/dist/knime-jsonforms.css +1 -1
  62. package/dist/knime-jsonforms.js +106 -97
  63. package/dist/src/JsonFormsDialog.vue.d.ts +6 -6
  64. package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +7 -3
  65. package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +0 -1
  66. package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayout.vue.d.ts +1 -1
  67. package/dist/src/renderers/simpleArrayLayoutRenderer.d.ts +1 -1
  68. package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +3 -3
  69. package/dist/testing.js +3 -3
  70. package/dist/{toString-hCFROtg1.js → toString-f8odPeFb.js} +1 -1
  71. package/dist/{useBuiltinValidations-Cfw3JlJf.js → useBuiltinValidations-KbChI8vv.js} +1 -1
  72. package/dist/{usePossibleValues-CtPV4Cjp.js → usePossibleValues-DiYOmnZW.js} +1 -1
  73. package/dist/{useUnknownValuesInTwinlist-BCbqJg7j.js → useUnknownValuesInTwinlist-BhhirtmX.js} +1 -1
  74. package/package.json +2 -2
  75. package/dist/SectionHeading-DIAFnjCM.js +0 -19
  76. package/dist/SettingsSubPanel-BuxORlJO.js +0 -5
  77. package/dist/SettingsSubPanelLayout-DruWJjQA.js +0 -73
  78. package/dist/arrow-next-BQULX8HT.js +0 -17
  79. package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +0 -10
@@ -1,28 +1,37 @@
1
- import { defineComponent as u, ref as y, onMounted as A, openBlock as c, createElementBlock as F, createVNode as n, unref as i, createElementVNode as j, createCommentVNode as E, provide as B, computed as d, watch as x, createBlock as D, Suspense as I, withCtx as g, renderSlot as L, mergeProps as O, nextTick as J } from "vue";
2
- import { K as h, _ as k, p as R, F as M, s as V, U, i as z, a as q } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
3
- import { L as le, S as ce, c as de, b as ue, d as me, e as pe, f as fe, g as he, h as ve, j as ge, l as ye, k as De, m as _e, n as be, o as Se, t as we, u as Pe, w as xe, q as Le } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
4
- import { default as Fe } from "./SimpleButtonControl-BeRnF6lP.js";
5
- import { _ as ke } from "./TextControl.vue_vue_type_script_setup_true_lang--8lz3nbO.js";
6
- import { V as Ne } from "./VerticalLayoutBase-BS5IpgON.js";
7
- import { S as Ae } from "./SectionHeading-DIAFnjCM.js";
8
- import { S as Be } from "./SettingsSubPanel-BuxORlJO.js";
9
- const G = {
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_17a4a240_lang-BseRdW9f.js";
3
+ import { L as me, S as fe, c as pe, 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_17a4a240_lang-BseRdW9f.js";
4
+ import { default as Te } from "./SimpleButtonControl-D58aXnm7.js";
5
+ import { _ as Ae } from "./TextControl.vue_vue_type_script_setup_true_lang-DrD-RvHO.js";
6
+ import { V as Ie } from "./VerticalLayoutBase-CYfG9KqS.js";
7
+ import { S as Oe } from "./SectionHeading-7KVIxCGG.js";
8
+ import { S as Re } from "./SettingsSubPanel-i2sjXJXx.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)
14
+ ]),
15
+ v(t.$slots, "bottom-content", {}, void 0, !0)
16
+ ]);
17
+ }
18
+ const X = /* @__PURE__ */ S(q, [["render", K], ["__scopeId", "data-v-606e97f3"]]), Y = {
10
19
  key: 0,
11
20
  class: "loading-dialog"
12
- }, H = { class: "two-columns" }, K = 200, X = /* @__PURE__ */ u({
21
+ }, Q = { class: "two-columns" }, W = 200, Z = /* @__PURE__ */ u({
13
22
  __name: "LoadingDialog",
14
23
  setup(t) {
15
24
  const s = y(!1);
16
25
  return A(() => {
17
26
  setTimeout(() => {
18
27
  s.value = !0;
19
- }, K);
20
- }), (r, o) => s.value ? (c(), F("div", G, [
28
+ }, W);
29
+ }), (r, a) => s.value ? (l(), D("div", Y, [
21
30
  n(i(h), {
22
31
  variant: "input-with-label",
23
32
  repeat: 3
24
33
  }),
25
- j("div", H, [
34
+ b("div", Q, [
26
35
  n(i(h), { variant: "input-with-label" }),
27
36
  n(i(h), { variant: "input-with-label" })
28
37
  ]),
@@ -32,7 +41,7 @@ const G = {
32
41
  })
33
42
  ])) : E("", !0);
34
43
  }
35
- }), Y = /* @__PURE__ */ k(X, [["__scopeId", "data-v-fa5292ba"]]), Q = { class: "dialog" }, C = "EXPOSED_METHOD", W = /* @__PURE__ */ u({
44
+ }), ee = /* @__PURE__ */ S(Z, [["__scopeId", "data-v-fa5292ba"]]), te = { class: "dialog" }, j = "EXPOSED_METHOD", oe = /* @__PURE__ */ u({
36
45
  __name: "JsonFormsDialog",
37
46
  props: {
38
47
  schema: {},
@@ -45,56 +54,56 @@ const G = {
45
54
  },
46
55
  emits: ["updateData", "trigger", "change", "alert", "stateProviderListener", "initialized"],
47
56
  setup(t, { expose: s, emit: r }) {
48
- const o = r, m = (e, a, v) => (a.type === U && // @ts-expect-error source doesn't exist on type object
49
- a.context?.source !== C && setTimeout(() => J(() => o("updateData", a.path))), v(e, a)), l = (e) => {
50
- o("change", e);
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);
51
60
  };
52
61
  Object.entries({
53
- trigger: (e) => o("trigger", e),
54
- addStateProviderListener: (e, a) => o("stateProviderListener", e, a),
55
- sendAlert: (e) => o("alert", e),
56
- validate: (e, a) => {
62
+ trigger: (e) => a("trigger", e),
63
+ addStateProviderListener: (e, o) => a("stateProviderListener", e, o),
64
+ sendAlert: (e) => a("alert", e),
65
+ validate: (e, o) => {
57
66
  if (!t.validate)
58
67
  throw new Error(
59
68
  `No validate function provided to JsonFormsDialog but validate called with arguments ${JSON.stringify(
60
- { id: e, data: a }
69
+ { id: e, data: o }
61
70
  )}`
62
71
  );
63
- return t.validate(e, a);
72
+ return t.validate(e, o);
64
73
  }
65
- }).forEach(([e, a]) => B(e, a));
66
- const f = y(null), _ = [], b = (e, a) => {
67
- f.value.dispatch(
68
- z.update(e, () => a, {
69
- source: C
74
+ }).forEach(([e, o]) => I(e, o));
75
+ const p = y(null), P = [], x = (e, o) => {
76
+ p.value.dispatch(
77
+ U.update(e, () => o, {
78
+ source: j
70
79
  })
71
80
  );
72
- }, S = d(() => f.value !== null);
73
- let w;
74
- const T = new Promise((e) => {
75
- w = e;
76
- }), N = x(
77
- () => S.value,
81
+ }, L = d(() => p.value !== null);
82
+ let $;
83
+ const k = new Promise((e) => {
84
+ $ = e;
85
+ }), T = F(
86
+ () => L.value,
78
87
  (e) => {
79
- e && (o("initialized"), N());
88
+ e && (a("initialized"), T());
80
89
  },
81
90
  { immediate: !0 }
82
91
  );
83
- x(
84
- () => S.value,
92
+ F(
93
+ () => L.value,
85
94
  (e) => {
86
- e && (w(), _.forEach(
87
- ({ path: a, value: v }) => b(a, v)
95
+ e && ($(), P.forEach(
96
+ ({ path: o, value: g }) => x(o, g)
88
97
  ));
89
98
  }
90
99
  ), s({
91
- updateData: async (e, a) => {
92
- f.value ? b(e, a) : (_.push({ path: e, value: a }), await T);
100
+ updateData: async (e, o) => {
101
+ p.value ? x(e, o) : (P.push({ path: e, value: o }), await k);
93
102
  }
94
103
  });
95
- const P = y(null);
96
- R(P);
97
- const $ = d(() => ({
104
+ const C = y(null);
105
+ R(C);
106
+ const N = d(() => ({
98
107
  data: t.data,
99
108
  schema: t.schema,
100
109
  uischema: t.uischema,
@@ -102,24 +111,24 @@ const G = {
102
111
  middleware: m,
103
112
  ...t.ajv ? { ajv: t.ajv } : {}
104
113
  }));
105
- return (e, a) => (c(), F("div", Q, [
106
- j("div", {
114
+ return (e, o) => (l(), D("div", te, [
115
+ b("div", {
107
116
  ref_key: "subPanelTeleportDest",
108
- ref: P
117
+ ref: C
109
118
  }, null, 512),
110
- (c(), D(I, null, {
111
- fallback: g(() => [
112
- n(Y)
119
+ (l(), w(B, null, {
120
+ fallback: _(() => [
121
+ n(ee)
113
122
  ]),
114
- default: g(() => [
115
- n(M, null, {
116
- default: g(() => [
117
- L(e.$slots, "top", {}, void 0, !0),
118
- n(i(V), O({
123
+ default: _(() => [
124
+ n(X, null, {
125
+ default: _(() => [
126
+ v(e.$slots, "top", {}, void 0, !0),
127
+ n(i(M), O({
119
128
  ref_key: "jsonforms",
120
- ref: f
121
- }, $.value, { onChange: l }), null, 16),
122
- L(e.$slots, "bottom", {}, void 0, !0)
129
+ ref: p
130
+ }, N.value, { onChange: c }), null, 16),
131
+ v(e.$slots, "bottom", {}, void 0, !0)
123
132
  ]),
124
133
  _: 3
125
134
  })
@@ -128,14 +137,14 @@ const G = {
128
137
  }))
129
138
  ]));
130
139
  }
131
- }), oe = /* @__PURE__ */ k(W, [["__scopeId", "data-v-dea72941"]]), Z = {
140
+ }), ie = /* @__PURE__ */ S(oe, [["__scopeId", "data-v-dea72941"]]), ae = {
132
141
  layout: {
133
142
  type: Object,
134
143
  required: !0
135
144
  }
136
- }, se = (t) => u(t, {
137
- props: Z
138
- }), ee = /* @__PURE__ */ u({
145
+ }, le = (t) => u(t, {
146
+ props: ae
147
+ }), se = /* @__PURE__ */ u({
139
148
  __name: "FieldRenderer",
140
149
  props: {
141
150
  control: {},
@@ -143,20 +152,20 @@ const G = {
143
152
  uischema: {}
144
153
  },
145
154
  setup(t) {
146
- const s = (l, p) => l === "" ? p : `${l}.${p}`, r = t, o = d(() => s(r.control.path, r.fieldName)), m = d(
155
+ const s = (c, f) => c === "" ? f : `${c}.${f}`, r = t, a = d(() => s(r.control.path, r.fieldName)), m = d(
147
156
  () => r.control.schema.properties[r.fieldName]
148
157
  );
149
- return (l, p) => (c(), D(i(q), {
150
- key: o.value,
158
+ return (c, f) => (l(), w(i(z), {
159
+ key: a.value,
151
160
  schema: m.value,
152
161
  uischema: t.uischema,
153
- path: o.value,
162
+ path: a.value,
154
163
  enabled: t.control.enabled,
155
164
  renderers: t.control.renderers,
156
165
  cells: t.control.cells
157
166
  }, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]));
158
167
  }
159
- }), re = /* @__PURE__ */ u({
168
+ }), ce = /* @__PURE__ */ u({
160
169
  __name: "FieldControl",
161
170
  props: {
162
171
  control: {},
@@ -173,7 +182,7 @@ const G = {
173
182
  format: s.format
174
183
  }
175
184
  }));
176
- return (o, m) => (c(), D(ee, {
185
+ return (a, m) => (l(), w(se, {
177
186
  "field-name": t.fieldName,
178
187
  uischema: r.value,
179
188
  control: t.control
@@ -181,33 +190,33 @@ const G = {
181
190
  }
182
191
  });
183
192
  export {
184
- re as FieldControl,
185
- M as Form,
186
- oe as JsonFormsDialog,
187
- le as LabeledControl,
188
- Ae as SectionHeading,
189
- Be as SettingsSubPanel,
190
- ce as SimpleArrayLayout,
191
- Fe as SimpleButtonControl,
192
- ke as TextControl,
193
- Ne as VerticalLayoutBase,
194
- de as controlProps,
195
- ue as controlToRenderer,
196
- me as controls,
197
- pe as defaultRenderers,
198
- fe as defineControl,
199
- se as defineLayout,
200
- he as getAsyncSetupMethod,
201
- ve as handleAsyncComponents,
202
- ge as inputFormats,
203
- Z as layoutProps,
204
- ye as layoutToRenderer,
205
- De as layouts,
206
- _e as mapControls,
207
- be as mapLayouts,
208
- Se as priorityRanks,
209
- we as toRenderers,
210
- Pe as useProvidedState,
211
- xe as withDescriptionButton,
212
- Le as withLabel
193
+ ce as FieldControl,
194
+ X as Form,
195
+ ie as JsonFormsDialog,
196
+ me as LabeledControl,
197
+ Oe as SectionHeading,
198
+ Re as SettingsSubPanel,
199
+ fe as SimpleArrayLayout,
200
+ Te as SimpleButtonControl,
201
+ Ae as TextControl,
202
+ Ie as VerticalLayoutBase,
203
+ pe 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,
210
+ De as handleAsyncComponents,
211
+ be as inputFormats,
212
+ ae as layoutProps,
213
+ we as layoutToRenderer,
214
+ Se as layouts,
215
+ Pe as mapControls,
216
+ xe as mapLayouts,
217
+ Le as priorityRanks,
218
+ $e as toRenderers,
219
+ Ce as useProvidedState,
220
+ Fe as withDescriptionButton,
221
+ je as withLabel
213
222
  };
@@ -242,27 +242,27 @@ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
242
242
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
243
243
  updateData: (path: string, value: unknown) => Promise<void>;
244
244
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
245
+ trigger: (id: unknown) => any;
246
+ updateData: (path: string) => any;
245
247
  change: (args_0: {
246
248
  data: unknown;
247
249
  }) => any;
248
- initialized: () => any;
249
- trigger: (id: unknown) => any;
250
- updateData: (path: string) => any;
251
250
  alert: (alert: AlertParams) => any;
252
251
  stateProviderListener: (identifier: StateProviderLocation & {
253
252
  [key: string]: unknown;
254
253
  }, callback: (value: unknown) => void) => any;
254
+ initialized: () => any;
255
255
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
256
+ onTrigger?: ((id: unknown) => any) | undefined;
257
+ onUpdateData?: ((path: string) => any) | undefined;
256
258
  onChange?: ((args_0: {
257
259
  data: unknown;
258
260
  }) => any) | undefined;
259
- onInitialized?: (() => any) | undefined;
260
- onTrigger?: ((id: unknown) => any) | undefined;
261
- onUpdateData?: ((path: string) => any) | undefined;
262
261
  onAlert?: ((alert: AlertParams) => any) | undefined;
263
262
  onStateProviderListener?: ((identifier: StateProviderLocation & {
264
263
  [key: string]: unknown;
265
264
  }, callback: (value: unknown) => void) => any) | undefined;
265
+ onInitialized?: (() => any) | undefined;
266
266
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
267
267
  subPanelTeleportDest: HTMLDivElement;
268
268
  jsonforms: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
@@ -6,11 +6,15 @@ declare function __VLS_template(): {
6
6
  slots: {
7
7
  'right-buttons'?(_: {}): any;
8
8
  };
9
- refs: {};
10
- rootEl: HTMLDivElement;
9
+ refs: {
10
+ sentinel: HTMLDivElement;
11
+ };
12
+ rootEl: any;
11
13
  };
12
14
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
16
+ sentinel: HTMLDivElement;
17
+ }, any>;
14
18
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
19
  export default _default;
16
20
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -2,7 +2,6 @@ import { InjectionKey, Ref } from 'vue';
2
2
  export type SettingsSubPanelProps = {
3
3
  showBackArrow?: boolean;
4
4
  hideButtonsWhenExpanded?: boolean;
5
- backgroundColorOverride?: string;
6
5
  backButtonLabel?: string;
7
6
  };
8
7
  /**
@@ -66,9 +66,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
66
66
  default: undefined;
67
67
  };
68
68
  }>> & Readonly<{}>, {
69
- enabled: boolean;
70
69
  renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
71
70
  cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[];
72
71
  config: Record<string, any>;
72
+ enabled: boolean;
73
73
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
74
74
  export default _default;
@@ -68,9 +68,9 @@ export declare const simpleArrayLayoutRenderer: {
68
68
  default: undefined;
69
69
  };
70
70
  }>> & Readonly<{}>, {
71
- enabled: boolean;
72
71
  renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
73
72
  cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[];
74
73
  config: Record<string, any>;
74
+ enabled: boolean;
75
75
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
76
76
  };
@@ -88,8 +88,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
88
88
  blur: () => any;
89
89
  "update:modelValue": (content: string) => any;
90
90
  }, string, {
91
- withBorder: boolean;
92
91
  disabled: boolean;
92
+ withBorder: boolean;
93
93
  maxHeight: number | null;
94
94
  minHeight: number | null;
95
95
  autofocus: boolean;
@@ -137,8 +137,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
137
137
  $nextTick: typeof import('vue').nextTick;
138
138
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
139
139
  } & Readonly<{
140
- withBorder: boolean;
141
140
  disabled: boolean;
141
+ withBorder: boolean;
142
142
  maxHeight: number | null;
143
143
  minHeight: number | null;
144
144
  autofocus: boolean;
@@ -198,7 +198,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
198
198
  }> & Readonly<{
199
199
  onBlur?: (() => any) | undefined;
200
200
  "onUpdate:modelValue"?: ((content: string) => any) | undefined;
201
- }>, "focus" | ("withBorder" | "disabled" | "maxHeight" | "minHeight" | "autofocus" | "linkToolOptions" | "baseExtensions" | "hotkeyFormatter" | "editable" | "customExtensions" | "characterLimit")> & {
201
+ }>, "focus" | ("disabled" | "withBorder" | "maxHeight" | "minHeight" | "autofocus" | "linkToolOptions" | "baseExtensions" | "hotkeyFormatter" | "editable" | "customExtensions" | "characterLimit")> & {
202
202
  focus: () => void;
203
203
  } & {} & import('vue').ComponentCustomProperties & {} & {
204
204
  $slots: {
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_17a4a240_lang-DML-OwvR.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-CsgDtogS.js";
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_17a4a240_lang-BseRdW9f.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-DdGQvEX6.js";
5
5
  import { i as Rn } from "./isArray-WzO_os3q.js";
6
- import { t as wg } from "./toString-hCFROtg1.js";
6
+ import { t as wg } from "./toString-f8odPeFb.js";
7
7
  function Eg(e) {
8
8
  return e;
9
9
  }
@@ -1,4 +1,4 @@
1
- import { r as g, v as e } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
1
+ import { r as g, v as e } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.js";
2
2
  import { i as l } from "./isArray-WzO_os3q.js";
3
3
  function p(r, t) {
4
4
  for (var n = -1, i = r == null ? 0 : r.length, o = Array(i); ++n < i; )
@@ -1,5 +1,5 @@
1
1
  import { onUnmounted as u, toRef as p, computed as d } from "vue";
2
- import { u as f } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
2
+ import { u as f } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.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_17a4a240_lang-DML-OwvR.js";
2
+ import { u as d } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.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_17a4a240_lang-DML-OwvR.js";
3
+ import "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.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": "1.21.17",
3
+ "version": "1.21.19",
4
4
  "description": "Internal JSON Forms integration for frontend KNIME projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,7 +16,7 @@
16
16
  "@jsonforms/core": "3.4.0",
17
17
  "@jsonforms/vue": "3.4.0",
18
18
  "@jsonforms/vue-vanilla": "3.4.0",
19
- "@knime/kds-components": "0.25.1",
19
+ "@knime/kds-components": "0.27.0",
20
20
  "ajv": "8.18.0",
21
21
  "temporal-polyfill": "^0.3.2",
22
22
  "uuid": "14.0.0",
@@ -1,19 +0,0 @@
1
- import { defineComponent as n, openBlock as s, createElementBlock as i, createElementVNode as e, toDisplayString as r, renderSlot as c } from "vue";
2
- import { _ as a } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
3
- const d = { class: "section-header" }, l = { class: "section-header-layout-container" }, _ = /* @__PURE__ */ n({
4
- __name: "SectionHeading",
5
- props: {
6
- titleText: {}
7
- },
8
- setup(t) {
9
- return (o, p) => (s(), i("div", d, [
10
- e("div", l, [
11
- e("h3", null, r(t.titleText), 1),
12
- c(o.$slots, "right-buttons", {}, void 0, !0)
13
- ])
14
- ]));
15
- }
16
- }), u = /* @__PURE__ */ a(_, [["__scopeId", "data-v-2310b6b8"]]);
17
- export {
18
- u as S
19
- };
@@ -1,5 +0,0 @@
1
- import { _ as a, D as s } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
2
- const _ = /* @__PURE__ */ a(s, [["__scopeId", "data-v-25eac96f"]]);
3
- export {
4
- _ as S
5
- };
@@ -1,73 +0,0 @@
1
- import { defineComponent as h, computed as s, ref as y, openBlock as c, createElementBlock as k, createVNode as a, withCtx as o, createBlock as p, unref as u, createElementVNode as i, renderSlot as S, toDisplayString as g } from "vue";
2
- import { a as x, a8 as B, _ as $ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
3
- import { N as L } from "./arrow-next-BQULX8HT.js";
4
- import { V as w } from "./VerticalLayoutBase-BS5IpgON.js";
5
- import { S as C } from "./SectionHeading-DIAFnjCM.js";
6
- import { S as N } from "./SettingsSubPanel-BuxORlJO.js";
7
- const V = { class: "flex-row" }, P = /* @__PURE__ */ h({
8
- __name: "SettingsSubPanelLayout",
9
- props: {
10
- layout: {}
11
- },
12
- setup(e) {
13
- const m = e, r = s(() => m.layout.uischema.options ?? {}), d = s(() => r.value.setText ?? "Set"), b = s(
14
- () => r.value.backButtonLabel ?? "Back to node configuration"
15
- ), n = y(!1);
16
- return (f, l) => (c(), k("div", {
17
- onMouseover: l[0] || (l[0] = (t) => n.value = !0),
18
- onMouseleave: l[1] || (l[1] = (t) => n.value = !1)
19
- }, [
20
- a(N, {
21
- "show-back-arrow": "",
22
- "back-button-label": b.value,
23
- "background-color-override": "var(--knime-gray-ultra-light)"
24
- }, {
25
- "expand-button": o(({ expand: t }) => [
26
- a(C, {
27
- "title-text": e.layout.uischema.label
28
- }, {
29
- "right-buttons": o(() => [
30
- i("div", V, [
31
- S(f.$slots, "buttons", { hover: n.value }, void 0, !0),
32
- a(u(B), {
33
- compact: "",
34
- class: "set-button",
35
- onClick: t
36
- }, {
37
- default: o(() => [
38
- i("span", null, g(d.value), 1),
39
- a(u(L))
40
- ]),
41
- _: 1
42
- }, 8, ["onClick"])
43
- ])
44
- ]),
45
- _: 2
46
- }, 1032, ["title-text"])
47
- ]),
48
- default: o(() => [
49
- a(w, {
50
- elements: e.layout.uischema.elements
51
- }, {
52
- default: o(({ element: t, index: v }) => [
53
- (c(), p(u(x), {
54
- key: `${e.layout.path}-${v}`,
55
- schema: e.layout.schema,
56
- uischema: t,
57
- path: e.layout.path,
58
- enabled: e.layout.enabled,
59
- renderers: e.layout.renderers,
60
- cells: e.layout.cells
61
- }, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))
62
- ]),
63
- _: 1
64
- }, 8, ["elements"])
65
- ]),
66
- _: 3
67
- }, 8, ["back-button-label"])
68
- ], 32));
69
- }
70
- }), H = /* @__PURE__ */ $(P, [["__scopeId", "data-v-7ec268f9"]]);
71
- export {
72
- H as default
73
- };
@@ -1,17 +0,0 @@
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: "#000",
6
- "stroke-linejoin": "round",
7
- viewBox: "0 0 32 32"
8
- };
9
- function l(s, e) {
10
- return o(), n("svg", r, [...e[0] || (e[0] = [
11
- t("path", { d: "m10.5 5 11 11-11 11" }, null, -1)
12
- ])]);
13
- }
14
- const i = { render: l };
15
- export {
16
- i as N
17
- };
@@ -1,10 +0,0 @@
1
- interface Props {
2
- backgroundColorOverride?: string;
3
- backButtonLabel?: string;
4
- }
5
- declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
- click: (...args: any[]) => void;
7
- }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
8
- onClick?: ((...args: any[]) => any) | undefined;
9
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
10
- export default _default;