@knime/jsonforms 1.19.2 → 1.19.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-DbIxFGCg.js → AnyOfTwinlist-gIm_R7yi.js} +1 -1
- package/dist/{Checkbox-DHrRt49x.js → Checkbox-D1QZ8D8U.js} +1 -1
- package/dist/{CheckboxControl-D0b--DXW.js → CheckboxControl-DitntAd8.js} +1 -1
- package/dist/{CheckboxesControl-D2UmK0cM.js → CheckboxesControl-C_Wwb06j.js} +2 -2
- package/dist/{ColorControl-BWQGbfC0.js → ColorControl-86_aeUMf.js} +1 -1
- package/dist/ColorPreviewControl-HgbFwMCE.js +89 -0
- package/dist/{ComboBoxControl-CL4v2Sgq.js → ComboBoxControl-CGwWGyDl.js} +8 -8
- package/dist/{DateControl-BwCKXxzH.js → DateControl-BofbO5lM.js} +8 -7
- package/dist/{DateTimeControl-DIHNi8gS.js → DateTimeControl-BzWk51J8.js} +1 -1
- package/dist/DateTimeFormatPickerControl-7KTdYrMN.js +31 -0
- package/dist/DateTimeFormatPickerWithTypeControl-DmevlqK8.js +442 -0
- package/dist/{DropdownControl-DIr6VLc6.js → DropdownControl-XAeknlV2.js} +3 -3
- package/dist/{HorizontalLayout-y52FdHPr.js → HorizontalLayout-BQFvLK2X.js} +1 -1
- package/dist/{IntegerControl-Bk-MII8Z.js → IntegerControl-XNoJU3s2.js} +1 -1
- package/dist/{IntervalControl-C7rHNjU3.js → IntervalControl-DaQTfsx8.js} +2 -2
- package/dist/{Label-4eQvTocI.js → Label-BckcZVsr.js} +1 -1
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-BohYhBbA.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-M581gyEa.js} +1 -1
- package/dist/LoadingIcon-D3kls_iA.js +29 -0
- package/dist/{ManualTwinlistControl-Cymjfy5p.js → ManualTwinlistControl-BCgJbfp5.js} +4 -4
- package/dist/{MultiSelectListBoxControl-xAD6kXMK.js → MultiSelectListBoxControl-B6tvY3Al.js} +2 -2
- package/dist/{MultimodeTwinlistControl-BumsqGUV.js → MultimodeTwinlistControl-CUWzYCUm.js} +14 -14
- package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-KKPjcj4X.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-C8itN9TE.js} +2 -2
- package/dist/{MultiselectListBox-ZX6212Yu.js → MultiselectListBox-C1rI0rOG.js} +4 -4
- package/dist/{NameFilter-FSgsA62B.js → NameFilter-CaPBJKzh.js} +1 -1
- package/dist/{NumberControl-BqoqHwEO.js → NumberControl-DOnwoK8Z.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-BncdSveV.js → NumberControlBase.vue_vue_type_script_setup_true_lang-IP3X2jko.js} +4 -4
- package/dist/{OneOfDropdown-B_2tiTwi.js → OneOfDropdown-CHt7_dgU.js} +9 -9
- package/dist/{RadioControl-BFhCpO9D.js → RadioControl-CP7QiYX1.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-CaIHPPJ6.js → RadioControlBase.vue_vue_type_script_setup_true_lang-qv1xOkqz.js} +2 -2
- package/dist/{RichTextControl-CdhHDOWn.js → RichTextControl-DKlFtbdd.js} +1535 -1461
- package/dist/{SectionHeading-DZCr2UJ-.js → SectionHeading-DbcAkyOk.js} +1 -1
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js +25430 -0
- package/dist/{SectionLayout-C-8MnV5C.js → SectionLayout-BRfbEX0H.js} +3 -3
- package/dist/SettingsSubPanel-Bw-wC4JV.js +5 -0
- package/dist/{SettingsSubPanelLayout-BYZgAnN7.js → SettingsSubPanelLayout-nMEM9Js5.js} +6 -6
- package/dist/SimpleButtonControl-Cs9fDA9V.js +49 -0
- package/dist/{SimpleTwinlistControl-BCZ8bawe.js → SimpleTwinlistControl-CMJCJOPx.js} +2 -2
- package/dist/{SingleSelectControl-Dej4aS7t.js → SingleSelectControl-DrqxOX0c.js} +2 -2
- package/dist/{SingleSelectListBoxControl-BfJjjRQn.js → SingleSelectListBoxControl-2ORQoAtg.js} +5 -5
- package/dist/{SortListControl-BzZCSfie.js → SortListControl-BLWFLyUn.js} +35 -36
- package/dist/{StyledListItem-BSq6JKC8.js → StyledListItem-DhsQSwUn.js} +1 -1
- package/dist/{TextAreaControl-jzV7HC6S.js → TextAreaControl-v3fhzCGm.js} +1 -1
- package/dist/{TextControl-1b_uj1FP.js → TextControl-CNlNwI8q.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-BoZDe5bd.js → TextControl.vue_vue_type_script_setup_true_lang-BQReBqLi.js} +5 -5
- package/dist/{TimeControl-BYogu7kA.js → TimeControl-uBNUovJi.js} +1 -1
- package/dist/{TwinlistControlBase-Bd5_Uuq-.js → TwinlistControlBase-BfsU0lp4.js} +3 -3
- package/dist/{TwinlistLoadingInfo-3TeV4Gdp.js → TwinlistLoadingInfo-CZpH6CqT.js} +4 -4
- package/dist/{TypedStringFilter-CU8Og0OV.js → TypedStringFilter-ElEPYctF.js} +1 -1
- package/dist/{ValueSwitch-DjDuJdNN.js → ValueSwitch-BfYlPI2B.js} +4 -4
- package/dist/{ValueSwitchControl-D1saOV7r.js → ValueSwitchControl-DyV85jLv.js} +1 -1
- package/dist/{VerticalLayout-g5Won-Pb.js → VerticalLayout-CFGNNSaB.js} +2 -2
- package/dist/{VerticalLayoutBase-CGb9hUYx.js → VerticalLayoutBase-CCtK1J1U.js} +1 -1
- package/dist/{ZonedDateTimeControl-CtgGTCQc.js → ZonedDateTimeControl-BtPeUK4M.js} +17 -19
- package/dist/{_baseEach-GM1_9gpl.js → _baseEach-DR1qyPMo.js} +7 -8
- package/dist/_baseIteratee-DrBvc1GG.js +640 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +7 -7
- package/dist/{localTimeUtils-5E_obOH5.js → localTimeUtils-C1z-tWPY.js} +3934 -3328
- package/dist/{popper-LGjf7Wza.js → popper-D54JdmBM.js} +212 -208
- package/dist/src/constants/inputFormats.d.ts +1 -0
- package/dist/src/renderers/colorPreviewRenderer.d.ts +69 -0
- package/dist/src/renderers/defaultRenderers.d.ts +150 -22
- package/dist/src/renderers/simpleButtonRenderer.d.ts +81 -22
- package/dist/src/uiComponents/ColorPreviewControl.vue.d.ts +11 -0
- package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +14 -11
- package/dist/src/uiComponents/colorPreview/ColorPreviewEmptyState.vue.d.ts +2 -0
- package/dist/src/uiComponents/colorPreview/GradientPreview.vue.d.ts +6 -0
- package/dist/src/uiComponents/colorPreview/PalettePreview.vue.d.ts +6 -0
- package/dist/testing.js +2 -2
- package/dist/toString-lufkO4XX.js +25 -0
- package/dist/{useBuiltinValidations-V_W_S2ya.js → useBuiltinValidations-CXYzLTj1.js} +1 -1
- package/dist/{usePossibleValues-CcLAFNOh.js → usePossibleValues-BGGWIVzM.js} +1 -1
- package/package.json +4 -4
- package/dist/Button-DPBuV8Ju.js +0 -82
- package/dist/DateTimeFormatInput-BjdyxUQY.js +0 -374
- package/dist/DateTimeFormatPickerControl-CV6pc2KZ.js +0 -40
- package/dist/DateTimeFormatPickerWithTypeControl-DyGt-WGp.js +0 -76
- package/dist/Dropdown-DlCk3K9Y.js +0 -620
- package/dist/LoadingIcon-Br99Lv_8.js +0 -18
- package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-BYoCo820.js +0 -18542
- package/dist/SettingsSubPanel-DLmH_M05.js +0 -5
- package/dist/SimpleButtonControl-CdMqbvzO.js +0 -68
- package/dist/_baseIteratee-CHnCehKu.js +0 -516
- package/dist/_getTag-D-KT4MkB.js +0 -131
- package/dist/hotkeys-rxnt4egK.js +0 -6
- package/dist/isArray-WzO_os3q.js +0 -4
- package/dist/reload-DjY4GPvr.js +0 -17
- package/dist/src/uiComponents/DynamicIcon.vue.d.ts +0 -7
- package/dist/toString-D64mIKfx.js +0 -25
|
@@ -0,0 +1,442 @@
|
|
|
1
|
+
import { openBlock as v, createElementBlock as w, createElementVNode as y, defineComponent as A, useCssVars as q, computed as h, ref as g, watch as I, reactive as G, onMounted as J, nextTick as $, onUnmounted as Q, createBlock as O, unref as x, withCtx as X, createCommentVNode as C, createVNode as b, Fragment as Y, renderList as ee, normalizeClass as _, toDisplayString as H, useModel as te, withDirectives as oe, vModelText as le, normalizeStyle as ae, mergeModels as se } from "vue";
|
|
2
|
+
import { _ as S, N as ne, u as ie } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
|
|
3
|
+
import { V as z } from "./ValueSwitch-BfYlPI2B.js";
|
|
4
|
+
import { u as re, a as de, o as ce, s as ue, f as me } from "./floating-ui.vue-Fx4CxKut.js";
|
|
5
|
+
import { u as pe, F as ve } from "./useDropdownNavigation-2Yhk7zes.js";
|
|
6
|
+
import { L as fe } from "./LoadingIcon-D3kls_iA.js";
|
|
7
|
+
const ye = {
|
|
8
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
9
|
+
fill: "none",
|
|
10
|
+
"stroke-linejoin": "round",
|
|
11
|
+
viewBox: "0 0 32 32"
|
|
12
|
+
};
|
|
13
|
+
function he(n, f) {
|
|
14
|
+
return v(), w("svg", ye, [...f[0] || (f[0] = [
|
|
15
|
+
y("path", {
|
|
16
|
+
fill: "#000",
|
|
17
|
+
d: "M2 3.842v-.5a.5.5 0 0 0-.5.5zm22.611 0h.5a.5.5 0 0 0-.5-.5zm-.5 7.48a.5.5 0 1 0 1 0zM2 21.43h-.5a.5.5 0 0 0 .5.5zm10.298.5a.5.5 0 1 0 0-1zm5.283 8.222h-.5a.5.5 0 0 0 .765.424zm3.278-2.046.265.424a.5.5 0 0 0 .235-.424zm0-5.87-.366-.34a.5.5 0 0 0-.134.34zM27.613 15l.366.341a.5.5 0 0 0-.366-.841zm-10.032 7.235h.5a.5.5 0 0 0-.128-.334zM11.063 15v-.5a.5.5 0 0 0-.372.835zm-.69-9.483V2h-1v3.517zM16.155 2v3.517h1V2zM2 4.342h22.611v-1H2zm22.111-.5v7.48h1v-7.48zM2.5 21.43V3.842h-1V21.43zM2 8.362h22.611v-1H2zM12.298 20.93h-6.81v1h6.81zm-6.81 0H2v1h3.488zm12.358 9.646 3.278-2.046-.53-.849-3.278 2.047zm3.513-2.47v-5.87h-1v5.87zm-.135-5.528 6.755-7.236-.731-.682-6.755 7.235zm-4.143-.342v7.916h1v-7.916zm.872-.334-6.519-7.236-.743.67 6.519 7.235zm-6.89-6.401h16.55v-1h-16.55z"
|
|
18
|
+
}, null, -1)
|
|
19
|
+
])]);
|
|
20
|
+
}
|
|
21
|
+
const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-container-border-host" }, xe = {
|
|
22
|
+
key: 0,
|
|
23
|
+
class: "no-formats-available"
|
|
24
|
+
}, Fe = {
|
|
25
|
+
key: 1,
|
|
26
|
+
class: "no-formats-available"
|
|
27
|
+
}, Ee = ["onClick"], be = { class: "format-pattern" }, Ve = { class: "format-preview" }, U = 1, De = /* @__PURE__ */ A({
|
|
28
|
+
__name: "DateTimeFormatPickerPopover",
|
|
29
|
+
props: {
|
|
30
|
+
allFormats: {},
|
|
31
|
+
selectedType: {},
|
|
32
|
+
initialSelectedPattern: {},
|
|
33
|
+
showTypeSwitch: { type: Boolean }
|
|
34
|
+
},
|
|
35
|
+
emits: ["commit", "cancel"],
|
|
36
|
+
setup(n, { emit: f }) {
|
|
37
|
+
q((e) => ({
|
|
38
|
+
v3b9e5e3a: U
|
|
39
|
+
}));
|
|
40
|
+
const i = f, c = n, V = h(() => [
|
|
41
|
+
{
|
|
42
|
+
id: "RECENT",
|
|
43
|
+
text: "Recent"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: "STANDARD",
|
|
47
|
+
text: "ISO"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
id: "EUROPEAN",
|
|
51
|
+
text: "European"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
id: "AMERICAN",
|
|
55
|
+
text: "United States"
|
|
56
|
+
}
|
|
57
|
+
]), D = h(() => [
|
|
58
|
+
{
|
|
59
|
+
id: "DATE",
|
|
60
|
+
text: "Date"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: "DATE_TIME",
|
|
64
|
+
text: "Date & time"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: "TIME",
|
|
68
|
+
text: "Time"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
id: "ZONED_DATE_TIME",
|
|
72
|
+
text: "Zoned date & time"
|
|
73
|
+
}
|
|
74
|
+
]), r = g(null), u = g(null), a = g("RECENT"), d = g(c.selectedType);
|
|
75
|
+
I(
|
|
76
|
+
() => c.selectedType,
|
|
77
|
+
(e) => {
|
|
78
|
+
u.value = e;
|
|
79
|
+
}
|
|
80
|
+
);
|
|
81
|
+
const l = h(
|
|
82
|
+
() => c.allFormats?.filter(
|
|
83
|
+
(e) => e.category === a.value && e.temporalType === d.value
|
|
84
|
+
) ?? null
|
|
85
|
+
), m = g(null), p = G({}), F = (e) => `${e.format}-${e.category}-${e.temporalType}`, L = (e) => (t) => {
|
|
86
|
+
p[F(e)] = t;
|
|
87
|
+
}, E = (e) => ({
|
|
88
|
+
format: e.format,
|
|
89
|
+
temporalType: e.temporalType
|
|
90
|
+
}), {
|
|
91
|
+
currentIndex: R,
|
|
92
|
+
onKeydown: N,
|
|
93
|
+
resetNavigation: Z,
|
|
94
|
+
setElement: W
|
|
95
|
+
} = pe({
|
|
96
|
+
keepOpenedOnTab: !0,
|
|
97
|
+
getFirstElement: () => ({
|
|
98
|
+
index: 0,
|
|
99
|
+
onClick: () => i(
|
|
100
|
+
"commit",
|
|
101
|
+
E(l.value[0])
|
|
102
|
+
)
|
|
103
|
+
}),
|
|
104
|
+
getLastElement: () => {
|
|
105
|
+
const e = l.value.length - 1;
|
|
106
|
+
return {
|
|
107
|
+
index: e,
|
|
108
|
+
onClick: () => i(
|
|
109
|
+
"commit",
|
|
110
|
+
E(l.value[e])
|
|
111
|
+
)
|
|
112
|
+
};
|
|
113
|
+
},
|
|
114
|
+
getNextElement: (e, t) => {
|
|
115
|
+
if (e = e === null || e === -1 ? null : e, t === 1) {
|
|
116
|
+
const s = ((e ?? -1) + 1) % l.value.length;
|
|
117
|
+
return {
|
|
118
|
+
index: s,
|
|
119
|
+
onClick: () => i(
|
|
120
|
+
"commit",
|
|
121
|
+
E(l.value[s])
|
|
122
|
+
)
|
|
123
|
+
};
|
|
124
|
+
} else {
|
|
125
|
+
const s = ((e ?? 0) - 1 + l.value.length) % l.value.length;
|
|
126
|
+
return {
|
|
127
|
+
index: s,
|
|
128
|
+
onClick: () => i(
|
|
129
|
+
"commit",
|
|
130
|
+
E(l.value[s])
|
|
131
|
+
)
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
close: () => {
|
|
136
|
+
i("cancel");
|
|
137
|
+
}
|
|
138
|
+
}), K = (e) => {
|
|
139
|
+
const t = e.parentElement;
|
|
140
|
+
if (t && t.scrollHeight > t.clientHeight) {
|
|
141
|
+
const o = t.offsetTop + U, s = t.clientHeight + t.scrollTop, T = e.offsetTop + e.offsetHeight - o;
|
|
142
|
+
T > s ? t.scrollTop = T - t.clientHeight : e.offsetTop - t.scrollTop < o && (t.scrollTop = e.offsetTop - o);
|
|
143
|
+
}
|
|
144
|
+
}, P = (e) => {
|
|
145
|
+
const t = p[`${e}-${a.value}-${d.value}`];
|
|
146
|
+
t && K(t);
|
|
147
|
+
}, B = async (e, t, o) => {
|
|
148
|
+
d.value = t ?? d.value, a.value = o ?? a.value, await $(), u.value = e, P(e);
|
|
149
|
+
const s = l.value.findIndex(
|
|
150
|
+
(T) => T.format === e
|
|
151
|
+
);
|
|
152
|
+
W({
|
|
153
|
+
index: s,
|
|
154
|
+
onClick: () => i(
|
|
155
|
+
"commit",
|
|
156
|
+
E(l.value[s])
|
|
157
|
+
)
|
|
158
|
+
});
|
|
159
|
+
};
|
|
160
|
+
I(R, (e) => {
|
|
161
|
+
if (e === null)
|
|
162
|
+
return;
|
|
163
|
+
const t = l.value?.[e]?.format;
|
|
164
|
+
t && P(t);
|
|
165
|
+
}), I([d, a], () => {
|
|
166
|
+
d.value === r.value?.temporalType && a.value === r.value?.category ? B(
|
|
167
|
+
r.value.format,
|
|
168
|
+
r.value.temporalType,
|
|
169
|
+
r.value.category
|
|
170
|
+
) : (u.value = null, Z());
|
|
171
|
+
});
|
|
172
|
+
const M = g(!1);
|
|
173
|
+
return J(async () => {
|
|
174
|
+
if (!c.allFormats)
|
|
175
|
+
return;
|
|
176
|
+
const e = [
|
|
177
|
+
"RECENT",
|
|
178
|
+
"STANDARD",
|
|
179
|
+
"EUROPEAN",
|
|
180
|
+
"AMERICAN"
|
|
181
|
+
], t = c.allFormats.filter((o) => c.initialSelectedPattern === o.format).filter(
|
|
182
|
+
(o) => (
|
|
183
|
+
// if the type switch is hidden, filter to only formats with the same type
|
|
184
|
+
c.selectedType === o.temporalType || c.showTypeSwitch
|
|
185
|
+
)
|
|
186
|
+
).sort((o, s) => {
|
|
187
|
+
const T = e.indexOf(o.category), k = e.indexOf(s.category);
|
|
188
|
+
return T - k;
|
|
189
|
+
});
|
|
190
|
+
if (t.length > 0) {
|
|
191
|
+
const o = t[0].format, s = t[0].temporalType, T = t[0].category;
|
|
192
|
+
await B(o, s, T);
|
|
193
|
+
const k = l.value.findIndex(
|
|
194
|
+
(j) => j.format === o
|
|
195
|
+
);
|
|
196
|
+
r.value = {
|
|
197
|
+
format: o,
|
|
198
|
+
index: k,
|
|
199
|
+
category: T,
|
|
200
|
+
temporalType: s
|
|
201
|
+
};
|
|
202
|
+
}
|
|
203
|
+
$(() => M.value = !0);
|
|
204
|
+
}), Q(() => M.value = !1), (e, t) => (v(), O(x(ve), {
|
|
205
|
+
active: M.value,
|
|
206
|
+
"onUpdate:active": t[3] || (t[3] = (o) => M.value = o),
|
|
207
|
+
"initial-focus": () => m.value ?? !1
|
|
208
|
+
}, {
|
|
209
|
+
default: X(() => [
|
|
210
|
+
y("div", ge, [
|
|
211
|
+
n.showTypeSwitch ? (v(), O(z, {
|
|
212
|
+
key: 0,
|
|
213
|
+
id: "selectedFormatType",
|
|
214
|
+
ref: "typeSwitchRef",
|
|
215
|
+
modelValue: d.value,
|
|
216
|
+
"onUpdate:modelValue": t[0] || (t[0] = (o) => d.value = o),
|
|
217
|
+
compact: "",
|
|
218
|
+
"possible-values": D.value,
|
|
219
|
+
class: "filter-switch"
|
|
220
|
+
}, null, 8, ["modelValue", "possible-values"])) : C("", !0),
|
|
221
|
+
b(z, {
|
|
222
|
+
id: "selectedFormatStandard",
|
|
223
|
+
ref: "standardSwitchRef",
|
|
224
|
+
modelValue: a.value,
|
|
225
|
+
"onUpdate:modelValue": t[1] || (t[1] = (o) => a.value = o),
|
|
226
|
+
compact: "",
|
|
227
|
+
"possible-values": V.value,
|
|
228
|
+
class: "filter-switch"
|
|
229
|
+
}, null, 8, ["modelValue", "possible-values"]),
|
|
230
|
+
y("div", we, [
|
|
231
|
+
y("div", {
|
|
232
|
+
id: "dateFormats",
|
|
233
|
+
ref_key: "formatContainerRef",
|
|
234
|
+
ref: m,
|
|
235
|
+
class: "formats-container",
|
|
236
|
+
tabindex: "0",
|
|
237
|
+
role: "menu",
|
|
238
|
+
onKeydown: t[2] || (t[2] = //@ts-ignore
|
|
239
|
+
(...o) => x(N) && x(N)(...o))
|
|
240
|
+
}, [
|
|
241
|
+
l.value === null ? (v(), w("div", xe, [
|
|
242
|
+
b(fe, { class: "loading-spinner" })
|
|
243
|
+
])) : l.value.length === 0 ? (v(), w("div", Fe, " No formats available ")) : (v(!0), w(Y, { key: 2 }, ee(l.value, (o, s) => (v(), w("div", {
|
|
244
|
+
key: F(o),
|
|
245
|
+
ref_for: !0,
|
|
246
|
+
ref: L(o),
|
|
247
|
+
class: _([{
|
|
248
|
+
highlighted: s === x(R),
|
|
249
|
+
applied: s === r.value?.index && o.category === r.value.category && o.temporalType === r.value.temporalType
|
|
250
|
+
}, "single-format"]),
|
|
251
|
+
role: "menuitem",
|
|
252
|
+
onClick: () => i("commit", E(o))
|
|
253
|
+
}, [
|
|
254
|
+
y("span", be, H(o.format), 1),
|
|
255
|
+
y("span", Ve, H(o.example), 1)
|
|
256
|
+
], 10, Ee))), 128))
|
|
257
|
+
], 544)
|
|
258
|
+
])
|
|
259
|
+
])
|
|
260
|
+
]),
|
|
261
|
+
_: 1
|
|
262
|
+
}, 8, ["active", "initial-focus"]));
|
|
263
|
+
}
|
|
264
|
+
}), Me = /* @__PURE__ */ S(De, [["__scopeId", "data-v-8bb40d8b"]]), ke = { class: "input-fields" }, Ie = ["disabled"], Ce = {
|
|
265
|
+
key: 0,
|
|
266
|
+
class: "invalid-marker"
|
|
267
|
+
}, _e = ["disabled"], ze = {}, Ae = /* @__PURE__ */ A({
|
|
268
|
+
...ze,
|
|
269
|
+
__name: "DateTimeFormatInput",
|
|
270
|
+
props: /* @__PURE__ */ se({
|
|
271
|
+
disabled: { type: Boolean, default: !1 },
|
|
272
|
+
compact: { type: Boolean, default: !1 },
|
|
273
|
+
isValid: { type: Boolean, default: !0 },
|
|
274
|
+
allDefaultFormats: {},
|
|
275
|
+
allowedTypes: { default: () => [
|
|
276
|
+
"DATE",
|
|
277
|
+
"TIME",
|
|
278
|
+
"DATE_TIME",
|
|
279
|
+
"ZONED_DATE_TIME"
|
|
280
|
+
] },
|
|
281
|
+
showTypeSwitchInPopover: { type: Boolean, default: !0 }
|
|
282
|
+
}, {
|
|
283
|
+
modelValue: {
|
|
284
|
+
default: {
|
|
285
|
+
format: "yyyy-MM-dd",
|
|
286
|
+
temporalType: "DATE"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
modelModifiers: {}
|
|
290
|
+
}),
|
|
291
|
+
emits: ["update:modelValue"],
|
|
292
|
+
setup(n) {
|
|
293
|
+
const f = n, i = te(n, "modelValue"), c = h({
|
|
294
|
+
get: () => i.value.format,
|
|
295
|
+
set: (m) => {
|
|
296
|
+
i.value = {
|
|
297
|
+
...i.value,
|
|
298
|
+
format: m
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
}), V = "Format like 'yyyy-MM-dd'", D = h(() => f.isValid), r = g(null), u = g(null), a = g(!1), d = (m) => {
|
|
302
|
+
i.value = m, a.value = !1;
|
|
303
|
+
};
|
|
304
|
+
ne(u, () => a.value = !1, {
|
|
305
|
+
ignore: [r]
|
|
306
|
+
});
|
|
307
|
+
const { floatingStyles: l } = re(
|
|
308
|
+
r,
|
|
309
|
+
u,
|
|
310
|
+
{
|
|
311
|
+
middleware: [
|
|
312
|
+
ce({
|
|
313
|
+
mainAxis: 2,
|
|
314
|
+
crossAxis: 0
|
|
315
|
+
}),
|
|
316
|
+
ue(),
|
|
317
|
+
me({
|
|
318
|
+
mainAxis: !0,
|
|
319
|
+
crossAxis: !1
|
|
320
|
+
})
|
|
321
|
+
],
|
|
322
|
+
placement: "top-end",
|
|
323
|
+
whileElementsMounted: de
|
|
324
|
+
}
|
|
325
|
+
);
|
|
326
|
+
return (m, p) => (v(), w("div", null, [
|
|
327
|
+
y("div", {
|
|
328
|
+
class: _(["wrapper", { disabled: n.disabled, compact: n.compact }])
|
|
329
|
+
}, [
|
|
330
|
+
y("span", ke, [
|
|
331
|
+
oe(y("input", {
|
|
332
|
+
"onUpdate:modelValue": p[0] || (p[0] = (F) => c.value = F),
|
|
333
|
+
type: "text",
|
|
334
|
+
disabled: n.disabled,
|
|
335
|
+
placeholder: V,
|
|
336
|
+
spellcheck: "false",
|
|
337
|
+
onFocus: p[1] || (p[1] = (F) => a.value = !1)
|
|
338
|
+
}, null, 40, Ie), [
|
|
339
|
+
[le, c.value]
|
|
340
|
+
]),
|
|
341
|
+
D.value ? C("", !0) : (v(), w("span", Ce)),
|
|
342
|
+
y("button", {
|
|
343
|
+
ref_key: "togglePopoverButtonRef",
|
|
344
|
+
ref: r,
|
|
345
|
+
class: _(["trigger-popover-button", { active: a.value }]),
|
|
346
|
+
disabled: n.disabled,
|
|
347
|
+
onClick: p[2] || (p[2] = (F) => a.value = !a.value)
|
|
348
|
+
}, [
|
|
349
|
+
b(x(Te))
|
|
350
|
+
], 10, _e)
|
|
351
|
+
])
|
|
352
|
+
], 2),
|
|
353
|
+
a.value ? (v(), w("div", {
|
|
354
|
+
key: 0,
|
|
355
|
+
ref_key: "floatingPopoverRef",
|
|
356
|
+
ref: u,
|
|
357
|
+
class: "popover",
|
|
358
|
+
style: ae(x(l))
|
|
359
|
+
}, [
|
|
360
|
+
b(Me, {
|
|
361
|
+
"all-formats": n.allDefaultFormats,
|
|
362
|
+
"initial-selected-pattern": i.value.format,
|
|
363
|
+
"selected-type": i.value.temporalType,
|
|
364
|
+
"show-type-switch": n.showTypeSwitchInPopover,
|
|
365
|
+
onCommit: d,
|
|
366
|
+
onCancel: p[3] || (p[3] = (F) => a.value = !1)
|
|
367
|
+
}, null, 8, ["all-formats", "initial-selected-pattern", "selected-type", "show-type-switch"])
|
|
368
|
+
], 4)) : C("", !0)
|
|
369
|
+
]));
|
|
370
|
+
}
|
|
371
|
+
}), Se = /* @__PURE__ */ S(Ae, [["__scopeId", "data-v-1577d5ce"]]), Re = ["id"], Ne = /* @__PURE__ */ A({
|
|
372
|
+
__name: "DateTimeFormatPickerWithTypeControl",
|
|
373
|
+
props: {
|
|
374
|
+
control: {},
|
|
375
|
+
handleChange: { type: Function },
|
|
376
|
+
changeValue: { type: Function },
|
|
377
|
+
disabled: { type: Boolean },
|
|
378
|
+
isValid: { type: Boolean },
|
|
379
|
+
onRegisterValidation: { type: Function },
|
|
380
|
+
labelForId: {}
|
|
381
|
+
},
|
|
382
|
+
setup(n) {
|
|
383
|
+
const f = n, i = h(
|
|
384
|
+
() => f.control.uischema
|
|
385
|
+
), c = h(() => i.value.options), V = h(() => c.value?.allowedFormats), D = ie(i, "dateTimeFormats"), r = [
|
|
386
|
+
{
|
|
387
|
+
id: "DATE",
|
|
388
|
+
text: "Date"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
id: "DATE_TIME",
|
|
392
|
+
text: "Date & time"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
id: "TIME",
|
|
396
|
+
text: "Time"
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
id: "ZONED_DATE_TIME",
|
|
400
|
+
text: "Zoned date & time"
|
|
401
|
+
}
|
|
402
|
+
], u = h({
|
|
403
|
+
get: () => f.control.data,
|
|
404
|
+
set: (d) => {
|
|
405
|
+
f.changeValue(d);
|
|
406
|
+
}
|
|
407
|
+
}), a = h({
|
|
408
|
+
get: () => u.value.temporalType,
|
|
409
|
+
set: (d) => {
|
|
410
|
+
u.value = {
|
|
411
|
+
...u.value,
|
|
412
|
+
temporalType: d
|
|
413
|
+
};
|
|
414
|
+
}
|
|
415
|
+
});
|
|
416
|
+
return (d, l) => (v(), w("div", {
|
|
417
|
+
id: n.labelForId,
|
|
418
|
+
class: "control-container"
|
|
419
|
+
}, [
|
|
420
|
+
b(x(z), {
|
|
421
|
+
modelValue: a.value,
|
|
422
|
+
"onUpdate:modelValue": l[0] || (l[0] = (m) => a.value = m),
|
|
423
|
+
compact: "",
|
|
424
|
+
"possible-values": r,
|
|
425
|
+
disabled: n.disabled
|
|
426
|
+
}, null, 8, ["modelValue", "disabled"]),
|
|
427
|
+
b(x(Se), {
|
|
428
|
+
modelValue: u.value,
|
|
429
|
+
"onUpdate:modelValue": l[1] || (l[1] = (m) => u.value = m),
|
|
430
|
+
compact: "",
|
|
431
|
+
disabled: n.disabled,
|
|
432
|
+
"show-type-switch-in-popover": !1,
|
|
433
|
+
"allowed-formats": V.value,
|
|
434
|
+
"all-default-formats": x(D),
|
|
435
|
+
"is-valid": !0
|
|
436
|
+
}, null, 8, ["modelValue", "disabled", "allowed-formats", "all-default-formats"])
|
|
437
|
+
], 8, Re));
|
|
438
|
+
}
|
|
439
|
+
}), Le = /* @__PURE__ */ S(Ne, [["__scopeId", "data-v-8517cafd"]]);
|
|
440
|
+
export {
|
|
441
|
+
Le as default
|
|
442
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as r, toRef as s, computed as o, openBlock as n, createBlock as t, unref as d } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { u as m } from "./usePossibleValues-
|
|
4
|
-
import { _ as b } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { y as c } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
|
|
3
|
+
import { u as m } from "./usePossibleValues-BGGWIVzM.js";
|
|
4
|
+
import { _ as b } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-M581gyEa.js";
|
|
5
5
|
const F = /* @__PURE__ */ r({
|
|
6
6
|
__name: "DropdownControl",
|
|
7
7
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as a, createElementBlock as t, Fragment as r, renderList as c, createBlock as s, unref as u } from "vue";
|
|
2
|
-
import { a as m, _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-
|
|
2
|
+
import { a as m, _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.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-IP3X2jko.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "IntegerControl",
|
|
5
5
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { openBlock as m, createElementBlock as f, renderSlot as Ve, toDisplayString as F, createCommentVNode as $, createElementVNode as c, resolveComponent as ye, normalizeClass as b, withModifiers as R, createVNode as I, defineComponent as L, useModel as H, computed as w, Fragment as O, createBlock as ee, withDirectives as D, vShow as S, renderList as K, unref as p, withCtx as W, createTextVNode as xe, mergeModels as U, ref as T, watch as q, withKeys as Ae, vModelText as Me, normalizeStyle as _e } from "vue";
|
|
2
|
-
import { _ as C,
|
|
2
|
+
import { _ as C, J as be, N as De, a4 as we, u as Pe } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
|
|
3
3
|
import { u as Re, a as Ne, s as Se, f as $e, o as Ce } from "./floating-ui.vue-Fx4CxKut.js";
|
|
4
4
|
import { A as Oe } from "./arrow-dropdown-DMFBPPcK.js";
|
|
5
5
|
/* empty css */
|
|
6
|
-
import { V as z } from "./ValueSwitch-
|
|
6
|
+
import { V as z } from "./ValueSwitch-BfYlPI2B.js";
|
|
7
7
|
const Be = {
|
|
8
8
|
name: "Tooltip",
|
|
9
9
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import { openBlock as i, createElementBlock as s, normalizeClass as d, renderSlot as o, createCommentVNode as u, createElementVNode as r, mergeProps as m, toDisplayString as h } from "vue";
|
|
3
|
-
import { _ as f,
|
|
3
|
+
import { _ as f, O as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
|
|
4
4
|
const g = {
|
|
5
5
|
name: "InputField",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as b, computed as s, openBlock as m, createBlock as V, unref as v, mergeProps as y } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
|
|
3
3
|
const L = /* @__PURE__ */ b({
|
|
4
4
|
__name: "LoadingDropdown",
|
|
5
5
|
props: {
|
|
@@ -0,0 +1,29 @@
|
|
|
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 "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.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,9 +1,9 @@
|
|
|
1
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
2
|
import { m as T } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import { u as L, a as U } from "./usePossibleValues-
|
|
4
|
-
import { T as z, a as M } from "./TwinlistLoadingInfo-
|
|
5
|
-
import { u as B } from "./MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-
|
|
6
|
-
import { _ as D } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-
|
|
3
|
+
import { u as L, a as U } from "./usePossibleValues-BGGWIVzM.js";
|
|
4
|
+
import { T as z, a as M } from "./TwinlistLoadingInfo-CZpH6CqT.js";
|
|
5
|
+
import { u as B } from "./MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-C8itN9TE.js";
|
|
6
|
+
import { _ as D } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
|
|
7
7
|
const _ = /* @__PURE__ */ C({
|
|
8
8
|
__name: "ManualTwinlistControl",
|
|
9
9
|
props: {
|
package/dist/{MultiSelectListBoxControl-xAD6kXMK.js → MultiSelectListBoxControl-B6tvY3Al.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
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-
|
|
3
|
-
import { M as u } from "./MultiselectListBox-
|
|
2
|
+
import { u as d } from "./usePossibleValues-BGGWIVzM.js";
|
|
3
|
+
import { M as u } from "./MultiselectListBox-C1rI0rOG.js";
|
|
4
4
|
const f = /* @__PURE__ */ t({
|
|
5
5
|
__name: "MultiSelectListBoxControl",
|
|
6
6
|
props: {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { resolveComponent as f, openBlock as m, createElementBlock as S, normalizeClass as M, Fragment as
|
|
2
|
-
import { _ as U,
|
|
1
|
+
import { resolveComponent as f, openBlock as m, createElementBlock as S, normalizeClass as M, Fragment as J, renderList as Q, createBlock as g, withCtx as c, renderSlot as k, createTextVNode as X, toDisplayString as I, createElementVNode as V, toRef as L, createVNode as b, createCommentVNode as P, normalizeProps as _, guardReactiveProps as B, mergeProps as A, defineComponent as Y, ref as Z, computed as y, markRaw as $, unref as T, createSlots as ee } from "vue";
|
|
2
|
+
import { _ as U, a0 as z } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
|
|
3
3
|
import { m as te } from "./index-Blg1O3Fz.js";
|
|
4
|
-
import { u as ae, a as le } from "./usePossibleValues-
|
|
5
|
-
import { a as ne, S as se, u as ie, T as oe } from "./TwinlistLoadingInfo-
|
|
6
|
-
import { u as de } from "./MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-
|
|
4
|
+
import { u as ae, a as le } from "./usePossibleValues-BGGWIVzM.js";
|
|
5
|
+
import { a as ne, S as se, u as ie, T as oe } from "./TwinlistLoadingInfo-CZpH6CqT.js";
|
|
6
|
+
import { u as de } from "./MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-C8itN9TE.js";
|
|
7
7
|
import { f as D } from "./useSearch-hpyYQ_6y.js";
|
|
8
|
-
import { C as re } from "./Checkbox-
|
|
9
|
-
import { L as ue } from "./Label-
|
|
10
|
-
import { V as ce } from "./ValueSwitch-
|
|
8
|
+
import { C as re } from "./Checkbox-D1QZ8D8U.js";
|
|
9
|
+
import { L as ue } from "./Label-BckcZVsr.js";
|
|
10
|
+
import { V as ce } from "./ValueSwitch-BfYlPI2B.js";
|
|
11
11
|
const me = {
|
|
12
12
|
name: "Checkboxes",
|
|
13
13
|
components: {
|
|
@@ -87,7 +87,7 @@ function pe(e, a, t, o, s, n) {
|
|
|
87
87
|
return m(), S("div", {
|
|
88
88
|
class: M(["checkboxes", t.alignment])
|
|
89
89
|
}, [
|
|
90
|
-
(m(!0), S(
|
|
90
|
+
(m(!0), S(J, null, Q(t.possibleValues, (i) => (m(), g(p, {
|
|
91
91
|
ref_for: !0,
|
|
92
92
|
ref: "boxes",
|
|
93
93
|
key: `checkboxes-${i.id}`,
|
|
@@ -100,7 +100,7 @@ function pe(e, a, t, o, s, n) {
|
|
|
100
100
|
}, {
|
|
101
101
|
default: c(() => [
|
|
102
102
|
k(e.$slots, "label", { slotItem: i }, () => [
|
|
103
|
-
|
|
103
|
+
X(I(i.text), 1)
|
|
104
104
|
], !0)
|
|
105
105
|
]),
|
|
106
106
|
_: 2
|
|
@@ -445,7 +445,7 @@ function ge(e, a, t, o, s, n) {
|
|
|
445
445
|
}, 16, ["disabled", "show-search", "model-value", "possible-values", "compact", "onUpdate:modelValue"])
|
|
446
446
|
], 2);
|
|
447
447
|
}
|
|
448
|
-
const Te = /* @__PURE__ */ U(we, [["render", ge], ["__scopeId", "data-v-a4487686"]]), Ve = { class: "data-type-text" }, Se = /* @__PURE__ */
|
|
448
|
+
const Te = /* @__PURE__ */ U(we, [["render", ge], ["__scopeId", "data-v-a4487686"]]), Ve = { class: "data-type-text" }, Se = /* @__PURE__ */ Y({
|
|
449
449
|
__name: "MultimodeTwinlistControl",
|
|
450
450
|
props: {
|
|
451
451
|
control: {},
|
|
@@ -497,7 +497,7 @@ const Te = /* @__PURE__ */ U(we, [["render", ge], ["__scopeId", "data-v-a4487686
|
|
|
497
497
|
o({ patternFilter: { isCaseSensitive: l } });
|
|
498
498
|
}, { possibleValues: w } = ae(
|
|
499
499
|
L(a, "control")
|
|
500
|
-
), u =
|
|
500
|
+
), u = Z([]), { selectedAndDeselected: F, setCurrentManualFilter: O } = de({
|
|
501
501
|
data: y(() => a.control.data),
|
|
502
502
|
possibleValueIds: y(
|
|
503
503
|
() => w.value?.map(({ id: l }) => l) ?? null
|
|
@@ -533,7 +533,7 @@ const Te = /* @__PURE__ */ U(we, [["render", ge], ["__scopeId", "data-v-a4487686
|
|
|
533
533
|
() => !!w.value?.[0]?.hasOwnProperty("type")
|
|
534
534
|
), { excludedLabel: H, includedLabel: K } = le(
|
|
535
535
|
L(a, "control")
|
|
536
|
-
), W = y(() => H ?? a.twinlistLeftLabel),
|
|
536
|
+
), W = y(() => H ?? a.twinlistLeftLabel), G = y(() => K ?? a.twinlistRightLabel);
|
|
537
537
|
return (l, r) => (m(), g(T(Te), A(l.$attrs, {
|
|
538
538
|
id: e.labelForId,
|
|
539
539
|
disabled: e.disabled,
|
|
@@ -551,7 +551,7 @@ const Te = /* @__PURE__ */ U(we, [["render", ge], ["__scopeId", "data-v-a4487686
|
|
|
551
551
|
"possible-values": T(w) ?? [],
|
|
552
552
|
size: e.twinlistSize,
|
|
553
553
|
"left-label": W.value,
|
|
554
|
-
"right-label":
|
|
554
|
+
"right-label": G.value,
|
|
555
555
|
"is-valid": e.isValid,
|
|
556
556
|
compact: "",
|
|
557
557
|
"show-resize-handle": "",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as v, watch as m } from "vue";
|
|
2
2
|
import { g as S, a as g } from "./index-Blg1O3Fz.js";
|
|
3
|
-
import "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-
|
|
4
|
-
import "./TwinlistLoadingInfo-
|
|
3
|
+
import "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
|
|
4
|
+
import "./TwinlistLoadingInfo-CZpH6CqT.js";
|
|
5
5
|
const w = ({
|
|
6
6
|
knownValuesSide: s,
|
|
7
7
|
possibleValueIds: l,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { toRef as x, watch as S, resolveComponent as p, openBlock as h, createElementBlock as u, normalizeStyle as y, normalizeClass as I, createElementVNode as m, mergeProps as C, withKeys as a, withModifiers as d, normalizeProps as v, guardReactiveProps as w, Fragment as V, renderList as k, createBlock as g, withCtx as D, renderSlot as H, resolveDynamicComponent as B, toDisplayString as K, createCommentVNode as b, createVNode as N } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { S as
|
|
2
|
+
import { a2 as L, O as A, _ as O } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
|
|
3
|
+
import { S as T } from "./StyledListItem-DhsQSwUn.js";
|
|
4
4
|
const z = (e, t) => {
|
|
5
5
|
let i, r = 0;
|
|
6
6
|
return (...l) => {
|
|
@@ -13,7 +13,7 @@ const z = (e, t) => {
|
|
|
13
13
|
};
|
|
14
14
|
}, M = 250, P = {
|
|
15
15
|
name: "MultiselectListBox",
|
|
16
|
-
components: { StyledListItem:
|
|
16
|
+
components: { StyledListItem: T },
|
|
17
17
|
props: {
|
|
18
18
|
id: {
|
|
19
19
|
type: String,
|
|
@@ -511,7 +511,7 @@ function j(e, t, i, r, l, s) {
|
|
|
511
511
|
])
|
|
512
512
|
], 6);
|
|
513
513
|
}
|
|
514
|
-
const G = /* @__PURE__ */
|
|
514
|
+
const G = /* @__PURE__ */ O(P, [["render", j], ["__scopeId", "data-v-4ee62d65"]]);
|
|
515
515
|
export {
|
|
516
516
|
G as M
|
|
517
517
|
};
|