@knime/jsonforms 1.9.2 → 1.9.3
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.
- package/CHANGELOG.md +6 -0
- package/dist/{AnyOfTwinlist-BPOZOLti.js → AnyOfTwinlist-Bno_Zsze.js} +1 -1
- package/dist/{Button-eJKYDCkd.js → Button-aTtpMrSv.js} +4 -5
- package/dist/{Checkbox-Cn75drbc.js → Checkbox-UPkmNdnj.js} +1 -1
- package/dist/{CheckboxControl-CZI1ksFg.js → CheckboxControl-BjQtt7Kb.js} +2 -2
- package/dist/{Checkboxes-DkHfcl3G.js → Checkboxes-CoYDUGFC.js} +2 -2
- package/dist/{CheckboxesControl-mDBFA4w8.js → CheckboxesControl-ZS-Ktmhj.js} +2 -2
- package/dist/{ComboBoxControl-D21AHICP.js → ComboBoxControl-B5dr_jyI.js} +20 -21
- package/dist/{DateControl-CoZARCXP.js → DateControl-BashGFS3.js} +1 -1
- package/dist/{DateTimeControl-Cy5gTvNj.js → DateTimeControl-DDI4FI_3.js} +2 -2
- package/dist/{DateTimeFormatInput-Btt_BLk-.js → DateTimeFormatInput-CxJptumG.js} +3 -3
- package/dist/{DateTimeFormatPickerControl-tGAM1JkC.js → DateTimeFormatPickerControl-CzzZbiPc.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-BclhGpyC.js → DateTimeFormatPickerWithTypeControl-58Rwf49f.js} +3 -3
- package/dist/{DateTimeInput-DdlMeRDs.js → DateTimeInput-RgGJ9PqO.js} +4 -5
- package/dist/{Dropdown-DXrbBJkL.js → Dropdown-CxkimEXT.js} +27 -28
- package/dist/{DropdownControl-CCHrJ6le.js → DropdownControl-Dj0WeArl.js} +4 -4
- package/dist/{HorizontalLayout-DygZj0o9.js → HorizontalLayout--pJ_xwTq.js} +1 -1
- package/dist/{InputField-Bvyoaw2O.js → InputField-CTniEySK.js} +1 -1
- package/dist/{IntegerControl-DsenUVe6.js → IntegerControl-D-BuNbr6.js} +1 -1
- package/dist/{IntervalControl-DYdVuEIn.js → IntervalControl-BI_hr3VH.js} +16 -17
- package/dist/{LoadingDropdown-B04_zKDo.js → LoadingDropdown-CmfR0AIL.js} +3 -3
- package/dist/{MultimodeTwinlistControl-84S7d7BP.js → MultimodeTwinlistControl-CF0KeII6.js} +5 -5
- package/dist/{MultiselectListBox-D1l5U70X.js → MultiselectListBox-C5Rkdy_s.js} +1 -1
- package/dist/{NameFilter-CxG07CNi.js → NameFilter-COgzNTb5.js} +1 -1
- package/dist/{NumberControl-Ds5fzpFG.js → NumberControl-vpxmEuqJ.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-Da027LaV.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CRHY-CAe.js} +2 -2
- package/dist/{NumberInput-DNVDyuiW.js → NumberInput-CKC-BV3f.js} +1 -1
- package/dist/{OneOfDropdown-CX5YhB5y.js → OneOfDropdown-viqm26x3.js} +1 -1
- package/dist/{RadioControl-2vz2SEnY.js → RadioControl-ijhKRkTb.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-UGxGM4HJ.js → RadioControlBase.vue_vue_type_script_setup_true_lang-BdCi_2zA.js} +2 -2
- package/dist/{RichTextControl-C9zYte_e.js → RichTextControl-D1ABE38P.js} +6 -7
- package/dist/{SectionHeading-D5VIHfZ6.js → SectionHeading-ZT7XeoF8.js} +1 -1
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dhm8vqgx.js +13635 -0
- package/dist/{SectionLayout-FgUSzxvg.js → SectionLayout-y_NzSLbA.js} +3 -3
- package/dist/SettingsSubPanel-AiCHC48O.js +5 -0
- package/dist/{SettingsSubPanelLayout-CiSDF0QY.js → SettingsSubPanelLayout-WUuGaXGO.js} +20 -21
- package/dist/{SimpleButtonControl-E4YUEkFB.js → SimpleButtonControl-DvLqHeVO.js} +8 -8
- package/dist/{SimpleTwinlistControl-BTXe7YwA.js → SimpleTwinlistControl-DXNHUJCa.js} +2 -2
- package/dist/{SingleSelectControl-Lr3z2PQP.js → SingleSelectControl-CEyyZ7Kc.js} +2 -2
- package/dist/{SortListControl-D7yx8Zz-.js → SortListControl-BqG6Z4Bw.js} +5 -6
- package/dist/{TextAreaControl-Dr7sr6e5.js → TextAreaControl-DKdJlQhI.js} +1 -1
- package/dist/{TextControl-CBgD2gmx.js → TextControl-BY3BQYs4.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Chd6nIT-.js → TextControl.vue_vue_type_script_setup_true_lang-DpgjORyQ.js} +4 -4
- package/dist/{TimeControl-Cm8yqjem.js → TimeControl-DcBc1RbW.js} +2 -2
- package/dist/{TwinlistControlBase-D09CXwzh.js → TwinlistControlBase-B3TpCINH.js} +3 -3
- package/dist/{TwinlistLoadingInfo-B_2E8y_B.js → TwinlistLoadingInfo-D8rqzbMc.js} +13 -14
- package/dist/{TypedStringFilter-BMlauzYE.js → TypedStringFilter-BOFOAKkO.js} +1 -1
- package/dist/{ValueSwitch-D1egJZr6.js → ValueSwitch-VbFoC4Pq.js} +1 -1
- package/dist/{ValueSwitchControl-CextiX-9.js → ValueSwitchControl-7mB1E9vK.js} +1 -1
- package/dist/{VerticalLayout-uvd7dU17.js → VerticalLayout-B-8z4Sbp.js} +2 -2
- package/dist/{VerticalLayoutBase-CSnU3mLb.js → VerticalLayoutBase-B3t0dePr.js} +1 -1
- package/dist/{ZonedDateTimeControl-CB0KZQXT.js → ZonedDateTimeControl-B0WFmRCJ.js} +4 -4
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +42 -43
- package/dist/{localTimeUtils-DnV5kh7m.js → localTimeUtils-DL7n5_3m.js} +1 -1
- package/dist/{magic-string.es-B5A5AF4s.js → magic-string.es-XCVtxFA5.js} +1 -1
- package/dist/{svgWithTitle-WX_pgBsG.js → svgWithTitle-DDitbp5R.js} +1 -1
- package/dist/testUtils/component.d.ts +13 -0
- package/dist/testing.js +1503 -1501
- package/dist/{useBuiltinValidations-LNyl7q7j.js → useBuiltinValidations-BFizZjY8.js} +1 -1
- package/dist/{usePossibleValues-CM2RTisz.js → usePossibleValues-CQ8_InqW.js} +1 -1
- package/package.json +2 -2
- package/dist/BaseButton-6PV3BYUQ.js +0 -112
- package/dist/FunctionButton-QVrKdZdI.js +0 -75
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-hOcQ43HC.js +0 -13322
- package/dist/SettingsSubPanel-BZE2IRG9.js +0 -142
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as r } from "vue";
|
|
2
|
-
import { u as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { u as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dhm8vqgx.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 "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { u as c } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dhm8vqgx.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.
|
|
3
|
+
"version": "1.9.3",
|
|
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.26.0",
|
|
19
18
|
"@knime/rich-text-editor": "1.4.8",
|
|
19
|
+
"@knime/components": "1.26.0",
|
|
20
20
|
"@knime/styles": "1.4.0",
|
|
21
21
|
"@knime/utils": "1.4.0"
|
|
22
22
|
},
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
import { defineComponent as i, useSlots as l, h as a, getCurrentInstance as c, openBlock as f, createBlock as p, resolveDynamicComponent as m, mergeProps as d, withCtx as h, renderSlot as C } from "vue";
|
|
2
|
-
import { _ as k } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-hOcQ43HC.js";
|
|
3
|
-
const u = () => {
|
|
4
|
-
const t = c();
|
|
5
|
-
return t == null ? void 0 : t.appContext.app;
|
|
6
|
-
}, $ = () => {
|
|
7
|
-
const t = u(), e = t == null ? void 0 : t.component("ClientOnly");
|
|
8
|
-
return e || i({
|
|
9
|
-
render() {
|
|
10
|
-
var r, n;
|
|
11
|
-
return (n = (r = l()).default) == null ? void 0 : n.call(r);
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
}, b = () => {
|
|
15
|
-
const t = u(), e = t == null ? void 0 : t.component("NuxtLink");
|
|
16
|
-
if (e)
|
|
17
|
-
return e;
|
|
18
|
-
const o = t == null ? void 0 : t.component("RouterLink");
|
|
19
|
-
return o || i({
|
|
20
|
-
props: {
|
|
21
|
-
to: {
|
|
22
|
-
type: String,
|
|
23
|
-
default: ""
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
render() {
|
|
27
|
-
var n, s;
|
|
28
|
-
return a("a", { href: this.to }, [(s = (n = l()).default) == null ? void 0 : s.call(n)]);
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
}, y = i({
|
|
32
|
-
name: "BaseButton",
|
|
33
|
-
props: {
|
|
34
|
-
/**
|
|
35
|
-
* If set, the button renders an <a> element instead of a <button> element
|
|
36
|
-
* Has no effect when used together with `to`.
|
|
37
|
-
*/
|
|
38
|
-
href: {
|
|
39
|
-
type: String,
|
|
40
|
-
default: ""
|
|
41
|
-
},
|
|
42
|
-
/**
|
|
43
|
-
* If set, the button renders a <nuxt-link> instead of a <button> element.
|
|
44
|
-
* Supersedes the `href` property.
|
|
45
|
-
*/
|
|
46
|
-
to: {
|
|
47
|
-
type: String,
|
|
48
|
-
default: ""
|
|
49
|
-
},
|
|
50
|
-
/**
|
|
51
|
-
* toggle to prevent default click handler
|
|
52
|
-
*/
|
|
53
|
-
preventDefault: {
|
|
54
|
-
type: Boolean,
|
|
55
|
-
default: !1
|
|
56
|
-
},
|
|
57
|
-
disabled: {
|
|
58
|
-
type: Boolean,
|
|
59
|
-
default: !1
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
emits: ["click"],
|
|
63
|
-
computed: {
|
|
64
|
-
// TODO: Can be made into a composition function
|
|
65
|
-
component() {
|
|
66
|
-
return this.to ? b() : this.href ? "a" : "button";
|
|
67
|
-
},
|
|
68
|
-
dynamicProps() {
|
|
69
|
-
return this.to ? {
|
|
70
|
-
to: this.to,
|
|
71
|
-
event: this.preventDefault ? [] : "click"
|
|
72
|
-
} : this.href ? {
|
|
73
|
-
href: this.href
|
|
74
|
-
} : {};
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
methods: {
|
|
78
|
-
onClick(t) {
|
|
79
|
-
this.$emit("click", t), this.preventDefault && t.preventDefault();
|
|
80
|
-
},
|
|
81
|
-
/**
|
|
82
|
-
* This can be called from outside via focus on a $ref
|
|
83
|
-
*/
|
|
84
|
-
focus() {
|
|
85
|
-
var t;
|
|
86
|
-
(t = this.getComponent()) == null || t.focus();
|
|
87
|
-
},
|
|
88
|
-
/**
|
|
89
|
-
* This can be called from outside via getComponent on a $ref
|
|
90
|
-
*/
|
|
91
|
-
getComponent() {
|
|
92
|
-
return this.$refs.button;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
function B(t, e, o, r, n, s) {
|
|
97
|
-
return f(), p(m(t.component), d(t.dynamicProps, {
|
|
98
|
-
ref: "button",
|
|
99
|
-
disabled: t.disabled ? "disabled" : null,
|
|
100
|
-
onClick: t.onClick
|
|
101
|
-
}), {
|
|
102
|
-
default: h(() => [
|
|
103
|
-
C(t.$slots, "default")
|
|
104
|
-
]),
|
|
105
|
-
_: 3
|
|
106
|
-
}, 16, ["disabled", "onClick"]);
|
|
107
|
-
}
|
|
108
|
-
const D = /* @__PURE__ */ k(y, [["render", B]]);
|
|
109
|
-
export {
|
|
110
|
-
D as B,
|
|
111
|
-
$ as r
|
|
112
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { B as s } from "./BaseButton-6PV3BYUQ.js";
|
|
2
|
-
import { resolveComponent as o, openBlock as l, createBlock as r, normalizeClass as i, withCtx as d, renderSlot as c } from "vue";
|
|
3
|
-
import { _ as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-hOcQ43HC.js";
|
|
4
|
-
const f = {
|
|
5
|
-
name: "FunctionButton",
|
|
6
|
-
components: {
|
|
7
|
-
BaseButton: s
|
|
8
|
-
},
|
|
9
|
-
props: {
|
|
10
|
-
/**
|
|
11
|
-
* @see {@link BaseButton.vue}
|
|
12
|
-
*/
|
|
13
|
-
/**
|
|
14
|
-
* Switches the active style of the component
|
|
15
|
-
*/
|
|
16
|
-
active: {
|
|
17
|
-
type: Boolean,
|
|
18
|
-
default: !1
|
|
19
|
-
},
|
|
20
|
-
/**
|
|
21
|
-
* switches colors
|
|
22
|
-
*/
|
|
23
|
-
primary: {
|
|
24
|
-
type: Boolean,
|
|
25
|
-
default: !1
|
|
26
|
-
},
|
|
27
|
-
disabled: {
|
|
28
|
-
type: Boolean,
|
|
29
|
-
default: !1
|
|
30
|
-
},
|
|
31
|
-
compact: {
|
|
32
|
-
type: Boolean,
|
|
33
|
-
default: !1
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
computed: {
|
|
37
|
-
single() {
|
|
38
|
-
return this.$slots.default().length !== 1 ? !1 : this.hasSingleChildren(this.$slots.default()[0]);
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
methods: {
|
|
42
|
-
/**
|
|
43
|
-
* This can be called from outside via focus on a $ref
|
|
44
|
-
*/
|
|
45
|
-
focus() {
|
|
46
|
-
this.$refs.baseButton.focus();
|
|
47
|
-
},
|
|
48
|
-
/**
|
|
49
|
-
* This can be called from outside via getComponent on a $ref
|
|
50
|
-
*/
|
|
51
|
-
getComponent() {
|
|
52
|
-
return this.$refs.baseButton.getComponent();
|
|
53
|
-
},
|
|
54
|
-
hasSingleChildren(e) {
|
|
55
|
-
return e.children ? e.children.length === 1 ? this.hasSingleChildren(e.children[0]) : !1 : !0;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
};
|
|
59
|
-
function h(e, m, t, p, B, n) {
|
|
60
|
-
const a = o("BaseButton");
|
|
61
|
-
return l(), r(a, {
|
|
62
|
-
ref: "baseButton",
|
|
63
|
-
disabled: t.disabled,
|
|
64
|
-
class: i(["function-button", { single: n.single, active: t.active, primary: t.primary, disabled: t.disabled, compact: t.compact }])
|
|
65
|
-
}, {
|
|
66
|
-
default: d(() => [
|
|
67
|
-
c(e.$slots, "default", {}, void 0, !0)
|
|
68
|
-
]),
|
|
69
|
-
_: 3
|
|
70
|
-
}, 8, ["disabled", "class"]);
|
|
71
|
-
}
|
|
72
|
-
const C = /* @__PURE__ */ u(f, [["render", h], ["__scopeId", "data-v-6b371a7e"]]);
|
|
73
|
-
export {
|
|
74
|
-
C as F
|
|
75
|
-
};
|