@knime/jsonforms 1.23.1 → 1.23.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.
- package/CHANGELOG.md +9 -0
- package/dist/{AnyOfTwinlist-B_UW1LI0.js → AnyOfTwinlist-4crfaTqP.js} +1 -1
- package/dist/{CheckboxControl-BMyOusAA.js → CheckboxControl-LHJYVIMA.js} +1 -1
- package/dist/{CheckboxesControl-CkeTdrFS.js → CheckboxesControl-DVxU7S2U.js} +2 -2
- package/dist/{ColorControl-CAL0L6L4.js → ColorControl-PYAP-kY8.js} +1 -1
- package/dist/{ColorPreviewControl-DvKX8YeB.js → ColorPreviewControl-CMg5PwoZ.js} +1 -1
- package/dist/{ComboBoxControl-CbMBzHre.js → ComboBoxControl-C5neBFjq.js} +2 -2
- package/dist/{DateControl-RJtZbKPy.js → DateControl-CAfHybzM.js} +3 -3
- package/dist/DateTimeControl-BZL09pSq.js +103 -0
- package/dist/{DateTimeFormatPickerControl-JVgCROnR.js → DateTimeFormatPickerControl-BgbUloew.js} +1 -1
- package/dist/DateTimeFormatPickerWithTypeControl-BXe2Elky.js +2576 -0
- package/dist/{DropdownControl-CPfIoin1.js → DropdownControl-BLbfAq1O.js} +2 -2
- package/dist/{ExecutorCoresControl-gLv8RzqL.js → ExecutorCoresControl-DDrOHyQi.js} +1 -1
- package/dist/{ExecutorMemoryControl-swyZuGDr.js → ExecutorMemoryControl-6EGadaiD.js} +1 -1
- package/dist/{FileUploadControl-Db66TCRo.js → FileUploadControl-CRq9vat5.js} +41 -42
- package/dist/{GridSelectionControl-Djn2T13y.js → GridSelectionControl-DOe5azkR.js} +1 -1
- package/dist/{HorizontalLayout-IQQdI26A.js → HorizontalLayout-DFD1rMTX.js} +1 -1
- package/dist/{IntegerControl-j0BdGN1e.js → IntegerControl-Ct2saEQV.js} +1 -1
- package/dist/{IntervalControl-CwrYRFKJ.js → IntervalControl-BvYreXcW.js} +1 -1
- package/dist/{LinkControl-fG24M9KW.js → LinkControl-oTRT92um.js} +1 -1
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-DoE3qoLb.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-hzym_PLl.js} +1 -1
- package/dist/{ManualTwinlistControl-BuTbAWnH.js → ManualTwinlistControl-Dj411CSA.js} +3 -3
- package/dist/{MultiSelectListBoxControl-BXGwgWs_.js → MultiSelectListBoxControl-B980q59c.js} +3 -3
- package/dist/{MultimodeTwinlistControl-D-gl_pVW.js → MultimodeTwinlistControl-BSOhrPMu.js} +1 -1
- package/dist/{MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-D_r7uwKB.js → MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-DTASQsVW.js} +3 -3
- package/dist/{NameFilter-BVT5yrA-.js → NameFilter-BLPcbvTz.js} +1 -1
- package/dist/{NumberControl-vAh5HuIS.js → NumberControl-By7pvzoK.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-DvCAjhNZ.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CmVzUoUy.js} +4 -4
- package/dist/{OneOfDropdown-Bm5FQ6NA.js → OneOfDropdown-CjXkZX24.js} +1 -1
- package/dist/{ProgressButtonControl-brC36qlg.js → ProgressButtonControl-_usCDsko.js} +1 -1
- package/dist/{RadioButtonsWithDescriptionControl-S1OeqZ0i.js → RadioButtonsWithDescriptionControl-DaUPzm5V.js} +1 -1
- package/dist/{RadioControl-Cfe_kYfb.js → RadioControl-XMeysIb4.js} +1 -1
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-COszpwIP.js → RadioControlBase.vue_vue_type_script_setup_true_lang-DNk58ok_.js} +2 -2
- package/dist/{ResourceControlBase-DaMNlDhC.js → ResourceControlBase-Cb-kTuo7.js} +1 -1
- package/dist/{RichTextControl-Dekvygdy.js → RichTextControl-CSTA4KtX.js} +11597 -11237
- package/dist/{SectionHeading-DkmQqn9k.js → SectionHeading-DfNXhGka.js} +1 -1
- package/dist/{SectionLayout-CLqyOBZE.js → SectionLayout-Cvb0bcuV.js} +3 -3
- package/dist/SettingsSubPanel-Cmh54tK7.js +5 -0
- package/dist/{SettingsSubPanelLayout-DLplwwNG.js → SettingsSubPanelLayout-DsKmK0z6.js} +4 -4
- package/dist/{SimpleButtonControl-BIJ6K6qX.js → SimpleButtonControl-BXywCMI0.js} +1 -1
- package/dist/{SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ducup0yA.js → SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Wvr-HAK1.js} +11567 -11025
- package/dist/{SimpleTwinlistControl-BZWkpiSo.js → SimpleTwinlistControl-BVzlARWT.js} +2 -2
- package/dist/{SingleSelectControl-DAh9C1IS.js → SingleSelectControl-CK4sTVtC.js} +2 -2
- package/dist/{SingleSelectListBoxControl-C102okGc.js → SingleSelectListBoxControl-8GIwWAdl.js} +3 -3
- package/dist/{SortListControl-CVdl-xw-.js → SortListControl-Ba-x4yBo.js} +11 -11
- package/dist/{StyledListItem-C-a_11mo.js → StyledListItem-Joz4p472.js} +1 -1
- package/dist/{TeamAndSpacesControl-B9JZJBXv.js → TeamAndSpacesControl-Du2l4ecu.js} +5 -5
- package/dist/{TeamResourceControl-JJIgYaMY.js → TeamResourceControl-DWUGFJNZ.js} +1 -1
- package/dist/{TextAreaControl-DsJyw0Yv.js → TextAreaControl-BqZAHRQc.js} +1 -1
- package/dist/{TextControl-DnVGNtbx.js → TextControl-TRRzPYLK.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Bp4FZd2C.js → TextControl.vue_vue_type_script_setup_true_lang-BWoZVQit.js} +2 -2
- package/dist/{TimeControl-DGrWNVz_.js → TimeControl-CFA6Z_Cx.js} +3 -3
- package/dist/{TimeframesControl-DKaZAZeW.js → TimeframesControl-B4_L8eIq.js} +3 -4
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-CAk_iS6w.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-C0IdQ7wU.js} +2 -2
- package/dist/{TypedStringFilter-Cw5aL-PG.js → TypedStringFilter-Dop1UoHZ.js} +1 -1
- package/dist/{ValueSwitchControl-CE9z5s11.js → ValueSwitchControl-I59qm_KJ.js} +1 -1
- package/dist/{VerticalLayout-DDGwEUts.js → VerticalLayout-HY5-eEHt.js} +2 -2
- package/dist/{VerticalLayoutBase-Bv4ct09F.js → VerticalLayoutBase-3rqxH8Xh.js} +1 -1
- package/dist/ZonedDateTimeControl-Du9G9i_O.js +97 -0
- package/dist/{_Uint8Array-DGFCQcAO.js → _Uint8Array-C4-Afpp1.js} +36 -36
- package/dist/feedback-CSzO39Ck-_5Kb5BA8.js +22 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +7 -7
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +0 -1
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +1 -1
- package/dist/testing.js +2873 -2856
- package/dist/{useBuiltinValidations-C92yDv0y.js → useBuiltinValidations-gdKMBhCo.js} +1 -1
- package/dist/{usePossibleValues-Vlw1CCFD.js → usePossibleValues-dMl8kLBU.js} +1 -1
- package/dist/{useUnknownValuesInTwinlist-EXO9oOxf.js → useUnknownValuesInTwinlist-BmBKnWBC.js} +1 -1
- package/package.json +4 -4
- package/dist/DateTimeControl-CjqPP5Mu.js +0 -80
- package/dist/DateTimeFormatPickerWithTypeControl-DSrj0KvO.js +0 -587
- package/dist/SettingsSubPanel-BIKfyhCw.js +0 -5
- package/dist/ZonedDateTimeControl-yDCAQQ5B.js +0 -79
- package/dist/isArray-WzO_os3q.js +0 -4
- package/dist/src/composables/usePlainDateTimeBatch.d.ts +0 -31
- package/dist/src/uiComponents/richTextControl/DialogLinkModal.vue.d.ts +0 -22
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +0 -230
- package/dist/toString-DqZWnsFs.js +0 -24
- package/dist/useDropdownNavigation-CdrbT-CQ.js +0 -2003
- package/dist/usePlainDateTimeBatch-Bd2G-GY9.js +0 -34
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @knime/json-forms
|
|
2
2
|
|
|
3
|
+
## 1.23.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- c4733a0: Always hide controls when subpanel is shown
|
|
8
|
+
- 08d2b37: KDS-845: Migrate date time renderer to KDS
|
|
9
|
+
- 768cbfa: Stretch Labeled inputs
|
|
10
|
+
- 97e2c79: Integrate KdsRichTextInput for richTextRenderer
|
|
11
|
+
|
|
3
12
|
## 1.23.1
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as p, createBlock as t, mergeProps as r, unref as a } from "vue";
|
|
2
2
|
import { o as l } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import { _ as i } from "./TwinlistControlBase.vue_vue_type_script_setup_true_lang-
|
|
3
|
+
import { _ as i } from "./TwinlistControlBase.vue_vue_type_script_setup_true_lang-C0IdQ7wU.js";
|
|
4
4
|
const d = /* @__PURE__ */ s({
|
|
5
5
|
__name: "AnyOfTwinlist",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as r, ref as s, openBlock as d, createElementBlock as u, createElementVNode as c, createVNode as i, unref as b, renderSlot as a } from "vue";
|
|
2
|
-
import { a1 as v, _ as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-
|
|
2
|
+
import { a1 as v, _ as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Wvr-HAK1.js";
|
|
3
3
|
const f = { class: "checkbox-container" }, x = /* @__PURE__ */ r({
|
|
4
4
|
__name: "CheckboxControl",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as u, computed as l, ref as r, toRef as c, onMounted as i, openBlock as d, createBlock as m, unref as p, createCommentVNode as b } from "vue";
|
|
2
|
-
import { M as f } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-
|
|
2
|
+
import { M as f } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Wvr-HAK1.js";
|
|
3
3
|
import { o as h } from "./index-Blg1O3Fz.js";
|
|
4
|
-
import { u as v } from "./usePossibleValues-
|
|
4
|
+
import { u as v } from "./usePossibleValues-dMl8kLBU.js";
|
|
5
5
|
const F = /* @__PURE__ */ u({
|
|
6
6
|
__name: "CheckboxesControl",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, openBlock as o, createBlock as l, unref as t } from "vue";
|
|
2
|
-
import { O as n } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-
|
|
2
|
+
import { O as n } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Wvr-HAK1.js";
|
|
3
3
|
const c = /* @__PURE__ */ a({
|
|
4
4
|
__name: "ColorControl",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, openBlock as e, createElementBlock as o, createVNode as y, unref as p, computed as s, normalizeStyle as m, createBlock as d, Fragment as f, renderList as k } from "vue";
|
|
2
|
-
import { N as w, _ as v, u as C } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-
|
|
2
|
+
import { N as w, _ as v, u as C } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Wvr-HAK1.js";
|
|
3
3
|
const P = { class: "empty-state-wrapper" }, $ = /* @__PURE__ */ u({
|
|
4
4
|
__name: "ColorPreviewEmptyState",
|
|
5
5
|
setup(r) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as r, toRef as c, computed as a, openBlock as d, createBlock as b, unref as u } from "vue";
|
|
2
|
-
import { P as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-
|
|
3
|
-
import { u as v } from "./usePossibleValues-
|
|
2
|
+
import { P as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Wvr-HAK1.js";
|
|
3
|
+
import { u as v } from "./usePossibleValues-dMl8kLBU.js";
|
|
4
4
|
const w = /* @__PURE__ */ r({
|
|
5
5
|
__name: "ComboBoxControl",
|
|
6
6
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as l, computed as i, openBlock as d, createBlock as c, unref as u } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { W as s } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Wvr-HAK1.js";
|
|
3
3
|
import { p as m } from "./plainDateTimeUtils-CR0UhpkD.js";
|
|
4
4
|
import { U as p } from "./classApi-CHpAZrj3.js";
|
|
5
|
-
const
|
|
5
|
+
const y = /* @__PURE__ */ l({
|
|
6
6
|
__name: "DateControl",
|
|
7
7
|
props: {
|
|
8
8
|
control: {},
|
|
@@ -40,5 +40,5 @@ const x = /* @__PURE__ */ l({
|
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
export {
|
|
43
|
-
|
|
43
|
+
y as default
|
|
44
44
|
};
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { defineComponent as P, computed as l, ref as I, openBlock as v, createBlock as x, unref as h } from "vue";
|
|
2
|
+
import { V as L, W as w } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Wvr-HAK1.js";
|
|
3
|
+
import { p as n } from "./plainDateTimeUtils-CR0UhpkD.js";
|
|
4
|
+
import { U as T } from "./classApi-CHpAZrj3.js";
|
|
5
|
+
const R = /* @__PURE__ */ P({
|
|
6
|
+
__name: "DateTimeControl",
|
|
7
|
+
props: {
|
|
8
|
+
control: {},
|
|
9
|
+
handleChange: { type: Function },
|
|
10
|
+
changeValue: { type: Function },
|
|
11
|
+
disabled: { type: Boolean },
|
|
12
|
+
error: { type: Boolean },
|
|
13
|
+
subText: {},
|
|
14
|
+
onRegisterValidation: { type: Function },
|
|
15
|
+
labelForId: {}
|
|
16
|
+
},
|
|
17
|
+
setup(a) {
|
|
18
|
+
const t = a, o = l(() => t.control.uischema.options), p = l(() => o.value?.showTime ?? !0), D = l(
|
|
19
|
+
() => n.getMaxGranularity(o.value, {
|
|
20
|
+
showMilliseconds: !1
|
|
21
|
+
})
|
|
22
|
+
), c = (e) => {
|
|
23
|
+
if (typeof e != "string" || e === "")
|
|
24
|
+
return null;
|
|
25
|
+
try {
|
|
26
|
+
return T.PlainDate.from(e);
|
|
27
|
+
} catch {
|
|
28
|
+
return n.fromString(e).date;
|
|
29
|
+
}
|
|
30
|
+
}, f = l(
|
|
31
|
+
() => c(o.value?.minimum)
|
|
32
|
+
), g = l(
|
|
33
|
+
() => c(o.value?.maximum)
|
|
34
|
+
), d = I(
|
|
35
|
+
n.detectGranularity(t.control.data)
|
|
36
|
+
), U = l(() => {
|
|
37
|
+
const { date: e, time: u } = n.fromString(t.control.data);
|
|
38
|
+
return e === null ? null : e.toPlainDateTime(u ?? T.PlainTime.from("00:00:00"));
|
|
39
|
+
}), V = l(
|
|
40
|
+
() => n.fromString(t.control.data).date
|
|
41
|
+
);
|
|
42
|
+
let r, i, m = !1;
|
|
43
|
+
const S = () => {
|
|
44
|
+
m = !1;
|
|
45
|
+
const e = i ?? d.value, u = r !== void 0, B = i !== void 0, s = r;
|
|
46
|
+
if (r = void 0, i = void 0, d.value = e, u) {
|
|
47
|
+
if (s === null) {
|
|
48
|
+
t.changeValue("");
|
|
49
|
+
return;
|
|
50
|
+
}
|
|
51
|
+
t.changeValue(
|
|
52
|
+
n.toString(
|
|
53
|
+
s.toPlainDate(),
|
|
54
|
+
s.toPlainTime(),
|
|
55
|
+
e
|
|
56
|
+
)
|
|
57
|
+
);
|
|
58
|
+
return;
|
|
59
|
+
}
|
|
60
|
+
if (B) {
|
|
61
|
+
const { date: y, time: M } = n.fromString(t.control.data);
|
|
62
|
+
y && t.changeValue(n.toString(y, M, e));
|
|
63
|
+
}
|
|
64
|
+
}, b = () => {
|
|
65
|
+
m || (m = !0, queueMicrotask(S));
|
|
66
|
+
}, F = (e) => {
|
|
67
|
+
r = e, b();
|
|
68
|
+
}, G = (e) => {
|
|
69
|
+
i = e, b();
|
|
70
|
+
}, k = (e) => {
|
|
71
|
+
t.changeValue(e === null ? "" : e.toString());
|
|
72
|
+
};
|
|
73
|
+
return (e, u) => p.value ? (v(), x(h(L), {
|
|
74
|
+
key: 0,
|
|
75
|
+
id: a.labelForId,
|
|
76
|
+
ariaLabel: a.control.label,
|
|
77
|
+
"model-value": U.value,
|
|
78
|
+
"min-date": f.value,
|
|
79
|
+
"max-date": g.value,
|
|
80
|
+
granularity: d.value,
|
|
81
|
+
"max-granularity": D.value,
|
|
82
|
+
disabled: a.disabled,
|
|
83
|
+
error: a.error,
|
|
84
|
+
"sub-text": a.subText,
|
|
85
|
+
"onUpdate:modelValue": F,
|
|
86
|
+
"onUpdate:granularity": G
|
|
87
|
+
}, null, 8, ["id", "ariaLabel", "model-value", "min-date", "max-date", "granularity", "max-granularity", "disabled", "error", "sub-text"])) : (v(), x(h(w), {
|
|
88
|
+
key: 1,
|
|
89
|
+
id: a.labelForId,
|
|
90
|
+
ariaLabel: a.control.label,
|
|
91
|
+
"model-value": V.value,
|
|
92
|
+
"min-date": f.value,
|
|
93
|
+
"max-date": g.value,
|
|
94
|
+
disabled: a.disabled,
|
|
95
|
+
error: a.error,
|
|
96
|
+
"sub-text": a.subText,
|
|
97
|
+
"onUpdate:modelValue": k
|
|
98
|
+
}, null, 8, ["id", "ariaLabel", "model-value", "min-date", "max-date", "disabled", "error", "sub-text"]));
|
|
99
|
+
}
|
|
100
|
+
});
|
|
101
|
+
export {
|
|
102
|
+
R as default
|
|
103
|
+
};
|
package/dist/{DateTimeFormatPickerControl-JVgCROnR.js → DateTimeFormatPickerControl-BgbUloew.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, computed as a, openBlock as u, createBlock as c, unref as l } from "vue";
|
|
2
|
-
import { u as i, Q as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-
|
|
2
|
+
import { u as i, Q as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Wvr-HAK1.js";
|
|
3
3
|
const h = /* @__PURE__ */ s({
|
|
4
4
|
__name: "DateTimeFormatPickerControl",
|
|
5
5
|
props: {
|