@knime/jsonforms 1.10.2 → 1.10.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.
- package/CHANGELOG.md +15 -0
- package/dist/{AnyOfTwinlist-CAyoczAB.js → AnyOfTwinlist-Dvwh44EZ.js} +1 -1
- package/dist/{Button-BzZgjDcV.js → Button-CO9MECNO.js} +1 -1
- package/dist/{Checkbox-C_i21GaA.js → Checkbox-C3WOC8SX.js} +1 -1
- package/dist/{CheckboxControl-DDoLA6Vd.js → CheckboxControl-D-jcEMx9.js} +2 -2
- package/dist/{Checkboxes-C_e0UeAC.js → Checkboxes-Djk9SPMd.js} +2 -2
- package/dist/{CheckboxesControl-mSVKQ6CW.js → CheckboxesControl-Di7XI4Ea.js} +2 -2
- package/dist/{ComboBoxControl-BY9Wb-2K.js → ComboBoxControl-CBsM1Bf0.js} +3 -3
- package/dist/{DateControl-YjVx-aFd.js → DateControl-B4ztx3dj.js} +1 -1
- package/dist/{DateTimeControl-D5Z7nHgz.js → DateTimeControl-BtVVcmZ0.js} +2 -2
- package/dist/{DateTimeFormatInput-DP9GTXiX.js → DateTimeFormatInput-BUZQIU2y.js} +3 -3
- package/dist/{DateTimeFormatPickerControl-DdIvsCjx.js → DateTimeFormatPickerControl-BY0t3CWJ.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-CrrpUdTR.js → DateTimeFormatPickerWithTypeControl-CE9vz--D.js} +3 -3
- package/dist/{DateTimeInput-BSUVtZ_C.js → DateTimeInput-B6b6ntsL.js} +6 -6
- package/dist/{Dropdown-DP_F92tv.js → Dropdown-c0-3hZhQ.js} +2 -2
- package/dist/{DropdownControl-GMJULpL6.js → DropdownControl-rZt5v61Q.js} +4 -4
- package/dist/{HorizontalLayout-COzD3yLU.js → HorizontalLayout-C5eOQMLy.js} +1 -1
- package/dist/{InputField-BF7vTszr.js → InputField-C_Kwnh2D.js} +1 -1
- package/dist/{IntegerControl-CKIl5Rfi.js → IntegerControl-Ch5uGTZX.js} +1 -1
- package/dist/{IntervalControl-C2ykMH4V.js → IntervalControl-DPEsNxzq.js} +3 -3
- package/dist/{LoadingDropdown-CxqiKfdN.js → LoadingDropdown-DVtYSqZi.js} +3 -3
- package/dist/MultiSelectListBoxControl-HLKnQuLK.js +34 -0
- package/dist/{MultimodeTwinlistControl-BM744sO6.js → MultimodeTwinlistControl-06t2HfAA.js} +5 -5
- package/dist/{MultiselectListBox-DwBSUb9V.js → MultiselectListBox-DB1_x4Gm.js} +76 -139
- package/dist/{NameFilter-Dgf1mtuH.js → NameFilter-BPtDd_ZM.js} +1 -1
- package/dist/{NumberControl-Cp0OiNDl.js → NumberControl-D3aijNOg.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-B7BnKygX.js → NumberControlBase.vue_vue_type_script_setup_true_lang-HvcHTpTJ.js} +2 -2
- package/dist/{NumberInput-H3BZ_gou.js → NumberInput-BwvuSJTp.js} +1 -1
- package/dist/{OneOfDropdown-DbkVGpS-.js → OneOfDropdown-BHdTyh4E.js} +1 -1
- package/dist/{RadioControl-9cZ9L-XZ.js → RadioControl-CSsd4PtY.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-DXLEuMzn.js → RadioControlBase.vue_vue_type_script_setup_true_lang-DDINkVnv.js} +2 -2
- package/dist/{RichTextControl-B6KPOKpK.js → RichTextControl-CyrN2sAf.js} +5 -5
- package/dist/{SectionHeading-BMWemtGd.js → SectionHeading-BteoPwU6.js} +1 -1
- package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js} +4181 -4163
- package/dist/{SectionLayout-DR_wqkbw.js → SectionLayout-CesW02NL.js} +3 -3
- package/dist/{SettingsSubPanel-TN03TZ-e.js → SettingsSubPanel-BLd9zMXy.js} +1 -1
- package/dist/{SettingsSubPanelLayout-DxJd3igq.js → SettingsSubPanelLayout-DTKtp5ps.js} +4 -4
- package/dist/{SimpleButtonControl-BBy1H52n.js → SimpleButtonControl-B8m2_6Ba.js} +2 -2
- package/dist/{SimpleTwinlistControl-lyNwPBvG.js → SimpleTwinlistControl-CMhamSbA.js} +2 -2
- package/dist/{SingleSelectControl-BRjpWFqk.js → SingleSelectControl-KpBNyVJl.js} +2 -2
- package/dist/SingleSelectListBoxControl-Cb9f-wp8.js +234 -0
- package/dist/{SortListControl-BTrDdu9O.js → SortListControl-BT5e4z1B.js} +6 -6
- package/dist/StyledListItem-BmFWRFnF.js +72 -0
- package/dist/{TextAreaControl-B1-g-8ug.js → TextAreaControl-Bd_i3FxI.js} +1 -1
- package/dist/{TextControl-NsT1R1rk.js → TextControl-BKxooSfk.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Dgyo9rJ-.js → TextControl.vue_vue_type_script_setup_true_lang-Bs3-RJsw.js} +4 -4
- package/dist/TimeControl-DqxbMcYs.js +42 -0
- package/dist/{TwinlistControlBase-Dam1VsbM.js → TwinlistControlBase-C4NeGHHS.js} +3 -3
- package/dist/{TwinlistLoadingInfo-y6JvMoCY.js → TwinlistLoadingInfo-DVAd49mv.js} +4 -4
- package/dist/{TypedStringFilter-BjzWIu-L.js → TypedStringFilter-BvYWgmR2.js} +1 -1
- package/dist/{ValueSwitch-DZ5LB9vA.js → ValueSwitch-DJjWcjH3.js} +1 -1
- package/dist/{ValueSwitchControl-BCpz0Ya4.js → ValueSwitchControl-B-mOeS-W.js} +1 -1
- package/dist/{VerticalLayout-WkUU2XH3.js → VerticalLayout-C1g92Q4d.js} +2 -2
- package/dist/{VerticalLayoutBase-413o9U_2.js → VerticalLayoutBase-BrH1Nr0z.js} +1 -1
- package/dist/{ZonedDateTimeControl-6u9Nbw2f.js → ZonedDateTimeControl-blZIZcV0.js} +22 -21
- package/dist/{_baseEach-D8bWEfeT.js → _baseEach-C1cC1iYK.js} +2 -2
- package/dist/{_baseIteratee-c38lvCZS.js → _baseIteratee-CapP6YsQ.js} +26 -26
- package/dist/{_getTag-DwDUrDKD.js → _getTag-CphCWFRC.js} +20 -20
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +7 -7
- package/dist/{localTimeUtils-Bpn7Hjtc.js → localTimeUtils-C73txZxM.js} +1 -1
- package/dist/{magic-string.es-Dlayy_3o.js → magic-string.es-DwkmLaDE.js} +1 -1
- package/dist/src/constants/inputFormats.d.ts +2 -0
- package/dist/src/renderers/defaultRenderers.d.ts +2 -0
- package/dist/src/renderers/multiSelectListBoxRenderer.d.ts +2 -0
- package/dist/src/renderers/singleSelectListBoxRenderer.d.ts +2 -0
- package/dist/src/uiComponents/MultiSelectListBoxControl.vue.d.ts +3 -0
- package/dist/src/uiComponents/SingleSelectListBoxControl.vue.d.ts +3 -0
- package/dist/{svgWithTitle-CEHRG42c.js → svgWithTitle-BYet-mD6.js} +1 -1
- package/dist/testing.js +3 -3
- package/dist/{toString-BC2RXvs0.js → toString-zfY2ugmM.js} +1 -1
- package/dist/{useBuiltinValidations-BsKhdvbW.js → useBuiltinValidations-CQ7jhonx.js} +1 -1
- package/dist/{usePossibleValues-D12PcddT.js → usePossibleValues-DJHSR3yJ.js} +1 -1
- package/package.json +3 -3
- package/dist/TimeControl-CWjNnOHM.js +0 -33
|
@@ -1,88 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { b as
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { useId as x, toRef as S, watch as y, resolveComponent as p, openBlock as h, createElementBlock as u, normalizeClass as I, normalizeStyle as C, createElementVNode as m, mergeProps as v, withKeys as a, withModifiers as d, normalizeProps as w, guardReactiveProps as V, Fragment as k, renderList as D, createBlock as g, resolveDynamicComponent as H, toDisplayString as B, createCommentVNode as b, createVNode as K } from "vue";
|
|
2
|
+
import { b as N } from "./index-Bf0xDq3g.js";
|
|
3
|
+
import { S as A } from "./StyledListItem-BmFWRFnF.js";
|
|
4
|
+
import { _ as L } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
5
|
+
const T = (e, t) => {
|
|
6
|
+
let i, r = 0;
|
|
7
|
+
return (...l) => {
|
|
8
|
+
const [s, o] = l;
|
|
8
9
|
clearTimeout(i);
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
const n = Date.now();
|
|
11
|
+
n - r > t ? (r = n, e(s, o)) : i = setTimeout(() => {
|
|
12
|
+
r = n, e(s, o);
|
|
12
13
|
}, t);
|
|
13
14
|
};
|
|
14
|
-
},
|
|
15
|
-
name: "StyledListItem",
|
|
16
|
-
props: {
|
|
17
|
-
text: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: " "
|
|
20
|
-
},
|
|
21
|
-
selected: {
|
|
22
|
-
type: Boolean,
|
|
23
|
-
default: !1
|
|
24
|
-
},
|
|
25
|
-
disabled: {
|
|
26
|
-
type: Boolean,
|
|
27
|
-
default: !1
|
|
28
|
-
},
|
|
29
|
-
invalid: {
|
|
30
|
-
type: Boolean,
|
|
31
|
-
default: !1
|
|
32
|
-
},
|
|
33
|
-
/**
|
|
34
|
-
* Styles the item distinct to the other ones by adding a margin, adjusting the font-style and -height and
|
|
35
|
-
* rounding the corners
|
|
36
|
-
*/
|
|
37
|
-
special: {
|
|
38
|
-
type: Boolean,
|
|
39
|
-
default: !1
|
|
40
|
-
},
|
|
41
|
-
lineHeight: {
|
|
42
|
-
type: Number,
|
|
43
|
-
default: null
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
emits: [
|
|
47
|
-
"mousedown",
|
|
48
|
-
"mousemove",
|
|
49
|
-
"dblclick-exact",
|
|
50
|
-
"dblclick-shift",
|
|
51
|
-
"click"
|
|
52
|
-
]
|
|
53
|
-
}, O = ["title", "aria-selected"];
|
|
54
|
-
function z(e, t, i, n, r, s) {
|
|
55
|
-
return h(), u("li", x(e.$attrs, {
|
|
56
|
-
role: "option",
|
|
57
|
-
title: i.text,
|
|
58
|
-
style: {
|
|
59
|
-
...i.lineHeight !== null ? { lineHeight: `${i.lineHeight}px` } : {}
|
|
60
|
-
},
|
|
61
|
-
class: {
|
|
62
|
-
selected: i.selected,
|
|
63
|
-
invalid: i.invalid,
|
|
64
|
-
empty: !i.text.trim(),
|
|
65
|
-
disabled: i.disabled,
|
|
66
|
-
special: i.special
|
|
67
|
-
},
|
|
68
|
-
"aria-selected": i.selected,
|
|
69
|
-
onClick: t[0] || (t[0] = (o) => e.$emit("click", o)),
|
|
70
|
-
onDblclick: [
|
|
71
|
-
t[1] || (t[1] = a((o) => e.$emit("dblclick-shift"), ["shift"])),
|
|
72
|
-
t[2] || (t[2] = a((o) => e.$emit("dblclick-exact"), ["exact"]))
|
|
73
|
-
],
|
|
74
|
-
onMousedown: t[3] || (t[3] = (o) => e.$emit("mousedown", o)),
|
|
75
|
-
onMousemove: t[4] || (t[4] = (o) => e.$emit("mousemove", o))
|
|
76
|
-
}), y(i.text), 17, O);
|
|
77
|
-
}
|
|
78
|
-
const M = /* @__PURE__ */ S(T, [["render", z], ["__scopeId", "data-v-561778e1"]]), P = 250, E = {
|
|
15
|
+
}, O = 250, z = {
|
|
79
16
|
name: "MultiselectListBox",
|
|
80
|
-
components: { StyledListItem:
|
|
17
|
+
components: { StyledListItem: A },
|
|
81
18
|
props: {
|
|
82
19
|
id: {
|
|
83
20
|
type: String,
|
|
84
21
|
default() {
|
|
85
|
-
return `MultiselectListBox-${
|
|
22
|
+
return `MultiselectListBox-${x()}`;
|
|
86
23
|
}
|
|
87
24
|
},
|
|
88
25
|
modelValue: {
|
|
@@ -185,19 +122,19 @@ const M = /* @__PURE__ */ S(T, [["render", z], ["__scopeId", "data-v-561778e1"]]
|
|
|
185
122
|
"keyArrowRight"
|
|
186
123
|
],
|
|
187
124
|
setup(e) {
|
|
188
|
-
const { containerProps: i, wrapperProps:
|
|
189
|
-
|
|
125
|
+
const { containerProps: i, wrapperProps: r, list: l, scrollTo: s } = N(
|
|
126
|
+
S(e, "possibleValues"),
|
|
190
127
|
{
|
|
191
128
|
itemHeight: 22
|
|
192
129
|
}
|
|
193
130
|
);
|
|
194
|
-
return
|
|
131
|
+
return y(
|
|
195
132
|
() => e.possibleValues,
|
|
196
133
|
() => {
|
|
197
|
-
var
|
|
134
|
+
var n;
|
|
198
135
|
if (!i.ref.value)
|
|
199
136
|
return;
|
|
200
|
-
const o = ((
|
|
137
|
+
const o = ((n = i.ref.value) == null ? void 0 : n.scrollTop) ?? 0;
|
|
201
138
|
s(
|
|
202
139
|
Math.max(
|
|
203
140
|
Math.min(
|
|
@@ -211,8 +148,8 @@ const M = /* @__PURE__ */ S(T, [["render", z], ["__scopeId", "data-v-561778e1"]]
|
|
|
211
148
|
), {
|
|
212
149
|
optionLineHeight: 22,
|
|
213
150
|
containerProps: i,
|
|
214
|
-
wrapperProps:
|
|
215
|
-
list:
|
|
151
|
+
wrapperProps: r,
|
|
152
|
+
list: l
|
|
216
153
|
};
|
|
217
154
|
},
|
|
218
155
|
data() {
|
|
@@ -261,7 +198,7 @@ const M = /* @__PURE__ */ S(T, [["render", z], ["__scopeId", "data-v-561778e1"]]
|
|
|
261
198
|
var t, i;
|
|
262
199
|
window.addEventListener("mouseup", this.onStopDrag);
|
|
263
200
|
const e = (i = this.modelValue) == null ? void 0 : i[((t = this.modelValue) == null ? void 0 : t.length) - 1];
|
|
264
|
-
this.currentKeyNavIndex = this.possibleValues.map((
|
|
201
|
+
this.currentKeyNavIndex = this.possibleValues.map((r) => r.id).indexOf(e);
|
|
265
202
|
},
|
|
266
203
|
beforeUnmount() {
|
|
267
204
|
window.removeEventListener("mouseup", this.onStopDrag);
|
|
@@ -271,9 +208,9 @@ const M = /* @__PURE__ */ S(T, [["render", z], ["__scopeId", "data-v-561778e1"]]
|
|
|
271
208
|
},
|
|
272
209
|
methods: {
|
|
273
210
|
createDebouncedHandleCtrlClick() {
|
|
274
|
-
this.debouncedHandleCtrlClick =
|
|
211
|
+
this.debouncedHandleCtrlClick = T((e, t) => {
|
|
275
212
|
this.handleCtrlClick(e, t);
|
|
276
|
-
},
|
|
213
|
+
}, O);
|
|
277
214
|
},
|
|
278
215
|
// Define debouncedHandleCtrlClick as a method
|
|
279
216
|
debouncedHandleCtrlClick(e, t) {
|
|
@@ -298,29 +235,29 @@ const M = /* @__PURE__ */ S(T, [["render", z], ["__scopeId", "data-v-561778e1"]]
|
|
|
298
235
|
* @returns {String[]}
|
|
299
236
|
*/
|
|
300
237
|
getPossibleValuesInSection(e, t) {
|
|
301
|
-
const i = e > t ? t : e,
|
|
302
|
-
return this.possibleValuesWithBottom.slice(i,
|
|
238
|
+
const i = e > t ? t : e, r = e > t ? e : t;
|
|
239
|
+
return this.possibleValuesWithBottom.slice(i, r + 1).map((l) => l.id);
|
|
303
240
|
},
|
|
304
241
|
onStartDrag(e, t = !1) {
|
|
305
242
|
if (this.disabled || e.shiftKey)
|
|
306
243
|
return;
|
|
307
244
|
(e.ctrlKey || e.metaKey) && (this.draggingInverseMode = !0);
|
|
308
|
-
const i = e.target,
|
|
309
|
-
|
|
245
|
+
const i = e.target, r = t ? this.bottomIndex : i.getAttribute("data-option-index");
|
|
246
|
+
r && (this.draggingStartIndex = Number(r));
|
|
310
247
|
},
|
|
311
248
|
onDrag(e) {
|
|
312
249
|
if (this.draggingStartIndex !== -1) {
|
|
313
250
|
const i = e.target.getAttribute("data-option-index");
|
|
314
251
|
if (!i)
|
|
315
252
|
return;
|
|
316
|
-
const
|
|
317
|
-
let
|
|
253
|
+
const r = Number(i);
|
|
254
|
+
let l = this.getPossibleValuesInSection(
|
|
318
255
|
this.draggingStartIndex,
|
|
319
|
-
|
|
256
|
+
r
|
|
320
257
|
);
|
|
321
|
-
this.draggingInverseMode && (
|
|
322
|
-
(s) => !
|
|
323
|
-
)), this.setSelected(
|
|
258
|
+
this.draggingInverseMode && (l = this.selectedValues.filter(
|
|
259
|
+
(s) => !l.includes(s)
|
|
260
|
+
)), this.setSelected(l);
|
|
324
261
|
}
|
|
325
262
|
},
|
|
326
263
|
onBottomStartDrag(e) {
|
|
@@ -393,10 +330,10 @@ const M = /* @__PURE__ */ S(T, [["render", z], ["__scopeId", "data-v-561778e1"]]
|
|
|
393
330
|
return;
|
|
394
331
|
const i = this.containerProps.ref.value;
|
|
395
332
|
if (i.scrollHeight > i.clientHeight) {
|
|
396
|
-
const
|
|
397
|
-
if (!(s >
|
|
333
|
+
const r = i.clientHeight + i.scrollTop, l = e * this.optionLineHeight, s = l + this.optionLineHeight, o = l < i.scrollTop;
|
|
334
|
+
if (!(s > r || o))
|
|
398
335
|
return;
|
|
399
|
-
t === "up" || t === "auto" && o ? i.scrollTop =
|
|
336
|
+
t === "up" || t === "auto" && o ? i.scrollTop = l : i.scrollTop = s - i.clientHeight;
|
|
400
337
|
}
|
|
401
338
|
},
|
|
402
339
|
scrollUpIntoView(e) {
|
|
@@ -499,21 +436,21 @@ const M = /* @__PURE__ */ S(T, [["render", z], ["__scopeId", "data-v-561778e1"]]
|
|
|
499
436
|
this.resizeHeight = this.computeBoxHeight(Math.round(e));
|
|
500
437
|
}
|
|
501
438
|
}
|
|
502
|
-
},
|
|
439
|
+
}, M = { class: "box" }, P = ["id", "aria-label", "aria-activedescendant"], E = {
|
|
503
440
|
key: 0,
|
|
504
441
|
class: "empty-state"
|
|
505
|
-
},
|
|
442
|
+
}, R = { key: 1 }, U = {
|
|
506
443
|
key: 1,
|
|
507
444
|
role: "bottom-box"
|
|
508
445
|
};
|
|
509
|
-
function
|
|
510
|
-
const o =
|
|
446
|
+
function F(e, t, i, r, l, s) {
|
|
447
|
+
const o = p("StyledListItem");
|
|
511
448
|
return h(), u("div", {
|
|
512
|
-
class:
|
|
513
|
-
style:
|
|
449
|
+
class: I(["multiselect-list-box", { invalid: !i.isValid, disabled: i.disabled }]),
|
|
450
|
+
style: C(s.cssStyleSize)
|
|
514
451
|
}, [
|
|
515
|
-
|
|
516
|
-
|
|
452
|
+
m("div", M, [
|
|
453
|
+
m("ul", v(r.containerProps, {
|
|
517
454
|
id: i.id,
|
|
518
455
|
role: "listbox",
|
|
519
456
|
tabindex: "0",
|
|
@@ -521,41 +458,41 @@ function q(e, t, i, n, r, s) {
|
|
|
521
458
|
"aria-label": i.ariaLabel,
|
|
522
459
|
"aria-activedescendant": s.generateOptionId(s.getCurrentKeyNavItem()),
|
|
523
460
|
onKeydown: [
|
|
524
|
-
t[1] || (t[1] = d(
|
|
525
|
-
t[2] || (t[2] = d(
|
|
526
|
-
t[3] || (t[3] = d(
|
|
527
|
-
t[4] || (t[4] = d(
|
|
528
|
-
t[5] || (t[5] = d(
|
|
529
|
-
t[6] || (t[6] = d(
|
|
530
|
-
t[7] || (t[7] = d(
|
|
531
|
-
t[8] || (t[8] = d(
|
|
532
|
-
t[9] || (t[9] = d(
|
|
461
|
+
t[1] || (t[1] = a(d((...n) => s.onCtrlA && s.onCtrlA(...n), ["ctrl", "prevent", "exact"]), ["a"])),
|
|
462
|
+
t[2] || (t[2] = a(d((...n) => s.onArrowUp && s.onArrowUp(...n), ["prevent", "exact"]), ["up"])),
|
|
463
|
+
t[3] || (t[3] = a(d((...n) => s.onArrowDown && s.onArrowDown(...n), ["prevent", "exact"]), ["down"])),
|
|
464
|
+
t[4] || (t[4] = a(d((...n) => s.onArrowUpShift && s.onArrowUpShift(...n), ["shift", "prevent", "exact"]), ["up"])),
|
|
465
|
+
t[5] || (t[5] = a(d((...n) => s.onArrowDownShift && s.onArrowDownShift(...n), ["shift", "prevent", "exact"]), ["down"])),
|
|
466
|
+
t[6] || (t[6] = a(d((...n) => s.onArrowLeft && s.onArrowLeft(...n), ["prevent", "exact"]), ["left"])),
|
|
467
|
+
t[7] || (t[7] = a(d((...n) => s.onArrowRight && s.onArrowRight(...n), ["prevent", "exact"]), ["right"])),
|
|
468
|
+
t[8] || (t[8] = a(d((...n) => s.onHomeKey && s.onHomeKey(...n), ["prevent", "exact"]), ["home"])),
|
|
469
|
+
t[9] || (t[9] = a(d((...n) => s.onEndKey && s.onEndKey(...n), ["prevent", "exact"]), ["end"]))
|
|
533
470
|
],
|
|
534
|
-
onMousedown: t[10] || (t[10] = (...
|
|
535
|
-
onMousemove: t[11] || (t[11] = (...
|
|
471
|
+
onMousedown: t[10] || (t[10] = (...n) => s.onStartDrag && s.onStartDrag(...n)),
|
|
472
|
+
onMousemove: t[11] || (t[11] = (...n) => s.onDrag && s.onDrag(...n))
|
|
536
473
|
}), [
|
|
537
|
-
|
|
538
|
-
(h(!0), u(
|
|
539
|
-
id: s.generateOptionId(
|
|
540
|
-
key: `listbox-${
|
|
541
|
-
text:
|
|
474
|
+
m("div", w(V(r.wrapperProps)), [
|
|
475
|
+
(h(!0), u(k, null, D(r.list, ({ data: n, index: c }) => (h(), g(o, {
|
|
476
|
+
id: s.generateOptionId(n),
|
|
477
|
+
key: `listbox-${n.id}`,
|
|
478
|
+
text: n.text,
|
|
542
479
|
"data-option-index": c,
|
|
543
|
-
"line-height":
|
|
544
|
-
selected: s.isCurrentValue(
|
|
545
|
-
invalid:
|
|
546
|
-
special:
|
|
480
|
+
"line-height": r.optionLineHeight,
|
|
481
|
+
selected: s.isCurrentValue(n.id),
|
|
482
|
+
invalid: n.invalid,
|
|
483
|
+
special: n.special,
|
|
547
484
|
disabled: i.disabled,
|
|
548
|
-
onClick: (
|
|
549
|
-
onDblclickShift: t[0] || (t[0] = (
|
|
550
|
-
onDblclickExact: (
|
|
485
|
+
onClick: (f) => s.handleClick(f, n.id, c),
|
|
486
|
+
onDblclickShift: t[0] || (t[0] = (f) => s.handleShiftDblClick()),
|
|
487
|
+
onDblclickExact: (f) => s.handleDblClick(n.id, c)
|
|
551
488
|
}, null, 8, ["id", "text", "data-option-index", "line-height", "selected", "invalid", "special", "disabled", "onClick", "onDblclickExact"]))), 128))
|
|
552
489
|
], 16)
|
|
553
|
-
], 16,
|
|
554
|
-
s.showEmptyState ? (h(), u("div",
|
|
555
|
-
i.emptyStateComponent ? (h(), g(
|
|
490
|
+
], 16, P),
|
|
491
|
+
s.showEmptyState ? (h(), u("div", E, [
|
|
492
|
+
i.emptyStateComponent ? (h(), g(H(i.emptyStateComponent), { key: 0 })) : (h(), u("span", R, B(i.emptyStateLabel), 1))
|
|
556
493
|
])) : b("", !0),
|
|
557
|
-
i.withBottomValue ? (h(), u("div",
|
|
558
|
-
|
|
494
|
+
i.withBottomValue ? (h(), u("div", U, [
|
|
495
|
+
K(o, {
|
|
559
496
|
id: s.generateOptionId(i.bottomValue),
|
|
560
497
|
special: "",
|
|
561
498
|
text: i.bottomValue.text,
|
|
@@ -563,7 +500,7 @@ function q(e, t, i, n, r, s) {
|
|
|
563
500
|
selected: s.isCurrentValue(i.bottomValue.id),
|
|
564
501
|
disabled: i.disabled,
|
|
565
502
|
onClick: s.handleBottomClick,
|
|
566
|
-
onDblclickShift: t[12] || (t[12] = (
|
|
503
|
+
onDblclickShift: t[12] || (t[12] = (n) => s.handleShiftDblClick()),
|
|
567
504
|
onDblclickExact: s.handleBottomDblClick,
|
|
568
505
|
onMousedown: s.onBottomStartDrag,
|
|
569
506
|
onMousemove: s.onBottomDrag
|
|
@@ -572,7 +509,7 @@ function q(e, t, i, n, r, s) {
|
|
|
572
509
|
])
|
|
573
510
|
], 6);
|
|
574
511
|
}
|
|
575
|
-
const
|
|
512
|
+
const _ = /* @__PURE__ */ L(z, [["render", F], ["__scopeId", "data-v-13be1424"]]);
|
|
576
513
|
export {
|
|
577
|
-
|
|
514
|
+
_ as M
|
|
578
515
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, openBlock as o, createBlock as t, mergeProps as a } from "vue";
|
|
2
|
-
import l from "./MultimodeTwinlistControl-
|
|
2
|
+
import l from "./MultimodeTwinlistControl-06t2HfAA.js";
|
|
3
3
|
const u = /* @__PURE__ */ n({
|
|
4
4
|
__name: "NameFilter",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as r } from "vue";
|
|
2
|
-
import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-HvcHTpTJ.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "NumberControl",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as v, computed as r, openBlock as V, createBlock as E, unref as f } from "vue";
|
|
2
|
-
import { u as y } from "./useBuiltinValidations-
|
|
3
|
-
import { N as b } from "./NumberInput-
|
|
2
|
+
import { u as y } from "./useBuiltinValidations-CQ7jhonx.js";
|
|
3
|
+
import { N as b } from "./NumberInput-BwvuSJTp.js";
|
|
4
4
|
const g = 1, h = 0.1, _ = /* @__PURE__ */ v({
|
|
5
5
|
__name: "NumberControlBase",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as p } from "./arrow-dropdown-DdgjzLAO.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import { resolveComponent as h, openBlock as o, createElementBlock as d, normalizeClass as l, createElementVNode as n, createCommentVNode as f, withModifiers as r, createVNode as m } from "vue";
|
|
4
|
-
import { _ as V } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
4
|
+
import { _ as V } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
5
5
|
const c = 200, g = 50, v = 0.1, E = 1, I = {
|
|
6
6
|
name: "NumberInput",
|
|
7
7
|
components: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as i, computed as u, openBlock as c, createBlock as m, unref as s } from "vue";
|
|
2
2
|
import { o as b } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import { D as f } from "./Dropdown-
|
|
3
|
+
import { D as f } from "./Dropdown-c0-3hZhQ.js";
|
|
4
4
|
const F = /* @__PURE__ */ i({
|
|
5
5
|
__name: "OneOfDropdown",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as e, openBlock as n, createBlock as t, mergeProps as a } from "vue";
|
|
2
|
-
import { _ as r } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-
|
|
3
|
-
import { _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { _ as r } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-DDINkVnv.js";
|
|
3
|
+
import { _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
4
4
|
const i = /* @__PURE__ */ e({
|
|
5
5
|
__name: "RadioControl",
|
|
6
6
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveComponent as c, openBlock as m, createBlock as p, normalizeClass as b, defineComponent as f, computed as s, ref as v, onMounted as B, resolveDynamicComponent as y, createCommentVNode as V } from "vue";
|
|
2
2
|
import { o as h } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import { B as _, V as g } from "./ValueSwitch-
|
|
4
|
-
import { _ as C } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
3
|
+
import { B as _, V as g } from "./ValueSwitch-DJjWcjH3.js";
|
|
4
|
+
import { _ as C } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
5
5
|
const R = {
|
|
6
6
|
name: "RadioButtons",
|
|
7
7
|
components: {
|
|
@@ -3,15 +3,15 @@ import { a as td, c as nd } from "./popper-CRR--9mA.js";
|
|
|
3
3
|
import { i as Ca } from "./navigator-D_R-txCf.js";
|
|
4
4
|
import { g as Ma } from "./hotkeys-kwHHtFKz.js";
|
|
5
5
|
import { C as rd } from "./close-BuY4mhXV.js";
|
|
6
|
-
import { _ as We, q as Ks, v as Bo } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
6
|
+
import { _ as We, q as Ks, v as Bo } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
7
7
|
import { F as id, u as sd } from "./useDropdownNavigation-7o7SRJSo.js";
|
|
8
|
-
import { B as Di } from "./Button-
|
|
9
|
-
import { I as Fo } from "./InputField-
|
|
8
|
+
import { B as Di } from "./Button-CO9MECNO.js";
|
|
9
|
+
import { I as Fo } from "./InputField-C_Kwnh2D.js";
|
|
10
10
|
import { u as va, f as Ta, s as Ea, a as Oa } from "./floating-ui.vue-B-MrqKCT.js";
|
|
11
11
|
import { o as od } from "./index-Bf0xDq3g.js";
|
|
12
12
|
import { N as ld } from "./arrow-next-CIOU5o42.js";
|
|
13
|
-
import { C as ad } from "./Checkbox-
|
|
14
|
-
import { t as cd } from "./toString-
|
|
13
|
+
import { C as ad } from "./Checkbox-C3WOC8SX.js";
|
|
14
|
+
import { t as cd } from "./toString-zfY2ugmM.js";
|
|
15
15
|
const ud = (n, e) => (n % e + e) % e, dd = me({
|
|
16
16
|
name: "BaseModal",
|
|
17
17
|
components: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as n, createElementBlock as s, createElementVNode as t, toDisplayString as r, renderSlot as i } from "vue";
|
|
2
|
-
import { _ as c } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { _ as c } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
3
3
|
const a = { class: "section-header" }, d = { class: "section-header-layout-container" }, _ = /* @__PURE__ */ o({
|
|
4
4
|
__name: "SectionHeading",
|
|
5
5
|
props: {
|