@knime/jsonforms 1.10.3 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/dist/{AnyOfTwinlist-Dh2rmqud.js → AnyOfTwinlist-C0BYfhuc.js} +1 -1
- package/dist/{Button-DD8nJr8n.js → Button-B2PevR13.js} +1 -1
- package/dist/{CheckboxControl-Dhu_5xL_.js → CheckboxControl-C9Eo-Get.js} +12 -13
- package/dist/{Checkboxes-Drf5an-Q.js → Checkboxes-BoSLHg-R.js} +16 -17
- package/dist/{CheckboxesControl-B46fZLOJ.js → CheckboxesControl-9OOMWktT.js} +2 -2
- package/dist/{ComboBoxControl-iOQVWvXs.js → ComboBoxControl-BQx3TWoL.js} +10 -11
- package/dist/{DateControl-CvwWIjQI.js → DateControl-CfI2AD4P.js} +1 -1
- package/dist/{DateTimeControl-ZRqB5hR_.js → DateTimeControl-BCvP4qo5.js} +2 -2
- package/dist/{DateTimeFormatInput-B9BAN642.js → DateTimeFormatInput-B9g7at3r.js} +3 -3
- package/dist/{DateTimeFormatPickerControl-BcJA9X5l.js → DateTimeFormatPickerControl-B9O1f_mH.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-DUjaPF-c.js → DateTimeFormatPickerWithTypeControl-ueXR9GQl.js} +3 -3
- package/dist/{DateTimeInput-B_CgJRcR.js → DateTimeInput-B_U-QJmL.js} +6 -6
- package/dist/{Dropdown-BngbhoRN.js → Dropdown-B_NNidgA.js} +2 -2
- package/dist/DropdownControl-HNf0y3og.js +31 -0
- package/dist/{HorizontalLayout-B-9fSSp4.js → HorizontalLayout-CMdaU98F.js} +1 -1
- package/dist/{InputField-Blkdyhf0.js → InputField-DKobsHBJ.js} +1 -1
- package/dist/{IntegerControl-D2l7THYv.js → IntegerControl-9YzuybpQ.js} +1 -1
- package/dist/{IntervalControl-BVuGSm6P.js → IntervalControl-DWOlVutr.js} +3 -3
- package/dist/{LoadingDropdown-PhOSUx1V.js → LoadingDropdown-DjDkU0GJ.js} +3 -3
- package/dist/MultiSelectListBoxControl-Dwxf-Auj.js +34 -0
- package/dist/{MultimodeTwinlistControl-xb9Ku5uw.js → MultimodeTwinlistControl-CgIOZGiK.js} +5 -5
- package/dist/{MultiselectListBox-CwvqA1NZ.js → MultiselectListBox-DVWx2L8G.js} +76 -139
- package/dist/{NameFilter-1Ficbjmb.js → NameFilter-CIEZ3MXY.js} +1 -1
- package/dist/{NumberControl-C9IPXddf.js → NumberControl-BTGdHGGc.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-pS4xOPTC.js → NumberControlBase.vue_vue_type_script_setup_true_lang-Cs69LvYa.js} +2 -2
- package/dist/{NumberInput-vDc1pJc8.js → NumberInput-B_xx1SLE.js} +1 -1
- package/dist/{OneOfDropdown-Cw2Xm7i7.js → OneOfDropdown-1Vh8BGXT.js} +1 -1
- package/dist/{RadioControl-BL51E8Qr.js → RadioControl-LOA6Mp-I.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-DV3nfTrK.js → RadioControlBase.vue_vue_type_script_setup_true_lang-BO1C66xG.js} +2 -2
- package/dist/{RichTextControl-B8ZSKUA1.js → RichTextControl-BV881LVa.js} +14 -15
- package/dist/{SectionHeading-CIY28AZg.js → SectionHeading-9w_hIbyv.js} +1 -1
- package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-B7_JuEON.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CrLBs-gn.js} +5414 -5265
- package/dist/{SectionLayout-CGKQLSyP.js → SectionLayout-CTkFSsDA.js} +3 -3
- package/dist/{SettingsSubPanel-DpdhyTCO.js → SettingsSubPanel-BbZP8Ymj.js} +1 -1
- package/dist/{SettingsSubPanelLayout-CgrOOfmr.js → SettingsSubPanelLayout-s00rjvBL.js} +4 -4
- package/dist/{SimpleButtonControl-Dq-_oElV.js → SimpleButtonControl-CuOsmR2j.js} +2 -2
- package/dist/{SimpleTwinlistControl-CPDPfXDG.js → SimpleTwinlistControl-CYOMlGEL.js} +2 -2
- package/dist/{SingleSelectControl-DBO_gnbC.js → SingleSelectControl-Dw1VHL_S.js} +2 -2
- package/dist/SingleSelectListBoxControl-fJHYO33a.js +234 -0
- package/dist/{SortListControl-N0PHx9nz.js → SortListControl-BvbvFUOf.js} +6 -6
- package/dist/StyledListItem-Cpvg8mvO.js +72 -0
- package/dist/{TextAreaControl-BDCUJ66D.js → TextAreaControl-D9rNGe7P.js} +1 -1
- package/dist/{TextControl-CDTEDzJU.js → TextControl-j_CdOruM.js} +1 -1
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-Drnp3Zra.js +54 -0
- package/dist/{TimeControl-BYg8p2x7.js → TimeControl-BR-v1k78.js} +2 -2
- package/dist/{TwinlistControlBase-CA-hS5do.js → TwinlistControlBase-C-LwkBvD.js} +3 -3
- package/dist/{TwinlistLoadingInfo-CczuC-Fz.js → TwinlistLoadingInfo-C0fjx5Ik.js} +4 -4
- package/dist/{TypedStringFilter-1lIWO-LL.js → TypedStringFilter-C2m_LzO-.js} +1 -1
- package/dist/{ValueSwitch-SaYAIkL9.js → ValueSwitch-D4b_VjAX.js} +1 -1
- package/dist/{ValueSwitchControl-30-OhDts.js → ValueSwitchControl-D5Wvvjkl.js} +1 -1
- package/dist/{VerticalLayout-XZDIzC22.js → VerticalLayout-BWdIxoLw.js} +2 -2
- package/dist/{VerticalLayoutBase-BJqVRx97.js → VerticalLayoutBase-BDXZiCFe.js} +1 -1
- package/dist/{ZonedDateTimeControl-BxjsbtVt.js → ZonedDateTimeControl-DxYaZt1o.js} +4 -4
- package/dist/{_baseEach-D8RnrYrB.js → _baseEach-CeIQwrHm.js} +2 -2
- package/dist/{_baseIteratee-D9UH3M63.js → _baseIteratee-CcE6KGT4.js} +13 -13
- package/dist/{_getTag-CA0hgY0u.js → _getTag--DhdlgdA.js} +7 -7
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +7 -7
- package/dist/{localTimeUtils-BrGs9gYt.js → localTimeUtils-CCm4ffv1.js} +1 -1
- package/dist/{magic-string.es-Cu11P2Wx.js → magic-string.es-qNw6JCs_.js} +10 -10
- package/dist/src/constants/inputFormats.d.ts +2 -0
- package/dist/src/higherOrderComponents/control/withLabel.d.ts +3 -0
- package/dist/src/renderers/defaultRenderers.d.ts +4 -50
- package/dist/src/renderers/dropdownRenderer.d.ts +1 -25
- package/dist/src/renderers/fallbackRenderers.d.ts +1 -25
- package/dist/src/renderers/multiSelectListBoxRenderer.d.ts +2 -0
- package/dist/src/renderers/singleSelectListBoxRenderer.d.ts +2 -0
- package/dist/src/renderers/textRenderer.d.ts +1 -25
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +2 -13
- package/dist/src/uiComponents/MultiSelectListBoxControl.vue.d.ts +3 -0
- package/dist/src/uiComponents/SingleSelectListBoxControl.vue.d.ts +3 -0
- package/dist/src/uiComponents/TextControl.vue.d.ts +4 -13
- package/dist/src/uiComponents/composables/useHideOnNull.d.ts +2 -4
- package/dist/{svgWithTitle-CHVPPDPX.js → svgWithTitle-CMKpJKYe.js} +1 -1
- package/dist/testing.js +3 -3
- package/dist/{toString-C1degr1B.js → toString-BNdfvkwo.js} +1 -1
- package/dist/{useBuiltinValidations-CRcABzj-.js → useBuiltinValidations-CPGk0tzm.js} +1 -1
- package/dist/{usePossibleValues-Cl7X2zdT.js → usePossibleValues-C_KA5P1k.js} +1 -1
- package/package.json +3 -3
- package/dist/Checkbox-wvG2anWL.js +0 -75
- package/dist/DropdownControl-DvKK3lKy.js +0 -84
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-CIACum6_.js +0 -93
- package/dist/useHideOnNull-CCfNP3O7.js +0 -42
|
@@ -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-Cpvg8mvO.js";
|
|
4
|
+
import { _ as L } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CrLBs-gn.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-CgIOZGiK.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-Cs69LvYa.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-CPGk0tzm.js";
|
|
3
|
+
import { N as b } from "./NumberInput-B_xx1SLE.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-CrLBs-gn.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-B_NNidgA.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-BO1C66xG.js";
|
|
3
|
+
import { _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CrLBs-gn.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-D4b_VjAX.js";
|
|
4
|
+
import { _ as C } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CrLBs-gn.js";
|
|
5
5
|
const R = {
|
|
6
6
|
name: "RadioButtons",
|
|
7
7
|
components: {
|
|
@@ -3,19 +3,18 @@ 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-
|
|
7
|
-
import { F as
|
|
8
|
-
import { B as Di } from "./Button-
|
|
9
|
-
import { I as Fo } from "./InputField-
|
|
6
|
+
import { _ as We, q as Ks, C as id, v as Bo } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CrLBs-gn.js";
|
|
7
|
+
import { F as sd, u as od } from "./useDropdownNavigation-7o7SRJSo.js";
|
|
8
|
+
import { B as Di } from "./Button-B2PevR13.js";
|
|
9
|
+
import { I as Fo } from "./InputField-DKobsHBJ.js";
|
|
10
10
|
import { u as va, f as Ta, s as Ea, a as Oa } from "./floating-ui.vue-B-MrqKCT.js";
|
|
11
|
-
import { o as
|
|
12
|
-
import { N as
|
|
13
|
-
import {
|
|
14
|
-
import { t as cd } from "./toString-C1degr1B.js";
|
|
11
|
+
import { o as ld } from "./index-Bf0xDq3g.js";
|
|
12
|
+
import { N as ad } from "./arrow-next-CIOU5o42.js";
|
|
13
|
+
import { t as cd } from "./toString-BNdfvkwo.js";
|
|
15
14
|
const ud = (n, e) => (n % e + e) % e, dd = me({
|
|
16
15
|
name: "BaseModal",
|
|
17
16
|
components: {
|
|
18
|
-
FocusTrap:
|
|
17
|
+
FocusTrap: sd
|
|
19
18
|
},
|
|
20
19
|
props: {
|
|
21
20
|
/**
|
|
@@ -215,7 +214,7 @@ function wd(n, e, t, r, i, s) {
|
|
|
215
214
|
const Cd = /* @__PURE__ */ We(gd, [["render", wd], ["__scopeId", "data-v-af81754c"]]), Md = ({ targets: n, callback: e }, t = J(!0)) => {
|
|
216
215
|
let r;
|
|
217
216
|
const i = () => {
|
|
218
|
-
r =
|
|
217
|
+
r = ld(n[0], e, { ignore: n });
|
|
219
218
|
}, s = () => {
|
|
220
219
|
typeof r < "u" && r();
|
|
221
220
|
};
|
|
@@ -283,7 +282,7 @@ const Cd = /* @__PURE__ */ We(gd, [["render", wd], ["__scopeId", "data-v-af81754
|
|
|
283
282
|
})) : ne("", !0),
|
|
284
283
|
B("div", Ed, [
|
|
285
284
|
B("div", Od, [
|
|
286
|
-
r.item.checkbox ? (N(), re(
|
|
285
|
+
r.item.checkbox ? (N(), re(id, {
|
|
287
286
|
key: 0,
|
|
288
287
|
"model-value": r.item.checkbox.checked,
|
|
289
288
|
class: "checkbox"
|
|
@@ -473,7 +472,7 @@ const Rd = ["aria-label"], Ld = ["data-index", "title", "onClick", "onPointerent
|
|
|
473
472
|
onKeydown: u,
|
|
474
473
|
resetNavigation: d,
|
|
475
474
|
setElement: f
|
|
476
|
-
} =
|
|
475
|
+
} = od({
|
|
477
476
|
disableSpaceToClick: r.disableSpaceToClick,
|
|
478
477
|
getNextElement: a,
|
|
479
478
|
close: () => i("close")
|
|
@@ -551,7 +550,7 @@ const Rd = ["aria-label"], Ld = ["data-index", "title", "onClick", "onPointerent
|
|
|
551
550
|
{ highlight: w(k) }
|
|
552
551
|
])
|
|
553
552
|
}, [
|
|
554
|
-
Q($(
|
|
553
|
+
Q($(ad), { class: "icon" }),
|
|
555
554
|
o.value === A ? (N(), re(v, {
|
|
556
555
|
key: 0,
|
|
557
556
|
id: `${L}__sub${A}`,
|
|
@@ -17296,7 +17295,7 @@ const Qb = { render: Xb }, Zb = { class: "tools" }, e1 = /* @__PURE__ */ me({
|
|
|
17296
17295
|
_: 1
|
|
17297
17296
|
}, 8, ["id", "class", "model-value", "editable", "disabled", "link-tool-options", "custom-extensions", "onUpdate:modelValue"]));
|
|
17298
17297
|
}
|
|
17299
|
-
}),
|
|
17298
|
+
}), T1 = /* @__PURE__ */ We(d1, [["__scopeId", "data-v-4497c003"]]);
|
|
17300
17299
|
export {
|
|
17301
|
-
|
|
17300
|
+
T1 as default
|
|
17302
17301
|
};
|
|
@@ -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-CrLBs-gn.js";
|
|
3
3
|
const a = { class: "section-header" }, d = { class: "section-header-layout-container" }, _ = /* @__PURE__ */ o({
|
|
4
4
|
__name: "SectionHeading",
|
|
5
5
|
props: {
|