@knime/jsonforms 1.23.1 → 2.0.0
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-B_UW1LI0.js → AnyOfTwinlist-DQ5NAJAC.js} +1 -1
- package/dist/{CheckboxControl-BMyOusAA.js → CheckboxControl-B697Nh6H.js} +1 -1
- package/dist/{CheckboxesControl-CkeTdrFS.js → CheckboxesControl-BPY2hV34.js} +2 -2
- package/dist/{ColorControl-CAL0L6L4.js → ColorControl-BT8Y9v_R.js} +1 -1
- package/dist/{ColorPreviewControl-DvKX8YeB.js → ColorPreviewControl-Cc7g0byT.js} +1 -1
- package/dist/{ComboBoxControl-CbMBzHre.js → ComboBoxControl-Db5c4vYz.js} +2 -2
- package/dist/{DateControl-RJtZbKPy.js → DateControl-qd8SQlgh.js} +3 -3
- package/dist/DateTimeControl-DZzgpurI.js +103 -0
- package/dist/{DateTimeFormatPickerControl-JVgCROnR.js → DateTimeFormatPickerControl-Dl8Moc8r.js} +1 -1
- package/dist/{DropdownControl-CPfIoin1.js → DropdownControl-Dh6rUinV.js} +2 -2
- package/dist/{ExecutorCoresControl-gLv8RzqL.js → ExecutorCoresControl-B82QVs-J.js} +1 -1
- package/dist/{ExecutorMemoryControl-swyZuGDr.js → ExecutorMemoryControl-D-Vep0F6.js} +1 -1
- package/dist/{FileUploadControl-Db66TCRo.js → FileUploadControl-lsK182v6.js} +41 -42
- package/dist/{GridSelectionControl-Djn2T13y.js → GridSelectionControl-CeDwjq64.js} +11 -11
- package/dist/{HorizontalLayout-IQQdI26A.js → HorizontalLayout-BhFSfTps.js} +1 -1
- package/dist/{IntegerControl-j0BdGN1e.js → IntegerControl-BId5Z5ve.js} +1 -1
- package/dist/{IntervalControl-CwrYRFKJ.js → IntervalControl-Byk71q_G.js} +1 -1
- package/dist/{LinkControl-fG24M9KW.js → LinkControl-DR1fgxx2.js} +1 -1
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-DoE3qoLb.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-CPTYBzJt.js} +1 -1
- package/dist/{ManualTwinlistControl-BuTbAWnH.js → ManualTwinlistControl-CUsibWlr.js} +3 -3
- package/dist/{MultiSelectListBoxControl-BXGwgWs_.js → MultiSelectListBoxControl-B1X8p_-e.js} +7 -7
- package/dist/{MultimodeTwinlistControl-D-gl_pVW.js → MultimodeTwinlistControl-Bgy1E-cm.js} +1 -1
- package/dist/{MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-D_r7uwKB.js → MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-DP1f6Yo9.js} +6 -6
- package/dist/{NameFilter-BVT5yrA-.js → NameFilter-CW6JocdO.js} +1 -1
- package/dist/{NumberControl-vAh5HuIS.js → NumberControl-edz2z4gt.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-DvCAjhNZ.js → NumberControlBase.vue_vue_type_script_setup_true_lang-LVtEPU6U.js} +4 -4
- package/dist/{OneOfDropdown-Bm5FQ6NA.js → OneOfDropdown-BrQ1NJTF.js} +1 -1
- package/dist/{ProgressButtonControl-brC36qlg.js → ProgressButtonControl-Y4zUKcqB.js} +1 -1
- package/dist/{RadioButtonsWithDescriptionControl-S1OeqZ0i.js → RadioButtonsWithDescriptionControl-CTWjbCOC.js} +1 -1
- package/dist/{RadioControl-Cfe_kYfb.js → RadioControl-B3XZEbUd.js} +1 -1
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-COszpwIP.js → RadioControlBase.vue_vue_type_script_setup_true_lang-Cf9glDyf.js} +2 -2
- package/dist/{ResourceControlBase-DaMNlDhC.js → ResourceControlBase-2j_3xXUs.js} +3 -3
- package/dist/{RichTextControl-Dekvygdy.js → RichTextControl-b2SZcRMO.js} +11597 -11237
- package/dist/{SectionHeading-DkmQqn9k.js → SectionHeading-MRWfv3_y.js} +1 -1
- package/dist/{SectionLayout-CLqyOBZE.js → SectionLayout-kmJ9_YSC.js} +3 -3
- package/dist/SettingsSubPanel-BIG6WbbH.js +5 -0
- package/dist/{SettingsSubPanelLayout-DLplwwNG.js → SettingsSubPanelLayout-BN-oFfiP.js} +4 -4
- package/dist/{SimpleButtonControl-BIJ6K6qX.js → SimpleButtonControl-BSws5971.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-C_cPLZAX.js} +12530 -12071
- package/dist/{SimpleTwinlistControl-BZWkpiSo.js → SimpleTwinlistControl-74gVwmxY.js} +2 -2
- package/dist/{SingleSelectControl-DAh9C1IS.js → SingleSelectControl-BVDWd50n.js} +2 -2
- package/dist/{SingleSelectListBoxControl-C102okGc.js → SingleSelectListBoxControl-Buv7eL4z.js} +3 -3
- package/dist/{SortListControl-CVdl-xw-.js → SortListControl-CFvZn4Z8.js} +8 -8
- package/dist/{StyledListItem-C-a_11mo.js → StyledListItem-B7ZkCGy7.js} +1 -1
- package/dist/{TeamAndSpacesControl-B9JZJBXv.js → TeamAndSpacesControl-YSk8oOLS.js} +9 -9
- package/dist/{TeamResourceControl-JJIgYaMY.js → TeamResourceControl-CNkQwBGP.js} +1 -1
- package/dist/{TextAreaControl-DsJyw0Yv.js → TextAreaControl-DpWSvjxM.js} +1 -1
- package/dist/{TextControl-DnVGNtbx.js → TextControl-CTXjc4_c.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Bp4FZd2C.js → TextControl.vue_vue_type_script_setup_true_lang-BZer_GIG.js} +2 -2
- package/dist/{TimeControl-DGrWNVz_.js → TimeControl-D2s46aHK.js} +3 -3
- package/dist/{TimeframesControl-DKaZAZeW.js → TimeframesControl-DmmbHvkm.js} +3 -4
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-CAk_iS6w.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-sbb6a5M1.js} +2 -2
- package/dist/{TypedStringFilter-Cw5aL-PG.js → TypedStringFilter-yhhobolz.js} +1 -1
- package/dist/{ValueSwitchControl-CE9z5s11.js → ValueSwitchControl-DAwIxuHE.js} +1 -1
- package/dist/{VerticalLayout-DDGwEUts.js → VerticalLayout-Cg1kpAsr.js} +2 -2
- package/dist/{VerticalLayoutBase-Bv4ct09F.js → VerticalLayoutBase-DXiq-ttd.js} +1 -1
- package/dist/ZonedDateTimeControl-DCVlCG4r.js +97 -0
- package/dist/{_Uint8Array-DGFCQcAO.js → _Uint8Array-B9VMTk2r.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/constants/inputFormats.d.ts +0 -1
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +0 -1
- package/dist/src/renderers/dateTimeFormatPickerRenderer.d.ts +0 -1
- package/dist/src/renderers/defaultRenderers.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-00cKvChy.js} +1 -1
- package/dist/{usePossibleValues-Vlw1CCFD.js → usePossibleValues-B4dYuNUk.js} +1 -1
- package/dist/{useUnknownValuesInTwinlist-EXO9oOxf.js → useUnknownValuesInTwinlist-DSvYHoTD.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/DateTimeFormatPickerWithTypeControl.vue.d.ts +0 -5
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, toRef as l, openBlock as r, createBlock as a, mergeProps as p, unref as i } from "vue";
|
|
2
|
-
import { u as c } from "./usePossibleValues-
|
|
3
|
-
import { _ as u } from "./TwinlistControlBase.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as c } from "./usePossibleValues-B4dYuNUk.js";
|
|
3
|
+
import { _ as u } from "./TwinlistControlBase.vue_vue_type_script_setup_true_lang-sbb6a5M1.js";
|
|
4
4
|
const y = /* @__PURE__ */ s({
|
|
5
5
|
__name: "SimpleTwinlistControl",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as I, computed as c, toRef as y, openBlock as v, createBlock as $ } from "vue";
|
|
2
|
-
import { u as F } from "./usePossibleValues-
|
|
3
|
-
import { _ as R } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { u as F } from "./usePossibleValues-B4dYuNUk.js";
|
|
3
|
+
import { _ as R } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-CPTYBzJt.js";
|
|
4
4
|
const i = "__special__", a = "__regular__", P = /* @__PURE__ */ I({
|
|
5
5
|
__name: "SingleSelectControl",
|
|
6
6
|
props: {
|
package/dist/{SingleSelectListBoxControl-C102okGc.js → SingleSelectListBoxControl-Buv7eL4z.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveComponent as x, openBlock as a, createElementBlock as u, normalizeClass as c, createElementVNode as p, normalizeStyle as h, Fragment as y, renderList as V, createBlock as f, defineComponent as I, toRef as g, unref as r, createCommentVNode as v } from "vue";
|
|
2
|
-
import { u as S } from "./usePossibleValues-
|
|
3
|
-
import { S as C } from "./StyledListItem-
|
|
4
|
-
import { _ as L,
|
|
2
|
+
import { u as S } from "./usePossibleValues-B4dYuNUk.js";
|
|
3
|
+
import { S as C } from "./StyledListItem-B7ZkCGy7.js";
|
|
4
|
+
import { _ as L, a4 as B } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-C_cPLZAX.js";
|
|
5
5
|
const w = 40, H = 38, T = 36, K = 35, k = {
|
|
6
6
|
name: "ListBox",
|
|
7
7
|
components: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as V, computed as i, onMounted as g, watch as k, openBlock as I, createBlock as U, unref as y } from "vue";
|
|
2
|
-
import { u as L,
|
|
2
|
+
import { u as L, ae as F } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-C_cPLZAX.js";
|
|
3
3
|
function S(e, n, t, o) {
|
|
4
4
|
for (var l = e.length, s = t + -1; ++s < l; )
|
|
5
5
|
if (n(e[s], s, e))
|
|
@@ -66,9 +66,9 @@ const B = "<any unknown new column>", D = /* @__PURE__ */ V({
|
|
|
66
66
|
special: !0
|
|
67
67
|
})
|
|
68
68
|
)
|
|
69
|
-
),
|
|
69
|
+
), f = (a) => {
|
|
70
70
|
if (t.value.length === 0) {
|
|
71
|
-
|
|
71
|
+
b();
|
|
72
72
|
return;
|
|
73
73
|
}
|
|
74
74
|
const u = A(t.value, l.value);
|
|
@@ -76,13 +76,13 @@ const B = "<any unknown new column>", D = /* @__PURE__ */ V({
|
|
|
76
76
|
throw new Error(
|
|
77
77
|
`SortList data have to contain the value "${l.value}"`
|
|
78
78
|
);
|
|
79
|
-
const m = t.value.slice(0, u + 1), x = t.value.slice(u + 1), w = new Set(t.value),
|
|
80
|
-
|
|
79
|
+
const m = t.value.slice(0, u + 1), x = t.value.slice(u + 1), w = new Set(t.value), v = a.map(({ id: r }) => r).filter((r) => !w.has(r));
|
|
80
|
+
v.length > 0 && n.changeValue(m.concat(v, x));
|
|
81
81
|
};
|
|
82
82
|
g(() => {
|
|
83
|
-
|
|
84
|
-
}), k(() => c.value,
|
|
85
|
-
const
|
|
83
|
+
f(c.value);
|
|
84
|
+
}), k(() => c.value, f);
|
|
85
|
+
const b = () => {
|
|
86
86
|
n.changeValue(h.value.map(({ id: a }) => a));
|
|
87
87
|
}, p = (a) => {
|
|
88
88
|
n.changeValue(a);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as s, createElementBlock as n, mergeProps as d, withModifiers as o, renderSlot as a, createTextVNode as m, toDisplayString as f } from "vue";
|
|
2
|
-
import { _ as u } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-
|
|
2
|
+
import { _ as u } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-C_cPLZAX.js";
|
|
3
3
|
const r = {
|
|
4
4
|
name: "StyledListItem",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as S, ref as r, computed as l, openBlock as I, createElementBlock as y, createElementVNode as m, createVNode as v, unref as b } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
const x = { class: "team-and-space" },
|
|
2
|
+
import { V, _ as C } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-C_cPLZAX.js";
|
|
3
|
+
const x = { class: "team-and-space" }, A = { class: "team" }, B = { class: "space" }, F = /* @__PURE__ */ S({
|
|
4
4
|
__name: "TeamAndSpacesControl",
|
|
5
5
|
props: {
|
|
6
6
|
control: {},
|
|
@@ -13,9 +13,9 @@ const x = { class: "team-and-space" }, B = { class: "team" }, F = { class: "spac
|
|
|
13
13
|
labelForId: {}
|
|
14
14
|
},
|
|
15
15
|
setup(d) {
|
|
16
|
-
const o = d, n = r(""), a = r(""),
|
|
16
|
+
const o = d, n = r(""), a = r(""), f = l(
|
|
17
17
|
() => o.control.uischema
|
|
18
|
-
), u = l(() =>
|
|
18
|
+
), u = l(() => f.value.options), i = l(() => u.value?.possibleTeams ?? []), p = l(() => u.value?.possibleSpaces ?? []), c = l(
|
|
19
19
|
() => p.value.find(({ id: s }) => s === n.value)?.spaces ?? []
|
|
20
20
|
), h = l(() => !o.control.enabled || i.value.length === 0), _ = l(() => !o.control.enabled || c.value.length === 0), T = () => {
|
|
21
21
|
if (o.control.data) {
|
|
@@ -29,8 +29,8 @@ const x = { class: "team-and-space" }, B = { class: "team" }, F = { class: "spac
|
|
|
29
29
|
a.value = c.value[0]?.id ?? "", o.changeValue(a.value);
|
|
30
30
|
};
|
|
31
31
|
return T(), (s, e) => (I(), y("div", x, [
|
|
32
|
-
m("div",
|
|
33
|
-
v(b(
|
|
32
|
+
m("div", A, [
|
|
33
|
+
v(b(V), {
|
|
34
34
|
modelValue: n.value,
|
|
35
35
|
"onUpdate:modelValue": [
|
|
36
36
|
e[0] || (e[0] = (t) => n.value = t),
|
|
@@ -43,8 +43,8 @@ const x = { class: "team-and-space" }, B = { class: "team" }, F = { class: "spac
|
|
|
43
43
|
placeholder: "No team selected"
|
|
44
44
|
}, null, 8, ["modelValue", "disabled", "possible-values"])
|
|
45
45
|
]),
|
|
46
|
-
m("div",
|
|
47
|
-
v(b(
|
|
46
|
+
m("div", B, [
|
|
47
|
+
v(b(V), {
|
|
48
48
|
modelValue: a.value,
|
|
49
49
|
"onUpdate:modelValue": [
|
|
50
50
|
e[1] || (e[1] = (t) => a.value = t),
|
|
@@ -59,7 +59,7 @@ const x = { class: "team-and-space" }, B = { class: "team" }, F = { class: "spac
|
|
|
59
59
|
])
|
|
60
60
|
]));
|
|
61
61
|
}
|
|
62
|
-
}), D = /* @__PURE__ */ C(
|
|
62
|
+
}), D = /* @__PURE__ */ C(F, [["__scopeId", "data-v-40e43c08"]]);
|
|
63
63
|
export {
|
|
64
64
|
D as default
|
|
65
65
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as l, computed as t, openBlock as s, createBlock as i, mergeProps as p } from "vue";
|
|
2
|
-
import { R as d } from "./ResourceControlBase-
|
|
2
|
+
import { R as d } from "./ResourceControlBase-2j_3xXUs.js";
|
|
3
3
|
const g = /* @__PURE__ */ l({
|
|
4
4
|
__name: "TeamResourceControl",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, openBlock as o, createBlock as t, unref as l } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { af as n } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-C_cPLZAX.js";
|
|
3
3
|
const c = /* @__PURE__ */ a({
|
|
4
4
|
__name: "TextAreaControl",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as p, computed as i, useTemplateRef as h, openBlock as b, createBlock as x, unref as l } from "vue";
|
|
2
|
-
import { u, F as f } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-
|
|
3
|
-
import { u as F } from "./useBuiltinValidations-
|
|
2
|
+
import { u, F as f } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-C_cPLZAX.js";
|
|
3
|
+
import { u as F } from "./useBuiltinValidations-00cKvChy.js";
|
|
4
4
|
const V = /* @__PURE__ */ p({
|
|
5
5
|
__name: "TextControl",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as x, computed as u, ref as U, openBlock as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as x, computed as u, ref as U, openBlock as G, createBlock as V, unref as v } from "vue";
|
|
2
|
+
import { a2 as F } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-C_cPLZAX.js";
|
|
3
3
|
import { p as m } from "./plainDateTimeUtils-CR0UhpkD.js";
|
|
4
4
|
import { U as c } from "./classApi-CHpAZrj3.js";
|
|
5
5
|
const I = /* @__PURE__ */ x({
|
|
@@ -52,7 +52,7 @@ const I = /* @__PURE__ */ x({
|
|
|
52
52
|
}, h = (t) => {
|
|
53
53
|
l = t, d();
|
|
54
54
|
};
|
|
55
|
-
return (t, e) => (
|
|
55
|
+
return (t, e) => (G(), V(v(F), {
|
|
56
56
|
id: n.labelForId,
|
|
57
57
|
"model-value": s.value,
|
|
58
58
|
granularity: o.value,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { openBlock as g, createElementBlock as V, createElementVNode as d, resolveComponent as w, normalizeClass as f, createCommentVNode as T, withModifiers as h, createVNode as u, defineComponent as M, unref as m, withCtx as I } from "vue";
|
|
2
|
-
|
|
3
|
-
import { _ as N, aa as b } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ducup0yA.js";
|
|
2
|
+
import { _ as N, ag as b } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-C_cPLZAX.js";
|
|
4
3
|
const y = {
|
|
5
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6
5
|
fill: "none",
|
|
@@ -340,7 +339,7 @@ const v = /* @__PURE__ */ N(R, [["render", L], ["__scopeId", "data-v-bf742de5"]]
|
|
|
340
339
|
})
|
|
341
340
|
]));
|
|
342
341
|
}
|
|
343
|
-
}),
|
|
342
|
+
}), W = /* @__PURE__ */ N(G, [["__scopeId", "data-v-75a8b714"]]);
|
|
344
343
|
export {
|
|
345
|
-
|
|
344
|
+
W as default
|
|
346
345
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as c, toRef as r, computed as t, openBlock as b, createBlock as m, unref as n } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { a as y } from "./usePossibleValues-
|
|
2
|
+
import { Y as x } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-C_cPLZAX.js";
|
|
3
|
+
import { a as y } from "./usePossibleValues-B4dYuNUk.js";
|
|
4
4
|
import { t as p } from "./toKdsPossibleValues-BklBg3gG.js";
|
|
5
5
|
const L = /* @__PURE__ */ c({
|
|
6
6
|
__name: "TwinlistControlBase",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, computed as l, openBlock as p, createBlock as r, mergeProps as s } from "vue";
|
|
2
|
-
import { _ as u } from "./MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as u } from "./MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-DP1f6Yo9.js";
|
|
3
3
|
const y = /* @__PURE__ */ a({
|
|
4
4
|
__name: "TypedStringFilter",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as r } from "vue";
|
|
2
|
-
import { _ as a } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as a } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-Cf9glDyf.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "ValueSwitchControl",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as n, openBlock as a, createBlock as t, withCtx as r, unref as u } from "vue";
|
|
2
|
-
import { a as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-
|
|
3
|
-
import { V as o } from "./VerticalLayoutBase-
|
|
2
|
+
import { a as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-C_cPLZAX.js";
|
|
3
|
+
import { V as o } from "./VerticalLayoutBase-DXiq-ttd.js";
|
|
4
4
|
const f = /* @__PURE__ */ n({
|
|
5
5
|
__name: "VerticalLayout",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, openBlock as t, createElementBlock as r, Fragment as c, renderList as l, renderSlot as _ } from "vue";
|
|
2
|
-
import { _ as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-
|
|
2
|
+
import { _ as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-C_cPLZAX.js";
|
|
3
3
|
const u = { class: "vertical-layout" }, i = /* @__PURE__ */ n({
|
|
4
4
|
__name: "VerticalLayoutBase",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { defineComponent as x, computed as u, ref as U, openBlock as D, createBlock as Z, unref as G } from "vue";
|
|
2
|
+
import { ah as M } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-C_cPLZAX.js";
|
|
3
|
+
import { p as n } from "./plainDateTimeUtils-CR0UhpkD.js";
|
|
4
|
+
import { U as F } from "./classApi-CHpAZrj3.js";
|
|
5
|
+
const k = /* @__PURE__ */ x({
|
|
6
|
+
__name: "ZonedDateTimeControl",
|
|
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(o) {
|
|
18
|
+
const e = o, m = u(() => e.control.uischema.options), g = u(
|
|
19
|
+
() => n.getMaxGranularity(m.value, {
|
|
20
|
+
showMilliseconds: !1
|
|
21
|
+
})
|
|
22
|
+
), d = U(
|
|
23
|
+
n.detectGranularity(e.control.data.dateTime)
|
|
24
|
+
), y = u(() => {
|
|
25
|
+
const { date: t, time: i } = n.fromString(
|
|
26
|
+
e.control.data.dateTime
|
|
27
|
+
);
|
|
28
|
+
if (t === null)
|
|
29
|
+
return null;
|
|
30
|
+
const c = t.toPlainDateTime(
|
|
31
|
+
i ?? F.PlainTime.from("00:00:00")
|
|
32
|
+
), a = e.control.data.timeZone;
|
|
33
|
+
if (!a)
|
|
34
|
+
return null;
|
|
35
|
+
try {
|
|
36
|
+
return c.toZonedDateTime(a);
|
|
37
|
+
} catch {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
}), h = u(() => m.value?.possibleValues ?? []);
|
|
41
|
+
let l, r, s = !1;
|
|
42
|
+
const v = () => {
|
|
43
|
+
s = !1;
|
|
44
|
+
const t = r ?? d.value, i = l !== void 0, c = r !== void 0, a = l;
|
|
45
|
+
if (l = void 0, r = void 0, d.value = t, i) {
|
|
46
|
+
if (a === null) {
|
|
47
|
+
e.changeValue({
|
|
48
|
+
...e.control.data,
|
|
49
|
+
dateTime: ""
|
|
50
|
+
});
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
e.changeValue({
|
|
54
|
+
...e.control.data,
|
|
55
|
+
dateTime: n.toString(
|
|
56
|
+
a.toPlainDate(),
|
|
57
|
+
a.toPlainTime(),
|
|
58
|
+
t
|
|
59
|
+
),
|
|
60
|
+
timeZone: a.timeZoneId
|
|
61
|
+
});
|
|
62
|
+
return;
|
|
63
|
+
}
|
|
64
|
+
if (c) {
|
|
65
|
+
const { date: f, time: V } = n.fromString(
|
|
66
|
+
e.control.data.dateTime
|
|
67
|
+
);
|
|
68
|
+
f && e.changeValue({
|
|
69
|
+
...e.control.data,
|
|
70
|
+
dateTime: n.toString(f, V, t)
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
}, p = () => {
|
|
74
|
+
s || (s = !0, queueMicrotask(v));
|
|
75
|
+
}, b = (t) => {
|
|
76
|
+
l = t, p();
|
|
77
|
+
}, T = (t) => {
|
|
78
|
+
r = t, p();
|
|
79
|
+
};
|
|
80
|
+
return (t, i) => (D(), Z(G(M), {
|
|
81
|
+
id: o.labelForId,
|
|
82
|
+
ariaLabel: o.control.label,
|
|
83
|
+
"model-value": y.value,
|
|
84
|
+
granularity: d.value,
|
|
85
|
+
"max-granularity": g.value,
|
|
86
|
+
"possible-values": h.value,
|
|
87
|
+
disabled: o.disabled,
|
|
88
|
+
error: o.error,
|
|
89
|
+
"sub-text": o.subText,
|
|
90
|
+
"onUpdate:modelValue": b,
|
|
91
|
+
"onUpdate:granularity": T
|
|
92
|
+
}, null, 8, ["id", "ariaLabel", "model-value", "granularity", "max-granularity", "possible-values", "disabled", "error", "sub-text"]));
|
|
93
|
+
}
|
|
94
|
+
});
|
|
95
|
+
export {
|
|
96
|
+
k as default
|
|
97
|
+
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
var Z = "[object AsyncFunction]", Q = "[object Function]", tt = "[object GeneratorFunction]", et = "[object Proxy]";
|
|
1
|
+
import { B as V, H as v, I as i, A as C, J as Y } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-C_cPLZAX.js";
|
|
2
|
+
var K = Array.isArray, Z = "[object AsyncFunction]", Q = "[object Function]", tt = "[object GeneratorFunction]", et = "[object Proxy]";
|
|
4
3
|
function L(t) {
|
|
5
|
-
if (!
|
|
4
|
+
if (!V(t))
|
|
6
5
|
return !1;
|
|
7
6
|
var e = v(t);
|
|
8
7
|
return e == Q || e == tt || e == Z || e == et;
|
|
@@ -32,7 +31,7 @@ var ot = /[\\^$.*+?()[\]{}|]/g, st = /^\[object .+?Constructor\]$/, it = Functio
|
|
|
32
31
|
"^" + ut.call(pt).replace(ot, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
33
32
|
);
|
|
34
33
|
function ht(t) {
|
|
35
|
-
if (!
|
|
34
|
+
if (!V(t) || rt(t))
|
|
36
35
|
return !1;
|
|
37
36
|
var e = L(t) ? ft : st;
|
|
38
37
|
return e.test(p(t));
|
|
@@ -60,11 +59,11 @@ function vt(t) {
|
|
|
60
59
|
return t != null && W(t.length) && !L(t);
|
|
61
60
|
}
|
|
62
61
|
var jt = Object.prototype;
|
|
63
|
-
function
|
|
62
|
+
function Tt(t) {
|
|
64
63
|
var e = t && t.constructor, r = typeof e == "function" && e.prototype || jt;
|
|
65
64
|
return t === r;
|
|
66
65
|
}
|
|
67
|
-
function
|
|
66
|
+
function mt(t, e) {
|
|
68
67
|
for (var r = -1, a = Array(t); ++r < t; )
|
|
69
68
|
a[r] = e(r);
|
|
70
69
|
return a;
|
|
@@ -100,7 +99,7 @@ var J = typeof exports == "object" && exports && !exports.nodeType && exports, g
|
|
|
100
99
|
}
|
|
101
100
|
})(), F = D && D.isTypedArray, ne = F ? re(F) : ee, oe = Object.prototype, se = oe.hasOwnProperty;
|
|
102
101
|
function ie(t, e) {
|
|
103
|
-
var r =
|
|
102
|
+
var r = K(t), a = !r && Ot(t), c = !r && !a && Ct(t), d = !r && !a && !c && ne(t), _ = r || a || c || d, A = _ ? mt(t.length, String) : [], X = A.length;
|
|
104
103
|
for (var o in t)
|
|
105
104
|
se.call(t, o) && !(_ && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
106
105
|
(o == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -116,7 +115,7 @@ function ce(t, e) {
|
|
|
116
115
|
}
|
|
117
116
|
var ue = ce(Object.keys, Object), pe = Object.prototype, fe = pe.hasOwnProperty;
|
|
118
117
|
function he(t) {
|
|
119
|
-
if (!
|
|
118
|
+
if (!Tt(t))
|
|
120
119
|
return ue(t);
|
|
121
120
|
var e = [];
|
|
122
121
|
for (var r in Object(t))
|
|
@@ -143,10 +142,10 @@ function ve(t) {
|
|
|
143
142
|
}
|
|
144
143
|
return be.call(e, t) ? e[t] : void 0;
|
|
145
144
|
}
|
|
146
|
-
var je = Object.prototype,
|
|
147
|
-
function
|
|
145
|
+
var je = Object.prototype, Te = je.hasOwnProperty;
|
|
146
|
+
function me(t) {
|
|
148
147
|
var e = this.__data__;
|
|
149
|
-
return y ? e[t] !== void 0 :
|
|
148
|
+
return y ? e[t] !== void 0 : Te.call(e, t);
|
|
150
149
|
}
|
|
151
150
|
var Ae = "__lodash_hash_undefined__";
|
|
152
151
|
function we(t, e) {
|
|
@@ -163,12 +162,12 @@ function u(t) {
|
|
|
163
162
|
u.prototype.clear = de;
|
|
164
163
|
u.prototype.delete = _e;
|
|
165
164
|
u.prototype.get = ve;
|
|
166
|
-
u.prototype.has =
|
|
165
|
+
u.prototype.has = me;
|
|
167
166
|
u.prototype.set = we;
|
|
168
167
|
function xe() {
|
|
169
168
|
this.__data__ = [], this.size = 0;
|
|
170
169
|
}
|
|
171
|
-
function
|
|
170
|
+
function T(t, e) {
|
|
172
171
|
for (var r = t.length; r--; )
|
|
173
172
|
if (yt(t[r][0], e))
|
|
174
173
|
return r;
|
|
@@ -176,21 +175,21 @@ function m(t, e) {
|
|
|
176
175
|
}
|
|
177
176
|
var Oe = Array.prototype, $e = Oe.splice;
|
|
178
177
|
function Pe(t) {
|
|
179
|
-
var e = this.__data__, r =
|
|
178
|
+
var e = this.__data__, r = T(e, t);
|
|
180
179
|
if (r < 0)
|
|
181
180
|
return !1;
|
|
182
181
|
var a = e.length - 1;
|
|
183
182
|
return r == a ? e.pop() : $e.call(e, r, 1), --this.size, !0;
|
|
184
183
|
}
|
|
185
184
|
function Se(t) {
|
|
186
|
-
var e = this.__data__, r =
|
|
185
|
+
var e = this.__data__, r = T(e, t);
|
|
187
186
|
return r < 0 ? void 0 : e[r][1];
|
|
188
187
|
}
|
|
189
188
|
function Ce(t) {
|
|
190
|
-
return
|
|
189
|
+
return T(this.__data__, t) > -1;
|
|
191
190
|
}
|
|
192
191
|
function Ie(t, e) {
|
|
193
|
-
var r = this.__data__, a =
|
|
192
|
+
var r = this.__data__, a = T(r, t);
|
|
194
193
|
return a < 0 ? (++this.size, r.push([t, e])) : r[a][1] = e, this;
|
|
195
194
|
}
|
|
196
195
|
function s(t) {
|
|
@@ -217,22 +216,22 @@ function ze(t) {
|
|
|
217
216
|
var e = typeof t;
|
|
218
217
|
return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
|
|
219
218
|
}
|
|
220
|
-
function
|
|
219
|
+
function m(t, e) {
|
|
221
220
|
var r = t.__data__;
|
|
222
221
|
return ze(e) ? r[typeof e == "string" ? "string" : "hash"] : r.map;
|
|
223
222
|
}
|
|
224
223
|
function Me(t) {
|
|
225
|
-
var e =
|
|
224
|
+
var e = m(this, t).delete(t);
|
|
226
225
|
return this.size -= e ? 1 : 0, e;
|
|
227
226
|
}
|
|
228
227
|
function De(t) {
|
|
229
|
-
return
|
|
228
|
+
return m(this, t).get(t);
|
|
230
229
|
}
|
|
231
230
|
function Fe(t) {
|
|
232
|
-
return
|
|
231
|
+
return m(this, t).has(t);
|
|
233
232
|
}
|
|
234
233
|
function Ge(t, e) {
|
|
235
|
-
var r =
|
|
234
|
+
var r = m(this, t), a = r.size;
|
|
236
235
|
return r.set(t, e), this.size += r.size == a ? 0 : 1, this;
|
|
237
236
|
}
|
|
238
237
|
function l(t) {
|
|
@@ -302,9 +301,9 @@ var qe = Object.prototype, ke = qe.propertyIsEnumerable, G = Object.getOwnProper
|
|
|
302
301
|
} : We;
|
|
303
302
|
function Xe(t, e, r) {
|
|
304
303
|
var a = e(t);
|
|
305
|
-
return
|
|
304
|
+
return K(t) ? a : Ue(a, r(t));
|
|
306
305
|
}
|
|
307
|
-
function
|
|
306
|
+
function nr(t) {
|
|
308
307
|
return Xe(t, le, Je);
|
|
309
308
|
}
|
|
310
309
|
var $ = h(i, "DataView"), P = h(i, "Promise"), S = h(i, "Set"), U = "[object Map]", Ye = "[object Object]", B = "[object Promise]", H = "[object Set]", N = "[object WeakMap]", R = "[object DataView]", Ze = p($), Qe = p(b), tr = p(P), er = p(S), rr = p(O), f = v;
|
|
@@ -325,23 +324,24 @@ var $ = h(i, "DataView"), P = h(i, "Promise"), S = h(i, "Set"), U = "[object Map
|
|
|
325
324
|
}
|
|
326
325
|
return e;
|
|
327
326
|
});
|
|
328
|
-
var
|
|
327
|
+
var or = i.Uint8Array;
|
|
329
328
|
export {
|
|
330
329
|
l as M,
|
|
331
330
|
j as S,
|
|
332
|
-
|
|
331
|
+
or as U,
|
|
333
332
|
f as a,
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
333
|
+
Ct as b,
|
|
334
|
+
ne as c,
|
|
335
|
+
W as d,
|
|
337
336
|
yt as e,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
h,
|
|
341
|
-
|
|
342
|
-
|
|
337
|
+
gt as f,
|
|
338
|
+
nr as g,
|
|
339
|
+
Ot as h,
|
|
340
|
+
K as i,
|
|
341
|
+
h as j,
|
|
343
342
|
le as k,
|
|
344
|
-
|
|
343
|
+
Tt as l,
|
|
344
|
+
re as m,
|
|
345
345
|
D as n,
|
|
346
346
|
ce as o
|
|
347
347
|
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { openBlock as o, createElementBlock as n, createElementVNode as t } from "vue";
|
|
2
|
+
const r = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
fill: "none",
|
|
5
|
+
stroke: "currentColor",
|
|
6
|
+
"stroke-linecap": "round",
|
|
7
|
+
"stroke-linejoin": "round",
|
|
8
|
+
viewBox: "0 0 12 12"
|
|
9
|
+
};
|
|
10
|
+
function l(a, e) {
|
|
11
|
+
return o(), n("svg", r, [...e[0] || (e[0] = [
|
|
12
|
+
t("path", {
|
|
13
|
+
d: "M7.191 7.438a.195.195 0 0 0 .179-.228l-.207-1.205.878-.854a.195.195 0 0 0-.108-.332l-1.214-.176-.543-1.097a.196.196 0 0 0-.351 0l-.543 1.097-1.214.176a.194.194 0 0 0-.109.332l.879.854L4.63 7.21a.196.196 0 0 0 .284.205L6 6.846l1.086.57M4.5 9H3a1.5 1.5 0 0 1-1.5-1.5v-4A1.5 1.5 0 0 1 3 2h6a1.5 1.5 0 0 1 1.5 1.5v4A1.5 1.5 0 0 1 9 9H7.5L6 10.5z",
|
|
14
|
+
"vector-effect": "non-scaling-stroke"
|
|
15
|
+
}, null, -1)
|
|
16
|
+
])]);
|
|
17
|
+
}
|
|
18
|
+
const s = { render: l };
|
|
19
|
+
export {
|
|
20
|
+
s as default,
|
|
21
|
+
l as render
|
|
22
|
+
};
|