@knime/jsonforms 1.18.3 → 1.18.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{AnyOfTwinlist-Dazvw4B4.js → AnyOfTwinlist-BAwx6fWr.js} +1 -1
  3. package/dist/{Button-B9K8Q_ls.js → Button-CUyJJ5oz.js} +1 -1
  4. package/dist/{Checkbox-DdXKweFz.js → Checkbox-CzMSao8p.js} +1 -1
  5. package/dist/{CheckboxControl-BzqEgf9o.js → CheckboxControl-COJ86l-n.js} +1 -1
  6. package/dist/{Checkboxes-ChAc0Hpr.js → Checkboxes-DiAtNfP2.js} +2 -2
  7. package/dist/{CheckboxesControl-CRCBm-Jm.js → CheckboxesControl-CGTNxy3j.js} +3 -3
  8. package/dist/{ComboBoxControl-qGK5uWD-.js → ComboBoxControl-BUJQqI4X.js} +3 -3
  9. package/dist/{DateControl-Cjq7ycTN.js → DateControl-DZ2Vu3Je.js} +1 -1
  10. package/dist/{DateTimeControl-Bd85wUEs.js → DateTimeControl-jxQPI4dB.js} +1 -1
  11. package/dist/{DateTimeFormatInput-D_6Ur5fc.js → DateTimeFormatInput-DVWjGWDG.js} +3 -3
  12. package/dist/{DateTimeFormatPickerControl-CnboWjaI.js → DateTimeFormatPickerControl-DYxjJjMN.js} +2 -2
  13. package/dist/{DateTimeFormatPickerWithTypeControl-DU5j8t9X.js → DateTimeFormatPickerWithTypeControl-CeoVA0IL.js} +3 -3
  14. package/dist/{Dropdown-D8Yoibbd.js → Dropdown-CbyDcvL5.js} +2 -2
  15. package/dist/{DropdownControl-BfBd3vWK.js → DropdownControl-L1EAb0pj.js} +3 -3
  16. package/dist/{HorizontalLayout-8bGY4zyH.js → HorizontalLayout-BdWfkVXm.js} +1 -1
  17. package/dist/{InputField-CoRMHJBB.js → InputField-Ds-kKFLj.js} +1 -1
  18. package/dist/{IntegerControl-BImNd6JT.js → IntegerControl-B9h6oEtw.js} +1 -1
  19. package/dist/{IntervalControl-1lk5KcOz.js → IntervalControl-CX2YqRUZ.js} +3 -3
  20. package/dist/{Label-Bv_WwkcY.js → Label-DNOWhc4a.js} +1 -1
  21. package/dist/{LoadingDropdown-CWyyD3J2.js → LoadingDropdown-BJtivb5q.js} +3 -3
  22. package/dist/{LoadingIcon-smgH1pv7.js → LoadingIcon-DpfMnp1Y.js} +1 -1
  23. package/dist/{ManualTwinlistControl-C0JsrznZ.js → ManualTwinlistControl-C2IVPFQz.js} +4 -4
  24. package/dist/{MultiSelectListBoxControl-CtUKcCOW.js → MultiSelectListBoxControl-D-ve0TnH.js} +2 -2
  25. package/dist/{MultimodeTwinlistControl-BRt6YzVD.js → MultimodeTwinlistControl-piec1IxJ.js} +7 -7
  26. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-BTcpvBU1.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-CalJDSPZ.js} +2 -2
  27. package/dist/{MultiselectListBox-d4Bi56Ay.js → MultiselectListBox-BJcy4Dqw.js} +2 -2
  28. package/dist/{NameFilter-BHWgejRC.js → NameFilter-fQPaQQ-K.js} +1 -1
  29. package/dist/{NumberControl-BYvNdT_l.js → NumberControl-D3PvSv9N.js} +1 -1
  30. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-DFWSg9Vx.js → NumberControlBase.vue_vue_type_script_setup_true_lang-D_J7b5uG.js} +2 -2
  31. package/dist/{NumberInput-Cpk7uKU9.js → NumberInput-BW8n8mei.js} +1 -1
  32. package/dist/{OneOfDropdown-DWkW7-lC.js → OneOfDropdown-BxS8z550.js} +1 -1
  33. package/dist/{RadioControl-rAQZJGia.js → RadioControl-D0j66cGm.js} +2 -2
  34. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-Dr4aDwRL.js → RadioControlBase.vue_vue_type_script_setup_true_lang-D4l2SKa8.js} +2 -2
  35. package/dist/{RichTextControl-iuEl3lVI.js → RichTextControl-D5rrfmtF.js} +6 -6
  36. package/dist/{SectionHeading-BdSoJJ3l.js → SectionHeading-1A2qYqXS.js} +1 -1
  37. package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-Ck1bJG4V.js → SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-llWni5tV.js} +34 -34
  38. package/dist/{SectionLayout-JjxIRPpw.js → SectionLayout-DFikyU-W.js} +3 -3
  39. package/dist/{SettingsSubPanel-DatGZPrU.js → SettingsSubPanel-_NdmpnHl.js} +1 -1
  40. package/dist/{SettingsSubPanelLayout-Bscc0lyG.js → SettingsSubPanelLayout-CPgboIRG.js} +4 -4
  41. package/dist/SimpleButtonControl-CPbHVRRO.js +68 -0
  42. package/dist/{SimpleTwinlistControl-wZ2yQ54_.js → SimpleTwinlistControl-JXguJiZW.js} +2 -2
  43. package/dist/{SingleSelectControl-BBKclD2V.js → SingleSelectControl-CI7DFlai.js} +2 -2
  44. package/dist/{SingleSelectListBoxControl-1uzGKpvO.js → SingleSelectListBoxControl-BUKJdy2E.js} +3 -3
  45. package/dist/{SortListControl-CRCG6TG9.js → SortListControl-CW2yBUbn.js} +5 -5
  46. package/dist/{StyledListItem-CXiq67XA.js → StyledListItem-BMj67bKv.js} +1 -1
  47. package/dist/{TextAreaControl-CdHSnvE8.js → TextAreaControl-C2VVMNpr.js} +1 -1
  48. package/dist/{TextControl-Do4Flznj.js → TextControl-CYhm8kPo.js} +1 -1
  49. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-BngtImi_.js → TextControl.vue_vue_type_script_setup_true_lang-4RO9YQFy.js} +3 -3
  50. package/dist/{TimeControl-GH2ZyXcf.js → TimeControl-CB00mOhn.js} +1 -1
  51. package/dist/{TwinlistControlBase-C3wRBSsp.js → TwinlistControlBase-CiWgQHIA.js} +3 -3
  52. package/dist/{TwinlistLoadingInfo-B2wc2FFq.js → TwinlistLoadingInfo-DYcRz-dw.js} +5 -5
  53. package/dist/{TypedStringFilter-DFdfWW1i.js → TypedStringFilter-D5YWGU1h.js} +1 -1
  54. package/dist/{ValueSwitch-2TVNrP6l.js → ValueSwitch-C7owbg0E.js} +1 -1
  55. package/dist/{ValueSwitchControl-DUoZpVIT.js → ValueSwitchControl-CTgP7Rpv.js} +1 -1
  56. package/dist/{VerticalLayout-BEn1z330.js → VerticalLayout-BZ63G78T.js} +2 -2
  57. package/dist/{VerticalLayoutBase-C7ZKWjAB.js → VerticalLayoutBase-BaY_sA6C.js} +1 -1
  58. package/dist/{ZonedDateTimeControl-BctJD3E1.js → ZonedDateTimeControl-jwwn17_l.js} +3 -3
  59. package/dist/{_baseEach-C0HnJV8j.js → _baseEach-CfZ9x5sM.js} +2 -2
  60. package/dist/{_baseIteratee-DQwDvtG7.js → _baseIteratee-IRzVWiYa.js} +3 -3
  61. package/dist/{_getTag-ca92LmMG.js → _getTag-jzNOkMJ0.js} +1 -1
  62. package/dist/knime-jsonforms.css +1 -1
  63. package/dist/knime-jsonforms.js +81 -75
  64. package/dist/{localTimeUtils-DMFM6w4o.js → localTimeUtils-BVFJFQ9N.js} +6 -6
  65. package/dist/src/JsonFormsDialog.vue.d.ts +2 -0
  66. package/dist/testing.js +2 -2
  67. package/dist/{toString-BhPVUumN.js → toString-DBbUR-sR.js} +1 -1
  68. package/dist/{useBuiltinValidations-R0Iw63kk.js → useBuiltinValidations-D09sARbZ.js} +1 -1
  69. package/dist/{usePossibleValues-CiGqKaG5.js → usePossibleValues-DW0doQ49.js} +1 -1
  70. package/package.json +1 -1
  71. package/dist/SimpleButtonControl-ApknFRq4.js +0 -61
@@ -1,11 +1,11 @@
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-Ck1bJG4V.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-Ck1bJG4V.js";
4
- import { default as be } from "./SimpleButtonControl-ApknFRq4.js";
5
- import { _ as Fe } from "./TextControl.vue_vue_type_script_setup_true_lang-BngtImi_.js";
6
- import { V as ke } from "./VerticalLayoutBase-C7ZKWjAB.js";
7
- import { S as je } from "./SectionHeading-BdSoJJ3l.js";
8
- import { S as Te } from "./SettingsSubPanel-DatGZPrU.js";
1
+ import { defineComponent as c, ref as v, onMounted as N, createElementBlock as F, createCommentVNode as $, openBlock as l, createElementVNode as L, provide as A, computed as i, watch as _, createBlock as g, Suspense as I, withCtx as f, createVNode as h, renderSlot as b, unref as k, mergeProps as B, nextTick as O } from "vue";
2
+ import { _ as w, p as J, F as M, s as R, U as V, i as U, a as z } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-llWni5tV.js";
3
+ import { E as ne, L as le, b as ie, c as ce, j as de, f as ue, d as me, g as pe, h as fe, n as he, l as ve, k as ge, m as De, e as ye, o as Pe, t as xe, u as Se, w as _e } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-llWni5tV.js";
4
+ import { default as Ce } from "./SimpleButtonControl-CPbHVRRO.js";
5
+ import { _ as Le } from "./TextControl.vue_vue_type_script_setup_true_lang-4RO9YQFy.js";
6
+ import { V as we } from "./VerticalLayoutBase-BaY_sA6C.js";
7
+ import { S as Ee } from "./SectionHeading-1A2qYqXS.js";
8
+ import { S as Ne } from "./SettingsSubPanel-_NdmpnHl.js";
9
9
  const G = {
10
10
  key: 0,
11
11
  class: "loading-dialog skeleton-wrapper"
@@ -13,15 +13,15 @@ const G = {
13
13
  __name: "LoadingDialog",
14
14
  setup(t) {
15
15
  const s = v(!1);
16
- return E(() => {
16
+ return N(() => {
17
17
  setTimeout(() => {
18
18
  s.value = !0;
19
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
- ])])) : T("", !0);
20
+ }), (r, a) => s.value ? (l(), F("div", G, [...a[0] || (a[0] = [
21
+ L("div", { class: "loading-dialog-content skeleton" }, null, -1)
22
+ ])])) : $("", !0);
23
23
  }
24
- }), X = /* @__PURE__ */ L(q, [["__scopeId", "data-v-9c94592d"]]), Y = { class: "dialog" }, _ = "EXPOSED_METHOD", z = /* @__PURE__ */ c({
24
+ }), X = /* @__PURE__ */ w(q, [["__scopeId", "data-v-9c94592d"]]), Y = { class: "dialog" }, C = "EXPOSED_METHOD", K = /* @__PURE__ */ c({
25
25
  __name: "JsonFormsDialog",
26
26
  props: {
27
27
  schema: {},
@@ -32,10 +32,10 @@ const G = {
32
32
  } },
33
33
  validate: { type: Function, default: void 0 }
34
34
  },
35
- emits: ["updateData", "trigger", "change", "alert", "stateProviderListener"],
35
+ emits: ["updateData", "trigger", "change", "alert", "stateProviderListener", "initialized"],
36
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) => {
37
+ const a = r, d = (e, o, p) => (o.type === V && // @ts-expect-error source doesn't exist on type object
38
+ o.context?.source !== C && setTimeout(() => O(() => a("updateData", o.path))), p(e, o)), n = (e) => {
39
39
  a("change", e);
40
40
  };
41
41
  Object.entries({
@@ -51,33 +51,39 @@ const G = {
51
51
  );
52
52
  return t.validate(e, o);
53
53
  }
54
- }).forEach(([e, o]) => N(e, o));
54
+ }).forEach(([e, o]) => A(e, o));
55
55
  const m = v(null), D = [], y = (e, o) => {
56
56
  m.value.dispatch(
57
- V.update(e, () => o, {
58
- source: _
57
+ U.update(e, () => o, {
58
+ source: C
59
59
  })
60
60
  );
61
- }, k = i(() => m.value !== null);
62
- let P;
63
- const w = new Promise((e) => {
64
- P = e;
65
- });
66
- $(
67
- () => k.value,
61
+ }, P = i(() => m.value !== null);
62
+ let x;
63
+ const j = new Promise((e) => {
64
+ x = e;
65
+ }), E = _(
66
+ () => P.value,
67
+ (e) => {
68
+ e && (a("initialized"), E());
69
+ },
70
+ { immediate: !0 }
71
+ );
72
+ _(
73
+ () => P.value,
68
74
  (e) => {
69
- e && (P(), D.forEach(
75
+ e && (x(), D.forEach(
70
76
  ({ path: o, value: p }) => y(o, p)
71
77
  ));
72
78
  }
73
79
  ), s({
74
80
  updateData: async (e, o) => {
75
- m.value ? y(e, o) : (D.push({ path: e, value: o }), await w);
81
+ m.value ? y(e, o) : (D.push({ path: e, value: o }), await j);
76
82
  }
77
83
  });
78
- const x = v(null);
79
- O(x);
80
- const j = i(() => ({
84
+ const S = v(null);
85
+ J(S);
86
+ const T = i(() => ({
81
87
  data: t.data,
82
88
  schema: t.schema,
83
89
  uischema: t.uischema,
@@ -85,24 +91,24 @@ const G = {
85
91
  middleware: d,
86
92
  ...t.ajv ? { ajv: t.ajv } : {}
87
93
  }));
88
- return (e, o) => (l(), b("div", Y, [
89
- C("div", {
94
+ return (e, o) => (l(), F("div", Y, [
95
+ L("div", {
90
96
  ref_key: "subPanelTeleportDest",
91
- ref: x
97
+ ref: S
92
98
  }, null, 512),
93
- (l(), g(A, null, {
99
+ (l(), g(I, null, {
94
100
  fallback: f(() => [
95
101
  h(X)
96
102
  ]),
97
103
  default: f(() => [
98
- h(J, null, {
104
+ h(M, null, {
99
105
  default: f(() => [
100
- S(e.$slots, "top", {}, void 0, !0),
101
- h(F(M), B({
106
+ b(e.$slots, "top", {}, void 0, !0),
107
+ h(k(R), B({
102
108
  ref_key: "jsonforms",
103
109
  ref: m
104
- }, j.value, { onChange: n }), null, 16),
105
- S(e.$slots, "bottom", {}, void 0, !0)
110
+ }, T.value, { onChange: n }), null, 16),
111
+ b(e.$slots, "bottom", {}, void 0, !0)
106
112
  ]),
107
113
  _: 3
108
114
  })
@@ -111,14 +117,14 @@ const G = {
111
117
  }))
112
118
  ]));
113
119
  }
114
- }), ee = /* @__PURE__ */ L(z, [["__scopeId", "data-v-16f2d28d"]]), K = {
120
+ }), te = /* @__PURE__ */ w(K, [["__scopeId", "data-v-dea72941"]]), Q = {
115
121
  layout: {
116
122
  type: Object,
117
123
  required: !0
118
124
  }
119
- }, te = (t) => c(t, {
120
- props: K
121
- }), Q = /* @__PURE__ */ c({
125
+ }, oe = (t) => c(t, {
126
+ props: Q
127
+ }), W = /* @__PURE__ */ c({
122
128
  __name: "FieldRenderer",
123
129
  props: {
124
130
  control: {},
@@ -129,7 +135,7 @@ const G = {
129
135
  const s = (n, u) => n === "" ? u : `${n}.${u}`, r = t, a = i(() => s(r.control.path, r.fieldName)), d = i(
130
136
  () => r.control.schema.properties[r.fieldName]
131
137
  );
132
- return (n, u) => (l(), g(F(U), {
138
+ return (n, u) => (l(), g(k(z), {
133
139
  key: a.value,
134
140
  schema: d.value,
135
141
  uischema: t.uischema,
@@ -139,7 +145,7 @@ const G = {
139
145
  cells: t.control.cells
140
146
  }, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]));
141
147
  }
142
- }), oe = /* @__PURE__ */ c({
148
+ }), ae = /* @__PURE__ */ c({
143
149
  __name: "FieldControl",
144
150
  props: {
145
151
  control: {},
@@ -156,7 +162,7 @@ const G = {
156
162
  format: s.format
157
163
  }
158
164
  }));
159
- return (a, d) => (l(), g(Q, {
165
+ return (a, d) => (l(), g(W, {
160
166
  "field-name": t.fieldName,
161
167
  uischema: r.value,
162
168
  control: t.control
@@ -164,32 +170,32 @@ const G = {
164
170
  }
165
171
  });
166
172
  export {
167
- re as ErrorMessages,
168
- oe as FieldControl,
169
- J as Form,
170
- ee as JsonFormsDialog,
171
- ne as LabeledControl,
172
- je as SectionHeading,
173
- Te as SettingsSubPanel,
174
- be as SimpleButtonControl,
175
- Fe as TextControl,
176
- ke as VerticalLayoutBase,
177
- le as controlProps,
178
- ie as controlToRenderer,
179
- ce as controls,
180
- de as defaultRenderers,
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
173
+ ne as ErrorMessages,
174
+ ae as FieldControl,
175
+ M as Form,
176
+ te as JsonFormsDialog,
177
+ le as LabeledControl,
178
+ Ee as SectionHeading,
179
+ Ne as SettingsSubPanel,
180
+ Ce as SimpleButtonControl,
181
+ Le as TextControl,
182
+ we as VerticalLayoutBase,
183
+ ie as controlProps,
184
+ ce as controlToRenderer,
185
+ de as controls,
186
+ ue as defaultRenderers,
187
+ me as defineControl,
188
+ oe as defineLayout,
189
+ pe as getAsyncSetupMethod,
190
+ fe as handleAsyncComponents,
191
+ he as inputFormats,
192
+ Q as layoutProps,
193
+ ve as layoutToRenderer,
194
+ ge as layouts,
195
+ De as mapControls,
196
+ ye as mapLayouts,
197
+ Pe as priorityRanks,
198
+ xe as toRenderers,
199
+ Se as useProvidedState,
200
+ _e as withLabel
195
201
  };
@@ -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, I as qn, J as zl } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-Ck1bJG4V.js";
4
- import { D as Gl } from "./Dropdown-D8Yoibbd.js";
3
+ import { _ as Ks, I as qn, J as zl } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-llWni5tV.js";
4
+ import { D as Gl } from "./Dropdown-CbyDcvL5.js";
5
5
  import { A as Zl } from "./arrow-dropdown-BHK4j8GT.js";
6
6
  /* empty css */
7
- import { a as Kl } from "./toString-BhPVUumN.js";
8
- import { b as Xl } from "./_baseIteratee-DQwDvtG7.js";
9
- import { b as Ql } from "./_baseEach-C0HnJV8j.js";
10
- import { d as Jl } from "./_getTag-ca92LmMG.js";
7
+ import { a as Kl } from "./toString-DBbUR-sR.js";
8
+ import { b as Xl } from "./_baseIteratee-IRzVWiYa.js";
9
+ import { b as Ql } from "./_baseEach-CfZ9x5sM.js";
10
+ import { d as Jl } from "./_getTag-jzNOkMJ0.js";
11
11
  import { i as ec } from "./isArray-WzO_os3q.js";
12
12
  function st(e) {
13
13
  "@babel/helpers - typeof";
@@ -251,6 +251,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
251
251
  stateProviderListener: (identifier: StateProviderLocation & {
252
252
  [key: string]: unknown;
253
253
  }, callback: (value: unknown) => void) => any;
254
+ initialized: () => any;
254
255
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
255
256
  onChange?: ((args_0: {
256
257
  data: unknown;
@@ -261,6 +262,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
261
262
  onStateProviderListener?: ((identifier: StateProviderLocation & {
262
263
  [key: string]: unknown;
263
264
  }, callback: (value: unknown) => void) => any) | undefined;
265
+ onInitialized?: (() => any) | undefined;
264
266
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
265
267
  subPanelTeleportDest: HTMLDivElement;
266
268
  jsonforms: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
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 { q as J_, r as Q_, f as Z_ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-Ck1bJG4V.js";
4
- import { b as em } from "./_baseIteratee-DQwDvtG7.js";
3
+ import { q as J_, r as Q_, f as Z_ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-llWni5tV.js";
4
+ import { b as em } from "./_baseIteratee-IRzVWiYa.js";
5
5
  function tm(e, t) {
6
6
  return e > t;
7
7
  }
@@ -1,4 +1,4 @@
1
- import { q as g, S as s } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-Ck1bJG4V.js";
1
+ import { q as g, S as s } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-llWni5tV.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-Ck1bJG4V.js";
2
+ import { u as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-llWni5tV.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-Ck1bJG4V.js";
2
+ import { u as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-llWni5tV.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.18.3",
3
+ "version": "1.18.5",
4
4
  "description": "Internal JSON Forms integration for frontend KNIME projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,61 +0,0 @@
1
- import { defineComponent as i, createBlock as u, openBlock as a, resolveDynamicComponent as f, computed as r, ref as g, createElementBlock as b, createVNode as _, renderSlot as y, unref as B, withCtx as C, createCommentVNode as h, createTextVNode as I, toDisplayString as V } from "vue";
2
- import { v as k, _ as x } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-Ck1bJG4V.js";
3
- import { R as F } from "./reload-eCPBqeDa.js";
4
- import { B as S } from "./Button-B9K8Q_ls.js";
5
- const $ = /* @__PURE__ */ i({
6
- __name: "DynamicIcon",
7
- props: {
8
- icon: {}
9
- },
10
- setup(o) {
11
- const e = {
12
- reload: F
13
- };
14
- return (l, s) => (a(), u(f(e[o.icon])));
15
- }
16
- }), D = /* @__PURE__ */ i({
17
- __name: "SimpleButtonControl",
18
- props: {
19
- control: {},
20
- handleChange: { type: Function },
21
- changeValue: { type: Function },
22
- disabled: { type: Boolean },
23
- labelForId: {},
24
- isValid: { type: Boolean },
25
- messages: {},
26
- onRegisterValidation: { type: Function }
27
- },
28
- setup(o) {
29
- const e = o, l = r(() => !e.control.enabled), s = r(() => e.control.uischema.options.triggerId), c = r(
30
- () => e.control.uischema.options.icon
31
- ), d = k("trigger"), p = () => {
32
- d({ id: s.value });
33
- }, n = g(!1);
34
- return (m, t) => (a(), b("div", {
35
- class: "simple-button-input",
36
- onMouseover: t[0] || (t[0] = (v) => n.value = !0),
37
- onMouseleave: t[1] || (t[1] = (v) => n.value = !1)
38
- }, [
39
- _(B(S), {
40
- compact: "",
41
- "with-border": "",
42
- disabled: l.value,
43
- class: "button-input",
44
- onClick: p
45
- }, {
46
- default: C(() => [
47
- c.value ? (a(), u($, {
48
- key: 0,
49
- icon: c.value
50
- }, null, 8, ["icon"])) : h("", !0),
51
- I(V(o.control.label), 1)
52
- ]),
53
- _: 1
54
- }, 8, ["disabled"]),
55
- y(m.$slots, "buttons", { hover: n.value }, void 0, !0)
56
- ], 32));
57
- }
58
- }), j = /* @__PURE__ */ x(D, [["__scopeId", "data-v-74adc892"]]);
59
- export {
60
- j as default
61
- };