@knime/jsonforms 1.9.0 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/{AnyOfTwinlist-Bh4pM6oH.js → AnyOfTwinlist-BPOZOLti.js} +1 -1
  3. package/dist/{BaseButton-B-d7gAOs.js → BaseButton-6PV3BYUQ.js} +1 -1
  4. package/dist/{Button-Cxza7ya0.js → Button-eJKYDCkd.js} +2 -2
  5. package/dist/{Checkbox-C1dZL2je.js → Checkbox-Cn75drbc.js} +1 -1
  6. package/dist/{CheckboxControl-C-Vqb4rS.js → CheckboxControl-CZI1ksFg.js} +2 -2
  7. package/dist/{Checkboxes-BM6dczYg.js → Checkboxes-DkHfcl3G.js} +2 -2
  8. package/dist/{CheckboxesControl-DLJyPTax.js → CheckboxesControl-mDBFA4w8.js} +2 -2
  9. package/dist/{ComboBoxControl-CPgWFQ3E.js → ComboBoxControl-D21AHICP.js} +4 -4
  10. package/dist/{DateControl-B5aNfmDS.js → DateControl-CoZARCXP.js} +1 -1
  11. package/dist/{DateTimeControl-DnAq_y1G.js → DateTimeControl-Cy5gTvNj.js} +2 -2
  12. package/dist/{DateTimeFormatInput-D0gFWkDj.js → DateTimeFormatInput-Btt_BLk-.js} +3 -3
  13. package/dist/{DateTimeFormatPickerControl-BAm-YwQR.js → DateTimeFormatPickerControl-tGAM1JkC.js} +2 -2
  14. package/dist/{DateTimeFormatPickerWithTypeControl-kLWtEkzC.js → DateTimeFormatPickerWithTypeControl-BclhGpyC.js} +3 -3
  15. package/dist/{DateTimeInput-CCOVOyZg.js → DateTimeInput-DdlMeRDs.js} +3 -3
  16. package/dist/{Dropdown-DEJ37CWM.js → Dropdown-DXrbBJkL.js} +2 -2
  17. package/dist/{DropdownControl-DjGi-91y.js → DropdownControl-CCHrJ6le.js} +4 -4
  18. package/dist/{FunctionButton-D0hM3gS_.js → FunctionButton-QVrKdZdI.js} +2 -2
  19. package/dist/{HorizontalLayout-5K8cdlC-.js → HorizontalLayout-DygZj0o9.js} +1 -1
  20. package/dist/{InputField-DKqvsYvw.js → InputField-Bvyoaw2O.js} +1 -1
  21. package/dist/{IntegerControl-Di2Z_1kO.js → IntegerControl-DsenUVe6.js} +1 -1
  22. package/dist/{IntervalControl-z_8kuaUH.js → IntervalControl-DYdVuEIn.js} +4 -4
  23. package/dist/{LoadingDropdown-CcRFsTOf.js → LoadingDropdown-B04_zKDo.js} +3 -3
  24. package/dist/{MultimodeTwinlistControl-CrgZoWIM.js → MultimodeTwinlistControl-84S7d7BP.js} +5 -5
  25. package/dist/{MultiselectListBox-D1SKEhxF.js → MultiselectListBox-D1l5U70X.js} +1 -1
  26. package/dist/{NameFilter-DytpZDut.js → NameFilter-CxG07CNi.js} +1 -1
  27. package/dist/{NumberControl-DuimTvN7.js → NumberControl-Ds5fzpFG.js} +1 -1
  28. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-D6vn-6dz.js → NumberControlBase.vue_vue_type_script_setup_true_lang-Da027LaV.js} +2 -2
  29. package/dist/{NumberInput-Dbs_HhID.js → NumberInput-DNVDyuiW.js} +1 -1
  30. package/dist/{OneOfDropdown-DLuPD4vb.js → OneOfDropdown-CX5YhB5y.js} +1 -1
  31. package/dist/{RadioControl-CRSO18ib.js → RadioControl-2vz2SEnY.js} +2 -2
  32. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-C-Xu_lRP.js → RadioControlBase.vue_vue_type_script_setup_true_lang-UGxGM4HJ.js} +2 -2
  33. package/dist/{RichTextControl-Det6MXge.js → RichTextControl-C9zYte_e.js} +5 -5
  34. package/dist/{SectionHeading-DogS80o6.js → SectionHeading-D5VIHfZ6.js} +1 -1
  35. package/dist/{SettingsSubPanel.vue_vue_type_style_index_1_lang-D3eEeut_.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-hOcQ43HC.js} +31 -31
  36. package/dist/{SectionLayout-YXciALxD.js → SectionLayout-FgUSzxvg.js} +3 -3
  37. package/dist/SettingsSubPanel-BZE2IRG9.js +142 -0
  38. package/dist/{SettingsSubPanelLayout-C1vAi50O.js → SettingsSubPanelLayout-CiSDF0QY.js} +5 -5
  39. package/dist/{SimpleButtonControl-C5Bu2UlU.js → SimpleButtonControl-E4YUEkFB.js} +2 -2
  40. package/dist/{SimpleTwinlistControl-Cwzofngw.js → SimpleTwinlistControl-BTXe7YwA.js} +2 -2
  41. package/dist/{SingleSelectControl-NTvlFtDt.js → SingleSelectControl-Lr3z2PQP.js} +2 -2
  42. package/dist/{SortListControl-DHW2NYFQ.js → SortListControl-D7yx8Zz-.js} +4 -4
  43. package/dist/{TextAreaControl-DDyE4C3O.js → TextAreaControl-Dr7sr6e5.js} +1 -1
  44. package/dist/{TextControl-C_b68-fk.js → TextControl-CBgD2gmx.js} +1 -1
  45. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-U86A8vv3.js → TextControl.vue_vue_type_script_setup_true_lang-Chd6nIT-.js} +4 -4
  46. package/dist/{TimeControl-BKDuYAqj.js → TimeControl-Cm8yqjem.js} +2 -2
  47. package/dist/{TwinlistControlBase-CaCznnlh.js → TwinlistControlBase-D09CXwzh.js} +3 -3
  48. package/dist/{TwinlistLoadingInfo-B1VpQXg5.js → TwinlistLoadingInfo-B_2E8y_B.js} +5 -5
  49. package/dist/{TypedStringFilter-D5hpRznk.js → TypedStringFilter-BMlauzYE.js} +1 -1
  50. package/dist/{ValueSwitch-DLjmKUJK.js → ValueSwitch-D1egJZr6.js} +1 -1
  51. package/dist/{ValueSwitchControl-D71Pwa50.js → ValueSwitchControl-CextiX-9.js} +1 -1
  52. package/dist/{VerticalLayout-CHgqTKir.js → VerticalLayout-uvd7dU17.js} +2 -2
  53. package/dist/{VerticalLayoutBase-DMue85aT.js → VerticalLayoutBase-CSnU3mLb.js} +1 -1
  54. package/dist/{ZonedDateTimeControl-CouOa7ed.js → ZonedDateTimeControl-CB0KZQXT.js} +4 -4
  55. package/dist/knime-jsonforms.css +1 -1
  56. package/dist/knime-jsonforms.js +71 -65
  57. package/dist/{localTimeUtils-Bpwc2y6B.js → localTimeUtils-DnV5kh7m.js} +1 -1
  58. package/dist/{magic-string.es-CukxJUVp.js → magic-string.es-B5A5AF4s.js} +1 -1
  59. package/dist/src/JsonFormsDialog.vue.d.ts +3 -4
  60. package/dist/src/layoutComponents/index.d.ts +2 -1
  61. package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +6 -0
  62. package/dist/src/renderers/defaultRenderers.d.ts +74 -74
  63. package/dist/src/renderers/sortListRenderer.d.ts +74 -74
  64. package/dist/{svgWithTitle-FlxoO5N3.js → svgWithTitle-WX_pgBsG.js} +1 -1
  65. package/dist/testUtils/component.d.ts +7 -7
  66. package/dist/testing.js +2 -2
  67. package/dist/{useBuiltinValidations-CrQ0McL_.js → useBuiltinValidations-LNyl7q7j.js} +1 -1
  68. package/dist/{usePossibleValues-BJDCD98T.js → usePossibleValues-CM2RTisz.js} +1 -1
  69. package/package.json +3 -3
  70. package/dist/SettingsSubPanel-CKzw390P.js +0 -143
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as r, openBlock as c, createBlock as s, unref as a, h as i } from "vue";
2
2
  import { R as d } from "./reload-BhzcZRFp.js";
3
- import { _ } from "./SettingsSubPanel.vue_vue_type_style_index_1_lang-D3eEeut_.js";
3
+ import { _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-hOcQ43HC.js";
4
4
  const p = /* @__PURE__ */ r({
5
5
  __name: "LoadingIcon",
6
6
  setup(t) {
@@ -95,6 +95,10 @@ export declare const mountJsonFormsControl: <D>(component: VueControl<D>, { prop
95
95
  handleChange: Mock<(...args: any[]) => any>;
96
96
  changeValue: Mock<(...args: any[]) => any>;
97
97
  onRegisterValidation: Mock<(...args: any[]) => any>;
98
+ disabled: boolean;
99
+ messages: import('../src/higherOrderComponents/control/validation/types').Messages;
100
+ isValid: boolean;
101
+ labelForId?: null | undefined;
98
102
  control: {
99
103
  data: D;
100
104
  } & Omit<{
@@ -118,10 +122,6 @@ export declare const mountJsonFormsControl: <D>(component: VueControl<D>, { prop
118
122
  id: string;
119
123
  visible: boolean;
120
124
  }, "data">;
121
- disabled: boolean;
122
- messages: import('../src/higherOrderComponents/control/validation/types').Messages;
123
- isValid: boolean;
124
- labelForId?: null | undefined;
125
125
  }, never>>>;
126
126
  handleChange: Mock<(...args: any[]) => any>;
127
127
  changeValue: Mock<(...args: any[]) => any>;
@@ -162,6 +162,9 @@ export declare const mountJsonFormsControlLabelContent: <D>(component: VueContro
162
162
  handleChange: Mock<(...args: any[]) => any>;
163
163
  changeValue: Mock<(...args: any[]) => any>;
164
164
  onRegisterValidation: Mock<(...args: any[]) => any>;
165
+ disabled: boolean;
166
+ isValid: boolean;
167
+ labelForId: string;
165
168
  control: {
166
169
  data: D;
167
170
  } & Omit<{
@@ -185,9 +188,6 @@ export declare const mountJsonFormsControlLabelContent: <D>(component: VueContro
185
188
  id: string;
186
189
  visible: boolean;
187
190
  }, "data">;
188
- disabled: boolean;
189
- isValid: boolean;
190
- labelForId: string;
191
191
  }, never>>>;
192
192
  handleChange: Mock<(...args: any[]) => any>;
193
193
  changeValue: Mock<(...args: any[]) => any>;
package/dist/testing.js CHANGED
@@ -3,7 +3,7 @@ var N_ = (e, t, n) => t in e ? O_(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var G = (e, t, n) => N_(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import * as Jf from "vue";
5
5
  import { initDirectivesForSSR as I_, nextTick as lo, defineComponent as ai, computed as Ar, h as En, shallowReactive as A_, reactive as k_, ref as C_, createApp as $_, transformVNodeArgs as P_, setDevtoolsHook as M_, Transition as R_, BaseTransition as D_, TransitionGroup as j_, isRef as L_ } from "vue";
6
- import { b as F_ } from "./SettingsSubPanel.vue_vue_type_style_index_1_lang-D3eEeut_.js";
6
+ import { b as F_ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-hOcQ43HC.js";
7
7
  import { i as B_ } from "./isSymbol-C3_SC0Qp.js";
8
8
  import { b as V_ } from "./_baseIteratee-DhaGkQLM.js";
9
9
  function q_(e, t) {
@@ -9513,7 +9513,7 @@ function Aw(e, t) {
9513
9513
  return s + 1;
9514
9514
  }
9515
9515
  async function kw(e, t) {
9516
- const n = (await import("./magic-string.es-CukxJUVp.js")).default, r = new Set(t.map((i) => i.file));
9516
+ const n = (await import("./magic-string.es-B5A5AF4s.js")).default, r = new Set(t.map((i) => i.file));
9517
9517
  await Promise.all(
9518
9518
  Array.from(r).map(async (i) => {
9519
9519
  const s = t.filter((c) => c.file === i), o = await e.readSnapshotFile(i), a = new n(o);
@@ -1,5 +1,5 @@
1
1
  import { computed as r } from "vue";
2
- import { u as d } from "./SettingsSubPanel.vue_vue_type_style_index_1_lang-D3eEeut_.js";
2
+ import { u as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-hOcQ43HC.js";
3
3
  const l = (e = {}) => e.validations ?? [], c = (e = {}) => (e.validationProviders ?? []).map(
4
4
  (i) => d(i, null)
5
5
  ), s = (e, i) => {
@@ -1,5 +1,5 @@
1
1
  import { computed as a } from "vue";
2
- import { u as c } from "./SettingsSubPanel.vue_vue_type_style_index_1_lang-D3eEeut_.js";
2
+ import { u as c } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-hOcQ43HC.js";
3
3
  const t = (s) => {
4
4
  var e;
5
5
  const u = a(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/jsonforms",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "description": "Internal JSON Forms integration for frontend KNIME projects",
5
5
  "homepage": "https://knime.github.io/webapps-common/",
6
6
  "license": "GPL 3 and Additional Permissions according to Sec. 7 (SEE the file LICENSE)",
@@ -15,8 +15,8 @@
15
15
  "focus-trap-vue": "4.0.3",
16
16
  "tabbable": "6.2.0",
17
17
  "uuid": "10.0.0",
18
- "@knime/components": "1.25.4",
19
- "@knime/rich-text-editor": "1.4.7",
18
+ "@knime/components": "1.26.0",
19
+ "@knime/rich-text-editor": "1.4.8",
20
20
  "@knime/styles": "1.4.0",
21
21
  "@knime/utils": "1.4.0"
22
22
  },
@@ -1,143 +0,0 @@
1
- import { openBlock as o, createElementBlock as c, createElementVNode as n, renderSlot as r, defineComponent as h, createBlock as f, Transition as B, withCtx as u, normalizeStyle as y, createCommentVNode as b, createVNode as p, unref as m, pushScopeId as E, popScopeId as C, ref as P, inject as w, watch as I, computed as k, Fragment as O, Teleport as A } from "vue";
2
- import { _ } from "./SettingsSubPanel.vue_vue_type_style_index_1_lang-D3eEeut_.js";
3
- import { F } from "./FunctionButton-D0hM3gS_.js";
4
- const D = {}, T = { class: "flex-wrapper" }, L = { class: "form" };
5
- function N(e, t) {
6
- return o(), c("div", T, [
7
- n("div", L, [
8
- r(e.$slots, "default", {}, void 0, !0)
9
- ]),
10
- r(e.$slots, "bottom-content", {}, void 0, !0)
11
- ]);
12
- }
13
- const V = /* @__PURE__ */ _(D, [["render", N], ["__scopeId", "data-v-c672b17b"]]), W = { class: "content" }, j = {}, l = {
14
- position: "fixed",
15
- width: "500px",
16
- backgroundColor: "var(--knime-porcelain)"
17
- }, z = /* @__PURE__ */ h({
18
- ...j,
19
- __name: "SideDrawer",
20
- props: {
21
- isExpanded: { type: Boolean, default: !1 },
22
- styleOverrides: { default: () => ({
23
- ...l
24
- }) }
25
- },
26
- setup(e) {
27
- return (t, s) => (o(), f(B, { name: "slide" }, {
28
- default: u(() => [
29
- t.isExpanded ? (o(), c("div", {
30
- key: 0,
31
- class: "side-drawer",
32
- style: y({
33
- "--position-common-side-drawer": t.styleOverrides.position ?? l.position,
34
- "--width-common-side-drawer": t.styleOverrides.width ?? l.width,
35
- "--background-color-common-side-drawer": t.styleOverrides.backgroundColor ?? l.backgroundColor
36
- })
37
- }, [
38
- n("div", W, [
39
- r(t.$slots, "default", {}, void 0, !0)
40
- ])
41
- ], 4)) : b("", !0)
42
- ]),
43
- _: 3
44
- }));
45
- }
46
- }), U = /* @__PURE__ */ _(z, [["__scopeId", "data-v-0e34c675"]]), Y = {
47
- xmlns: "http://www.w3.org/2000/svg",
48
- fill: "none",
49
- stroke: "#000",
50
- "stroke-linejoin": "round",
51
- viewBox: "0 0 32 32"
52
- }, q = /* @__PURE__ */ n("path", { d: "m14.9 27-11-11 11-11m-11 11h24.2" }, null, -1), G = [
53
- q
54
- ];
55
- function H(e, t) {
56
- return o(), c("svg", Y, [...G]);
57
- }
58
- const J = { render: H }, S = (e) => (E("data-v-aa6d21d7"), e = e(), C(), e), K = { class: "flex-horizontal" }, M = /* @__PURE__ */ S(() => /* @__PURE__ */ n("span", { class: "spacer" }, null, -1)), Q = /* @__PURE__ */ S(() => /* @__PURE__ */ n("span", { class: "bold" }, "Back to node configuration", -1)), R = /* @__PURE__ */ h({
59
- __name: "SettingsSubPanelBackArrow",
60
- emits: ["click"],
61
- setup(e, { emit: t }) {
62
- const s = t;
63
- return (a, i) => (o(), c("div", K, [
64
- p(m(F), {
65
- primary: "",
66
- class: "arrow-left-button",
67
- onClick: i[0] || (i[0] = () => s("click"))
68
- }, {
69
- default: u(() => [
70
- p(m(J))
71
- ]),
72
- _: 1
73
- }),
74
- M,
75
- Q
76
- ]));
77
- }
78
- }), X = /* @__PURE__ */ _(R, [["__scopeId", "data-v-aa6d21d7"]]), Z = { class: "side-drawer-content" }, ee = { class: "main-content" }, te = { class: "bottom-content" }, oe = /* @__PURE__ */ h({
79
- __name: "SettingsSubPanel",
80
- props: {
81
- showBackArrow: { type: Boolean, default: !0 },
82
- hideButtonsWhenExpanded: { type: Boolean, default: !1 },
83
- backgroundColorOverride: { default: "var(--knime-porcelain)" }
84
- },
85
- setup(e, { expose: t }) {
86
- const s = e, a = P(!1), i = () => {
87
- a.value = !0;
88
- }, v = () => {
89
- a.value = !1;
90
- };
91
- t({ expand: i, close: v });
92
- const g = w("setSubPanelExpanded");
93
- I(
94
- a,
95
- (d) => (
96
- // @ts-expect-error expected 0 arguments
97
- s.hideButtonsWhenExpanded && g({ isExpanded: d })
98
- )
99
- );
100
- const $ = k(() => w(
101
- s.hideButtonsWhenExpanded ? "getPanelsContainer" : "getSideDrawerTeleportDest"
102
- )()), x = k(() => ({
103
- width: "100%",
104
- position: "absolute",
105
- backgroundColor: s.backgroundColorOverride
106
- }));
107
- return (d, ne) => (o(), c(O, null, [
108
- r(d.$slots, "expand-button", { expand: i }, void 0, !0),
109
- (o(), f(A, { to: $.value }, [
110
- p(m(U), {
111
- "is-expanded": a.value,
112
- class: "side-drawer",
113
- "style-overrides": x.value
114
- }, {
115
- default: u(() => [
116
- n("div", Z, [
117
- d.showBackArrow ? (o(), f(X, {
118
- key: 0,
119
- onClick: v
120
- })) : b("", !0),
121
- n("div", ee, [
122
- p(V, null, {
123
- default: u(() => [
124
- r(d.$slots, "default", {}, void 0, !0)
125
- ]),
126
- _: 3
127
- })
128
- ]),
129
- n("div", te, [
130
- r(d.$slots, "bottom-content", {}, void 0, !0)
131
- ])
132
- ])
133
- ]),
134
- _: 3
135
- }, 8, ["is-expanded", "style-overrides"])
136
- ], 8, ["to"]))
137
- ], 64));
138
- }
139
- }), ae = /* @__PURE__ */ _(oe, [["__scopeId", "data-v-acd858cd"]]);
140
- export {
141
- V as F,
142
- ae as S
143
- };