@knime/jsonforms 0.1.4

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 (67) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/LICENSE +710 -0
  3. package/README.md +125 -0
  4. package/dist/AnyOfTwinlist-GJ6LGkM1.js +17 -0
  5. package/dist/ArrayLayout-CbpSgf0X.js +487 -0
  6. package/dist/ButtonControl-CVu36jz8.js +127 -0
  7. package/dist/CheckboxControl-DYFLb-qW.js +50 -0
  8. package/dist/Checkboxes-DlhdiWWA.js +103 -0
  9. package/dist/CheckboxesControl-DYV72Aua.js +39 -0
  10. package/dist/ColumnFilter-BbweAsmq.js +17 -0
  11. package/dist/ColumnSelect-aw7cYcWC.js +60 -0
  12. package/dist/ComboBoxControl-BqVUWz4q.js +600 -0
  13. package/dist/CredentialsControl-Ci6ZEuKM.js +20 -0
  14. package/dist/CredentialsControlBase-CxYOD3ne.js +110 -0
  15. package/dist/DateControl-ZyQ_vmOW.js +30 -0
  16. package/dist/DateTimeControl-anye7xvC.js +4 -0
  17. package/dist/DropdownControl-JX1LF5Tk.js +4 -0
  18. package/dist/DropdownControl.vue_vue_type_script_setup_true_lang-B5dPfH3x.js +171 -0
  19. package/dist/DynamicValuesControl-CFubOaRb.js +127 -0
  20. package/dist/FileChooserControl-Cf_UaWqV.js +605 -0
  21. package/dist/FileExplorerTab-Ba76jD3y.js +3951 -0
  22. package/dist/HorizontalLayout-5irQmhXp.js +39 -0
  23. package/dist/IntegerControl-CqHJWRgn.js +13 -0
  24. package/dist/IntervalControl-BUhs5_lc.js +549 -0
  25. package/dist/LayoutComponentWrapper-CDw9BDq5.js +36 -0
  26. package/dist/LegacyCredentialsControl-DxRZcRVo.js +62 -0
  27. package/dist/LocalFileChooserControl-DxSeiKxg.js +57 -0
  28. package/dist/MenuItems.vue_vue_type_style_index_0_lang-qMVpH9oC.js +464 -0
  29. package/dist/MultiselectListBox-C4ZnJvJJ.js +579 -0
  30. package/dist/NameFilter-D6EI_V08.js +17 -0
  31. package/dist/NodeDialog.vue.d.ts +8 -0
  32. package/dist/NumberControl-DLo0LCsi.js +13 -0
  33. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-B69hrnY1.js +43 -0
  34. package/dist/NumberInput-BdL-jZ-i.js +219 -0
  35. package/dist/OneOfDropdown-BmbbuaZk.js +15 -0
  36. package/dist/RadioControl-GbwpOdAy.js +13 -0
  37. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BlImm9is.js +128 -0
  38. package/dist/RichTextControl-CGY3rdM7.js +16895 -0
  39. package/dist/SectionLayout-CqSFyj1K.js +54 -0
  40. package/dist/SimpleButtonControl-BgOrTGEP.js +59 -0
  41. package/dist/SimpleTwinlistControl-ByOlLGIN.js +68 -0
  42. package/dist/SortListControl-Dege54Dj.js +316 -0
  43. package/dist/TextAreaControl-CKviHabr.js +111 -0
  44. package/dist/TextControl-CPL48j4B.js +49 -0
  45. package/dist/TimeControl-CGsLRgR3.js +842 -0
  46. package/dist/TwinlistControl-C4XaH_Xc.js +587 -0
  47. package/dist/TwinlistLoadingInfo-CFlSBQXn.js +1057 -0
  48. package/dist/ValueSwitch-B9oWSkM_.js +138 -0
  49. package/dist/ValueSwitchControl-4ODpL58f.js +13 -0
  50. package/dist/VennDiagramLayout-CabCs-fX.js +104 -0
  51. package/dist/VerticalLayout-D5HeZyKY.js +39 -0
  52. package/dist/VerticalLayoutBase-C0PZ-y5d.js +20 -0
  53. package/dist/arrow-next-CvdR0-WC.js +17 -0
  54. package/dist/arrow-up-Dsq3EgtE.js +30 -0
  55. package/dist/createMissingItem-B00Kg95q.js +4 -0
  56. package/dist/floating-ui.vue.esm-CIFBDytk.js +94 -0
  57. package/dist/getFlattenedSettings-D64OwqpI.js +7 -0
  58. package/dist/index-ZDm2GXeD.js +32714 -0
  59. package/dist/index.d.ts +3 -0
  60. package/dist/knime-jsonforms.js +5 -0
  61. package/dist/layoutComponents/Form.vue.d.ts +2 -0
  62. package/dist/link-BA69Hfx6.js +17 -0
  63. package/dist/loading/LoadingDialog.vue.d.ts +2 -0
  64. package/dist/navigator-BYUFe-z3.js +8 -0
  65. package/dist/style.css +1 -0
  66. package/dist/useHideOnNull-CCfNP3O7.js +42 -0
  67. package/package.json +74 -0
@@ -0,0 +1,1057 @@
1
+ import { openBlock as m, createElementBlock as w, createElementVNode as v, computed as h, nextTick as oe, resolveComponent as I, createBlock as E, normalizeClass as B, withCtx as T, renderSlot as ue, createVNode as p, createCommentVNode as L, defineComponent as le, useCssVars as se, ref as D, normalizeStyle as z, Fragment as ce, renderList as re, unref as W, pushScopeId as F, popScopeId as q, toRef as Y, toDisplayString as R } from "vue";
2
+ import { A as de } from "./arrow-next-CvdR0-WC.js";
3
+ import { aF as he, aG as O, aH as fe, _ as H, I as me, F as ve, C as ge, g as be, aI as Z, T as Se } from "./index-ZDm2GXeD.js";
4
+ import { M as we } from "./MultiselectListBox-C4ZnJvJJ.js";
5
+ import { c as X } from "./createMissingItem-B00Kg95q.js";
6
+ var _e = /\s/;
7
+ function Ie(e) {
8
+ for (var t = e.length; t-- && _e.test(e.charAt(t)); )
9
+ ;
10
+ return t;
11
+ }
12
+ var pe = /^\s+/;
13
+ function ye(e) {
14
+ return e && e.slice(0, Ie(e) + 1).replace(pe, "");
15
+ }
16
+ var J = NaN, ke = /^[-+]0x[0-9a-f]+$/i, Le = /^0b[01]+$/i, xe = /^0o[0-7]+$/i, Ve = parseInt;
17
+ function Q(e) {
18
+ if (typeof e == "number")
19
+ return e;
20
+ if (he(e))
21
+ return J;
22
+ if (O(e)) {
23
+ var t = typeof e.valueOf == "function" ? e.valueOf() : e;
24
+ e = O(t) ? t + "" : t;
25
+ }
26
+ if (typeof e != "string")
27
+ return e === 0 ? e : +e;
28
+ e = ye(e);
29
+ var n = Le.test(e);
30
+ return n || xe.test(e) ? Ve(e.slice(2), n ? 2 : 8) : ke.test(e) ? J : +e;
31
+ }
32
+ var P = function() {
33
+ return fe.Date.now();
34
+ }, Be = "Expected a function", Ce = Math.max, Te = Math.min;
35
+ function Ee(e, t, n) {
36
+ var s, i, l, d, u, a, b = 0, S = !1, g = !1, _ = !0;
37
+ if (typeof e != "function")
38
+ throw new TypeError(Be);
39
+ t = Q(t) || 0, O(n) && (S = !!n.leading, g = "maxWait" in n, l = g ? Ce(Q(n.maxWait) || 0, t) : l, _ = "trailing" in n ? !!n.trailing : _);
40
+ function y(o) {
41
+ var V = s, M = i;
42
+ return s = i = void 0, b = o, d = e.apply(M, V), d;
43
+ }
44
+ function r(o) {
45
+ return b = o, u = setTimeout(x, t), S ? y(o) : d;
46
+ }
47
+ function c(o) {
48
+ var V = o - a, M = o - b, G = t - V;
49
+ return g ? Te(G, l - M) : G;
50
+ }
51
+ function k(o) {
52
+ var V = o - a, M = o - b;
53
+ return a === void 0 || V >= t || V < 0 || g && M >= l;
54
+ }
55
+ function x() {
56
+ var o = P();
57
+ if (k(o))
58
+ return C(o);
59
+ u = setTimeout(x, c(o));
60
+ }
61
+ function C(o) {
62
+ return u = void 0, _ && s ? y(o) : (s = i = void 0, d);
63
+ }
64
+ function N() {
65
+ u !== void 0 && clearTimeout(u), b = 0, s = a = i = u = void 0;
66
+ }
67
+ function U() {
68
+ return u === void 0 ? d : C(P());
69
+ }
70
+ function f() {
71
+ var o = P(), V = k(o);
72
+ if (s = arguments, i = this, a = o, V) {
73
+ if (u === void 0)
74
+ return r(a);
75
+ if (g)
76
+ return clearTimeout(u), u = setTimeout(x, t), y(a);
77
+ }
78
+ return u === void 0 && (u = setTimeout(x, t)), d;
79
+ }
80
+ return f.cancel = N, f.flush = U, f;
81
+ }
82
+ var Me = "Expected a function";
83
+ function Re(e, t, n) {
84
+ var s = !0, i = !0;
85
+ if (typeof e != "function")
86
+ throw new TypeError(Me);
87
+ return O(n) && (s = "leading" in n ? !!n.leading : s, i = "trailing" in n ? !!n.trailing : i), Ee(e, t, {
88
+ leading: s,
89
+ maxWait: t,
90
+ trailing: i
91
+ });
92
+ }
93
+ const Ae = {
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) => {
111
+ const s = h(() => !e.value || e.value.length === 0 ? 0 : e.value.length), i = h(() => 0);
112
+ return ((d, u, a) => `${d} of ${u} entries`)(
113
+ s.value,
114
+ t,
115
+ i.value
116
+ );
117
+ }, ze = {
118
+ xmlns: "http://www.w3.org/2000/svg",
119
+ fill: "none",
120
+ stroke: "#000",
121
+ "stroke-linejoin": "round",
122
+ viewBox: "0 0 32 32"
123
+ }, Pe = /* @__PURE__ */ v("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), Ke = [
124
+ Pe
125
+ ];
126
+ function We(e, t) {
127
+ return m(), w("svg", ze, [...Ke]);
128
+ }
129
+ const Fe = { render: We }, qe = {
130
+ xmlns: "http://www.w3.org/2000/svg",
131
+ fill: "none",
132
+ stroke: "#000",
133
+ "stroke-linejoin": "round",
134
+ viewBox: "0 0 32 32"
135
+ }, je = /* @__PURE__ */ v("path", {
136
+ fill: "#000",
137
+ stroke: "none",
138
+ 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",
139
+ class: "text"
140
+ }, null, -1), Ge = [
141
+ je
142
+ ];
143
+ function Ye(e, t) {
144
+ return m(), w("svg", qe, [...Ge]);
145
+ }
146
+ const Ze = { render: Ye }, Xe = {
147
+ clear: "Clear",
148
+ inverseSearch: "Exclude results that match query",
149
+ caseSensitive: "Toggle case sensitivity"
150
+ }, Je = {
151
+ name: "SearchInput",
152
+ components: {
153
+ InputField: me,
154
+ FunctionButton: ve,
155
+ CloseIcon: ge,
156
+ LensIcon: Ue,
157
+ InverseSearchIcon: Fe,
158
+ UpperLowerCaseIcon: Ze
159
+ },
160
+ props: {
161
+ id: {
162
+ type: String,
163
+ default: null
164
+ },
165
+ name: {
166
+ type: String,
167
+ default: null
168
+ },
169
+ modelValue: {
170
+ type: String,
171
+ default: ""
172
+ },
173
+ placeholder: {
174
+ type: String,
175
+ // A pseudo-placeholder to allow hiding the clear-button without any input
176
+ default: " "
177
+ },
178
+ initialCaseSensitiveSearch: {
179
+ default: !1,
180
+ type: Boolean
181
+ },
182
+ initialInverseSearch: {
183
+ default: !1,
184
+ type: Boolean
185
+ },
186
+ showCaseSensitiveSearchButton: {
187
+ default: !1,
188
+ type: Boolean
189
+ },
190
+ showInverseSearchButton: {
191
+ default: !1,
192
+ type: Boolean
193
+ },
194
+ autofocus: {
195
+ default: !1,
196
+ type: Boolean
197
+ },
198
+ disabled: {
199
+ default: !1,
200
+ type: Boolean
201
+ },
202
+ tooltips: {
203
+ type: Object,
204
+ default: () => ({})
205
+ },
206
+ focusOnMount: {
207
+ type: Boolean,
208
+ default: !1
209
+ },
210
+ ariaActivedescendant: {
211
+ type: String,
212
+ default: null
213
+ },
214
+ ariaOwns: {
215
+ type: String,
216
+ default: null
217
+ },
218
+ compact: {
219
+ type: Boolean,
220
+ default: !1
221
+ }
222
+ },
223
+ emits: [
224
+ "clear",
225
+ "update:modelValue",
226
+ "toggle-case-sensitive-search",
227
+ "toggle-inverse-search",
228
+ "focus"
229
+ ],
230
+ data() {
231
+ return {
232
+ caseSensitiveSearch: this.initialCaseSensitiveSearch,
233
+ inverseSearch: this.initialInverseSearch
234
+ };
235
+ },
236
+ computed: {
237
+ showClearButton() {
238
+ return !this.disabled && this.modelValue !== "";
239
+ },
240
+ showSpacer() {
241
+ return this.showClearButton && (this.showCaseSensitiveSearchButton || this.showInverseSearchButton);
242
+ },
243
+ tooltipsWithDefaults() {
244
+ return { ...Xe, ...this.tooltips };
245
+ }
246
+ },
247
+ expose: ["focus"],
248
+ async mounted() {
249
+ this.focusOnMount && (await oe(), this.focus());
250
+ },
251
+ methods: {
252
+ clearSearch() {
253
+ this.$emit("clear"), this.$emit("update:modelValue", ""), this.focus();
254
+ },
255
+ toggleCaseSensitiveSearch() {
256
+ this.caseSensitiveSearch = !this.caseSensitiveSearch, this.$emit("toggle-case-sensitive-search", this.caseSensitiveSearch), this.focus();
257
+ },
258
+ toggleInverseSearch() {
259
+ this.inverseSearch = !this.inverseSearch, this.$emit("toggle-inverse-search", this.inverseSearch), this.focus();
260
+ },
261
+ focus() {
262
+ this.$refs.searchInput.focus();
263
+ }
264
+ }
265
+ }, Qe = {
266
+ key: 0,
267
+ class: "icon-slot-wrapper"
268
+ }, $e = {
269
+ key: 1,
270
+ class: "spacer"
271
+ };
272
+ function et(e, t, n, s, i, l) {
273
+ const d = I("LensIcon"), u = I("CloseIcon"), a = I("FunctionButton"), b = I("UpperLowerCaseIcon"), S = I("InverseSearchIcon"), g = I("InputField");
274
+ return m(), E(g, {
275
+ id: n.id,
276
+ ref: "searchInput",
277
+ name: n.name,
278
+ "model-value": n.modelValue,
279
+ placeholder: n.placeholder,
280
+ autofocus: n.autofocus,
281
+ disabled: n.disabled,
282
+ class: B(["search-input", { disabled: n.disabled }]),
283
+ autocomplete: "off",
284
+ "aria-owns": n.ariaOwns,
285
+ "aria-activedescendant": n.ariaActivedescendant,
286
+ role: "searchbox",
287
+ compact: n.compact,
288
+ onFocus: t[0] || (t[0] = (_) => e.$emit("focus", _)),
289
+ "onUpdate:modelValue": t[1] || (t[1] = (_) => e.$emit("update:modelValue", _))
290
+ }, {
291
+ icon: T(() => [
292
+ n.disabled ? L("", !0) : (m(), w("div", Qe, [
293
+ ue(e.$slots, "icon", {}, () => [
294
+ p(d)
295
+ ], !0)
296
+ ]))
297
+ ]),
298
+ iconRight: T(() => [
299
+ l.showClearButton ? (m(), E(a, {
300
+ key: 0,
301
+ class: "clear-search",
302
+ compact: n.compact,
303
+ title: l.tooltipsWithDefaults.clear,
304
+ onClick: l.clearSearch
305
+ }, {
306
+ default: T(() => [
307
+ p(u)
308
+ ]),
309
+ _: 1
310
+ }, 8, ["compact", "title", "onClick"])) : L("", !0),
311
+ l.showSpacer ? (m(), w("span", $e)) : L("", !0),
312
+ !n.disabled && n.showCaseSensitiveSearchButton ? (m(), E(a, {
313
+ key: 2,
314
+ class: "toggle-case-sensitive-search",
315
+ compact: n.compact,
316
+ active: i.caseSensitiveSearch,
317
+ title: l.tooltipsWithDefaults.caseSensitive,
318
+ onClick: l.toggleCaseSensitiveSearch
319
+ }, {
320
+ default: T(() => [
321
+ p(b)
322
+ ]),
323
+ _: 1
324
+ }, 8, ["compact", "active", "title", "onClick"])) : L("", !0),
325
+ !n.disabled && n.showInverseSearchButton ? (m(), E(a, {
326
+ key: 3,
327
+ class: "toggle-inverse-search",
328
+ compact: n.compact,
329
+ title: l.tooltipsWithDefaults.inverseSearch,
330
+ active: i.inverseSearch,
331
+ onClick: l.toggleInverseSearch
332
+ }, {
333
+ default: T(() => [
334
+ p(S)
335
+ ]),
336
+ _: 1
337
+ }, 8, ["compact", "title", "active", "onClick"])) : L("", !0)
338
+ ]),
339
+ _: 3
340
+ }, 8, ["id", "name", "model-value", "placeholder", "autofocus", "disabled", "class", "aria-owns", "aria-activedescendant", "compact"]);
341
+ }
342
+ const tt = /* @__PURE__ */ H(Je, [["render", et], ["__scopeId", "data-v-974681a3"]]), nt = {
343
+ xmlns: "http://www.w3.org/2000/svg",
344
+ fill: "none",
345
+ stroke: "#000",
346
+ "stroke-linejoin": "round",
347
+ viewBox: "0 0 32 32"
348
+ }, lt = /* @__PURE__ */ v("path", { d: "m14.8 5 11 11-11 11M6.2 5l11 11-11 11" }, null, -1), st = [
349
+ lt
350
+ ];
351
+ function it(e, t) {
352
+ return m(), w("svg", nt, [...st]);
353
+ }
354
+ const at = { render: it }, ot = {
355
+ xmlns: "http://www.w3.org/2000/svg",
356
+ fill: "none",
357
+ stroke: "#000",
358
+ "stroke-linejoin": "round",
359
+ viewBox: "0 0 32 32"
360
+ }, ut = /* @__PURE__ */ v("path", { d: "m17.2 27-11-11 11-11m8.6 22-11-11 11-11" }, null, -1), ct = [
361
+ ut
362
+ ];
363
+ function rt(e, t) {
364
+ return m(), w("svg", ot, [...ct]);
365
+ }
366
+ const dt = { render: rt }, ht = {
367
+ xmlns: "http://www.w3.org/2000/svg",
368
+ fill: "none",
369
+ stroke: "#000",
370
+ "stroke-linejoin": "round",
371
+ viewBox: "0 0 32 32"
372
+ }, ft = /* @__PURE__ */ v("path", { d: "m21.5 27-11-11 11-11" }, null, -1), mt = [
373
+ ft
374
+ ];
375
+ function vt(e, t) {
376
+ return m(), w("svg", ht, [...mt]);
377
+ }
378
+ const gt = { render: vt }, bt = (e) => (F("data-v-d36066f7"), e = e(), q(), e), St = /* @__PURE__ */ bt(() => /* @__PURE__ */ v("div", { class: "handle" }, null, -1)), wt = [
379
+ St
380
+ ], _t = 10, ee = "2px", It = /* @__PURE__ */ le({
381
+ __name: "ResizeHandle",
382
+ props: {
383
+ numberOfHandles: {},
384
+ handleWidth: {},
385
+ connectHandlesOnResize: { type: Boolean, default: !1 },
386
+ multipleHandlesHandleGap: { default: "0px" },
387
+ disabled: { type: Boolean, default: !1 }
388
+ },
389
+ emits: ["resize-move", "resize-end"],
390
+ setup(e, { emit: t }) {
391
+ se((c) => ({
392
+ "36bdd4ea": ee
393
+ }));
394
+ const n = t, s = e, i = D(0), l = D(null), d = h(
395
+ () => `calc(${s.handleWidth} + 2 * ${ee})`
396
+ ), u = h(
397
+ () => s.connectHandlesOnResize && s.numberOfHandles > 1 && l.value !== null
398
+ ), a = h(
399
+ () => `(${s.numberOfHandles} - 1) * ${s.multipleHandlesHandleGap}`
400
+ ), b = h(
401
+ () => `(2 * ${s.numberOfHandles})`
402
+ ), S = h(
403
+ () => `(100% - ${a.value}) / ${b.value}`
404
+ ), g = h(
405
+ () => `calc(100% - 2 * ${S.value})`
406
+ ), _ = (c) => {
407
+ s.disabled || (c.target.setPointerCapture(c.pointerId), c.preventDefault(), l.value = c.pointerId, i.value = c.clientY);
408
+ }, y = Re((c) => {
409
+ if (l.value === c.pointerId) {
410
+ const k = c.clientY - i.value;
411
+ (k < 0 && c.offsetY <= 0 || k > 0 && c.offsetY >= 0) && n("resize-move", k), i.value = c.clientY;
412
+ }
413
+ }, _t), r = (c) => {
414
+ l.value === c.pointerId && (i.value = 0, l.value = null, n("resize-end"));
415
+ };
416
+ return (c, k) => (m(), w("div", {
417
+ class: "resize-handle-container",
418
+ style: z({ gap: c.multipleHandlesHandleGap })
419
+ }, [
420
+ u.value ? (m(), w("div", {
421
+ key: 0,
422
+ class: "handle connection",
423
+ style: z({ width: g.value })
424
+ }, null, 4)) : L("", !0),
425
+ (m(!0), w(ce, null, re(c.numberOfHandles, (x) => (m(), w("div", {
426
+ key: x,
427
+ class: B(["handle-container", { disabled: c.disabled }]),
428
+ style: z({ width: d.value }),
429
+ onPointerdown: _,
430
+ onPointerup: r,
431
+ onPointermove: k[0] || (k[0] = //@ts-ignore
432
+ (...C) => W(y) && W(y)(...C)),
433
+ onLostpointercapture: r
434
+ }, wt, 38))), 128))
435
+ ], 4));
436
+ }
437
+ }), pt = /* @__PURE__ */ H(It, [["__scopeId", "data-v-d36066f7"]]), A = "Enter", K = 5, ie = 30, ae = 24, yt = 4, kt = 56, Lt = ["left", "right"], xt = yt * ae + 2 * kt, Vt = `calc((100% - ${ie}px) * 1 / 6)`, Bt = (e) => {
438
+ const t = h(
439
+ () => e.value !== null && "includeUnknownValues" in e.value ? { withUnknownValues: e.value } : { standard: e.value }
440
+ ), n = h(() => typeof t.value.standard < "u" ? t.value.standard : t.value.withUnknownValues.includedValues), s = h(
441
+ () => {
442
+ var a;
443
+ return ((a = t.value.withUnknownValues) == null ? void 0 : a.excludedValues) ?? null;
444
+ }
445
+ ), i = h(
446
+ () => {
447
+ var a;
448
+ return ((a = t.value.withUnknownValues) == null ? void 0 : a.includeUnknownValues) ?? null;
449
+ }
450
+ ), l = h(
451
+ () => i.value === !1
452
+ ), d = h(
453
+ () => i.value === !0
454
+ );
455
+ return {
456
+ includedValues: n,
457
+ excludedValues: s,
458
+ showUnknownExcludedValues: l,
459
+ showUnknownIncludedValues: d,
460
+ getEmitValue: (a, b = (g) => g, S = (g) => g) => t.value.withUnknownValues ? {
461
+ includedValues: a,
462
+ excludedValues: b(s.value),
463
+ includeUnknownValues: S(
464
+ t.value.withUnknownValues.includeUnknownValues
465
+ )
466
+ } : a
467
+ };
468
+ }, j = {
469
+ name: "Twinlist",
470
+ components: {
471
+ ArrowNextDoubleIcon: at,
472
+ ArrowNextIcon: de,
473
+ ArrowPrevDoubleIcon: dt,
474
+ ArrowPrevIcon: gt,
475
+ MultiselectListBox: we,
476
+ Label: be,
477
+ SearchInput: tt,
478
+ ResizeHandle: pt
479
+ },
480
+ props: {
481
+ modelValue: {
482
+ type: [Object, Array, null],
483
+ default: null
484
+ },
485
+ initialCaseSensitiveSearch: {
486
+ default: !1,
487
+ type: Boolean
488
+ },
489
+ initialSearchTerm: {
490
+ type: String,
491
+ required: !1,
492
+ default: ""
493
+ },
494
+ /**
495
+ * Hiding and disabling
496
+ */
497
+ showSearch: {
498
+ default: !1,
499
+ type: Boolean
500
+ },
501
+ disabled: {
502
+ default: !1,
503
+ type: Boolean
504
+ },
505
+ showEmptyState: {
506
+ default: !0,
507
+ type: Boolean
508
+ },
509
+ /**
510
+ * Labels
511
+ */
512
+ leftLabel: {
513
+ type: String,
514
+ required: !0,
515
+ default: "Possible values"
516
+ },
517
+ rightLabel: {
518
+ type: String,
519
+ required: !0,
520
+ default: "Selected values"
521
+ },
522
+ withSearchLabel: {
523
+ default: !1,
524
+ type: Boolean
525
+ },
526
+ searchLabel: {
527
+ type: String,
528
+ required: !1,
529
+ default: "Search values"
530
+ },
531
+ searchPlaceholder: {
532
+ type: String,
533
+ required: !1,
534
+ default: "Search"
535
+ },
536
+ unknownValuesText: {
537
+ type: String,
538
+ required: !1,
539
+ default: "Unknown values"
540
+ },
541
+ /**
542
+ * Is only used when emptyStateComponent is null
543
+ */
544
+ emptyStateLabel: {
545
+ default: "No entries in this list",
546
+ type: String
547
+ },
548
+ /**
549
+ * this component is displayed centered in the middle of the box in case it is empty
550
+ */
551
+ emptyStateComponent: {
552
+ default: null,
553
+ type: Object
554
+ },
555
+ /**
556
+ * Controls the size of the list.
557
+ * Number of visible items (for others user need to scroll)
558
+ * - 0 means all
559
+ * - values 1 - 4 are ignored; 5 is minimum
560
+ */
561
+ size: {
562
+ type: Number,
563
+ default: 0,
564
+ validator(e) {
565
+ return e >= 0;
566
+ }
567
+ },
568
+ showResizeHandle: {
569
+ type: Boolean,
570
+ default: !1
571
+ },
572
+ isValid: {
573
+ default: !0,
574
+ type: Boolean
575
+ },
576
+ /**
577
+ * List of possible values. Each item must have an `id` and a `text` property
578
+ * @example
579
+ * [{
580
+ * id: 'pdf',
581
+ * text: 'PDF'
582
+ * }, {
583
+ * id: 'XLS',
584
+ * text: 'Excel',
585
+ * }]
586
+ */
587
+ possibleValues: {
588
+ type: Array,
589
+ default: () => []
590
+ },
591
+ /**
592
+ * If this setting is true, on a change of possible values, the currently
593
+ * chosen values which are missing with respect to the new possible values
594
+ * are removed.
595
+ */
596
+ filterChosenValuesOnPossibleValuesChange: {
597
+ type: Boolean,
598
+ default: !0,
599
+ required: !1
600
+ },
601
+ compact: {
602
+ type: Boolean,
603
+ default: !1
604
+ }
605
+ },
606
+ emits: [
607
+ /**
608
+ * This event gets emitted whenever the user changes the selection.
609
+ * In case the modelValue of this Twinlist is with unknown values, the emitted value here will also be.
610
+ */
611
+ "update:modelValue"
612
+ ],
613
+ setup(e) {
614
+ const {
615
+ includedValues: t,
616
+ excludedValues: n,
617
+ showUnknownExcludedValues: s,
618
+ showUnknownIncludedValues: i,
619
+ getEmitValue: l
620
+ } = Bt(Y(e, "modelValue")), d = D(e.initialSearchTerm), u = D(e.initialCaseSensitiveSearch), a = h(() => e.possibleValues.map((f) => f.id)), b = h(() => new Set(a.value)), S = h(() => t.value ? i.value ? t.value.filter(
621
+ (f) => b.value.has(f)
622
+ ) : t.value : null), g = h(() => Object.assign(
623
+ {},
624
+ ...e.possibleValues.map((f, o) => ({
625
+ [f.id]: { item: f, index: o }
626
+ }))
627
+ )), _ = h(() => S.value === null ? [] : S.value.map(
628
+ (f) => {
629
+ var o;
630
+ return ((o = g.value[f]) == null ? void 0 : o.item) || X(f);
631
+ }
632
+ )), y = Y(e, "showSearch"), r = Z(
633
+ d,
634
+ u,
635
+ _,
636
+ y
637
+ ), c = h(() => {
638
+ if (!n.value) {
639
+ const f = new Set(t.value);
640
+ return a.value.filter(
641
+ (o) => !f.has(o)
642
+ );
643
+ }
644
+ return s.value ? n.value.filter(
645
+ (f) => b.value.has(f)
646
+ ) : n.value;
647
+ }), k = h(() => S.value === null ? [] : c.value.map(
648
+ (f) => {
649
+ var o;
650
+ return ((o = g.value[f]) == null ? void 0 : o.item) || X(f);
651
+ }
652
+ )), x = Z(
653
+ d,
654
+ u,
655
+ k,
656
+ y
657
+ ), C = h(() => e.showSearch && d.value !== ""), N = h(() => e.showSearch && C.value ? $(x, c.value.length) : null), U = h(() => {
658
+ var f;
659
+ return e.showSearch && C.value ? $(
660
+ r,
661
+ (f = S.value) == null ? void 0 : f.length
662
+ ) : null;
663
+ });
664
+ return {
665
+ includedValues: t,
666
+ excludedValues: n,
667
+ showUnknownExcludedValues: s,
668
+ showUnknownIncludedValues: i,
669
+ getEmitValue: l,
670
+ searchTerm: d,
671
+ filteredExcludedItems: x,
672
+ filteredIncludedItems: r,
673
+ knownExcludedValues: c,
674
+ knownIncludedValues: S,
675
+ possibleValueIds: a,
676
+ possibleValueIdsSet: b,
677
+ excludedLabels: N,
678
+ includedLabels: U,
679
+ caseSensitiveSearch: u,
680
+ allIncludedItems: _,
681
+ possibleValueMap: g
682
+ };
683
+ },
684
+ data() {
685
+ return {
686
+ invalidPossibleValueIds: /* @__PURE__ */ new Set(),
687
+ rightSelected: [],
688
+ leftSelected: [],
689
+ unknownValuesId: Symbol("Unknown values"),
690
+ constants: Object.freeze({
691
+ MIN_LIST_SIZE: K,
692
+ BUTTON_HEIGHT: ae,
693
+ BUTTON_WIDTH: ie,
694
+ RESIZE_HANDLE_WIDTH: Vt,
695
+ MAX_HEIGHT_BUTTONS_CENTER_ALIGNMENT: xt
696
+ })
697
+ };
698
+ },
699
+ computed: {
700
+ listSize() {
701
+ const e = this.size === 0 ? this.possibleValues.length : this.size;
702
+ return e > K ? e : K;
703
+ },
704
+ moveAllRightButtonDisabled() {
705
+ return this.filteredExcludedItems.length === 0 && !this.showUnknownExcludedValues;
706
+ },
707
+ moveRightButtonDisabled() {
708
+ return this.leftSelected.length === 0;
709
+ },
710
+ moveAllLeftButtonDisabled() {
711
+ return this.filteredIncludedItems.length === 0 && !this.showUnknownIncludedValues;
712
+ },
713
+ moveLeftButtonDisabled() {
714
+ return this.rightSelected.length === 0;
715
+ }
716
+ },
717
+ watch: {
718
+ possibleValues(e) {
719
+ if (this.filterChosenValuesOnPossibleValuesChange) {
720
+ let t = e.reduce((s, i) => (s.push(...Object.values(i)), s), []);
721
+ const n = (this.includedValues ?? []).filter(
722
+ (s) => t.includes(s)
723
+ );
724
+ this.$emit("update:modelValue", this.getEmitValue(n));
725
+ }
726
+ }
727
+ },
728
+ mounted() {
729
+ this.showResizeHandle && this.getListBoxes().forEach((e) => e.initResizeHeight());
730
+ },
731
+ methods: {
732
+ getIndex(e) {
733
+ var t;
734
+ return ((t = this.possibleValueMap[e]) == null ? void 0 : t.index) ?? -1;
735
+ },
736
+ compareByOriginalSorting(e, t) {
737
+ return this.getIndex(e) - this.getIndex(t);
738
+ },
739
+ clearSelections() {
740
+ this.getListBoxes().forEach((e) => e.clearSelection());
741
+ },
742
+ moveItems(e, {
743
+ toNewIncludedValues: t,
744
+ toNewExcludedValues: n
745
+ }) {
746
+ const s = e.filter((a) => a !== this.unknownValuesId), i = e.length > s.length, l = {
747
+ knownValues: s,
748
+ movingUnknownValues: i
749
+ };
750
+ let d = null, u = null;
751
+ this.includedValues !== null && (d = t({
752
+ previous: this.includedValues,
753
+ movingParts: l
754
+ })), this.excludedValues && (u = n({
755
+ previous: this.knownExcludedValues,
756
+ movingParts: l
757
+ })), this.clearSelections(), this.$emit(
758
+ "update:modelValue",
759
+ this.getEmitValue(
760
+ d,
761
+ () => u,
762
+ (a) => i ? !a : a
763
+ )
764
+ );
765
+ },
766
+ moveRight(e = null) {
767
+ this.moveItems(e ?? this.leftSelected, {
768
+ toNewIncludedValues: this.addMovedItems.bind(this),
769
+ toNewExcludedValues: this.filterMovedItems.bind(this)
770
+ });
771
+ },
772
+ moveLeft(e = null) {
773
+ this.moveItems(e ?? this.rightSelected, {
774
+ toNewIncludedValues: this.filterMovedItems.bind(this),
775
+ toNewExcludedValues: this.addMovedItems.bind(this)
776
+ });
777
+ },
778
+ /**
779
+ * Filters out the moved items and also invalid items if unknown values are being moved.
780
+ */
781
+ filterMovedItems({
782
+ previous: e,
783
+ movingParts: { movingUnknownValues: t, knownValues: n }
784
+ }) {
785
+ const s = new Set(n);
786
+ return e.filter(
787
+ (i) => !s.has(i) && (!t || this.possibleValueIdsSet.has(i))
788
+ );
789
+ },
790
+ /**
791
+ * Adds the given items sorting by the order in the possible values afterwards and removing invalid items
792
+ * if unknown values are being moved
793
+ */
794
+ addMovedItems({
795
+ previous: e,
796
+ movingParts: { movingUnknownValues: t, knownValues: n }
797
+ }) {
798
+ return [
799
+ ...t ? e.filter((s) => this.possibleValueIdsSet.has(s)) : e,
800
+ ...n.filter((s) => this.possibleValueIdsSet.has(s))
801
+ ].sort(this.compareByOriginalSorting);
802
+ },
803
+ onMoveRightButtonClick() {
804
+ this.moveRight();
805
+ },
806
+ onMoveAllRightButtonClick() {
807
+ const e = this.filteredExcludedItems.map((t) => t.id);
808
+ this.moveRight(
809
+ e.concat(
810
+ this.showUnknownExcludedValues ? [this.unknownValuesId] : []
811
+ )
812
+ );
813
+ },
814
+ onMoveAllRightButtonKey(e) {
815
+ e.key === A && (this.onMoveAllRightButtonClick(), this.stopPropagation(e));
816
+ },
817
+ onMoveRightButtonKey(e) {
818
+ e.key === A && (this.moveRight(), this.stopPropagation(e));
819
+ },
820
+ onMoveLeftButtonClick() {
821
+ this.moveLeft();
822
+ },
823
+ onMoveAllLeftButtonClick() {
824
+ const e = this.filteredIncludedItems.map((t) => t.id);
825
+ this.moveLeft(
826
+ e.concat(
827
+ this.showUnknownIncludedValues ? [this.unknownValuesId] : []
828
+ )
829
+ );
830
+ },
831
+ onMoveLeftButtonKey(e) {
832
+ e.key === A && (this.moveLeft(), this.stopPropagation(e));
833
+ },
834
+ onMoveAllLeftButtonKey(e) {
835
+ e.key === A && (this.onMoveAllLeftButtonClick(), this.stopPropagation(e));
836
+ },
837
+ stopPropagation(e) {
838
+ e.preventDefault(), e.stopPropagation();
839
+ },
840
+ onLeftListBoxDoubleClick(e) {
841
+ this.moveRight([e]);
842
+ },
843
+ onLeftListBoxShiftDoubleClick(e) {
844
+ this.moveRight(e);
845
+ },
846
+ onRightListBoxDoubleClick(e) {
847
+ this.moveLeft([e]);
848
+ },
849
+ onRightListBoxShiftDoubleClick(e) {
850
+ this.moveLeft(e);
851
+ },
852
+ onLeftInput(e) {
853
+ e.length > 0 && this.$refs.right.clearSelection(), this.leftSelected = e;
854
+ },
855
+ onRightInput(e) {
856
+ e.length > 0 && this.$refs.left.clearSelection(), this.rightSelected = e;
857
+ },
858
+ onSearchInput(e) {
859
+ this.searchTerm = e;
860
+ },
861
+ hasSelection() {
862
+ var e;
863
+ return (((e = this.includedValues) == null ? void 0 : e.length) ?? 0) > 0;
864
+ },
865
+ validate() {
866
+ let e = !this.filteredIncludedItems.some((t) => t.invalid) && (!this.excludedValues || !this.filteredExcludedItems.some((t) => t.invalid));
867
+ return {
868
+ isValid: e,
869
+ errorMessage: e ? null : "One or more of the selected items is invalid."
870
+ };
871
+ },
872
+ getListBoxes() {
873
+ return Lt.map(
874
+ (e) => this.$refs[e]
875
+ );
876
+ },
877
+ onResizeMove(e) {
878
+ this.getListBoxes().forEach((t) => t.onResizeMove(e));
879
+ },
880
+ onResizeEnd() {
881
+ this.getListBoxes().forEach((e) => e.onResizeEnd());
882
+ }
883
+ }
884
+ }, te = () => {
885
+ se((e) => ({
886
+ "660fe632": `${e.constants.BUTTON_WIDTH}px`,
887
+ "7aeb6bf1": `${e.constants.MAX_HEIGHT_BUTTONS_CENTER_ALIGNMENT}px`,
888
+ "10066bb1": `${e.constants.BUTTON_HEIGHT}px`
889
+ }));
890
+ }, ne = j.setup;
891
+ j.setup = ne ? (e, t) => (te(), ne(e, t)) : te;
892
+ const Ct = (e) => (F("data-v-d96daa87"), e = e(), q(), e), Tt = { class: "twinlist" }, Et = { class: "header" }, Mt = { class: "title" }, Rt = ["title"], At = ["title"], Dt = /* @__PURE__ */ Ct(() => /* @__PURE__ */ v("div", { class: "space" }, null, -1)), Ot = { class: "title" }, Ht = ["title"], Nt = ["title"], Ut = { class: "buttons" };
893
+ function zt(e, t, n, s, i, l) {
894
+ const d = I("SearchInput"), u = I("Label"), a = I("MultiselectListBox"), b = I("ArrowNextIcon"), S = I("ArrowNextDoubleIcon"), g = I("ArrowPrevIcon"), _ = I("ArrowPrevDoubleIcon"), y = I("ResizeHandle");
895
+ return m(), w("div", Tt, [
896
+ n.showSearch ? (m(), E(u, {
897
+ key: 0,
898
+ active: n.withSearchLabel,
899
+ text: n.searchLabel,
900
+ class: "search-wrapper"
901
+ }, {
902
+ default: T(({ labelForId: r }) => [
903
+ p(d, {
904
+ id: r,
905
+ ref: "search",
906
+ placeholder: n.searchPlaceholder,
907
+ "model-value": s.searchTerm,
908
+ label: n.searchLabel,
909
+ "initial-case-sensitive-search": n.initialCaseSensitiveSearch,
910
+ "show-case-sensitive-search-button": "",
911
+ disabled: n.disabled,
912
+ tooltips: {
913
+ inverseSearch: "Move matching to other side"
914
+ },
915
+ compact: n.compact,
916
+ "onUpdate:modelValue": l.onSearchInput,
917
+ onToggleCaseSensitiveSearch: t[0] || (t[0] = (c) => s.caseSensitiveSearch = c)
918
+ }, null, 8, ["id", "placeholder", "model-value", "label", "initial-case-sensitive-search", "disabled", "compact", "onUpdate:modelValue"])
919
+ ]),
920
+ _: 1
921
+ }, 8, ["active", "text"])) : L("", !0),
922
+ v("div", Et, [
923
+ v("div", Mt, [
924
+ v("div", {
925
+ class: "label",
926
+ title: n.leftLabel
927
+ }, R(n.leftLabel), 9, Rt),
928
+ s.excludedLabels ? (m(), w("div", {
929
+ key: 0,
930
+ title: s.excludedLabels,
931
+ class: "info"
932
+ }, R(s.excludedLabels), 9, At)) : L("", !0)
933
+ ]),
934
+ Dt,
935
+ v("div", Ot, [
936
+ v("div", {
937
+ class: "label",
938
+ title: n.rightLabel
939
+ }, R(n.rightLabel), 9, Ht),
940
+ s.includedLabels ? (m(), w("div", {
941
+ key: 0,
942
+ title: s.includedLabels,
943
+ class: "info"
944
+ }, R(s.includedLabels), 9, Nt)) : L("", !0)
945
+ ])
946
+ ]),
947
+ v("div", {
948
+ class: B(["lists", { disabled: n.disabled }])
949
+ }, [
950
+ p(a, {
951
+ ref: "left",
952
+ "with-is-empty-state": n.showEmptyState,
953
+ "empty-state-label": n.emptyStateLabel,
954
+ "empty-state-component": n.emptyStateComponent,
955
+ size: l.listSize,
956
+ "min-size": i.constants.MIN_LIST_SIZE,
957
+ class: "list-box",
958
+ "model-value": i.leftSelected,
959
+ "with-bottom-value": s.showUnknownExcludedValues,
960
+ "bottom-value": { id: i.unknownValuesId, text: n.unknownValuesText },
961
+ "is-valid": n.isValid,
962
+ "possible-values": s.filteredExcludedItems,
963
+ ariaLabel: n.leftLabel,
964
+ disabled: n.disabled,
965
+ onDoubleClickOnItem: l.onLeftListBoxDoubleClick,
966
+ onDoubleClickShift: l.onLeftListBoxShiftDoubleClick,
967
+ onKeyArrowRight: l.moveRight,
968
+ "onUpdate:modelValue": l.onLeftInput
969
+ }, null, 8, ["with-is-empty-state", "empty-state-label", "empty-state-component", "size", "min-size", "model-value", "with-bottom-value", "bottom-value", "is-valid", "possible-values", "ariaLabel", "disabled", "onDoubleClickOnItem", "onDoubleClickShift", "onKeyArrowRight", "onUpdate:modelValue"]),
970
+ v("div", Ut, [
971
+ v("div", {
972
+ ref: "moveRight",
973
+ class: B({ disabled: l.moveRightButtonDisabled || n.disabled }),
974
+ role: "button",
975
+ tabindex: "0",
976
+ onClick: t[1] || (t[1] = (...r) => l.onMoveRightButtonClick && l.onMoveRightButtonClick(...r)),
977
+ onKeydown: t[2] || (t[2] = (...r) => l.onMoveRightButtonKey && l.onMoveRightButtonKey(...r))
978
+ }, [
979
+ p(b, { class: "icon" })
980
+ ], 34),
981
+ v("div", {
982
+ ref: "moveAllRight",
983
+ class: B({ disabled: l.moveAllRightButtonDisabled || n.disabled }),
984
+ role: "button",
985
+ tabindex: "0",
986
+ onClick: t[3] || (t[3] = (...r) => l.onMoveAllRightButtonClick && l.onMoveAllRightButtonClick(...r)),
987
+ onKeydown: t[4] || (t[4] = (...r) => l.onMoveAllRightButtonKey && l.onMoveAllRightButtonKey(...r))
988
+ }, [
989
+ p(S, { class: "icon" })
990
+ ], 34),
991
+ v("div", {
992
+ ref: "moveLeft",
993
+ class: B({ disabled: l.moveLeftButtonDisabled || n.disabled }),
994
+ role: "button",
995
+ tabindex: "0",
996
+ onClick: t[5] || (t[5] = (...r) => l.onMoveLeftButtonClick && l.onMoveLeftButtonClick(...r)),
997
+ onKeydown: t[6] || (t[6] = (...r) => l.onMoveLeftButtonKey && l.onMoveLeftButtonKey(...r))
998
+ }, [
999
+ p(g, { class: "icon" })
1000
+ ], 34),
1001
+ v("div", {
1002
+ ref: "moveAllLeft",
1003
+ class: B({ disabled: l.moveAllLeftButtonDisabled || n.disabled }),
1004
+ role: "button",
1005
+ tabindex: "0",
1006
+ onClick: t[7] || (t[7] = (...r) => l.onMoveAllLeftButtonClick && l.onMoveAllLeftButtonClick(...r)),
1007
+ onKeydown: t[8] || (t[8] = (...r) => l.onMoveAllLeftButtonKey && l.onMoveAllLeftButtonKey(...r))
1008
+ }, [
1009
+ p(_, { class: "icon" })
1010
+ ], 34)
1011
+ ]),
1012
+ p(a, {
1013
+ ref: "right",
1014
+ class: B(["list-box", { "with-empty-state-icon": n.emptyStateComponent }]),
1015
+ "model-value": i.rightSelected,
1016
+ "with-bottom-value": s.showUnknownIncludedValues,
1017
+ "bottom-value": { id: i.unknownValuesId, text: n.unknownValuesText },
1018
+ "with-is-empty-state": n.showEmptyState,
1019
+ "empty-state-label": n.emptyStateLabel,
1020
+ "empty-state-component": n.emptyStateComponent,
1021
+ "possible-values": s.filteredIncludedItems,
1022
+ size: l.listSize,
1023
+ "min-size": i.constants.MIN_LIST_SIZE,
1024
+ ariaLabel: n.rightLabel,
1025
+ disabled: n.disabled,
1026
+ onDoubleClickOnItem: l.onRightListBoxDoubleClick,
1027
+ onDoubleClickShift: l.onRightListBoxShiftDoubleClick,
1028
+ onKeyArrowLeft: l.moveLeft,
1029
+ "onUpdate:modelValue": l.onRightInput
1030
+ }, 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
+ ], 2),
1032
+ n.showResizeHandle ? (m(), E(y, {
1033
+ key: 1,
1034
+ "number-of-handles": 2,
1035
+ "handle-width": i.constants.RESIZE_HANDLE_WIDTH,
1036
+ "connect-handles-on-resize": "",
1037
+ "multiple-handles-handle-gap": `${i.constants.BUTTON_WIDTH}px`,
1038
+ onResizeMove: l.onResizeMove,
1039
+ onResizeEnd: l.onResizeEnd
1040
+ }, null, 8, ["handle-width", "multiple-handles-handle-gap", "onResizeMove", "onResizeEnd"])) : L("", !0)
1041
+ ]);
1042
+ }
1043
+ const Xt = /* @__PURE__ */ H(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
+ __name: "TwinlistLoadingInfo",
1045
+ setup(e) {
1046
+ return (t, n) => (m(), w("div", Kt, [
1047
+ Wt,
1048
+ p(W(Se), { class: "icon" })
1049
+ ]));
1050
+ }
1051
+ }), Jt = /* @__PURE__ */ H(Ft, [["__scopeId", "data-v-52b0b5dd"]]);
1052
+ export {
1053
+ tt as S,
1054
+ Jt as T,
1055
+ Xt as a,
1056
+ Bt as u
1057
+ };