@knime/jsonforms 1.14.3 → 1.15.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 +32 -0
- package/dist/AnyOfTwinlist-BmHETHvW.js +28 -0
- package/dist/{Button-BxuGKyL5.js → Button-B9RSLVI2.js} +9 -8
- package/dist/CheckboxControl-q88fZSZD.js +58 -0
- package/dist/Checkboxes-Bofcg7tl.js +120 -0
- package/dist/CheckboxesControl-DY0R1PDD.js +47 -0
- package/dist/{ComboBoxControl-Dk02x7sN.js → ComboBoxControl-2r1FWcy-.js} +238 -172
- package/dist/DateControl-vnkppn62.js +38 -0
- package/dist/DateTimeControl-MkF9G3Xz.js +53 -0
- package/dist/DateTimeFormatInput-Ds2VLXw1.js +426 -0
- package/dist/DateTimeFormatPickerControl-D3OjZCj7.js +47 -0
- package/dist/DateTimeFormatPickerWithTypeControl-DDto-oJk.js +85 -0
- package/dist/DateTimeInput-DcwhvMD2.js +11321 -0
- package/dist/Dropdown-D49sEHBa.js +663 -0
- package/dist/DropdownControl-aeEqC-Yg.js +46 -0
- package/dist/HorizontalLayout-D0toQmVl.js +39 -0
- package/dist/{InputField-BYxW_-G3.js → InputField-C_aZPs-f.js} +48 -36
- package/dist/IntegerControl-DAwniqjW.js +33 -0
- package/dist/IntervalControl-Bkuhg0Ga.js +647 -0
- package/dist/LoadingDropdown-B9jHjdWV.js +50 -0
- package/dist/LoadingIcon-RPBUjTO3.js +23 -0
- package/dist/ManualTwinlistControl-DGW-7a2Q.js +90 -0
- package/dist/MultiSelectListBoxControl-BYHuC9jL.js +48 -0
- package/dist/MultimodeTwinlistControl-oIvgI_FP.js +486 -0
- package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_37fe7036_lang-DGKMWtLi.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_bd2eaa56_lang-pnMOUiIt.js} +1 -1
- package/dist/{MultiselectListBox-CHvGxAhY.js → MultiselectListBox-CfdPbcn1.js} +105 -86
- package/dist/NameFilter-BV68t_P5.js +37 -0
- package/dist/NumberControl-Dm01CJW9.js +33 -0
- package/dist/NumberControlBase-CN5eTKEm.js +58 -0
- package/dist/{NumberInput-DJ38AGiR.js → NumberInput-DWTImcA_.js} +72 -54
- package/dist/OneOfDropdown-DuXXP0Qn.js +50 -0
- package/dist/RadioControl-X6HLs9F1.js +36 -0
- package/dist/RadioControlBase-BGUHTIUl.js +111 -0
- package/dist/{RichTextControl-CXY1ULxR.js → RichTextControl-B1mJMs1e.js} +5462 -4668
- package/dist/SectionHeading-B6JkPyMh.js +31 -0
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_f06e9b7d_lang-B5ALSUVO.js +15603 -0
- package/dist/SectionLayout-7pXn4OHo.js +61 -0
- package/dist/SettingsSubPanel-DToMRoLu.js +48 -0
- package/dist/SettingsSubPanelLayout-DnZnghFr.js +83 -0
- package/dist/SimpleButtonControl-DOSd92Kq.js +84 -0
- package/dist/SimpleTwinlistControl-RBfQTk47.js +31 -0
- package/dist/SingleSelectControl-C-GLQD-a.js +73 -0
- package/dist/SingleSelectListBoxControl-CDg_1QUT.js +260 -0
- package/dist/SortListControl-CWuxKIEb.js +445 -0
- package/dist/StyledListItem-NqAG7jSw.js +81 -0
- package/dist/TextAreaControl-Dt5ZGrae.js +122 -0
- package/dist/TextControl-w9vrCC1T.js +54 -0
- package/dist/TimeControl-DiNQSV4K.js +46 -0
- package/dist/TwinlistControlBase-CMFEecdr.js +47 -0
- package/dist/TwinlistLoadingInfo-Cy6HY-97.js +1080 -0
- package/dist/TypedStringFilter-FUF8sqOm.js +32 -0
- package/dist/ValueSwitch-Ozmr1YfK.js +162 -0
- package/dist/ValueSwitchControl-CdFlHo-2.js +33 -0
- package/dist/VerticalLayout-DY8gbasK.js +39 -0
- package/dist/VerticalLayoutBase-CpN-KONq.js +32 -0
- package/dist/ZonedDateTimeControl-Cg3dAfq5.js +79 -0
- package/dist/{_baseEach-cjHvi5iT.js → _baseEach-CWap1NWh.js} +4 -4
- package/dist/{_baseIteratee-CIxt0KWU.js → _baseIteratee-D0MXvnuf.js} +27 -27
- package/dist/{_getTag-sLUyzSDj.js → _getTag-BvpAzjaz.js} +10 -10
- package/dist/{arrow-dropdown-DdgjzLAO.js → arrow-dropdown-eS-nVNCv.js} +9 -3
- package/dist/{arrow-next-CIOU5o42.js → arrow-next-BmOStWql.js} +9 -3
- package/dist/{close-BuY4mhXV.js → close-0dYG2oDA.js} +9 -3
- package/dist/floating-ui.vue-CDo9Kas1.js +1055 -0
- package/dist/{hotkeys-kwHHtFKz.js → hotkeys-rxnt4egK.js} +1 -1
- package/dist/index-CpKfM262.js +376 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +133 -110
- package/dist/{localTimeUtils-Dv-1R88J.js → localTimeUtils-CfchSrLG.js} +179 -181
- package/dist/magic-string.es-BQ9KnLz-.js +659 -0
- package/dist/navigator-e30QQMkl.js +4 -0
- package/dist/popper-LGjf7Wza.js +905 -0
- package/dist/reload-57Xc2t-6.js +23 -0
- package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +26 -22
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +3 -4
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +16 -10
- package/dist/src/higherOrderComponents/control/errorMessage/withErrorMessage.d.ts +1 -1
- package/dist/src/higherOrderComponents/control/util.d.ts +7 -33
- package/dist/src/higherOrderComponents/layout/util.d.ts +1 -17
- package/dist/src/layoutComponents/Form.vue.d.ts +12 -4
- package/dist/src/layoutComponents/HorizontalLayout.vue.d.ts +1 -1
- package/dist/src/layoutComponents/SectionLayout.vue.d.ts +13 -5
- package/dist/src/layoutComponents/VerticalLayout.vue.d.ts +1 -1
- package/dist/src/layoutComponents/VerticalLayoutBase.vue.d.ts +16 -9
- package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +13 -6
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +2 -2
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +1 -1
- package/dist/src/renderers/dateTimeFormatPickerRenderer.d.ts +2 -2
- package/dist/src/renderers/defaultRenderers.d.ts +966 -151
- package/dist/src/renderers/dropdownRenderer.d.ts +1 -1
- package/dist/src/renderers/fallbackRenderers.d.ts +8 -8
- package/dist/src/renderers/horizontalLayoutRenderer.d.ts +1 -1
- package/dist/src/renderers/sectionLayoutRenderer.d.ts +4 -4
- package/dist/src/renderers/simpleButtonRenderer.d.ts +7 -89
- package/dist/src/renderers/sortListRenderer.d.ts +853 -20
- package/dist/src/renderers/textMessageRenderer.d.ts +65 -1
- package/dist/src/renderers/textRenderer.d.ts +1 -1
- package/dist/src/renderers/verticalLayoutRenderer.d.ts +2 -2
- package/dist/src/renderers/zonedDateTimeRenderer.d.ts +1 -1
- package/dist/src/uiComponents/CheckboxControl.vue.d.ts +15 -6
- package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DateControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DateTimeFormatPickerWithTypeControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/IntegerControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/IntervalControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/MultiSelectListBoxControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/NumberControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/NumberControlBase.vue.d.ts +5 -9
- package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +2 -1
- package/dist/src/uiComponents/RadioControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/RadioControlBase.vue.d.ts +4 -8
- package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +5 -129
- package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/SingleSelectListBoxControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/SortListControl.vue.d.ts +845 -12
- package/dist/src/uiComponents/TextAreaControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/TextControl.vue.d.ts +203 -3
- package/dist/src/uiComponents/TextMessageControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/TimeControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/composables/useProvidedState.d.ts +1 -1
- package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +1 -1
- package/dist/src/uiComponents/richTextControl/DialogLinkModal.vue.d.ts +3 -1
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +230 -1
- package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +8 -15
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +5 -10
- package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +2 -1
- package/dist/testUtils/component.d.ts +18 -18
- package/dist/testing.js +8688 -8655
- package/dist/{toString-C_MqBj3_.js → toString-C-X8cE7K.js} +1 -1
- package/dist/{useBuiltinValidations-DP7OS71z.js → useBuiltinValidations-D0WuEacN.js} +1 -1
- package/dist/useDropdownNavigation-BfCXUheD.js +817 -0
- package/dist/usePossibleValues-DTVXBGRC.js +16 -0
- package/package.json +14 -14
- package/dist/AnyOfTwinlist-Cwxtyt0Q.js +0 -22
- package/dist/CheckboxControl-Oe97HhY3.js +0 -40
- package/dist/Checkboxes-DIPjJhPO.js +0 -103
- package/dist/CheckboxesControl-5QlPmjwv.js +0 -41
- package/dist/DateControl-CddCObVg.js +0 -29
- package/dist/DateTimeControl-DyXUJBHE.js +0 -54
- package/dist/DateTimeFormatInput-bO1zHUyp.js +0 -381
- package/dist/DateTimeFormatPickerControl-Dq25_JV2.js +0 -43
- package/dist/DateTimeFormatPickerWithTypeControl-DZib_x-B.js +0 -79
- package/dist/DateTimeInput-CEYEV8dt.js +0 -11204
- package/dist/Dropdown-CJj0CUA8.js +0 -604
- package/dist/DropdownControl-BNQKWzTT.js +0 -31
- package/dist/HorizontalLayout-6GwurgkR.js +0 -25
- package/dist/IntegerControl-DZIY-wb_.js +0 -20
- package/dist/IntervalControl-Yts36_MI.js +0 -546
- package/dist/LoadingDropdown-Dw-0WQ8x.js +0 -40
- package/dist/ManualTwinlistControl-C3NnAug1.js +0 -85
- package/dist/MultiSelectListBoxControl-3Q41S4aA.js +0 -34
- package/dist/MultimodeTwinlistControl-B2Jven29.js +0 -470
- package/dist/NameFilter-D0hKO5Fr.js +0 -24
- package/dist/NumberControl-DkeQT1iR.js +0 -20
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-B9K5qEs3.js +0 -53
- package/dist/OneOfDropdown-NAgE-mPP.js +0 -34
- package/dist/RadioControl-DjrysNQ_.js +0 -24
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-WaVJMdQq.js +0 -114
- package/dist/SectionHeading-BU1W5lDr.js +0 -19
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js +0 -14015
- package/dist/SectionLayout-CJP4sYyB.js +0 -46
- package/dist/SettingsSubPanel-KxEyzlB6.js +0 -5
- package/dist/SettingsSubPanelLayout-YBNVPQOD.js +0 -61
- package/dist/SimpleButtonControl-ejyUwJdL.js +0 -61
- package/dist/SimpleTwinlistControl-qXQxRI7h.js +0 -28
- package/dist/SingleSelectControl-B0JgDv7j.js +0 -58
- package/dist/SingleSelectListBoxControl-ClQOxnxW.js +0 -235
- package/dist/SortListControl-mvJofiWn.js +0 -375
- package/dist/StyledListItem-BXz08pEQ.js +0 -72
- package/dist/TextAreaControl-S4aoqAv1.js +0 -111
- package/dist/TextControl-rJrjrBw8.js +0 -4
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-Bf6GB1zX.js +0 -50
- package/dist/TimeControl-DfhE8yu9.js +0 -42
- package/dist/TwinlistControlBase-D1l9t7Up.js +0 -40
- package/dist/TwinlistLoadingInfo-CQRx9cEu.js +0 -963
- package/dist/TypedStringFilter-C6JhWCCC.js +0 -29
- package/dist/ValueSwitch-CUYV7v67.js +0 -131
- package/dist/ValueSwitchControl-IP9SxrUs.js +0 -20
- package/dist/VerticalLayout-D2eQSYgv.js +0 -30
- package/dist/VerticalLayoutBase-DRfHwc4t.js +0 -20
- package/dist/ZonedDateTimeControl-Bi8cV34A.js +0 -75
- package/dist/floating-ui.vue-B-MrqKCT.js +0 -1019
- package/dist/index-CoRworrE.js +0 -322
- package/dist/magic-string.es-D-aKzDFf.js +0 -858
- package/dist/navigator-D_R-txCf.js +0 -7
- package/dist/popper-CRR--9mA.js +0 -907
- package/dist/reload-BVbCGubF.js +0 -17
- package/dist/src/JsonFormsDialog.vue.d.ts +0 -46
- package/dist/svgWithTitle-Cr3Pu3wr.js +0 -18
- package/dist/useDropdownNavigation-7o7SRJSo.js +0 -781
- package/dist/usePossibleValues-lz0Rcu_N.js +0 -20
|
@@ -1,375 +0,0 @@
|
|
|
1
|
-
import { openBlock as C, createElementBlock as S, createElementVNode as k, defineComponent as W, computed as V, ref as F, watch as z, Fragment as Y, 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 { r as E, _ as q, u as de, L as ce, E as me } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
|
|
3
|
-
import { i as pe } from "./navigator-D_R-txCf.js";
|
|
4
|
-
import { M as fe } from "./MultiselectListBox-CHvGxAhY.js";
|
|
5
|
-
import { g as ve } from "./_getTag-sLUyzSDj.js";
|
|
6
|
-
import { b as we } from "./_baseEach-cjHvi5iT.js";
|
|
7
|
-
import { b as be } from "./_baseIteratee-CIxt0KWU.js";
|
|
8
|
-
import { i as he } from "./isArray-WzO_os3q.js";
|
|
9
|
-
import { c as ge } from "./createMissingItem-B00Kg95q.js";
|
|
10
|
-
import { B as N } from "./Button-BxuGKyL5.js";
|
|
11
|
-
const R = {
|
|
12
|
-
ArrowUp: "↑",
|
|
13
|
-
ArrowDown: "↓",
|
|
14
|
-
ArrowLeft: "←",
|
|
15
|
-
ArrowRight: "→",
|
|
16
|
-
Enter: "↵",
|
|
17
|
-
" ": "Space",
|
|
18
|
-
// we use event.key and there space is an actual space not the code "Space"
|
|
19
|
-
CtrlOrCmd: "Ctrl"
|
|
20
|
-
}, Ve = {
|
|
21
|
-
Shift: "⇧",
|
|
22
|
-
Delete: "⌫",
|
|
23
|
-
CtrlOrCmd: "⌘",
|
|
24
|
-
Ctrl: "⌃",
|
|
25
|
-
Alt: "⌥",
|
|
26
|
-
Enter: "↩"
|
|
27
|
-
}, G = (t) => {
|
|
28
|
-
const e = (i) => (r) => i[r] ?? r, s = ((...i) => i.reduce((r, w) => (_) => w(r(_))))(
|
|
29
|
-
e(Ve),
|
|
30
|
-
e(R)
|
|
31
|
-
), a = e(R);
|
|
32
|
-
return pe() ? s(t) : a(t);
|
|
33
|
-
}, J = () => " ", ke = (t, e = J) => t.map(G).join(e()), _e = { formatHotkeys: ke, formatHotkey: G, getDefaultSeparator: J };
|
|
34
|
-
var Z = function() {
|
|
35
|
-
try {
|
|
36
|
-
var t = ve(Object, "defineProperty");
|
|
37
|
-
return t({}, "", {}), t;
|
|
38
|
-
} catch {
|
|
39
|
-
}
|
|
40
|
-
}();
|
|
41
|
-
function xe(t, e, o, s) {
|
|
42
|
-
for (var a = t.length, i = o + -1; ++i < a; )
|
|
43
|
-
if (e(t[i], i, t))
|
|
44
|
-
return i;
|
|
45
|
-
return -1;
|
|
46
|
-
}
|
|
47
|
-
function Ae(t) {
|
|
48
|
-
return t !== t;
|
|
49
|
-
}
|
|
50
|
-
function Ce(t, e, o) {
|
|
51
|
-
for (var s = o - 1, a = t.length; ++s < a; )
|
|
52
|
-
if (t[s] === e)
|
|
53
|
-
return s;
|
|
54
|
-
return -1;
|
|
55
|
-
}
|
|
56
|
-
function Se(t, e, o) {
|
|
57
|
-
return e === e ? Ce(t, e, o) : xe(t, Ae, o);
|
|
58
|
-
}
|
|
59
|
-
function Ie(t, e, o) {
|
|
60
|
-
e == "__proto__" && Z ? Z(t, e, {
|
|
61
|
-
configurable: !0,
|
|
62
|
-
enumerable: !0,
|
|
63
|
-
value: o,
|
|
64
|
-
writable: !0
|
|
65
|
-
}) : t[e] = o;
|
|
66
|
-
}
|
|
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
|
-
}
|
|
72
|
-
return s;
|
|
73
|
-
}
|
|
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
|
-
}
|
|
79
|
-
function Q(t, e) {
|
|
80
|
-
return function(o, s) {
|
|
81
|
-
var a = he(o) ? ye : Le, i = e ? e() : {};
|
|
82
|
-
return a(o, t, be(s), i);
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
function X(t, e, o) {
|
|
86
|
-
var s = t == null ? 0 : t.length;
|
|
87
|
-
if (!s)
|
|
88
|
-
return -1;
|
|
89
|
-
var a = 0;
|
|
90
|
-
return Se(t, e, a);
|
|
91
|
-
}
|
|
92
|
-
var Ue = Q(function(t, e, o) {
|
|
93
|
-
Ie(t, o, e);
|
|
94
|
-
}), Be = Q(function(t, e, o) {
|
|
95
|
-
t[o ? 0 : 1].push(e);
|
|
96
|
-
}, function() {
|
|
97
|
-
return [[], []];
|
|
98
|
-
});
|
|
99
|
-
const Me = {
|
|
100
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
101
|
-
fill: "none",
|
|
102
|
-
stroke: "#000",
|
|
103
|
-
"stroke-linejoin": "round",
|
|
104
|
-
viewBox: "0 0 32 32"
|
|
105
|
-
};
|
|
106
|
-
function Ee(t, e) {
|
|
107
|
-
return C(), S("svg", Me, e[0] || (e[0] = [
|
|
108
|
-
k("path", { d: "m27 17.1-11 11-11-11m11 11V3.9" }, null, -1)
|
|
109
|
-
]));
|
|
110
|
-
}
|
|
111
|
-
const Te = { render: Ee }, $e = {
|
|
112
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
113
|
-
fill: "none",
|
|
114
|
-
stroke: "#000",
|
|
115
|
-
viewBox: "0 0 32 32"
|
|
116
|
-
};
|
|
117
|
-
function Ne(t, e) {
|
|
118
|
-
return C(), S("svg", $e, e[0] || (e[0] = [
|
|
119
|
-
k("path", { d: "M23.4 13.4 16 20.8l-7.4-7.4m7.4 7.4V4.5m12.5 23h-25" }, null, -1)
|
|
120
|
-
]));
|
|
121
|
-
}
|
|
122
|
-
const j = { render: Ne }, Fe = {
|
|
123
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
124
|
-
fill: "none",
|
|
125
|
-
stroke: "#000",
|
|
126
|
-
"stroke-linejoin": "round",
|
|
127
|
-
viewBox: "0 0 32 32"
|
|
128
|
-
};
|
|
129
|
-
function Ke(t, e) {
|
|
130
|
-
return C(), S("svg", Fe, e[0] || (e[0] = [
|
|
131
|
-
k("path", { d: "m5 14.9 11-11 11 11m-11-11v24.2" }, null, -1)
|
|
132
|
-
]));
|
|
133
|
-
}
|
|
134
|
-
const De = { render: Ke }, Oe = { class: "buttons" }, Pe = /* @__PURE__ */ W({
|
|
135
|
-
__name: "SortList",
|
|
136
|
-
props: {
|
|
137
|
-
modelValue: {},
|
|
138
|
-
id: {},
|
|
139
|
-
ariaLabel: {},
|
|
140
|
-
disabled: { type: Boolean },
|
|
141
|
-
possibleValues: {}
|
|
142
|
-
},
|
|
143
|
-
emits: ["update:modelValue"],
|
|
144
|
-
setup(t, { emit: e }) {
|
|
145
|
-
const o = t, s = e, a = V(() => Ue(o.possibleValues, "id")), i = V(
|
|
146
|
-
() => o.modelValue.map(
|
|
147
|
-
(l) => a.value[l] ?? ge(l)
|
|
148
|
-
)
|
|
149
|
-
), r = F([]);
|
|
150
|
-
z(
|
|
151
|
-
() => o.modelValue,
|
|
152
|
-
(l) => {
|
|
153
|
-
const d = new Set(l);
|
|
154
|
-
r.value = r.value.filter((m) => d.has(m));
|
|
155
|
-
}
|
|
156
|
-
);
|
|
157
|
-
const w = V(() => r.value.length === 0), _ = (l, d, m) => [
|
|
158
|
-
l.slice(0, d),
|
|
159
|
-
l.slice(d, m),
|
|
160
|
-
l.slice(m)
|
|
161
|
-
], I = (l) => {
|
|
162
|
-
let d = 0;
|
|
163
|
-
return (m) => l(m, d++);
|
|
164
|
-
}, y = (l, d) => Be(
|
|
165
|
-
l,
|
|
166
|
-
I((m, g) => d(g))
|
|
167
|
-
), n = F(null), u = (l) => ({ to: d } = {}) => {
|
|
168
|
-
const m = r.value.map((h) => X(o.modelValue, h)).sort((h, U) => h - U), g = (l === "up" ? d : null) ?? Math.max(m[0] - 1, 0), T = (l === "down" ? d : null) ?? m[m.length - 1] + 1, [ee, te, oe] = _(
|
|
169
|
-
o.modelValue,
|
|
170
|
-
g,
|
|
171
|
-
T + 1
|
|
172
|
-
), ne = new Set(m), [K, D] = y(
|
|
173
|
-
te,
|
|
174
|
-
(h) => ne.has(h + 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
|
-
});
|
|
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
|
-
return (l, d) => (C(), S(Y, null, [
|
|
182
|
-
c(fe, {
|
|
183
|
-
id: l.id,
|
|
184
|
-
ref_key: "listBox",
|
|
185
|
-
ref: n,
|
|
186
|
-
modelValue: r.value,
|
|
187
|
-
"onUpdate:modelValue": d[0] || (d[0] = (m) => r.value = m),
|
|
188
|
-
"possible-values": i.value,
|
|
189
|
-
ariaLabel: `sortListBox_${l.ariaLabel}`,
|
|
190
|
-
"with-is-empty-state": !0,
|
|
191
|
-
"empty-state-label": "Empty",
|
|
192
|
-
size: 10,
|
|
193
|
-
onKeydown: [
|
|
194
|
-
B(M(p(x), ["alt"]), ["down"]),
|
|
195
|
-
B(M(p(v), ["alt"]), ["up"]),
|
|
196
|
-
B(M(L, ["alt"]), ["home"]),
|
|
197
|
-
B(M(A, ["alt"]), ["end"])
|
|
198
|
-
]
|
|
199
|
-
}, null, 8, ["id", "modelValue", "possible-values", "ariaLabel", "onKeydown"]),
|
|
200
|
-
k("div", Oe, [
|
|
201
|
-
c(E, {
|
|
202
|
-
disabled: w.value,
|
|
203
|
-
title: b("Move to top", ["Alt", "Home"]),
|
|
204
|
-
compact: "",
|
|
205
|
-
onClick: L
|
|
206
|
-
}, {
|
|
207
|
-
default: f(() => [
|
|
208
|
-
c(p(j), { class: "rotated" })
|
|
209
|
-
]),
|
|
210
|
-
_: 1
|
|
211
|
-
}, 8, ["disabled", "title"]),
|
|
212
|
-
c(E, {
|
|
213
|
-
disabled: w.value,
|
|
214
|
-
title: b("Move to bottom", ["Alt", "End"]),
|
|
215
|
-
compact: "",
|
|
216
|
-
onClick: A
|
|
217
|
-
}, {
|
|
218
|
-
default: f(() => [
|
|
219
|
-
c(p(j))
|
|
220
|
-
]),
|
|
221
|
-
_: 1
|
|
222
|
-
}, 8, ["disabled", "title"]),
|
|
223
|
-
c(E, {
|
|
224
|
-
disabled: w.value,
|
|
225
|
-
title: b("Move up", ["Alt", "ArrowUp"]),
|
|
226
|
-
compact: "",
|
|
227
|
-
onClick: p(v)
|
|
228
|
-
}, {
|
|
229
|
-
default: f(() => [
|
|
230
|
-
c(p(De))
|
|
231
|
-
]),
|
|
232
|
-
_: 1
|
|
233
|
-
}, 8, ["disabled", "title", "onClick"]),
|
|
234
|
-
c(E, {
|
|
235
|
-
disabled: w.value,
|
|
236
|
-
title: b("Move down", ["Alt", "ArrowDown"]),
|
|
237
|
-
compact: "",
|
|
238
|
-
onClick: p(x)
|
|
239
|
-
}, {
|
|
240
|
-
default: f(() => [
|
|
241
|
-
c(p(Te))
|
|
242
|
-
]),
|
|
243
|
-
_: 1
|
|
244
|
-
}, 8, ["disabled", "title", "onClick"])
|
|
245
|
-
])
|
|
246
|
-
], 64));
|
|
247
|
-
}
|
|
248
|
-
}), He = /* @__PURE__ */ q(Pe, [["__scopeId", "data-v-91f6b722"]]), Re = {
|
|
249
|
-
class: /* @__PURE__ */ ue(["flex", "space-between"])
|
|
250
|
-
}, Ze = { class: "flex" }, je = "<any unknown new column>", We = /* @__PURE__ */ W({
|
|
251
|
-
__name: "SortListControl",
|
|
252
|
-
props: {
|
|
253
|
-
control: {},
|
|
254
|
-
handleChange: {},
|
|
255
|
-
changeValue: {},
|
|
256
|
-
disabled: { type: Boolean },
|
|
257
|
-
labelForId: {},
|
|
258
|
-
isValid: { type: Boolean },
|
|
259
|
-
messages: {},
|
|
260
|
-
onRegisterValidation: {},
|
|
261
|
-
anyUnknownValuesId: { default: je },
|
|
262
|
-
anyUnknownValuesText: { default: "Any unknown column" }
|
|
263
|
-
},
|
|
264
|
-
setup(t) {
|
|
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({
|
|
273
|
-
id: e.anyUnknownValuesId,
|
|
274
|
-
text: e.anyUnknownValuesText,
|
|
275
|
-
special: !0
|
|
276
|
-
})
|
|
277
|
-
), r = (n) => {
|
|
278
|
-
if (o.value.length === 0) {
|
|
279
|
-
I();
|
|
280
|
-
return;
|
|
281
|
-
}
|
|
282
|
-
const u = X(o.value, e.anyUnknownValuesId);
|
|
283
|
-
if (u === -1)
|
|
284
|
-
throw new Error(
|
|
285
|
-
`SortList data have to contain the value "${e.anyUnknownValuesId}"`
|
|
286
|
-
);
|
|
287
|
-
const v = o.value.slice(0, u + 1), x = o.value.slice(u + 1), L = new Set(o.value), A = n.map(({ id: b }) => b).filter((b) => !L.has(b));
|
|
288
|
-
A.length > 0 && e.changeValue(v.concat(A, x));
|
|
289
|
-
};
|
|
290
|
-
ie(() => {
|
|
291
|
-
r(a.value);
|
|
292
|
-
}), z(() => a.value, r);
|
|
293
|
-
const w = () => {
|
|
294
|
-
e.changeValue(o.value.toSorted((n, u) => n.localeCompare(u)));
|
|
295
|
-
}, _ = () => {
|
|
296
|
-
e.changeValue(o.value.toSorted((n, u) => u.localeCompare(n)));
|
|
297
|
-
}, I = () => {
|
|
298
|
-
e.changeValue(i.value.map(({ id: n }) => n));
|
|
299
|
-
}, y = F(null);
|
|
300
|
-
return (n, u) => (C(), S(Y, null, [
|
|
301
|
-
k("div", Re, [
|
|
302
|
-
k("div", Ze, [
|
|
303
|
-
c(p(N), {
|
|
304
|
-
"with-border": "",
|
|
305
|
-
compact: "",
|
|
306
|
-
onClick: w
|
|
307
|
-
}, {
|
|
308
|
-
default: f(() => u[0] || (u[0] = [
|
|
309
|
-
$("A - Z")
|
|
310
|
-
])),
|
|
311
|
-
_: 1
|
|
312
|
-
}),
|
|
313
|
-
c(p(N), {
|
|
314
|
-
"with-border": "",
|
|
315
|
-
compact: "",
|
|
316
|
-
onClick: _
|
|
317
|
-
}, {
|
|
318
|
-
default: f(() => u[1] || (u[1] = [
|
|
319
|
-
$("Z - A")
|
|
320
|
-
])),
|
|
321
|
-
_: 1
|
|
322
|
-
})
|
|
323
|
-
]),
|
|
324
|
-
c(p(N), {
|
|
325
|
-
"with-border": "",
|
|
326
|
-
compact: "",
|
|
327
|
-
onClick: I
|
|
328
|
-
}, {
|
|
329
|
-
default: f(() => u[2] || (u[2] = [
|
|
330
|
-
$("Reset all")
|
|
331
|
-
])),
|
|
332
|
-
_: 1
|
|
333
|
-
})
|
|
334
|
-
]),
|
|
335
|
-
c(ce, {
|
|
336
|
-
label: n.control.label,
|
|
337
|
-
onControllingFlowVariableSet: n.changeValue
|
|
338
|
-
}, {
|
|
339
|
-
default: f(({ labelForId: v }) => [
|
|
340
|
-
c(me, {
|
|
341
|
-
errors: n.messages.errors
|
|
342
|
-
}, {
|
|
343
|
-
default: f(() => [
|
|
344
|
-
c(p(He), {
|
|
345
|
-
id: v ?? void 0,
|
|
346
|
-
ref_key: "controlElement",
|
|
347
|
-
ref: y,
|
|
348
|
-
"possible-values": i.value,
|
|
349
|
-
"model-value": o.value,
|
|
350
|
-
ariaLabel: n.control.label,
|
|
351
|
-
disabled: n.disabled,
|
|
352
|
-
"onUpdate:modelValue": n.changeValue
|
|
353
|
-
}, null, 8, ["id", "possible-values", "model-value", "ariaLabel", "disabled", "onUpdate:modelValue"])
|
|
354
|
-
]),
|
|
355
|
-
_: 2
|
|
356
|
-
}, 1032, ["errors"])
|
|
357
|
-
]),
|
|
358
|
-
icon: f(() => [
|
|
359
|
-
H(n.$slots, "icon", {}, void 0, !0)
|
|
360
|
-
]),
|
|
361
|
-
buttons: f(({ hover: v }) => [
|
|
362
|
-
H(n.$slots, "buttons", {
|
|
363
|
-
hover: v,
|
|
364
|
-
controlHTMLElement: y.value
|
|
365
|
-
}, void 0, !0)
|
|
366
|
-
]),
|
|
367
|
-
_: 3
|
|
368
|
-
}, 8, ["label", "onControllingFlowVariableSet"])
|
|
369
|
-
], 64));
|
|
370
|
-
}
|
|
371
|
-
}), nt = /* @__PURE__ */ q(We, [["__scopeId", "data-v-27f80d69"]]);
|
|
372
|
-
export {
|
|
373
|
-
je as DEFAULT_ANY_UNKNOWN_VALUES_ID,
|
|
374
|
-
nt as default
|
|
375
|
-
};
|
|
@@ -1,72 +0,0 @@
|
|
|
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-CsYyUtDa.js";
|
|
3
|
-
const f = {
|
|
4
|
-
name: "StyledListItem",
|
|
5
|
-
props: {
|
|
6
|
-
text: {
|
|
7
|
-
type: String,
|
|
8
|
-
default: " "
|
|
9
|
-
},
|
|
10
|
-
selected: {
|
|
11
|
-
type: Boolean,
|
|
12
|
-
default: !1
|
|
13
|
-
},
|
|
14
|
-
disabled: {
|
|
15
|
-
type: Boolean,
|
|
16
|
-
default: !1
|
|
17
|
-
},
|
|
18
|
-
invalid: {
|
|
19
|
-
type: Boolean,
|
|
20
|
-
default: !1
|
|
21
|
-
},
|
|
22
|
-
/**
|
|
23
|
-
* Styles the item distinct to the other ones by adding a margin, adjusting the font-style and -height and
|
|
24
|
-
* rounding the corners
|
|
25
|
-
*/
|
|
26
|
-
special: {
|
|
27
|
-
type: Boolean,
|
|
28
|
-
default: !1
|
|
29
|
-
},
|
|
30
|
-
lineHeight: {
|
|
31
|
-
type: Number,
|
|
32
|
-
default: null
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
emits: [
|
|
36
|
-
"mousedown",
|
|
37
|
-
"mousemove",
|
|
38
|
-
"dblclick-exact",
|
|
39
|
-
"dblclick-shift",
|
|
40
|
-
"click",
|
|
41
|
-
"focus"
|
|
42
|
-
]
|
|
43
|
-
}, u = ["title", "aria-selected"];
|
|
44
|
-
function r(i, e, t, c, y, b) {
|
|
45
|
-
return s(), n("li", d(i.$attrs, {
|
|
46
|
-
role: "option",
|
|
47
|
-
title: t.text,
|
|
48
|
-
style: {
|
|
49
|
-
...t.lineHeight !== null ? { lineHeight: `${t.lineHeight}px` } : {}
|
|
50
|
-
},
|
|
51
|
-
class: {
|
|
52
|
-
selected: t.selected,
|
|
53
|
-
invalid: t.invalid,
|
|
54
|
-
empty: !t.text.trim(),
|
|
55
|
-
disabled: t.disabled,
|
|
56
|
-
special: t.special
|
|
57
|
-
},
|
|
58
|
-
"aria-selected": t.selected,
|
|
59
|
-
onClick: e[0] || (e[0] = (l) => i.$emit("click", l)),
|
|
60
|
-
onFocus: e[1] || (e[1] = (l) => i.$emit("focus", l)),
|
|
61
|
-
onDblclick: [
|
|
62
|
-
e[2] || (e[2] = o((l) => i.$emit("dblclick-shift"), ["shift"])),
|
|
63
|
-
e[3] || (e[3] = o((l) => i.$emit("dblclick-exact"), ["exact"]))
|
|
64
|
-
],
|
|
65
|
-
onMousedown: e[4] || (e[4] = (l) => i.$emit("mousedown", l)),
|
|
66
|
-
onMousemove: e[5] || (e[5] = (l) => i.$emit("mousemove", l))
|
|
67
|
-
}), a(t.text), 17, u);
|
|
68
|
-
}
|
|
69
|
-
const g = /* @__PURE__ */ m(f, [["render", r], ["__scopeId", "data-v-a04fa87b"]]);
|
|
70
|
-
export {
|
|
71
|
-
g as S
|
|
72
|
-
};
|
|
@@ -1,111 +0,0 @@
|
|
|
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-CsYyUtDa.js";
|
|
3
|
-
const y = {
|
|
4
|
-
name: "TextArea",
|
|
5
|
-
props: {
|
|
6
|
-
modelValue: {
|
|
7
|
-
default: "",
|
|
8
|
-
type: [Number, String]
|
|
9
|
-
},
|
|
10
|
-
id: {
|
|
11
|
-
type: String,
|
|
12
|
-
default: null
|
|
13
|
-
},
|
|
14
|
-
name: {
|
|
15
|
-
type: String,
|
|
16
|
-
default: null
|
|
17
|
-
},
|
|
18
|
-
/**
|
|
19
|
-
* Validity controlled by the parent component to be flexible.
|
|
20
|
-
*/
|
|
21
|
-
isValid: {
|
|
22
|
-
default: !0,
|
|
23
|
-
type: Boolean
|
|
24
|
-
},
|
|
25
|
-
cols: {
|
|
26
|
-
default: 12,
|
|
27
|
-
type: Number
|
|
28
|
-
},
|
|
29
|
-
rows: {
|
|
30
|
-
default: 4,
|
|
31
|
-
type: Number
|
|
32
|
-
},
|
|
33
|
-
placeholder: {
|
|
34
|
-
default: null,
|
|
35
|
-
type: String
|
|
36
|
-
},
|
|
37
|
-
inputClasses: {
|
|
38
|
-
default: "",
|
|
39
|
-
type: String
|
|
40
|
-
},
|
|
41
|
-
title: {
|
|
42
|
-
default: null,
|
|
43
|
-
type: String
|
|
44
|
-
},
|
|
45
|
-
disabled: {
|
|
46
|
-
default: !1,
|
|
47
|
-
type: Boolean
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
emits: ["update:modelValue"],
|
|
51
|
-
methods: {
|
|
52
|
-
getValue() {
|
|
53
|
-
return this.$refs.input.value;
|
|
54
|
-
},
|
|
55
|
-
onInput() {
|
|
56
|
-
this.$emit("update:modelValue", this.getValue());
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
}, _ = ["id", "name", "title", "value", "cols", "disabled", "rows", "placeholder"], b = {
|
|
60
|
-
key: 0,
|
|
61
|
-
class: "invalid-marker"
|
|
62
|
-
};
|
|
63
|
-
function h(n, t, e, l, C, d) {
|
|
64
|
-
return a(), o("div", {
|
|
65
|
-
class: r({ disabled: e.disabled })
|
|
66
|
-
}, [
|
|
67
|
-
u("textarea", c(n.$attrs, {
|
|
68
|
-
id: e.id,
|
|
69
|
-
ref: "input",
|
|
70
|
-
name: e.name,
|
|
71
|
-
title: e.title,
|
|
72
|
-
value: e.modelValue,
|
|
73
|
-
class: e.inputClasses,
|
|
74
|
-
cols: e.cols,
|
|
75
|
-
disabled: e.disabled,
|
|
76
|
-
rows: e.rows,
|
|
77
|
-
placeholder: e.placeholder,
|
|
78
|
-
onInput: t[0] || (t[0] = (...s) => d.onInput && d.onInput(...s))
|
|
79
|
-
}), null, 16, _),
|
|
80
|
-
e.isValid ? m("", !0) : (a(), o("span", b))
|
|
81
|
-
], 2);
|
|
82
|
-
}
|
|
83
|
-
const g = /* @__PURE__ */ i(y, [["render", h], ["__scopeId", "data-v-022c4652"]]), v = /* @__PURE__ */ p({
|
|
84
|
-
__name: "TextAreaControl",
|
|
85
|
-
props: {
|
|
86
|
-
control: {},
|
|
87
|
-
handleChange: { type: Function },
|
|
88
|
-
changeValue: { type: Function },
|
|
89
|
-
disabled: { type: Boolean },
|
|
90
|
-
isValid: { type: Boolean },
|
|
91
|
-
onRegisterValidation: { type: Function },
|
|
92
|
-
labelForId: {}
|
|
93
|
-
},
|
|
94
|
-
setup(n) {
|
|
95
|
-
return (t, e) => {
|
|
96
|
-
var l;
|
|
97
|
-
return a(), f(V(g), {
|
|
98
|
-
id: t.labelForId,
|
|
99
|
-
class: "text-area-input",
|
|
100
|
-
"model-value": t.control.data,
|
|
101
|
-
disabled: t.disabled,
|
|
102
|
-
rows: (l = t.control.uischema.options) == null ? void 0 : l.rows,
|
|
103
|
-
"is-valid": t.isValid,
|
|
104
|
-
"onUpdate:modelValue": t.changeValue
|
|
105
|
-
}, null, 8, ["id", "model-value", "disabled", "rows", "is-valid", "onUpdate:modelValue"]);
|
|
106
|
-
};
|
|
107
|
-
}
|
|
108
|
-
}), B = /* @__PURE__ */ i(v, [["__scopeId", "data-v-36a8d374"]]);
|
|
109
|
-
export {
|
|
110
|
-
B as default
|
|
111
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
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-DP7OS71z.js";
|
|
3
|
-
import { u as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
|
|
4
|
-
import { I as F } from "./InputField-BYxW_-G3.js";
|
|
5
|
-
const I = /* @__PURE__ */ s({
|
|
6
|
-
__name: "TextControl",
|
|
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, { expose: i }) {
|
|
17
|
-
const n = a;
|
|
18
|
-
f(
|
|
19
|
-
{
|
|
20
|
-
pattern: ({ pattern: e }) => {
|
|
21
|
-
const o = new RegExp(`^(${e})$`);
|
|
22
|
-
return (p) => o.test(p ?? "");
|
|
23
|
-
},
|
|
24
|
-
minLength: ({ minLength: e }) => (o) => ((o == null ? void 0 : o.length) ?? 0) >= e,
|
|
25
|
-
maxLength: ({ maxLength: e }) => (o) => ((o == null ? void 0 : o.length) ?? 0) <= e
|
|
26
|
-
},
|
|
27
|
-
n
|
|
28
|
-
);
|
|
29
|
-
const d = c(() => n.control.uischema), r = g(d, "placeholder", ""), t = u(null);
|
|
30
|
-
return i({
|
|
31
|
-
focus: () => {
|
|
32
|
-
var e;
|
|
33
|
-
return (e = t.value) == null ? void 0 : e.focus();
|
|
34
|
-
}
|
|
35
|
-
}), (e, o) => (m(), h(l(F), {
|
|
36
|
-
id: e.labelForId,
|
|
37
|
-
ref_key: "inputField",
|
|
38
|
-
ref: t,
|
|
39
|
-
placeholder: l(r),
|
|
40
|
-
"model-value": e.control.data,
|
|
41
|
-
disabled: e.disabled,
|
|
42
|
-
"is-valid": e.isValid,
|
|
43
|
-
compact: "",
|
|
44
|
-
"onUpdate:modelValue": e.changeValue
|
|
45
|
-
}, null, 8, ["id", "placeholder", "model-value", "disabled", "is-valid", "onUpdate:modelValue"]));
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
export {
|
|
49
|
-
I as _
|
|
50
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
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-CEYEV8dt.js";
|
|
3
|
-
import { l as a } from "./localTimeUtils-Dv-1R88J.js";
|
|
4
|
-
const g = /* @__PURE__ */ m({
|
|
5
|
-
__name: "TimeControl",
|
|
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(d) {
|
|
16
|
-
const l = d, r = e(() => a.fromString(l.control.data)), s = e(() => l.control.uischema.options), u = e(
|
|
17
|
-
() => {
|
|
18
|
-
var o;
|
|
19
|
-
return ((o = s.value) == null ? void 0 : o.showMilliseconds) ?? !0;
|
|
20
|
-
}
|
|
21
|
-
);
|
|
22
|
-
return (o, n) => {
|
|
23
|
-
var i;
|
|
24
|
-
return p(), h(t(f), {
|
|
25
|
-
id: o.labelForId,
|
|
26
|
-
"model-value": r.value,
|
|
27
|
-
required: !0,
|
|
28
|
-
compact: "",
|
|
29
|
-
disabled: o.disabled,
|
|
30
|
-
"show-date": !1,
|
|
31
|
-
"show-time": !0,
|
|
32
|
-
"show-seconds": (i = s.value) == null ? void 0 : i.showSeconds,
|
|
33
|
-
"show-milliseconds": u.value,
|
|
34
|
-
"is-valid": o.isValid,
|
|
35
|
-
"onUpdate:modelValue": n[0] || (n[0] = (c) => o.changeValue(t(a).toString(c)))
|
|
36
|
-
}, null, 8, ["id", "model-value", "disabled", "show-seconds", "show-milliseconds", "is-valid"]);
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
});
|
|
40
|
-
export {
|
|
41
|
-
g as default
|
|
42
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
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-lz0Rcu_N.js";
|
|
3
|
-
import { T as b, a as c } from "./TwinlistLoadingInfo-CQRx9cEu.js";
|
|
4
|
-
import { _ as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
|
|
5
|
-
const h = /* @__PURE__ */ t({
|
|
6
|
-
__name: "TwinlistControlBase",
|
|
7
|
-
props: {
|
|
8
|
-
control: {},
|
|
9
|
-
handleChange: {},
|
|
10
|
-
changeValue: {},
|
|
11
|
-
disabled: { type: Boolean },
|
|
12
|
-
isValid: { type: Boolean },
|
|
13
|
-
onRegisterValidation: {},
|
|
14
|
-
labelForId: {},
|
|
15
|
-
twinlistSize: { default: 10 },
|
|
16
|
-
possibleValues: {}
|
|
17
|
-
},
|
|
18
|
-
setup(o) {
|
|
19
|
-
const a = o, s = d(b), { includedLabel: n, excludedLabel: i } = m(
|
|
20
|
-
p(a, "control")
|
|
21
|
-
);
|
|
22
|
-
return (e, w) => (r(), u(l(c), {
|
|
23
|
-
id: e.labelForId,
|
|
24
|
-
disabled: e.disabled,
|
|
25
|
-
"model-value": e.control.data,
|
|
26
|
-
"possible-values": e.possibleValues ?? [],
|
|
27
|
-
"empty-state-component": e.possibleValues === null ? l(s) : null,
|
|
28
|
-
"hide-options": e.possibleValues === null,
|
|
29
|
-
size: e.twinlistSize,
|
|
30
|
-
"left-label": l(i),
|
|
31
|
-
"right-label": l(n),
|
|
32
|
-
compact: "",
|
|
33
|
-
"show-resize-handle": "",
|
|
34
|
-
"onUpdate:modelValue": e.changeValue
|
|
35
|
-
}, null, 8, ["id", "disabled", "model-value", "possible-values", "empty-state-component", "hide-options", "size", "left-label", "right-label", "onUpdate:modelValue"]));
|
|
36
|
-
}
|
|
37
|
-
}), I = /* @__PURE__ */ f(h, [["__scopeId", "data-v-53bdd2f6"]]);
|
|
38
|
-
export {
|
|
39
|
-
I as T
|
|
40
|
-
};
|