@knime/jsonforms 1.21.0 → 1.21.2

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.
Files changed (107) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +6 -0
  3. package/dist/AnyOfTwinlist-BaKgX8A7.js +22 -0
  4. package/dist/{Checkbox-uBRF2ZKG.js → Checkbox-BnKpZFTE.js} +1 -1
  5. package/dist/{CheckboxControl-B9Sd2LLd.js → CheckboxControl-5w7zlrdd.js} +1 -1
  6. package/dist/{CheckboxesControl-CTaoagZv.js → CheckboxesControl-0al-vEKC.js} +2 -2
  7. package/dist/{ColorControl-DxCjpcHn.js → ColorControl-Dzp0Qztx.js} +1 -1
  8. package/dist/{ColorPreviewControl-C7MmFIpq.js → ColorPreviewControl-DD9oq2kB.js} +5 -5
  9. package/dist/{ComboBoxControl-CV4SCOo7.js → ComboBoxControl-BOoPDajP.js} +14 -15
  10. package/dist/{DateControl-9d_SPymX.js → DateControl-BqYwfkTb.js} +1 -1
  11. package/dist/{DateTimeControl-nxVjz31-.js → DateTimeControl-CNkPjqie.js} +1 -1
  12. package/dist/{DateTimeFormatPickerControl-CMgXr7tA.js → DateTimeFormatPickerControl-BawKiO92.js} +1 -1
  13. package/dist/DateTimeFormatPickerWithTypeControl-BZhGNGGy.js +464 -0
  14. package/dist/{DropdownControl-BXbRH5G-.js → DropdownControl-C5dZUtMO.js} +2 -2
  15. package/dist/{ExecutorCoresControl-B04lAS0W.js → ExecutorCoresControl-D_f2Ii7P.js} +2 -2
  16. package/dist/{ExecutorMemoryControl-CraHGxVJ.js → ExecutorMemoryControl-Bi5ddlwR.js} +2 -2
  17. package/dist/FileUploadControl-Bpc7-Tjx.js +210 -0
  18. package/dist/{GridSelectionControl-Cqrr0vTk.js → GridSelectionControl-DS8kT_Nx.js} +17 -17
  19. package/dist/{HorizontalLayout-BRxOESz6.js → HorizontalLayout-CIcEcUaB.js} +1 -1
  20. package/dist/{IntegerControl-BG7i8ix-.js → IntegerControl-CNd2Zml6.js} +1 -1
  21. package/dist/{IntervalControl-YdZin9Wi.js → IntervalControl-BPiRezHq.js} +11 -11
  22. package/dist/{LinkControl-Ntwn3ko5.js → LinkControl-Bp2h1jSd.js} +3 -3
  23. package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-CiYSPKlk.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-BRmvlIKr.js} +5 -5
  24. package/dist/ManualTwinlistControl-Dtx1Qiz7.js +72 -0
  25. package/dist/{MultiselectListBox-DE0QC--O.js → MultiSelectListBoxControl-DXLGhCNi.js} +103 -78
  26. package/dist/MultimodeTwinlistControl-CKRsC015.js +4 -0
  27. package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CV2htSnA.js +157 -0
  28. package/dist/{NameFilter-dUTC31qA.js → NameFilter-BGJOxdjr.js} +4 -4
  29. package/dist/{NumberControl-Bi9ixtTO.js → NumberControl-B05C6ECd.js} +1 -1
  30. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-BkEh0Ykh.js → NumberControlBase.vue_vue_type_script_setup_true_lang-B64ImWmo.js} +2 -2
  31. package/dist/{OneOfDropdown-BR4WCua4.js → OneOfDropdown-DFr8wkfK.js} +4 -4
  32. package/dist/{RadioButtonsWithDescriptionControl-C69ZDGN4.js → RadioButtonsWithDescriptionControl-FxnrFURa.js} +1 -1
  33. package/dist/{RadioControl-DnF-ishb.js → RadioControl-B3Wse8Ra.js} +2 -2
  34. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-DvfaMgRR.js → RadioControlBase.vue_vue_type_script_setup_true_lang-B6fvhFpH.js} +2 -2
  35. package/dist/{ResourceControlBase-OgchIcbA.js → ResourceControlBase-CS-UW4Kt.js} +2 -2
  36. package/dist/{RichTextControl-sy7UyTn8.js → RichTextControl-BYuWpXlC.js} +1629 -1489
  37. package/dist/{SectionHeading-Dfcyl0Yz.js → SectionHeading-DH9g1jBv.js} +1 -1
  38. package/dist/{SectionLayout-CqIHiM2R.js → SectionLayout-DrSBiXd-.js} +3 -3
  39. package/dist/SettingsSubPanel-CZu70rLw.js +5 -0
  40. package/dist/{SettingsSubPanelLayout-DNEqHncD.js → SettingsSubPanelLayout-CR7zIFEo.js} +7 -7
  41. package/dist/{SimpleButtonControl-BKV86mQ0.js → SimpleButtonControl-B2fHLn6i.js} +8 -8
  42. package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-CwE6CdU-.js +28169 -0
  43. package/dist/SimpleTwinlistControl-BeebhKhJ.js +22 -0
  44. package/dist/{SingleSelectControl-CMEjgiNY.js → SingleSelectControl-W6KYjtSP.js} +2 -2
  45. package/dist/{SingleSelectListBoxControl-zUEWoGd8.js → SingleSelectListBoxControl-Cp_vbfKc.js} +3 -3
  46. package/dist/SortListControl-b3lDXyoN.js +103 -0
  47. package/dist/{StyledListItem-Dmiasg50.js → StyledListItem-B97G9CDY.js} +1 -1
  48. package/dist/{TeamAndSpacesControl-2B_pTWqM.js → TeamAndSpacesControl-BaOQSDum.js} +1 -1
  49. package/dist/{TeamResourceControl-BFCZeFBI.js → TeamResourceControl-DdB1fE3C.js} +2 -2
  50. package/dist/{TextAreaControl-DWtOmv7O.js → TextAreaControl-CVRPcJt8.js} +1 -1
  51. package/dist/{TextControl-DwAc1Lgx.js → TextControl-BqJncTor.js} +1 -1
  52. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-BvSRuAqp.js → TextControl.vue_vue_type_script_setup_true_lang-C-5QWuaO.js} +2 -2
  53. package/dist/{TimeControl-n4lsWwMk.js → TimeControl-DvCOb5wo.js} +1 -1
  54. package/dist/{TimePartInput-DTxykHkb.js → TimePartInput-DGfV6WeZ.js} +1 -1
  55. package/dist/{TimeframesControl-CPnnV-IY.js → TimeframesControl-7oW8Nb-d.js} +2 -2
  56. package/dist/{Tooltip-CQD85sdp.js → Tooltip-ZO6iIct2.js} +1 -1
  57. package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-Ck66siqL.js +42 -0
  58. package/dist/{TypedStringFilter-7TKnShae.js → TypedStringFilter-cQS5GH50.js} +8 -9
  59. package/dist/{ValueSwitch-BuQf-fpg.js → ValueSwitch-BXc_PE8P.js} +6 -6
  60. package/dist/{ValueSwitchControl-DUWpTxo1.js → ValueSwitchControl-CZStDbmJ.js} +1 -1
  61. package/dist/{VerticalLayout-BR0nc-T3.js → VerticalLayout-BsGmnjxN.js} +2 -2
  62. package/dist/{VerticalLayoutBase-BmUvz2xm.js → VerticalLayoutBase-CEM6gzmm.js} +1 -1
  63. package/dist/{ZonedDateTimeControl-4Zlm92zJ.js → ZonedDateTimeControl-BrhYGJwr.js} +2 -2
  64. package/dist/{_Uint8Array-CgOaNCk1.js → _Uint8Array-DDNG27um.js} +14 -14
  65. package/dist/{_baseIteratee-B7GNekaD.js → _baseIteratee-CpLcQZ3B.js} +9 -9
  66. package/dist/knime-jsonforms.css +1 -1
  67. package/dist/knime-jsonforms.js +113 -102
  68. package/dist/{localTimeUtils-GW01Jwt9.js → localTimeUtils-DA3ktTUE.js} +1671 -1579
  69. package/dist/{popper-D54JdmBM.js → popper-70nckCW_.js} +53 -53
  70. package/dist/src/renderers/defaultRenderers.d.ts +1 -930
  71. package/dist/src/renderers/sortListRenderer.d.ts +1 -930
  72. package/dist/src/uiComponents/SortListControl.vue.d.ts +2 -918
  73. package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +1 -1
  74. package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +2 -2
  75. package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +2 -8
  76. package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +1 -1
  77. package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +1 -1
  78. package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +2 -5
  79. package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +1 -1
  80. package/dist/src/uiComponents/twinlist/toKdsPossibleValues.d.ts +9 -0
  81. package/dist/testing.js +2 -2
  82. package/dist/toKdsPossibleValues-BklBg3gG.js +14 -0
  83. package/dist/{toString-EJiXsCqP.js → toString-N4qKgUAY.js} +1 -1
  84. package/dist/{useBuiltinValidations-C-jX-GU7.js → useBuiltinValidations-C3nXdk7R.js} +1 -1
  85. package/dist/{usePossibleValues-CdNvUspy.js → usePossibleValues-CdZtv_zD.js} +1 -1
  86. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-De2_vatY.js → useUnknownValuesInTwinlist-BANpCttu.js} +6 -7
  87. package/package.json +5 -5
  88. package/dist/AnyOfTwinlist-BXOiwhPe.js +0 -22
  89. package/dist/DateTimeFormatPickerWithTypeControl-TpmjEZVL.js +0 -442
  90. package/dist/FileUploadControl-D3Awi7rK.js +0 -197
  91. package/dist/InputField-BPW3gcOb.js +0 -148
  92. package/dist/LoadingIcon-DWlZH7u-.js +0 -29
  93. package/dist/ManualTwinlistControl-Ag2U5qFU.js +0 -79
  94. package/dist/MultiSelectListBoxControl-yIxxGB8U.js +0 -31
  95. package/dist/MultimodeTwinlistControl-Cx8g1mbI.js +0 -598
  96. package/dist/SettingsSubPanel-B5IVsvuc.js +0 -5
  97. package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-D4snRy74.js +0 -26292
  98. package/dist/SimpleTwinlistControl-5zMN3nHL.js +0 -25
  99. package/dist/SortListControl-Rh42JVSy.js +0 -389
  100. package/dist/TwinlistControlBase-DpODIPuw.js +0 -57
  101. package/dist/TwinlistLoadingInfo-BwuYp151.js +0 -956
  102. package/dist/_baseAssignValue-DAm2gl_N.js +0 -19
  103. package/dist/_baseEach-CpynTt09.js +0 -30
  104. package/dist/createMissingItem-B00Kg95q.js +0 -4
  105. package/dist/navigator-e30QQMkl.js +0 -4
  106. package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +0 -2
  107. package/dist/useSearch-hpyYQ_6y.js +0 -74
@@ -1,956 +0,0 @@
1
- import { openBlock as u, createElementBlock as v, createElementVNode as r, computed as a, nextTick as te, resolveComponent as w, createBlock as x, normalizeClass as L, withCtx as k, createVNode as I, createCommentVNode as y, renderSlot as N, defineComponent as Z, useCssVars as X, ref as E, normalizeStyle as D, Fragment as ne, renderList as le, unref as H, toRef as O, toDisplayString as R, normalizeProps as P, guardReactiveProps as K } from "vue";
2
- import { N as se } from "./arrow-next-BQULX8HT.js";
3
- import { u as W } from "./useSearch-hpyYQ_6y.js";
4
- import { C as oe, a4 as ie, _ as T, N as ae, a5 as ue } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-D4snRy74.js";
5
- import { M as ce } from "./MultiselectListBox-DE0QC--O.js";
6
- import { C as de } from "./close-CwP2mh9x.js";
7
- import { I as re } from "./InputField-BPW3gcOb.js";
8
- import { c as F } from "./createMissingItem-B00Kg95q.js";
9
- import { L as he } from "./LoadingIcon-DWlZH7u-.js";
10
- const me = {
11
- xmlns: "http://www.w3.org/2000/svg",
12
- fill: "none",
13
- stroke: "#000",
14
- "stroke-linejoin": "round",
15
- viewBox: "0 0 32 32"
16
- };
17
- function ve(e, t) {
18
- return u(), v("svg", me, [...t[0] || (t[0] = [
19
- r("circle", {
20
- cx: "13.2",
21
- cy: "13.2",
22
- r: "10"
23
- }, null, -1),
24
- r("path", { d: "m20.2 20.2 8.6 8.6" }, null, -1)
25
- ])]);
26
- }
27
- const fe = { render: ve }, we = {
28
- xmlns: "http://www.w3.org/2000/svg",
29
- fill: "none",
30
- stroke: "#000",
31
- "stroke-linejoin": "round",
32
- viewBox: "0 0 32 32"
33
- };
34
- function ge(e, t) {
35
- return u(), v("svg", we, [...t[0] || (t[0] = [
36
- r("path", { d: "m21.5 27-11-11 11-11" }, null, -1)
37
- ])]);
38
- }
39
- const be = { render: ge };
40
- var Se = "Expected a function";
41
- function Ie(e, t, n) {
42
- var s = !0, o = !0;
43
- if (typeof e != "function")
44
- throw new TypeError(Se);
45
- return oe(n) && (s = "leading" in n ? !!n.leading : s, o = "trailing" in n ? !!n.trailing : o), ie(e, t, {
46
- leading: s,
47
- maxWait: t,
48
- trailing: o
49
- });
50
- }
51
- const j = (e, t, n) => {
52
- const s = a(() => !e.value || e.value.length === 0 ? 0 : e.value.length), o = a(() => 0);
53
- return ((h, f, c) => `${h} of ${f} entries`)(
54
- s.value,
55
- t,
56
- o.value
57
- );
58
- }, pe = {
59
- xmlns: "http://www.w3.org/2000/svg",
60
- fill: "none",
61
- stroke: "#000",
62
- "stroke-linejoin": "round",
63
- viewBox: "0 0 32 32"
64
- };
65
- function _e(e, t) {
66
- return u(), v("svg", pe, [...t[0] || (t[0] = [
67
- 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)
68
- ])]);
69
- }
70
- const ye = { render: _e }, Le = {
71
- xmlns: "http://www.w3.org/2000/svg",
72
- fill: "none",
73
- stroke: "#000",
74
- "stroke-linejoin": "round",
75
- viewBox: "0 0 32 32"
76
- };
77
- function ke(e, t) {
78
- return u(), v("svg", Le, [...t[0] || (t[0] = [
79
- r("path", {
80
- fill: "#000",
81
- stroke: "none",
82
- 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",
83
- class: "text"
84
- }, null, -1)
85
- ])]);
86
- }
87
- const Be = { render: ke }, xe = {
88
- clear: "Clear",
89
- inverseSearch: "Exclude results that match query",
90
- caseSensitive: "Toggle case sensitivity"
91
- }, Ve = {
92
- name: "SearchInput",
93
- components: {
94
- InputField: re,
95
- FunctionButton: ae,
96
- CloseIcon: de,
97
- LensIcon: fe,
98
- InverseSearchIcon: ye,
99
- UpperLowerCaseIcon: Be
100
- },
101
- props: {
102
- id: {
103
- type: String,
104
- default: null
105
- },
106
- name: {
107
- type: String,
108
- default: null
109
- },
110
- modelValue: {
111
- type: String,
112
- default: ""
113
- },
114
- placeholder: {
115
- type: String,
116
- // A pseudo-placeholder to allow hiding the clear-button without any input
117
- default: " "
118
- },
119
- initialCaseSensitiveSearch: {
120
- default: !1,
121
- type: Boolean
122
- },
123
- initialInverseSearch: {
124
- default: !1,
125
- type: Boolean
126
- },
127
- showCaseSensitiveSearchButton: {
128
- default: !1,
129
- type: Boolean
130
- },
131
- showInverseSearchButton: {
132
- default: !1,
133
- type: Boolean
134
- },
135
- autofocus: {
136
- default: !1,
137
- type: Boolean
138
- },
139
- disabled: {
140
- default: !1,
141
- type: Boolean
142
- },
143
- tooltips: {
144
- type: Object,
145
- default: () => ({})
146
- },
147
- focusOnMount: {
148
- type: Boolean,
149
- default: !1
150
- },
151
- ariaActivedescendant: {
152
- type: String,
153
- default: null
154
- },
155
- ariaOwns: {
156
- type: String,
157
- default: null
158
- },
159
- compact: {
160
- type: Boolean,
161
- default: !1
162
- }
163
- },
164
- emits: [
165
- "clear",
166
- "update:modelValue",
167
- "toggle-case-sensitive-search",
168
- "toggle-inverse-search",
169
- "focus"
170
- ],
171
- expose: ["focus"],
172
- data() {
173
- return {
174
- caseSensitiveSearch: this.initialCaseSensitiveSearch,
175
- inverseSearch: this.initialInverseSearch
176
- };
177
- },
178
- computed: {
179
- showClearButton() {
180
- return !this.disabled && this.modelValue !== "";
181
- },
182
- showSpacer() {
183
- return this.showClearButton && (this.showCaseSensitiveSearchButton || this.showInverseSearchButton);
184
- },
185
- tooltipsWithDefaults() {
186
- return { ...xe, ...this.tooltips };
187
- }
188
- },
189
- async mounted() {
190
- this.focusOnMount && (await te(), this.focus());
191
- },
192
- methods: {
193
- clearSearch() {
194
- this.$emit("clear"), this.$emit("update:modelValue", ""), this.focus();
195
- },
196
- toggleCaseSensitiveSearch() {
197
- this.caseSensitiveSearch = !this.caseSensitiveSearch, this.$emit("toggle-case-sensitive-search", this.caseSensitiveSearch), this.focus();
198
- },
199
- toggleInverseSearch() {
200
- this.inverseSearch = !this.inverseSearch, this.$emit("toggle-inverse-search", this.inverseSearch), this.focus();
201
- },
202
- focus() {
203
- this.$refs.searchInput.focus();
204
- }
205
- }
206
- }, Ce = {
207
- key: 0,
208
- class: "icon-slot-wrapper"
209
- }, Re = {
210
- key: 1,
211
- class: "spacer"
212
- };
213
- function Me(e, t, n, s, o, l) {
214
- const h = w("LensIcon"), f = w("CloseIcon"), c = w("FunctionButton"), S = w("UpperLowerCaseIcon"), g = w("InverseSearchIcon"), b = w("InputField");
215
- return u(), x(b, {
216
- id: n.id,
217
- ref: "searchInput",
218
- name: n.name,
219
- "model-value": n.modelValue,
220
- placeholder: n.placeholder,
221
- autofocus: n.autofocus,
222
- disabled: n.disabled,
223
- class: L(["search-input", { disabled: n.disabled }]),
224
- autocomplete: "off",
225
- "aria-owns": n.ariaOwns,
226
- "aria-activedescendant": n.ariaActivedescendant,
227
- role: "searchbox",
228
- compact: n.compact,
229
- onFocus: t[0] || (t[0] = (p) => e.$emit("focus", p)),
230
- "onUpdate:modelValue": t[1] || (t[1] = (p) => e.$emit("update:modelValue", p))
231
- }, {
232
- icon: k(() => [
233
- n.disabled ? y("", !0) : (u(), v("div", Ce, [
234
- N(e.$slots, "icon", {}, () => [
235
- I(h)
236
- ], !0)
237
- ]))
238
- ]),
239
- iconRight: k(() => [
240
- l.showClearButton ? (u(), x(c, {
241
- key: 0,
242
- class: "clear-search",
243
- compact: n.compact,
244
- title: l.tooltipsWithDefaults.clear,
245
- onClick: l.clearSearch
246
- }, {
247
- default: k(() => [
248
- I(f)
249
- ]),
250
- _: 1
251
- }, 8, ["compact", "title", "onClick"])) : y("", !0),
252
- l.showSpacer ? (u(), v("span", Re)) : y("", !0),
253
- !n.disabled && n.showCaseSensitiveSearchButton ? (u(), x(c, {
254
- key: 2,
255
- class: "toggle-case-sensitive-search",
256
- compact: n.compact,
257
- active: o.caseSensitiveSearch,
258
- title: l.tooltipsWithDefaults.caseSensitive,
259
- onClick: l.toggleCaseSensitiveSearch
260
- }, {
261
- default: k(() => [
262
- I(S)
263
- ]),
264
- _: 1
265
- }, 8, ["compact", "active", "title", "onClick"])) : y("", !0),
266
- !n.disabled && n.showInverseSearchButton ? (u(), x(c, {
267
- key: 3,
268
- class: "toggle-inverse-search",
269
- compact: n.compact,
270
- title: l.tooltipsWithDefaults.inverseSearch,
271
- active: o.inverseSearch,
272
- onClick: l.toggleInverseSearch
273
- }, {
274
- default: k(() => [
275
- I(g)
276
- ]),
277
- _: 1
278
- }, 8, ["compact", "title", "active", "onClick"])) : y("", !0)
279
- ]),
280
- _: 3
281
- }, 8, ["id", "name", "model-value", "placeholder", "autofocus", "disabled", "class", "aria-owns", "aria-activedescendant", "compact"]);
282
- }
283
- const Ee = /* @__PURE__ */ T(Ve, [["render", Me], ["__scopeId", "data-v-ba4cc83f"]]), Te = {
284
- xmlns: "http://www.w3.org/2000/svg",
285
- fill: "none",
286
- stroke: "#000",
287
- "stroke-linejoin": "round",
288
- viewBox: "0 0 32 32"
289
- };
290
- function Ae(e, t) {
291
- return u(), v("svg", Te, [...t[0] || (t[0] = [
292
- r("path", { d: "m14.8 5 11 11-11 11M6.2 5l11 11-11 11" }, null, -1)
293
- ])]);
294
- }
295
- const De = { render: Ae }, ze = {
296
- xmlns: "http://www.w3.org/2000/svg",
297
- fill: "none",
298
- stroke: "#000",
299
- "stroke-linejoin": "round",
300
- viewBox: "0 0 32 32"
301
- };
302
- function Ne(e, t) {
303
- return u(), v("svg", ze, [...t[0] || (t[0] = [
304
- r("path", { d: "m17.2 27-11-11 11-11m8.6 22-11-11 11-11" }, null, -1)
305
- ])]);
306
- }
307
- const He = { render: Ne }, Ue = 10, G = "2px", Oe = /* @__PURE__ */ Z({
308
- __name: "ResizeHandle",
309
- props: {
310
- numberOfHandles: {},
311
- handleWidth: {},
312
- connectHandlesOnResize: { type: Boolean, default: !1 },
313
- multipleHandlesHandleGap: { default: "0px" },
314
- disabled: { type: Boolean, default: !1 }
315
- },
316
- emits: ["resize-move", "resize-end"],
317
- setup(e, { emit: t }) {
318
- X((d) => ({
319
- v279576da: G
320
- }));
321
- const n = t, s = e, o = E(0), l = E(null), h = a(
322
- () => `calc(${s.handleWidth} + 2 * ${G})`
323
- ), f = a(
324
- () => s.connectHandlesOnResize && s.numberOfHandles > 1 && l.value !== null
325
- ), c = a(
326
- () => `(${s.numberOfHandles} - 1) * ${s.multipleHandlesHandleGap}`
327
- ), S = a(
328
- () => `(2 * ${s.numberOfHandles})`
329
- ), g = a(
330
- () => `(100% - ${c.value}) / ${S.value}`
331
- ), b = a(
332
- () => `calc(100% - 2 * ${g.value})`
333
- ), p = (d) => {
334
- s.disabled || (d.target.setPointerCapture(d.pointerId), d.preventDefault(), l.value = d.pointerId, o.value = d.clientY);
335
- }, B = Ie((d) => {
336
- if (l.value === d.pointerId) {
337
- const _ = d.clientY - o.value;
338
- (_ < 0 && d.offsetY <= 0 || _ > 0 && d.offsetY >= 0) && n("resize-move", _), o.value = d.clientY;
339
- }
340
- }, Ue), i = (d) => {
341
- l.value === d.pointerId && (o.value = 0, l.value = null, n("resize-end"));
342
- };
343
- return (d, _) => (u(), v("div", {
344
- class: "resize-handle-container",
345
- style: D({ gap: e.multipleHandlesHandleGap })
346
- }, [
347
- f.value ? (u(), v("div", {
348
- key: 0,
349
- class: "handle connection",
350
- style: D({ width: b.value })
351
- }, null, 4)) : y("", !0),
352
- (u(!0), v(ne, null, le(e.numberOfHandles, (V) => (u(), v("div", {
353
- key: V,
354
- class: L(["handle-container", { disabled: e.disabled }]),
355
- style: D({ width: h.value }),
356
- onPointerdown: p,
357
- onPointerup: i,
358
- onPointermove: _[0] || (_[0] = //@ts-ignore
359
- (...C) => H(B) && H(B)(...C)),
360
- onLostpointercapture: i
361
- }, [..._[1] || (_[1] = [
362
- r("div", { class: "handle" }, null, -1)
363
- ])], 38))), 128))
364
- ], 4));
365
- }
366
- }), Pe = /* @__PURE__ */ T(Oe, [["__scopeId", "data-v-dcf2ad1f"]]), M = "Enter", z = 5, J = 30, Q = 24, Ke = 4, We = 56, Fe = ["left", "right"], je = Ke * Q + 2 * We, Ge = `calc((100% - ${J}px) * 1 / 6)`, qe = (e) => {
367
- const t = a(
368
- () => e.value !== null && "includeUnknownValues" in e.value ? { withUnknownValues: e.value } : { standard: e.value }
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(
374
- () => o.value === !1
375
- ), h = a(
376
- () => o.value === !0
377
- );
378
- return {
379
- includedValues: n,
380
- excludedValues: s,
381
- showUnknownExcludedValues: l,
382
- showUnknownIncludedValues: h,
383
- getEmitValue: (c, S = (b) => b, g = (b) => b) => t.value.withUnknownValues ? {
384
- includedValues: c,
385
- excludedValues: S(s.value),
386
- includeUnknownValues: g(
387
- t.value.withUnknownValues.includeUnknownValues
388
- )
389
- } : c
390
- };
391
- }, U = {
392
- name: "Twinlist",
393
- components: {
394
- ArrowNextDoubleIcon: De,
395
- ArrowNextIcon: se,
396
- ArrowPrevDoubleIcon: He,
397
- ArrowPrevIcon: be,
398
- MultiselectListBox: ce,
399
- Label: ue,
400
- SearchInput: Ee,
401
- ResizeHandle: Pe
402
- },
403
- props: {
404
- modelValue: {
405
- type: [Object, Array, null],
406
- default: null
407
- },
408
- initialCaseSensitiveSearch: {
409
- default: !1,
410
- type: Boolean
411
- },
412
- initialSearchTerm: {
413
- type: String,
414
- required: !1,
415
- default: ""
416
- },
417
- /**
418
- * Hiding and disabling
419
- */
420
- showSearch: {
421
- default: !1,
422
- type: Boolean
423
- },
424
- disabled: {
425
- default: !1,
426
- type: Boolean
427
- },
428
- showEmptyState: {
429
- default: !0,
430
- type: Boolean
431
- },
432
- /**
433
- * Labels
434
- */
435
- leftLabel: {
436
- type: String,
437
- default: "Possible values"
438
- },
439
- rightLabel: {
440
- type: String,
441
- default: "Selected values"
442
- },
443
- withSearchLabel: {
444
- default: !1,
445
- type: Boolean
446
- },
447
- searchLabel: {
448
- type: String,
449
- required: !1,
450
- default: "Search values"
451
- },
452
- searchPlaceholder: {
453
- type: String,
454
- required: !1,
455
- default: "Search"
456
- },
457
- unknownValuesText: {
458
- type: String,
459
- required: !1,
460
- default: "Unknown values"
461
- },
462
- /**
463
- * Is only used when emptyStateComponent is null
464
- */
465
- emptyStateLabel: {
466
- default: "No entries in this list",
467
- type: String
468
- },
469
- /**
470
- * this component is displayed centered in the middle of the box in case it is empty
471
- */
472
- emptyStateComponent: {
473
- default: null,
474
- type: Object
475
- },
476
- /**
477
- * Controls the size of the list.
478
- * Number of visible items (for others user need to scroll)
479
- * - 0 means all
480
- * - values 1 - 4 are ignored; 5 is minimum
481
- */
482
- size: {
483
- type: Number,
484
- default: 0,
485
- validator(e) {
486
- return e >= 0;
487
- }
488
- },
489
- showResizeHandle: {
490
- type: Boolean,
491
- default: !1
492
- },
493
- isValid: {
494
- default: !0,
495
- type: Boolean
496
- },
497
- /**
498
- * List of possible values. Each item must have an `id` and a `text` property
499
- * @example
500
- * [{
501
- * id: 'pdf',
502
- * text: 'PDF'
503
- * }, {
504
- * id: 'XLS',
505
- * text: 'Excel',
506
- * }]
507
- */
508
- possibleValues: {
509
- type: Array,
510
- default: () => []
511
- },
512
- compact: {
513
- type: Boolean,
514
- default: !1
515
- }
516
- },
517
- emits: [
518
- /**
519
- * This event gets emitted whenever the user changes the selection.
520
- * In case the modelValue of this Twinlist is with unknown values, the emitted value here will also be.
521
- */
522
- "update:modelValue"
523
- ],
524
- setup(e) {
525
- const {
526
- includedValues: t,
527
- excludedValues: n,
528
- showUnknownExcludedValues: s,
529
- showUnknownIncludedValues: o,
530
- getEmitValue: l
531
- } = qe(O(e, "modelValue")), h = E(e.initialSearchTerm), f = E(e.initialCaseSensitiveSearch), c = a(() => e.possibleValues.map((m) => m.id)), S = a(() => new Set(c.value)), g = a(() => t.value ? o.value ? t.value.filter(
532
- (m) => S.value.has(m)
533
- ) : t.value : null), b = a(() => Object.assign(
534
- {},
535
- ...e.possibleValues.map((m, A) => ({
536
- [m.id]: { item: m, index: A }
537
- }))
538
- )), p = a(() => g.value === null ? [] : g.value.map(
539
- (m) => b.value[m]?.item || F(m)
540
- )), B = O(e, "showSearch"), i = W(
541
- h,
542
- f,
543
- p,
544
- B
545
- ), d = a(() => {
546
- if (!n.value) {
547
- const m = new Set(t.value);
548
- return c.value.filter(
549
- (A) => !m.has(A)
550
- );
551
- }
552
- return s.value ? n.value.filter(
553
- (m) => S.value.has(m)
554
- ) : n.value;
555
- }), _ = a(() => g.value === null ? [] : d.value.map(
556
- (m) => b.value[m]?.item || F(m)
557
- )), V = W(
558
- h,
559
- f,
560
- _,
561
- B
562
- ), C = a(() => e.showSearch && h.value !== ""), $ = a(() => e.showSearch && C.value ? j(V, d.value.length) : null), ee = a(() => e.showSearch && C.value ? j(
563
- i,
564
- g.value?.length
565
- ) : null);
566
- return {
567
- includedValues: t,
568
- excludedValues: n,
569
- showUnknownExcludedValues: s,
570
- showUnknownIncludedValues: o,
571
- getEmitValue: l,
572
- searchTerm: h,
573
- filteredExcludedItems: V,
574
- filteredIncludedItems: i,
575
- knownExcludedValues: d,
576
- knownIncludedValues: g,
577
- possibleValueIds: c,
578
- possibleValueIdsSet: S,
579
- excludedLabels: $,
580
- includedLabels: ee,
581
- caseSensitiveSearch: f,
582
- allIncludedItems: p,
583
- possibleValueMap: b
584
- };
585
- },
586
- data() {
587
- return {
588
- invalidPossibleValueIds: /* @__PURE__ */ new Set(),
589
- rightSelected: [],
590
- leftSelected: [],
591
- unknownValuesId: /* @__PURE__ */ Symbol("Unknown values"),
592
- constants: Object.freeze({
593
- MIN_LIST_SIZE: z,
594
- BUTTON_HEIGHT: Q,
595
- BUTTON_WIDTH: J,
596
- RESIZE_HANDLE_WIDTH: Ge,
597
- MAX_HEIGHT_BUTTONS_CENTER_ALIGNMENT: je
598
- })
599
- };
600
- },
601
- computed: {
602
- listSize() {
603
- const e = this.size === 0 ? this.possibleValues.length : this.size;
604
- return e > z ? e : z;
605
- },
606
- moveAllRightButtonDisabled() {
607
- return this.filteredExcludedItems.length === 0 && !this.showUnknownExcludedValues;
608
- },
609
- moveRightButtonDisabled() {
610
- return this.leftSelected.length === 0;
611
- },
612
- moveAllLeftButtonDisabled() {
613
- return this.filteredIncludedItems.length === 0 && !this.showUnknownIncludedValues;
614
- },
615
- moveLeftButtonDisabled() {
616
- return this.rightSelected.length === 0;
617
- }
618
- },
619
- mounted() {
620
- this.showResizeHandle && this.getListBoxes().forEach((e) => e.initResizeHeight());
621
- },
622
- methods: {
623
- getIndex(e) {
624
- return this.possibleValueMap[e]?.index ?? -1;
625
- },
626
- compareByOriginalSorting(e, t) {
627
- return this.getIndex(e) - this.getIndex(t);
628
- },
629
- clearSelections() {
630
- this.getListBoxes().forEach((e) => e.clearSelection());
631
- },
632
- moveItems(e, {
633
- toNewIncludedValues: t,
634
- toNewExcludedValues: n
635
- }) {
636
- const s = e.filter((c) => c !== this.unknownValuesId), o = e.length > s.length, l = {
637
- knownValues: s,
638
- movingUnknownValues: o
639
- };
640
- let h = null, f = null;
641
- this.includedValues !== null && (h = t({
642
- previous: this.includedValues,
643
- movingParts: l
644
- })), this.excludedValues && (f = n({
645
- previous: this.knownExcludedValues,
646
- movingParts: l
647
- })), this.clearSelections(), this.$emit(
648
- "update:modelValue",
649
- this.getEmitValue(
650
- h,
651
- () => f,
652
- (c) => o ? !c : c
653
- )
654
- );
655
- },
656
- moveRight(e = null) {
657
- this.moveItems(e ?? this.leftSelected, {
658
- toNewIncludedValues: this.addMovedItems.bind(this),
659
- toNewExcludedValues: this.filterMovedItems.bind(this)
660
- });
661
- },
662
- moveLeft(e = null) {
663
- this.moveItems(e ?? this.rightSelected, {
664
- toNewIncludedValues: this.filterMovedItems.bind(this),
665
- toNewExcludedValues: this.addMovedItems.bind(this)
666
- });
667
- },
668
- /**
669
- * Filters out the moved items and also invalid items if unknown values are being moved.
670
- */
671
- filterMovedItems({
672
- previous: e,
673
- movingParts: { movingUnknownValues: t, knownValues: n }
674
- }) {
675
- const s = new Set(n);
676
- return e.filter(
677
- (o) => !s.has(o) && (!t || this.possibleValueIdsSet.has(o))
678
- );
679
- },
680
- /**
681
- * Adds the given items sorting by the order in the possible values afterwards and removing invalid items
682
- * if unknown values are being moved
683
- */
684
- addMovedItems({
685
- previous: e,
686
- movingParts: { movingUnknownValues: t, knownValues: n }
687
- }) {
688
- return [
689
- ...t ? e.filter((s) => this.possibleValueIdsSet.has(s)) : e,
690
- ...n.filter((s) => this.possibleValueIdsSet.has(s))
691
- ].sort(this.compareByOriginalSorting);
692
- },
693
- onMoveRightButtonClick() {
694
- this.moveRight();
695
- },
696
- onMoveAllRightButtonClick() {
697
- const e = this.filteredExcludedItems.map((t) => t.id);
698
- this.moveRight(
699
- e.concat(
700
- this.showUnknownExcludedValues ? [this.unknownValuesId] : []
701
- )
702
- );
703
- },
704
- onMoveAllRightButtonKey(e) {
705
- e.key === M && (this.onMoveAllRightButtonClick(), this.stopPropagation(e));
706
- },
707
- onMoveRightButtonKey(e) {
708
- e.key === M && (this.moveRight(), this.stopPropagation(e));
709
- },
710
- onMoveLeftButtonClick() {
711
- this.moveLeft();
712
- },
713
- onMoveAllLeftButtonClick() {
714
- const e = this.filteredIncludedItems.map((t) => t.id);
715
- this.moveLeft(
716
- e.concat(
717
- this.showUnknownIncludedValues ? [this.unknownValuesId] : []
718
- )
719
- );
720
- },
721
- onMoveLeftButtonKey(e) {
722
- e.key === M && (this.moveLeft(), this.stopPropagation(e));
723
- },
724
- onMoveAllLeftButtonKey(e) {
725
- e.key === M && (this.onMoveAllLeftButtonClick(), this.stopPropagation(e));
726
- },
727
- stopPropagation(e) {
728
- e.preventDefault(), e.stopPropagation();
729
- },
730
- onLeftListBoxDoubleClick(e) {
731
- this.moveRight([e]);
732
- },
733
- onLeftListBoxShiftDoubleClick(e) {
734
- this.moveRight(e);
735
- },
736
- onRightListBoxDoubleClick(e) {
737
- this.moveLeft([e]);
738
- },
739
- onRightListBoxShiftDoubleClick(e) {
740
- this.moveLeft(e);
741
- },
742
- onLeftInput(e) {
743
- e.length > 0 && this.$refs.right.clearSelection(), this.leftSelected = e;
744
- },
745
- onRightInput(e) {
746
- e.length > 0 && this.$refs.left.clearSelection(), this.rightSelected = e;
747
- },
748
- onSearchInput(e) {
749
- this.searchTerm = e;
750
- },
751
- hasSelection() {
752
- return (this.includedValues?.length ?? 0) > 0;
753
- },
754
- validate() {
755
- const e = !this.filteredIncludedItems.some((t) => t.invalid) && (!this.excludedValues || !this.filteredExcludedItems.some((t) => t.invalid));
756
- return {
757
- isValid: e,
758
- errorMessage: e ? null : "One or more of the selected items is invalid."
759
- };
760
- },
761
- getListBoxes() {
762
- return Fe.map(
763
- (e) => this.$refs[e]
764
- );
765
- },
766
- onResizeMove(e) {
767
- this.getListBoxes().forEach((t) => t.onResizeMove(e));
768
- },
769
- onResizeEnd() {
770
- this.getListBoxes().forEach((e) => e.onResizeEnd());
771
- }
772
- }
773
- }, q = () => {
774
- X((e) => ({
775
- v365b9e38: `${e.constants.BUTTON_WIDTH}px`,
776
- v2e4b38ff: `${e.constants.MAX_HEIGHT_BUTTONS_CENTER_ALIGNMENT}px`,
777
- v698d773f: `${e.constants.BUTTON_HEIGHT}px`
778
- }));
779
- }, Y = U.setup;
780
- U.setup = Y ? (e, t) => (q(), Y(e, t)) : q;
781
- const Ye = { class: "twinlist" }, Ze = { class: "header" }, Xe = { class: "title" }, Je = ["title"], Qe = ["title"], $e = { class: "title" }, et = ["title"], tt = ["title"], nt = { class: "buttons" };
782
- function lt(e, t, n, s, o, l) {
783
- const h = w("SearchInput"), f = w("Label"), c = w("MultiselectListBox"), S = w("ArrowNextIcon"), g = w("ArrowNextDoubleIcon"), b = w("ArrowPrevIcon"), p = w("ArrowPrevDoubleIcon"), B = w("ResizeHandle");
784
- return u(), v("div", Ye, [
785
- n.showSearch ? (u(), x(f, {
786
- key: 0,
787
- active: n.withSearchLabel,
788
- text: n.searchLabel,
789
- class: "search-wrapper"
790
- }, {
791
- default: k(({ labelForId: i }) => [
792
- I(h, {
793
- id: i,
794
- ref: "search",
795
- placeholder: n.searchPlaceholder,
796
- "model-value": s.searchTerm,
797
- label: n.searchLabel,
798
- "initial-case-sensitive-search": n.initialCaseSensitiveSearch,
799
- "show-case-sensitive-search-button": "",
800
- disabled: n.disabled,
801
- tooltips: {
802
- inverseSearch: "Move matching to other side"
803
- },
804
- compact: n.compact,
805
- "onUpdate:modelValue": l.onSearchInput,
806
- onToggleCaseSensitiveSearch: t[0] || (t[0] = (d) => s.caseSensitiveSearch = d)
807
- }, null, 8, ["id", "placeholder", "model-value", "label", "initial-case-sensitive-search", "disabled", "compact", "onUpdate:modelValue"])
808
- ]),
809
- _: 1
810
- }, 8, ["active", "text"])) : y("", !0),
811
- r("div", Ze, [
812
- r("div", Xe, [
813
- r("div", {
814
- class: "label",
815
- title: n.leftLabel
816
- }, R(n.leftLabel), 9, Je),
817
- s.excludedLabels ? (u(), v("div", {
818
- key: 0,
819
- title: s.excludedLabels,
820
- class: "info"
821
- }, R(s.excludedLabels), 9, Qe)) : y("", !0)
822
- ]),
823
- t[9] || (t[9] = r("div", { class: "space" }, null, -1)),
824
- r("div", $e, [
825
- r("div", {
826
- class: "label",
827
- title: n.rightLabel
828
- }, R(n.rightLabel), 9, et),
829
- s.includedLabels ? (u(), v("div", {
830
- key: 0,
831
- title: s.includedLabels,
832
- class: "info"
833
- }, R(s.includedLabels), 9, tt)) : y("", !0)
834
- ])
835
- ]),
836
- r("div", {
837
- class: L(["lists", { disabled: n.disabled }])
838
- }, [
839
- I(c, {
840
- ref: "left",
841
- "with-is-empty-state": n.showEmptyState,
842
- "empty-state-label": n.emptyStateLabel,
843
- "empty-state-component": n.emptyStateComponent,
844
- size: l.listSize,
845
- "min-size": o.constants.MIN_LIST_SIZE,
846
- class: "list-box",
847
- "model-value": o.leftSelected,
848
- "with-bottom-value": s.showUnknownExcludedValues,
849
- "bottom-value": { id: o.unknownValuesId, text: n.unknownValuesText },
850
- "is-valid": n.isValid,
851
- "possible-values": s.filteredExcludedItems,
852
- ariaLabel: n.leftLabel,
853
- disabled: n.disabled,
854
- onDoubleClickOnItem: l.onLeftListBoxDoubleClick,
855
- onDoubleClickShift: l.onLeftListBoxShiftDoubleClick,
856
- onKeyArrowRight: l.moveRight,
857
- "onUpdate:modelValue": l.onLeftInput
858
- }, {
859
- option: k((i) => [
860
- N(e.$slots, "option", P(K(i)), void 0, !0)
861
- ]),
862
- _: 3
863
- }, 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"]),
864
- r("div", nt, [
865
- r("div", {
866
- ref: "moveRight",
867
- class: L({ disabled: l.moveRightButtonDisabled || n.disabled }),
868
- role: "button",
869
- tabindex: "0",
870
- onClick: t[1] || (t[1] = (...i) => l.onMoveRightButtonClick && l.onMoveRightButtonClick(...i)),
871
- onKeydown: t[2] || (t[2] = (...i) => l.onMoveRightButtonKey && l.onMoveRightButtonKey(...i))
872
- }, [
873
- I(S, { class: "icon" })
874
- ], 34),
875
- r("div", {
876
- ref: "moveAllRight",
877
- class: L({ disabled: l.moveAllRightButtonDisabled || n.disabled }),
878
- role: "button",
879
- tabindex: "0",
880
- onClick: t[3] || (t[3] = (...i) => l.onMoveAllRightButtonClick && l.onMoveAllRightButtonClick(...i)),
881
- onKeydown: t[4] || (t[4] = (...i) => l.onMoveAllRightButtonKey && l.onMoveAllRightButtonKey(...i))
882
- }, [
883
- I(g, { class: "icon" })
884
- ], 34),
885
- r("div", {
886
- ref: "moveLeft",
887
- class: L({ disabled: l.moveLeftButtonDisabled || n.disabled }),
888
- role: "button",
889
- tabindex: "0",
890
- onClick: t[5] || (t[5] = (...i) => l.onMoveLeftButtonClick && l.onMoveLeftButtonClick(...i)),
891
- onKeydown: t[6] || (t[6] = (...i) => l.onMoveLeftButtonKey && l.onMoveLeftButtonKey(...i))
892
- }, [
893
- I(b, { class: "icon" })
894
- ], 34),
895
- r("div", {
896
- ref: "moveAllLeft",
897
- class: L({ disabled: l.moveAllLeftButtonDisabled || n.disabled }),
898
- role: "button",
899
- tabindex: "0",
900
- onClick: t[7] || (t[7] = (...i) => l.onMoveAllLeftButtonClick && l.onMoveAllLeftButtonClick(...i)),
901
- onKeydown: t[8] || (t[8] = (...i) => l.onMoveAllLeftButtonKey && l.onMoveAllLeftButtonKey(...i))
902
- }, [
903
- I(p, { class: "icon" })
904
- ], 34)
905
- ]),
906
- I(c, {
907
- ref: "right",
908
- class: L(["list-box", { "with-empty-state-icon": n.emptyStateComponent }]),
909
- "model-value": o.rightSelected,
910
- "with-bottom-value": s.showUnknownIncludedValues,
911
- "bottom-value": { id: o.unknownValuesId, text: n.unknownValuesText },
912
- "with-is-empty-state": n.showEmptyState,
913
- "empty-state-label": n.emptyStateLabel,
914
- "empty-state-component": n.emptyStateComponent,
915
- "possible-values": s.filteredIncludedItems,
916
- size: l.listSize,
917
- "min-size": o.constants.MIN_LIST_SIZE,
918
- ariaLabel: n.rightLabel,
919
- disabled: n.disabled,
920
- onDoubleClickOnItem: l.onRightListBoxDoubleClick,
921
- onDoubleClickShift: l.onRightListBoxShiftDoubleClick,
922
- onKeyArrowLeft: l.moveLeft,
923
- "onUpdate:modelValue": l.onRightInput
924
- }, {
925
- option: k((i) => [
926
- N(e.$slots, "option", P(K(i)), void 0, !0)
927
- ]),
928
- _: 3
929
- }, 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"])
930
- ], 2),
931
- n.showResizeHandle ? (u(), x(B, {
932
- key: 1,
933
- "number-of-handles": 2,
934
- "handle-width": o.constants.RESIZE_HANDLE_WIDTH,
935
- "connect-handles-on-resize": "",
936
- "multiple-handles-handle-gap": `${o.constants.BUTTON_WIDTH}px`,
937
- onResizeMove: l.onResizeMove,
938
- onResizeEnd: l.onResizeEnd
939
- }, null, 8, ["handle-width", "multiple-handles-handle-gap", "onResizeMove", "onResizeEnd"])) : y("", !0)
940
- ]);
941
- }
942
- const ft = /* @__PURE__ */ T(U, [["render", lt], ["__scopeId", "data-v-f35c5f48"]]), st = { class: "info" }, ot = /* @__PURE__ */ Z({
943
- __name: "TwinlistLoadingInfo",
944
- setup(e) {
945
- return (t, n) => (u(), v("div", st, [
946
- n[0] || (n[0] = r("span", null, "Loading...", -1)),
947
- I(H(he), { class: "icon" })
948
- ]));
949
- }
950
- }), wt = /* @__PURE__ */ T(ot, [["__scopeId", "data-v-60f14601"]]);
951
- export {
952
- Ee as S,
953
- wt as T,
954
- ft as a,
955
- qe as u
956
- };