@knime/jsonforms 1.13.3 → 1.13.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.
- package/CHANGELOG.md +16 -0
- package/dist/{AnyOfTwinlist-CrlGM5Un.js → AnyOfTwinlist-CKdfSX0x.js} +1 -1
- package/dist/{Button-BiJD1VEg.js → Button-F5ci_NZ5.js} +1 -1
- package/dist/{CheckboxControl-DcwB5D5M.js → CheckboxControl-DVr2IkQd.js} +1 -1
- package/dist/{Checkboxes-Cee4we7g.js → Checkboxes-2eDYNaWp.js} +1 -1
- package/dist/{CheckboxesControl-BRqaH2BP.js → CheckboxesControl-R1scu1uA.js} +3 -3
- package/dist/{ComboBoxControl-DIk5EEhU.js → ComboBoxControl-tnPSjo3b.js} +2 -2
- package/dist/{DateControl-CQ_JFYAM.js → DateControl-DeYsnPl3.js} +1 -1
- package/dist/{DateTimeControl-BBsW8jb2.js → DateTimeControl-CKYRTVqX.js} +2 -2
- package/dist/{DateTimeFormatInput-BVDD4a7U.js → DateTimeFormatInput-DyNO7Xsy.js} +3 -3
- package/dist/{DateTimeFormatPickerControl-Y6u7C5Jv.js → DateTimeFormatPickerControl-D7btI2KI.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-C7PC6Xzy.js → DateTimeFormatPickerWithTypeControl-DphpIODu.js} +3 -3
- package/dist/{DateTimeInput-2y-84JDO.js → DateTimeInput-D4H9LmQx.js} +6 -6
- package/dist/{Dropdown-C3o4SlgL.js → Dropdown-Cp7cVv37.js} +2 -2
- package/dist/{DropdownControl-CsH9qu6h.js → DropdownControl-B7-GuNFr.js} +2 -2
- package/dist/{HorizontalLayout-DNUM82EY.js → HorizontalLayout-CpIHD1Hj.js} +1 -1
- package/dist/{InputField-DBmSSVp6.js → InputField-D5ltdzVL.js} +1 -1
- package/dist/{IntegerControl-DN4xk0Ac.js → IntegerControl-D8ycszyi.js} +1 -1
- package/dist/{IntervalControl-2xO01n4j.js → IntervalControl-VuigeoA4.js} +3 -3
- package/dist/{LoadingDropdown-CbIi4do5.js → LoadingDropdown-C_U9Qq1s.js} +3 -3
- package/dist/{ManualTwinlistControl-C2NH3S0b.js → ManualTwinlistControl-Dj9ipQoW.js} +4 -4
- package/dist/{MultiSelectListBoxControl-qC-VgCBf.js → MultiSelectListBoxControl-MjthrAg8.js} +2 -2
- package/dist/{MultimodeTwinlistControl-CBMns1ve.js → MultimodeTwinlistControl-D2_g6FHX.js} +6 -6
- package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_37fe7036_lang-DNSlqirW.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_37fe7036_lang-D17j1bSd.js} +1 -1
- package/dist/{MultiselectListBox-BFzogRWI.js → MultiselectListBox-CWaVP_95.js} +2 -2
- package/dist/{NameFilter-B8B4u6vX.js → NameFilter-BXCGjRO9.js} +1 -1
- package/dist/{NumberControl-CUyt025H.js → NumberControl-CCTNCFJ2.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-CQyTDbro.js → NumberControlBase.vue_vue_type_script_setup_true_lang-7cdnmQY1.js} +2 -2
- package/dist/{NumberInput-njDJJRnR.js → NumberInput-D__iZ46I.js} +1 -1
- package/dist/{OneOfDropdown-BqOctA8m.js → OneOfDropdown-ojJfl_eA.js} +1 -1
- package/dist/{RadioControl-DkB11vqQ.js → RadioControl-nzG10lU-.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-DXHMYF-j.js → RadioControlBase.vue_vue_type_script_setup_true_lang-C3mbKxA-.js} +3 -3
- package/dist/{RichTextControl-DPEuwJa6.js → RichTextControl-BLz_U7Ly.js} +4 -4
- package/dist/{SectionHeading-tDMbAgIx.js → SectionHeading-DkopWOLr.js} +1 -1
- package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-BBYFOm6u.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DUrp-3o2.js} +34 -34
- package/dist/{SectionLayout-CEzjStzf.js → SectionLayout-D1d1CbF8.js} +3 -3
- package/dist/{SettingsSubPanel-DyPjVeGG.js → SettingsSubPanel-BfZGjzwW.js} +1 -1
- package/dist/{SettingsSubPanelLayout-DLW5K6kR.js → SettingsSubPanelLayout-CbGT_NM-.js} +4 -4
- package/dist/{SimpleButtonControl-vAOsyARU.js → SimpleButtonControl-UAp_YZch.js} +2 -2
- package/dist/{SimpleTwinlistControl-yxwoKzJ-.js → SimpleTwinlistControl-BynLREEF.js} +2 -2
- package/dist/SingleSelectControl-zYuEVWJi.js +58 -0
- package/dist/{SingleSelectListBoxControl-CK_fHjVE.js → SingleSelectListBoxControl-wycsOyAz.js} +3 -3
- package/dist/{SortListControl-D9FoBLKE.js → SortListControl-CVSSyWva.js} +6 -6
- package/dist/{StyledListItem-DhpVPTyW.js → StyledListItem-BoaLsLZz.js} +1 -1
- package/dist/{TextAreaControl-DXywpcB5.js → TextAreaControl-BwoVumYW.js} +1 -1
- package/dist/{TextControl-Bbrk1CAp.js → TextControl-DQ7VXHdQ.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-j_HYVYt4.js → TextControl.vue_vue_type_script_setup_true_lang-Dd5_cCrL.js} +3 -3
- package/dist/{TimeControl-CAxL_feg.js → TimeControl-Afvvq63u.js} +2 -2
- package/dist/{TwinlistControlBase-sc98KDUH.js → TwinlistControlBase-CdSKg2Zd.js} +3 -3
- package/dist/{TwinlistLoadingInfo-C6M29NGc.js → TwinlistLoadingInfo-mJKG4z7y.js} +4 -4
- package/dist/{TypedStringFilter-DNkDiVa3.js → TypedStringFilter-DjpeRvXZ.js} +1 -1
- package/dist/{ValueSwitch-D0X_LZA7.js → ValueSwitch-C-8zArPN.js} +1 -1
- package/dist/{ValueSwitchControl-cTAiDyXb.js → ValueSwitchControl-BwcLfecJ.js} +1 -1
- package/dist/{VerticalLayout-BAZAWRNq.js → VerticalLayout-N92XXrgm.js} +2 -2
- package/dist/{VerticalLayoutBase-BB5xmG2s.js → VerticalLayoutBase-CjFEBQlg.js} +1 -1
- package/dist/{ZonedDateTimeControl-CvccVwPo.js → ZonedDateTimeControl-CY3xzsaQ.js} +4 -4
- package/dist/{_baseEach-rGv0obK1.js → _baseEach-DPh4ku9D.js} +2 -2
- package/dist/{_baseIteratee-j5QWpKY2.js → _baseIteratee-BFQesyl1.js} +3 -3
- package/dist/{_getTag-DfJfUpgO.js → _getTag-CpsiUcks.js} +1 -1
- package/dist/knime-jsonforms.js +7 -7
- package/dist/{localTimeUtils-DBsbM1pH.js → localTimeUtils-DFdNbqKP.js} +1 -1
- package/dist/{magic-string.es-Baaj9LEK.js → magic-string.es-aJJC1n_a.js} +1 -1
- package/dist/{svgWithTitle-DxuZKoYi.js → svgWithTitle-8VWINCSZ.js} +1 -1
- package/dist/testing.js +3 -3
- package/dist/{toString-D0GeZrkI.js → toString-PyW-6LAy.js} +1 -1
- package/dist/{useBuiltinValidations-JCa_v1wp.js → useBuiltinValidations-yRiEjwM1.js} +1 -1
- package/dist/{usePossibleValues-ClWY3lsy.js → usePossibleValues-D8t0__VG.js} +1 -1
- package/package.json +5 -5
- package/dist/SingleSelectControl-B9F5aKPe.js +0 -55
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as s, o as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
1
|
+
import { S as s, o as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DUrp-3o2.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_625edfbe_lang-
|
|
2
|
+
import { u as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DUrp-3o2.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 o } 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-DUrp-3o2.js";
|
|
3
3
|
const n = (u) => {
|
|
4
4
|
const e = o(() => u.value.uischema), s = d(e, "possibleValues");
|
|
5
5
|
return { possibleValues: o(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/jsonforms",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.5",
|
|
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,10 +15,10 @@
|
|
|
15
15
|
"focus-trap-vue": "4.0.3",
|
|
16
16
|
"tabbable": "6.2.0",
|
|
17
17
|
"uuid": "10.0.0",
|
|
18
|
-
"@knime/components": "1.31.
|
|
19
|
-
"@knime/rich-text-editor": "1.5.
|
|
20
|
-
"@knime/styles": "1.
|
|
21
|
-
"@knime/utils": "1.5.
|
|
18
|
+
"@knime/components": "1.31.2",
|
|
19
|
+
"@knime/rich-text-editor": "1.5.2",
|
|
20
|
+
"@knime/styles": "1.9.0",
|
|
21
|
+
"@knime/utils": "1.5.2"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
24
|
"consola": "3.x",
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { defineComponent as _, computed as i, toRef as I, openBlock as y, createBlock as F } from "vue";
|
|
2
|
-
import { u as $ } from "./usePossibleValues-ClWY3lsy.js";
|
|
3
|
-
import { L as v } from "./LoadingDropdown-CbIi4do5.js";
|
|
4
|
-
const r = "__special__", a = "__regular__", R = /* @__PURE__ */ _({
|
|
5
|
-
__name: "SingleSelectControl",
|
|
6
|
-
props: {
|
|
7
|
-
control: {},
|
|
8
|
-
handleChange: { type: Function },
|
|
9
|
-
changeValue: { type: Function },
|
|
10
|
-
disabled: { type: Boolean },
|
|
11
|
-
isValid: { type: Boolean },
|
|
12
|
-
onRegisterValidation: { type: Function },
|
|
13
|
-
labelForId: {}
|
|
14
|
-
},
|
|
15
|
-
setup(u) {
|
|
16
|
-
const t = u, p = i(
|
|
17
|
-
() => t.control.uischema.options.specialChoices
|
|
18
|
-
), { possibleValues: l } = $(
|
|
19
|
-
I(t, "control")
|
|
20
|
-
), n = (e) => `${r}${e}`, s = (e) => `${a}${e}`, d = ({
|
|
21
|
-
id: e,
|
|
22
|
-
text: o
|
|
23
|
-
}) => ({
|
|
24
|
-
id: n(e),
|
|
25
|
-
text: o,
|
|
26
|
-
isSpecial: !0
|
|
27
|
-
}), h = ({
|
|
28
|
-
id: e,
|
|
29
|
-
text: o
|
|
30
|
-
}) => ({
|
|
31
|
-
id: s(e),
|
|
32
|
-
text: o
|
|
33
|
-
}), f = i(() => l.value === null ? null : p.value.map(d).concat(l.value.map(h))), m = (e) => {
|
|
34
|
-
if (!e.startsWith(a) && !e.startsWith(r))
|
|
35
|
-
throw new Error(`Expected id to start with ${a}`);
|
|
36
|
-
}, C = (e) => e ? (m(e), e.startsWith(r) ? { specialChoice: e.slice(r.length) } : { regularChoice: e.slice(a.length) }) : null, g = (e) => typeof e > "u" || e === null ? "" : "regularChoice" in e && e.regularChoice ? s(e.regularChoice) : "specialChoice" in e && e.specialChoice ? n(e.specialChoice) : "", c = i({
|
|
37
|
-
get: () => g(t.control.data),
|
|
38
|
-
set: (e) => {
|
|
39
|
-
t.changeValue(C(e));
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
return (e, o) => (y(), F(v, {
|
|
43
|
-
id: e.labelForId,
|
|
44
|
-
modelValue: c.value,
|
|
45
|
-
"onUpdate:modelValue": o[0] || (o[0] = (b) => c.value = b),
|
|
46
|
-
"possible-values": f.value,
|
|
47
|
-
ariaLabel: e.control.label,
|
|
48
|
-
disabled: e.disabled,
|
|
49
|
-
compact: ""
|
|
50
|
-
}, null, 8, ["id", "modelValue", "possible-values", "ariaLabel", "disabled"]));
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
export {
|
|
54
|
-
R as default
|
|
55
|
-
};
|