@knime/jsonforms 1.11.4 → 1.12.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 +12 -0
- package/dist/{AnyOfTwinlist-B8IWCQfI.js → AnyOfTwinlist-Bm92BxCq.js} +1 -1
- package/dist/{Button-BIMifH4J.js → Button-BU4AHIik.js} +1 -1
- package/dist/{CheckboxControl-mUTfjUik.js → CheckboxControl-BfHrx05I.js} +1 -1
- package/dist/{Checkboxes-C8MYjELb.js → Checkboxes-BgwoEGV-.js} +1 -1
- package/dist/{CheckboxesControl-PnQ9Adbm.js → CheckboxesControl-DeDkOQTP.js} +3 -3
- package/dist/{ComboBoxControl-Bx9k_xcF.js → ComboBoxControl-CS3HULei.js} +2 -2
- package/dist/{DateControl-CFDyvByp.js → DateControl-DeuREfXO.js} +1 -1
- package/dist/{DateTimeControl-6xLdTDKD.js → DateTimeControl-Bv15fo80.js} +2 -2
- package/dist/{DateTimeFormatInput-DN13KoIx.js → DateTimeFormatInput-CTOVceJH.js} +3 -3
- package/dist/DateTimeFormatPickerControl-5fPMIUZs.js +43 -0
- package/dist/{DateTimeFormatPickerWithTypeControl-CK9zH_Pb.js → DateTimeFormatPickerWithTypeControl-yyIHxX6-.js} +19 -23
- package/dist/{DateTimeInput-CDUSsfXW.js → DateTimeInput-BPaZ_pEv.js} +6 -6
- package/dist/{Dropdown-VTgudgLJ.js → Dropdown-D6ytFIra.js} +2 -2
- package/dist/{DropdownControl-B8hshDBE.js → DropdownControl-Bl9djFfv.js} +2 -2
- package/dist/{HorizontalLayout-MsL7PmH3.js → HorizontalLayout-BmgysFCG.js} +1 -1
- package/dist/{InputField-fNsY8a05.js → InputField-D-drv5NW.js} +1 -1
- package/dist/{IntegerControl-ZSV_1jks.js → IntegerControl-CzusffS4.js} +1 -1
- package/dist/{IntervalControl-BedfdbyZ.js → IntervalControl-DBlPYbLt.js} +129 -130
- package/dist/{LoadingDropdown-DRC0PUle.js → LoadingDropdown-xAK7TsDc.js} +3 -3
- package/dist/{MultiSelectListBoxControl-lf35kyRi.js → MultiSelectListBoxControl-D1TD3jNm.js} +2 -2
- package/dist/{MultimodeTwinlistControl-CwPCFa9I.js → MultimodeTwinlistControl-BrluVu3Y.js} +5 -5
- package/dist/{MultiselectListBox-DXD5CLCh.js → MultiselectListBox-1nfMHeks.js} +2 -2
- package/dist/{NameFilter-ClFwXeRF.js → NameFilter-CUdwbsjT.js} +1 -1
- package/dist/{NumberControl-Cr7IXjEm.js → NumberControl-DEGlKs0O.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-ILIV8gqr.js → NumberControlBase.vue_vue_type_script_setup_true_lang-C0B7QKut.js} +2 -2
- package/dist/{NumberInput-A5_w5ol4.js → NumberInput-dE-KEe9u.js} +1 -1
- package/dist/{OneOfDropdown-DlhjZGFa.js → OneOfDropdown-BMcupih8.js} +1 -1
- package/dist/{RadioControl-ClX2lEwk.js → RadioControl-Cgm2SatI.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-Bv6jDZzK.js → RadioControlBase.vue_vue_type_script_setup_true_lang-n6oZHbxa.js} +3 -3
- package/dist/{RichTextControl-KJQSmoKv.js → RichTextControl-YEul6CJZ.js} +4 -4
- package/dist/{SectionHeading-D1h8Hr3u.js → SectionHeading-HNpa-JMB.js} +1 -1
- package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js} +696 -703
- package/dist/{SectionLayout-CVyuhnR5.js → SectionLayout-D-_-IdPp.js} +3 -3
- package/dist/{SettingsSubPanel-CjuhpEr4.js → SettingsSubPanel-CNXzO0_i.js} +1 -1
- package/dist/{SettingsSubPanelLayout-DGhJS__O.js → SettingsSubPanelLayout-C84okIEY.js} +4 -4
- package/dist/{SimpleButtonControl-CiUUyw8s.js → SimpleButtonControl-DbJCOykS.js} +2 -2
- package/dist/{SimpleTwinlistControl-D22uc8-j.js → SimpleTwinlistControl-CAaqVRDo.js} +2 -2
- package/dist/SingleSelectControl-Dn5eHuj1.js +55 -0
- package/dist/{SingleSelectListBoxControl-mafA0Or_.js → SingleSelectListBoxControl-DXBVcA1B.js} +3 -3
- package/dist/{SortListControl-CjaScQzv.js → SortListControl-B_e_Pieg.js} +50 -46
- package/dist/{StyledListItem-BoF85YFQ.js → StyledListItem-CGCkC79t.js} +1 -1
- package/dist/{TextAreaControl-C5eo1xkd.js → TextAreaControl-DF-7_-DW.js} +1 -1
- package/dist/{TextControl-CcC2bMdB.js → TextControl-FEepT6DT.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-JuMgL8lA.js → TextControl.vue_vue_type_script_setup_true_lang-Dd8il0B5.js} +12 -16
- package/dist/{TimeControl-CZIiQ1Iq.js → TimeControl-CL1jfXXP.js} +2 -2
- package/dist/{TwinlistControlBase-mEUGRSXm.js → TwinlistControlBase-DvXv0Vo6.js} +3 -3
- package/dist/{TwinlistLoadingInfo-D6z3t2c9.js → TwinlistLoadingInfo-CcOQiBV3.js} +4 -4
- package/dist/{TypedStringFilter-LQdmf8v7.js → TypedStringFilter-CjW7XKo7.js} +1 -1
- package/dist/{ValueSwitch-D6Wu1NDa.js → ValueSwitch-B-yL0b_A.js} +1 -1
- package/dist/{ValueSwitchControl-BbarTqJt.js → ValueSwitchControl-DeVtjzwE.js} +1 -1
- package/dist/{VerticalLayout-KMe-3TA0.js → VerticalLayout-c3McC0j1.js} +2 -2
- package/dist/{VerticalLayoutBase-Bd2TMmEZ.js → VerticalLayoutBase-Dgnqavoq.js} +1 -1
- package/dist/{ZonedDateTimeControl-Bs_bnndF.js → ZonedDateTimeControl-CkODiVzJ.js} +4 -4
- package/dist/{_baseEach-CABMvL7j.js → _baseEach-B-g2g11B.js} +2 -2
- package/dist/{_baseIteratee-DItkztCj.js → _baseIteratee-CHW73TMN.js} +3 -3
- package/dist/{_getTag-4mJMm5F3.js → _getTag-BWiFGABh.js} +1 -1
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +32 -31
- package/dist/{localTimeUtils-DWYnLAB-.js → localTimeUtils-DrKyGLv2.js} +1 -1
- package/dist/{magic-string.es-Iz0jmxfz.js → magic-string.es-DLCZ-p-e.js} +1 -1
- package/dist/src/JsonFormsDialog.vue.d.ts +7 -2
- package/dist/src/higherOrderComponents/control/types.d.ts +4 -0
- package/dist/src/higherOrderComponents/control/util.d.ts +4 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/src/renderers/defaultRenderers.d.ts +24 -0
- package/dist/src/renderers/simpleButtonRenderer.d.ts +12 -0
- package/dist/src/renderers/sortListRenderer.d.ts +12 -0
- package/dist/src/types/ChoicesUiSchema.d.ts +8 -4
- package/dist/src/types/provided.d.ts +10 -1
- package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/SortListControl.vue.d.ts +8 -0
- package/dist/src/uiComponents/composables/useBuiltinValidations.d.ts +3 -6
- package/dist/src/uiComponents/composables/useHideOnNull.d.ts +1 -1
- package/dist/src/uiComponents/composables/usePossibleValues.d.ts +2 -2
- package/dist/src/uiComponents/composables/useProvidedState.d.ts +17 -2
- package/dist/src/uiComponents/index.d.ts +2 -1
- package/dist/{svgWithTitle-CJzZ_AF0.js → svgWithTitle-C1XM8U1L.js} +1 -1
- package/dist/testUtils/component.d.ts +16 -0
- package/dist/testing.js +3 -3
- package/dist/{toString-DzEZi8fD.js → toString-DfO6VEzj.js} +1 -1
- package/dist/useBuiltinValidations-bc9asSxB.js +73 -0
- package/dist/usePossibleValues-NHPCKPdi.js +17 -0
- package/package.json +3 -3
- package/dist/DateTimeFormatPickerControl-BEnoRr2q.js +0 -47
- package/dist/SingleSelectControl-LrEUX41i.js +0 -58
- package/dist/useBuiltinValidations-hN9BsKJH.js +0 -52
- package/dist/usePossibleValues-DY3q9YuR.js +0 -26
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as u, ref as i, openBlock as l, createElementBlock as m, createVNode as s, withCtx as r, renderSlot as p, createBlock as d, unref as c } from "vue";
|
|
2
|
-
import { r as f, _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
3
|
-
import { V as h } from "./VerticalLayoutBase-
|
|
4
|
-
import { S as v } from "./SectionHeading-
|
|
2
|
+
import { r as f, _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
3
|
+
import { V as h } from "./VerticalLayoutBase-Dgnqavoq.js";
|
|
4
|
+
import { S as v } from "./SectionHeading-HNpa-JMB.js";
|
|
5
5
|
const b = /* @__PURE__ */ u({
|
|
6
6
|
__name: "SectionLayout",
|
|
7
7
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as s, x as a } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
1
|
+
import { _ as s, x as a } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
2
2
|
const _ = /* @__PURE__ */ s(a, [["__scopeId", "data-v-110037e2"]]);
|
|
3
3
|
export {
|
|
4
4
|
_ as S
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as i, openBlock as n, createBlock as s, withCtx as t, createVNode as a, unref as l, createElementVNode as m } from "vue";
|
|
2
|
-
import { q as c, r as p, _ as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { q as c, r as p, _ as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
3
3
|
import { N as f } from "./arrow-next-CIOU5o42.js";
|
|
4
|
-
import { V as h } from "./VerticalLayoutBase-
|
|
5
|
-
import { S as y } from "./SectionHeading-
|
|
6
|
-
import { S as b } from "./SettingsSubPanel-
|
|
4
|
+
import { V as h } from "./VerticalLayoutBase-Dgnqavoq.js";
|
|
5
|
+
import { S as y } from "./SectionHeading-HNpa-JMB.js";
|
|
6
|
+
import { S as b } from "./SettingsSubPanel-CNXzO0_i.js";
|
|
7
7
|
const S = /* @__PURE__ */ i({
|
|
8
8
|
__name: "SettingsSubPanelLayout",
|
|
9
9
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as u, openBlock as s, createBlock as p, resolveDynamicComponent as f, computed as r, ref as g, createElementBlock as _, createVNode as b, unref as y, withCtx as B, createCommentVNode as C, createTextVNode as h, toDisplayString as I, renderSlot as V } from "vue";
|
|
2
|
-
import { y as k, _ as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { y as k, _ as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
3
3
|
import { R as S } from "./reload-BVbCGubF.js";
|
|
4
|
-
import { B as $ } from "./Button-
|
|
4
|
+
import { B as $ } from "./Button-BU4AHIik.js";
|
|
5
5
|
const x = /* @__PURE__ */ u({
|
|
6
6
|
__name: "DynamicIcon",
|
|
7
7
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as i, toRef as l, openBlock as a, createBlock as r, mergeProps as p, unref as c } from "vue";
|
|
2
|
-
import { u } from "./usePossibleValues-
|
|
3
|
-
import { T as m } from "./TwinlistControlBase-
|
|
2
|
+
import { u } from "./usePossibleValues-NHPCKPdi.js";
|
|
3
|
+
import { T as m } from "./TwinlistControlBase-DvXv0Vo6.js";
|
|
4
4
|
const w = /* @__PURE__ */ i({
|
|
5
5
|
__name: "SimpleTwinlistControl",
|
|
6
6
|
props: {
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { defineComponent as _, computed as i, toRef as I, openBlock as y, createBlock as F } from "vue";
|
|
2
|
+
import { u as $ } from "./usePossibleValues-NHPCKPdi.js";
|
|
3
|
+
import { L as v } from "./LoadingDropdown-xAK7TsDc.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
|
+
};
|
package/dist/{SingleSelectListBoxControl-mafA0Or_.js → SingleSelectListBoxControl-DXBVcA1B.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useId as m, resolveComponent as V, openBlock as a, createElementBlock as r, normalizeClass as u, createElementVNode as y, normalizeStyle as c, Fragment as I, renderList as x, createBlock as f, defineComponent as g, toRef as v, unref as h } from "vue";
|
|
2
|
-
import { u as S } from "./usePossibleValues-
|
|
3
|
-
import { S as C } from "./StyledListItem-
|
|
4
|
-
import { _ as L } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { u as S } from "./usePossibleValues-NHPCKPdi.js";
|
|
3
|
+
import { S as C } from "./StyledListItem-CGCkC79t.js";
|
|
4
|
+
import { _ as L } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
5
5
|
const _ = 40, B = 38, w = 36, H = 35, T = {
|
|
6
6
|
name: "ListBox",
|
|
7
7
|
components: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { openBlock as C, createElementBlock as S, createElementVNode as k, defineComponent as W, computed as V, ref as F, watch as q, Fragment as z, createVNode as c, withKeys as B, withModifiers as M, unref as p, withCtx as f, nextTick as re, onMounted as ie, createTextVNode as $, renderSlot as H, normalizeClass as ue } from "vue";
|
|
2
|
-
import { q as E, _ as Y, u as de, L as ce, E as me } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { q as E, _ as Y, u as de, L as ce, E as me } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
3
3
|
import { i as pe } from "./navigator-D_R-txCf.js";
|
|
4
|
-
import { M as fe } from "./MultiselectListBox-
|
|
5
|
-
import { g as ve } from "./_getTag-
|
|
6
|
-
import { b as we } from "./_baseEach-
|
|
7
|
-
import { b as be } from "./_baseIteratee-
|
|
4
|
+
import { M as fe } from "./MultiselectListBox-1nfMHeks.js";
|
|
5
|
+
import { g as ve } from "./_getTag-BWiFGABh.js";
|
|
6
|
+
import { b as we } from "./_baseEach-B-g2g11B.js";
|
|
7
|
+
import { b as be } from "./_baseIteratee-CHW73TMN.js";
|
|
8
8
|
import { i as he } from "./isArray-WzO_os3q.js";
|
|
9
9
|
import { c as ge } from "./createMissingItem-B00Kg95q.js";
|
|
10
|
-
import { B as N } from "./Button-
|
|
10
|
+
import { B as N } from "./Button-BU4AHIik.js";
|
|
11
11
|
const R = {
|
|
12
12
|
ArrowUp: "↑",
|
|
13
13
|
ArrowDown: "↓",
|
|
@@ -25,11 +25,11 @@ const R = {
|
|
|
25
25
|
Alt: "⌥",
|
|
26
26
|
Enter: "↩"
|
|
27
27
|
}, G = (t) => {
|
|
28
|
-
const e = (i) => (r) => i[r] ?? r,
|
|
28
|
+
const e = (i) => (r) => i[r] ?? r, s = ((...i) => i.reduce((r, w) => (_) => w(r(_))))(
|
|
29
29
|
e(Ve),
|
|
30
30
|
e(R)
|
|
31
|
-
),
|
|
32
|
-
return pe() ?
|
|
31
|
+
), a = e(R);
|
|
32
|
+
return pe() ? s(t) : a(t);
|
|
33
33
|
}, J = () => " ", ke = (t, e = J) => t.map(G).join(e()), _e = { formatHotkeys: ke, formatHotkey: G, getDefaultSeparator: J };
|
|
34
34
|
var Z = function() {
|
|
35
35
|
try {
|
|
@@ -38,8 +38,8 @@ var Z = function() {
|
|
|
38
38
|
} catch {
|
|
39
39
|
}
|
|
40
40
|
}();
|
|
41
|
-
function xe(t, e, o,
|
|
42
|
-
for (var
|
|
41
|
+
function xe(t, e, o, s) {
|
|
42
|
+
for (var a = t.length, i = o + -1; ++i < a; )
|
|
43
43
|
if (e(t[i], i, t))
|
|
44
44
|
return i;
|
|
45
45
|
return -1;
|
|
@@ -48,9 +48,9 @@ function Ae(t) {
|
|
|
48
48
|
return t !== t;
|
|
49
49
|
}
|
|
50
50
|
function Ce(t, e, o) {
|
|
51
|
-
for (var
|
|
52
|
-
if (t[
|
|
53
|
-
return
|
|
51
|
+
for (var s = o - 1, a = t.length; ++s < a; )
|
|
52
|
+
if (t[s] === e)
|
|
53
|
+
return s;
|
|
54
54
|
return -1;
|
|
55
55
|
}
|
|
56
56
|
function Se(t, e, o) {
|
|
@@ -64,30 +64,30 @@ function Ie(t, e, o) {
|
|
|
64
64
|
writable: !0
|
|
65
65
|
}) : t[e] = o;
|
|
66
66
|
}
|
|
67
|
-
function ye(t, e, o,
|
|
68
|
-
for (var
|
|
69
|
-
var r = t[
|
|
70
|
-
e(
|
|
67
|
+
function ye(t, e, o, s) {
|
|
68
|
+
for (var a = -1, i = t == null ? 0 : t.length; ++a < i; ) {
|
|
69
|
+
var r = t[a];
|
|
70
|
+
e(s, r, o(r), t);
|
|
71
71
|
}
|
|
72
|
-
return
|
|
72
|
+
return s;
|
|
73
73
|
}
|
|
74
|
-
function Le(t, e, o,
|
|
75
|
-
return we(t, function(
|
|
76
|
-
e(
|
|
77
|
-
}),
|
|
74
|
+
function Le(t, e, o, s) {
|
|
75
|
+
return we(t, function(a, i, r) {
|
|
76
|
+
e(s, a, o(a), r);
|
|
77
|
+
}), s;
|
|
78
78
|
}
|
|
79
79
|
function Q(t, e) {
|
|
80
|
-
return function(o,
|
|
81
|
-
var
|
|
82
|
-
return
|
|
80
|
+
return function(o, s) {
|
|
81
|
+
var a = he(o) ? ye : Le, i = e ? e() : {};
|
|
82
|
+
return a(o, t, be(s), i);
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
function X(t, e, o) {
|
|
86
|
-
var
|
|
87
|
-
if (!
|
|
86
|
+
var s = t == null ? 0 : t.length;
|
|
87
|
+
if (!s)
|
|
88
88
|
return -1;
|
|
89
|
-
var
|
|
90
|
-
return Se(t, e,
|
|
89
|
+
var a = 0;
|
|
90
|
+
return Se(t, e, a);
|
|
91
91
|
}
|
|
92
92
|
var Ue = Q(function(t, e, o) {
|
|
93
93
|
Ie(t, o, e);
|
|
@@ -131,7 +131,7 @@ function Ke(t, e) {
|
|
|
131
131
|
k("path", { d: "m5 14.9 11-11 11 11m-11-11v24.2" }, null, -1)
|
|
132
132
|
]));
|
|
133
133
|
}
|
|
134
|
-
const De = { render: Ke },
|
|
134
|
+
const De = { render: Ke }, Oe = { class: "buttons" }, Pe = /* @__PURE__ */ W({
|
|
135
135
|
__name: "SortList",
|
|
136
136
|
props: {
|
|
137
137
|
modelValue: {},
|
|
@@ -142,9 +142,9 @@ const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
|
|
|
142
142
|
},
|
|
143
143
|
emits: ["update:modelValue"],
|
|
144
144
|
setup(t, { emit: e }) {
|
|
145
|
-
const o = t,
|
|
145
|
+
const o = t, s = e, a = V(() => Ue(o.possibleValues, "id")), i = V(
|
|
146
146
|
() => o.modelValue.map(
|
|
147
|
-
(l) =>
|
|
147
|
+
(l) => a.value[l] ?? ge(l)
|
|
148
148
|
)
|
|
149
149
|
), r = F([]);
|
|
150
150
|
q(
|
|
@@ -172,10 +172,10 @@ const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
|
|
|
172
172
|
), ne = new Set(m), [K, D] = y(
|
|
173
173
|
te,
|
|
174
174
|
(h) => ne.has(h + g)
|
|
175
|
-
), [le,
|
|
176
|
-
|
|
177
|
-
var h, U,
|
|
178
|
-
l === "up" ? ((h = n.value) == null || h.scrollUpIntoView(g - 1), (U = n.value) == null || U.setCurrentKeyNavIndex(g)) : ((
|
|
175
|
+
), [le, ae] = l === "up" ? [K, D] : [D, K], se = ee.concat(le, ae, oe);
|
|
176
|
+
s("update:modelValue", se), re(() => {
|
|
177
|
+
var h, U, O, P;
|
|
178
|
+
l === "up" ? ((h = n.value) == null || h.scrollUpIntoView(g - 1), (U = n.value) == null || U.setCurrentKeyNavIndex(g)) : ((O = n.value) == null || O.scrollDownIntoView(T + 1), (P = n.value) == null || P.setCurrentKeyNavIndex(T));
|
|
179
179
|
});
|
|
180
180
|
}, v = u("up"), x = u("down"), L = () => v({ to: 0 }), A = () => x({ to: o.modelValue.length }), b = (l, d) => `${l} (${_e.formatHotkeys(d)})`;
|
|
181
181
|
return (l, d) => (C(), S(z, null, [
|
|
@@ -197,7 +197,7 @@ const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
|
|
|
197
197
|
B(M(A, ["alt"]), ["end"])
|
|
198
198
|
]
|
|
199
199
|
}, null, 8, ["id", "modelValue", "possible-values", "ariaLabel", "onKeydown"]),
|
|
200
|
-
k("div",
|
|
200
|
+
k("div", Oe, [
|
|
201
201
|
c(E, {
|
|
202
202
|
disabled: w.value,
|
|
203
203
|
title: b("Move to top", ["Alt", "Home"]),
|
|
@@ -245,7 +245,7 @@ const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
|
|
|
245
245
|
])
|
|
246
246
|
], 64));
|
|
247
247
|
}
|
|
248
|
-
}), He = /* @__PURE__ */ Y(
|
|
248
|
+
}), He = /* @__PURE__ */ Y(Pe, [["__scopeId", "data-v-116782be"]]), Re = {
|
|
249
249
|
class: /* @__PURE__ */ ue(["flex", "space-between"])
|
|
250
250
|
}, Ze = { class: "flex" }, je = "<any unknown new column>", We = /* @__PURE__ */ W({
|
|
251
251
|
__name: "SortListControl",
|
|
@@ -262,10 +262,14 @@ const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
|
|
|
262
262
|
anyUnknownValuesText: { default: "Any unknown column" }
|
|
263
263
|
},
|
|
264
264
|
setup(t) {
|
|
265
|
-
const e = t, o = V(() => e.control.data),
|
|
266
|
-
() => e.control.uischema
|
|
267
|
-
),
|
|
268
|
-
|
|
265
|
+
const e = t, o = V(() => e.control.data), s = V(
|
|
266
|
+
() => e.control.uischema
|
|
267
|
+
), a = de(
|
|
268
|
+
s,
|
|
269
|
+
"possibleValues",
|
|
270
|
+
[]
|
|
271
|
+
), i = V(
|
|
272
|
+
() => a.value.concat({
|
|
269
273
|
id: e.anyUnknownValuesId,
|
|
270
274
|
text: e.anyUnknownValuesText,
|
|
271
275
|
special: !0
|
|
@@ -284,8 +288,8 @@ const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
|
|
|
284
288
|
A.length > 0 && e.changeValue(v.concat(A, x));
|
|
285
289
|
};
|
|
286
290
|
ie(() => {
|
|
287
|
-
r(
|
|
288
|
-
}), q(() =>
|
|
291
|
+
r(a.value);
|
|
292
|
+
}), q(() => a.value, r);
|
|
289
293
|
const w = () => {
|
|
290
294
|
e.changeValue(o.value.toSorted((n, u) => n.localeCompare(u)));
|
|
291
295
|
}, _ = () => {
|
|
@@ -364,7 +368,7 @@ const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
|
|
|
364
368
|
}, 8, ["label", "onControllingFlowVariableSet"])
|
|
365
369
|
], 64));
|
|
366
370
|
}
|
|
367
|
-
}), nt = /* @__PURE__ */ Y(We, [["__scopeId", "data-v-
|
|
371
|
+
}), nt = /* @__PURE__ */ Y(We, [["__scopeId", "data-v-dfbf22b0"]]);
|
|
368
372
|
export {
|
|
369
373
|
je as DEFAULT_ANY_UNKNOWN_VALUES_ID,
|
|
370
374
|
nt as default
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as s, createElementBlock as n, mergeProps as d, withModifiers as o, toDisplayString as a } from "vue";
|
|
2
|
-
import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
3
3
|
const f = {
|
|
4
4
|
name: "StyledListItem",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as a, createElementBlock as o, normalizeClass as r, createElementVNode as u, mergeProps as c, createCommentVNode as m, defineComponent as p, createBlock as f, unref as V } from "vue";
|
|
2
|
-
import { _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
3
3
|
const y = {
|
|
4
4
|
name: "TextArea",
|
|
5
5
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as c, ref as u, openBlock as m, createBlock as h, unref as
|
|
2
|
-
import { u as f } from "./useBuiltinValidations-
|
|
3
|
-
import { u as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
4
|
-
import { I as F } from "./InputField-
|
|
5
|
-
const I = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as s, computed as c, ref as u, openBlock as m, createBlock as h, unref as l } from "vue";
|
|
2
|
+
import { u as f } from "./useBuiltinValidations-bc9asSxB.js";
|
|
3
|
+
import { u as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
4
|
+
import { I as F } from "./InputField-D-drv5NW.js";
|
|
5
|
+
const I = /* @__PURE__ */ s({
|
|
6
6
|
__name: "TextControl",
|
|
7
7
|
props: {
|
|
8
8
|
control: {},
|
|
@@ -13,34 +13,30 @@ const I = /* @__PURE__ */ c({
|
|
|
13
13
|
onRegisterValidation: { type: Function },
|
|
14
14
|
labelForId: {}
|
|
15
15
|
},
|
|
16
|
-
setup(
|
|
17
|
-
|
|
18
|
-
const n = r;
|
|
16
|
+
setup(a, { expose: i }) {
|
|
17
|
+
const n = a;
|
|
19
18
|
f(
|
|
20
19
|
{
|
|
21
20
|
pattern: ({ pattern: e }) => {
|
|
22
21
|
const o = new RegExp(`^(${e})$`);
|
|
23
|
-
return (
|
|
22
|
+
return (p) => o.test(p ?? "");
|
|
24
23
|
},
|
|
25
24
|
minLength: ({ minLength: e }) => (o) => ((o == null ? void 0 : o.length) ?? 0) >= e,
|
|
26
25
|
maxLength: ({ maxLength: e }) => (o) => ((o == null ? void 0 : o.length) ?? 0) <= e
|
|
27
26
|
},
|
|
28
27
|
n
|
|
29
28
|
);
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
((a = n.control.uischema.options) == null ? void 0 : a.placeholder) ?? ""
|
|
33
|
-
), t = u(null);
|
|
34
|
-
return d({
|
|
29
|
+
const d = c(() => n.control.uischema), r = g(d, "placeholder", ""), t = u(null);
|
|
30
|
+
return i({
|
|
35
31
|
focus: () => {
|
|
36
32
|
var e;
|
|
37
33
|
return (e = t.value) == null ? void 0 : e.focus();
|
|
38
34
|
}
|
|
39
|
-
}), (e, o) => (m(), h(
|
|
35
|
+
}), (e, o) => (m(), h(l(F), {
|
|
40
36
|
id: e.labelForId,
|
|
41
37
|
ref_key: "inputField",
|
|
42
38
|
ref: t,
|
|
43
|
-
placeholder:
|
|
39
|
+
placeholder: l(r),
|
|
44
40
|
"model-value": e.control.data,
|
|
45
41
|
disabled: e.disabled,
|
|
46
42
|
"is-valid": e.isValid,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, computed as e, openBlock as p, createBlock as h, unref as t } from "vue";
|
|
2
|
-
import { D as f } from "./DateTimeInput-
|
|
3
|
-
import { l as a } from "./localTimeUtils-
|
|
2
|
+
import { D as f } from "./DateTimeInput-BPaZ_pEv.js";
|
|
3
|
+
import { l as a } from "./localTimeUtils-DrKyGLv2.js";
|
|
4
4
|
const g = /* @__PURE__ */ m({
|
|
5
5
|
__name: "TimeControl",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as t, markRaw as d, toRef as p, openBlock as r, createBlock as u, unref as l } from "vue";
|
|
2
|
-
import { a as m } from "./usePossibleValues-
|
|
3
|
-
import { T as b, a as c } from "./TwinlistLoadingInfo-
|
|
4
|
-
import { _ as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { a as m } from "./usePossibleValues-NHPCKPdi.js";
|
|
3
|
+
import { T as b, a as c } from "./TwinlistLoadingInfo-CcOQiBV3.js";
|
|
4
|
+
import { _ as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
5
5
|
const h = /* @__PURE__ */ t({
|
|
6
6
|
__name: "TwinlistControlBase",
|
|
7
7
|
props: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { openBlock as r, createElementBlock as v, createElementVNode as c, computed as u, nextTick as Q, resolveComponent as w, createBlock as V, normalizeClass as k, withCtx as x, renderSlot as $, createVNode as I, createCommentVNode as y, defineComponent as j, useCssVars as G, ref as T, normalizeStyle as D, Fragment as ee, renderList as te, unref as H, toRef as U, toDisplayString as R } from "vue";
|
|
2
2
|
import { N as ne } from "./arrow-next-CIOU5o42.js";
|
|
3
3
|
import { u as O } from "./useSearch-hpyYQ_6y.js";
|
|
4
|
-
import { z as le, A as se, _ as A, q as oe, v as ie } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
5
|
-
import { M as ae } from "./MultiselectListBox-
|
|
4
|
+
import { z as le, A as se, _ as A, q as oe, v as ie } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
5
|
+
import { M as ae } from "./MultiselectListBox-1nfMHeks.js";
|
|
6
6
|
import { C as ue } from "./close-BuY4mhXV.js";
|
|
7
|
-
import { I as de } from "./InputField-
|
|
7
|
+
import { I as de } from "./InputField-D-drv5NW.js";
|
|
8
8
|
import { c as P } from "./createMissingItem-B00Kg95q.js";
|
|
9
|
-
import { L as re } from "./svgWithTitle-
|
|
9
|
+
import { L as re } from "./svgWithTitle-C1XM8U1L.js";
|
|
10
10
|
const ce = {
|
|
11
11
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12
12
|
fill: "none",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, computed as s, openBlock as i, createBlock as p, mergeProps as r } from "vue";
|
|
2
|
-
import u from "./MultimodeTwinlistControl-
|
|
2
|
+
import u from "./MultimodeTwinlistControl-BrluVu3Y.js";
|
|
3
3
|
const w = /* @__PURE__ */ a({
|
|
4
4
|
__name: "TypedStringFilter",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, useId as V, openBlock as o, createElementBlock as d, Fragment as n, renderList as B, normalizeClass as i, createElementVNode as s, toDisplayString as r, renderSlot as p, createCommentVNode as $, resolveComponent as v, createBlock as g, withCtx as h, normalizeProps as S, guardReactiveProps as k } from "vue";
|
|
2
|
-
import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
3
3
|
const w = u({
|
|
4
4
|
name: "BaseRadioButtons",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as a } from "vue";
|
|
2
|
-
import { _ as p } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as p } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-n6oZHbxa.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "ValueSwitchControl",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as a, createBlock as l, withCtx as s, unref as n } from "vue";
|
|
2
|
-
import { r as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
3
|
-
import { V as m } from "./VerticalLayoutBase-
|
|
2
|
+
import { r as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
3
|
+
import { V as m } from "./VerticalLayoutBase-Dgnqavoq.js";
|
|
4
4
|
const d = /* @__PURE__ */ o({
|
|
5
5
|
__name: "VerticalLayout",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as r, createElementBlock as o, Fragment as n, renderList as c, renderSlot as l } from "vue";
|
|
2
|
-
import { _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
3
3
|
const p = { class: "vertical-layout" }, u = /* @__PURE__ */ s({
|
|
4
4
|
__name: "VerticalLayoutBase",
|
|
5
5
|
props: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as V, computed as a, openBlock as b, createElementBlock as f, createVNode as r, unref as c } from "vue";
|
|
2
|
-
import { D as h } from "./DateTimeInput-
|
|
3
|
-
import { _ as T } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
4
|
-
import { t as w, f as g } from "./localTimeUtils-
|
|
5
|
-
import { D as C } from "./Dropdown-
|
|
2
|
+
import { D as h } from "./DateTimeInput-BPaZ_pEv.js";
|
|
3
|
+
import { _ as T } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
4
|
+
import { t as w, f as g } from "./localTimeUtils-DrKyGLv2.js";
|
|
5
|
+
import { D as C } from "./Dropdown-D6ytFIra.js";
|
|
6
6
|
const y = ["id"], D = /* @__PURE__ */ V({
|
|
7
7
|
__name: "ZonedDateTimeControl",
|
|
8
8
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as h } from "./_baseIteratee-
|
|
2
|
-
import { c as b } from "./_getTag-
|
|
1
|
+
import { k as h } from "./_baseIteratee-CHW73TMN.js";
|
|
2
|
+
import { c as b } from "./_getTag-BWiFGABh.js";
|
|
3
3
|
function g(n) {
|
|
4
4
|
return function(e, r, f) {
|
|
5
5
|
for (var i = -1, a = Object(e), t = f(e), u = t.length; u--; ) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as J, a as $, b as Q, c as fn, d as un, g as ln, M as W, e as N, f as _n } from "./_getTag-
|
|
2
|
-
import { n as V, D as on, S as H, G as F, A as hn } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
1
|
+
import { i as J, a as $, b as Q, c as fn, d as un, g as ln, M as W, e as N, f as _n } from "./_getTag-BWiFGABh.js";
|
|
2
|
+
import { n as V, D as on, S as H, G as F, A as hn } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
3
3
|
import { i as O } from "./isArray-WzO_os3q.js";
|
|
4
|
-
import { t as pn } from "./toString-
|
|
4
|
+
import { t as pn } from "./toString-DfO6VEzj.js";
|
|
5
5
|
function dn(n) {
|
|
6
6
|
return n;
|
|
7
7
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as I, H as i, D as o, G as v, I as _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
1
|
+
import { A as I, H as i, D as o, G as v, I as _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
2
2
|
var V = "[object AsyncFunction]", D = "[object Function]", U = "[object GeneratorFunction]", G = "[object Proxy]";
|
|
3
3
|
function E(r) {
|
|
4
4
|
if (!I(r))
|