@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,148 +0,0 @@
|
|
|
1
|
-
/* empty css */
|
|
2
|
-
import { openBlock as i, createElementBlock as s, normalizeClass as r, renderSlot as u, createCommentVNode as o, createElementVNode as d, mergeProps as f } from "vue";
|
|
3
|
-
import { _ as p } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-D4snRy74.js";
|
|
4
|
-
const c = {
|
|
5
|
-
name: "InputField",
|
|
6
|
-
props: {
|
|
7
|
-
modelValue: {
|
|
8
|
-
default: "",
|
|
9
|
-
type: [Number, String, null]
|
|
10
|
-
},
|
|
11
|
-
id: {
|
|
12
|
-
type: [String, null],
|
|
13
|
-
default: null
|
|
14
|
-
},
|
|
15
|
-
name: {
|
|
16
|
-
type: String,
|
|
17
|
-
default: null
|
|
18
|
-
},
|
|
19
|
-
/**
|
|
20
|
-
* Sets the error styling, validity needs to be controlled by the parent component to be flexible
|
|
21
|
-
*/
|
|
22
|
-
isValid: {
|
|
23
|
-
default: !0,
|
|
24
|
-
type: Boolean
|
|
25
|
-
},
|
|
26
|
-
type: {
|
|
27
|
-
default: "text",
|
|
28
|
-
type: String
|
|
29
|
-
},
|
|
30
|
-
pattern: {
|
|
31
|
-
default: null,
|
|
32
|
-
type: String
|
|
33
|
-
},
|
|
34
|
-
placeholder: {
|
|
35
|
-
default: null,
|
|
36
|
-
type: String
|
|
37
|
-
},
|
|
38
|
-
autocomplete: {
|
|
39
|
-
default: null,
|
|
40
|
-
type: String
|
|
41
|
-
},
|
|
42
|
-
autofocus: {
|
|
43
|
-
default: !1,
|
|
44
|
-
type: Boolean
|
|
45
|
-
},
|
|
46
|
-
focusOnMount: {
|
|
47
|
-
default: !1,
|
|
48
|
-
type: Boolean
|
|
49
|
-
},
|
|
50
|
-
inputClasses: {
|
|
51
|
-
default: "",
|
|
52
|
-
type: String
|
|
53
|
-
},
|
|
54
|
-
disabled: {
|
|
55
|
-
default: !1,
|
|
56
|
-
type: Boolean
|
|
57
|
-
},
|
|
58
|
-
ariaActivedescendant: {
|
|
59
|
-
type: String,
|
|
60
|
-
default: null
|
|
61
|
-
},
|
|
62
|
-
ariaOwns: {
|
|
63
|
-
type: String,
|
|
64
|
-
default: null
|
|
65
|
-
},
|
|
66
|
-
compact: {
|
|
67
|
-
type: Boolean,
|
|
68
|
-
default: !1
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
emits: ["update:modelValue", "focus", "keyup", "keypress", "keydown"],
|
|
72
|
-
computed: {
|
|
73
|
-
hasLeftIcon() {
|
|
74
|
-
return this.$slots.icon && this.$slots.icon().length;
|
|
75
|
-
},
|
|
76
|
-
hasRightIcon() {
|
|
77
|
-
return this.$slots.iconRight && this.$slots.iconRight().length;
|
|
78
|
-
},
|
|
79
|
-
inputClassList() {
|
|
80
|
-
let e = this.inputClasses;
|
|
81
|
-
return this.hasLeftIcon && (e += " with-icon"), this.hasRightIcon && (e += " with-icon-right"), this.isValid || (e += " invalid"), e;
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
mounted() {
|
|
85
|
-
this.focusOnMount && this.focus();
|
|
86
|
-
},
|
|
87
|
-
methods: {
|
|
88
|
-
getValue() {
|
|
89
|
-
return this.$refs.input.value;
|
|
90
|
-
},
|
|
91
|
-
onInput() {
|
|
92
|
-
this.$emit("update:modelValue", this.getValue());
|
|
93
|
-
},
|
|
94
|
-
focus() {
|
|
95
|
-
this.$refs.input.focus();
|
|
96
|
-
},
|
|
97
|
-
/*
|
|
98
|
-
* checks if value matches the provided pattern
|
|
99
|
-
*/
|
|
100
|
-
validate() {
|
|
101
|
-
let e = !0, t = null;
|
|
102
|
-
return typeof this.getValue() > "u" ? (e = !1, t = "Invalid input") : this.pattern && this.$refs.input.validity.patternMismatch && (e = !1, t = "Input does not match the expected pattern"), { isValid: e, errorMessage: t };
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}, m = {
|
|
106
|
-
key: 0,
|
|
107
|
-
class: "icon"
|
|
108
|
-
}, h = ["id", "name", "value", "type", "pattern", "placeholder", "autofocus", "aria-activedescendant", "aria-owns", "autocomplete", "disabled"], y = {
|
|
109
|
-
key: 1,
|
|
110
|
-
class: "icon icon-right"
|
|
111
|
-
};
|
|
112
|
-
function g(e, t, n, v, I, l) {
|
|
113
|
-
return i(), s("div", {
|
|
114
|
-
class: r(["input-wrapper", { compact: n.compact }])
|
|
115
|
-
}, [
|
|
116
|
-
l.hasLeftIcon ? (i(), s("div", m, [
|
|
117
|
-
u(e.$slots, "icon")
|
|
118
|
-
])) : o("", !0),
|
|
119
|
-
d("input", f(e.$attrs, {
|
|
120
|
-
id: n.id,
|
|
121
|
-
ref: "input",
|
|
122
|
-
name: n.name,
|
|
123
|
-
value: n.modelValue,
|
|
124
|
-
class: l.inputClassList,
|
|
125
|
-
type: n.type,
|
|
126
|
-
pattern: n.pattern,
|
|
127
|
-
placeholder: n.placeholder,
|
|
128
|
-
autofocus: n.autofocus,
|
|
129
|
-
"aria-activedescendant": n.ariaActivedescendant,
|
|
130
|
-
"aria-owns": n.ariaOwns,
|
|
131
|
-
autocomplete: n.autocomplete,
|
|
132
|
-
disabled: n.disabled,
|
|
133
|
-
onInput: t[0] || (t[0] = (...a) => l.onInput && l.onInput(...a)),
|
|
134
|
-
onFocus: t[1] || (t[1] = (a) => e.$emit("focus", a)),
|
|
135
|
-
onKeyup: t[2] || (t[2] = (a) => e.$emit("keyup", a)),
|
|
136
|
-
onKeypress: t[3] || (t[3] = (a) => e.$emit("keypress", a)),
|
|
137
|
-
onKeydown: t[4] || (t[4] = (a) => e.$emit("keydown", a))
|
|
138
|
-
}), null, 16, h),
|
|
139
|
-
l.hasRightIcon ? (i(), s("div", y, [
|
|
140
|
-
u(e.$slots, "iconRight")
|
|
141
|
-
])) : o("", !0),
|
|
142
|
-
t[5] || (t[5] = d("span", { class: "invalid-marker" }, null, -1))
|
|
143
|
-
], 2);
|
|
144
|
-
}
|
|
145
|
-
const w = /* @__PURE__ */ p(c, [["render", g], ["__scopeId", "data-v-e4e1a696"]]);
|
|
146
|
-
export {
|
|
147
|
-
w as I
|
|
148
|
-
};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { openBlock as r, createElementBlock as c, createElementVNode as s, h as i, defineComponent as l, createBlock as d, unref as a } from "vue";
|
|
2
|
-
import { _ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-D4snRy74.js";
|
|
3
|
-
const m = {
|
|
4
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
-
fill: "none",
|
|
6
|
-
stroke: "#000",
|
|
7
|
-
"stroke-linejoin": "round",
|
|
8
|
-
viewBox: "0 0 32 32"
|
|
9
|
-
};
|
|
10
|
-
function p(n, e) {
|
|
11
|
-
return r(), c("svg", m, [...e[0] || (e[0] = [
|
|
12
|
-
s("path", { d: "m11.9 22.3 2.7 4.4-4.5 2.8m4.5-2.8C9 26 4.7 21.7 4.7 16c0-5.1 3.4-9.4 8.1-10.8M20 9.7l-2.6-4.4 4.5-2.8m-4.5 2.8c5.6.7 9.9 5 9.9 10.7 0 5.1-3.4 9.4-8.1 10.8" }, null, -1)
|
|
13
|
-
])]);
|
|
14
|
-
}
|
|
15
|
-
const u = { render: p }, f = (n, e) => ({
|
|
16
|
-
render() {
|
|
17
|
-
const o = n.render({}, []), t = i("title", e);
|
|
18
|
-
return t.ns = "svg", o.children.unshift(t), o;
|
|
19
|
-
}
|
|
20
|
-
}), g = /* @__PURE__ */ l({
|
|
21
|
-
__name: "LoadingIcon",
|
|
22
|
-
setup(n) {
|
|
23
|
-
const e = f(u, "Loading…");
|
|
24
|
-
return (o, t) => (r(), d(a(e)));
|
|
25
|
-
}
|
|
26
|
-
}), x = /* @__PURE__ */ _(g, [["__scopeId", "data-v-6b552b81"]]);
|
|
27
|
-
export {
|
|
28
|
-
x as L
|
|
29
|
-
};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { defineComponent as C, toRef as c, computed as a, markRaw as I, openBlock as k, createBlock as F, unref as r, mergeProps as x } from "vue";
|
|
2
|
-
import { m as T } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import { u as L, a as U } from "./usePossibleValues-CdNvUspy.js";
|
|
4
|
-
import { T as z, a as M } from "./TwinlistLoadingInfo-BwuYp151.js";
|
|
5
|
-
import { u as B } from "./MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-De2_vatY.js";
|
|
6
|
-
import { _ as D } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-D4snRy74.js";
|
|
7
|
-
const _ = /* @__PURE__ */ C({
|
|
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(t) {
|
|
19
|
-
const n = t;
|
|
20
|
-
let o;
|
|
21
|
-
const s = (e) => {
|
|
22
|
-
const l = T(n.control.data, e);
|
|
23
|
-
n.changeValue(l), o?.(l);
|
|
24
|
-
}, m = (e) => {
|
|
25
|
-
if (e !== null)
|
|
26
|
-
if ("includedValues" in e) {
|
|
27
|
-
const { includedValues: l, excludedValues: d, includeUnknownValues: y } = e;
|
|
28
|
-
if (!l || !d)
|
|
29
|
-
return;
|
|
30
|
-
s({
|
|
31
|
-
manuallySelected: l,
|
|
32
|
-
manuallyDeselected: d,
|
|
33
|
-
includeUnknownColumns: y
|
|
34
|
-
});
|
|
35
|
-
} else
|
|
36
|
-
s({ manuallySelected: e });
|
|
37
|
-
}, { possibleValues: i } = L(
|
|
38
|
-
c(n, "control")
|
|
39
|
-
), { selectedAndDeselected: u, setCurrentManualFilter: p } = B({
|
|
40
|
-
data: a(() => ({ manualFilter: n.control.data })),
|
|
41
|
-
possibleValueIds: a(
|
|
42
|
-
() => i.value?.map(({ id: e }) => e) ?? null
|
|
43
|
-
)
|
|
44
|
-
});
|
|
45
|
-
o = p;
|
|
46
|
-
const f = a(() => {
|
|
47
|
-
const { selected: e, deselected: l } = u.value;
|
|
48
|
-
return {
|
|
49
|
-
includedValues: e,
|
|
50
|
-
excludedValues: l,
|
|
51
|
-
includeUnknownValues: n.control.data.includeUnknownColumns
|
|
52
|
-
};
|
|
53
|
-
}), b = a(
|
|
54
|
-
() => u.value.selected === null ? I(z) : null
|
|
55
|
-
), { excludedLabel: w, includedLabel: V } = U(
|
|
56
|
-
c(n, "control")
|
|
57
|
-
), h = a(() => w ?? "Excludes"), v = a(() => V ?? "Includes"), g = a(
|
|
58
|
-
() => n.control.uischema.options?.twinlistSize
|
|
59
|
-
);
|
|
60
|
-
return (e, l) => (k(), F(r(M), x(e.$attrs, {
|
|
61
|
-
id: t.labelForId,
|
|
62
|
-
"show-search": "",
|
|
63
|
-
disabled: t.disabled,
|
|
64
|
-
"empty-state-component": b.value,
|
|
65
|
-
"model-value": f.value,
|
|
66
|
-
"possible-values": r(i) ?? [],
|
|
67
|
-
size: g.value,
|
|
68
|
-
"left-label": h.value,
|
|
69
|
-
"right-label": v.value,
|
|
70
|
-
"is-valid": t.isValid,
|
|
71
|
-
compact: "",
|
|
72
|
-
"show-resize-handle": "",
|
|
73
|
-
"onUpdate:modelValue": m
|
|
74
|
-
}), null, 16, ["id", "disabled", "empty-state-component", "model-value", "possible-values", "size", "left-label", "right-label", "is-valid"]));
|
|
75
|
-
}
|
|
76
|
-
}), $ = /* @__PURE__ */ D(_, [["__scopeId", "data-v-91dc5cff"]]);
|
|
77
|
-
export {
|
|
78
|
-
$ as default
|
|
79
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { defineComponent as t, toRef as i, openBlock as n, createBlock as s, unref as l } from "vue";
|
|
2
|
-
import { u as d } from "./usePossibleValues-CdNvUspy.js";
|
|
3
|
-
import { M as u } from "./MultiselectListBox-DE0QC--O.js";
|
|
4
|
-
const f = /* @__PURE__ */ t({
|
|
5
|
-
__name: "MultiSelectListBoxControl",
|
|
6
|
-
props: {
|
|
7
|
-
control: {},
|
|
8
|
-
handleChange: { type: Function },
|
|
9
|
-
changeValue: { type: Function },
|
|
10
|
-
disabled: { type: Boolean },
|
|
11
|
-
isValid: { type: Boolean },
|
|
12
|
-
onRegisterValidation: { type: Function },
|
|
13
|
-
labelForId: {}
|
|
14
|
-
},
|
|
15
|
-
setup(e) {
|
|
16
|
-
const a = e, { possibleValues: o } = d(i(a, "control"));
|
|
17
|
-
return (c, r) => (n(), s(l(u), {
|
|
18
|
-
id: e.labelForId,
|
|
19
|
-
"possible-values": l(o) || [],
|
|
20
|
-
disabled: e.disabled,
|
|
21
|
-
"model-value": e.control.data,
|
|
22
|
-
"is-valid": e.isValid,
|
|
23
|
-
ariaLabel: e.control.label,
|
|
24
|
-
size: e.control.uischema.options?.size,
|
|
25
|
-
"onUpdate:modelValue": e.changeValue
|
|
26
|
-
}, null, 8, ["id", "possible-values", "disabled", "model-value", "is-valid", "ariaLabel", "size", "onUpdate:modelValue"]));
|
|
27
|
-
}
|
|
28
|
-
});
|
|
29
|
-
export {
|
|
30
|
-
f as default
|
|
31
|
-
};
|