@knime/jsonforms 1.14.2 → 1.15.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 +32 -0
- package/dist/{AnyOfTwinlist-Cwxtyt0Q.js → AnyOfTwinlist-Co_sJAsc.js} +3 -3
- package/dist/{Button-BxuGKyL5.js → Button-Cqwayw73.js} +4 -4
- package/dist/CheckboxControl-C10_DX1N.js +40 -0
- package/dist/{Checkboxes-DIPjJhPO.js → Checkboxes-DWOxHiUX.js} +2 -2
- package/dist/{CheckboxesControl-5QlPmjwv.js → CheckboxesControl-BMRFgmO_.js} +7 -10
- package/dist/{ComboBoxControl-Dk02x7sN.js → ComboBoxControl-R0DlbAdT.js} +26 -29
- package/dist/{DateControl-CddCObVg.js → DateControl-DAGAM92B.js} +3 -3
- package/dist/DateTimeControl-DJhIb_U4.js +45 -0
- package/dist/{DateTimeFormatInput-bO1zHUyp.js → DateTimeFormatInput-BhLQzC-P.js} +74 -82
- package/dist/{DateTimeFormatPickerControl-Dq25_JV2.js → DateTimeFormatPickerControl-V7pxRYaW.js} +5 -8
- package/dist/{DateTimeFormatPickerWithTypeControl-DZib_x-B.js → DateTimeFormatPickerWithTypeControl-3fa75rGw.js} +6 -9
- package/dist/{DateTimeInput-CEYEV8dt.js → DateTimeInput-Cs0KqlOS.js} +4629 -4556
- package/dist/Dropdown-BEx-cvXH.js +608 -0
- package/dist/{DropdownControl-BNQKWzTT.js → DropdownControl-DEIA5VD4.js} +4 -4
- package/dist/{HorizontalLayout-6GwurgkR.js → HorizontalLayout-DCfhMNq4.js} +2 -2
- package/dist/{InputField-BYxW_-G3.js → InputField-OkFB9VHZ.js} +11 -11
- package/dist/{IntegerControl-DZIY-wb_.js → IntegerControl-Om8J7hch.js} +3 -3
- package/dist/{IntervalControl-Yts36_MI.js → IntervalControl-B7UbyyD-.js} +99 -100
- package/dist/{LoadingDropdown-Dw-0WQ8x.js → LoadingDropdown-CINkq_Sw.js} +6 -6
- package/dist/{ManualTwinlistControl-C3NnAug1.js → ManualTwinlistControl-BLTfr2gT.js} +24 -30
- package/dist/MultiSelectListBoxControl-j1TaFtQj.js +31 -0
- package/dist/{MultimodeTwinlistControl-B2Jven29.js → MultimodeTwinlistControl-BsFqHRFM.js} +97 -108
- package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_37fe7036_lang-DGKMWtLi.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_37fe7036_lang-2fVBipAl.js} +1 -1
- package/dist/{MultiselectListBox-CHvGxAhY.js → MultiselectListBox-CMTJnAWr.js} +18 -23
- package/dist/{NameFilter-D0hKO5Fr.js → NameFilter-d5k6rDVY.js} +3 -3
- package/dist/{NumberControl-DkeQT1iR.js → NumberControl-Kc3hvVef.js} +3 -3
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-BOCR1qXG.js +50 -0
- package/dist/{NumberInput-DJ38AGiR.js → NumberInput-BepS3tAK.js} +5 -5
- package/dist/{OneOfDropdown-NAgE-mPP.js → OneOfDropdown-CLwVXrbC.js} +10 -11
- package/dist/{RadioControl-DjrysNQ_.js → RadioControl-DpziR8nA.js} +4 -4
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-DVIeg5W1.js +104 -0
- package/dist/{RichTextControl-CXY1ULxR.js → RichTextControl-CE6whfV5.js} +4524 -4079
- package/dist/SectionHeading-D7znCZXu.js +19 -0
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js +15431 -0
- package/dist/{SectionLayout-CJP4sYyB.js → SectionLayout-BhXDOzqB.js} +4 -4
- package/dist/SettingsSubPanel-x9uWGoiu.js +5 -0
- package/dist/{SettingsSubPanelLayout-YBNVPQOD.js → SettingsSubPanelLayout-BPHBM5n5.js} +12 -11
- package/dist/{SimpleButtonControl-ejyUwJdL.js → SimpleButtonControl-DfCSlgZS.js} +9 -9
- package/dist/SimpleTwinlistControl-CBalniCf.js +25 -0
- package/dist/{SingleSelectControl-B0JgDv7j.js → SingleSelectControl-DC4w0ata.js} +4 -4
- package/dist/{SingleSelectListBoxControl-ClQOxnxW.js → SingleSelectListBoxControl-CKj-p8jZ.js} +33 -36
- package/dist/{SortListControl-mvJofiWn.js → SortListControl-BIUyPjCi.js} +122 -120
- package/dist/{StyledListItem-BXz08pEQ.js → StyledListItem-D-HJWfo5.js} +3 -3
- package/dist/{TextAreaControl-S4aoqAv1.js → TextAreaControl-D28TQZEY.js} +23 -26
- package/dist/{TextControl-rJrjrBw8.js → TextControl-DUDBWcHy.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Bf6GB1zX.js → TextControl.vue_vue_type_script_setup_true_lang-DpAd3yOu.js} +16 -19
- package/dist/TimeControl-HRooO_z3.js +36 -0
- package/dist/{TwinlistControlBase-D1l9t7Up.js → TwinlistControlBase-Brfh5pqZ.js} +5 -5
- package/dist/{TwinlistLoadingInfo-CQRx9cEu.js → TwinlistLoadingInfo-C4Tta00d.js} +150 -167
- package/dist/TypedStringFilter-CdvgPKhD.js +26 -0
- package/dist/{ValueSwitch-CUYV7v67.js → ValueSwitch-W4y1YvNM.js} +8 -8
- package/dist/{ValueSwitchControl-IP9SxrUs.js → ValueSwitchControl-BaXH8Cjx.js} +3 -3
- package/dist/{VerticalLayout-D2eQSYgv.js → VerticalLayout-ChAmRKNj.js} +5 -5
- package/dist/VerticalLayoutBase-DAk4vfH5.js +20 -0
- package/dist/ZonedDateTimeControl-Qb57KmMT.js +69 -0
- package/dist/{_baseEach-cjHvi5iT.js → _baseEach-DdH9cM67.js} +4 -4
- package/dist/{_baseIteratee-CIxt0KWU.js → _baseIteratee-BGt-t7Os.js} +27 -27
- package/dist/{_getTag-sLUyzSDj.js → _getTag-DAFySze4.js} +10 -10
- package/dist/{arrow-dropdown-DdgjzLAO.js → arrow-dropdown-BAFsD8Su.js} +2 -2
- package/dist/{arrow-next-CIOU5o42.js → arrow-next-BQVCxGb8.js} +2 -2
- package/dist/{close-BuY4mhXV.js → close-DGt8x-x_.js} +2 -2
- 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 +64 -67
- package/dist/{localTimeUtils-Dv-1R88J.js → localTimeUtils-NIKgHnIr.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-BVbCGubF.js → reload-DCdbNLa2.js} +2 -2
- 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/{svgWithTitle-Cr3Pu3wr.js → svgWithTitle-CnTmPYAB.js} +4 -4
- package/dist/testUtils/component.d.ts +18 -18
- package/dist/testing.js +8688 -8655
- package/dist/{toString-C_MqBj3_.js → toString-BhubvA3m.js} +1 -1
- package/dist/{useBuiltinValidations-DP7OS71z.js → useBuiltinValidations-Boxrm71q.js} +1 -1
- package/dist/useDropdownNavigation-BfCXUheD.js +817 -0
- package/dist/usePossibleValues-DXuWWBh_.js +16 -0
- package/package.json +14 -14
- package/dist/CheckboxControl-Oe97HhY3.js +0 -40
- package/dist/DateTimeControl-DyXUJBHE.js +0 -54
- package/dist/Dropdown-CJj0CUA8.js +0 -604
- package/dist/MultiSelectListBoxControl-3Q41S4aA.js +0 -34
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-B9K5qEs3.js +0 -53
- 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/SettingsSubPanel-KxEyzlB6.js +0 -5
- package/dist/SimpleTwinlistControl-qXQxRI7h.js +0 -28
- package/dist/TimeControl-DfhE8yu9.js +0 -42
- package/dist/TypedStringFilter-C6JhWCCC.js +0 -29
- 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/src/JsonFormsDialog.vue.d.ts +0 -46
- package/dist/useDropdownNavigation-7o7SRJSo.js +0 -781
- package/dist/usePossibleValues-lz0Rcu_N.js +0 -20
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { N as ne } from "./arrow-next-
|
|
1
|
+
import { createElementBlock as v, openBlock as c, createElementVNode as r, computed as a, nextTick as Q, resolveComponent as w, createBlock as x, normalizeClass as L, withCtx as B, createCommentVNode as y, createVNode as I, renderSlot as $, defineComponent as j, useCssVars as q, ref as E, normalizeStyle as D, Fragment as ee, renderList as te, unref as z, toRef as U, toDisplayString as M } from "vue";
|
|
2
|
+
import { N as ne } from "./arrow-next-BQVCxGb8.js";
|
|
3
3
|
import { u as O } from "./useSearch-hpyYQ_6y.js";
|
|
4
|
-
import {
|
|
5
|
-
import { M as ae } from "./MultiselectListBox-
|
|
6
|
-
import { C as ue } from "./close-
|
|
7
|
-
import { I as ce } from "./InputField-
|
|
4
|
+
import { G as le, H as se, _ as T, v as oe, y as ie } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js";
|
|
5
|
+
import { M as ae } from "./MultiselectListBox-CMTJnAWr.js";
|
|
6
|
+
import { C as ue } from "./close-DGt8x-x_.js";
|
|
7
|
+
import { I as ce } from "./InputField-OkFB9VHZ.js";
|
|
8
8
|
import { c as P } from "./createMissingItem-B00Kg95q.js";
|
|
9
|
-
import { L as de } from "./svgWithTitle-
|
|
9
|
+
import { L as de } from "./svgWithTitle-CnTmPYAB.js";
|
|
10
10
|
const re = {
|
|
11
11
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12
12
|
fill: "none",
|
|
@@ -15,7 +15,7 @@ const re = {
|
|
|
15
15
|
viewBox: "0 0 32 32"
|
|
16
16
|
};
|
|
17
17
|
function he(e, t) {
|
|
18
|
-
return
|
|
18
|
+
return c(), v("svg", re, t[0] || (t[0] = [
|
|
19
19
|
r("circle", {
|
|
20
20
|
cx: "13.2",
|
|
21
21
|
cy: "13.2",
|
|
@@ -30,15 +30,15 @@ function fe(e, t, n) {
|
|
|
30
30
|
var s = !0, o = !0;
|
|
31
31
|
if (typeof e != "function")
|
|
32
32
|
throw new TypeError(ve);
|
|
33
|
-
return
|
|
33
|
+
return le(n) && (s = "leading" in n ? !!n.leading : s, o = "trailing" in n ? !!n.trailing : o), se(e, t, {
|
|
34
34
|
leading: s,
|
|
35
35
|
maxWait: t,
|
|
36
36
|
trailing: o
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
39
|
const K = (e, t, n) => {
|
|
40
|
-
const s =
|
|
41
|
-
return ((
|
|
40
|
+
const s = a(() => !e.value || e.value.length === 0 ? 0 : e.value.length), o = a(() => 0);
|
|
41
|
+
return ((h, f, d) => `${h} of ${f} entries`)(
|
|
42
42
|
s.value,
|
|
43
43
|
t,
|
|
44
44
|
o.value
|
|
@@ -51,7 +51,7 @@ const K = (e, t, n) => {
|
|
|
51
51
|
viewBox: "0 0 32 32"
|
|
52
52
|
};
|
|
53
53
|
function be(e, t) {
|
|
54
|
-
return
|
|
54
|
+
return c(), v("svg", we, t[0] || (t[0] = [
|
|
55
55
|
r("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
56
|
]));
|
|
57
57
|
}
|
|
@@ -63,7 +63,7 @@ const ge = { render: be }, Se = {
|
|
|
63
63
|
viewBox: "0 0 32 32"
|
|
64
64
|
};
|
|
65
65
|
function Ie(e, t) {
|
|
66
|
-
return
|
|
66
|
+
return c(), v("svg", Se, t[0] || (t[0] = [
|
|
67
67
|
r("path", {
|
|
68
68
|
fill: "#000",
|
|
69
69
|
stroke: "none",
|
|
@@ -199,8 +199,8 @@ const pe = { render: Ie }, _e = {
|
|
|
199
199
|
class: "spacer"
|
|
200
200
|
};
|
|
201
201
|
function Be(e, t, n, s, o, l) {
|
|
202
|
-
const
|
|
203
|
-
return
|
|
202
|
+
const h = w("LensIcon"), f = w("CloseIcon"), d = w("FunctionButton"), S = w("UpperLowerCaseIcon"), b = w("InverseSearchIcon"), g = w("InputField");
|
|
203
|
+
return c(), x(g, {
|
|
204
204
|
id: n.id,
|
|
205
205
|
ref: "searchInput",
|
|
206
206
|
name: n.name,
|
|
@@ -208,7 +208,7 @@ function Be(e, t, n, s, o, l) {
|
|
|
208
208
|
placeholder: n.placeholder,
|
|
209
209
|
autofocus: n.autofocus,
|
|
210
210
|
disabled: n.disabled,
|
|
211
|
-
class:
|
|
211
|
+
class: L(["search-input", { disabled: n.disabled }]),
|
|
212
212
|
autocomplete: "off",
|
|
213
213
|
"aria-owns": n.ariaOwns,
|
|
214
214
|
"aria-activedescendant": n.ariaActivedescendant,
|
|
@@ -217,28 +217,28 @@ function Be(e, t, n, s, o, l) {
|
|
|
217
217
|
onFocus: t[0] || (t[0] = (p) => e.$emit("focus", p)),
|
|
218
218
|
"onUpdate:modelValue": t[1] || (t[1] = (p) => e.$emit("update:modelValue", p))
|
|
219
219
|
}, {
|
|
220
|
-
icon:
|
|
221
|
-
n.disabled ? y("", !0) : (
|
|
220
|
+
icon: B(() => [
|
|
221
|
+
n.disabled ? y("", !0) : (c(), v("div", Le, [
|
|
222
222
|
$(e.$slots, "icon", {}, () => [
|
|
223
|
-
I(
|
|
223
|
+
I(h)
|
|
224
224
|
], !0)
|
|
225
225
|
]))
|
|
226
226
|
]),
|
|
227
|
-
iconRight:
|
|
228
|
-
l.showClearButton ? (
|
|
227
|
+
iconRight: B(() => [
|
|
228
|
+
l.showClearButton ? (c(), x(d, {
|
|
229
229
|
key: 0,
|
|
230
230
|
class: "clear-search",
|
|
231
231
|
compact: n.compact,
|
|
232
232
|
title: l.tooltipsWithDefaults.clear,
|
|
233
233
|
onClick: l.clearSearch
|
|
234
234
|
}, {
|
|
235
|
-
default:
|
|
235
|
+
default: B(() => [
|
|
236
236
|
I(f)
|
|
237
237
|
]),
|
|
238
238
|
_: 1
|
|
239
239
|
}, 8, ["compact", "title", "onClick"])) : y("", !0),
|
|
240
|
-
l.showSpacer ? (
|
|
241
|
-
!n.disabled && n.showCaseSensitiveSearchButton ? (
|
|
240
|
+
l.showSpacer ? (c(), v("span", ke)) : y("", !0),
|
|
241
|
+
!n.disabled && n.showCaseSensitiveSearchButton ? (c(), x(d, {
|
|
242
242
|
key: 2,
|
|
243
243
|
class: "toggle-case-sensitive-search",
|
|
244
244
|
compact: n.compact,
|
|
@@ -246,12 +246,12 @@ function Be(e, t, n, s, o, l) {
|
|
|
246
246
|
title: l.tooltipsWithDefaults.caseSensitive,
|
|
247
247
|
onClick: l.toggleCaseSensitiveSearch
|
|
248
248
|
}, {
|
|
249
|
-
default:
|
|
249
|
+
default: B(() => [
|
|
250
250
|
I(S)
|
|
251
251
|
]),
|
|
252
252
|
_: 1
|
|
253
253
|
}, 8, ["compact", "active", "title", "onClick"])) : y("", !0),
|
|
254
|
-
!n.disabled && n.showInverseSearchButton ? (
|
|
254
|
+
!n.disabled && n.showInverseSearchButton ? (c(), x(d, {
|
|
255
255
|
key: 3,
|
|
256
256
|
class: "toggle-inverse-search",
|
|
257
257
|
compact: n.compact,
|
|
@@ -259,7 +259,7 @@ function Be(e, t, n, s, o, l) {
|
|
|
259
259
|
active: o.inverseSearch,
|
|
260
260
|
onClick: l.toggleInverseSearch
|
|
261
261
|
}, {
|
|
262
|
-
default:
|
|
262
|
+
default: B(() => [
|
|
263
263
|
I(b)
|
|
264
264
|
]),
|
|
265
265
|
_: 1
|
|
@@ -268,7 +268,7 @@ function Be(e, t, n, s, o, l) {
|
|
|
268
268
|
_: 3
|
|
269
269
|
}, 8, ["id", "name", "model-value", "placeholder", "autofocus", "disabled", "class", "aria-owns", "aria-activedescendant", "compact"]);
|
|
270
270
|
}
|
|
271
|
-
const xe = /* @__PURE__ */
|
|
271
|
+
const xe = /* @__PURE__ */ T(ye, [["render", Be], ["__scopeId", "data-v-edba0a22"]]), Ve = {
|
|
272
272
|
xmlns: "http://www.w3.org/2000/svg",
|
|
273
273
|
fill: "none",
|
|
274
274
|
stroke: "#000",
|
|
@@ -276,7 +276,7 @@ const xe = /* @__PURE__ */ A(ye, [["render", Be], ["__scopeId", "data-v-edba0a22
|
|
|
276
276
|
viewBox: "0 0 32 32"
|
|
277
277
|
};
|
|
278
278
|
function Ce(e, t) {
|
|
279
|
-
return
|
|
279
|
+
return c(), v("svg", Ve, t[0] || (t[0] = [
|
|
280
280
|
r("path", { d: "m14.8 5 11 11-11 11M6.2 5l11 11-11 11" }, null, -1)
|
|
281
281
|
]));
|
|
282
282
|
}
|
|
@@ -288,7 +288,7 @@ const Me = { render: Ce }, Re = {
|
|
|
288
288
|
viewBox: "0 0 32 32"
|
|
289
289
|
};
|
|
290
290
|
function Ee(e, t) {
|
|
291
|
-
return
|
|
291
|
+
return c(), v("svg", Re, t[0] || (t[0] = [
|
|
292
292
|
r("path", { d: "m17.2 27-11-11 11-11m8.6 22-11-11 11-11" }, null, -1)
|
|
293
293
|
]));
|
|
294
294
|
}
|
|
@@ -300,11 +300,11 @@ const Te = { render: Ee }, Ae = {
|
|
|
300
300
|
viewBox: "0 0 32 32"
|
|
301
301
|
};
|
|
302
302
|
function De(e, t) {
|
|
303
|
-
return
|
|
303
|
+
return c(), v("svg", Ae, t[0] || (t[0] = [
|
|
304
304
|
r("path", { d: "m21.5 27-11-11 11-11" }, null, -1)
|
|
305
305
|
]));
|
|
306
306
|
}
|
|
307
|
-
const
|
|
307
|
+
const He = { render: De }, ze = 10, W = "2px", Ne = /* @__PURE__ */ j({
|
|
308
308
|
__name: "ResizeHandle",
|
|
309
309
|
props: {
|
|
310
310
|
numberOfHandles: {},
|
|
@@ -315,84 +315,78 @@ const ze = { render: De }, He = 10, W = "2px", Ne = /* @__PURE__ */ j({
|
|
|
315
315
|
},
|
|
316
316
|
emits: ["resize-move", "resize-end"],
|
|
317
317
|
setup(e, { emit: t }) {
|
|
318
|
-
q((
|
|
318
|
+
q((i) => ({
|
|
319
319
|
aa149252: W
|
|
320
320
|
}));
|
|
321
|
-
const n = t, s = e, o =
|
|
321
|
+
const n = t, s = e, o = E(0), l = E(null), h = a(
|
|
322
322
|
() => `calc(${s.handleWidth} + 2 * ${W})`
|
|
323
|
-
), f =
|
|
323
|
+
), f = a(
|
|
324
324
|
() => s.connectHandlesOnResize && s.numberOfHandles > 1 && l.value !== null
|
|
325
|
-
),
|
|
325
|
+
), d = a(
|
|
326
326
|
() => `(${s.numberOfHandles} - 1) * ${s.multipleHandlesHandleGap}`
|
|
327
|
-
), S =
|
|
327
|
+
), S = a(
|
|
328
328
|
() => `(2 * ${s.numberOfHandles})`
|
|
329
|
-
), b =
|
|
330
|
-
() => `(100% - ${
|
|
331
|
-
), g =
|
|
329
|
+
), b = a(
|
|
330
|
+
() => `(100% - ${d.value}) / ${S.value}`
|
|
331
|
+
), g = a(
|
|
332
332
|
() => `calc(100% - 2 * ${b.value})`
|
|
333
|
-
), p = (
|
|
334
|
-
s.disabled || (
|
|
335
|
-
},
|
|
336
|
-
if (l.value ===
|
|
337
|
-
const _ =
|
|
338
|
-
(_ < 0 &&
|
|
333
|
+
), p = (i) => {
|
|
334
|
+
s.disabled || (i.target.setPointerCapture(i.pointerId), i.preventDefault(), l.value = i.pointerId, o.value = i.clientY);
|
|
335
|
+
}, k = fe((i) => {
|
|
336
|
+
if (l.value === i.pointerId) {
|
|
337
|
+
const _ = i.clientY - o.value;
|
|
338
|
+
(_ < 0 && i.offsetY <= 0 || _ > 0 && i.offsetY >= 0) && n("resize-move", _), o.value = i.clientY;
|
|
339
339
|
}
|
|
340
|
-
},
|
|
341
|
-
l.value ===
|
|
340
|
+
}, ze), u = (i) => {
|
|
341
|
+
l.value === i.pointerId && (o.value = 0, l.value = null, n("resize-end"));
|
|
342
342
|
};
|
|
343
|
-
return (
|
|
343
|
+
return (i, _) => (c(), v("div", {
|
|
344
344
|
class: "resize-handle-container",
|
|
345
|
-
style: D({ gap:
|
|
345
|
+
style: D({ gap: i.multipleHandlesHandleGap })
|
|
346
346
|
}, [
|
|
347
|
-
f.value ? (
|
|
347
|
+
f.value ? (c(), v("div", {
|
|
348
348
|
key: 0,
|
|
349
349
|
class: "handle connection",
|
|
350
350
|
style: D({ width: g.value })
|
|
351
351
|
}, null, 4)) : y("", !0),
|
|
352
|
-
(
|
|
353
|
-
key:
|
|
354
|
-
class:
|
|
355
|
-
style: D({ width:
|
|
352
|
+
(c(!0), v(ee, null, te(i.numberOfHandles, (V) => (c(), v("div", {
|
|
353
|
+
key: V,
|
|
354
|
+
class: L(["handle-container", { disabled: i.disabled }]),
|
|
355
|
+
style: D({ width: h.value }),
|
|
356
356
|
onPointerdown: p,
|
|
357
|
-
onPointerup:
|
|
357
|
+
onPointerup: u,
|
|
358
358
|
onPointermove: _[0] || (_[0] = //@ts-ignore
|
|
359
|
-
(...
|
|
360
|
-
onLostpointercapture:
|
|
359
|
+
(...C) => z(k) && z(k)(...C)),
|
|
360
|
+
onLostpointercapture: u
|
|
361
361
|
}, _[1] || (_[1] = [
|
|
362
362
|
r("div", { class: "handle" }, null, -1)
|
|
363
363
|
]), 38))), 128))
|
|
364
364
|
], 4));
|
|
365
365
|
}
|
|
366
|
-
}), Ue = /* @__PURE__ */
|
|
367
|
-
const t =
|
|
366
|
+
}), Ue = /* @__PURE__ */ T(Ne, [["__scopeId", "data-v-2123c51f"]]), R = "Enter", H = 5, Y = 30, Z = 24, Oe = 4, Pe = 56, Ke = ["left", "right"], We = Oe * Z + 2 * Pe, Fe = `calc((100% - ${Y}px) * 1 / 6)`, Ge = (e) => {
|
|
367
|
+
const t = a(
|
|
368
368
|
() => e.value !== null && "includeUnknownValues" in e.value ? { withUnknownValues: e.value } : { standard: e.value }
|
|
369
|
-
), n =
|
|
370
|
-
() =>
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
), o = u(
|
|
375
|
-
() => {
|
|
376
|
-
var i;
|
|
377
|
-
return ((i = t.value.withUnknownValues) == null ? void 0 : i.includeUnknownValues) ?? null;
|
|
378
|
-
}
|
|
379
|
-
), l = u(
|
|
369
|
+
), n = a(() => typeof t.value.standard < "u" ? t.value.standard : t.value.withUnknownValues.includedValues), s = a(
|
|
370
|
+
() => t.value.withUnknownValues?.excludedValues ?? null
|
|
371
|
+
), o = a(
|
|
372
|
+
() => t.value.withUnknownValues?.includeUnknownValues ?? null
|
|
373
|
+
), l = a(
|
|
380
374
|
() => o.value === !1
|
|
381
|
-
),
|
|
375
|
+
), h = a(
|
|
382
376
|
() => o.value === !0
|
|
383
377
|
);
|
|
384
378
|
return {
|
|
385
379
|
includedValues: n,
|
|
386
380
|
excludedValues: s,
|
|
387
381
|
showUnknownExcludedValues: l,
|
|
388
|
-
showUnknownIncludedValues:
|
|
389
|
-
getEmitValue: (
|
|
390
|
-
includedValues:
|
|
382
|
+
showUnknownIncludedValues: h,
|
|
383
|
+
getEmitValue: (d, S = (g) => g, b = (g) => g) => t.value.withUnknownValues ? {
|
|
384
|
+
includedValues: d,
|
|
391
385
|
excludedValues: S(s.value),
|
|
392
386
|
includeUnknownValues: b(
|
|
393
387
|
t.value.withUnknownValues.includeUnknownValues
|
|
394
388
|
)
|
|
395
|
-
} :
|
|
389
|
+
} : d
|
|
396
390
|
};
|
|
397
391
|
}, N = {
|
|
398
392
|
name: "Twinlist",
|
|
@@ -400,7 +394,7 @@ const ze = { render: De }, He = 10, W = "2px", Ne = /* @__PURE__ */ j({
|
|
|
400
394
|
ArrowNextDoubleIcon: Me,
|
|
401
395
|
ArrowNextIcon: ne,
|
|
402
396
|
ArrowPrevDoubleIcon: Te,
|
|
403
|
-
ArrowPrevIcon:
|
|
397
|
+
ArrowPrevIcon: He,
|
|
404
398
|
MultiselectListBox: ae,
|
|
405
399
|
Label: ie,
|
|
406
400
|
SearchInput: xe,
|
|
@@ -534,62 +528,53 @@ const ze = { render: De }, He = 10, W = "2px", Ne = /* @__PURE__ */ j({
|
|
|
534
528
|
showUnknownExcludedValues: s,
|
|
535
529
|
showUnknownIncludedValues: o,
|
|
536
530
|
getEmitValue: l
|
|
537
|
-
} = Ge(U(e, "modelValue")),
|
|
538
|
-
(
|
|
539
|
-
) : t.value : null), g =
|
|
531
|
+
} = Ge(U(e, "modelValue")), h = E(e.initialSearchTerm), f = E(e.initialCaseSensitiveSearch), d = a(() => e.possibleValues.map((m) => m.id)), S = a(() => new Set(d.value)), b = a(() => t.value ? o.value ? t.value.filter(
|
|
532
|
+
(m) => S.value.has(m)
|
|
533
|
+
) : t.value : null), g = a(() => Object.assign(
|
|
540
534
|
{},
|
|
541
|
-
...e.possibleValues.map((
|
|
542
|
-
[
|
|
535
|
+
...e.possibleValues.map((m, A) => ({
|
|
536
|
+
[m.id]: { item: m, index: A }
|
|
543
537
|
}))
|
|
544
|
-
)), p =
|
|
545
|
-
(
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
}
|
|
549
|
-
)), B = U(e, "showSearch"), c = O(
|
|
550
|
-
m,
|
|
538
|
+
)), p = a(() => b.value === null ? [] : b.value.map(
|
|
539
|
+
(m) => g.value[m]?.item || P(m)
|
|
540
|
+
)), k = U(e, "showSearch"), u = O(
|
|
541
|
+
h,
|
|
551
542
|
f,
|
|
552
543
|
p,
|
|
553
|
-
|
|
554
|
-
),
|
|
544
|
+
k
|
|
545
|
+
), i = a(() => {
|
|
555
546
|
if (!n.value) {
|
|
556
|
-
const
|
|
557
|
-
return
|
|
558
|
-
(
|
|
547
|
+
const m = new Set(t.value);
|
|
548
|
+
return d.value.filter(
|
|
549
|
+
(A) => !m.has(A)
|
|
559
550
|
);
|
|
560
551
|
}
|
|
561
552
|
return s.value ? n.value.filter(
|
|
562
|
-
(
|
|
553
|
+
(m) => S.value.has(m)
|
|
563
554
|
) : n.value;
|
|
564
|
-
}), _ =
|
|
565
|
-
(
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
}
|
|
569
|
-
)), C = O(
|
|
570
|
-
m,
|
|
555
|
+
}), _ = a(() => b.value === null ? [] : i.value.map(
|
|
556
|
+
(m) => g.value[m]?.item || P(m)
|
|
557
|
+
)), V = O(
|
|
558
|
+
h,
|
|
571
559
|
f,
|
|
572
560
|
_,
|
|
573
|
-
|
|
574
|
-
),
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
(h = b.value) == null ? void 0 : h.length
|
|
579
|
-
) : null;
|
|
580
|
-
});
|
|
561
|
+
k
|
|
562
|
+
), C = a(() => e.showSearch && h.value !== ""), X = a(() => e.showSearch && C.value ? K(V, i.value.length) : null), J = a(() => e.showSearch && C.value ? K(
|
|
563
|
+
u,
|
|
564
|
+
b.value?.length
|
|
565
|
+
) : null);
|
|
581
566
|
return {
|
|
582
567
|
includedValues: t,
|
|
583
568
|
excludedValues: n,
|
|
584
569
|
showUnknownExcludedValues: s,
|
|
585
570
|
showUnknownIncludedValues: o,
|
|
586
571
|
getEmitValue: l,
|
|
587
|
-
searchTerm:
|
|
588
|
-
filteredExcludedItems:
|
|
589
|
-
filteredIncludedItems:
|
|
590
|
-
knownExcludedValues:
|
|
572
|
+
searchTerm: h,
|
|
573
|
+
filteredExcludedItems: V,
|
|
574
|
+
filteredIncludedItems: u,
|
|
575
|
+
knownExcludedValues: i,
|
|
591
576
|
knownIncludedValues: b,
|
|
592
|
-
possibleValueIds:
|
|
577
|
+
possibleValueIds: d,
|
|
593
578
|
possibleValueIdsSet: S,
|
|
594
579
|
excludedLabels: X,
|
|
595
580
|
includedLabels: J,
|
|
@@ -605,7 +590,7 @@ const ze = { render: De }, He = 10, W = "2px", Ne = /* @__PURE__ */ j({
|
|
|
605
590
|
leftSelected: [],
|
|
606
591
|
unknownValuesId: Symbol("Unknown values"),
|
|
607
592
|
constants: Object.freeze({
|
|
608
|
-
MIN_LIST_SIZE:
|
|
593
|
+
MIN_LIST_SIZE: H,
|
|
609
594
|
BUTTON_HEIGHT: Z,
|
|
610
595
|
BUTTON_WIDTH: Y,
|
|
611
596
|
RESIZE_HANDLE_WIDTH: Fe,
|
|
@@ -616,7 +601,7 @@ const ze = { render: De }, He = 10, W = "2px", Ne = /* @__PURE__ */ j({
|
|
|
616
601
|
computed: {
|
|
617
602
|
listSize() {
|
|
618
603
|
const e = this.size === 0 ? this.possibleValues.length : this.size;
|
|
619
|
-
return e >
|
|
604
|
+
return e > H ? e : H;
|
|
620
605
|
},
|
|
621
606
|
moveAllRightButtonDisabled() {
|
|
622
607
|
return this.filteredExcludedItems.length === 0 && !this.showUnknownExcludedValues;
|
|
@@ -636,8 +621,7 @@ const ze = { render: De }, He = 10, W = "2px", Ne = /* @__PURE__ */ j({
|
|
|
636
621
|
},
|
|
637
622
|
methods: {
|
|
638
623
|
getIndex(e) {
|
|
639
|
-
|
|
640
|
-
return ((t = this.possibleValueMap[e]) == null ? void 0 : t.index) ?? -1;
|
|
624
|
+
return this.possibleValueMap[e]?.index ?? -1;
|
|
641
625
|
},
|
|
642
626
|
compareByOriginalSorting(e, t) {
|
|
643
627
|
return this.getIndex(e) - this.getIndex(t);
|
|
@@ -649,12 +633,12 @@ const ze = { render: De }, He = 10, W = "2px", Ne = /* @__PURE__ */ j({
|
|
|
649
633
|
toNewIncludedValues: t,
|
|
650
634
|
toNewExcludedValues: n
|
|
651
635
|
}) {
|
|
652
|
-
const s = e.filter((
|
|
636
|
+
const s = e.filter((d) => d !== this.unknownValuesId), o = e.length > s.length, l = {
|
|
653
637
|
knownValues: s,
|
|
654
638
|
movingUnknownValues: o
|
|
655
639
|
};
|
|
656
|
-
let
|
|
657
|
-
this.includedValues !== null && (
|
|
640
|
+
let h = null, f = null;
|
|
641
|
+
this.includedValues !== null && (h = t({
|
|
658
642
|
previous: this.includedValues,
|
|
659
643
|
movingParts: l
|
|
660
644
|
})), this.excludedValues && (f = n({
|
|
@@ -663,9 +647,9 @@ const ze = { render: De }, He = 10, W = "2px", Ne = /* @__PURE__ */ j({
|
|
|
663
647
|
})), this.clearSelections(), this.$emit(
|
|
664
648
|
"update:modelValue",
|
|
665
649
|
this.getEmitValue(
|
|
666
|
-
|
|
650
|
+
h,
|
|
667
651
|
() => f,
|
|
668
|
-
(
|
|
652
|
+
(d) => o ? !d : d
|
|
669
653
|
)
|
|
670
654
|
);
|
|
671
655
|
},
|
|
@@ -718,10 +702,10 @@ const ze = { render: De }, He = 10, W = "2px", Ne = /* @__PURE__ */ j({
|
|
|
718
702
|
);
|
|
719
703
|
},
|
|
720
704
|
onMoveAllRightButtonKey(e) {
|
|
721
|
-
e.key ===
|
|
705
|
+
e.key === R && (this.onMoveAllRightButtonClick(), this.stopPropagation(e));
|
|
722
706
|
},
|
|
723
707
|
onMoveRightButtonKey(e) {
|
|
724
|
-
e.key ===
|
|
708
|
+
e.key === R && (this.moveRight(), this.stopPropagation(e));
|
|
725
709
|
},
|
|
726
710
|
onMoveLeftButtonClick() {
|
|
727
711
|
this.moveLeft();
|
|
@@ -735,10 +719,10 @@ const ze = { render: De }, He = 10, W = "2px", Ne = /* @__PURE__ */ j({
|
|
|
735
719
|
);
|
|
736
720
|
},
|
|
737
721
|
onMoveLeftButtonKey(e) {
|
|
738
|
-
e.key ===
|
|
722
|
+
e.key === R && (this.moveLeft(), this.stopPropagation(e));
|
|
739
723
|
},
|
|
740
724
|
onMoveAllLeftButtonKey(e) {
|
|
741
|
-
e.key ===
|
|
725
|
+
e.key === R && (this.onMoveAllLeftButtonClick(), this.stopPropagation(e));
|
|
742
726
|
},
|
|
743
727
|
stopPropagation(e) {
|
|
744
728
|
e.preventDefault(), e.stopPropagation();
|
|
@@ -765,8 +749,7 @@ const ze = { render: De }, He = 10, W = "2px", Ne = /* @__PURE__ */ j({
|
|
|
765
749
|
this.searchTerm = e;
|
|
766
750
|
},
|
|
767
751
|
hasSelection() {
|
|
768
|
-
|
|
769
|
-
return (((e = this.includedValues) == null ? void 0 : e.length) ?? 0) > 0;
|
|
752
|
+
return (this.includedValues?.length ?? 0) > 0;
|
|
770
753
|
},
|
|
771
754
|
validate() {
|
|
772
755
|
const e = !this.filteredIncludedItems.some((t) => t.invalid) && (!this.excludedValues || !this.filteredExcludedItems.some((t) => t.invalid));
|
|
@@ -789,25 +772,25 @@ const ze = { render: De }, He = 10, W = "2px", Ne = /* @__PURE__ */ j({
|
|
|
789
772
|
}
|
|
790
773
|
}, F = () => {
|
|
791
774
|
q((e) => ({
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
775
|
+
83739938: `${e.constants.BUTTON_WIDTH}px`,
|
|
776
|
+
13873302: `${e.constants.MAX_HEIGHT_BUTTONS_CENTER_ALIGNMENT}px`,
|
|
777
|
+
"82cc7682": `${e.constants.BUTTON_HEIGHT}px`
|
|
795
778
|
}));
|
|
796
779
|
}, G = N.setup;
|
|
797
780
|
N.setup = G ? (e, t) => (F(), G(e, t)) : F;
|
|
798
781
|
const je = { class: "twinlist" }, qe = { class: "header" }, Ye = { class: "title" }, Ze = ["title"], Xe = ["title"], Je = { class: "title" }, Qe = ["title"], $e = ["title"], et = { class: "buttons" };
|
|
799
782
|
function tt(e, t, n, s, o, l) {
|
|
800
|
-
const
|
|
801
|
-
return
|
|
802
|
-
n.showSearch ? (
|
|
783
|
+
const h = w("SearchInput"), f = w("Label"), d = w("MultiselectListBox"), S = w("ArrowNextIcon"), b = w("ArrowNextDoubleIcon"), g = w("ArrowPrevIcon"), p = w("ArrowPrevDoubleIcon"), k = w("ResizeHandle");
|
|
784
|
+
return c(), v("div", je, [
|
|
785
|
+
n.showSearch ? (c(), x(f, {
|
|
803
786
|
key: 0,
|
|
804
787
|
active: n.withSearchLabel,
|
|
805
788
|
text: n.searchLabel,
|
|
806
789
|
class: "search-wrapper"
|
|
807
790
|
}, {
|
|
808
|
-
default:
|
|
809
|
-
I(
|
|
810
|
-
id:
|
|
791
|
+
default: B(({ labelForId: u }) => [
|
|
792
|
+
I(h, {
|
|
793
|
+
id: u,
|
|
811
794
|
ref: "search",
|
|
812
795
|
placeholder: n.searchPlaceholder,
|
|
813
796
|
"model-value": s.searchTerm,
|
|
@@ -820,7 +803,7 @@ function tt(e, t, n, s, o, l) {
|
|
|
820
803
|
},
|
|
821
804
|
compact: n.compact,
|
|
822
805
|
"onUpdate:modelValue": l.onSearchInput,
|
|
823
|
-
onToggleCaseSensitiveSearch: t[0] || (t[0] = (
|
|
806
|
+
onToggleCaseSensitiveSearch: t[0] || (t[0] = (i) => s.caseSensitiveSearch = i)
|
|
824
807
|
}, null, 8, ["id", "placeholder", "model-value", "label", "initial-case-sensitive-search", "disabled", "compact", "onUpdate:modelValue"])
|
|
825
808
|
]),
|
|
826
809
|
_: 1
|
|
@@ -830,30 +813,30 @@ function tt(e, t, n, s, o, l) {
|
|
|
830
813
|
r("div", {
|
|
831
814
|
class: "label",
|
|
832
815
|
title: n.leftLabel
|
|
833
|
-
},
|
|
834
|
-
s.excludedLabels ? (
|
|
816
|
+
}, M(n.leftLabel), 9, Ze),
|
|
817
|
+
s.excludedLabels ? (c(), v("div", {
|
|
835
818
|
key: 0,
|
|
836
819
|
title: s.excludedLabels,
|
|
837
820
|
class: "info"
|
|
838
|
-
},
|
|
821
|
+
}, M(s.excludedLabels), 9, Xe)) : y("", !0)
|
|
839
822
|
]),
|
|
840
823
|
t[9] || (t[9] = r("div", { class: "space" }, null, -1)),
|
|
841
824
|
r("div", Je, [
|
|
842
825
|
r("div", {
|
|
843
826
|
class: "label",
|
|
844
827
|
title: n.rightLabel
|
|
845
|
-
},
|
|
846
|
-
s.includedLabels ? (
|
|
828
|
+
}, M(n.rightLabel), 9, Qe),
|
|
829
|
+
s.includedLabels ? (c(), v("div", {
|
|
847
830
|
key: 0,
|
|
848
831
|
title: s.includedLabels,
|
|
849
832
|
class: "info"
|
|
850
|
-
},
|
|
833
|
+
}, M(s.includedLabels), 9, $e)) : y("", !0)
|
|
851
834
|
])
|
|
852
835
|
]),
|
|
853
836
|
r("div", {
|
|
854
|
-
class:
|
|
837
|
+
class: L(["lists", { disabled: n.disabled }])
|
|
855
838
|
}, [
|
|
856
|
-
I(
|
|
839
|
+
I(d, {
|
|
857
840
|
ref: "left",
|
|
858
841
|
"with-is-empty-state": n.showEmptyState,
|
|
859
842
|
"empty-state-label": n.emptyStateLabel,
|
|
@@ -876,48 +859,48 @@ function tt(e, t, n, s, o, l) {
|
|
|
876
859
|
r("div", et, [
|
|
877
860
|
r("div", {
|
|
878
861
|
ref: "moveRight",
|
|
879
|
-
class:
|
|
862
|
+
class: L({ disabled: l.moveRightButtonDisabled || n.disabled }),
|
|
880
863
|
role: "button",
|
|
881
864
|
tabindex: "0",
|
|
882
|
-
onClick: t[1] || (t[1] = (...
|
|
883
|
-
onKeydown: t[2] || (t[2] = (...
|
|
865
|
+
onClick: t[1] || (t[1] = (...u) => l.onMoveRightButtonClick && l.onMoveRightButtonClick(...u)),
|
|
866
|
+
onKeydown: t[2] || (t[2] = (...u) => l.onMoveRightButtonKey && l.onMoveRightButtonKey(...u))
|
|
884
867
|
}, [
|
|
885
868
|
I(S, { class: "icon" })
|
|
886
869
|
], 34),
|
|
887
870
|
r("div", {
|
|
888
871
|
ref: "moveAllRight",
|
|
889
|
-
class:
|
|
872
|
+
class: L({ disabled: l.moveAllRightButtonDisabled || n.disabled }),
|
|
890
873
|
role: "button",
|
|
891
874
|
tabindex: "0",
|
|
892
|
-
onClick: t[3] || (t[3] = (...
|
|
893
|
-
onKeydown: t[4] || (t[4] = (...
|
|
875
|
+
onClick: t[3] || (t[3] = (...u) => l.onMoveAllRightButtonClick && l.onMoveAllRightButtonClick(...u)),
|
|
876
|
+
onKeydown: t[4] || (t[4] = (...u) => l.onMoveAllRightButtonKey && l.onMoveAllRightButtonKey(...u))
|
|
894
877
|
}, [
|
|
895
878
|
I(b, { class: "icon" })
|
|
896
879
|
], 34),
|
|
897
880
|
r("div", {
|
|
898
881
|
ref: "moveLeft",
|
|
899
|
-
class:
|
|
882
|
+
class: L({ disabled: l.moveLeftButtonDisabled || n.disabled }),
|
|
900
883
|
role: "button",
|
|
901
884
|
tabindex: "0",
|
|
902
|
-
onClick: t[5] || (t[5] = (...
|
|
903
|
-
onKeydown: t[6] || (t[6] = (...
|
|
885
|
+
onClick: t[5] || (t[5] = (...u) => l.onMoveLeftButtonClick && l.onMoveLeftButtonClick(...u)),
|
|
886
|
+
onKeydown: t[6] || (t[6] = (...u) => l.onMoveLeftButtonKey && l.onMoveLeftButtonKey(...u))
|
|
904
887
|
}, [
|
|
905
888
|
I(g, { class: "icon" })
|
|
906
889
|
], 34),
|
|
907
890
|
r("div", {
|
|
908
891
|
ref: "moveAllLeft",
|
|
909
|
-
class:
|
|
892
|
+
class: L({ disabled: l.moveAllLeftButtonDisabled || n.disabled }),
|
|
910
893
|
role: "button",
|
|
911
894
|
tabindex: "0",
|
|
912
|
-
onClick: t[7] || (t[7] = (...
|
|
913
|
-
onKeydown: t[8] || (t[8] = (...
|
|
895
|
+
onClick: t[7] || (t[7] = (...u) => l.onMoveAllLeftButtonClick && l.onMoveAllLeftButtonClick(...u)),
|
|
896
|
+
onKeydown: t[8] || (t[8] = (...u) => l.onMoveAllLeftButtonKey && l.onMoveAllLeftButtonKey(...u))
|
|
914
897
|
}, [
|
|
915
898
|
I(p, { class: "icon" })
|
|
916
899
|
], 34)
|
|
917
900
|
]),
|
|
918
|
-
I(
|
|
901
|
+
I(d, {
|
|
919
902
|
ref: "right",
|
|
920
|
-
class:
|
|
903
|
+
class: L(["list-box", { "with-empty-state-icon": n.emptyStateComponent }]),
|
|
921
904
|
"model-value": o.rightSelected,
|
|
922
905
|
"with-bottom-value": s.showUnknownIncludedValues,
|
|
923
906
|
"bottom-value": { id: o.unknownValuesId, text: n.unknownValuesText },
|
|
@@ -935,7 +918,7 @@ function tt(e, t, n, s, o, l) {
|
|
|
935
918
|
"onUpdate:modelValue": l.onRightInput
|
|
936
919
|
}, 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"])
|
|
937
920
|
], 2),
|
|
938
|
-
n.showResizeHandle ? (
|
|
921
|
+
n.showResizeHandle ? (c(), x(k, {
|
|
939
922
|
key: 1,
|
|
940
923
|
"number-of-handles": 2,
|
|
941
924
|
"handle-width": o.constants.RESIZE_HANDLE_WIDTH,
|
|
@@ -946,15 +929,15 @@ function tt(e, t, n, s, o, l) {
|
|
|
946
929
|
}, null, 8, ["handle-width", "multiple-handles-handle-gap", "onResizeMove", "onResizeEnd"])) : y("", !0)
|
|
947
930
|
]);
|
|
948
931
|
}
|
|
949
|
-
const mt = /* @__PURE__ */
|
|
932
|
+
const mt = /* @__PURE__ */ T(N, [["render", tt], ["__scopeId", "data-v-96efc6ba"]]), nt = { class: "info" }, lt = /* @__PURE__ */ j({
|
|
950
933
|
__name: "TwinlistLoadingInfo",
|
|
951
934
|
setup(e) {
|
|
952
|
-
return (t, n) => (
|
|
935
|
+
return (t, n) => (c(), v("div", nt, [
|
|
953
936
|
n[0] || (n[0] = r("span", null, "Loading...", -1)),
|
|
954
|
-
I(
|
|
937
|
+
I(z(de), { class: "icon" })
|
|
955
938
|
]));
|
|
956
939
|
}
|
|
957
|
-
}), vt = /* @__PURE__ */
|
|
940
|
+
}), vt = /* @__PURE__ */ T(lt, [["__scopeId", "data-v-52b0b5dd"]]);
|
|
958
941
|
export {
|
|
959
942
|
xe as S,
|
|
960
943
|
vt as T,
|