@knime/jsonforms 1.21.12 → 1.21.14
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 +15 -0
- package/dist/{AnyOfTwinlist-okh3acrL.js → AnyOfTwinlist-CV39JeCp.js} +1 -1
- package/dist/{CheckboxControl-WvUWHssa.js → CheckboxControl-CS4nuJTP.js} +1 -1
- package/dist/{CheckboxesControl-FdF0BBj6.js → CheckboxesControl-DXJMkZ49.js} +2 -2
- package/dist/{ColorControl-DoojVQVN.js → ColorControl-CpBVJh38.js} +1 -1
- package/dist/{ColorPreviewControl-BbltK_sQ.js → ColorPreviewControl-0VK3OqwY.js} +1 -1
- package/dist/{ComboBoxControl-CUld4KT6.js → ComboBoxControl-avfNedsG.js} +4 -4
- package/dist/DateControl-B8E0JEIV.js +42 -0
- package/dist/DateTimeControl-DPjGzRqg.js +78 -0
- package/dist/{DateTimeFormatPickerControl-DIKJ38Cu.js → DateTimeFormatPickerControl-Cx3yfT3O.js} +1 -1
- package/dist/DateTimeFormatPickerWithTypeControl-CodEVQG_.js +586 -0
- package/dist/{DropdownControl-C5lnjQYg.js → DropdownControl-DEggcwK1.js} +2 -2
- package/dist/{ExecutorCoresControl-CfgW_CAA.js → ExecutorCoresControl-CvCVcaHM.js} +1 -1
- package/dist/{ExecutorMemoryControl-DQ5K142Z.js → ExecutorMemoryControl-CpbVJNq4.js} +1 -1
- package/dist/{FileUploadControl-BHA9VMk6.js → FileUploadControl-CNUi9QfR.js} +21 -21
- package/dist/{GridSelectionControl-_y030flL.js → GridSelectionControl-HV2yNE4R.js} +14 -14
- package/dist/{HorizontalLayout-aR7lYnE1.js → HorizontalLayout-Cqf3hzxv.js} +1 -1
- package/dist/{IntegerControl-BiWKa6qP.js → IntegerControl-Ba5QkLCa.js} +1 -1
- package/dist/IntervalControl-DlLV8RQr.js +48 -0
- package/dist/{LinkControl-CloaPEeg.js → LinkControl-COH9jvPg.js} +4 -4
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-CIHUkMU_.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-Cir2ym2M.js} +5 -5
- package/dist/{ManualTwinlistControl-C8duERky.js → ManualTwinlistControl-jJGxlq9j.js} +3 -3
- package/dist/{MultiSelectListBoxControl-BVd9aG_L.js → MultiSelectListBoxControl-DcWDraNF.js} +12 -12
- package/dist/{MultimodeTwinlistControl-Cpn3Obqv.js → MultimodeTwinlistControl-B-rEhgKQ.js} +1 -1
- package/dist/{MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-BWDpSwd8.js → MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-yhmiIg95.js} +5 -5
- package/dist/{NameFilter-DiGEe3xM.js → NameFilter-BFKNf9cO.js} +1 -1
- package/dist/{NumberControl-CLqg9R1h.js → NumberControl-BAxGZy_4.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-BmD_chMa.js → NumberControlBase.vue_vue_type_script_setup_true_lang-Dlxx71hk.js} +2 -2
- package/dist/{OneOfDropdown-C-uZgb2n.js → OneOfDropdown-DcetHKT5.js} +4 -4
- package/dist/{RadioButtonsWithDescriptionControl-B-7qAPKi.js → RadioButtonsWithDescriptionControl-pZ0gJ6iz.js} +4 -4
- package/dist/{RadioControl-1uSlBli9.js → RadioControl-B8-nxddP.js} +1 -1
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-D9p-74CQ.js → RadioControlBase.vue_vue_type_script_setup_true_lang-8xWE-iQR.js} +8 -8
- package/dist/ResourceControlBase-ZMTuwwL2.js +86 -0
- package/dist/{RichTextControl-DP_G9eeL.js → RichTextControl-kptCYz2A.js} +5874 -4964
- package/dist/{SectionHeading-DXTZxEqf.js → SectionHeading-MlqCj5BS.js} +1 -1
- package/dist/{SectionLayout-7ccuUrYw.js → SectionLayout-nV1GnghP.js} +3 -3
- package/dist/SettingsSubPanel-Z6urYwz1.js +5 -0
- package/dist/{SettingsSubPanelLayout-yLYlXH0u.js → SettingsSubPanelLayout-BNMJbUsL.js} +4 -4
- package/dist/{SimpleButtonControl-CDWXL2xf.js → SimpleButtonControl-DZFYl2H3.js} +8 -8
- package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js +27089 -0
- package/dist/{SimpleTwinlistControl-BNCs9d3G.js → SimpleTwinlistControl-Ds2BQOoO.js} +2 -2
- package/dist/{SingleSelectControl-C6_AaIOD.js → SingleSelectControl-CLv_Mah-.js} +2 -2
- package/dist/{SingleSelectListBoxControl-SaXGIZu1.js → SingleSelectListBoxControl-DM_5t3Nv.js} +3 -3
- package/dist/{SortListControl-CE-fFPEt.js → SortListControl-COd0WHwd.js} +1 -1
- package/dist/{StyledListItem-CVxAhfg9.js → StyledListItem-D3NbpWl3.js} +1 -1
- package/dist/{TeamAndSpacesControl-BbnSrDDM.js → TeamAndSpacesControl-A8mWrSE4.js} +1 -1
- package/dist/{TeamResourceControl-BzK-poDQ.js → TeamResourceControl-CAgwzjRZ.js} +1 -1
- package/dist/{TextAreaControl-CV31xMV2.js → TextAreaControl-DRBGqA7a.js} +1 -1
- package/dist/{TextControl-Cd8b0ciV.js → TextControl--Tw-AE3y.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Dy33yTWA.js → TextControl.vue_vue_type_script_setup_true_lang-PdbUWJUv.js} +2 -2
- package/dist/TimeControl-D_hEPt2Z.js +69 -0
- package/dist/TimeframesControl-EKcriaC8.js +345 -0
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-CEd5Mao3.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-BRq0ANwm.js} +2 -2
- package/dist/{TypedStringFilter-NxkEmoJG.js → TypedStringFilter-UUuSnJNk.js} +1 -1
- package/dist/{ValueSwitchControl-DSQYeBjc.js → ValueSwitchControl-BwERUIyr.js} +1 -1
- package/dist/{VerticalLayout-B0nfyfhR.js → VerticalLayout-BET3pZ_K.js} +2 -2
- package/dist/{VerticalLayoutBase-CsDLPDdW.js → VerticalLayoutBase-HYtDwVLA.js} +1 -1
- package/dist/ZonedDateTimeControl-CsbZwGMX.js +77 -0
- package/dist/{_Uint8Array-CZYa_ni2.js → _Uint8Array-DJimCh8a.js} +5 -7
- package/dist/classApi-CHpAZrj3.js +3328 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +7 -7
- package/dist/plainDateTimeUtils-CR0UhpkD.js +52 -0
- package/dist/src/composables/usePlainDateTimeBatch.d.ts +31 -0
- package/dist/src/uiComponents/DateControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/TimeControl.vue.d.ts +1 -1
- package/dist/src/utils/plainDateTimeUtils.d.ts +66 -0
- package/dist/testing.js +4285 -3982
- package/dist/{toString-CLKrIkFV.js → toString-B8vqfiDe.js} +3 -4
- package/dist/{useBuiltinValidations-DiMyBW0e.js → useBuiltinValidations-CzYsm8oq.js} +1 -1
- package/dist/useDropdownNavigation-CdrbT-CQ.js +2003 -0
- package/dist/usePlainDateTimeBatch-Bd2G-GY9.js +34 -0
- package/dist/{usePossibleValues--Oc7RF2X.js → usePossibleValues-CGt7yrJ6.js} +1 -1
- package/dist/{useUnknownValuesInTwinlist-Tb5xfKVI.js → useUnknownValuesInTwinlist-Bez1tY4_.js} +1 -1
- package/package.json +7 -11
- package/dist/DateControl-BY2P3mI9.js +0 -35
- package/dist/DateTimeControl-y0PRMQPw.js +0 -44
- package/dist/DateTimeFormatPickerWithTypeControl-BxT897aw.js +0 -464
- package/dist/IntervalControl-VJCTzAIh.js +0 -751
- package/dist/ResourceControlBase-Dc_hzlRC.js +0 -69
- package/dist/SettingsSubPanel-x2JfGeo0.js +0 -5
- package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BDEWXlve.js +0 -28302
- package/dist/TimeControl-BVtkHiqK.js +0 -35
- package/dist/TimePartInput-BXq9OsnT.js +0 -254
- package/dist/TimeframesControl-Cj7ecpdC.js +0 -87
- package/dist/Tooltip-ClY9sTfM.js +0 -24
- package/dist/ValueSwitch-CZZKbbiG.js +0 -130
- package/dist/ZonedDateTimeControl-CuS1pIG-.js +0 -66
- package/dist/_baseIteratee-BHa5eKgU.js +0 -308
- package/dist/arrow-dropdown-DMFBPPcK.js +0 -17
- package/dist/floating-ui.vue-Bk6u3tWN.js +0 -1060
- package/dist/localTimeUtils-BKrpWptT.js +0 -12315
- package/dist/popper-iehk3xNV.js +0 -923
- package/dist/src/utils/localTimeUtils.d.ts +0 -18
- package/dist/useDropdownNavigation-EOwf_fL0.js +0 -946
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @knime/json-forms
|
|
2
2
|
|
|
3
|
+
## 1.21.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- acc5bf7: KDS-762: Use KDS Date, Time and Interval inputs
|
|
8
|
+
|
|
9
|
+
## 1.21.13
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- 80c0225: Update uuid to 14.0.0 to fix GHSA-w5hq-g745-h8pq
|
|
14
|
+
- Updated dependencies [80c0225]
|
|
15
|
+
- @knime/components@1.46.6
|
|
16
|
+
- @knime/rich-text-editor@1.8.23
|
|
17
|
+
|
|
3
18
|
## 1.21.12
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as p, createBlock as a, mergeProps as t, unref as r } 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-BRq0ANwm.js";
|
|
4
4
|
const _ = /* @__PURE__ */ s({
|
|
5
5
|
__name: "AnyOfTwinlist",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, ref as d, openBlock as r, createElementBlock as i, createElementVNode as u, createVNode as c, unref as v, renderSlot as a } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a0 as b, _ as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
3
|
const f = { class: "checkbox-container" }, p = /* @__PURE__ */ s({
|
|
4
4
|
__name: "CheckboxControl",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as c, computed as n, ref as i, toRef as r, onMounted as u, openBlock as d, createBlock as m, unref as p, createCommentVNode as b } from "vue";
|
|
2
|
-
import { J as f, _ as h } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
2
|
+
import { J as f, _ as h } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
3
|
import { o as v } from "./index-Blg1O3Fz.js";
|
|
4
|
-
import { u as V } from "./usePossibleValues
|
|
4
|
+
import { u as V } from "./usePossibleValues-CGt7yrJ6.js";
|
|
5
5
|
const y = /* @__PURE__ */ c({
|
|
6
6
|
__name: "CheckboxesControl",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, openBlock as l, createBlock as o, unref as n } from "vue";
|
|
2
|
-
import { N as t } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
2
|
+
import { N as t } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
3
|
const u = /* @__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 { M as w, _ as v, u as C } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
2
|
+
import { M as w, _ as v, u as C } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
3
|
const P = { class: "empty-state-wrapper" }, $ = /* @__PURE__ */ u({
|
|
4
4
|
__name: "ColorPreviewEmptyState",
|
|
5
5
|
setup(a) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as d, toRef as c, computed as a, openBlock as r, createBlock as
|
|
2
|
-
import { O as
|
|
3
|
-
import { u as p } from "./usePossibleValues
|
|
1
|
+
import { defineComponent as d, toRef as c, computed as a, openBlock as r, createBlock as b, unref as i } from "vue";
|
|
2
|
+
import { O as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
|
+
import { u as p } from "./usePossibleValues-CGt7yrJ6.js";
|
|
4
4
|
const w = /* @__PURE__ */ d({
|
|
5
5
|
__name: "ComboBoxControl",
|
|
6
6
|
props: {
|
|
@@ -20,7 +20,7 @@ const w = /* @__PURE__ */ d({
|
|
|
20
20
|
), u = a(
|
|
21
21
|
() => l.disabled || n.value && s.value
|
|
22
22
|
);
|
|
23
|
-
return (v, V) => (r(),
|
|
23
|
+
return (v, V) => (r(), b(i(m), {
|
|
24
24
|
id: e.labelForId,
|
|
25
25
|
"model-value": e.control.data,
|
|
26
26
|
"allow-new-values": !s.value,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineComponent as r, computed as i, openBlock as d, createBlock as c, unref as m } from "vue";
|
|
2
|
+
import { T as s } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
|
+
import { p as u } from "./plainDateTimeUtils-CR0UhpkD.js";
|
|
4
|
+
import { U as p } from "./classApi-CHpAZrj3.js";
|
|
5
|
+
const y = /* @__PURE__ */ r({
|
|
6
|
+
__name: "DateControl",
|
|
7
|
+
props: {
|
|
8
|
+
control: {},
|
|
9
|
+
handleChange: { type: Function },
|
|
10
|
+
changeValue: { type: Function },
|
|
11
|
+
disabled: { type: Boolean },
|
|
12
|
+
isValid: { type: Boolean },
|
|
13
|
+
onRegisterValidation: { type: Function },
|
|
14
|
+
labelForId: {}
|
|
15
|
+
},
|
|
16
|
+
setup(a) {
|
|
17
|
+
const o = a, t = (e) => {
|
|
18
|
+
if (!e)
|
|
19
|
+
return null;
|
|
20
|
+
try {
|
|
21
|
+
return p.PlainDate.from(e);
|
|
22
|
+
} catch {
|
|
23
|
+
return u.fromString(e).date;
|
|
24
|
+
}
|
|
25
|
+
}, n = i(
|
|
26
|
+
() => t(o.control.data)
|
|
27
|
+
), l = (e) => {
|
|
28
|
+
o.changeValue(e?.toString() ?? "");
|
|
29
|
+
};
|
|
30
|
+
return (e, f) => (d(), c(m(s), {
|
|
31
|
+
id: a.labelForId,
|
|
32
|
+
ariaLabel: o.control.label,
|
|
33
|
+
"model-value": n.value,
|
|
34
|
+
disabled: a.disabled,
|
|
35
|
+
error: !a.isValid,
|
|
36
|
+
"onUpdate:modelValue": l
|
|
37
|
+
}, null, 8, ["id", "ariaLabel", "model-value", "disabled", "error"]));
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
export {
|
|
41
|
+
y as default
|
|
42
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { defineComponent as x, computed as o, openBlock as u, createElementBlock as D, normalizeClass as C, createVNode as T, unref as e, createBlock as U, createCommentVNode as B } from "vue";
|
|
2
|
+
import { T as F, V as _, _ as k } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
|
+
import { u as w } from "./usePlainDateTimeBatch-Bd2G-GY9.js";
|
|
4
|
+
import { p as i } from "./plainDateTimeUtils-CR0UhpkD.js";
|
|
5
|
+
import { U as L } from "./classApi-CHpAZrj3.js";
|
|
6
|
+
const P = /* @__PURE__ */ x({
|
|
7
|
+
__name: "DateTimeControl",
|
|
8
|
+
props: {
|
|
9
|
+
control: {},
|
|
10
|
+
handleChange: { type: Function },
|
|
11
|
+
changeValue: { type: Function },
|
|
12
|
+
disabled: { type: Boolean },
|
|
13
|
+
isValid: { type: Boolean },
|
|
14
|
+
onRegisterValidation: { type: Function },
|
|
15
|
+
labelForId: {}
|
|
16
|
+
},
|
|
17
|
+
setup(t) {
|
|
18
|
+
const n = t, l = o(() => n.control.uischema.options), r = o(() => l.value?.showTime ?? !0), s = o(
|
|
19
|
+
() => i.getMaxGranularity(l.value)
|
|
20
|
+
), m = (a) => {
|
|
21
|
+
if (typeof a != "string" || a === "")
|
|
22
|
+
return null;
|
|
23
|
+
try {
|
|
24
|
+
return L.PlainDate.from(a);
|
|
25
|
+
} catch {
|
|
26
|
+
return i.fromString(a).date;
|
|
27
|
+
}
|
|
28
|
+
}, c = o(
|
|
29
|
+
() => m(l.value?.minimum)
|
|
30
|
+
), p = o(
|
|
31
|
+
() => m(l.value?.maximum)
|
|
32
|
+
), {
|
|
33
|
+
datePart: g,
|
|
34
|
+
timePart: y,
|
|
35
|
+
granularity: f,
|
|
36
|
+
onDateChange: b,
|
|
37
|
+
onTimeChange: h,
|
|
38
|
+
onGranularityChange: V
|
|
39
|
+
} = w({
|
|
40
|
+
getDateTime: () => n.control.data,
|
|
41
|
+
commit: (a, d, v) => {
|
|
42
|
+
if (!r.value) {
|
|
43
|
+
n.changeValue(a === null ? "" : a.toString());
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
n.changeValue(i.toString(a, d, v));
|
|
47
|
+
}
|
|
48
|
+
});
|
|
49
|
+
return (a, d) => (u(), D("div", {
|
|
50
|
+
class: C(["date-time-row", { "date-only": !r.value }])
|
|
51
|
+
}, [
|
|
52
|
+
T(e(F), {
|
|
53
|
+
id: t.labelForId,
|
|
54
|
+
ariaLabel: `${n.control.label} date`,
|
|
55
|
+
"model-value": e(g),
|
|
56
|
+
disabled: t.disabled,
|
|
57
|
+
error: !t.isValid,
|
|
58
|
+
"min-date": c.value,
|
|
59
|
+
"max-date": p.value,
|
|
60
|
+
"onUpdate:modelValue": e(b)
|
|
61
|
+
}, null, 8, ["id", "ariaLabel", "model-value", "disabled", "error", "min-date", "max-date", "onUpdate:modelValue"]),
|
|
62
|
+
r.value ? (u(), U(e(_), {
|
|
63
|
+
key: 0,
|
|
64
|
+
ariaLabel: `${n.control.label} time`,
|
|
65
|
+
"model-value": e(y),
|
|
66
|
+
granularity: e(f),
|
|
67
|
+
"max-granularity": s.value,
|
|
68
|
+
disabled: t.disabled,
|
|
69
|
+
error: !t.isValid,
|
|
70
|
+
"onUpdate:modelValue": e(h),
|
|
71
|
+
"onUpdate:granularity": e(V)
|
|
72
|
+
}, null, 8, ["ariaLabel", "model-value", "granularity", "max-granularity", "disabled", "error", "onUpdate:modelValue", "onUpdate:granularity"])) : B("", !0)
|
|
73
|
+
], 2));
|
|
74
|
+
}
|
|
75
|
+
}), z = /* @__PURE__ */ k(P, [["__scopeId", "data-v-5e01466d"]]);
|
|
76
|
+
export {
|
|
77
|
+
z as default
|
|
78
|
+
};
|
package/dist/{DateTimeFormatPickerControl-DIKJ38Cu.js → DateTimeFormatPickerControl-Cx3yfT3O.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as i, computed as a, openBlock as s, createBlock as c, unref as t } from "vue";
|
|
2
|
-
import { u as m, P as u } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
2
|
+
import { u as m, P as u } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
|
|
3
3
|
const h = /* @__PURE__ */ i({
|
|
4
4
|
__name: "DateTimeFormatPickerControl",
|
|
5
5
|
props: {
|