@knime/jsonforms 1.2.5 → 1.3.1
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 +12 -0
- package/dist/{AnyOfTwinlist-D2md52XA.js → AnyOfTwinlist-FvAzGYM6.js} +1 -1
- package/dist/{BaseButton-pWix8Ir_.js → BaseButton-C7BbYnsL.js} +1 -1
- package/dist/{Button-DA_T1F4x.js → Button-ClYf9a_l.js} +2 -2
- package/dist/{Checkbox-Cyt1-L7B.js → Checkbox-CwxZHuxB.js} +1 -1
- package/dist/{CheckboxControl-D23veewy.js → CheckboxControl-C4uVrVFT.js} +11 -11
- package/dist/{Checkboxes-B4WDd5Tc.js → Checkboxes-PGSsi8KQ.js} +2 -2
- package/dist/{CheckboxesControl-BXKipOZT.js → CheckboxesControl-Kk1Lo2o5.js} +2 -2
- package/dist/{ColumnFilter-D2TqGxR1.js → ColumnFilter-CRBUi5K1.js} +1 -1
- package/dist/{ColumnSelect-DJZCLRyC.js → ColumnSelect-djGxI_O9.js} +3 -3
- package/dist/{ComboBoxControl-DA_6FStZ.js → ComboBoxControl-B7TMk2Mk.js} +4 -4
- package/dist/{DateControl-DhZtDPo9.js → DateControl-CTz0x9wG.js} +1 -1
- package/dist/{DateTimeControl-C2BB0S3X.js → DateTimeControl-Cn0jcTiy.js} +1 -1
- package/dist/{DateTimeFormatPickerControl-B5dZ9AJp.js → DateTimeFormatPickerControl-DS0DZdhb.js} +7 -7
- package/dist/DateTimeInput-Vx2wO_Ln.js +11290 -0
- package/dist/{Dropdown-CDssQzS9.js → Dropdown-EbU5GZWo.js} +28 -28
- package/dist/{DropdownControl-CvU_ReBF.js → DropdownControl-gHo6T8bq.js} +1 -1
- package/dist/{DropdownControl.vue_vue_type_script_setup_true_lang-CPvU9j1S.js → DropdownControl.vue_vue_type_script_setup_true_lang-DcOvyBCP.js} +7 -7
- package/dist/{ErrorMessage-M87up0yb.js → ErrorMessage-kLDFTznB.js} +1 -1
- package/dist/{FunctionButton-DWMQy0Uy.js → FunctionButton-Beq-KFER.js} +2 -2
- package/dist/{HorizontalLayout-B0gqS3Ke.js → HorizontalLayout-CJjeRm-3.js} +1 -1
- package/dist/{InputField-m0rtCRko.js → InputField-B-0XgnFy.js} +1 -1
- package/dist/{IntegerControl-RDY1aqn0.js → IntegerControl-DLXJyyOs.js} +1 -1
- package/dist/{IntervalControl-i1d7wJwn.js → IntervalControl-CL-dXWem.js} +21 -19
- package/dist/{MultiselectListBox-CAidB0S9.js → MultiselectListBox-DEyKxgz9.js} +2 -2
- package/dist/{NameFilter-Bw26YwTe.js → NameFilter-DNmJcqY-.js} +1 -1
- package/dist/{NumberControl-SJtYmeQo.js → NumberControl-CeiBy1zc.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-C0eo7BcI.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CKe4QLfL.js} +2 -2
- package/dist/{NumberInput-Be20_1Pc.js → NumberInput-Br7XOkwH.js} +1 -1
- package/dist/{OneOfDropdown-DlNcB8XW.js → OneOfDropdown-QQuD88pb.js} +1 -1
- package/dist/{RadioControl-BKujnSCB.js → RadioControl-HSOb6aKE.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-D2FQgv9l.js → RadioControlBase.vue_vue_type_script_setup_true_lang-DknSJduh.js} +2 -2
- package/dist/{RichTextControl-D3h6uoj5.js → RichTextControl-ecwSubyQ.js} +1294 -1294
- package/dist/{SectionLayout-Do95CtUw.js → SectionLayout-BZ3FHiGz.js} +10 -10
- package/dist/{SimpleButtonControl-D6BgabRB.js → SimpleButtonControl-DuzvsXf_.js} +9 -9
- package/dist/{SimpleTwinlistControl-9USploY0.js → SimpleTwinlistControl-DwGJBeoN.js} +2 -2
- package/dist/{SortListControl-DN8ypCA1.js → SortListControl-BLRSjMlt.js} +44 -44
- package/dist/{TextAreaControl-9E45K9LP.js → TextAreaControl-BtKvK7m5.js} +1 -1
- package/dist/{TextControl-BBADDUxC.js → TextControl-DQHeLfUf.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-HmUXivAD.js → TextControl.vue_vue_type_script_setup_true_lang-BVniTWZc.js} +3 -3
- package/dist/{TimeControl-C6RXVH_D.js → TimeControl-DNVZ8MwG.js} +254 -186
- package/dist/{Tooltip-Tn59teyD.js → Tooltip-05C2P0LZ.js} +1 -1
- package/dist/{TwinlistControl-Bw-3pqRo.js → TwinlistControl-CLb3ScbX.js} +4 -4
- package/dist/{TwinlistLoadingInfo-BSF18Xm1.js → TwinlistLoadingInfo-CORKwJtq.js} +6 -6
- package/dist/{ValueSwitch-8AuK3jrJ.js → ValueSwitch-DDZmCzJ2.js} +15 -15
- package/dist/{ValueSwitchControl-CXQQyGpN.js → ValueSwitchControl-f-Erg95s.js} +1 -1
- package/dist/{VerticalLayout-B2bNmVgn.js → VerticalLayout-BuHTshgA.js} +2 -2
- package/dist/VerticalLayoutBase-DvAVJXQ0.js +20 -0
- package/dist/VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-CgxoHJl6.js +14873 -0
- package/dist/ZonedDateTimeControl-CITJCUL9.js +62 -0
- package/dist/{_baseAssignValue-DGlJFWWl.js → _baseAssignValue-BsEGtC7U.js} +1 -1
- package/dist/{_baseEach-CyAziyoj.js → _baseEach-D3wikPtr.js} +2 -2
- package/dist/{_baseIsEqual-CeM08H2c.js → _baseIsEqual-Ba5emb2n.js} +25 -25
- package/dist/{_baseIteratee-D5uAz1ci.js → _baseIteratee-CR_k_vvc.js} +3 -3
- package/dist/{_getTag-DSF9m6Mj.js → _getTag-B6BdOFrI.js} +52 -53
- package/dist/{floating-ui.vue.esm-CDpUY3-t.js → floating-ui.vue.esm-B1dY_Hbh.js} +137 -137
- package/dist/{index-Cp7Xre_V.js → index-CkuSIXs2.js} +99 -99
- package/dist/{isSymbol-DYfQwMQW.js → isSymbol-Cb4cQ_Hx.js} +1 -1
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +6 -6
- package/dist/{magic-string.es-B5oZaT6C.js → magic-string.es-BDTetD65.js} +265 -264
- package/dist/popper-CRR--9mA.js +907 -0
- package/dist/src/constants/inputFormats.d.ts +1 -0
- package/dist/src/renderers/defaultRenderers.d.ts +6 -0
- package/dist/src/renderers/zonedDateTimeRenderer.d.ts +8 -0
- package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +16 -0
- package/dist/{svgWithTitle-Dt_sR5y0.js → svgWithTitle-CuG0P-p_.js} +1 -1
- package/dist/testing.js +977 -972
- package/dist/toString-77UqbKdP.js +26 -0
- package/package.json +1 -1
- package/dist/DateTimeInput-CMuN30CN.js +0 -11076
- package/dist/VerticalLayoutBase-CvToTLP0.js +0 -20
- package/dist/VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-vGXKVcuV.js +0 -13240
- package/dist/popper-1JCni0RT.js +0 -907
- package/dist/toString-Ccd5uXff.js +0 -26
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { defineComponent as n, ref as u, openBlock as s, createElementBlock as i, createElementVNode as l, createTextVNode as c, toDisplayString as
|
|
2
|
-
import { o as
|
|
3
|
-
import { V as $ } from "./VerticalLayoutBase-
|
|
1
|
+
import { defineComponent as n, ref as u, openBlock as s, createElementBlock as i, createElementVNode as l, createTextVNode as c, toDisplayString as d, renderSlot as m, createVNode as p, withCtx as h, createBlock as y, unref as f } from "vue";
|
|
2
|
+
import { o as v, _ as b } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-CgxoHJl6.js";
|
|
3
|
+
import { V as $ } from "./VerticalLayoutBase-DvAVJXQ0.js";
|
|
4
4
|
const V = { class: "section-header" }, k = /* @__PURE__ */ n({
|
|
5
5
|
__name: "SectionLayout",
|
|
6
6
|
props: {
|
|
7
7
|
layout: {}
|
|
8
8
|
},
|
|
9
9
|
setup(B) {
|
|
10
|
-
const
|
|
11
|
-
return (e,
|
|
10
|
+
const o = u(!1);
|
|
11
|
+
return (e, t) => (s(), i("div", {
|
|
12
12
|
class: "section",
|
|
13
|
-
onMouseover:
|
|
14
|
-
onMouseleave:
|
|
13
|
+
onMouseover: t[0] || (t[0] = (a) => o.value = !0),
|
|
14
|
+
onMouseleave: t[1] || (t[1] = (a) => o.value = !1)
|
|
15
15
|
}, [
|
|
16
16
|
l("div", V, [
|
|
17
17
|
l("h3", null, [
|
|
18
|
-
c(
|
|
19
|
-
|
|
18
|
+
c(d(e.layout.uischema.label) + " ", 1),
|
|
19
|
+
m(e.$slots, "buttons", { hover: o.value }, void 0, !0)
|
|
20
20
|
])
|
|
21
21
|
]),
|
|
22
22
|
p($, {
|
|
23
23
|
elements: e.layout.uischema.elements
|
|
24
24
|
}, {
|
|
25
25
|
default: h(({ element: a, index: r }) => [
|
|
26
|
-
(s(), y(v
|
|
26
|
+
(s(), y(f(v), {
|
|
27
27
|
key: `${e.layout.path}-${r}`,
|
|
28
28
|
schema: e.layout.schema,
|
|
29
29
|
uischema: a,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { defineComponent as u, openBlock as l, createBlock as p, resolveDynamicComponent as f, computed as r, ref as _, createElementBlock as b, createVNode as g, unref as B, withCtx as C, createCommentVNode as h, createTextVNode as y, toDisplayString as k, renderSlot as I } from "vue";
|
|
2
|
-
import { k as S, _ as V } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-
|
|
2
|
+
import { k as S, _ as V } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-CgxoHJl6.js";
|
|
3
3
|
import { R as $ } from "./reload-BhzcZRFp.js";
|
|
4
|
-
import { B as x } from "./Button-
|
|
4
|
+
import { B as x } from "./Button-ClYf9a_l.js";
|
|
5
5
|
const D = /* @__PURE__ */ u({
|
|
6
6
|
__name: "DynamicIcon",
|
|
7
7
|
props: {
|
|
8
8
|
icon: {}
|
|
9
9
|
},
|
|
10
10
|
setup(s) {
|
|
11
|
-
const
|
|
11
|
+
const e = {
|
|
12
12
|
reload: $
|
|
13
13
|
};
|
|
14
|
-
return (t, a) => (l(), p(f(
|
|
14
|
+
return (t, a) => (l(), p(f(e[t.icon])));
|
|
15
15
|
}
|
|
16
16
|
}), F = /* @__PURE__ */ u({
|
|
17
17
|
__name: "SimpleButtonControl",
|
|
@@ -23,15 +23,15 @@ const D = /* @__PURE__ */ u({
|
|
|
23
23
|
labelForId: {}
|
|
24
24
|
},
|
|
25
25
|
setup(s) {
|
|
26
|
-
const
|
|
27
|
-
() =>
|
|
26
|
+
const e = s, t = r(() => !e.control.enabled), a = r(() => e.control.uischema.options.triggerId), c = r(
|
|
27
|
+
() => e.control.uischema.options.icon
|
|
28
28
|
), d = S("trigger"), m = () => {
|
|
29
29
|
d({ id: a.value });
|
|
30
30
|
}, n = _(!1);
|
|
31
|
-
return (i,
|
|
31
|
+
return (i, o) => (l(), b("div", {
|
|
32
32
|
class: "simple-button-input",
|
|
33
|
-
onMouseover:
|
|
34
|
-
onMouseleave:
|
|
33
|
+
onMouseover: o[0] || (o[0] = (v) => n.value = !0),
|
|
34
|
+
onMouseleave: o[1] || (o[1] = (v) => n.value = !1)
|
|
35
35
|
}, [
|
|
36
36
|
g(B(x), {
|
|
37
37
|
compact: "",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as r, computed as d, markRaw as u, openBlock as p, createBlock as c, unref as t } from "vue";
|
|
2
|
-
import { k as m, u as f, _ as b } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-
|
|
3
|
-
import { a as h, T as w } from "./TwinlistLoadingInfo-
|
|
2
|
+
import { k as m, u as f, _ as b } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-CgxoHJl6.js";
|
|
3
|
+
import { a as h, T as w } from "./TwinlistLoadingInfo-CORKwJtq.js";
|
|
4
4
|
const v = /* @__PURE__ */ r({
|
|
5
5
|
__name: "SimpleTwinlistControl",
|
|
6
6
|
props: {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { openBlock as S, createElementBlock as A, createElementVNode as k, defineComponent as Z, computed as V, ref as N, watch as W, Fragment as z, createVNode as d, withKeys as L, withModifiers as $, unref as p, withCtx as
|
|
2
|
-
import { _ as Y, u as ce, k as ue, L as de } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-
|
|
1
|
+
import { openBlock as S, createElementBlock as A, createElementVNode as k, defineComponent as Z, computed as V, ref as N, watch as W, Fragment as z, createVNode as d, withKeys as L, withModifiers as $, unref as p, withCtx as f, nextTick as ae, onMounted as re, createTextVNode as F, renderSlot as O, normalizeClass as ie } from "vue";
|
|
2
|
+
import { _ as Y, u as ce, k as ue, L as de } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-CgxoHJl6.js";
|
|
3
3
|
import { w as me } from "./getPossibleValuesFromUiSchema-hQj1TCOR.js";
|
|
4
4
|
import { i as pe } from "./navigator-BYUFe-z3.js";
|
|
5
|
-
import { F as B } from "./FunctionButton-
|
|
6
|
-
import { M as
|
|
7
|
-
import { b as
|
|
8
|
-
import { b as
|
|
9
|
-
import { b as
|
|
10
|
-
import { i as be } from "./toString-
|
|
5
|
+
import { F as B } from "./FunctionButton-Beq-KFER.js";
|
|
6
|
+
import { M as fe } from "./MultiselectListBox-DEyKxgz9.js";
|
|
7
|
+
import { b as he } from "./_baseAssignValue-BsEGtC7U.js";
|
|
8
|
+
import { b as we } from "./_baseEach-D3wikPtr.js";
|
|
9
|
+
import { b as ve } from "./_baseIteratee-CR_k_vvc.js";
|
|
10
|
+
import { i as be } from "./toString-77UqbKdP.js";
|
|
11
11
|
import { c as _e } from "./createMissingItem-B00Kg95q.js";
|
|
12
|
-
import { B as T } from "./Button-
|
|
12
|
+
import { B as T } from "./Button-ClYf9a_l.js";
|
|
13
13
|
const j = {
|
|
14
14
|
ArrowUp: "↑",
|
|
15
15
|
ArrowDown: "↓",
|
|
@@ -27,7 +27,7 @@ const j = {
|
|
|
27
27
|
Alt: "⌥",
|
|
28
28
|
Enter: "↩"
|
|
29
29
|
}, q = (t) => {
|
|
30
|
-
const e = (r) => (i) => r[i] ?? i, s = ((...r) => r.reduce((i,
|
|
30
|
+
const e = (r) => (i) => r[i] ?? i, s = ((...r) => r.reduce((i, w) => (x) => w(i(x))))(
|
|
31
31
|
e(ge),
|
|
32
32
|
e(j)
|
|
33
33
|
), l = e(j);
|
|
@@ -59,14 +59,14 @@ function Ie(t, e, o, s) {
|
|
|
59
59
|
return s;
|
|
60
60
|
}
|
|
61
61
|
function ye(t, e, o, s) {
|
|
62
|
-
return
|
|
62
|
+
return we(t, function(l, r, i) {
|
|
63
63
|
e(s, l, o(l), i);
|
|
64
64
|
}), s;
|
|
65
65
|
}
|
|
66
66
|
function J(t, e) {
|
|
67
67
|
return function(o, s) {
|
|
68
68
|
var l = be(o) ? Ie : ye, r = e ? e() : {};
|
|
69
|
-
return l(o, t,
|
|
69
|
+
return l(o, t, ve(s), r);
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
function Q(t, e, o) {
|
|
@@ -77,7 +77,7 @@ function Q(t, e, o) {
|
|
|
77
77
|
return Ce(t, e, l);
|
|
78
78
|
}
|
|
79
79
|
var Ue = J(function(t, e, o) {
|
|
80
|
-
|
|
80
|
+
he(t, o, e);
|
|
81
81
|
}), Le = J(function(t, e, o) {
|
|
82
82
|
t[o ? 0 : 1].push(e);
|
|
83
83
|
}, function() {
|
|
@@ -141,7 +141,7 @@ const Re = { render: je }, Ze = { class: "buttons" }, We = /* @__PURE__ */ Z({
|
|
|
141
141
|
i.value = i.value.filter((u) => c.has(u));
|
|
142
142
|
}
|
|
143
143
|
);
|
|
144
|
-
const
|
|
144
|
+
const w = V(() => i.value.length === 0), x = (n, c, u) => [
|
|
145
145
|
n.slice(0, c),
|
|
146
146
|
n.slice(c, u),
|
|
147
147
|
n.slice(u)
|
|
@@ -151,7 +151,7 @@ const Re = { render: je }, Ze = { class: "buttons" }, We = /* @__PURE__ */ Z({
|
|
|
151
151
|
}, C = (n, c) => Le(
|
|
152
152
|
n,
|
|
153
153
|
M((u, g) => c(g))
|
|
154
|
-
),
|
|
154
|
+
), v = N(null), a = (n) => ({ to: c } = {}) => {
|
|
155
155
|
const u = i.value.map((b) => Q(o.modelValue, b)).sort((b, U) => b - U), g = (n === "up" ? c : null) ?? Math.max(u[0] - 1, 0), E = (n === "down" ? c : null) ?? u[u.length - 1] + 1, [X, ee, te] = x(
|
|
156
156
|
o.modelValue,
|
|
157
157
|
g,
|
|
@@ -162,14 +162,14 @@ const Re = { render: je }, Ze = { class: "buttons" }, We = /* @__PURE__ */ Z({
|
|
|
162
162
|
), [ne, le] = n === "up" ? [K, P] : [P, K], se = X.concat(ne, le, te);
|
|
163
163
|
s("update:modelValue", se), ae(() => {
|
|
164
164
|
var b, U, D, H;
|
|
165
|
-
n === "up" ? ((b =
|
|
165
|
+
n === "up" ? ((b = v.value) == null || b.scrollUpIntoView(g - 1), (U = v.value) == null || U.setCurrentKeyNavIndex(g)) : ((D = v.value) == null || D.scrollDownIntoView(E + 1), (H = v.value) == null || H.setCurrentKeyNavIndex(E));
|
|
166
166
|
});
|
|
167
|
-
}, m = a("up"),
|
|
167
|
+
}, m = a("up"), h = a("down"), I = () => m({ to: 0 }), y = () => h({ to: o.modelValue.length }), _ = (n, c) => `${n} (${ke.formatHotkeys(c)})`;
|
|
168
168
|
return (n, c) => (S(), A(z, null, [
|
|
169
|
-
d(
|
|
169
|
+
d(fe, {
|
|
170
170
|
id: n.id,
|
|
171
171
|
ref_key: "listBox",
|
|
172
|
-
ref:
|
|
172
|
+
ref: v,
|
|
173
173
|
modelValue: i.value,
|
|
174
174
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => i.value = u),
|
|
175
175
|
"possible-values": r.value,
|
|
@@ -178,7 +178,7 @@ const Re = { render: je }, Ze = { class: "buttons" }, We = /* @__PURE__ */ Z({
|
|
|
178
178
|
"empty-state-label": "Empty",
|
|
179
179
|
size: 10,
|
|
180
180
|
onKeydown: [
|
|
181
|
-
L($(p(
|
|
181
|
+
L($(p(h), ["alt"]), ["down"]),
|
|
182
182
|
L($(p(m), ["alt"]), ["up"]),
|
|
183
183
|
L($(I, ["alt"]), ["home"]),
|
|
184
184
|
L($(y, ["alt"]), ["end"])
|
|
@@ -186,45 +186,45 @@ const Re = { render: je }, Ze = { class: "buttons" }, We = /* @__PURE__ */ Z({
|
|
|
186
186
|
}, null, 8, ["id", "modelValue", "possible-values", "ariaLabel", "onKeydown"]),
|
|
187
187
|
k("div", Ze, [
|
|
188
188
|
d(B, {
|
|
189
|
-
disabled:
|
|
189
|
+
disabled: w.value,
|
|
190
190
|
title: _("Move to top", ["Alt", "Home"]),
|
|
191
191
|
compact: "",
|
|
192
192
|
onClick: I
|
|
193
193
|
}, {
|
|
194
|
-
default:
|
|
194
|
+
default: f(() => [
|
|
195
195
|
d(p(R), { class: "rotated" })
|
|
196
196
|
]),
|
|
197
197
|
_: 1
|
|
198
198
|
}, 8, ["disabled", "title"]),
|
|
199
199
|
d(B, {
|
|
200
|
-
disabled:
|
|
200
|
+
disabled: w.value,
|
|
201
201
|
title: _("Move to bottom", ["Alt", "End"]),
|
|
202
202
|
compact: "",
|
|
203
203
|
onClick: y
|
|
204
204
|
}, {
|
|
205
|
-
default:
|
|
205
|
+
default: f(() => [
|
|
206
206
|
d(p(R))
|
|
207
207
|
]),
|
|
208
208
|
_: 1
|
|
209
209
|
}, 8, ["disabled", "title"]),
|
|
210
210
|
d(B, {
|
|
211
|
-
disabled:
|
|
211
|
+
disabled: w.value,
|
|
212
212
|
title: _("Move up", ["Alt", "ArrowUp"]),
|
|
213
213
|
compact: "",
|
|
214
214
|
onClick: p(m)
|
|
215
215
|
}, {
|
|
216
|
-
default:
|
|
216
|
+
default: f(() => [
|
|
217
217
|
d(p(Re))
|
|
218
218
|
]),
|
|
219
219
|
_: 1
|
|
220
220
|
}, 8, ["disabled", "title", "onClick"]),
|
|
221
221
|
d(B, {
|
|
222
|
-
disabled:
|
|
222
|
+
disabled: w.value,
|
|
223
223
|
title: _("Move down", ["Alt", "ArrowDown"]),
|
|
224
224
|
compact: "",
|
|
225
|
-
onClick: p(
|
|
225
|
+
onClick: p(h)
|
|
226
226
|
}, {
|
|
227
|
-
default:
|
|
227
|
+
default: f(() => [
|
|
228
228
|
d(p(Fe))
|
|
229
229
|
]),
|
|
230
230
|
_: 1
|
|
@@ -270,12 +270,12 @@ const Re = { render: je }, Ze = { class: "buttons" }, We = /* @__PURE__ */ Z({
|
|
|
270
270
|
throw new Error(
|
|
271
271
|
`SortList data have to contain the value "${e.anyUnknownValuesId}"`
|
|
272
272
|
);
|
|
273
|
-
const
|
|
274
|
-
_.length > 0 && e.changeValue(
|
|
275
|
-
},
|
|
273
|
+
const h = o.value.slice(0, m + 1), I = o.value.slice(m + 1), y = new Set(o.value), _ = a.map(({ id: n }) => n).filter((n) => !y.has(n));
|
|
274
|
+
_.length > 0 && e.changeValue(h.concat(_, I));
|
|
275
|
+
}, w = ue("getPossibleValuesFromUiSchema");
|
|
276
276
|
re(async () => {
|
|
277
277
|
const a = e.control.uischema.options.possibleValues;
|
|
278
|
-
a ? l.value = a : s.value || (l.value = await
|
|
278
|
+
a ? l.value = a : s.value || (l.value = await w(e.control));
|
|
279
279
|
}), W(() => l.value, i);
|
|
280
280
|
const x = () => {
|
|
281
281
|
e.changeValue(o.value.toSorted((a, m) => a.localeCompare(m)));
|
|
@@ -283,7 +283,7 @@ const Re = { render: je }, Ze = { class: "buttons" }, We = /* @__PURE__ */ Z({
|
|
|
283
283
|
e.changeValue(o.value.toSorted((a, m) => m.localeCompare(a)));
|
|
284
284
|
}, C = () => {
|
|
285
285
|
e.changeValue(r.value.map(({ id: a }) => a));
|
|
286
|
-
},
|
|
286
|
+
}, v = N(null);
|
|
287
287
|
return (a, m) => (S(), A(z, null, [
|
|
288
288
|
k("div", Ye, [
|
|
289
289
|
k("div", qe, [
|
|
@@ -292,7 +292,7 @@ const Re = { render: je }, Ze = { class: "buttons" }, We = /* @__PURE__ */ Z({
|
|
|
292
292
|
compact: "",
|
|
293
293
|
onClick: x
|
|
294
294
|
}, {
|
|
295
|
-
default:
|
|
295
|
+
default: f(() => [
|
|
296
296
|
F("A - Z")
|
|
297
297
|
]),
|
|
298
298
|
_: 1
|
|
@@ -302,7 +302,7 @@ const Re = { render: je }, Ze = { class: "buttons" }, We = /* @__PURE__ */ Z({
|
|
|
302
302
|
compact: "",
|
|
303
303
|
onClick: M
|
|
304
304
|
}, {
|
|
305
|
-
default:
|
|
305
|
+
default: f(() => [
|
|
306
306
|
F("Z - A")
|
|
307
307
|
]),
|
|
308
308
|
_: 1
|
|
@@ -313,7 +313,7 @@ const Re = { render: je }, Ze = { class: "buttons" }, We = /* @__PURE__ */ Z({
|
|
|
313
313
|
compact: "",
|
|
314
314
|
onClick: C
|
|
315
315
|
}, {
|
|
316
|
-
default:
|
|
316
|
+
default: f(() => [
|
|
317
317
|
F("Reset all")
|
|
318
318
|
]),
|
|
319
319
|
_: 1
|
|
@@ -323,11 +323,11 @@ const Re = { render: je }, Ze = { class: "buttons" }, We = /* @__PURE__ */ Z({
|
|
|
323
323
|
label: a.control.label,
|
|
324
324
|
onControllingFlowVariableSet: a.changeValue
|
|
325
325
|
}, {
|
|
326
|
-
default:
|
|
326
|
+
default: f(({ labelForId: h }) => [
|
|
327
327
|
d(p(ze), {
|
|
328
|
-
id:
|
|
328
|
+
id: h ?? void 0,
|
|
329
329
|
ref_key: "controlElement",
|
|
330
|
-
ref:
|
|
330
|
+
ref: v,
|
|
331
331
|
"possible-values": r.value,
|
|
332
332
|
"model-value": o.value,
|
|
333
333
|
ariaLabel: a.control.label,
|
|
@@ -336,13 +336,13 @@ const Re = { render: je }, Ze = { class: "buttons" }, We = /* @__PURE__ */ Z({
|
|
|
336
336
|
"onUpdate:modelValue": a.changeValue
|
|
337
337
|
}, null, 8, ["id", "possible-values", "model-value", "ariaLabel", "disabled", "onUpdate:modelValue"])
|
|
338
338
|
]),
|
|
339
|
-
icon:
|
|
339
|
+
icon: f(() => [
|
|
340
340
|
O(a.$slots, "icon", {}, void 0, !0)
|
|
341
341
|
]),
|
|
342
|
-
buttons:
|
|
342
|
+
buttons: f(({ hover: h }) => [
|
|
343
343
|
O(a.$slots, "buttons", {
|
|
344
|
-
hover:
|
|
345
|
-
controlHTMLElement:
|
|
344
|
+
hover: h,
|
|
345
|
+
controlHTMLElement: v.value
|
|
346
346
|
}, void 0, !0)
|
|
347
347
|
]),
|
|
348
348
|
_: 3
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as a, createElementBlock as d, normalizeClass as o, createElementVNode as i, createCommentVNode as c, defineComponent as m, createBlock as p, unref as f } from "vue";
|
|
2
|
-
import { _ as s } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-
|
|
2
|
+
import { _ as s } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-CgxoHJl6.js";
|
|
3
3
|
const _ = {
|
|
4
4
|
name: "TextArea",
|
|
5
5
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as V, ref as g, computed as i, openBlock as a, createBlock as d, withCtx as t, unref as l, normalizeProps as y, mergeProps as v, createCommentVNode as p, renderSlot as m } from "vue";
|
|
2
|
-
import { u as P, L as F } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-
|
|
2
|
+
import { u as P, L as F } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-CgxoHJl6.js";
|
|
3
3
|
import { u as w } from "./useHideOnNull-CCfNP3O7.js";
|
|
4
|
-
import { C as B } from "./Checkbox-
|
|
5
|
-
import { I as E } from "./InputField-
|
|
4
|
+
import { C as B } from "./Checkbox-CwxZHuxB.js";
|
|
5
|
+
import { I as E } from "./InputField-B-0XgnFy.js";
|
|
6
6
|
const U = /* @__PURE__ */ V({
|
|
7
7
|
__name: "TextControl",
|
|
8
8
|
props: {
|