@knime/jsonforms 0.1.7 → 1.0.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/README.md +71 -70
- package/dist/AnyOfTwinlist-B_ZhgekG.js +20 -0
- package/dist/BaseButton-arvXMjXG.js +112 -0
- package/dist/Button-Bc51Uur8.js +83 -0
- package/dist/Checkbox-BxPISyW3.js +75 -0
- package/dist/CheckboxControl-B-RyvD0K.js +42 -0
- package/dist/{Checkboxes-C6FkTqJJ.js → Checkboxes-COtqblKj.js} +11 -10
- package/dist/CheckboxesControl-YyKWzrxj.js +38 -0
- package/dist/ColumnFilter-bO-fKaHD.js +22 -0
- package/dist/ColumnSelect-D0vqxZ2B.js +65 -0
- package/dist/{ComboBoxControl-ZCl7sHRN.js → ComboBoxControl-CLL5eRHX.js} +127 -126
- package/dist/DateControl-v0qHckKz.js +27 -0
- package/dist/DateTimeControl-COnMFfMd.js +47 -0
- package/dist/DateTimeInput-ltP7o2TE.js +11059 -0
- package/dist/Dropdown-By1NMrXZ.js +691 -0
- package/dist/{DropdownControl-BFnea4SN.js → DropdownControl-Eb3G4P0X.js} +1 -1
- package/dist/DropdownControl.vue_vue_type_script_setup_true_lang-Cfmqdv7v.js +223 -0
- package/dist/ErrorMessage-fuIcc8xw.js +23 -0
- package/dist/FunctionButton-DBec3TQi.js +75 -0
- package/dist/HorizontalLayout-Dsv1qfyL.js +30 -0
- package/dist/InputField-BKH5rtn3.js +148 -0
- package/dist/IntegerControl-CBuOHc4B.js +18 -0
- package/dist/{IntervalControl-CsuXbPwA.js → IntervalControl-JL6QGHT2.js} +214 -216
- package/dist/{MultiselectListBox-BWKtEC8t.js → MultiselectListBox-Dv5n9S3f.js} +4 -3
- package/dist/NameFilter-oHBcHQTY.js +22 -0
- package/dist/NumberControl-Cwf50Oe-.js +18 -0
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-C_g1bVI2.js +42 -0
- package/dist/{NumberInput-84bJjfB4.js → NumberInput-DERn3NyL.js} +9 -7
- package/dist/OneOfDropdown-kY3PQFJX.js +32 -0
- package/dist/RadioControl-DsVkQLSI.js +22 -0
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BsA00YLx.js +106 -0
- package/dist/{RichTextControl-DgdPhNzf.js → RichTextControl-DXH5XiAI.js} +4595 -3481
- package/dist/SectionLayout-BDgtf57K.js +43 -0
- package/dist/SimpleButtonControl-6d7wNl3P.js +58 -0
- package/dist/SimpleTwinlistControl-CJyR3gN8.js +48 -0
- package/dist/SortListControl-On9GHu_U.js +356 -0
- package/dist/TextAreaControl-DF_pLD80.js +108 -0
- package/dist/TextControl-BTZ4ONmV.js +4 -0
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-CYfvYMWm.js +65 -0
- package/dist/{TimeControl-D07XI-Sl.js → TimeControl-D2j2e_nC.js} +122 -124
- package/dist/TwinlistControl-DcFpZrni.js +553 -0
- package/dist/{TwinlistLoadingInfo-DHKwC-WM.js → TwinlistLoadingInfo-CTVlN9EZ.js} +183 -175
- package/dist/{ValueSwitch-DXmeJXda.js → ValueSwitch-CpE1f4ie.js} +1 -1
- package/dist/ValueSwitchControl-BQFL8H6P.js +18 -0
- package/dist/VerticalLayout-D1KXulG4.js +30 -0
- package/dist/{VerticalLayoutBase-CI2PQj0c.js → VerticalLayoutBase-D-NdtOho.js} +2 -2
- package/dist/VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-BmCXzwjJ.js +13201 -0
- package/dist/_baseAssignValue-C56BMUo_.js +19 -0
- package/dist/_baseEach-1sO8_8tT.js +31 -0
- package/dist/_baseIsEqual-d71B2UwX.js +248 -0
- package/dist/_baseIteratee-BgB8cpN8.js +104 -0
- package/dist/_getTag-BiNJdVyP.js +314 -0
- package/dist/arrow-dropdown-DjUxzjqC.js +17 -0
- package/dist/close-h7XT0ja0.js +17 -0
- package/dist/floating-ui.vue.esm-CDpUY3-t.js +986 -0
- package/dist/getPossibleValuesFromUiSchema-BFJtj-id.js +40 -0
- package/dist/index-BrIvBSNK-BRWnkVln.js +685 -0
- package/dist/index-C1PjXAJX.js +17 -0
- package/dist/index-Cp7Xre_V.js +331 -0
- package/dist/isObject-B53jY8Qg.js +7 -0
- package/dist/isSymbol-DLKDpjGl.js +8 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.d.ts +2 -0
- package/dist/knime-jsonforms.js +119 -3
- package/dist/magic-string.es-DFyz70Kz.js +860 -0
- package/dist/popper-1JCni0RT.js +907 -0
- package/dist/reload-BhzcZRFp.js +17 -0
- package/dist/src/JsonFormsDialog.vue.d.ts +50 -0
- package/dist/src/constants/index.d.ts +2 -0
- package/dist/src/constants/inputFormats.d.ts +25 -0
- package/dist/src/constants/priorityRanks.d.ts +4 -0
- package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +31 -0
- package/dist/src/higherOrderComponents/control/addLabel.d.ts +6 -0
- package/dist/src/higherOrderComponents/control/controlToRenderer.d.ts +6 -0
- package/dist/src/higherOrderComponents/control/handleVisibility.d.ts +2 -0
- package/dist/src/higherOrderComponents/control/index.d.ts +7 -0
- package/dist/src/higherOrderComponents/control/types.d.ts +36 -0
- package/dist/src/higherOrderComponents/control/util.d.ts +44 -0
- package/dist/src/higherOrderComponents/index.d.ts +3 -0
- package/dist/src/higherOrderComponents/layout/handleVisibility.d.ts +2 -0
- package/dist/src/higherOrderComponents/layout/index.d.ts +4 -0
- package/dist/src/higherOrderComponents/layout/layoutToRenderer.d.ts +6 -0
- package/dist/src/higherOrderComponents/layout/types.d.ts +28 -0
- package/dist/src/higherOrderComponents/layout/util.d.ts +25 -0
- package/dist/src/higherOrderComponents/types.d.ts +25 -0
- package/dist/src/index.d.ts +9 -0
- package/dist/src/layoutComponents/Form.vue.d.ts +10 -0
- package/dist/src/layoutComponents/HorizontalLayout.vue.d.ts +12 -0
- package/dist/src/layoutComponents/SectionLayout.vue.d.ts +21 -0
- package/dist/src/layoutComponents/VerticalLayout.vue.d.ts +12 -0
- package/dist/src/layoutComponents/VerticalLayoutBase.vue.d.ts +26 -0
- package/dist/src/layoutComponents/index.d.ts +3 -0
- package/dist/src/loading/LoadingDialog.vue.d.ts +2 -0
- package/dist/src/renderers/checkboxRenderer.d.ts +192 -0
- package/dist/src/renderers/checkboxesRenderer.d.ts +7 -0
- package/dist/src/renderers/columnFilterRenderer.d.ts +5 -0
- package/dist/src/renderers/columnSelectRenderer.d.ts +209 -0
- package/dist/src/renderers/comboBoxRenderer.d.ts +6 -0
- package/dist/src/renderers/dateTimeRenderer.d.ts +5 -0
- package/dist/src/renderers/defaultRenderers.d.ts +1898 -0
- package/dist/src/renderers/dropdownRenderer.d.ts +253 -0
- package/dist/src/renderers/fallbackRenderers.d.ts +649 -0
- package/dist/src/renderers/horizontalLayoutRenderer.d.ts +48 -0
- package/dist/src/renderers/index.d.ts +1 -0
- package/dist/src/renderers/integerRenderer.d.ts +5 -0
- package/dist/src/renderers/intervalRenderer.d.ts +5 -0
- package/dist/src/renderers/localDateRenderer.d.ts +5 -0
- package/dist/src/renderers/localTimeRenderer.d.ts +5 -0
- package/dist/src/renderers/nameFilterRenderer.d.ts +5 -0
- package/dist/src/renderers/numberRenderer.d.ts +5 -0
- package/dist/src/renderers/radioRenderer.d.ts +5 -0
- package/dist/src/renderers/richTextRenderer.d.ts +5 -0
- package/dist/src/renderers/sectionLayoutRenderer.d.ts +108 -0
- package/dist/src/renderers/simpleButtonRenderer.d.ts +121 -0
- package/dist/src/renderers/sortListRenderer.d.ts +288 -0
- package/dist/src/renderers/textAreaRenderer.d.ts +5 -0
- package/dist/src/renderers/textMessageRenderer.d.ts +89 -0
- package/dist/src/renderers/textRenderer.d.ts +193 -0
- package/dist/src/renderers/twinlistRenderer.d.ts +13 -0
- package/dist/src/renderers/valueSwitchRenderer.d.ts +5 -0
- package/dist/src/renderers/verticalLayoutRenderer.d.ts +94 -0
- package/dist/src/types/ChoicesUiSchema.d.ts +21 -0
- package/dist/src/types/Control.d.ts +2 -0
- package/dist/src/types/alert.d.ts +5 -0
- package/dist/src/types/provided.d.ts +25 -0
- package/dist/src/uiComponents/CheckboxControl.vue.d.ts +22 -0
- package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/ColumnSelect.vue.d.ts +26 -0
- package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/DateControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +52 -0
- package/dist/src/uiComponents/DynamicIcon.vue.d.ts +16 -0
- package/dist/src/uiComponents/ErrorMessage.vue.d.ts +23 -0
- package/dist/src/uiComponents/IntegerControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/IntervalControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/NumberControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/NumberControlBase.vue.d.ts +19 -0
- package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +23 -0
- package/dist/src/uiComponents/RadioControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/RadioControlBase.vue.d.ts +19 -0
- package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +121 -0
- package/dist/src/uiComponents/SortListControl.vue.d.ts +93 -0
- package/dist/src/uiComponents/TextAreaControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/TextControl.vue.d.ts +23 -0
- package/dist/src/uiComponents/TextMessageControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/TimeControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/composables/useHideOnNull.d.ts +28 -0
- package/dist/src/uiComponents/composables/useProvidedState.d.ts +3 -0
- package/dist/src/uiComponents/index.d.ts +4 -0
- package/dist/src/uiComponents/loading/LoadingDropdown.vue.d.ts +12 -0
- package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +2 -0
- package/dist/src/uiComponents/loading/types/LoadingDropdownProps.d.ts +8 -0
- package/dist/src/uiComponents/richTextControl/DialogLinkModal.vue.d.ts +29 -0
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +12 -0
- package/dist/src/uiComponents/twinlist/ColumnFilter.vue.d.ts +13 -0
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +13 -0
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +109 -0
- package/dist/src/uiComponents/twinlist/TwinlistControl.vue.d.ts +67 -0
- package/dist/src/uiComponents/twinlist/useUnknownValuesInTwinlist.d.ts +19 -0
- package/dist/src/utils/getFlattenedSettings.d.ts +5 -0
- package/dist/src/utils/getPossibleValuesFromUiSchema.d.ts +10 -0
- package/dist/src/utils/index.d.ts +15 -0
- package/dist/src/utils/inject.d.ts +3 -0
- package/dist/src/utils/localTimeUtils.d.ts +16 -0
- package/dist/svgWithTitle-zrGi2kyc.js +18 -0
- package/dist/testUtils/component.d.ts +190 -0
- package/dist/testUtils/index.d.ts +2 -0
- package/dist/testUtils/renderer.d.ts +6 -0
- package/dist/testing.d.ts +2 -0
- package/dist/testing.js +18889 -0
- package/dist/toString-C9vll-oa.js +26 -0
- package/dist/useSearch-hpyYQ_6y.js +74 -0
- package/package.json +11 -7
- package/dist/AnyOfTwinlist-BAbzoFfn.js +0 -17
- package/dist/ArrayLayout-Cfdlkm_T.js +0 -487
- package/dist/ButtonControl-yAb2GdQI.js +0 -127
- package/dist/CheckboxControl-Ck45Jycu.js +0 -50
- package/dist/CheckboxesControl-Xx9tpOL6.js +0 -39
- package/dist/ColumnFilter-u7yVpuFC.js +0 -17
- package/dist/ColumnSelect-DfXHTA0Z.js +0 -60
- package/dist/CredentialsControl-D1Te47JG.js +0 -20
- package/dist/CredentialsControlBase-Dqhh-4hT.js +0 -110
- package/dist/DateControl-CuV2lKvs.js +0 -30
- package/dist/DateTimeControl-BDZ18Hzl.js +0 -4
- package/dist/DropdownControl.vue_vue_type_script_setup_true_lang-BRWvAXuk.js +0 -171
- package/dist/DynamicValuesControl-BgNPwoHm.js +0 -127
- package/dist/FileChooserControl-HX_GjlNB.js +0 -605
- package/dist/FileExplorerTab-FjmnUl9M.js +0 -3951
- package/dist/HorizontalLayout-BrHkxvnP.js +0 -39
- package/dist/IntegerControl-Dxk1Y8LA.js +0 -13
- package/dist/LayoutComponentWrapper-VvzxL4qE.js +0 -36
- package/dist/LegacyCredentialsControl-p5U7Vp0h.js +0 -62
- package/dist/LocalFileChooserControl-Cr0A0dg6.js +0 -57
- package/dist/MenuItems.vue_vue_type_style_index_0_lang-BiJVA2Wt.js +0 -464
- package/dist/NameFilter-CsfBC6e2.js +0 -17
- package/dist/NodeDialog.vue.d.ts +0 -8
- package/dist/NumberControl-BJCFqjn3.js +0 -13
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-DkAPaKAi.js +0 -43
- package/dist/OneOfDropdown-CBLlPlxh.js +0 -15
- package/dist/RadioControl-BZEV6NYx.js +0 -13
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-DvA87Y4C.js +0 -128
- package/dist/SectionLayout-DtVREvcv.js +0 -54
- package/dist/SimpleButtonControl-D2kCPiU9.js +0 -59
- package/dist/SimpleTwinlistControl-D6E8DEoD.js +0 -68
- package/dist/SortListControl-DcW5Ofs5.js +0 -316
- package/dist/TextAreaControl-DTw_oBDS.js +0 -111
- package/dist/TextControl-BlfySQDC.js +0 -49
- package/dist/TwinlistControl-BqoP2Kbq.js +0 -587
- package/dist/ValueSwitchControl-CyDbUKLv.js +0 -13
- package/dist/VennDiagramLayout-DXH6CUzc.js +0 -104
- package/dist/VerticalLayout-CTFSrGS8.js +0 -39
- package/dist/arrow-up-Dsq3EgtE.js +0 -30
- package/dist/floating-ui.vue.esm-D_FlISFP.js +0 -94
- package/dist/getFlattenedSettings-D64OwqpI.js +0 -7
- package/dist/index-1mTLieVA.js +0 -32714
- package/dist/index.d.ts +0 -3
- package/dist/layoutComponents/Form.vue.d.ts +0 -2
- package/dist/link-BA69Hfx6.js +0 -17
- package/dist/loading/LoadingDialog.vue.d.ts +0 -2
|
@@ -1,23 +1,48 @@
|
|
|
1
|
-
import { openBlock as m, createElementBlock as w, createElementVNode as v, computed as h, nextTick as
|
|
1
|
+
import { openBlock as m, createElementBlock as w, createElementVNode as v, computed as h, nextTick as ae, resolveComponent as I, createBlock as T, normalizeClass as B, withCtx as E, renderSlot as re, createVNode as p, createCommentVNode as L, defineComponent as le, useCssVars as se, ref as D, normalizeStyle as z, Fragment as ue, renderList as ce, unref as W, pushScopeId as F, popScopeId as q, toRef as Y, toDisplayString as R } from "vue";
|
|
2
2
|
import { A as de } from "./arrow-next-CvdR0-WC.js";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { u as Z } from "./useSearch-hpyYQ_6y.js";
|
|
4
|
+
import { i as O } from "./isObject-B53jY8Qg.js";
|
|
5
|
+
import { x as he, _ as N, w as fe } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-BmCXzwjJ.js";
|
|
6
|
+
import { i as me } from "./isSymbol-DLKDpjGl.js";
|
|
7
|
+
import { M as ve } from "./MultiselectListBox-Dv5n9S3f.js";
|
|
8
|
+
import { C as ge } from "./close-h7XT0ja0.js";
|
|
9
|
+
import { F as be } from "./FunctionButton-DBec3TQi.js";
|
|
10
|
+
import { I as Se } from "./InputField-BKH5rtn3.js";
|
|
5
11
|
import { c as X } from "./createMissingItem-B00Kg95q.js";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
12
|
+
import { L as we } from "./svgWithTitle-zrGi2kyc.js";
|
|
13
|
+
const _e = {
|
|
14
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
15
|
+
fill: "none",
|
|
16
|
+
stroke: "#000",
|
|
17
|
+
"stroke-linejoin": "round",
|
|
18
|
+
viewBox: "0 0 32 32"
|
|
19
|
+
}, Ie = /* @__PURE__ */ v("circle", {
|
|
20
|
+
cx: "13.2",
|
|
21
|
+
cy: "13.2",
|
|
22
|
+
r: "10"
|
|
23
|
+
}, null, -1), pe = /* @__PURE__ */ v("path", { d: "m20.2 20.2 8.6 8.6" }, null, -1), ye = [
|
|
24
|
+
Ie,
|
|
25
|
+
pe
|
|
26
|
+
];
|
|
27
|
+
function ke(e, t) {
|
|
28
|
+
return m(), w("svg", _e, [...ye]);
|
|
29
|
+
}
|
|
30
|
+
const Le = { render: ke };
|
|
31
|
+
var xe = /\s/;
|
|
32
|
+
function Ve(e) {
|
|
33
|
+
for (var t = e.length; t-- && xe.test(e.charAt(t)); )
|
|
9
34
|
;
|
|
10
35
|
return t;
|
|
11
36
|
}
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
return e && e.slice(0,
|
|
37
|
+
var Be = /^\s+/;
|
|
38
|
+
function Ce(e) {
|
|
39
|
+
return e && e.slice(0, Ve(e) + 1).replace(Be, "");
|
|
15
40
|
}
|
|
16
|
-
var J = NaN,
|
|
41
|
+
var J = NaN, Ee = /^[-+]0x[0-9a-f]+$/i, Te = /^0b[01]+$/i, Me = /^0o[0-7]+$/i, Re = parseInt;
|
|
17
42
|
function Q(e) {
|
|
18
43
|
if (typeof e == "number")
|
|
19
44
|
return e;
|
|
20
|
-
if (
|
|
45
|
+
if (me(e))
|
|
21
46
|
return J;
|
|
22
47
|
if (O(e)) {
|
|
23
48
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -25,91 +50,74 @@ function Q(e) {
|
|
|
25
50
|
}
|
|
26
51
|
if (typeof e != "string")
|
|
27
52
|
return e === 0 ? e : +e;
|
|
28
|
-
e =
|
|
29
|
-
var n =
|
|
30
|
-
return n ||
|
|
53
|
+
e = Ce(e);
|
|
54
|
+
var n = Te.test(e);
|
|
55
|
+
return n || Me.test(e) ? Re(e.slice(2), n ? 2 : 8) : Ee.test(e) ? J : +e;
|
|
31
56
|
}
|
|
32
57
|
var P = function() {
|
|
33
|
-
return
|
|
34
|
-
},
|
|
35
|
-
function
|
|
36
|
-
var s, i, l, d,
|
|
58
|
+
return he.Date.now();
|
|
59
|
+
}, Ae = "Expected a function", De = Math.max, Oe = Math.min;
|
|
60
|
+
function Ne(e, t, n) {
|
|
61
|
+
var s, i, l, d, r, o, b = 0, S = !1, g = !1, _ = !0;
|
|
37
62
|
if (typeof e != "function")
|
|
38
|
-
throw new TypeError(
|
|
39
|
-
t = Q(t) || 0, O(n) && (S = !!n.leading, g = "maxWait" in n, l = g ?
|
|
40
|
-
function y(
|
|
63
|
+
throw new TypeError(Ae);
|
|
64
|
+
t = Q(t) || 0, O(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) {
|
|
41
66
|
var V = s, M = i;
|
|
42
|
-
return s = i = void 0, b =
|
|
67
|
+
return s = i = void 0, b = a, d = e.apply(M, V), d;
|
|
43
68
|
}
|
|
44
|
-
function
|
|
45
|
-
return b =
|
|
69
|
+
function c(a) {
|
|
70
|
+
return b = a, r = setTimeout(x, t), S ? y(a) : d;
|
|
46
71
|
}
|
|
47
|
-
function
|
|
48
|
-
var V =
|
|
49
|
-
return g ?
|
|
72
|
+
function u(a) {
|
|
73
|
+
var V = a - o, M = a - b, G = t - V;
|
|
74
|
+
return g ? Oe(G, l - M) : G;
|
|
50
75
|
}
|
|
51
|
-
function k(
|
|
52
|
-
var V =
|
|
53
|
-
return
|
|
76
|
+
function k(a) {
|
|
77
|
+
var V = a - o, M = a - b;
|
|
78
|
+
return o === void 0 || V >= t || V < 0 || g && M >= l;
|
|
54
79
|
}
|
|
55
80
|
function x() {
|
|
56
|
-
var
|
|
57
|
-
if (k(
|
|
58
|
-
return C(
|
|
59
|
-
|
|
81
|
+
var a = P();
|
|
82
|
+
if (k(a))
|
|
83
|
+
return C(a);
|
|
84
|
+
r = setTimeout(x, u(a));
|
|
60
85
|
}
|
|
61
|
-
function C(
|
|
62
|
-
return
|
|
86
|
+
function C(a) {
|
|
87
|
+
return r = void 0, _ && s ? y(a) : (s = i = void 0, d);
|
|
63
88
|
}
|
|
64
|
-
function
|
|
65
|
-
|
|
89
|
+
function H() {
|
|
90
|
+
r !== void 0 && clearTimeout(r), b = 0, s = o = i = r = void 0;
|
|
66
91
|
}
|
|
67
92
|
function U() {
|
|
68
|
-
return
|
|
93
|
+
return r === void 0 ? d : C(P());
|
|
69
94
|
}
|
|
70
95
|
function f() {
|
|
71
|
-
var
|
|
72
|
-
if (s = arguments, i = this,
|
|
73
|
-
if (
|
|
74
|
-
return
|
|
96
|
+
var a = P(), V = k(a);
|
|
97
|
+
if (s = arguments, i = this, o = a, V) {
|
|
98
|
+
if (r === void 0)
|
|
99
|
+
return c(o);
|
|
75
100
|
if (g)
|
|
76
|
-
return clearTimeout(
|
|
101
|
+
return clearTimeout(r), r = setTimeout(x, t), y(o);
|
|
77
102
|
}
|
|
78
|
-
return
|
|
103
|
+
return r === void 0 && (r = setTimeout(x, t)), d;
|
|
79
104
|
}
|
|
80
|
-
return f.cancel =
|
|
105
|
+
return f.cancel = H, f.flush = U, f;
|
|
81
106
|
}
|
|
82
|
-
var
|
|
83
|
-
function
|
|
107
|
+
var He = "Expected a function";
|
|
108
|
+
function Ue(e, t, n) {
|
|
84
109
|
var s = !0, i = !0;
|
|
85
110
|
if (typeof e != "function")
|
|
86
|
-
throw new TypeError(
|
|
87
|
-
return O(n) && (s = "leading" in n ? !!n.leading : s, i = "trailing" in n ? !!n.trailing : i),
|
|
111
|
+
throw new TypeError(He);
|
|
112
|
+
return O(n) && (s = "leading" in n ? !!n.leading : s, i = "trailing" in n ? !!n.trailing : i), Ne(e, t, {
|
|
88
113
|
leading: s,
|
|
89
114
|
maxWait: t,
|
|
90
115
|
trailing: i
|
|
91
116
|
});
|
|
92
117
|
}
|
|
93
|
-
const
|
|
94
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
95
|
-
fill: "none",
|
|
96
|
-
stroke: "#000",
|
|
97
|
-
"stroke-linejoin": "round",
|
|
98
|
-
viewBox: "0 0 32 32"
|
|
99
|
-
}, De = /* @__PURE__ */ v("circle", {
|
|
100
|
-
cx: "13.2",
|
|
101
|
-
cy: "13.2",
|
|
102
|
-
r: "10"
|
|
103
|
-
}, null, -1), Oe = /* @__PURE__ */ v("path", { d: "m20.2 20.2 8.6 8.6" }, null, -1), He = [
|
|
104
|
-
De,
|
|
105
|
-
Oe
|
|
106
|
-
];
|
|
107
|
-
function Ne(e, t) {
|
|
108
|
-
return m(), w("svg", Ae, [...He]);
|
|
109
|
-
}
|
|
110
|
-
const Ue = { render: Ne }, $ = (e, t, n) => {
|
|
118
|
+
const $ = (e, t, n) => {
|
|
111
119
|
const s = h(() => !e.value || e.value.length === 0 ? 0 : e.value.length), i = h(() => 0);
|
|
112
|
-
return ((d,
|
|
120
|
+
return ((d, r, o) => `${d} of ${r} entries`)(
|
|
113
121
|
s.value,
|
|
114
122
|
t,
|
|
115
123
|
i.value
|
|
@@ -150,10 +158,10 @@ const Ze = { render: Ye }, Xe = {
|
|
|
150
158
|
}, Je = {
|
|
151
159
|
name: "SearchInput",
|
|
152
160
|
components: {
|
|
153
|
-
InputField:
|
|
154
|
-
FunctionButton:
|
|
161
|
+
InputField: Se,
|
|
162
|
+
FunctionButton: be,
|
|
155
163
|
CloseIcon: ge,
|
|
156
|
-
LensIcon:
|
|
164
|
+
LensIcon: Le,
|
|
157
165
|
InverseSearchIcon: Fe,
|
|
158
166
|
UpperLowerCaseIcon: Ze
|
|
159
167
|
},
|
|
@@ -246,7 +254,7 @@ const Ze = { render: Ye }, Xe = {
|
|
|
246
254
|
},
|
|
247
255
|
expose: ["focus"],
|
|
248
256
|
async mounted() {
|
|
249
|
-
this.focusOnMount && (await
|
|
257
|
+
this.focusOnMount && (await ae(), this.focus());
|
|
250
258
|
},
|
|
251
259
|
methods: {
|
|
252
260
|
clearSearch() {
|
|
@@ -270,8 +278,8 @@ const Ze = { render: Ye }, Xe = {
|
|
|
270
278
|
class: "spacer"
|
|
271
279
|
};
|
|
272
280
|
function et(e, t, n, s, i, l) {
|
|
273
|
-
const d = I("LensIcon"),
|
|
274
|
-
return m(),
|
|
281
|
+
const d = I("LensIcon"), r = I("CloseIcon"), o = I("FunctionButton"), b = I("UpperLowerCaseIcon"), S = I("InverseSearchIcon"), g = I("InputField");
|
|
282
|
+
return m(), T(g, {
|
|
275
283
|
id: n.id,
|
|
276
284
|
ref: "searchInput",
|
|
277
285
|
name: n.name,
|
|
@@ -288,28 +296,28 @@ function et(e, t, n, s, i, l) {
|
|
|
288
296
|
onFocus: t[0] || (t[0] = (_) => e.$emit("focus", _)),
|
|
289
297
|
"onUpdate:modelValue": t[1] || (t[1] = (_) => e.$emit("update:modelValue", _))
|
|
290
298
|
}, {
|
|
291
|
-
icon:
|
|
299
|
+
icon: E(() => [
|
|
292
300
|
n.disabled ? L("", !0) : (m(), w("div", Qe, [
|
|
293
|
-
|
|
301
|
+
re(e.$slots, "icon", {}, () => [
|
|
294
302
|
p(d)
|
|
295
303
|
], !0)
|
|
296
304
|
]))
|
|
297
305
|
]),
|
|
298
|
-
iconRight:
|
|
299
|
-
l.showClearButton ? (m(),
|
|
306
|
+
iconRight: E(() => [
|
|
307
|
+
l.showClearButton ? (m(), T(o, {
|
|
300
308
|
key: 0,
|
|
301
309
|
class: "clear-search",
|
|
302
310
|
compact: n.compact,
|
|
303
311
|
title: l.tooltipsWithDefaults.clear,
|
|
304
312
|
onClick: l.clearSearch
|
|
305
313
|
}, {
|
|
306
|
-
default:
|
|
307
|
-
p(
|
|
314
|
+
default: E(() => [
|
|
315
|
+
p(r)
|
|
308
316
|
]),
|
|
309
317
|
_: 1
|
|
310
318
|
}, 8, ["compact", "title", "onClick"])) : L("", !0),
|
|
311
319
|
l.showSpacer ? (m(), w("span", $e)) : L("", !0),
|
|
312
|
-
!n.disabled && n.showCaseSensitiveSearchButton ? (m(),
|
|
320
|
+
!n.disabled && n.showCaseSensitiveSearchButton ? (m(), T(o, {
|
|
313
321
|
key: 2,
|
|
314
322
|
class: "toggle-case-sensitive-search",
|
|
315
323
|
compact: n.compact,
|
|
@@ -317,12 +325,12 @@ function et(e, t, n, s, i, l) {
|
|
|
317
325
|
title: l.tooltipsWithDefaults.caseSensitive,
|
|
318
326
|
onClick: l.toggleCaseSensitiveSearch
|
|
319
327
|
}, {
|
|
320
|
-
default:
|
|
328
|
+
default: E(() => [
|
|
321
329
|
p(b)
|
|
322
330
|
]),
|
|
323
331
|
_: 1
|
|
324
332
|
}, 8, ["compact", "active", "title", "onClick"])) : L("", !0),
|
|
325
|
-
!n.disabled && n.showInverseSearchButton ? (m(),
|
|
333
|
+
!n.disabled && n.showInverseSearchButton ? (m(), T(o, {
|
|
326
334
|
key: 3,
|
|
327
335
|
class: "toggle-inverse-search",
|
|
328
336
|
compact: n.compact,
|
|
@@ -330,7 +338,7 @@ function et(e, t, n, s, i, l) {
|
|
|
330
338
|
active: i.inverseSearch,
|
|
331
339
|
onClick: l.toggleInverseSearch
|
|
332
340
|
}, {
|
|
333
|
-
default:
|
|
341
|
+
default: E(() => [
|
|
334
342
|
p(S)
|
|
335
343
|
]),
|
|
336
344
|
_: 1
|
|
@@ -339,7 +347,7 @@ function et(e, t, n, s, i, l) {
|
|
|
339
347
|
_: 3
|
|
340
348
|
}, 8, ["id", "name", "model-value", "placeholder", "autofocus", "disabled", "class", "aria-owns", "aria-activedescendant", "compact"]);
|
|
341
349
|
}
|
|
342
|
-
const tt = /* @__PURE__ */
|
|
350
|
+
const tt = /* @__PURE__ */ N(Je, [["render", et], ["__scopeId", "data-v-974681a3"]]), nt = {
|
|
343
351
|
xmlns: "http://www.w3.org/2000/svg",
|
|
344
352
|
fill: "none",
|
|
345
353
|
stroke: "#000",
|
|
@@ -351,19 +359,19 @@ const tt = /* @__PURE__ */ H(Je, [["render", et], ["__scopeId", "data-v-974681a3
|
|
|
351
359
|
function it(e, t) {
|
|
352
360
|
return m(), w("svg", nt, [...st]);
|
|
353
361
|
}
|
|
354
|
-
const
|
|
362
|
+
const ot = { render: it }, at = {
|
|
355
363
|
xmlns: "http://www.w3.org/2000/svg",
|
|
356
364
|
fill: "none",
|
|
357
365
|
stroke: "#000",
|
|
358
366
|
"stroke-linejoin": "round",
|
|
359
367
|
viewBox: "0 0 32 32"
|
|
360
|
-
},
|
|
361
|
-
|
|
368
|
+
}, rt = /* @__PURE__ */ v("path", { d: "m17.2 27-11-11 11-11m8.6 22-11-11 11-11" }, null, -1), ut = [
|
|
369
|
+
rt
|
|
362
370
|
];
|
|
363
|
-
function
|
|
364
|
-
return m(), w("svg",
|
|
371
|
+
function ct(e, t) {
|
|
372
|
+
return m(), w("svg", at, [...ut]);
|
|
365
373
|
}
|
|
366
|
-
const dt = { render:
|
|
374
|
+
const dt = { render: ct }, ht = {
|
|
367
375
|
xmlns: "http://www.w3.org/2000/svg",
|
|
368
376
|
fill: "none",
|
|
369
377
|
stroke: "#000",
|
|
@@ -388,64 +396,64 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
388
396
|
},
|
|
389
397
|
emits: ["resize-move", "resize-end"],
|
|
390
398
|
setup(e, { emit: t }) {
|
|
391
|
-
se((
|
|
399
|
+
se((u) => ({
|
|
392
400
|
"36bdd4ea": ee
|
|
393
401
|
}));
|
|
394
402
|
const n = t, s = e, i = D(0), l = D(null), d = h(
|
|
395
403
|
() => `calc(${s.handleWidth} + 2 * ${ee})`
|
|
396
|
-
),
|
|
404
|
+
), r = h(
|
|
397
405
|
() => s.connectHandlesOnResize && s.numberOfHandles > 1 && l.value !== null
|
|
398
|
-
),
|
|
406
|
+
), o = h(
|
|
399
407
|
() => `(${s.numberOfHandles} - 1) * ${s.multipleHandlesHandleGap}`
|
|
400
408
|
), b = h(
|
|
401
409
|
() => `(2 * ${s.numberOfHandles})`
|
|
402
410
|
), S = h(
|
|
403
|
-
() => `(100% - ${
|
|
411
|
+
() => `(100% - ${o.value}) / ${b.value}`
|
|
404
412
|
), g = h(
|
|
405
413
|
() => `calc(100% - 2 * ${S.value})`
|
|
406
|
-
), _ = (
|
|
407
|
-
s.disabled || (
|
|
408
|
-
}, y =
|
|
409
|
-
if (l.value ===
|
|
410
|
-
const k =
|
|
411
|
-
(k < 0 &&
|
|
414
|
+
), _ = (u) => {
|
|
415
|
+
s.disabled || (u.target.setPointerCapture(u.pointerId), u.preventDefault(), l.value = u.pointerId, i.value = u.clientY);
|
|
416
|
+
}, y = Ue((u) => {
|
|
417
|
+
if (l.value === u.pointerId) {
|
|
418
|
+
const k = u.clientY - i.value;
|
|
419
|
+
(k < 0 && u.offsetY <= 0 || k > 0 && u.offsetY >= 0) && n("resize-move", k), i.value = u.clientY;
|
|
412
420
|
}
|
|
413
|
-
}, _t),
|
|
414
|
-
l.value ===
|
|
421
|
+
}, _t), c = (u) => {
|
|
422
|
+
l.value === u.pointerId && (i.value = 0, l.value = null, n("resize-end"));
|
|
415
423
|
};
|
|
416
|
-
return (
|
|
424
|
+
return (u, k) => (m(), w("div", {
|
|
417
425
|
class: "resize-handle-container",
|
|
418
|
-
style: z({ gap:
|
|
426
|
+
style: z({ gap: u.multipleHandlesHandleGap })
|
|
419
427
|
}, [
|
|
420
|
-
|
|
428
|
+
r.value ? (m(), w("div", {
|
|
421
429
|
key: 0,
|
|
422
430
|
class: "handle connection",
|
|
423
431
|
style: z({ width: g.value })
|
|
424
432
|
}, null, 4)) : L("", !0),
|
|
425
|
-
(m(!0), w(
|
|
433
|
+
(m(!0), w(ue, null, ce(u.numberOfHandles, (x) => (m(), w("div", {
|
|
426
434
|
key: x,
|
|
427
|
-
class: B(["handle-container", { disabled:
|
|
435
|
+
class: B(["handle-container", { disabled: u.disabled }]),
|
|
428
436
|
style: z({ width: d.value }),
|
|
429
437
|
onPointerdown: _,
|
|
430
|
-
onPointerup:
|
|
438
|
+
onPointerup: c,
|
|
431
439
|
onPointermove: k[0] || (k[0] = //@ts-ignore
|
|
432
440
|
(...C) => W(y) && W(y)(...C)),
|
|
433
|
-
onLostpointercapture:
|
|
441
|
+
onLostpointercapture: c
|
|
434
442
|
}, wt, 38))), 128))
|
|
435
443
|
], 4));
|
|
436
444
|
}
|
|
437
|
-
}), pt = /* @__PURE__ */
|
|
445
|
+
}), pt = /* @__PURE__ */ N(It, [["__scopeId", "data-v-d36066f7"]]), A = "Enter", K = 5, ie = 30, oe = 24, yt = 4, kt = 56, Lt = ["left", "right"], xt = yt * oe + 2 * kt, Vt = `calc((100% - ${ie}px) * 1 / 6)`, Bt = (e) => {
|
|
438
446
|
const t = h(
|
|
439
447
|
() => e.value !== null && "includeUnknownValues" in e.value ? { withUnknownValues: e.value } : { standard: e.value }
|
|
440
448
|
), n = h(() => typeof t.value.standard < "u" ? t.value.standard : t.value.withUnknownValues.includedValues), s = h(
|
|
441
449
|
() => {
|
|
442
|
-
var
|
|
443
|
-
return ((
|
|
450
|
+
var o;
|
|
451
|
+
return ((o = t.value.withUnknownValues) == null ? void 0 : o.excludedValues) ?? null;
|
|
444
452
|
}
|
|
445
453
|
), i = h(
|
|
446
454
|
() => {
|
|
447
|
-
var
|
|
448
|
-
return ((
|
|
455
|
+
var o;
|
|
456
|
+
return ((o = t.value.withUnknownValues) == null ? void 0 : o.includeUnknownValues) ?? null;
|
|
449
457
|
}
|
|
450
458
|
), l = h(
|
|
451
459
|
() => i.value === !1
|
|
@@ -457,23 +465,23 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
457
465
|
excludedValues: s,
|
|
458
466
|
showUnknownExcludedValues: l,
|
|
459
467
|
showUnknownIncludedValues: d,
|
|
460
|
-
getEmitValue: (
|
|
461
|
-
includedValues:
|
|
468
|
+
getEmitValue: (o, b = (g) => g, S = (g) => g) => t.value.withUnknownValues ? {
|
|
469
|
+
includedValues: o,
|
|
462
470
|
excludedValues: b(s.value),
|
|
463
471
|
includeUnknownValues: S(
|
|
464
472
|
t.value.withUnknownValues.includeUnknownValues
|
|
465
473
|
)
|
|
466
|
-
} :
|
|
474
|
+
} : o
|
|
467
475
|
};
|
|
468
476
|
}, j = {
|
|
469
477
|
name: "Twinlist",
|
|
470
478
|
components: {
|
|
471
|
-
ArrowNextDoubleIcon:
|
|
479
|
+
ArrowNextDoubleIcon: ot,
|
|
472
480
|
ArrowNextIcon: de,
|
|
473
481
|
ArrowPrevDoubleIcon: dt,
|
|
474
482
|
ArrowPrevIcon: gt,
|
|
475
|
-
MultiselectListBox:
|
|
476
|
-
Label:
|
|
483
|
+
MultiselectListBox: ve,
|
|
484
|
+
Label: fe,
|
|
477
485
|
SearchInput: tt,
|
|
478
486
|
ResizeHandle: pt
|
|
479
487
|
},
|
|
@@ -617,47 +625,47 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
617
625
|
showUnknownExcludedValues: s,
|
|
618
626
|
showUnknownIncludedValues: i,
|
|
619
627
|
getEmitValue: l
|
|
620
|
-
} = Bt(Y(e, "modelValue")), d = D(e.initialSearchTerm),
|
|
628
|
+
} = Bt(Y(e, "modelValue")), d = D(e.initialSearchTerm), r = D(e.initialCaseSensitiveSearch), o = h(() => e.possibleValues.map((f) => f.id)), b = h(() => new Set(o.value)), S = h(() => t.value ? i.value ? t.value.filter(
|
|
621
629
|
(f) => b.value.has(f)
|
|
622
630
|
) : t.value : null), g = h(() => Object.assign(
|
|
623
631
|
{},
|
|
624
|
-
...e.possibleValues.map((f,
|
|
625
|
-
[f.id]: { item: f, index:
|
|
632
|
+
...e.possibleValues.map((f, a) => ({
|
|
633
|
+
[f.id]: { item: f, index: a }
|
|
626
634
|
}))
|
|
627
635
|
)), _ = h(() => S.value === null ? [] : S.value.map(
|
|
628
636
|
(f) => {
|
|
629
|
-
var
|
|
630
|
-
return ((
|
|
637
|
+
var a;
|
|
638
|
+
return ((a = g.value[f]) == null ? void 0 : a.item) || X(f);
|
|
631
639
|
}
|
|
632
|
-
)), y = Y(e, "showSearch"),
|
|
640
|
+
)), y = Y(e, "showSearch"), c = Z(
|
|
633
641
|
d,
|
|
634
|
-
|
|
642
|
+
r,
|
|
635
643
|
_,
|
|
636
644
|
y
|
|
637
|
-
),
|
|
645
|
+
), u = h(() => {
|
|
638
646
|
if (!n.value) {
|
|
639
647
|
const f = new Set(t.value);
|
|
640
|
-
return
|
|
641
|
-
(
|
|
648
|
+
return o.value.filter(
|
|
649
|
+
(a) => !f.has(a)
|
|
642
650
|
);
|
|
643
651
|
}
|
|
644
652
|
return s.value ? n.value.filter(
|
|
645
653
|
(f) => b.value.has(f)
|
|
646
654
|
) : n.value;
|
|
647
|
-
}), k = h(() => S.value === null ? [] :
|
|
655
|
+
}), k = h(() => S.value === null ? [] : u.value.map(
|
|
648
656
|
(f) => {
|
|
649
|
-
var
|
|
650
|
-
return ((
|
|
657
|
+
var a;
|
|
658
|
+
return ((a = g.value[f]) == null ? void 0 : a.item) || X(f);
|
|
651
659
|
}
|
|
652
660
|
)), x = Z(
|
|
653
661
|
d,
|
|
654
|
-
|
|
662
|
+
r,
|
|
655
663
|
k,
|
|
656
664
|
y
|
|
657
|
-
), C = h(() => e.showSearch && d.value !== ""),
|
|
665
|
+
), C = h(() => e.showSearch && d.value !== ""), H = h(() => e.showSearch && C.value ? $(x, u.value.length) : null), U = h(() => {
|
|
658
666
|
var f;
|
|
659
667
|
return e.showSearch && C.value ? $(
|
|
660
|
-
|
|
668
|
+
c,
|
|
661
669
|
(f = S.value) == null ? void 0 : f.length
|
|
662
670
|
) : null;
|
|
663
671
|
});
|
|
@@ -669,14 +677,14 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
669
677
|
getEmitValue: l,
|
|
670
678
|
searchTerm: d,
|
|
671
679
|
filteredExcludedItems: x,
|
|
672
|
-
filteredIncludedItems:
|
|
673
|
-
knownExcludedValues:
|
|
680
|
+
filteredIncludedItems: c,
|
|
681
|
+
knownExcludedValues: u,
|
|
674
682
|
knownIncludedValues: S,
|
|
675
|
-
possibleValueIds:
|
|
683
|
+
possibleValueIds: o,
|
|
676
684
|
possibleValueIdsSet: b,
|
|
677
|
-
excludedLabels:
|
|
685
|
+
excludedLabels: H,
|
|
678
686
|
includedLabels: U,
|
|
679
|
-
caseSensitiveSearch:
|
|
687
|
+
caseSensitiveSearch: r,
|
|
680
688
|
allIncludedItems: _,
|
|
681
689
|
possibleValueMap: g
|
|
682
690
|
};
|
|
@@ -689,7 +697,7 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
689
697
|
unknownValuesId: Symbol("Unknown values"),
|
|
690
698
|
constants: Object.freeze({
|
|
691
699
|
MIN_LIST_SIZE: K,
|
|
692
|
-
BUTTON_HEIGHT:
|
|
700
|
+
BUTTON_HEIGHT: oe,
|
|
693
701
|
BUTTON_WIDTH: ie,
|
|
694
702
|
RESIZE_HANDLE_WIDTH: Vt,
|
|
695
703
|
MAX_HEIGHT_BUTTONS_CENTER_ALIGNMENT: xt
|
|
@@ -743,23 +751,23 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
743
751
|
toNewIncludedValues: t,
|
|
744
752
|
toNewExcludedValues: n
|
|
745
753
|
}) {
|
|
746
|
-
const s = e.filter((
|
|
754
|
+
const s = e.filter((o) => o !== this.unknownValuesId), i = e.length > s.length, l = {
|
|
747
755
|
knownValues: s,
|
|
748
756
|
movingUnknownValues: i
|
|
749
757
|
};
|
|
750
|
-
let d = null,
|
|
758
|
+
let d = null, r = null;
|
|
751
759
|
this.includedValues !== null && (d = t({
|
|
752
760
|
previous: this.includedValues,
|
|
753
761
|
movingParts: l
|
|
754
|
-
})), this.excludedValues && (
|
|
762
|
+
})), this.excludedValues && (r = n({
|
|
755
763
|
previous: this.knownExcludedValues,
|
|
756
764
|
movingParts: l
|
|
757
765
|
})), this.clearSelections(), this.$emit(
|
|
758
766
|
"update:modelValue",
|
|
759
767
|
this.getEmitValue(
|
|
760
768
|
d,
|
|
761
|
-
() =>
|
|
762
|
-
(
|
|
769
|
+
() => r,
|
|
770
|
+
(o) => i ? !o : o
|
|
763
771
|
)
|
|
764
772
|
);
|
|
765
773
|
},
|
|
@@ -889,19 +897,19 @@ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e),
|
|
|
889
897
|
}));
|
|
890
898
|
}, ne = j.setup;
|
|
891
899
|
j.setup = ne ? (e, t) => (te(), ne(e, t)) : te;
|
|
892
|
-
const Ct = (e) => (F("data-v-d96daa87"), e = e(), q(), e),
|
|
900
|
+
const Ct = (e) => (F("data-v-d96daa87"), e = e(), q(), e), Et = { class: "twinlist" }, Tt = { class: "header" }, Mt = { class: "title" }, Rt = ["title"], At = ["title"], Dt = /* @__PURE__ */ Ct(() => /* @__PURE__ */ v("div", { class: "space" }, null, -1)), Ot = { class: "title" }, Nt = ["title"], Ht = ["title"], Ut = { class: "buttons" };
|
|
893
901
|
function zt(e, t, n, s, i, l) {
|
|
894
|
-
const d = I("SearchInput"),
|
|
895
|
-
return m(), w("div",
|
|
896
|
-
n.showSearch ? (m(),
|
|
902
|
+
const d = I("SearchInput"), r = I("Label"), o = I("MultiselectListBox"), b = I("ArrowNextIcon"), S = I("ArrowNextDoubleIcon"), g = I("ArrowPrevIcon"), _ = I("ArrowPrevDoubleIcon"), y = I("ResizeHandle");
|
|
903
|
+
return m(), w("div", Et, [
|
|
904
|
+
n.showSearch ? (m(), T(r, {
|
|
897
905
|
key: 0,
|
|
898
906
|
active: n.withSearchLabel,
|
|
899
907
|
text: n.searchLabel,
|
|
900
908
|
class: "search-wrapper"
|
|
901
909
|
}, {
|
|
902
|
-
default:
|
|
910
|
+
default: E(({ labelForId: c }) => [
|
|
903
911
|
p(d, {
|
|
904
|
-
id:
|
|
912
|
+
id: c,
|
|
905
913
|
ref: "search",
|
|
906
914
|
placeholder: n.searchPlaceholder,
|
|
907
915
|
"model-value": s.searchTerm,
|
|
@@ -914,12 +922,12 @@ function zt(e, t, n, s, i, l) {
|
|
|
914
922
|
},
|
|
915
923
|
compact: n.compact,
|
|
916
924
|
"onUpdate:modelValue": l.onSearchInput,
|
|
917
|
-
onToggleCaseSensitiveSearch: t[0] || (t[0] = (
|
|
925
|
+
onToggleCaseSensitiveSearch: t[0] || (t[0] = (u) => s.caseSensitiveSearch = u)
|
|
918
926
|
}, null, 8, ["id", "placeholder", "model-value", "label", "initial-case-sensitive-search", "disabled", "compact", "onUpdate:modelValue"])
|
|
919
927
|
]),
|
|
920
928
|
_: 1
|
|
921
929
|
}, 8, ["active", "text"])) : L("", !0),
|
|
922
|
-
v("div",
|
|
930
|
+
v("div", Tt, [
|
|
923
931
|
v("div", Mt, [
|
|
924
932
|
v("div", {
|
|
925
933
|
class: "label",
|
|
@@ -936,18 +944,18 @@ function zt(e, t, n, s, i, l) {
|
|
|
936
944
|
v("div", {
|
|
937
945
|
class: "label",
|
|
938
946
|
title: n.rightLabel
|
|
939
|
-
}, R(n.rightLabel), 9,
|
|
947
|
+
}, R(n.rightLabel), 9, Nt),
|
|
940
948
|
s.includedLabels ? (m(), w("div", {
|
|
941
949
|
key: 0,
|
|
942
950
|
title: s.includedLabels,
|
|
943
951
|
class: "info"
|
|
944
|
-
}, R(s.includedLabels), 9,
|
|
952
|
+
}, R(s.includedLabels), 9, Ht)) : L("", !0)
|
|
945
953
|
])
|
|
946
954
|
]),
|
|
947
955
|
v("div", {
|
|
948
956
|
class: B(["lists", { disabled: n.disabled }])
|
|
949
957
|
}, [
|
|
950
|
-
p(
|
|
958
|
+
p(o, {
|
|
951
959
|
ref: "left",
|
|
952
960
|
"with-is-empty-state": n.showEmptyState,
|
|
953
961
|
"empty-state-label": n.emptyStateLabel,
|
|
@@ -973,8 +981,8 @@ function zt(e, t, n, s, i, l) {
|
|
|
973
981
|
class: B({ disabled: l.moveRightButtonDisabled || n.disabled }),
|
|
974
982
|
role: "button",
|
|
975
983
|
tabindex: "0",
|
|
976
|
-
onClick: t[1] || (t[1] = (...
|
|
977
|
-
onKeydown: t[2] || (t[2] = (...
|
|
984
|
+
onClick: t[1] || (t[1] = (...c) => l.onMoveRightButtonClick && l.onMoveRightButtonClick(...c)),
|
|
985
|
+
onKeydown: t[2] || (t[2] = (...c) => l.onMoveRightButtonKey && l.onMoveRightButtonKey(...c))
|
|
978
986
|
}, [
|
|
979
987
|
p(b, { class: "icon" })
|
|
980
988
|
], 34),
|
|
@@ -983,8 +991,8 @@ function zt(e, t, n, s, i, l) {
|
|
|
983
991
|
class: B({ disabled: l.moveAllRightButtonDisabled || n.disabled }),
|
|
984
992
|
role: "button",
|
|
985
993
|
tabindex: "0",
|
|
986
|
-
onClick: t[3] || (t[3] = (...
|
|
987
|
-
onKeydown: t[4] || (t[4] = (...
|
|
994
|
+
onClick: t[3] || (t[3] = (...c) => l.onMoveAllRightButtonClick && l.onMoveAllRightButtonClick(...c)),
|
|
995
|
+
onKeydown: t[4] || (t[4] = (...c) => l.onMoveAllRightButtonKey && l.onMoveAllRightButtonKey(...c))
|
|
988
996
|
}, [
|
|
989
997
|
p(S, { class: "icon" })
|
|
990
998
|
], 34),
|
|
@@ -993,8 +1001,8 @@ function zt(e, t, n, s, i, l) {
|
|
|
993
1001
|
class: B({ disabled: l.moveLeftButtonDisabled || n.disabled }),
|
|
994
1002
|
role: "button",
|
|
995
1003
|
tabindex: "0",
|
|
996
|
-
onClick: t[5] || (t[5] = (...
|
|
997
|
-
onKeydown: t[6] || (t[6] = (...
|
|
1004
|
+
onClick: t[5] || (t[5] = (...c) => l.onMoveLeftButtonClick && l.onMoveLeftButtonClick(...c)),
|
|
1005
|
+
onKeydown: t[6] || (t[6] = (...c) => l.onMoveLeftButtonKey && l.onMoveLeftButtonKey(...c))
|
|
998
1006
|
}, [
|
|
999
1007
|
p(g, { class: "icon" })
|
|
1000
1008
|
], 34),
|
|
@@ -1003,13 +1011,13 @@ function zt(e, t, n, s, i, l) {
|
|
|
1003
1011
|
class: B({ disabled: l.moveAllLeftButtonDisabled || n.disabled }),
|
|
1004
1012
|
role: "button",
|
|
1005
1013
|
tabindex: "0",
|
|
1006
|
-
onClick: t[7] || (t[7] = (...
|
|
1007
|
-
onKeydown: t[8] || (t[8] = (...
|
|
1014
|
+
onClick: t[7] || (t[7] = (...c) => l.onMoveAllLeftButtonClick && l.onMoveAllLeftButtonClick(...c)),
|
|
1015
|
+
onKeydown: t[8] || (t[8] = (...c) => l.onMoveAllLeftButtonKey && l.onMoveAllLeftButtonKey(...c))
|
|
1008
1016
|
}, [
|
|
1009
1017
|
p(_, { class: "icon" })
|
|
1010
1018
|
], 34)
|
|
1011
1019
|
]),
|
|
1012
|
-
p(
|
|
1020
|
+
p(o, {
|
|
1013
1021
|
ref: "right",
|
|
1014
1022
|
class: B(["list-box", { "with-empty-state-icon": n.emptyStateComponent }]),
|
|
1015
1023
|
"model-value": i.rightSelected,
|
|
@@ -1029,7 +1037,7 @@ function zt(e, t, n, s, i, l) {
|
|
|
1029
1037
|
"onUpdate:modelValue": l.onRightInput
|
|
1030
1038
|
}, 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"])
|
|
1031
1039
|
], 2),
|
|
1032
|
-
n.showResizeHandle ? (m(),
|
|
1040
|
+
n.showResizeHandle ? (m(), T(y, {
|
|
1033
1041
|
key: 1,
|
|
1034
1042
|
"number-of-handles": 2,
|
|
1035
1043
|
"handle-width": i.constants.RESIZE_HANDLE_WIDTH,
|
|
@@ -1040,18 +1048,18 @@ function zt(e, t, n, s, i, l) {
|
|
|
1040
1048
|
}, null, 8, ["handle-width", "multiple-handles-handle-gap", "onResizeMove", "onResizeEnd"])) : L("", !0)
|
|
1041
1049
|
]);
|
|
1042
1050
|
}
|
|
1043
|
-
const
|
|
1051
|
+
const ln = /* @__PURE__ */ N(j, [["render", zt], ["__scopeId", "data-v-d96daa87"]]), Pt = (e) => (F("data-v-52b0b5dd"), e = e(), q(), e), Kt = { class: "info" }, Wt = /* @__PURE__ */ Pt(() => /* @__PURE__ */ v("span", null, "Loading...", -1)), Ft = /* @__PURE__ */ le({
|
|
1044
1052
|
__name: "TwinlistLoadingInfo",
|
|
1045
1053
|
setup(e) {
|
|
1046
1054
|
return (t, n) => (m(), w("div", Kt, [
|
|
1047
1055
|
Wt,
|
|
1048
|
-
p(W(
|
|
1056
|
+
p(W(we), { class: "icon" })
|
|
1049
1057
|
]));
|
|
1050
1058
|
}
|
|
1051
|
-
}),
|
|
1059
|
+
}), sn = /* @__PURE__ */ N(Ft, [["__scopeId", "data-v-52b0b5dd"]]);
|
|
1052
1060
|
export {
|
|
1053
1061
|
tt as S,
|
|
1054
|
-
|
|
1055
|
-
|
|
1062
|
+
ln as T,
|
|
1063
|
+
sn as a,
|
|
1056
1064
|
Bt as u
|
|
1057
1065
|
};
|