@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.
- package/CHANGELOG.md +13 -0
- package/README.md +6 -0
- package/dist/AnyOfTwinlist-BaKgX8A7.js +22 -0
- package/dist/{Checkbox-uBRF2ZKG.js → Checkbox-BnKpZFTE.js} +1 -1
- package/dist/{CheckboxControl-B9Sd2LLd.js → CheckboxControl-5w7zlrdd.js} +1 -1
- package/dist/{CheckboxesControl-CTaoagZv.js → CheckboxesControl-0al-vEKC.js} +2 -2
- package/dist/{ColorControl-DxCjpcHn.js → ColorControl-Dzp0Qztx.js} +1 -1
- package/dist/{ColorPreviewControl-C7MmFIpq.js → ColorPreviewControl-DD9oq2kB.js} +5 -5
- package/dist/{ComboBoxControl-CV4SCOo7.js → ComboBoxControl-BOoPDajP.js} +14 -15
- package/dist/{DateControl-9d_SPymX.js → DateControl-BqYwfkTb.js} +1 -1
- package/dist/{DateTimeControl-nxVjz31-.js → DateTimeControl-CNkPjqie.js} +1 -1
- package/dist/{DateTimeFormatPickerControl-CMgXr7tA.js → DateTimeFormatPickerControl-BawKiO92.js} +1 -1
- package/dist/DateTimeFormatPickerWithTypeControl-BZhGNGGy.js +464 -0
- package/dist/{DropdownControl-BXbRH5G-.js → DropdownControl-C5dZUtMO.js} +2 -2
- package/dist/{ExecutorCoresControl-B04lAS0W.js → ExecutorCoresControl-D_f2Ii7P.js} +2 -2
- package/dist/{ExecutorMemoryControl-CraHGxVJ.js → ExecutorMemoryControl-Bi5ddlwR.js} +2 -2
- package/dist/FileUploadControl-Bpc7-Tjx.js +210 -0
- package/dist/{GridSelectionControl-Cqrr0vTk.js → GridSelectionControl-DS8kT_Nx.js} +17 -17
- package/dist/{HorizontalLayout-BRxOESz6.js → HorizontalLayout-CIcEcUaB.js} +1 -1
- package/dist/{IntegerControl-BG7i8ix-.js → IntegerControl-CNd2Zml6.js} +1 -1
- package/dist/{IntervalControl-YdZin9Wi.js → IntervalControl-BPiRezHq.js} +11 -11
- package/dist/{LinkControl-Ntwn3ko5.js → LinkControl-Bp2h1jSd.js} +3 -3
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-CiYSPKlk.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-BRmvlIKr.js} +5 -5
- package/dist/ManualTwinlistControl-Dtx1Qiz7.js +72 -0
- package/dist/{MultiselectListBox-DE0QC--O.js → MultiSelectListBoxControl-DXLGhCNi.js} +103 -78
- package/dist/MultimodeTwinlistControl-CKRsC015.js +4 -0
- package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CV2htSnA.js +157 -0
- package/dist/{NameFilter-dUTC31qA.js → NameFilter-BGJOxdjr.js} +4 -4
- package/dist/{NumberControl-Bi9ixtTO.js → NumberControl-B05C6ECd.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-BkEh0Ykh.js → NumberControlBase.vue_vue_type_script_setup_true_lang-B64ImWmo.js} +2 -2
- package/dist/{OneOfDropdown-BR4WCua4.js → OneOfDropdown-DFr8wkfK.js} +4 -4
- package/dist/{RadioButtonsWithDescriptionControl-C69ZDGN4.js → RadioButtonsWithDescriptionControl-FxnrFURa.js} +1 -1
- package/dist/{RadioControl-DnF-ishb.js → RadioControl-B3Wse8Ra.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-DvfaMgRR.js → RadioControlBase.vue_vue_type_script_setup_true_lang-B6fvhFpH.js} +2 -2
- package/dist/{ResourceControlBase-OgchIcbA.js → ResourceControlBase-CS-UW4Kt.js} +2 -2
- package/dist/{RichTextControl-sy7UyTn8.js → RichTextControl-BYuWpXlC.js} +1629 -1489
- package/dist/{SectionHeading-Dfcyl0Yz.js → SectionHeading-DH9g1jBv.js} +1 -1
- package/dist/{SectionLayout-CqIHiM2R.js → SectionLayout-DrSBiXd-.js} +3 -3
- package/dist/SettingsSubPanel-CZu70rLw.js +5 -0
- package/dist/{SettingsSubPanelLayout-DNEqHncD.js → SettingsSubPanelLayout-CR7zIFEo.js} +7 -7
- package/dist/{SimpleButtonControl-BKV86mQ0.js → SimpleButtonControl-B2fHLn6i.js} +8 -8
- package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-CwE6CdU-.js +28169 -0
- package/dist/SimpleTwinlistControl-BeebhKhJ.js +22 -0
- package/dist/{SingleSelectControl-CMEjgiNY.js → SingleSelectControl-W6KYjtSP.js} +2 -2
- package/dist/{SingleSelectListBoxControl-zUEWoGd8.js → SingleSelectListBoxControl-Cp_vbfKc.js} +3 -3
- package/dist/SortListControl-b3lDXyoN.js +103 -0
- package/dist/{StyledListItem-Dmiasg50.js → StyledListItem-B97G9CDY.js} +1 -1
- package/dist/{TeamAndSpacesControl-2B_pTWqM.js → TeamAndSpacesControl-BaOQSDum.js} +1 -1
- package/dist/{TeamResourceControl-BFCZeFBI.js → TeamResourceControl-DdB1fE3C.js} +2 -2
- package/dist/{TextAreaControl-DWtOmv7O.js → TextAreaControl-CVRPcJt8.js} +1 -1
- package/dist/{TextControl-DwAc1Lgx.js → TextControl-BqJncTor.js} +1 -1
- 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
- package/dist/{TimeControl-n4lsWwMk.js → TimeControl-DvCOb5wo.js} +1 -1
- package/dist/{TimePartInput-DTxykHkb.js → TimePartInput-DGfV6WeZ.js} +1 -1
- package/dist/{TimeframesControl-CPnnV-IY.js → TimeframesControl-7oW8Nb-d.js} +2 -2
- package/dist/{Tooltip-CQD85sdp.js → Tooltip-ZO6iIct2.js} +1 -1
- package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-Ck66siqL.js +42 -0
- package/dist/{TypedStringFilter-7TKnShae.js → TypedStringFilter-cQS5GH50.js} +8 -9
- package/dist/{ValueSwitch-BuQf-fpg.js → ValueSwitch-BXc_PE8P.js} +6 -6
- package/dist/{ValueSwitchControl-DUWpTxo1.js → ValueSwitchControl-CZStDbmJ.js} +1 -1
- package/dist/{VerticalLayout-BR0nc-T3.js → VerticalLayout-BsGmnjxN.js} +2 -2
- package/dist/{VerticalLayoutBase-BmUvz2xm.js → VerticalLayoutBase-CEM6gzmm.js} +1 -1
- package/dist/{ZonedDateTimeControl-4Zlm92zJ.js → ZonedDateTimeControl-BrhYGJwr.js} +2 -2
- package/dist/{_Uint8Array-CgOaNCk1.js → _Uint8Array-DDNG27um.js} +14 -14
- package/dist/{_baseIteratee-B7GNekaD.js → _baseIteratee-CpLcQZ3B.js} +9 -9
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +113 -102
- package/dist/{localTimeUtils-GW01Jwt9.js → localTimeUtils-DA3ktTUE.js} +1671 -1579
- package/dist/{popper-D54JdmBM.js → popper-70nckCW_.js} +53 -53
- package/dist/src/renderers/defaultRenderers.d.ts +1 -930
- package/dist/src/renderers/sortListRenderer.d.ts +1 -930
- package/dist/src/uiComponents/SortListControl.vue.d.ts +2 -918
- package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +2 -2
- package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +2 -8
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +2 -5
- package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/toKdsPossibleValues.d.ts +9 -0
- package/dist/testing.js +2 -2
- package/dist/toKdsPossibleValues-BklBg3gG.js +14 -0
- package/dist/{toString-EJiXsCqP.js → toString-N4qKgUAY.js} +1 -1
- package/dist/{useBuiltinValidations-C-jX-GU7.js → useBuiltinValidations-C3nXdk7R.js} +1 -1
- package/dist/{usePossibleValues-CdNvUspy.js → usePossibleValues-CdZtv_zD.js} +1 -1
- package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-De2_vatY.js → useUnknownValuesInTwinlist-BANpCttu.js} +6 -7
- package/package.json +5 -5
- package/dist/AnyOfTwinlist-BXOiwhPe.js +0 -22
- package/dist/DateTimeFormatPickerWithTypeControl-TpmjEZVL.js +0 -442
- package/dist/FileUploadControl-D3Awi7rK.js +0 -197
- package/dist/InputField-BPW3gcOb.js +0 -148
- package/dist/LoadingIcon-DWlZH7u-.js +0 -29
- package/dist/ManualTwinlistControl-Ag2U5qFU.js +0 -79
- package/dist/MultiSelectListBoxControl-yIxxGB8U.js +0 -31
- package/dist/MultimodeTwinlistControl-Cx8g1mbI.js +0 -598
- package/dist/SettingsSubPanel-B5IVsvuc.js +0 -5
- package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-D4snRy74.js +0 -26292
- package/dist/SimpleTwinlistControl-5zMN3nHL.js +0 -25
- package/dist/SortListControl-Rh42JVSy.js +0 -389
- package/dist/TwinlistControlBase-DpODIPuw.js +0 -57
- package/dist/TwinlistLoadingInfo-BwuYp151.js +0 -956
- package/dist/_baseAssignValue-DAm2gl_N.js +0 -19
- package/dist/_baseEach-CpynTt09.js +0 -30
- package/dist/createMissingItem-B00Kg95q.js +0 -4
- package/dist/navigator-e30QQMkl.js +0 -4
- package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +0 -2
- package/dist/useSearch-hpyYQ_6y.js +0 -74
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as S, useCssVars as U, unref as n, ref as D, computed as s, watch as f, openBlock as c, createElementBlock as u, normalizeStyle as G, Fragment as T, renderList as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as S, useCssVars as U, unref as n, ref as D, computed as s, watch as f, openBlock as c, createElementBlock as u, normalizeStyle as G, Fragment as T, renderList as A, createBlock as h, createCommentVNode as p, createVNode as B, withModifiers as N } from "vue";
|
|
2
|
+
import { a5 as $, a6 as z, y as O, _ as R } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-CwE6CdU-.js";
|
|
3
3
|
const W = { class: "grid-list" }, H = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "checkbox"
|
|
6
|
-
},
|
|
6
|
+
}, j = 7, q = "auto", J = "Invert selection", K = /* @__PURE__ */ S({
|
|
7
7
|
__name: "GridSelectionControl",
|
|
8
8
|
props: {
|
|
9
9
|
handleChange: { type: Function },
|
|
@@ -23,9 +23,9 @@ const W = { class: "grid-list" }, H = {
|
|
|
23
23
|
handleChange: C
|
|
24
24
|
} = r, {
|
|
25
25
|
possibleValues: o = [],
|
|
26
|
-
columnCount: I =
|
|
27
|
-
gridWidth: k =
|
|
28
|
-
toggleLabel: m =
|
|
26
|
+
columnCount: I = j,
|
|
27
|
+
gridWidth: k = q,
|
|
28
|
+
toggleLabel: m = J,
|
|
29
29
|
renderLastItemAsCheckbox: d = !1
|
|
30
30
|
} = b, a = D(/* @__PURE__ */ new Map()), x = s(() => ({
|
|
31
31
|
"grid-template-columns": `repeat(${I}, 1fr)`
|
|
@@ -35,7 +35,7 @@ const W = { class: "grid-list" }, H = {
|
|
|
35
35
|
)
|
|
36
36
|
), i = s(
|
|
37
37
|
() => d ? o[o.length - 1] : null
|
|
38
|
-
),
|
|
38
|
+
), L = () => {
|
|
39
39
|
const e = /* @__PURE__ */ new Map();
|
|
40
40
|
a.value.forEach(
|
|
41
41
|
({ active: t }, l) => {
|
|
@@ -44,7 +44,7 @@ const W = { class: "grid-list" }, H = {
|
|
|
44
44
|
});
|
|
45
45
|
}
|
|
46
46
|
), a.value = e;
|
|
47
|
-
},
|
|
47
|
+
}, M = () => {
|
|
48
48
|
const e = /* @__PURE__ */ new Map();
|
|
49
49
|
return o.forEach(({ id: t }) => {
|
|
50
50
|
e.set(t, { active: r.control.data?.includes(t) ?? !1 });
|
|
@@ -56,8 +56,8 @@ const W = { class: "grid-list" }, H = {
|
|
|
56
56
|
t && e.push(l);
|
|
57
57
|
}
|
|
58
58
|
), e;
|
|
59
|
-
}),
|
|
60
|
-
const e = g.value, t =
|
|
59
|
+
}), w = s(() => r.control.data ?? []), _ = s(() => {
|
|
60
|
+
const e = g.value, t = w.value;
|
|
61
61
|
if (e.length !== t.length)
|
|
62
62
|
return !0;
|
|
63
63
|
const l = new Set(t);
|
|
@@ -66,7 +66,7 @@ const W = { class: "grid-list" }, H = {
|
|
|
66
66
|
return f(
|
|
67
67
|
() => r.control.data,
|
|
68
68
|
() => {
|
|
69
|
-
_.value && (a.value =
|
|
69
|
+
_.value && (a.value = M());
|
|
70
70
|
},
|
|
71
71
|
{ immediate: !0, deep: !0 }
|
|
72
72
|
), f(
|
|
@@ -81,10 +81,10 @@ const W = { class: "grid-list" }, H = {
|
|
|
81
81
|
class: "grid-list-container",
|
|
82
82
|
style: G(x.value)
|
|
83
83
|
}, [
|
|
84
|
-
(c(!0), u(T, null,
|
|
84
|
+
(c(!0), u(T, null, A(E.value, ({ id: l, text: v }) => (c(), h(n($), {
|
|
85
85
|
key: `grid-item-${l}`,
|
|
86
86
|
modelValue: a.value.get(l).active,
|
|
87
|
-
"onUpdate:modelValue": (
|
|
87
|
+
"onUpdate:modelValue": (F) => a.value.get(l).active = F,
|
|
88
88
|
class: "overwrite-legacy-styles",
|
|
89
89
|
label: v,
|
|
90
90
|
variant: "outlined",
|
|
@@ -92,7 +92,7 @@ const W = { class: "grid-list" }, H = {
|
|
|
92
92
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label"]))), 128))
|
|
93
93
|
], 4)) : p("", !0),
|
|
94
94
|
n(d) && i.value ? (c(), u("div", H, [
|
|
95
|
-
|
|
95
|
+
B(n(z), {
|
|
96
96
|
modelValue: a.value.get(i.value.id).active,
|
|
97
97
|
"onUpdate:modelValue": t[0] || (t[0] = (l) => a.value.get(i.value.id).active = l),
|
|
98
98
|
label: i.value.text
|
|
@@ -105,11 +105,11 @@ const W = { class: "grid-list" }, H = {
|
|
|
105
105
|
label: n(m),
|
|
106
106
|
"leading-icon": "replace",
|
|
107
107
|
class: "invert overwrite-legacy-styles",
|
|
108
|
-
onClick:
|
|
108
|
+
onClick: N(L, ["prevent"])
|
|
109
109
|
}, null, 8, ["label"])) : p("", !0)
|
|
110
110
|
]));
|
|
111
111
|
}
|
|
112
|
-
}),
|
|
112
|
+
}), X = /* @__PURE__ */ R(K, [["__scopeId", "data-v-7c90b0fa"]]);
|
|
113
113
|
export {
|
|
114
|
-
|
|
114
|
+
X as default
|
|
115
115
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as t, createElementBlock as a, Fragment as r, renderList as c, createBlock as s, unref as u } from "vue";
|
|
2
|
-
import { a as m, _ as i } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
2
|
+
import { a as m, _ as i } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-CwE6CdU-.js";
|
|
3
3
|
const d = { class: "horizontal" }, h = /* @__PURE__ */ o({
|
|
4
4
|
__name: "HorizontalLayout",
|
|
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-B64ImWmo.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "IntegerControl",
|
|
5
5
|
props: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { openBlock as p, createElementBlock as E, createElementVNode as c, resolveComponent as ye, normalizeClass as D, createCommentVNode as F, withModifiers as N, createVNode as I, defineComponent as H, useModel as k, computed as P, Fragment as C, createBlock as te, withDirectives as b, vShow as S, renderList as X, unref as m, toDisplayString as K, withCtx as W, createTextVNode as Ae, mergeModels as G, ref as T, watch as z, withKeys as Me, vModelText as we, normalizeStyle as xe } from "vue";
|
|
2
|
-
import { _ as U,
|
|
2
|
+
import { _ as U, O as De, Q as be, a7 as Pe, u as q } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-CwE6CdU-.js";
|
|
3
3
|
import { u as Re, a as Ne, s as _e, f as Se, o as Ce } from "./floating-ui.vue-Bk6u3tWN.js";
|
|
4
|
-
import { T as $e } from "./Tooltip-
|
|
4
|
+
import { T as $e } from "./Tooltip-ZO6iIct2.js";
|
|
5
5
|
import { A as Oe } from "./arrow-dropdown-DMFBPPcK.js";
|
|
6
6
|
/* empty css */
|
|
7
|
-
import { V as Z } from "./ValueSwitch-
|
|
7
|
+
import { V as Z } from "./ValueSwitch-BXc_PE8P.js";
|
|
8
8
|
const ae = (e, t) => ({
|
|
9
9
|
negative: e,
|
|
10
10
|
years: parseInt(t[1] ?? "0", 10),
|
|
@@ -325,7 +325,7 @@ const Xe = { render: Le }, Ke = 200, We = 50, ze = 0.1, qe = 1, Ze = {
|
|
|
325
325
|
key: 0,
|
|
326
326
|
class: "invalid-marker"
|
|
327
327
|
};
|
|
328
|
-
function
|
|
328
|
+
function Qe(e, t, a, s, u, n) {
|
|
329
329
|
const d = ye("ArrowIcon");
|
|
330
330
|
return p(), E("div", {
|
|
331
331
|
class: D(["wrapper", { disabled: a.disabled, compact: a.compact }])
|
|
@@ -366,12 +366,12 @@ function Je(e, t, a, s, u, n) {
|
|
|
366
366
|
], 34)
|
|
367
367
|
], 2);
|
|
368
368
|
}
|
|
369
|
-
const j = /* @__PURE__ */ U(Ze, [["render",
|
|
369
|
+
const j = /* @__PURE__ */ U(Ze, [["render", Qe], ["__scopeId", "data-v-0ce77f1e"]]), Q = [
|
|
370
370
|
"years",
|
|
371
371
|
"months",
|
|
372
372
|
"weeks",
|
|
373
373
|
"days"
|
|
374
|
-
],
|
|
374
|
+
], J = [
|
|
375
375
|
"hours",
|
|
376
376
|
"minutes",
|
|
377
377
|
"seconds",
|
|
@@ -397,7 +397,7 @@ const j = /* @__PURE__ */ U(Ze, [["render", Je], ["__scopeId", "data-v-0ce77f1e"
|
|
|
397
397
|
} : {
|
|
398
398
|
...t,
|
|
399
399
|
durationPart: e.interval
|
|
400
|
-
}, B = (e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase(),
|
|
400
|
+
}, B = (e) => e.charAt(0).toUpperCase() + e.slice(1).toLowerCase(), Je = { class: "header" }, et = { class: "ascending-descending-switch-container" }, tt = { class: "input-grid" }, at = { class: "input-label" }, nt = { class: "input-label" }, st = { class: "accept-controls" }, lt = /* @__PURE__ */ H({
|
|
401
401
|
__name: "IntervalInputPopoverContent",
|
|
402
402
|
props: /* @__PURE__ */ G({
|
|
403
403
|
format: {},
|
|
@@ -415,7 +415,7 @@ const j = /* @__PURE__ */ U(Ze, [["render", Je], ["__scopeId", "data-v-0ce77f1e"
|
|
|
415
415
|
emits: /* @__PURE__ */ G(["commit"], ["update:usedFormat", "update:modelValue"]),
|
|
416
416
|
setup(e, { emit: t }) {
|
|
417
417
|
const a = t, s = e, u = k(e, "usedFormat"), n = k(e, "modelValue"), d = P(() => {
|
|
418
|
-
const f = u.value === "DATE" ?
|
|
418
|
+
const f = u.value === "DATE" ? Q : J, v = u.value === "DATE" ? f.map(
|
|
419
419
|
(i) => n.value.periodPart[i]
|
|
420
420
|
) : f.map(
|
|
421
421
|
(i) => n.value.durationPart[i]
|
|
@@ -445,7 +445,7 @@ const j = /* @__PURE__ */ U(Ze, [["render", Je], ["__scopeId", "data-v-0ce77f1e"
|
|
|
445
445
|
);
|
|
446
446
|
};
|
|
447
447
|
return (f, v) => (p(), E(C, null, [
|
|
448
|
-
c("span",
|
|
448
|
+
c("span", Je, [
|
|
449
449
|
v[2] || (v[2] = c("span", { class: "input-title" }, "Interval", -1)),
|
|
450
450
|
s.format === "DATE_OR_TIME" ? (p(), te(Z, {
|
|
451
451
|
key: 0,
|
|
@@ -472,7 +472,7 @@ const j = /* @__PURE__ */ U(Ze, [["render", Je], ["__scopeId", "data-v-0ce77f1e"
|
|
|
472
472
|
[S, e.allowDescending]
|
|
473
473
|
]),
|
|
474
474
|
c("div", tt, [
|
|
475
|
-
(p(!0), E(C, null, X(m(
|
|
475
|
+
(p(!0), E(C, null, X(m(Q), (i) => b((p(), E("span", {
|
|
476
476
|
key: i,
|
|
477
477
|
class: "labeled-date-time-input"
|
|
478
478
|
}, [
|
|
@@ -488,7 +488,7 @@ const j = /* @__PURE__ */ U(Ze, [["render", Je], ["__scopeId", "data-v-0ce77f1e"
|
|
|
488
488
|
], 512)), [
|
|
489
489
|
[S, u.value === "DATE"]
|
|
490
490
|
])), 128)),
|
|
491
|
-
(p(!0), E(C, null, X(m(
|
|
491
|
+
(p(!0), E(C, null, X(m(J), (i) => b((p(), E("span", {
|
|
492
492
|
key: i,
|
|
493
493
|
class: "labeled-date-time-input"
|
|
494
494
|
}, [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, useCssVars as r, unref as n, openBlock as p, createElementBlock as d, createVNode as m } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a8 as u, _ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-CwE6CdU-.js";
|
|
3
3
|
const g = { class: "link-wrapper" }, f = /* @__PURE__ */ s({
|
|
4
4
|
__name: "LinkControl",
|
|
5
5
|
props: {
|
|
@@ -18,7 +18,7 @@ const g = { class: "link-wrapper" }, f = /* @__PURE__ */ s({
|
|
|
18
18
|
}));
|
|
19
19
|
const e = o, t = e.control.uischema.options?.alignment === "right" ? "flex-end" : "flex-start", { to: a, leadingIcon: l, trailingIcon: i } = e.control.uischema.options || {};
|
|
20
20
|
return (c, h) => (p(), d("div", g, [
|
|
21
|
-
m(n(
|
|
21
|
+
m(n(u), {
|
|
22
22
|
class: "link-button",
|
|
23
23
|
label: o.control.label,
|
|
24
24
|
to: n(a),
|
|
@@ -29,7 +29,7 @@ const g = { class: "link-wrapper" }, f = /* @__PURE__ */ s({
|
|
|
29
29
|
}, null, 8, ["label", "to", "leading-icon", "trailing-icon"])
|
|
30
30
|
]));
|
|
31
31
|
}
|
|
32
|
-
}), x = /* @__PURE__ */
|
|
32
|
+
}), x = /* @__PURE__ */ _(f, [["__scopeId", "data-v-d1973605"]]);
|
|
33
33
|
export {
|
|
34
34
|
x as default
|
|
35
35
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as v, computed as s, openBlock as V, createBlock as f, unref as y, mergeProps as g } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a2 as _ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-CwE6CdU-.js";
|
|
3
3
|
const L = /* @__PURE__ */ v({
|
|
4
4
|
__name: "LoadingDropdown",
|
|
5
5
|
props: {
|
|
@@ -34,21 +34,21 @@ const L = /* @__PURE__ */ v({
|
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
36
|
return a;
|
|
37
|
-
}), c = s(() => i.value ? "Loading" : o.value.length > 0 ? "No value selected" : "No values present"),
|
|
37
|
+
}), c = s(() => i.value ? "Loading" : o.value.length > 0 ? "No value selected" : "No values present"), m = s(
|
|
38
38
|
() => e.disabled || o.value.length === 0
|
|
39
|
-
),
|
|
39
|
+
), b = (a) => {
|
|
40
40
|
n("update:modelValue", a ?? "");
|
|
41
41
|
};
|
|
42
42
|
return (a, l) => (V(), f(y(_), g(a.$attrs, {
|
|
43
43
|
id: e.id,
|
|
44
44
|
ariaLabel: e.ariaLabel,
|
|
45
45
|
"model-value": d.value,
|
|
46
|
-
disabled:
|
|
46
|
+
disabled: m.value,
|
|
47
47
|
"possible-values": o.value,
|
|
48
48
|
loading: i.value,
|
|
49
49
|
placeholder: c.value,
|
|
50
50
|
error: e.error,
|
|
51
|
-
"onUpdate:modelValue":
|
|
51
|
+
"onUpdate:modelValue": b
|
|
52
52
|
}), null, 16, ["id", "ariaLabel", "model-value", "disabled", "possible-values", "loading", "placeholder", "error"]));
|
|
53
53
|
}
|
|
54
54
|
});
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { defineComponent as k, toRef as i, computed as t, openBlock as C, createBlock as U, unref as a, mergeProps as x } from "vue";
|
|
2
|
+
import { a4 as I } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-CwE6CdU-.js";
|
|
3
|
+
import { m as r } from "./index-Blg1O3Fz.js";
|
|
4
|
+
import { a as M, u as v } from "./usePossibleValues-CdZtv_zD.js";
|
|
5
|
+
import { t as F } from "./toKdsPossibleValues-BklBg3gG.js";
|
|
6
|
+
import { u as L } from "./useUnknownValuesInTwinlist-BANpCttu.js";
|
|
7
|
+
const K = /* @__PURE__ */ k({
|
|
8
|
+
__name: "ManualTwinlistControl",
|
|
9
|
+
props: {
|
|
10
|
+
control: {},
|
|
11
|
+
handleChange: { type: Function },
|
|
12
|
+
changeValue: { type: Function },
|
|
13
|
+
disabled: { type: Boolean },
|
|
14
|
+
isValid: { type: Boolean },
|
|
15
|
+
onRegisterValidation: { type: Function },
|
|
16
|
+
labelForId: {}
|
|
17
|
+
},
|
|
18
|
+
setup(o) {
|
|
19
|
+
const n = o, { excludedLabel: m, includedLabel: p } = M(
|
|
20
|
+
i(n, "control")
|
|
21
|
+
), { possibleValues: c } = v(
|
|
22
|
+
i(n, "control")
|
|
23
|
+
), b = t(
|
|
24
|
+
() => F(c.value ?? [])
|
|
25
|
+
), { selectedAndDeselected: u, setCurrentManualFilter: f } = L({
|
|
26
|
+
data: t(() => ({ manualFilter: n.control.data })),
|
|
27
|
+
possibleValueIds: t(
|
|
28
|
+
() => c.value?.map(({ id: e }) => e) ?? null
|
|
29
|
+
)
|
|
30
|
+
}), y = (e) => {
|
|
31
|
+
const d = r(n.control.data, e);
|
|
32
|
+
n.changeValue(d), f(d);
|
|
33
|
+
};
|
|
34
|
+
let l = null;
|
|
35
|
+
const g = () => {
|
|
36
|
+
if (l !== null) {
|
|
37
|
+
const e = l;
|
|
38
|
+
l = null, y(e);
|
|
39
|
+
}
|
|
40
|
+
}, s = (e) => {
|
|
41
|
+
l === null ? (l = e, queueMicrotask(g)) : l = r(
|
|
42
|
+
l,
|
|
43
|
+
e
|
|
44
|
+
);
|
|
45
|
+
}, V = (e) => {
|
|
46
|
+
s({ manuallySelected: e });
|
|
47
|
+
}, w = (e) => {
|
|
48
|
+
s({ manuallyDeselected: e });
|
|
49
|
+
}, h = (e) => {
|
|
50
|
+
e !== null && s({ includeUnknownColumns: e });
|
|
51
|
+
};
|
|
52
|
+
return (e, d) => (C(), U(a(I), x(e.$attrs, {
|
|
53
|
+
id: o.labelForId,
|
|
54
|
+
ariaLabel: o.control.label,
|
|
55
|
+
disabled: o.disabled,
|
|
56
|
+
"manually-included": a(u).selected ?? [],
|
|
57
|
+
"manually-excluded": a(u).deselected ?? [],
|
|
58
|
+
"include-unknown-values": o.control.data.includeUnknownColumns,
|
|
59
|
+
"possible-values": b.value,
|
|
60
|
+
loading: a(u).selected === null,
|
|
61
|
+
"exclude-label": a(m),
|
|
62
|
+
"include-label": a(p),
|
|
63
|
+
error: !n.isValid,
|
|
64
|
+
"onUpdate:manuallyIncluded": V,
|
|
65
|
+
"onUpdate:manuallyExcluded": w,
|
|
66
|
+
"onUpdate:includeUnknownValues": h
|
|
67
|
+
}), null, 16, ["id", "ariaLabel", "disabled", "manually-included", "manually-excluded", "include-unknown-values", "possible-values", "loading", "exclude-label", "include-label", "error"]));
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
export {
|
|
71
|
+
K as default
|
|
72
|
+
};
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
import { toRef as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { toRef as S, watch as y, resolveComponent as p, openBlock as h, createElementBlock as c, normalizeStyle as I, normalizeClass as V, createElementVNode as f, mergeProps as v, withKeys as a, withModifiers as d, normalizeProps as C, guardReactiveProps as w, Fragment as k, renderList as D, createBlock as g, withCtx as B, renderSlot as H, resolveDynamicComponent as K, toDisplayString as N, createCommentVNode as b, createVNode as L, defineComponent as A, unref as x } from "vue";
|
|
2
|
+
import { u as T } from "./usePossibleValues-CdZtv_zD.js";
|
|
3
|
+
import { a9 as O, R as z, _ as P } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-CwE6CdU-.js";
|
|
4
|
+
import { S as M } from "./StyledListItem-B97G9CDY.js";
|
|
5
|
+
const R = (e, t) => {
|
|
6
|
+
let i, n = 0;
|
|
7
|
+
return (...o) => {
|
|
8
|
+
const [s, r] = o;
|
|
8
9
|
clearTimeout(i);
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
const l = Date.now();
|
|
11
|
+
l - n > t ? (n = l, e(s, r)) : i = setTimeout(() => {
|
|
12
|
+
n = l, e(s, r);
|
|
12
13
|
}, t);
|
|
13
14
|
};
|
|
14
|
-
},
|
|
15
|
+
}, E = 250, U = {
|
|
15
16
|
name: "MultiselectListBox",
|
|
16
|
-
components: { StyledListItem:
|
|
17
|
+
components: { StyledListItem: M },
|
|
17
18
|
props: {
|
|
18
19
|
id: {
|
|
19
20
|
type: String,
|
|
20
21
|
default() {
|
|
21
|
-
return `MultiselectListBox-${
|
|
22
|
+
return `MultiselectListBox-${z()}`;
|
|
22
23
|
}
|
|
23
24
|
},
|
|
24
25
|
modelValue: {
|
|
@@ -121,22 +122,22 @@ const z = (e, t) => {
|
|
|
121
122
|
"keyArrowRight"
|
|
122
123
|
],
|
|
123
124
|
setup(e) {
|
|
124
|
-
const { containerProps: i, wrapperProps:
|
|
125
|
-
|
|
125
|
+
const { containerProps: i, wrapperProps: n, list: o, scrollTo: s } = O(
|
|
126
|
+
S(e, "possibleValues"),
|
|
126
127
|
{
|
|
127
128
|
itemHeight: 22
|
|
128
129
|
}
|
|
129
130
|
);
|
|
130
|
-
return
|
|
131
|
+
return y(
|
|
131
132
|
() => e.possibleValues,
|
|
132
133
|
() => {
|
|
133
134
|
if (!i.ref.value)
|
|
134
135
|
return;
|
|
135
|
-
const
|
|
136
|
+
const r = i.ref.value?.scrollTop ?? 0;
|
|
136
137
|
s(
|
|
137
138
|
Math.max(
|
|
138
139
|
Math.min(
|
|
139
|
-
Math.floor(
|
|
140
|
+
Math.floor(r / 22),
|
|
140
141
|
e.possibleValues.length - 1
|
|
141
142
|
),
|
|
142
143
|
0
|
|
@@ -146,8 +147,8 @@ const z = (e, t) => {
|
|
|
146
147
|
), {
|
|
147
148
|
optionLineHeight: 22,
|
|
148
149
|
containerProps: i,
|
|
149
|
-
wrapperProps:
|
|
150
|
-
list:
|
|
150
|
+
wrapperProps: n,
|
|
151
|
+
list: o
|
|
151
152
|
};
|
|
152
153
|
},
|
|
153
154
|
data() {
|
|
@@ -205,9 +206,9 @@ const z = (e, t) => {
|
|
|
205
206
|
},
|
|
206
207
|
methods: {
|
|
207
208
|
createDebouncedHandleCtrlClick() {
|
|
208
|
-
this.debouncedHandleCtrlClick =
|
|
209
|
+
this.debouncedHandleCtrlClick = R((e, t) => {
|
|
209
210
|
this.handleCtrlClick(e, t);
|
|
210
|
-
},
|
|
211
|
+
}, E);
|
|
211
212
|
},
|
|
212
213
|
// Define debouncedHandleCtrlClick as a method
|
|
213
214
|
debouncedHandleCtrlClick(e, t) {
|
|
@@ -231,29 +232,29 @@ const z = (e, t) => {
|
|
|
231
232
|
* @returns {String[]}
|
|
232
233
|
*/
|
|
233
234
|
getPossibleValuesInSection(e, t) {
|
|
234
|
-
const i = e > t ? t : e,
|
|
235
|
-
return this.possibleValuesWithBottom.slice(i,
|
|
235
|
+
const i = e > t ? t : e, n = e > t ? e : t;
|
|
236
|
+
return this.possibleValuesWithBottom.slice(i, n + 1).map((o) => o.id);
|
|
236
237
|
},
|
|
237
238
|
onStartDrag(e, t = !1) {
|
|
238
239
|
if (this.disabled || e.shiftKey)
|
|
239
240
|
return;
|
|
240
241
|
(e.ctrlKey || e.metaKey) && (this.draggingInverseMode = !0);
|
|
241
|
-
const i = e.target,
|
|
242
|
-
|
|
242
|
+
const i = e.target, n = t ? this.bottomIndex : this.getDataOptionIndex(i);
|
|
243
|
+
n && (this.draggingStartIndex = Number(n));
|
|
243
244
|
},
|
|
244
245
|
onDrag(e) {
|
|
245
246
|
if (this.draggingStartIndex !== -1) {
|
|
246
247
|
const t = e.target, i = this.getDataOptionIndex(t);
|
|
247
248
|
if (!i)
|
|
248
249
|
return;
|
|
249
|
-
const
|
|
250
|
-
let
|
|
250
|
+
const n = Number(i);
|
|
251
|
+
let o = this.getPossibleValuesInSection(
|
|
251
252
|
this.draggingStartIndex,
|
|
252
|
-
|
|
253
|
+
n
|
|
253
254
|
);
|
|
254
|
-
this.draggingInverseMode && (
|
|
255
|
-
(s) => !
|
|
256
|
-
)), this.setSelected(
|
|
255
|
+
this.draggingInverseMode && (o = this.selectedValues.filter(
|
|
256
|
+
(s) => !o.includes(s)
|
|
257
|
+
)), this.setSelected(o);
|
|
257
258
|
}
|
|
258
259
|
},
|
|
259
260
|
getDataOptionIndex(e) {
|
|
@@ -328,10 +329,10 @@ const z = (e, t) => {
|
|
|
328
329
|
return;
|
|
329
330
|
const i = this.containerProps.ref.value;
|
|
330
331
|
if (i.scrollHeight > i.clientHeight) {
|
|
331
|
-
const
|
|
332
|
-
if (!(s >
|
|
332
|
+
const n = i.clientHeight + i.scrollTop, o = e * this.optionLineHeight, s = o + this.optionLineHeight, r = o < i.scrollTop;
|
|
333
|
+
if (!(s > n || r))
|
|
333
334
|
return;
|
|
334
|
-
t === "up" || t === "auto" &&
|
|
335
|
+
t === "up" || t === "auto" && r ? i.scrollTop = o : i.scrollTop = s - i.clientHeight;
|
|
335
336
|
}
|
|
336
337
|
},
|
|
337
338
|
scrollUpIntoView(e) {
|
|
@@ -433,21 +434,21 @@ const z = (e, t) => {
|
|
|
433
434
|
this.resizeHeight = this.computeBoxHeight(Math.round(e));
|
|
434
435
|
}
|
|
435
436
|
}
|
|
436
|
-
},
|
|
437
|
+
}, F = { class: "box" }, W = ["id", "aria-label", "aria-activedescendant"], j = {
|
|
437
438
|
key: 0,
|
|
438
439
|
class: "empty-state"
|
|
439
|
-
},
|
|
440
|
+
}, q = { key: 1 }, Y = {
|
|
440
441
|
key: 1,
|
|
441
442
|
role: "bottom-box"
|
|
442
443
|
};
|
|
443
|
-
function
|
|
444
|
-
const
|
|
445
|
-
return h(),
|
|
446
|
-
class:
|
|
447
|
-
style:
|
|
444
|
+
function G(e, t, i, n, o, s) {
|
|
445
|
+
const r = p("StyledListItem");
|
|
446
|
+
return h(), c("div", {
|
|
447
|
+
class: V(["multiselect-list-box", { invalid: !i.isValid, disabled: i.disabled }]),
|
|
448
|
+
style: I(s.cssStyleSize)
|
|
448
449
|
}, [
|
|
449
|
-
|
|
450
|
-
|
|
450
|
+
f("div", F, [
|
|
451
|
+
f("ul", v(n.containerProps, {
|
|
451
452
|
id: i.id,
|
|
452
453
|
role: "listbox",
|
|
453
454
|
tabindex: "0",
|
|
@@ -455,46 +456,46 @@ function j(e, t, i, r, l, s) {
|
|
|
455
456
|
"aria-label": i.ariaLabel,
|
|
456
457
|
"aria-activedescendant": s.generateOptionId(s.getCurrentKeyNavItem()),
|
|
457
458
|
onKeydown: [
|
|
458
|
-
t[1] || (t[1] = a(d((...
|
|
459
|
-
t[2] || (t[2] = a(d((...
|
|
460
|
-
t[3] || (t[3] = a(d((...
|
|
461
|
-
t[4] || (t[4] = a(d((...
|
|
462
|
-
t[5] || (t[5] = a(d((...
|
|
463
|
-
t[6] || (t[6] = a(d((...
|
|
464
|
-
t[7] || (t[7] = a(d((...
|
|
465
|
-
t[8] || (t[8] = a(d((...
|
|
466
|
-
t[9] || (t[9] = a(d((...
|
|
459
|
+
t[1] || (t[1] = a(d((...l) => s.onCtrlA && s.onCtrlA(...l), ["ctrl", "prevent", "exact"]), ["a"])),
|
|
460
|
+
t[2] || (t[2] = a(d((...l) => s.onArrowUp && s.onArrowUp(...l), ["prevent", "exact"]), ["up"])),
|
|
461
|
+
t[3] || (t[3] = a(d((...l) => s.onArrowDown && s.onArrowDown(...l), ["prevent", "exact"]), ["down"])),
|
|
462
|
+
t[4] || (t[4] = a(d((...l) => s.onArrowUpShift && s.onArrowUpShift(...l), ["shift", "prevent", "exact"]), ["up"])),
|
|
463
|
+
t[5] || (t[5] = a(d((...l) => s.onArrowDownShift && s.onArrowDownShift(...l), ["shift", "prevent", "exact"]), ["down"])),
|
|
464
|
+
t[6] || (t[6] = a(d((...l) => s.onArrowLeft && s.onArrowLeft(...l), ["prevent", "exact"]), ["left"])),
|
|
465
|
+
t[7] || (t[7] = a(d((...l) => s.onArrowRight && s.onArrowRight(...l), ["prevent", "exact"]), ["right"])),
|
|
466
|
+
t[8] || (t[8] = a(d((...l) => s.onHomeKey && s.onHomeKey(...l), ["prevent", "exact"]), ["home"])),
|
|
467
|
+
t[9] || (t[9] = a(d((...l) => s.onEndKey && s.onEndKey(...l), ["prevent", "exact"]), ["end"]))
|
|
467
468
|
],
|
|
468
|
-
onMousedown: t[10] || (t[10] = (...
|
|
469
|
-
onMousemove: t[11] || (t[11] = (...
|
|
469
|
+
onMousedown: t[10] || (t[10] = (...l) => s.onStartDrag && s.onStartDrag(...l)),
|
|
470
|
+
onMousemove: t[11] || (t[11] = (...l) => s.onDrag && s.onDrag(...l))
|
|
470
471
|
}), [
|
|
471
|
-
|
|
472
|
-
(h(!0),
|
|
473
|
-
id: s.generateOptionId(
|
|
474
|
-
key: `listbox-${
|
|
475
|
-
text:
|
|
476
|
-
"data-option-index":
|
|
477
|
-
"line-height":
|
|
478
|
-
selected: s.isCurrentValue(
|
|
479
|
-
invalid:
|
|
480
|
-
special:
|
|
472
|
+
f("div", C(w(n.wrapperProps)), [
|
|
473
|
+
(h(!0), c(k, null, D(n.list, ({ data: l, index: u }) => (h(), g(r, {
|
|
474
|
+
id: s.generateOptionId(l),
|
|
475
|
+
key: `listbox-${l.id}`,
|
|
476
|
+
text: l.text,
|
|
477
|
+
"data-option-index": u,
|
|
478
|
+
"line-height": n.optionLineHeight,
|
|
479
|
+
selected: s.isCurrentValue(l.id),
|
|
480
|
+
invalid: l.invalid,
|
|
481
|
+
special: l.special,
|
|
481
482
|
disabled: i.disabled,
|
|
482
|
-
onClick: (
|
|
483
|
-
onDblclickShift: t[0] || (t[0] = (
|
|
484
|
-
onDblclickExact: (
|
|
483
|
+
onClick: (m) => s.handleClick(m, l.id, u),
|
|
484
|
+
onDblclickShift: t[0] || (t[0] = (m) => s.handleShiftDblClick()),
|
|
485
|
+
onDblclickExact: (m) => s.handleDblClick(l.id, u)
|
|
485
486
|
}, {
|
|
486
|
-
default:
|
|
487
|
-
H(e.$slots, "option", { slotItem:
|
|
487
|
+
default: B(() => [
|
|
488
|
+
H(e.$slots, "option", { slotItem: l }, void 0, !0)
|
|
488
489
|
]),
|
|
489
490
|
_: 2
|
|
490
491
|
}, 1032, ["id", "text", "data-option-index", "line-height", "selected", "invalid", "special", "disabled", "onClick", "onDblclickExact"]))), 128))
|
|
491
492
|
], 16)
|
|
492
|
-
], 16,
|
|
493
|
-
s.showEmptyState ? (h(),
|
|
494
|
-
i.emptyStateComponent ? (h(), g(
|
|
493
|
+
], 16, W),
|
|
494
|
+
s.showEmptyState ? (h(), c("div", j, [
|
|
495
|
+
i.emptyStateComponent ? (h(), g(K(i.emptyStateComponent), { key: 0 })) : (h(), c("span", q, N(i.emptyStateLabel), 1))
|
|
495
496
|
])) : b("", !0),
|
|
496
|
-
i.withBottomValue ? (h(),
|
|
497
|
-
|
|
497
|
+
i.withBottomValue ? (h(), c("div", Y, [
|
|
498
|
+
L(r, {
|
|
498
499
|
id: s.generateOptionId(i.bottomValue),
|
|
499
500
|
special: "",
|
|
500
501
|
text: i.bottomValue.text,
|
|
@@ -502,7 +503,7 @@ function j(e, t, i, r, l, s) {
|
|
|
502
503
|
selected: s.isCurrentValue(i.bottomValue.id),
|
|
503
504
|
disabled: i.disabled,
|
|
504
505
|
onClick: s.handleBottomClick,
|
|
505
|
-
onDblclickShift: t[12] || (t[12] = (
|
|
506
|
+
onDblclickShift: t[12] || (t[12] = (l) => s.handleShiftDblClick()),
|
|
506
507
|
onDblclickExact: s.handleBottomDblClick,
|
|
507
508
|
onMousedown: s.onBottomStartDrag,
|
|
508
509
|
onMousemove: s.onBottomDrag
|
|
@@ -511,7 +512,31 @@ function j(e, t, i, r, l, s) {
|
|
|
511
512
|
])
|
|
512
513
|
], 6);
|
|
513
514
|
}
|
|
514
|
-
const
|
|
515
|
+
const J = /* @__PURE__ */ P(U, [["render", G], ["__scopeId", "data-v-4ee62d65"]]), $ = /* @__PURE__ */ A({
|
|
516
|
+
__name: "MultiSelectListBoxControl",
|
|
517
|
+
props: {
|
|
518
|
+
control: {},
|
|
519
|
+
handleChange: { type: Function },
|
|
520
|
+
changeValue: { type: Function },
|
|
521
|
+
disabled: { type: Boolean },
|
|
522
|
+
isValid: { type: Boolean },
|
|
523
|
+
onRegisterValidation: { type: Function },
|
|
524
|
+
labelForId: {}
|
|
525
|
+
},
|
|
526
|
+
setup(e) {
|
|
527
|
+
const t = e, { possibleValues: i } = T(S(t, "control"));
|
|
528
|
+
return (n, o) => (h(), g(x(J), {
|
|
529
|
+
id: e.labelForId,
|
|
530
|
+
"possible-values": x(i) || [],
|
|
531
|
+
disabled: e.disabled,
|
|
532
|
+
"model-value": e.control.data,
|
|
533
|
+
"is-valid": e.isValid,
|
|
534
|
+
ariaLabel: e.control.label,
|
|
535
|
+
size: e.control.uischema.options?.size,
|
|
536
|
+
"onUpdate:modelValue": e.changeValue
|
|
537
|
+
}, null, 8, ["id", "possible-values", "disabled", "model-value", "is-valid", "ariaLabel", "size", "onUpdate:modelValue"]));
|
|
538
|
+
}
|
|
539
|
+
});
|
|
515
540
|
export {
|
|
516
|
-
|
|
541
|
+
$ as default
|
|
517
542
|
};
|