@knime/jsonforms 1.17.5 → 1.18.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 +6 -0
  2. package/dist/{AnyOfTwinlist-CSbFqiiy.js → AnyOfTwinlist-DNsHUZei.js} +1 -1
  3. package/dist/{Button-BfZfHt8q.js → Button-BICIAXt_.js} +1 -1
  4. package/dist/{Checkbox-M2rFIZY0.js → Checkbox-CWL8weTr.js} +1 -1
  5. package/dist/{CheckboxControl-Dz65huic.js → CheckboxControl-bjaWoB4c.js} +1 -1
  6. package/dist/{Checkboxes-Qc7Wn4p8.js → Checkboxes-D3XPQc69.js} +2 -2
  7. package/dist/{CheckboxesControl-52GcYYsS.js → CheckboxesControl-BxTmNLjK.js} +3 -3
  8. package/dist/{ComboBoxControl-BSrtnamE.js → ComboBoxControl-DIucqZ5g.js} +3 -3
  9. package/dist/{DateControl-B9h4p2F5.js → DateControl-BNeGXflU.js} +1 -1
  10. package/dist/{DateTimeControl-BsPKGDFA.js → DateTimeControl-CcsnEIq0.js} +1 -1
  11. package/dist/{DateTimeFormatInput-bkxjAG8p.js → DateTimeFormatInput-CW04StCG.js} +3 -3
  12. package/dist/{DateTimeFormatPickerControl-SZNaksRz.js → DateTimeFormatPickerControl-DGKFzxb_.js} +2 -2
  13. package/dist/{DateTimeFormatPickerWithTypeControl-CAEt6y2T.js → DateTimeFormatPickerWithTypeControl-85204whr.js} +3 -3
  14. package/dist/{Dropdown-6eVZoGpG.js → Dropdown-CIypkp0O.js} +7 -7
  15. package/dist/{DropdownControl-mDfFM4Ka.js → DropdownControl-4AhoNiKk.js} +3 -3
  16. package/dist/{HorizontalLayout-TMNv34K1.js → HorizontalLayout-DaqXoro5.js} +1 -1
  17. package/dist/{InputField-OKgaETDx.js → InputField-DdqH6dhw.js} +1 -1
  18. package/dist/{IntegerControl-xaXhFuiQ.js → IntegerControl-mbOHHY3i.js} +1 -1
  19. package/dist/{IntervalControl-Bdoki_MC.js → IntervalControl-D8TeFfuS.js} +19 -19
  20. package/dist/{LoadingDropdown-edN4VitH.js → LoadingDropdown--cwIsJdm.js} +3 -3
  21. package/dist/{LoadingIcon-DMHNXXmQ.js → LoadingIcon-DVB5Htes.js} +1 -1
  22. package/dist/{ManualTwinlistControl-DEBn3XgS.js → ManualTwinlistControl-BRitiAxR.js} +4 -4
  23. package/dist/{MultiSelectListBoxControl-BmRzZUI_.js → MultiSelectListBoxControl-CN3QiEdL.js} +2 -2
  24. package/dist/{MultimodeTwinlistControl-P0Bj7FYU.js → MultimodeTwinlistControl-O0R4oOLS.js} +12 -12
  25. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-McCAyYfA.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-L5I6qYVS.js} +2 -2
  26. package/dist/{MultiselectListBox-Ivk-_tly.js → MultiselectListBox-CQ3iTrKc.js} +2 -2
  27. package/dist/{NameFilter-SAlJdnm7.js → NameFilter-ClMXE3-2.js} +1 -1
  28. package/dist/{NumberControl-C_VElIjG.js → NumberControl-DMpTZQhn.js} +1 -1
  29. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-Bcc2XPBa.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CDRKAuGz.js} +2 -2
  30. package/dist/{NumberInput-CHeMUEcJ.js → NumberInput-DlvskoRZ.js} +1 -1
  31. package/dist/{OneOfDropdown-DZgSOLLJ.js → OneOfDropdown-DVGE71fW.js} +1 -1
  32. package/dist/{RadioControl-xm6uqnsz.js → RadioControl-bKZb-PCj.js} +2 -2
  33. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-cwi1lPmz.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CcnOafHA.js} +3 -3
  34. package/dist/{RichTextControl-Bx9uzTcU.js → RichTextControl-BB6-PEf-.js} +5 -5
  35. package/dist/{SectionHeading-ChmLXMcT.js → SectionHeading-D_aTs-g5.js} +1 -1
  36. package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js → SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CJiCxiU3.js} +2453 -2419
  37. package/dist/{SectionLayout-DlR3VVwY.js → SectionLayout-Ba7NpHTm.js} +3 -3
  38. package/dist/SettingsSubPanel-BRHq7-xS.js +5 -0
  39. package/dist/{SettingsSubPanelLayout-DFSdKm29.js → SettingsSubPanelLayout-C3hw4UGI.js} +9 -9
  40. package/dist/{SimpleButtonControl-0nEpHoVU.js → SimpleButtonControl-CGe9roDQ.js} +2 -2
  41. package/dist/{SimpleTwinlistControl-BlS_kAjd.js → SimpleTwinlistControl-nBi-T2QR.js} +2 -2
  42. package/dist/{SingleSelectControl-CN-n21yb.js → SingleSelectControl-Dg18bGk9.js} +2 -2
  43. package/dist/{SingleSelectListBoxControl-CCI8zCX8.js → SingleSelectListBoxControl-BsQMs5Xl.js} +5 -5
  44. package/dist/{SortListControl-BulTKISX.js → SortListControl-w5mvLX6s.js} +28 -28
  45. package/dist/{StyledListItem-CQwlzLP2.js → StyledListItem-nU28IyY6.js} +1 -1
  46. package/dist/{TextAreaControl-CXKJWxR3.js → TextAreaControl-BcPobxLV.js} +1 -1
  47. package/dist/{TextControl-CgsdWiFw.js → TextControl-kY3Ra8PG.js} +1 -1
  48. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-BTqu_S1c.js → TextControl.vue_vue_type_script_setup_true_lang-D838LEWg.js} +3 -3
  49. package/dist/{TimeControl-OsnqrTKz.js → TimeControl-CcvAtvwb.js} +1 -1
  50. package/dist/{TwinlistControlBase-BEEFVvf6.js → TwinlistControlBase-Da7Vi8Ne.js} +3 -3
  51. package/dist/{TwinlistLoadingInfo-BFWX5bru.js → TwinlistLoadingInfo-BvCXnExs.js} +20 -20
  52. package/dist/{TypedStringFilter-CAXArbh6.js → TypedStringFilter-DuFP6CtD.js} +1 -1
  53. package/dist/{ValueSwitch-BmW_v2r_.js → ValueSwitch-CAxte3Dc.js} +1 -1
  54. package/dist/{ValueSwitchControl-F9EBfMSY.js → ValueSwitchControl-DcBjKQSo.js} +1 -1
  55. package/dist/{VerticalLayout-DEFdoJSU.js → VerticalLayout-CUHbdUdk.js} +2 -2
  56. package/dist/{VerticalLayoutBase-DiZEVSbM.js → VerticalLayoutBase-D1nKyweu.js} +1 -1
  57. package/dist/{ZonedDateTimeControl-TJvHA6Rm.js → ZonedDateTimeControl-B5cuTrgr.js} +3 -3
  58. package/dist/{_baseEach-BxODVDA6.js → _baseEach-CPQiIPkT.js} +2 -2
  59. package/dist/{_baseIteratee-C5Hf2GDl.js → _baseIteratee-B7Yxi-1S.js} +3 -3
  60. package/dist/{_getTag-DTjoqLoo.js → _getTag-DuCXbcgW.js} +1 -1
  61. package/dist/knime-jsonforms.js +135 -90
  62. package/dist/{localTimeUtils-BsjK2bfg.js → localTimeUtils-DYizf_Fj.js} +6 -6
  63. package/dist/src/uiComponents/FieldControl.vue.d.ts +19 -0
  64. package/dist/src/uiComponents/FieldRenderer.vue.d.ts +21 -0
  65. package/dist/src/uiComponents/index.d.ts +2 -1
  66. package/dist/testing.js +2 -2
  67. package/dist/{toString-DJjlKbCy.js → toString-NQDxp2E1.js} +1 -1
  68. package/dist/{useBuiltinValidations-Dx6fNtgz.js → useBuiltinValidations-ClKpiL2R.js} +1 -1
  69. package/dist/{usePossibleValues-CJPCrHNK.js → usePossibleValues-CYraIICE.js} +1 -1
  70. package/package.json +2 -2
  71. package/dist/SettingsSubPanel-BE_UKIFi.js +0 -5
@@ -1,27 +1,27 @@
1
- import { defineComponent as u, ref as i, onMounted as E, createElementBlock as P, createCommentVNode as T, openBlock as c, createElementVNode as S, provide as b, computed as h, watch as C, createBlock as F, Suspense as A, withCtx as d, createVNode as l, renderSlot as D, unref as B, mergeProps as I, nextTick as O } from "vue";
2
- import { _, p as J, F as M, s as N, U as $, i as R } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
3
- import { E as oe, L as ae, a as se, c as re, f as ne, e as de, d as le, g as ie, h as ce, k as ue, l as me, j as pe, m as fe, b as ve, n as ge, t as he, u as De, w as ye } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
4
- import { default as Se } from "./SimpleButtonControl-0nEpHoVU.js";
5
- import { _ as xe } from "./TextControl.vue_vue_type_script_setup_true_lang-BTqu_S1c.js";
6
- import { V as we } from "./VerticalLayoutBase-DiZEVSbM.js";
7
- import { S as ke } from "./SectionHeading-ChmLXMcT.js";
8
- import { S as Te } from "./SettingsSubPanel-BE_UKIFi.js";
9
- const V = {
1
+ import { defineComponent as c, ref as v, onMounted as E, createElementBlock as b, createCommentVNode as T, openBlock as l, createElementVNode as C, provide as N, computed as i, watch as $, createBlock as g, Suspense as A, withCtx as f, createVNode as h, renderSlot as S, unref as F, mergeProps as B, nextTick as I } from "vue";
2
+ import { _ as L, p as O, F as J, s as M, U as R, i as V, a as U } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CJiCxiU3.js";
3
+ import { E as re, L as ne, b as le, c as ie, j as ce, f as de, d as ue, g as me, h as pe, n as fe, l as he, k as ve, m as ge, e as De, o as ye, t as Pe, u as xe, w as Se } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CJiCxiU3.js";
4
+ import { default as be } from "./SimpleButtonControl-CGe9roDQ.js";
5
+ import { _ as Fe } from "./TextControl.vue_vue_type_script_setup_true_lang-D838LEWg.js";
6
+ import { V as ke } from "./VerticalLayoutBase-D1nKyweu.js";
7
+ import { S as je } from "./SectionHeading-D_aTs-g5.js";
8
+ import { S as Te } from "./SettingsSubPanel-BRHq7-xS.js";
9
+ const G = {
10
10
  key: 0,
11
11
  class: "loading-dialog skeleton-wrapper"
12
- }, U = 200, G = /* @__PURE__ */ u({
12
+ }, H = 200, q = /* @__PURE__ */ c({
13
13
  __name: "LoadingDialog",
14
- setup(o) {
15
- const s = i(!1);
14
+ setup(t) {
15
+ const s = v(!1);
16
16
  return E(() => {
17
17
  setTimeout(() => {
18
18
  s.value = !0;
19
- }, U);
20
- }), (m, a) => s.value ? (c(), P("div", V, [...a[0] || (a[0] = [
21
- S("div", { class: "loading-dialog-content skeleton" }, null, -1)
19
+ }, H);
20
+ }), (r, a) => s.value ? (l(), b("div", G, [...a[0] || (a[0] = [
21
+ C("div", { class: "loading-dialog-content skeleton" }, null, -1)
22
22
  ])])) : T("", !0);
23
23
  }
24
- }), H = /* @__PURE__ */ _(G, [["__scopeId", "data-v-9c94592d"]]), q = { class: "dialog" }, y = "EXPOSED_METHOD", X = /* @__PURE__ */ u({
24
+ }), X = /* @__PURE__ */ L(q, [["__scopeId", "data-v-9c94592d"]]), Y = { class: "dialog" }, _ = "EXPOSED_METHOD", z = /* @__PURE__ */ c({
25
25
  __name: "JsonFormsDialog",
26
26
  props: {
27
27
  schema: {},
@@ -33,76 +33,76 @@ const V = {
33
33
  validate: { type: Function, default: void 0 }
34
34
  },
35
35
  emits: ["updateData", "trigger", "change", "alert", "stateProviderListener"],
36
- setup(o, { expose: s, emit: m }) {
37
- const a = m, x = (e, t, n) => (t.type === $ && // @ts-expect-error source doesn't exist on type object
38
- t.context?.source !== y && setTimeout(() => O(() => a("updateData", t.path))), n(e, t)), L = (e) => {
36
+ setup(t, { expose: s, emit: r }) {
37
+ const a = r, d = (e, o, p) => (o.type === R && // @ts-expect-error source doesn't exist on type object
38
+ o.context?.source !== _ && setTimeout(() => I(() => a("updateData", o.path))), p(e, o)), n = (e) => {
39
39
  a("change", e);
40
40
  };
41
41
  Object.entries({
42
42
  trigger: (e) => a("trigger", e),
43
- addStateProviderListener: (e, t) => a("stateProviderListener", e, t),
43
+ addStateProviderListener: (e, o) => a("stateProviderListener", e, o),
44
44
  sendAlert: (e) => a("alert", e),
45
- validate: (e, t) => {
46
- if (!o.validate)
45
+ validate: (e, o) => {
46
+ if (!t.validate)
47
47
  throw new Error(
48
48
  `No validate function provided to JsonFormsDialog but validate called with arguments ${JSON.stringify(
49
- { id: e, data: t }
49
+ { id: e, data: o }
50
50
  )}`
51
51
  );
52
- return o.validate(e, t);
52
+ return t.validate(e, o);
53
53
  }
54
- }).forEach(([e, t]) => b(e, t));
55
- const r = i(null), p = [], f = (e, t) => {
56
- r.value.dispatch(
57
- R.update(e, () => t, {
58
- source: y
54
+ }).forEach(([e, o]) => N(e, o));
55
+ const m = v(null), D = [], y = (e, o) => {
56
+ m.value.dispatch(
57
+ V.update(e, () => o, {
58
+ source: _
59
59
  })
60
60
  );
61
- }, w = h(() => r.value !== null);
62
- let v;
63
- const j = new Promise((e) => {
64
- v = e;
61
+ }, k = i(() => m.value !== null);
62
+ let P;
63
+ const w = new Promise((e) => {
64
+ P = e;
65
65
  });
66
- C(
67
- () => w.value,
66
+ $(
67
+ () => k.value,
68
68
  (e) => {
69
- e && (v(), p.forEach(
70
- ({ path: t, value: n }) => f(t, n)
69
+ e && (P(), D.forEach(
70
+ ({ path: o, value: p }) => y(o, p)
71
71
  ));
72
72
  }
73
73
  ), s({
74
- updateData: async (e, t) => {
75
- r.value ? f(e, t) : (p.push({ path: e, value: t }), await j);
74
+ updateData: async (e, o) => {
75
+ m.value ? y(e, o) : (D.push({ path: e, value: o }), await w);
76
76
  }
77
77
  });
78
- const g = i(null);
79
- J(g);
80
- const k = h(() => ({
81
- data: o.data,
82
- schema: o.schema,
83
- uischema: o.uischema,
84
- renderers: o.renderers,
85
- middleware: x,
86
- ...o.ajv ? { ajv: o.ajv } : {}
78
+ const x = v(null);
79
+ O(x);
80
+ const j = i(() => ({
81
+ data: t.data,
82
+ schema: t.schema,
83
+ uischema: t.uischema,
84
+ renderers: t.renderers,
85
+ middleware: d,
86
+ ...t.ajv ? { ajv: t.ajv } : {}
87
87
  }));
88
- return (e, t) => (c(), P("div", q, [
89
- S("div", {
88
+ return (e, o) => (l(), b("div", Y, [
89
+ C("div", {
90
90
  ref_key: "subPanelTeleportDest",
91
- ref: g
91
+ ref: x
92
92
  }, null, 512),
93
- (c(), F(A, null, {
94
- fallback: d(() => [
95
- l(H)
93
+ (l(), g(A, null, {
94
+ fallback: f(() => [
95
+ h(X)
96
96
  ]),
97
- default: d(() => [
98
- l(M, null, {
99
- default: d(() => [
100
- D(e.$slots, "top", {}, void 0, !0),
101
- l(B(N), I({
97
+ default: f(() => [
98
+ h(J, null, {
99
+ default: f(() => [
100
+ S(e.$slots, "top", {}, void 0, !0),
101
+ h(F(M), B({
102
102
  ref_key: "jsonforms",
103
- ref: r
104
- }, k.value, { onChange: L }), null, 16),
105
- D(e.$slots, "bottom", {}, void 0, !0)
103
+ ref: m
104
+ }, j.value, { onChange: n }), null, 16),
105
+ S(e.$slots, "bottom", {}, void 0, !0)
106
106
  ]),
107
107
  _: 3
108
108
  })
@@ -111,40 +111,85 @@ const V = {
111
111
  }))
112
112
  ]));
113
113
  }
114
- }), W = /* @__PURE__ */ _(X, [["__scopeId", "data-v-16f2d28d"]]), Y = {
114
+ }), ee = /* @__PURE__ */ L(z, [["__scopeId", "data-v-16f2d28d"]]), K = {
115
115
  layout: {
116
116
  type: Object,
117
117
  required: !0
118
118
  }
119
- }, Z = (o) => u(o, {
120
- props: Y
119
+ }, te = (t) => c(t, {
120
+ props: K
121
+ }), Q = /* @__PURE__ */ c({
122
+ __name: "FieldRenderer",
123
+ props: {
124
+ control: {},
125
+ fieldName: {},
126
+ uischema: {}
127
+ },
128
+ setup(t) {
129
+ const s = (n, u) => n === "" ? u : `${n}.${u}`, r = t, a = i(() => s(r.control.path, r.fieldName)), d = i(
130
+ () => r.control.schema.properties[r.fieldName]
131
+ );
132
+ return (n, u) => (l(), g(F(U), {
133
+ key: a.value,
134
+ schema: d.value,
135
+ uischema: t.uischema,
136
+ path: a.value,
137
+ enabled: t.control.enabled,
138
+ renderers: t.control.renderers,
139
+ cells: t.control.cells
140
+ }, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]));
141
+ }
142
+ }), oe = /* @__PURE__ */ c({
143
+ __name: "FieldControl",
144
+ props: {
145
+ control: {},
146
+ fieldName: {},
147
+ format: {},
148
+ options: {}
149
+ },
150
+ setup(t) {
151
+ const s = t, r = i(() => ({
152
+ type: "Control",
153
+ scope: "#",
154
+ options: {
155
+ ...s.options,
156
+ format: s.format
157
+ }
158
+ }));
159
+ return (a, d) => (l(), g(Q, {
160
+ "field-name": t.fieldName,
161
+ uischema: r.value,
162
+ control: t.control
163
+ }, null, 8, ["field-name", "uischema", "control"]));
164
+ }
121
165
  });
122
166
  export {
123
- oe as ErrorMessages,
124
- M as Form,
125
- W as JsonFormsDialog,
126
- ae as LabeledControl,
127
- ke as SectionHeading,
167
+ re as ErrorMessages,
168
+ oe as FieldControl,
169
+ J as Form,
170
+ ee as JsonFormsDialog,
171
+ ne as LabeledControl,
172
+ je as SectionHeading,
128
173
  Te as SettingsSubPanel,
129
- Se as SimpleButtonControl,
130
- xe as TextControl,
131
- we as VerticalLayoutBase,
132
- se as controlProps,
133
- re as controlToRenderer,
134
- ne as controls,
174
+ be as SimpleButtonControl,
175
+ Fe as TextControl,
176
+ ke as VerticalLayoutBase,
177
+ le as controlProps,
178
+ ie as controlToRenderer,
179
+ ce as controls,
135
180
  de as defaultRenderers,
136
- le as defineControl,
137
- Z as defineLayout,
138
- ie as getAsyncSetupMethod,
139
- ce as handleAsyncComponents,
140
- ue as inputFormats,
141
- Y as layoutProps,
142
- me as layoutToRenderer,
143
- pe as layouts,
144
- fe as mapControls,
145
- ve as mapLayouts,
146
- ge as priorityRanks,
147
- he as toRenderers,
148
- De as useProvidedState,
149
- ye as withLabel
181
+ ue as defineControl,
182
+ te as defineLayout,
183
+ me as getAsyncSetupMethod,
184
+ pe as handleAsyncComponents,
185
+ fe as inputFormats,
186
+ K as layoutProps,
187
+ he as layoutToRenderer,
188
+ ve as layouts,
189
+ ge as mapControls,
190
+ De as mapLayouts,
191
+ ye as priorityRanks,
192
+ Pe as toRenderers,
193
+ xe as useProvidedState,
194
+ Se as withLabel
150
195
  };
@@ -1,13 +1,13 @@
1
1
  import { resolveComponent as Ve, createElementBlock as A, openBlock as x, normalizeClass as oe, createElementVNode as q, createCommentVNode as ie, withModifiers as Wt, createVNode as V, reactive as za, computed as T, defineComponent as $e, ref as De, watch as Ue, onMounted as Rn, onUnmounted as Ga, toRefs as ql, nextTick as gr, useAttrs as jl, createBlock as Pe, renderSlot as Mr, unref as P, resolveDynamicComponent as Za, normalizeProps as br, mergeProps as Pt, inject as Cr, toRef as Dn, withCtx as Me, toDisplayString as He, Fragment as xe, renderList as Ke, normalizeStyle as Dr, withKeys as Cn, withDirectives as Bs, watchEffect as zs, provide as Or, guardReactiveProps as $a, createTextVNode as Ka, isRef as lr, Transition as Gs, resolveDirective as Vl, toHandlers as Zs } from "vue";
2
2
  import { c as Bl } from "./popper-LGjf7Wza.js";
3
- import { _ as Ks, H as qn, I as zl } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
4
- import { D as Gl } from "./Dropdown-6eVZoGpG.js";
3
+ import { _ as Ks, I as qn, J as zl } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CJiCxiU3.js";
4
+ import { D as Gl } from "./Dropdown-CIypkp0O.js";
5
5
  import { A as Zl } from "./arrow-dropdown-BHK4j8GT.js";
6
6
  /* empty css */
7
- import { a as Kl } from "./toString-DJjlKbCy.js";
8
- import { b as Xl } from "./_baseIteratee-C5Hf2GDl.js";
9
- import { b as Ql } from "./_baseEach-BxODVDA6.js";
10
- import { d as Jl } from "./_getTag-DTjoqLoo.js";
7
+ import { a as Kl } from "./toString-NQDxp2E1.js";
8
+ import { b as Xl } from "./_baseIteratee-B7Yxi-1S.js";
9
+ import { b as Ql } from "./_baseEach-CPQiIPkT.js";
10
+ import { d as Jl } from "./_getTag-DuCXbcgW.js";
11
11
  import { i as ec } from "./isArray-WzO_os3q.js";
12
12
  function st(e) {
13
13
  "@babel/helpers - typeof";
@@ -0,0 +1,19 @@
1
+ import { VueControlProps } from '../higherOrderComponents';
2
+ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
4
+ control: VueControlProps<T>["control"];
5
+ fieldName: keyof T & string;
6
+ format?: string;
7
+ options?: object;
8
+ } & Partial<{}>> & import('vue').PublicProps;
9
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
10
+ attrs: any;
11
+ slots: {};
12
+ emit: {};
13
+ }>) => import('vue').VNode & {
14
+ __ctx?: Awaited<typeof __VLS_setup>;
15
+ };
16
+ export default _default;
17
+ type __VLS_PrettifyLocal<T> = {
18
+ [K in keyof T]: T[K];
19
+ } & {};
@@ -0,0 +1,21 @@
1
+ import { UISchemaElement } from '@jsonforms/core';
2
+ import { VueControlProps } from '../higherOrderComponents';
3
+ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
4
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & {
5
+ control: VueControlProps<T>["control"];
6
+ fieldName: keyof T & string;
7
+ uischema: UISchemaElement & {
8
+ scope?: `#${string}`;
9
+ };
10
+ } & Partial<{}>> & import('vue').PublicProps;
11
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
12
+ attrs: any;
13
+ slots: {};
14
+ emit: {};
15
+ }>) => import('vue').VNode & {
16
+ __ctx?: Awaited<typeof __VLS_setup>;
17
+ };
18
+ export default _default;
19
+ type __VLS_PrettifyLocal<T> = {
20
+ [K in keyof T]: T[K];
21
+ } & {};
@@ -1,4 +1,5 @@
1
+ import { default as FieldControl } from './FieldControl.vue';
1
2
  import { default as SimpleButtonControl } from './SimpleButtonControl.vue';
2
3
  import { default as TextControl } from './TextControl.vue';
3
4
  import { default as useProvidedState } from './composables/useProvidedState';
4
- export { TextControl, SimpleButtonControl, useProvidedState };
5
+ export { TextControl, SimpleButtonControl, useProvidedState, FieldControl };
package/dist/testing.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as nh from "vue";
2
2
  import { ssrUtils as Ii, initDirectivesForSSR as V_, nextTick as uo, defineComponent as li, computed as kr, h as En, shallowReactive as q_, reactive as U_, ref as rh, createApp as W_, transformVNodeArgs as z_, setDevtoolsHook as K_, isRef as G_, TransitionGroup as H_, Transition as X_, BaseTransition as Y_ } from "vue";
3
- import { o as J_, q as Q_, e as Z_ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
4
- import { b as em } from "./_baseIteratee-C5Hf2GDl.js";
3
+ import { q as J_, r as Q_, f as Z_ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CJiCxiU3.js";
4
+ import { b as em } from "./_baseIteratee-B7Yxi-1S.js";
5
5
  function tm(e, t) {
6
6
  return e > t;
7
7
  }
@@ -1,4 +1,4 @@
1
- import { o as g, S as s } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
1
+ import { q as g, S as s } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CJiCxiU3.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 "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
2
+ import { u as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CJiCxiU3.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 "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
2
+ import { u as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CJiCxiU3.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)) };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/jsonforms",
3
- "version": "1.17.5",
3
+ "version": "1.18.0",
4
4
  "description": "Internal JSON Forms integration for frontend KNIME projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,7 +36,7 @@
36
36
  "@vitejs/plugin-vue": "^6.0.1",
37
37
  "@vue/test-utils": "2.4.6",
38
38
  "consola": "3.4.2",
39
- "lodash-es": "4.17.21",
39
+ "lodash-es": "4.17.23",
40
40
  "modern-normalize": "3.0.1",
41
41
  "postcss": "8.5.6",
42
42
  "type-fest": "4.26.1",
@@ -1,5 +0,0 @@
1
- import { _ as a, v as s } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-08LS7x5p.js";
2
- const _ = /* @__PURE__ */ a(s, [["__scopeId", "data-v-25eac96f"]]);
3
- export {
4
- _ as S
5
- };