@knime/jsonforms 1.9.4 → 1.10.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 +14 -0
- package/dist/{AnyOfTwinlist-D1KycEHY.js → AnyOfTwinlist-CAyoczAB.js} +1 -1
- package/dist/{Button-Dj1USqpr.js → Button-BzZgjDcV.js} +1 -1
- package/dist/{Checkbox-5l-7O-Rc.js → Checkbox-C_i21GaA.js} +1 -1
- package/dist/{CheckboxControl-CcV_DXsi.js → CheckboxControl-DDoLA6Vd.js} +2 -2
- package/dist/{Checkboxes-TSVYIY6A.js → Checkboxes-C_e0UeAC.js} +2 -2
- package/dist/{CheckboxesControl-CEIBobjb.js → CheckboxesControl-mSVKQ6CW.js} +2 -2
- package/dist/{ComboBoxControl-FTELjHzm.js → ComboBoxControl-BY9Wb-2K.js} +9 -9
- package/dist/{DateControl-CF5FYRLV.js → DateControl-YjVx-aFd.js} +1 -1
- package/dist/{DateTimeControl-D1B_TgdP.js → DateTimeControl-D5Z7nHgz.js} +2 -2
- package/dist/{DateTimeFormatInput--ahcIWAg.js → DateTimeFormatInput-DP9GTXiX.js} +57 -57
- package/dist/{DateTimeFormatPickerControl-BliVRAB0.js → DateTimeFormatPickerControl-DdIvsCjx.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-CXseluiT.js → DateTimeFormatPickerWithTypeControl-CrrpUdTR.js} +3 -3
- package/dist/{DateTimeInput-DqqCRfzR.js → DateTimeInput-BSUVtZ_C.js} +1182 -1182
- package/dist/{Dropdown-BfqaIGuC.js → Dropdown-DP_F92tv.js} +85 -86
- package/dist/{DropdownControl-D8-qWkOR.js → DropdownControl-GMJULpL6.js} +4 -4
- package/dist/{HorizontalLayout-CWRVRpwR.js → HorizontalLayout-COzD3yLU.js} +1 -1
- package/dist/{InputField-C2yLbANc.js → InputField-BF7vTszr.js} +39 -39
- package/dist/{IntegerControl-Bz5KWKoG.js → IntegerControl-CKIl5Rfi.js} +1 -1
- package/dist/{IntervalControl-B0CHqejJ.js → IntervalControl-C2ykMH4V.js} +129 -129
- package/dist/{LoadingDropdown-fVxRhH6V.js → LoadingDropdown-CxqiKfdN.js} +3 -3
- package/dist/{MultimodeTwinlistControl-DV_0SHHy.js → MultimodeTwinlistControl-BM744sO6.js} +27 -27
- package/dist/{MultiselectListBox-Cn7ngRfj.js → MultiselectListBox-DwBSUb9V.js} +23 -25
- package/dist/{NameFilter-DTecZo_d.js → NameFilter-Dgf1mtuH.js} +1 -1
- package/dist/{NumberControl-Bv6y2n41.js → NumberControl-Cp0OiNDl.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-6m9utn_F.js → NumberControlBase.vue_vue_type_script_setup_true_lang-B7BnKygX.js} +2 -2
- package/dist/{NumberInput-Ys4Hdd7b.js → NumberInput-H3BZ_gou.js} +2 -2
- package/dist/{OneOfDropdown-CDAPUCNY.js → OneOfDropdown-DbkVGpS-.js} +1 -1
- package/dist/{RadioControl-B2pjYv6_.js → RadioControl-9cZ9L-XZ.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-CclH-Wwk.js → RadioControlBase.vue_vue_type_script_setup_true_lang-DXLEuMzn.js} +2 -2
- package/dist/{RichTextControl-Cp-ZJ8Qo.js → RichTextControl-B6KPOKpK.js} +1915 -1915
- package/dist/{SectionHeading-D0esbYSn.js → SectionHeading-BMWemtGd.js} +1 -1
- package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-B3PkFXo7.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js} +5525 -5356
- package/dist/{SectionLayout-lUG0FeYA.js → SectionLayout-DR_wqkbw.js} +3 -3
- package/dist/SettingsSubPanel-TN03TZ-e.js +5 -0
- package/dist/SettingsSubPanelLayout-DxJd3igq.js +61 -0
- package/dist/{SimpleButtonControl-DWLU_5Ny.js → SimpleButtonControl-BBy1H52n.js} +8 -8
- package/dist/{SimpleTwinlistControl-D6ORIuzH.js → SimpleTwinlistControl-lyNwPBvG.js} +2 -2
- package/dist/{SingleSelectControl-BKv71LA7.js → SingleSelectControl-BRjpWFqk.js} +2 -2
- package/dist/{SortListControl-B5N2Hqr2.js → SortListControl-BTrDdu9O.js} +123 -123
- package/dist/{TextAreaControl-Bb1thkUU.js → TextAreaControl-B1-g-8ug.js} +1 -1
- package/dist/{TextControl-CuiHsefr.js → TextControl-NsT1R1rk.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-DqaxrzeR.js → TextControl.vue_vue_type_script_setup_true_lang-Dgyo9rJ-.js} +4 -4
- package/dist/{TimeControl-CfdGsohr.js → TimeControl-CWjNnOHM.js} +2 -2
- package/dist/{TwinlistControlBase-CYNUKmVM.js → TwinlistControlBase-Dam1VsbM.js} +3 -3
- package/dist/{TwinlistLoadingInfo-CPqVvWp4.js → TwinlistLoadingInfo-y6JvMoCY.js} +305 -384
- package/dist/{TypedStringFilter-0MA1D7-X.js → TypedStringFilter-BjzWIu-L.js} +1 -1
- package/dist/ValueSwitch-DZ5LB9vA.js +131 -0
- package/dist/{ValueSwitchControl-avfCCusm.js → ValueSwitchControl-BCpz0Ya4.js} +1 -1
- package/dist/{VerticalLayout-DXyKnMvI.js → VerticalLayout-WkUU2XH3.js} +5 -5
- package/dist/{VerticalLayoutBase-D-TX7EUL.js → VerticalLayoutBase-413o9U_2.js} +1 -1
- package/dist/{ZonedDateTimeControl-BNZ8YhWM.js → ZonedDateTimeControl-6u9Nbw2f.js} +4 -4
- package/dist/{_baseEach-FP8ISlsz.js → _baseEach-D8bWEfeT.js} +2 -2
- package/dist/_baseIteratee-c38lvCZS.js +516 -0
- package/dist/{_getTag-DiktJuv_.js → _getTag-DwDUrDKD.js} +25 -26
- package/dist/arrow-dropdown-DdgjzLAO.js +17 -0
- package/dist/arrow-next-CIOU5o42.js +17 -0
- package/dist/close-BuY4mhXV.js +17 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +73 -73
- package/dist/{localTimeUtils-Bvx7vLrT.js → localTimeUtils-Bpn7Hjtc.js} +1 -1
- package/dist/{magic-string.es-CvzN4vs8.js → magic-string.es-Dlayy_3o.js} +10 -10
- package/dist/reload-BVbCGubF.js +17 -0
- package/dist/src/JsonFormsDialog.vue.d.ts +11 -20
- package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +3 -12
- package/dist/src/higherOrderComponents/control/controlToRenderer.d.ts +8 -1
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +3 -12
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +4 -25
- package/dist/src/higherOrderComponents/control/index.d.ts +1 -0
- package/dist/src/higherOrderComponents/control/validation/types.d.ts +1 -0
- package/dist/src/higherOrderComponents/control/validation/useValidation.d.ts +5 -2
- package/dist/src/layoutComponents/Form.vue.d.ts +1 -1
- package/dist/src/layoutComponents/HorizontalLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/SectionLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/SettingsSubPanelLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/VerticalLayout.vue.d.ts +1 -10
- package/dist/src/layoutComponents/VerticalLayoutBase.vue.d.ts +3 -12
- package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +3 -12
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +3 -28
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +2 -2
- package/dist/src/loading/LoadingDialog.vue.d.ts +1 -1
- package/dist/src/renderers/defaultRenderers.d.ts +115 -1096
- package/dist/src/renderers/dropdownRenderer.d.ts +3 -219
- package/dist/src/renderers/fallbackRenderers.d.ts +4 -262
- package/dist/src/renderers/horizontalLayoutRenderer.d.ts +1 -43
- package/dist/src/renderers/sectionLayoutRenderer.d.ts +3 -87
- package/dist/src/renderers/sectionSubPanelLayoutRenderer.d.ts +1 -43
- package/dist/src/renderers/sortListRenderer.d.ts +85 -282
- package/dist/src/renderers/textMessageRenderer.d.ts +1 -109
- package/dist/src/renderers/textRenderer.d.ts +3 -219
- package/dist/src/renderers/verticalLayoutRenderer.d.ts +2 -86
- package/dist/src/uiComponents/CheckboxControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DateControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DateTimeFormatPickerWithTypeControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/DynamicIcon.vue.d.ts +3 -12
- package/dist/src/uiComponents/IntegerControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/IntervalControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/NumberControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/NumberControlBase.vue.d.ts +3 -12
- package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +1 -10
- package/dist/src/uiComponents/RadioControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/RadioControlBase.vue.d.ts +3 -12
- package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/SortListControl.vue.d.ts +8 -73
- package/dist/src/uiComponents/TextAreaControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/TextControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/TextMessageControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/TimeControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/composables/usePossibleValues.d.ts +3 -1
- package/dist/src/uiComponents/composables/useProvidedState.d.ts +1 -1
- package/dist/src/uiComponents/loading/LoadingDropdown.vue.d.ts +1 -10
- package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +1 -1
- package/dist/src/uiComponents/richTextControl/DialogLinkModal.vue.d.ts +1 -10
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +1 -10
- package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +4 -31
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +1 -10
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +1 -10
- package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +4 -25
- package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +1 -10
- package/dist/src/uiComponents/twinlist/useUnknownValuesInTwinlist.d.ts +6 -0
- package/dist/{svgWithTitle-DMRd3aDh.js → svgWithTitle-CEHRG42c.js} +2 -2
- package/dist/testUtils/component.d.ts +10 -10
- package/dist/testing.js +4395 -4086
- package/dist/toString-BC2RXvs0.js +25 -0
- package/dist/{useBuiltinValidations-iU8yJR-J.js → useBuiltinValidations-BsKhdvbW.js} +1 -1
- package/dist/{usePossibleValues-CQWkZRBa.js → usePossibleValues-D12PcddT.js} +1 -1
- package/package.json +6 -6
- package/dist/SettingsSubPanel-DlUlLFts.js +0 -5
- package/dist/SettingsSubPanelLayout-BvbwLKfV.js +0 -61
- package/dist/ValueSwitch-B6rM3Cb9.js +0 -138
- package/dist/_baseIteratee-DhaGkQLM.js +0 -518
- package/dist/arrow-dropdown-DjUxzjqC.js +0 -17
- package/dist/arrow-next-Qa8PNb04.js +0 -17
- package/dist/close-h7XT0ja0.js +0 -17
- package/dist/isObject-B53jY8Qg.js +0 -7
- package/dist/isObjectLike-BatpeCIi.js +0 -29
- package/dist/isSymbol-C3_SC0Qp.js +0 -8
- package/dist/reload-BhzcZRFp.js +0 -17
- package/dist/toString-B9O7P854.js +0 -26
|
@@ -1,169 +1,90 @@
|
|
|
1
|
-
import { openBlock as
|
|
2
|
-
import { N as
|
|
3
|
-
import { u as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
|
|
11
|
-
import { c as X } from "./createMissingItem-B00Kg95q.js";
|
|
12
|
-
import { L as we } from "./svgWithTitle-DMRd3aDh.js";
|
|
13
|
-
const _e = {
|
|
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
|
+
import { N as ne } from "./arrow-next-CIOU5o42.js";
|
|
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-CilY1FPG.js";
|
|
5
|
+
import { M as ae } from "./MultiselectListBox-DwBSUb9V.js";
|
|
6
|
+
import { C as ue } from "./close-BuY4mhXV.js";
|
|
7
|
+
import { I as de } from "./InputField-BF7vTszr.js";
|
|
8
|
+
import { c as P } from "./createMissingItem-B00Kg95q.js";
|
|
9
|
+
import { L as re } from "./svgWithTitle-CEHRG42c.js";
|
|
10
|
+
const ce = {
|
|
14
11
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15
12
|
fill: "none",
|
|
16
13
|
stroke: "#000",
|
|
17
14
|
"stroke-linejoin": "round",
|
|
18
15
|
viewBox: "0 0 32 32"
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
const Le = { render: ke };
|
|
31
|
-
var xe = /\s/;
|
|
32
|
-
function Be(e) {
|
|
33
|
-
for (var t = e.length; t-- && xe.test(e.charAt(t)); )
|
|
34
|
-
;
|
|
35
|
-
return t;
|
|
36
|
-
}
|
|
37
|
-
var Ve = /^\s+/;
|
|
38
|
-
function Ce(e) {
|
|
39
|
-
return e && e.slice(0, Be(e) + 1).replace(Ve, "");
|
|
40
|
-
}
|
|
41
|
-
var J = NaN, Te = /^[-+]0x[0-9a-f]+$/i, Ee = /^0b[01]+$/i, Me = /^0o[0-7]+$/i, Re = parseInt;
|
|
42
|
-
function Q(e) {
|
|
43
|
-
if (typeof e == "number")
|
|
44
|
-
return e;
|
|
45
|
-
if (fe(e))
|
|
46
|
-
return J;
|
|
47
|
-
if (N(e)) {
|
|
48
|
-
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
49
|
-
e = N(t) ? t + "" : t;
|
|
50
|
-
}
|
|
51
|
-
if (typeof e != "string")
|
|
52
|
-
return e === 0 ? e : +e;
|
|
53
|
-
e = Ce(e);
|
|
54
|
-
var n = Ee.test(e);
|
|
55
|
-
return n || Me.test(e) ? Re(e.slice(2), n ? 2 : 8) : Te.test(e) ? J : +e;
|
|
56
|
-
}
|
|
57
|
-
var P = function() {
|
|
58
|
-
return he.Date.now();
|
|
59
|
-
}, Ae = "Expected a function", De = Math.max, Ne = Math.min;
|
|
60
|
-
function He(e, t, n) {
|
|
61
|
-
var s, i, l, d, r, o, b = 0, S = !1, g = !1, _ = !0;
|
|
62
|
-
if (typeof e != "function")
|
|
63
|
-
throw new TypeError(Ae);
|
|
64
|
-
t = Q(t) || 0, N(n) && (S = !!n.leading, g = "maxWait" in n, l = g ? De(Q(n.maxWait) || 0, t) : l, _ = "trailing" in n ? !!n.trailing : _);
|
|
65
|
-
function y(a) {
|
|
66
|
-
var B = s, M = i;
|
|
67
|
-
return s = i = void 0, b = a, d = e.apply(M, B), d;
|
|
68
|
-
}
|
|
69
|
-
function u(a) {
|
|
70
|
-
return b = a, r = setTimeout(x, t), S ? y(a) : d;
|
|
71
|
-
}
|
|
72
|
-
function c(a) {
|
|
73
|
-
var B = a - o, M = a - b, G = t - B;
|
|
74
|
-
return g ? Ne(G, l - M) : G;
|
|
75
|
-
}
|
|
76
|
-
function k(a) {
|
|
77
|
-
var B = a - o, M = a - b;
|
|
78
|
-
return o === void 0 || B >= t || B < 0 || g && M >= l;
|
|
79
|
-
}
|
|
80
|
-
function x() {
|
|
81
|
-
var a = P();
|
|
82
|
-
if (k(a))
|
|
83
|
-
return C(a);
|
|
84
|
-
r = setTimeout(x, c(a));
|
|
85
|
-
}
|
|
86
|
-
function C(a) {
|
|
87
|
-
return r = void 0, _ && s ? y(a) : (s = i = void 0, d);
|
|
88
|
-
}
|
|
89
|
-
function O() {
|
|
90
|
-
r !== void 0 && clearTimeout(r), b = 0, s = o = i = r = void 0;
|
|
91
|
-
}
|
|
92
|
-
function U() {
|
|
93
|
-
return r === void 0 ? d : C(P());
|
|
94
|
-
}
|
|
95
|
-
function f() {
|
|
96
|
-
var a = P(), B = k(a);
|
|
97
|
-
if (s = arguments, i = this, o = a, B) {
|
|
98
|
-
if (r === void 0)
|
|
99
|
-
return u(o);
|
|
100
|
-
if (g)
|
|
101
|
-
return clearTimeout(r), r = setTimeout(x, t), y(o);
|
|
102
|
-
}
|
|
103
|
-
return r === void 0 && (r = setTimeout(x, t)), d;
|
|
104
|
-
}
|
|
105
|
-
return f.cancel = O, f.flush = U, f;
|
|
16
|
+
};
|
|
17
|
+
function he(e, t) {
|
|
18
|
+
return r(), v("svg", ce, t[0] || (t[0] = [
|
|
19
|
+
c("circle", {
|
|
20
|
+
cx: "13.2",
|
|
21
|
+
cy: "13.2",
|
|
22
|
+
r: "10"
|
|
23
|
+
}, null, -1),
|
|
24
|
+
c("path", { d: "m20.2 20.2 8.6 8.6" }, null, -1)
|
|
25
|
+
]));
|
|
106
26
|
}
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
27
|
+
const me = { render: he };
|
|
28
|
+
var ve = "Expected a function";
|
|
29
|
+
function fe(e, t, n) {
|
|
30
|
+
var s = !0, o = !0;
|
|
110
31
|
if (typeof e != "function")
|
|
111
|
-
throw new TypeError(
|
|
112
|
-
return
|
|
32
|
+
throw new TypeError(ve);
|
|
33
|
+
return se(n) && (s = "leading" in n ? !!n.leading : s, o = "trailing" in n ? !!n.trailing : o), le(e, t, {
|
|
113
34
|
leading: s,
|
|
114
35
|
maxWait: t,
|
|
115
|
-
trailing:
|
|
36
|
+
trailing: o
|
|
116
37
|
});
|
|
117
38
|
}
|
|
118
|
-
const
|
|
119
|
-
const s =
|
|
120
|
-
return ((
|
|
39
|
+
const K = (e, t, n) => {
|
|
40
|
+
const s = u(() => !e.value || e.value.length === 0 ? 0 : e.value.length), o = u(() => 0);
|
|
41
|
+
return ((m, f, i) => `${m} of ${f} entries`)(
|
|
121
42
|
s.value,
|
|
122
43
|
t,
|
|
123
|
-
|
|
44
|
+
o.value
|
|
124
45
|
);
|
|
125
|
-
},
|
|
46
|
+
}, we = {
|
|
126
47
|
xmlns: "http://www.w3.org/2000/svg",
|
|
127
48
|
fill: "none",
|
|
128
49
|
stroke: "#000",
|
|
129
50
|
"stroke-linejoin": "round",
|
|
130
51
|
viewBox: "0 0 32 32"
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
]
|
|
134
|
-
|
|
135
|
-
|
|
52
|
+
};
|
|
53
|
+
function be(e, t) {
|
|
54
|
+
return r(), v("svg", we, t[0] || (t[0] = [
|
|
55
|
+
c("path", { d: "M6 22.7h21.3m-6.8 6.8 6.8-6.8-6.8-6.7M26 9.3H4.7m6.8-6.8L4.7 9.3l6.8 6.7" }, null, -1)
|
|
56
|
+
]));
|
|
136
57
|
}
|
|
137
|
-
const
|
|
58
|
+
const ge = { render: be }, Se = {
|
|
138
59
|
xmlns: "http://www.w3.org/2000/svg",
|
|
139
60
|
fill: "none",
|
|
140
61
|
stroke: "#000",
|
|
141
62
|
"stroke-linejoin": "round",
|
|
142
63
|
viewBox: "0 0 32 32"
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
64
|
+
};
|
|
65
|
+
function Ie(e, t) {
|
|
66
|
+
return r(), v("svg", Se, t[0] || (t[0] = [
|
|
67
|
+
c("path", {
|
|
68
|
+
fill: "#000",
|
|
69
|
+
stroke: "none",
|
|
70
|
+
d: "M13.297 19.097H5.444l-1.763 4.891H1.132L8.29 5.246h2.163l7.17 18.742h-2.536ZM6.19 17.063h6.372L9.371 8.297ZM28.37 23.988q-.205-.412-.334-1.467-1.66 1.725-3.965 1.725-2.06 0-3.385-1.159-1.313-1.171-1.313-2.96 0-2.176 1.647-3.373 1.66-1.21 4.66-1.21h2.317V14.45q0-1.249-.746-1.983-.747-.746-2.202-.746-1.274 0-2.136.643-.863.644-.863 1.558h-2.394q0-1.043.734-2.008.746-.979 2.008-1.545 1.274-.566 2.793-.566 2.407 0 3.772 1.21 1.364 1.197 1.416 3.308v6.41q0 1.919.489 3.051v.206zm-3.951-1.815q1.12 0 2.124-.579 1.004-.58 1.454-1.506V17.23h-1.866q-4.377 0-4.377 2.562 0 1.12.747 1.75.746.631 1.918.631",
|
|
71
|
+
class: "text"
|
|
72
|
+
}, null, -1)
|
|
73
|
+
]));
|
|
153
74
|
}
|
|
154
|
-
const
|
|
75
|
+
const pe = { render: Ie }, _e = {
|
|
155
76
|
clear: "Clear",
|
|
156
77
|
inverseSearch: "Exclude results that match query",
|
|
157
78
|
caseSensitive: "Toggle case sensitivity"
|
|
158
|
-
},
|
|
79
|
+
}, ye = {
|
|
159
80
|
name: "SearchInput",
|
|
160
81
|
components: {
|
|
161
|
-
InputField:
|
|
162
|
-
FunctionButton:
|
|
163
|
-
CloseIcon:
|
|
164
|
-
LensIcon:
|
|
165
|
-
InverseSearchIcon:
|
|
166
|
-
UpperLowerCaseIcon:
|
|
82
|
+
InputField: de,
|
|
83
|
+
FunctionButton: oe,
|
|
84
|
+
CloseIcon: ue,
|
|
85
|
+
LensIcon: me,
|
|
86
|
+
InverseSearchIcon: ge,
|
|
87
|
+
UpperLowerCaseIcon: pe
|
|
167
88
|
},
|
|
168
89
|
props: {
|
|
169
90
|
id: {
|
|
@@ -250,11 +171,11 @@ const Ze = { render: Ye }, Xe = {
|
|
|
250
171
|
return this.showClearButton && (this.showCaseSensitiveSearchButton || this.showInverseSearchButton);
|
|
251
172
|
},
|
|
252
173
|
tooltipsWithDefaults() {
|
|
253
|
-
return { ...
|
|
174
|
+
return { ..._e, ...this.tooltips };
|
|
254
175
|
}
|
|
255
176
|
},
|
|
256
177
|
async mounted() {
|
|
257
|
-
this.focusOnMount && (await
|
|
178
|
+
this.focusOnMount && (await Q(), this.focus());
|
|
258
179
|
},
|
|
259
180
|
methods: {
|
|
260
181
|
clearSearch() {
|
|
@@ -270,16 +191,16 @@ const Ze = { render: Ye }, Xe = {
|
|
|
270
191
|
this.$refs.searchInput.focus();
|
|
271
192
|
}
|
|
272
193
|
}
|
|
273
|
-
},
|
|
194
|
+
}, Le = {
|
|
274
195
|
key: 0,
|
|
275
196
|
class: "icon-slot-wrapper"
|
|
276
|
-
},
|
|
197
|
+
}, ke = {
|
|
277
198
|
key: 1,
|
|
278
199
|
class: "spacer"
|
|
279
200
|
};
|
|
280
|
-
function
|
|
281
|
-
const
|
|
282
|
-
return
|
|
201
|
+
function Be(e, t, n, s, o, l) {
|
|
202
|
+
const m = w("LensIcon"), f = w("CloseIcon"), i = w("FunctionButton"), S = w("UpperLowerCaseIcon"), b = w("InverseSearchIcon"), g = w("InputField");
|
|
203
|
+
return r(), V(g, {
|
|
283
204
|
id: n.id,
|
|
284
205
|
ref: "searchInput",
|
|
285
206
|
name: n.name,
|
|
@@ -287,105 +208,103 @@ function et(e, t, n, s, i, l) {
|
|
|
287
208
|
placeholder: n.placeholder,
|
|
288
209
|
autofocus: n.autofocus,
|
|
289
210
|
disabled: n.disabled,
|
|
290
|
-
class:
|
|
211
|
+
class: k(["search-input", { disabled: n.disabled }]),
|
|
291
212
|
autocomplete: "off",
|
|
292
213
|
"aria-owns": n.ariaOwns,
|
|
293
214
|
"aria-activedescendant": n.ariaActivedescendant,
|
|
294
215
|
role: "searchbox",
|
|
295
216
|
compact: n.compact,
|
|
296
|
-
onFocus: t[0] || (t[0] = (
|
|
297
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
217
|
+
onFocus: t[0] || (t[0] = (p) => e.$emit("focus", p)),
|
|
218
|
+
"onUpdate:modelValue": t[1] || (t[1] = (p) => e.$emit("update:modelValue", p))
|
|
298
219
|
}, {
|
|
299
|
-
icon:
|
|
300
|
-
n.disabled ?
|
|
301
|
-
|
|
302
|
-
|
|
220
|
+
icon: x(() => [
|
|
221
|
+
n.disabled ? y("", !0) : (r(), v("div", Le, [
|
|
222
|
+
$(e.$slots, "icon", {}, () => [
|
|
223
|
+
I(m)
|
|
303
224
|
], !0)
|
|
304
225
|
]))
|
|
305
226
|
]),
|
|
306
|
-
iconRight:
|
|
307
|
-
l.showClearButton ? (
|
|
227
|
+
iconRight: x(() => [
|
|
228
|
+
l.showClearButton ? (r(), V(i, {
|
|
308
229
|
key: 0,
|
|
309
230
|
class: "clear-search",
|
|
310
231
|
compact: n.compact,
|
|
311
232
|
title: l.tooltipsWithDefaults.clear,
|
|
312
233
|
onClick: l.clearSearch
|
|
313
234
|
}, {
|
|
314
|
-
default:
|
|
315
|
-
|
|
235
|
+
default: x(() => [
|
|
236
|
+
I(f)
|
|
316
237
|
]),
|
|
317
238
|
_: 1
|
|
318
|
-
}, 8, ["compact", "title", "onClick"])) :
|
|
319
|
-
l.showSpacer ? (
|
|
320
|
-
!n.disabled && n.showCaseSensitiveSearchButton ? (
|
|
239
|
+
}, 8, ["compact", "title", "onClick"])) : y("", !0),
|
|
240
|
+
l.showSpacer ? (r(), v("span", ke)) : y("", !0),
|
|
241
|
+
!n.disabled && n.showCaseSensitiveSearchButton ? (r(), V(i, {
|
|
321
242
|
key: 2,
|
|
322
243
|
class: "toggle-case-sensitive-search",
|
|
323
244
|
compact: n.compact,
|
|
324
|
-
active:
|
|
245
|
+
active: o.caseSensitiveSearch,
|
|
325
246
|
title: l.tooltipsWithDefaults.caseSensitive,
|
|
326
247
|
onClick: l.toggleCaseSensitiveSearch
|
|
327
248
|
}, {
|
|
328
|
-
default:
|
|
329
|
-
|
|
249
|
+
default: x(() => [
|
|
250
|
+
I(S)
|
|
330
251
|
]),
|
|
331
252
|
_: 1
|
|
332
|
-
}, 8, ["compact", "active", "title", "onClick"])) :
|
|
333
|
-
!n.disabled && n.showInverseSearchButton ? (
|
|
253
|
+
}, 8, ["compact", "active", "title", "onClick"])) : y("", !0),
|
|
254
|
+
!n.disabled && n.showInverseSearchButton ? (r(), V(i, {
|
|
334
255
|
key: 3,
|
|
335
256
|
class: "toggle-inverse-search",
|
|
336
257
|
compact: n.compact,
|
|
337
258
|
title: l.tooltipsWithDefaults.inverseSearch,
|
|
338
|
-
active:
|
|
259
|
+
active: o.inverseSearch,
|
|
339
260
|
onClick: l.toggleInverseSearch
|
|
340
261
|
}, {
|
|
341
|
-
default:
|
|
342
|
-
|
|
262
|
+
default: x(() => [
|
|
263
|
+
I(b)
|
|
343
264
|
]),
|
|
344
265
|
_: 1
|
|
345
|
-
}, 8, ["compact", "title", "active", "onClick"])) :
|
|
266
|
+
}, 8, ["compact", "title", "active", "onClick"])) : y("", !0)
|
|
346
267
|
]),
|
|
347
268
|
_: 3
|
|
348
269
|
}, 8, ["id", "name", "model-value", "placeholder", "autofocus", "disabled", "class", "aria-owns", "aria-activedescendant", "compact"]);
|
|
349
270
|
}
|
|
350
|
-
const
|
|
271
|
+
const xe = /* @__PURE__ */ A(ye, [["render", Be], ["__scopeId", "data-v-edba0a22"]]), Ve = {
|
|
351
272
|
xmlns: "http://www.w3.org/2000/svg",
|
|
352
273
|
fill: "none",
|
|
353
274
|
stroke: "#000",
|
|
354
275
|
"stroke-linejoin": "round",
|
|
355
276
|
viewBox: "0 0 32 32"
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
]
|
|
359
|
-
|
|
360
|
-
|
|
277
|
+
};
|
|
278
|
+
function Ce(e, t) {
|
|
279
|
+
return r(), v("svg", Ve, t[0] || (t[0] = [
|
|
280
|
+
c("path", { d: "m14.8 5 11 11-11 11M6.2 5l11 11-11 11" }, null, -1)
|
|
281
|
+
]));
|
|
361
282
|
}
|
|
362
|
-
const
|
|
283
|
+
const Me = { render: Ce }, Re = {
|
|
363
284
|
xmlns: "http://www.w3.org/2000/svg",
|
|
364
285
|
fill: "none",
|
|
365
286
|
stroke: "#000",
|
|
366
287
|
"stroke-linejoin": "round",
|
|
367
288
|
viewBox: "0 0 32 32"
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
]
|
|
371
|
-
|
|
372
|
-
|
|
289
|
+
};
|
|
290
|
+
function Ee(e, t) {
|
|
291
|
+
return r(), v("svg", Re, t[0] || (t[0] = [
|
|
292
|
+
c("path", { d: "m17.2 27-11-11 11-11m8.6 22-11-11 11-11" }, null, -1)
|
|
293
|
+
]));
|
|
373
294
|
}
|
|
374
|
-
const
|
|
295
|
+
const Te = { render: Ee }, Ae = {
|
|
375
296
|
xmlns: "http://www.w3.org/2000/svg",
|
|
376
297
|
fill: "none",
|
|
377
298
|
stroke: "#000",
|
|
378
299
|
"stroke-linejoin": "round",
|
|
379
300
|
viewBox: "0 0 32 32"
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
]
|
|
383
|
-
|
|
384
|
-
|
|
301
|
+
};
|
|
302
|
+
function De(e, t) {
|
|
303
|
+
return r(), v("svg", Ae, t[0] || (t[0] = [
|
|
304
|
+
c("path", { d: "m21.5 27-11-11 11-11" }, null, -1)
|
|
305
|
+
]));
|
|
385
306
|
}
|
|
386
|
-
const
|
|
387
|
-
St
|
|
388
|
-
], _t = 10, ee = "2px", It = /* @__PURE__ */ le({
|
|
307
|
+
const ze = { render: De }, He = 10, q = "2px", Ne = /* @__PURE__ */ j({
|
|
389
308
|
__name: "ResizeHandle",
|
|
390
309
|
props: {
|
|
391
310
|
numberOfHandles: {},
|
|
@@ -396,94 +315,96 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
396
315
|
},
|
|
397
316
|
emits: ["resize-move", "resize-end"],
|
|
398
317
|
setup(e, { emit: t }) {
|
|
399
|
-
|
|
400
|
-
"36bdd4ea":
|
|
318
|
+
G((a) => ({
|
|
319
|
+
"36bdd4ea": q
|
|
401
320
|
}));
|
|
402
|
-
const n = t, s = e,
|
|
403
|
-
() => `calc(${s.handleWidth} + 2 * ${
|
|
404
|
-
),
|
|
321
|
+
const n = t, s = e, o = T(0), l = T(null), m = u(
|
|
322
|
+
() => `calc(${s.handleWidth} + 2 * ${q})`
|
|
323
|
+
), f = u(
|
|
405
324
|
() => s.connectHandlesOnResize && s.numberOfHandles > 1 && l.value !== null
|
|
406
|
-
),
|
|
325
|
+
), i = u(
|
|
407
326
|
() => `(${s.numberOfHandles} - 1) * ${s.multipleHandlesHandleGap}`
|
|
408
|
-
),
|
|
327
|
+
), S = u(
|
|
409
328
|
() => `(2 * ${s.numberOfHandles})`
|
|
410
|
-
),
|
|
411
|
-
() => `(100% - ${
|
|
412
|
-
), g =
|
|
413
|
-
() => `calc(100% - 2 * ${
|
|
414
|
-
),
|
|
415
|
-
s.disabled || (
|
|
416
|
-
},
|
|
417
|
-
if (l.value ===
|
|
418
|
-
const
|
|
419
|
-
(
|
|
329
|
+
), b = u(
|
|
330
|
+
() => `(100% - ${i.value}) / ${S.value}`
|
|
331
|
+
), g = u(
|
|
332
|
+
() => `calc(100% - 2 * ${b.value})`
|
|
333
|
+
), p = (a) => {
|
|
334
|
+
s.disabled || (a.target.setPointerCapture(a.pointerId), a.preventDefault(), l.value = a.pointerId, o.value = a.clientY);
|
|
335
|
+
}, B = fe((a) => {
|
|
336
|
+
if (l.value === a.pointerId) {
|
|
337
|
+
const _ = a.clientY - o.value;
|
|
338
|
+
(_ < 0 && a.offsetY <= 0 || _ > 0 && a.offsetY >= 0) && n("resize-move", _), o.value = a.clientY;
|
|
420
339
|
}
|
|
421
|
-
},
|
|
422
|
-
l.value ===
|
|
340
|
+
}, He), d = (a) => {
|
|
341
|
+
l.value === a.pointerId && (o.value = 0, l.value = null, n("resize-end"));
|
|
423
342
|
};
|
|
424
|
-
return (
|
|
343
|
+
return (a, _) => (r(), v("div", {
|
|
425
344
|
class: "resize-handle-container",
|
|
426
|
-
style:
|
|
345
|
+
style: D({ gap: a.multipleHandlesHandleGap })
|
|
427
346
|
}, [
|
|
428
|
-
|
|
347
|
+
f.value ? (r(), v("div", {
|
|
429
348
|
key: 0,
|
|
430
349
|
class: "handle connection",
|
|
431
|
-
style:
|
|
432
|
-
}, null, 4)) :
|
|
433
|
-
(
|
|
434
|
-
key:
|
|
435
|
-
class:
|
|
436
|
-
style:
|
|
437
|
-
onPointerdown:
|
|
438
|
-
onPointerup:
|
|
439
|
-
onPointermove:
|
|
440
|
-
(...
|
|
441
|
-
onLostpointercapture:
|
|
442
|
-
},
|
|
350
|
+
style: D({ width: g.value })
|
|
351
|
+
}, null, 4)) : y("", !0),
|
|
352
|
+
(r(!0), v(ee, null, te(a.numberOfHandles, (C) => (r(), v("div", {
|
|
353
|
+
key: C,
|
|
354
|
+
class: k(["handle-container", { disabled: a.disabled }]),
|
|
355
|
+
style: D({ width: m.value }),
|
|
356
|
+
onPointerdown: p,
|
|
357
|
+
onPointerup: d,
|
|
358
|
+
onPointermove: _[0] || (_[0] = //@ts-ignore
|
|
359
|
+
(...M) => H(B) && H(B)(...M)),
|
|
360
|
+
onLostpointercapture: d
|
|
361
|
+
}, _[1] || (_[1] = [
|
|
362
|
+
c("div", { class: "handle" }, null, -1)
|
|
363
|
+
]), 38))), 128))
|
|
443
364
|
], 4));
|
|
444
365
|
}
|
|
445
|
-
}),
|
|
446
|
-
const t =
|
|
366
|
+
}), Ue = /* @__PURE__ */ A(Ne, [["__scopeId", "data-v-d36066f7"]]), E = "Enter", z = 5, Y = 30, Z = 24, Oe = 4, Pe = 56, Ke = ["left", "right"], qe = Oe * Z + 2 * Pe, We = `calc((100% - ${Y}px) * 1 / 6)`, Fe = (e) => {
|
|
367
|
+
const t = u(
|
|
447
368
|
() => e.value !== null && "includeUnknownValues" in e.value ? { withUnknownValues: e.value } : { standard: e.value }
|
|
448
|
-
), n =
|
|
369
|
+
), n = u(() => typeof t.value.standard < "u" ? t.value.standard : t.value.withUnknownValues.includedValues), s = u(
|
|
449
370
|
() => {
|
|
450
|
-
var
|
|
451
|
-
return ((
|
|
371
|
+
var i;
|
|
372
|
+
return ((i = t.value.withUnknownValues) == null ? void 0 : i.excludedValues) ?? null;
|
|
452
373
|
}
|
|
453
|
-
),
|
|
374
|
+
), o = u(
|
|
454
375
|
() => {
|
|
455
|
-
var
|
|
456
|
-
return ((
|
|
376
|
+
var i;
|
|
377
|
+
return ((i = t.value.withUnknownValues) == null ? void 0 : i.includeUnknownValues) ?? null;
|
|
457
378
|
}
|
|
458
|
-
), l =
|
|
459
|
-
() =>
|
|
460
|
-
),
|
|
461
|
-
() =>
|
|
379
|
+
), l = u(
|
|
380
|
+
() => o.value === !1
|
|
381
|
+
), m = u(
|
|
382
|
+
() => o.value === !0
|
|
462
383
|
);
|
|
463
384
|
return {
|
|
464
385
|
includedValues: n,
|
|
465
386
|
excludedValues: s,
|
|
466
387
|
showUnknownExcludedValues: l,
|
|
467
|
-
showUnknownIncludedValues:
|
|
468
|
-
getEmitValue: (
|
|
469
|
-
includedValues:
|
|
470
|
-
excludedValues:
|
|
471
|
-
includeUnknownValues:
|
|
388
|
+
showUnknownIncludedValues: m,
|
|
389
|
+
getEmitValue: (i, S = (g) => g, b = (g) => g) => t.value.withUnknownValues ? {
|
|
390
|
+
includedValues: i,
|
|
391
|
+
excludedValues: S(s.value),
|
|
392
|
+
includeUnknownValues: b(
|
|
472
393
|
t.value.withUnknownValues.includeUnknownValues
|
|
473
394
|
)
|
|
474
|
-
} :
|
|
395
|
+
} : i
|
|
475
396
|
};
|
|
476
|
-
},
|
|
397
|
+
}, N = {
|
|
477
398
|
name: "Twinlist",
|
|
478
399
|
components: {
|
|
479
|
-
ArrowNextDoubleIcon:
|
|
480
|
-
ArrowNextIcon:
|
|
481
|
-
ArrowPrevDoubleIcon:
|
|
482
|
-
ArrowPrevIcon:
|
|
483
|
-
MultiselectListBox:
|
|
484
|
-
Label:
|
|
485
|
-
SearchInput:
|
|
486
|
-
ResizeHandle:
|
|
400
|
+
ArrowNextDoubleIcon: Me,
|
|
401
|
+
ArrowNextIcon: ne,
|
|
402
|
+
ArrowPrevDoubleIcon: Te,
|
|
403
|
+
ArrowPrevIcon: ze,
|
|
404
|
+
MultiselectListBox: ae,
|
|
405
|
+
Label: ie,
|
|
406
|
+
SearchInput: xe,
|
|
407
|
+
ResizeHandle: Ue
|
|
487
408
|
},
|
|
488
409
|
props: {
|
|
489
410
|
modelValue: {
|
|
@@ -613,69 +534,69 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
613
534
|
includedValues: t,
|
|
614
535
|
excludedValues: n,
|
|
615
536
|
showUnknownExcludedValues: s,
|
|
616
|
-
showUnknownIncludedValues:
|
|
537
|
+
showUnknownIncludedValues: o,
|
|
617
538
|
getEmitValue: l
|
|
618
|
-
} =
|
|
619
|
-
(
|
|
620
|
-
) : t.value : null), g =
|
|
539
|
+
} = Fe(U(e, "modelValue")), m = T(e.initialSearchTerm), f = T(e.initialCaseSensitiveSearch), i = u(() => e.possibleValues.map((h) => h.id)), S = u(() => new Set(i.value)), b = u(() => t.value ? o.value ? t.value.filter(
|
|
540
|
+
(h) => S.value.has(h)
|
|
541
|
+
) : t.value : null), g = u(() => Object.assign(
|
|
621
542
|
{},
|
|
622
|
-
...e.possibleValues.map((
|
|
623
|
-
[
|
|
543
|
+
...e.possibleValues.map((h, L) => ({
|
|
544
|
+
[h.id]: { item: h, index: L }
|
|
624
545
|
}))
|
|
625
|
-
)),
|
|
626
|
-
(
|
|
627
|
-
var
|
|
628
|
-
return ((
|
|
546
|
+
)), p = u(() => b.value === null ? [] : b.value.map(
|
|
547
|
+
(h) => {
|
|
548
|
+
var L;
|
|
549
|
+
return ((L = g.value[h]) == null ? void 0 : L.item) || P(h);
|
|
629
550
|
}
|
|
630
|
-
)),
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
),
|
|
551
|
+
)), B = U(e, "showSearch"), d = O(
|
|
552
|
+
m,
|
|
553
|
+
f,
|
|
554
|
+
p,
|
|
555
|
+
B
|
|
556
|
+
), a = u(() => {
|
|
636
557
|
if (!n.value) {
|
|
637
|
-
const
|
|
638
|
-
return
|
|
639
|
-
(
|
|
558
|
+
const h = new Set(t.value);
|
|
559
|
+
return i.value.filter(
|
|
560
|
+
(L) => !h.has(L)
|
|
640
561
|
);
|
|
641
562
|
}
|
|
642
563
|
return s.value ? n.value.filter(
|
|
643
|
-
(
|
|
564
|
+
(h) => S.value.has(h)
|
|
644
565
|
) : n.value;
|
|
645
|
-
}),
|
|
646
|
-
(
|
|
647
|
-
var
|
|
648
|
-
return ((
|
|
566
|
+
}), _ = u(() => b.value === null ? [] : a.value.map(
|
|
567
|
+
(h) => {
|
|
568
|
+
var L;
|
|
569
|
+
return ((L = g.value[h]) == null ? void 0 : L.item) || P(h);
|
|
649
570
|
}
|
|
650
|
-
)),
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
),
|
|
656
|
-
var
|
|
657
|
-
return e.showSearch &&
|
|
658
|
-
|
|
659
|
-
(
|
|
571
|
+
)), C = O(
|
|
572
|
+
m,
|
|
573
|
+
f,
|
|
574
|
+
_,
|
|
575
|
+
B
|
|
576
|
+
), M = u(() => e.showSearch && m.value !== ""), X = u(() => e.showSearch && M.value ? K(C, a.value.length) : null), J = u(() => {
|
|
577
|
+
var h;
|
|
578
|
+
return e.showSearch && M.value ? K(
|
|
579
|
+
d,
|
|
580
|
+
(h = b.value) == null ? void 0 : h.length
|
|
660
581
|
) : null;
|
|
661
582
|
});
|
|
662
583
|
return {
|
|
663
584
|
includedValues: t,
|
|
664
585
|
excludedValues: n,
|
|
665
586
|
showUnknownExcludedValues: s,
|
|
666
|
-
showUnknownIncludedValues:
|
|
587
|
+
showUnknownIncludedValues: o,
|
|
667
588
|
getEmitValue: l,
|
|
668
|
-
searchTerm:
|
|
669
|
-
filteredExcludedItems:
|
|
670
|
-
filteredIncludedItems:
|
|
671
|
-
knownExcludedValues:
|
|
672
|
-
knownIncludedValues:
|
|
673
|
-
possibleValueIds:
|
|
674
|
-
possibleValueIdsSet:
|
|
675
|
-
excludedLabels:
|
|
676
|
-
includedLabels:
|
|
677
|
-
caseSensitiveSearch:
|
|
678
|
-
allIncludedItems:
|
|
589
|
+
searchTerm: m,
|
|
590
|
+
filteredExcludedItems: C,
|
|
591
|
+
filteredIncludedItems: d,
|
|
592
|
+
knownExcludedValues: a,
|
|
593
|
+
knownIncludedValues: b,
|
|
594
|
+
possibleValueIds: i,
|
|
595
|
+
possibleValueIdsSet: S,
|
|
596
|
+
excludedLabels: X,
|
|
597
|
+
includedLabels: J,
|
|
598
|
+
caseSensitiveSearch: f,
|
|
599
|
+
allIncludedItems: p,
|
|
679
600
|
possibleValueMap: g
|
|
680
601
|
};
|
|
681
602
|
},
|
|
@@ -686,18 +607,18 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
686
607
|
leftSelected: [],
|
|
687
608
|
unknownValuesId: Symbol("Unknown values"),
|
|
688
609
|
constants: Object.freeze({
|
|
689
|
-
MIN_LIST_SIZE:
|
|
690
|
-
BUTTON_HEIGHT:
|
|
691
|
-
BUTTON_WIDTH:
|
|
692
|
-
RESIZE_HANDLE_WIDTH:
|
|
693
|
-
MAX_HEIGHT_BUTTONS_CENTER_ALIGNMENT:
|
|
610
|
+
MIN_LIST_SIZE: z,
|
|
611
|
+
BUTTON_HEIGHT: Z,
|
|
612
|
+
BUTTON_WIDTH: Y,
|
|
613
|
+
RESIZE_HANDLE_WIDTH: We,
|
|
614
|
+
MAX_HEIGHT_BUTTONS_CENTER_ALIGNMENT: qe
|
|
694
615
|
})
|
|
695
616
|
};
|
|
696
617
|
},
|
|
697
618
|
computed: {
|
|
698
619
|
listSize() {
|
|
699
620
|
const e = this.size === 0 ? this.possibleValues.length : this.size;
|
|
700
|
-
return e >
|
|
621
|
+
return e > z ? e : z;
|
|
701
622
|
},
|
|
702
623
|
moveAllRightButtonDisabled() {
|
|
703
624
|
return this.filteredExcludedItems.length === 0 && !this.showUnknownExcludedValues;
|
|
@@ -730,23 +651,23 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
730
651
|
toNewIncludedValues: t,
|
|
731
652
|
toNewExcludedValues: n
|
|
732
653
|
}) {
|
|
733
|
-
const s = e.filter((
|
|
654
|
+
const s = e.filter((i) => i !== this.unknownValuesId), o = e.length > s.length, l = {
|
|
734
655
|
knownValues: s,
|
|
735
|
-
movingUnknownValues:
|
|
656
|
+
movingUnknownValues: o
|
|
736
657
|
};
|
|
737
|
-
let
|
|
738
|
-
this.includedValues !== null && (
|
|
658
|
+
let m = null, f = null;
|
|
659
|
+
this.includedValues !== null && (m = t({
|
|
739
660
|
previous: this.includedValues,
|
|
740
661
|
movingParts: l
|
|
741
|
-
})), this.excludedValues && (
|
|
662
|
+
})), this.excludedValues && (f = n({
|
|
742
663
|
previous: this.knownExcludedValues,
|
|
743
664
|
movingParts: l
|
|
744
665
|
})), this.clearSelections(), this.$emit(
|
|
745
666
|
"update:modelValue",
|
|
746
667
|
this.getEmitValue(
|
|
747
|
-
|
|
748
|
-
() =>
|
|
749
|
-
(
|
|
668
|
+
m,
|
|
669
|
+
() => f,
|
|
670
|
+
(i) => o ? !i : i
|
|
750
671
|
)
|
|
751
672
|
);
|
|
752
673
|
},
|
|
@@ -771,7 +692,7 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
771
692
|
}) {
|
|
772
693
|
const s = new Set(n);
|
|
773
694
|
return e.filter(
|
|
774
|
-
(
|
|
695
|
+
(o) => !s.has(o) && (!t || this.possibleValueIdsSet.has(o))
|
|
775
696
|
);
|
|
776
697
|
},
|
|
777
698
|
/**
|
|
@@ -799,10 +720,10 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
799
720
|
);
|
|
800
721
|
},
|
|
801
722
|
onMoveAllRightButtonKey(e) {
|
|
802
|
-
e.key ===
|
|
723
|
+
e.key === E && (this.onMoveAllRightButtonClick(), this.stopPropagation(e));
|
|
803
724
|
},
|
|
804
725
|
onMoveRightButtonKey(e) {
|
|
805
|
-
e.key ===
|
|
726
|
+
e.key === E && (this.moveRight(), this.stopPropagation(e));
|
|
806
727
|
},
|
|
807
728
|
onMoveLeftButtonClick() {
|
|
808
729
|
this.moveLeft();
|
|
@@ -816,10 +737,10 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
816
737
|
);
|
|
817
738
|
},
|
|
818
739
|
onMoveLeftButtonKey(e) {
|
|
819
|
-
e.key ===
|
|
740
|
+
e.key === E && (this.moveLeft(), this.stopPropagation(e));
|
|
820
741
|
},
|
|
821
742
|
onMoveAllLeftButtonKey(e) {
|
|
822
|
-
e.key ===
|
|
743
|
+
e.key === E && (this.onMoveAllLeftButtonClick(), this.stopPropagation(e));
|
|
823
744
|
},
|
|
824
745
|
stopPropagation(e) {
|
|
825
746
|
e.preventDefault(), e.stopPropagation();
|
|
@@ -857,7 +778,7 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
857
778
|
};
|
|
858
779
|
},
|
|
859
780
|
getListBoxes() {
|
|
860
|
-
return
|
|
781
|
+
return Ke.map(
|
|
861
782
|
(e) => this.$refs[e]
|
|
862
783
|
);
|
|
863
784
|
},
|
|
@@ -868,27 +789,27 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
868
789
|
this.getListBoxes().forEach((e) => e.onResizeEnd());
|
|
869
790
|
}
|
|
870
791
|
}
|
|
871
|
-
},
|
|
872
|
-
|
|
792
|
+
}, W = () => {
|
|
793
|
+
G((e) => ({
|
|
873
794
|
"26ea00eb": `${e.constants.BUTTON_WIDTH}px`,
|
|
874
795
|
ab175dd0: `${e.constants.MAX_HEIGHT_BUTTONS_CENTER_ALIGNMENT}px`,
|
|
875
796
|
"6a6fa818": `${e.constants.BUTTON_HEIGHT}px`
|
|
876
797
|
}));
|
|
877
|
-
},
|
|
878
|
-
|
|
879
|
-
const
|
|
880
|
-
function
|
|
881
|
-
const
|
|
882
|
-
return
|
|
883
|
-
n.showSearch ? (
|
|
798
|
+
}, F = N.setup;
|
|
799
|
+
N.setup = F ? (e, t) => (W(), F(e, t)) : W;
|
|
800
|
+
const je = { class: "twinlist" }, Ge = { class: "header" }, Ye = { class: "title" }, Ze = ["title"], Xe = ["title"], Je = { class: "title" }, Qe = ["title"], $e = ["title"], et = { class: "buttons" };
|
|
801
|
+
function tt(e, t, n, s, o, l) {
|
|
802
|
+
const m = w("SearchInput"), f = w("Label"), i = w("MultiselectListBox"), S = w("ArrowNextIcon"), b = w("ArrowNextDoubleIcon"), g = w("ArrowPrevIcon"), p = w("ArrowPrevDoubleIcon"), B = w("ResizeHandle");
|
|
803
|
+
return r(), v("div", je, [
|
|
804
|
+
n.showSearch ? (r(), V(f, {
|
|
884
805
|
key: 0,
|
|
885
806
|
active: n.withSearchLabel,
|
|
886
807
|
text: n.searchLabel,
|
|
887
808
|
class: "search-wrapper"
|
|
888
809
|
}, {
|
|
889
|
-
default:
|
|
890
|
-
|
|
891
|
-
id:
|
|
810
|
+
default: x(({ labelForId: d }) => [
|
|
811
|
+
I(m, {
|
|
812
|
+
id: d,
|
|
892
813
|
ref: "search",
|
|
893
814
|
placeholder: n.searchPlaceholder,
|
|
894
815
|
"model-value": s.searchTerm,
|
|
@@ -901,50 +822,50 @@ function zt(e, t, n, s, i, l) {
|
|
|
901
822
|
},
|
|
902
823
|
compact: n.compact,
|
|
903
824
|
"onUpdate:modelValue": l.onSearchInput,
|
|
904
|
-
onToggleCaseSensitiveSearch: t[0] || (t[0] = (
|
|
825
|
+
onToggleCaseSensitiveSearch: t[0] || (t[0] = (a) => s.caseSensitiveSearch = a)
|
|
905
826
|
}, null, 8, ["id", "placeholder", "model-value", "label", "initial-case-sensitive-search", "disabled", "compact", "onUpdate:modelValue"])
|
|
906
827
|
]),
|
|
907
828
|
_: 1
|
|
908
|
-
}, 8, ["active", "text"])) :
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
829
|
+
}, 8, ["active", "text"])) : y("", !0),
|
|
830
|
+
c("div", Ge, [
|
|
831
|
+
c("div", Ye, [
|
|
832
|
+
c("div", {
|
|
912
833
|
class: "label",
|
|
913
834
|
title: n.leftLabel
|
|
914
|
-
}, R(n.leftLabel), 9,
|
|
915
|
-
s.excludedLabels ? (
|
|
835
|
+
}, R(n.leftLabel), 9, Ze),
|
|
836
|
+
s.excludedLabels ? (r(), v("div", {
|
|
916
837
|
key: 0,
|
|
917
838
|
title: s.excludedLabels,
|
|
918
839
|
class: "info"
|
|
919
|
-
}, R(s.excludedLabels), 9,
|
|
840
|
+
}, R(s.excludedLabels), 9, Xe)) : y("", !0)
|
|
920
841
|
]),
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
842
|
+
t[9] || (t[9] = c("div", { class: "space" }, null, -1)),
|
|
843
|
+
c("div", Je, [
|
|
844
|
+
c("div", {
|
|
924
845
|
class: "label",
|
|
925
846
|
title: n.rightLabel
|
|
926
|
-
}, R(n.rightLabel), 9,
|
|
927
|
-
s.includedLabels ? (
|
|
847
|
+
}, R(n.rightLabel), 9, Qe),
|
|
848
|
+
s.includedLabels ? (r(), v("div", {
|
|
928
849
|
key: 0,
|
|
929
850
|
title: s.includedLabels,
|
|
930
851
|
class: "info"
|
|
931
|
-
}, R(s.includedLabels), 9,
|
|
852
|
+
}, R(s.includedLabels), 9, $e)) : y("", !0)
|
|
932
853
|
])
|
|
933
854
|
]),
|
|
934
|
-
|
|
935
|
-
class:
|
|
855
|
+
c("div", {
|
|
856
|
+
class: k(["lists", { disabled: n.disabled }])
|
|
936
857
|
}, [
|
|
937
|
-
|
|
858
|
+
I(i, {
|
|
938
859
|
ref: "left",
|
|
939
860
|
"with-is-empty-state": n.showEmptyState,
|
|
940
861
|
"empty-state-label": n.emptyStateLabel,
|
|
941
862
|
"empty-state-component": n.emptyStateComponent,
|
|
942
863
|
size: l.listSize,
|
|
943
|
-
"min-size":
|
|
864
|
+
"min-size": o.constants.MIN_LIST_SIZE,
|
|
944
865
|
class: "list-box",
|
|
945
|
-
"model-value":
|
|
866
|
+
"model-value": o.leftSelected,
|
|
946
867
|
"with-bottom-value": s.showUnknownExcludedValues,
|
|
947
|
-
"bottom-value": { id:
|
|
868
|
+
"bottom-value": { id: o.unknownValuesId, text: n.unknownValuesText },
|
|
948
869
|
"is-valid": n.isValid,
|
|
949
870
|
"possible-values": s.filteredExcludedItems,
|
|
950
871
|
ariaLabel: n.leftLabel,
|
|
@@ -954,60 +875,60 @@ function zt(e, t, n, s, i, l) {
|
|
|
954
875
|
onKeyArrowRight: l.moveRight,
|
|
955
876
|
"onUpdate:modelValue": l.onLeftInput
|
|
956
877
|
}, null, 8, ["with-is-empty-state", "empty-state-label", "empty-state-component", "size", "min-size", "model-value", "with-bottom-value", "bottom-value", "is-valid", "possible-values", "ariaLabel", "disabled", "onDoubleClickOnItem", "onDoubleClickShift", "onKeyArrowRight", "onUpdate:modelValue"]),
|
|
957
|
-
|
|
958
|
-
|
|
878
|
+
c("div", et, [
|
|
879
|
+
c("div", {
|
|
959
880
|
ref: "moveRight",
|
|
960
|
-
class:
|
|
881
|
+
class: k({ disabled: l.moveRightButtonDisabled || n.disabled }),
|
|
961
882
|
role: "button",
|
|
962
883
|
tabindex: "0",
|
|
963
|
-
onClick: t[1] || (t[1] = (...
|
|
964
|
-
onKeydown: t[2] || (t[2] = (...
|
|
884
|
+
onClick: t[1] || (t[1] = (...d) => l.onMoveRightButtonClick && l.onMoveRightButtonClick(...d)),
|
|
885
|
+
onKeydown: t[2] || (t[2] = (...d) => l.onMoveRightButtonKey && l.onMoveRightButtonKey(...d))
|
|
965
886
|
}, [
|
|
966
|
-
|
|
887
|
+
I(S, { class: "icon" })
|
|
967
888
|
], 34),
|
|
968
|
-
|
|
889
|
+
c("div", {
|
|
969
890
|
ref: "moveAllRight",
|
|
970
|
-
class:
|
|
891
|
+
class: k({ disabled: l.moveAllRightButtonDisabled || n.disabled }),
|
|
971
892
|
role: "button",
|
|
972
893
|
tabindex: "0",
|
|
973
|
-
onClick: t[3] || (t[3] = (...
|
|
974
|
-
onKeydown: t[4] || (t[4] = (...
|
|
894
|
+
onClick: t[3] || (t[3] = (...d) => l.onMoveAllRightButtonClick && l.onMoveAllRightButtonClick(...d)),
|
|
895
|
+
onKeydown: t[4] || (t[4] = (...d) => l.onMoveAllRightButtonKey && l.onMoveAllRightButtonKey(...d))
|
|
975
896
|
}, [
|
|
976
|
-
|
|
897
|
+
I(b, { class: "icon" })
|
|
977
898
|
], 34),
|
|
978
|
-
|
|
899
|
+
c("div", {
|
|
979
900
|
ref: "moveLeft",
|
|
980
|
-
class:
|
|
901
|
+
class: k({ disabled: l.moveLeftButtonDisabled || n.disabled }),
|
|
981
902
|
role: "button",
|
|
982
903
|
tabindex: "0",
|
|
983
|
-
onClick: t[5] || (t[5] = (...
|
|
984
|
-
onKeydown: t[6] || (t[6] = (...
|
|
904
|
+
onClick: t[5] || (t[5] = (...d) => l.onMoveLeftButtonClick && l.onMoveLeftButtonClick(...d)),
|
|
905
|
+
onKeydown: t[6] || (t[6] = (...d) => l.onMoveLeftButtonKey && l.onMoveLeftButtonKey(...d))
|
|
985
906
|
}, [
|
|
986
|
-
|
|
907
|
+
I(g, { class: "icon" })
|
|
987
908
|
], 34),
|
|
988
|
-
|
|
909
|
+
c("div", {
|
|
989
910
|
ref: "moveAllLeft",
|
|
990
|
-
class:
|
|
911
|
+
class: k({ disabled: l.moveAllLeftButtonDisabled || n.disabled }),
|
|
991
912
|
role: "button",
|
|
992
913
|
tabindex: "0",
|
|
993
|
-
onClick: t[7] || (t[7] = (...
|
|
994
|
-
onKeydown: t[8] || (t[8] = (...
|
|
914
|
+
onClick: t[7] || (t[7] = (...d) => l.onMoveAllLeftButtonClick && l.onMoveAllLeftButtonClick(...d)),
|
|
915
|
+
onKeydown: t[8] || (t[8] = (...d) => l.onMoveAllLeftButtonKey && l.onMoveAllLeftButtonKey(...d))
|
|
995
916
|
}, [
|
|
996
|
-
p
|
|
917
|
+
I(p, { class: "icon" })
|
|
997
918
|
], 34)
|
|
998
919
|
]),
|
|
999
|
-
|
|
920
|
+
I(i, {
|
|
1000
921
|
ref: "right",
|
|
1001
|
-
class:
|
|
1002
|
-
"model-value":
|
|
922
|
+
class: k(["list-box", { "with-empty-state-icon": n.emptyStateComponent }]),
|
|
923
|
+
"model-value": o.rightSelected,
|
|
1003
924
|
"with-bottom-value": s.showUnknownIncludedValues,
|
|
1004
|
-
"bottom-value": { id:
|
|
925
|
+
"bottom-value": { id: o.unknownValuesId, text: n.unknownValuesText },
|
|
1005
926
|
"with-is-empty-state": n.showEmptyState,
|
|
1006
927
|
"empty-state-label": n.emptyStateLabel,
|
|
1007
928
|
"empty-state-component": n.emptyStateComponent,
|
|
1008
929
|
"possible-values": s.filteredIncludedItems,
|
|
1009
930
|
size: l.listSize,
|
|
1010
|
-
"min-size":
|
|
931
|
+
"min-size": o.constants.MIN_LIST_SIZE,
|
|
1011
932
|
ariaLabel: n.rightLabel,
|
|
1012
933
|
disabled: n.disabled,
|
|
1013
934
|
onDoubleClickOnItem: l.onRightListBoxDoubleClick,
|
|
@@ -1016,29 +937,29 @@ function zt(e, t, n, s, i, l) {
|
|
|
1016
937
|
"onUpdate:modelValue": l.onRightInput
|
|
1017
938
|
}, null, 8, ["class", "model-value", "with-bottom-value", "bottom-value", "with-is-empty-state", "empty-state-label", "empty-state-component", "possible-values", "size", "min-size", "ariaLabel", "disabled", "onDoubleClickOnItem", "onDoubleClickShift", "onKeyArrowLeft", "onUpdate:modelValue"])
|
|
1018
939
|
], 2),
|
|
1019
|
-
n.showResizeHandle ? (
|
|
940
|
+
n.showResizeHandle ? (r(), V(B, {
|
|
1020
941
|
key: 1,
|
|
1021
942
|
"number-of-handles": 2,
|
|
1022
|
-
"handle-width":
|
|
943
|
+
"handle-width": o.constants.RESIZE_HANDLE_WIDTH,
|
|
1023
944
|
"connect-handles-on-resize": "",
|
|
1024
|
-
"multiple-handles-handle-gap": `${
|
|
945
|
+
"multiple-handles-handle-gap": `${o.constants.BUTTON_WIDTH}px`,
|
|
1025
946
|
onResizeMove: l.onResizeMove,
|
|
1026
947
|
onResizeEnd: l.onResizeEnd
|
|
1027
|
-
}, null, 8, ["handle-width", "multiple-handles-handle-gap", "onResizeMove", "onResizeEnd"])) :
|
|
948
|
+
}, null, 8, ["handle-width", "multiple-handles-handle-gap", "onResizeMove", "onResizeEnd"])) : y("", !0)
|
|
1028
949
|
]);
|
|
1029
950
|
}
|
|
1030
|
-
const
|
|
951
|
+
const mt = /* @__PURE__ */ A(N, [["render", tt], ["__scopeId", "data-v-4808b939"]]), nt = { class: "info" }, lt = /* @__PURE__ */ j({
|
|
1031
952
|
__name: "TwinlistLoadingInfo",
|
|
1032
953
|
setup(e) {
|
|
1033
|
-
return (t, n) => (
|
|
1034
|
-
|
|
1035
|
-
|
|
954
|
+
return (t, n) => (r(), v("div", nt, [
|
|
955
|
+
n[0] || (n[0] = c("span", null, "Loading...", -1)),
|
|
956
|
+
I(H(re), { class: "icon" })
|
|
1036
957
|
]));
|
|
1037
958
|
}
|
|
1038
|
-
}),
|
|
959
|
+
}), vt = /* @__PURE__ */ A(lt, [["__scopeId", "data-v-52b0b5dd"]]);
|
|
1039
960
|
export {
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
961
|
+
xe as S,
|
|
962
|
+
vt as T,
|
|
963
|
+
mt as a,
|
|
964
|
+
Fe as u
|
|
1044
965
|
};
|