@knime/jsonforms 1.6.10 → 1.7.1
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 +22 -0
- package/dist/AnyOfTwinlist-D7gkxtYi.js +22 -0
- package/dist/{BaseButton-DRXubmlD.js → BaseButton-nH3iSIOK.js} +1 -1
- package/dist/{Button-nRJkSaBC.js → Button-DnQZFkaO.js} +2 -2
- package/dist/{Checkbox-bWqzeYko.js → Checkbox-DB9YeQa-.js} +1 -1
- package/dist/{CheckboxControl-B4kwAvLf.js → CheckboxControl-hkHWMBsv.js} +2 -2
- package/dist/{Checkboxes-C0WemzK0.js → Checkboxes-C_qM6Iao.js} +2 -2
- package/dist/{CheckboxesControl-BcBsTMGJ.js → CheckboxesControl-DRNda60A.js} +3 -3
- package/dist/{ComboBoxControl-Dz4VWUbr.js → ComboBoxControl-Dd0UZdMx.js} +77 -89
- package/dist/{DateControl-DvPEzSbD.js → DateControl-BmqofCSf.js} +1 -1
- package/dist/{DateTimeControl-Buq_H47Q.js → DateTimeControl-B7uvqC1s.js} +2 -2
- package/dist/{DateTimeFormatInput-BLX9j412.js → DateTimeFormatInput-CsEAVqAA.js} +3 -3
- package/dist/{DateTimeFormatPickerControl-CQi49UrA.js → DateTimeFormatPickerControl-BK80kZf0.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-BcK2N4NI.js → DateTimeFormatPickerWithTypeControl-CS8APLBp.js} +3 -3
- package/dist/{DateTimeInput-C5Oyw-Bz.js → DateTimeInput-DP2yHD9r.js} +14 -13
- package/dist/{Dropdown-CIDjugP6.js → Dropdown-D8qp_4wZ.js} +30 -29
- package/dist/DropdownControl-B2fs1yBj.js +84 -0
- package/dist/{FunctionButton-6rf73qNS.js → FunctionButton-Bo0NcfGh.js} +2 -2
- package/dist/{HorizontalLayout-Bq5hSQkC.js → HorizontalLayout-Bg5vYcO1.js} +1 -1
- package/dist/{InputField-BZzeUMVs.js → InputField-DRLCzzDf.js} +1 -1
- package/dist/{IntegerControl-DtEJ9jaq.js → IntegerControl-HLRox7w7.js} +1 -1
- package/dist/{IntervalControl-uNaB8SlU.js → IntervalControl-D-xUIRW3.js} +4 -4
- package/dist/LoadingDropdown-DkxltiwQ.js +40 -0
- package/dist/MultimodeTwinlistControl-CV2v4Y5n.js +526 -0
- package/dist/{MultiselectListBox-B0o19vqK.js → MultiselectListBox-BFQxtoyR.js} +1 -1
- package/dist/{NameFilter-C24OdpHy.js → NameFilter-BxfjNVu-.js} +1 -1
- package/dist/{NumberControl-BGSO6wof.js → NumberControl-Df91UAXl.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-B7TqcQCe.js → NumberControlBase.vue_vue_type_script_setup_true_lang-DLqtcp04.js} +2 -2
- package/dist/{NumberInput-DCbMtXhN.js → NumberInput-BLlTeOig.js} +1 -1
- package/dist/OneOfDropdown-CLPbmMt7.js +34 -0
- package/dist/{RadioControl-1ymKFtE9.js → RadioControl-CDi8WbsE.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-CplSbUri.js → RadioControlBase.vue_vue_type_script_setup_true_lang-B6clHvd5.js} +3 -3
- package/dist/{RichTextControl-IMoFZ4yN.js → RichTextControl-YMNSyY3O.js} +6 -6
- package/dist/{SectionHeading-C9ojqc26.js → SectionHeading-D8h1zy67.js} +1 -1
- package/dist/{SectionLayout-CG6GUoC4.js → SectionLayout-DBiG5Ubc.js} +3 -3
- package/dist/{SettingsSubPanel-D2qmyQRj.js → SettingsSubPanel--LD_hsgG.js} +2 -2
- package/dist/{SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BKc2bf4r.js → SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js} +439 -442
- package/dist/{SettingsSubPanelLayout-C4jPUZqS.js → SettingsSubPanelLayout-By5U2J68.js} +5 -5
- package/dist/{SimpleButtonControl-CZXA-sOd.js → SimpleButtonControl-B47jBtrM.js} +6 -6
- package/dist/SimpleTwinlistControl-DoRJkKPs.js +22 -0
- package/dist/SingleSelectControl-zE9ck9JX.js +58 -0
- package/dist/SortListControl-C5DXqqPG.js +372 -0
- package/dist/{TextAreaControl-CAj56e3W.js → TextAreaControl-D2-nyO1m.js} +1 -1
- package/dist/{TextControl-_Wx3rzZd.js → TextControl-Ss9_5V2f.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-BlZ-3BwP.js → TextControl.vue_vue_type_script_setup_true_lang-DaEoFVBw.js} +4 -4
- package/dist/{TimeControl-B-xivFCg.js → TimeControl-CblSq-0a.js} +2 -2
- package/dist/TwinlistControlBase-Xe8xQAyG.js +40 -0
- package/dist/{TwinlistLoadingInfo-BGRl50bt.js → TwinlistLoadingInfo-BHhpo_7N.js} +12 -11
- package/dist/TypedNameFilter-N2eeG2VM.js +25 -0
- package/dist/{ValueSwitch-ChvWwn2P.js → ValueSwitch-BI5z5U3F.js} +1 -1
- package/dist/{ValueSwitchControl-BIi3Dylq.js → ValueSwitchControl-CixwDXQs.js} +1 -1
- package/dist/{VerticalLayout-fN3TpOhN.js → VerticalLayout-B8RzC8Vj.js} +2 -2
- package/dist/{VerticalLayoutBase-Ci94-Lwd.js → VerticalLayoutBase-Bj_upYbt.js} +1 -1
- package/dist/{ZonedDateTimeControl-Cqki5Y3R.js → ZonedDateTimeControl-CZdpjJEK.js} +4 -4
- package/dist/_baseEach-FP8ISlsz.js +31 -0
- package/dist/_baseIteratee-DhaGkQLM.js +518 -0
- package/dist/_getTag-DiktJuv_.js +132 -0
- package/dist/index-Blg1O3Fz.js +15 -0
- package/dist/isArray-WzO_os3q.js +4 -0
- package/dist/isObjectLike-BatpeCIi.js +29 -0
- package/dist/isSymbol-C3_SC0Qp.js +8 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +8 -8
- package/dist/{localTimeUtils-xLrZjUnt.js → localTimeUtils-Dp9bEJDh.js} +1 -1
- package/dist/{magic-string.es-lf2rq-mj.js → magic-string.es-CeNBRh1A.js} +1 -1
- package/dist/src/constants/inputFormats.d.ts +2 -2
- package/dist/src/renderers/defaultRenderers.d.ts +24 -589
- package/dist/src/renderers/dropdownRenderer.d.ts +55 -115
- package/dist/src/renderers/fallbackRenderers.d.ts +1 -241
- package/dist/src/renderers/nameFilterRenderer.d.ts +1 -1
- package/dist/src/renderers/singleSelectRenderer.d.ts +8 -0
- package/dist/src/renderers/sortListRenderer.d.ts +0 -8
- package/dist/src/renderers/twinlistRenderer.d.ts +1 -1
- package/dist/src/renderers/typedNameFilterRenderer.d.ts +1 -0
- package/dist/src/types/ChoicesUiSchema.d.ts +7 -12
- package/dist/src/types/provided.d.ts +0 -2
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +2 -86
- package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +2 -13
- package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +20 -0
- package/dist/src/uiComponents/SortListControl.vue.d.ts +4 -4
- package/dist/src/uiComponents/composables/usePossibleValues.d.ts +24 -0
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +2 -99
- package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +36 -0
- package/dist/src/uiComponents/twinlist/{ColumnFilter.vue.d.ts → TypedNameFilter.vue.d.ts} +1 -1
- package/dist/src/uiComponents/twinlist/useUnknownValuesInTwinlist.d.ts +1 -1
- package/dist/src/utils/index.d.ts +0 -2
- package/dist/{svgWithTitle-CS5C7Mz8.js → svgWithTitle-B5FsAPop.js} +1 -1
- package/dist/testUtils/component.d.ts +4 -0
- package/dist/testing.js +80 -63
- package/dist/toString-B9O7P854.js +26 -0
- package/dist/{useBuiltinValidations-yPAysvI4.js → useBuiltinValidations-8VwUv3RT.js} +1 -1
- package/dist/usePossibleValues-CrNcBbpN.js +26 -0
- package/package.json +5 -5
- package/dist/AnyOfTwinlist-D6jRLlC9.js +0 -22
- package/dist/ColumnFilter-BSW3HQiz.js +0 -24
- package/dist/ColumnSelect-BT6NX4nN.js +0 -68
- package/dist/DropdownControl-CRr853C_.js +0 -4
- package/dist/DropdownControl.vue_vue_type_script_setup_true_lang-C56gUC45.js +0 -237
- package/dist/OneOfDropdown-oecnOh5j.js +0 -35
- package/dist/SimpleTwinlistControl-DQeky-AX.js +0 -50
- package/dist/SortListControl-D4yMhrbk.js +0 -366
- package/dist/TwinlistControl-BZaEVT9H.js +0 -554
- package/dist/_baseAssignValue-BPMLYzDH.js +0 -19
- package/dist/_baseEach-B8N_Gx8P.js +0 -31
- package/dist/_baseIsEqual-DmkT9Nkc.js +0 -248
- package/dist/_baseIteratee-DvBmrhnf.js +0 -104
- package/dist/_getTag-DS8v0_uf.js +0 -312
- package/dist/getPossibleValuesFromUiSchema-hQj1TCOR.js +0 -39
- package/dist/index-hm05O8UX.js +0 -16
- package/dist/isSymbol-OFe5xy2f.js +0 -34
- package/dist/src/renderers/columnFilterRenderer.d.ts +0 -1
- package/dist/src/renderers/columnSelectRenderer.d.ts +0 -265
- package/dist/src/uiComponents/ColumnSelect.vue.d.ts +0 -26
- package/dist/src/utils/getPossibleValuesFromUiSchema.d.ts +0 -10
- package/dist/toString-DkbNkGT4.js +0 -25
- /package/dist/src/uiComponents/twinlist/{TwinlistControl.vue.d.ts → MultimodeTwinlistControl.vue.d.ts} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as c, openBlock as n, createBlock as r, withCtx as t, createVNode as o, unref as l, pushScopeId as p, popScopeId as i, createElementVNode as m } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { k as d, _ as h } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
3
3
|
import { N as f } from "./arrow-next-Qa8PNb04.js";
|
|
4
|
-
import { V as b } from "./VerticalLayoutBase-
|
|
5
|
-
import { S as y } from "./SectionHeading-
|
|
6
|
-
import { S } from "./SettingsSubPanel
|
|
7
|
-
import { F as _ } from "./FunctionButton-
|
|
4
|
+
import { V as b } from "./VerticalLayoutBase-Bj_upYbt.js";
|
|
5
|
+
import { S as y } from "./SectionHeading-D8h1zy67.js";
|
|
6
|
+
import { S } from "./SettingsSubPanel--LD_hsgG.js";
|
|
7
|
+
import { F as _ } from "./FunctionButton-Bo0NcfGh.js";
|
|
8
8
|
const k = (a) => (p("data-v-6ea6b26c"), a = a(), i(), a), g = /* @__PURE__ */ k(() => /* @__PURE__ */ m("span", null, "Set", -1)), I = /* @__PURE__ */ c({
|
|
9
9
|
__name: "SettingsSubPanelLayout",
|
|
10
10
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as u, openBlock as s, createBlock as p, resolveDynamicComponent as f, computed as r, ref as g, createElementBlock as _, createVNode as b, unref as y, withCtx as B, createCommentVNode as C, createTextVNode as h, toDisplayString as
|
|
2
|
-
import {
|
|
1
|
+
import { defineComponent as u, openBlock as s, createBlock as p, resolveDynamicComponent as f, computed as r, ref as g, createElementBlock as _, createVNode as b, unref as y, withCtx as B, createCommentVNode as C, createTextVNode as h, toDisplayString as I, renderSlot as V } from "vue";
|
|
2
|
+
import { o as k, _ as F } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
3
3
|
import { R as S } from "./reload-BhzcZRFp.js";
|
|
4
|
-
import { B as $ } from "./Button-
|
|
4
|
+
import { B as $ } from "./Button-DnQZFkaO.js";
|
|
5
5
|
const x = /* @__PURE__ */ u({
|
|
6
6
|
__name: "DynamicIcon",
|
|
7
7
|
props: {
|
|
@@ -28,7 +28,7 @@ const x = /* @__PURE__ */ u({
|
|
|
28
28
|
setup(a) {
|
|
29
29
|
const e = a, t = r(() => !e.control.enabled), l = r(() => e.control.uischema.options.triggerId), i = r(
|
|
30
30
|
() => e.control.uischema.options.icon
|
|
31
|
-
), d =
|
|
31
|
+
), d = k("trigger"), m = () => {
|
|
32
32
|
d({ id: l.value });
|
|
33
33
|
}, n = g(!1);
|
|
34
34
|
return (c, o) => (s(), _("div", {
|
|
@@ -48,11 +48,11 @@ const x = /* @__PURE__ */ u({
|
|
|
48
48
|
key: 0,
|
|
49
49
|
icon: i.value
|
|
50
50
|
}, null, 8, ["icon"])) : C("", !0),
|
|
51
|
-
h(
|
|
51
|
+
h(I(c.control.label), 1)
|
|
52
52
|
]),
|
|
53
53
|
_: 1
|
|
54
54
|
}, 8, ["disabled"]),
|
|
55
|
-
|
|
55
|
+
V(c.$slots, "buttons", { hover: n.value }, void 0, !0)
|
|
56
56
|
], 32));
|
|
57
57
|
}
|
|
58
58
|
}), j = /* @__PURE__ */ F(D, [["__scopeId", "data-v-71d12dcd"]]);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { defineComponent as s, toRef as l, openBlock as a, createBlock as r, mergeProps as i, unref as p } from "vue";
|
|
2
|
+
import { u as c } from "./usePossibleValues-CrNcBbpN.js";
|
|
3
|
+
import { T as u } from "./TwinlistControlBase-Xe8xQAyG.js";
|
|
4
|
+
const y = /* @__PURE__ */ s({
|
|
5
|
+
__name: "SimpleTwinlistControl",
|
|
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 o = e, n = l(o, "control"), { possibleValues: t } = c(n);
|
|
17
|
+
return (m, d) => (a(), r(u, i(o, { "possible-values": p(t) }), null, 16, ["possible-values"]));
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
export {
|
|
21
|
+
y as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { defineComponent as v, computed as r, openBlock as I, createBlock as y } from "vue";
|
|
2
|
+
import { u as F } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
3
|
+
import { L as P } from "./LoadingDropdown-DkxltiwQ.js";
|
|
4
|
+
const i = "__special__", a = "__regular__", B = /* @__PURE__ */ v({
|
|
5
|
+
__name: "SingleSelectControl",
|
|
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(u) {
|
|
16
|
+
const t = u, d = r(
|
|
17
|
+
() => t.control.uischema.options.choicesProvider
|
|
18
|
+
), p = r(
|
|
19
|
+
() => t.control.uischema.options.specialChoices
|
|
20
|
+
), n = F(
|
|
21
|
+
d,
|
|
22
|
+
null
|
|
23
|
+
), l = (e) => `${i}${e}`, c = (e) => `${a}${e}`, h = ({
|
|
24
|
+
id: e,
|
|
25
|
+
text: o
|
|
26
|
+
}) => ({
|
|
27
|
+
id: l(e),
|
|
28
|
+
text: o,
|
|
29
|
+
isSpecial: !0
|
|
30
|
+
}), m = ({
|
|
31
|
+
id: e,
|
|
32
|
+
text: o
|
|
33
|
+
}) => ({
|
|
34
|
+
id: c(e),
|
|
35
|
+
text: o
|
|
36
|
+
}), f = r(() => n.value === null ? null : p.value.map(h).concat(n.value.map(m))), C = (e) => {
|
|
37
|
+
if (!e.startsWith(a) && !e.startsWith(i))
|
|
38
|
+
throw new Error(`Expected id to start with ${a}`);
|
|
39
|
+
}, g = (e) => e ? (C(e), e.startsWith(i) ? { specialChoice: e.slice(i.length) } : { regularChoice: e.slice(a.length) }) : null, b = (e) => typeof e > "u" || e === null ? "" : "regularChoice" in e && e.regularChoice ? c(e.regularChoice) : "specialChoice" in e && e.specialChoice ? l(e.specialChoice) : "", s = r({
|
|
40
|
+
get: () => b(t.control.data),
|
|
41
|
+
set: (e) => {
|
|
42
|
+
t.changeValue(g(e));
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
return (e, o) => (I(), y(P, {
|
|
46
|
+
id: e.labelForId,
|
|
47
|
+
modelValue: s.value,
|
|
48
|
+
"onUpdate:modelValue": o[0] || (o[0] = (_) => s.value = _),
|
|
49
|
+
"possible-values": f.value,
|
|
50
|
+
ariaLabel: e.control.label,
|
|
51
|
+
disabled: e.disabled,
|
|
52
|
+
compact: ""
|
|
53
|
+
}, null, 8, ["id", "modelValue", "possible-values", "ariaLabel", "disabled"]));
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
export {
|
|
57
|
+
B as default
|
|
58
|
+
};
|
|
@@ -0,0 +1,372 @@
|
|
|
1
|
+
import { openBlock as C, createElementBlock as S, createElementVNode as V, defineComponent as W, computed as g, ref as F, watch as z, Fragment as Y, createVNode as u, withKeys as B, withModifiers as M, unref as m, withCtx as f, nextTick as re, onMounted as ie, createTextVNode as T, renderSlot as H, normalizeClass as ce } from "vue";
|
|
2
|
+
import { _ as q, u as ue, L as de, E as me } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
3
|
+
import { i as pe } from "./navigator-DWmzYl-A.js";
|
|
4
|
+
import { F as $ } from "./FunctionButton-Bo0NcfGh.js";
|
|
5
|
+
import { M as fe } from "./MultiselectListBox-BFQxtoyR.js";
|
|
6
|
+
import { g as he } from "./_getTag-DiktJuv_.js";
|
|
7
|
+
import { b as ve } from "./_baseEach-FP8ISlsz.js";
|
|
8
|
+
import { b as we } from "./_baseIteratee-DhaGkQLM.js";
|
|
9
|
+
import { i as be } from "./isArray-WzO_os3q.js";
|
|
10
|
+
import { c as _e } from "./createMissingItem-B00Kg95q.js";
|
|
11
|
+
import { B as N } from "./Button-DnQZFkaO.js";
|
|
12
|
+
const R = {
|
|
13
|
+
ArrowUp: "↑",
|
|
14
|
+
ArrowDown: "↓",
|
|
15
|
+
ArrowLeft: "←",
|
|
16
|
+
ArrowRight: "→",
|
|
17
|
+
Enter: "↵",
|
|
18
|
+
" ": "Space",
|
|
19
|
+
// we use event.key and there space is an actual space not the code "Space"
|
|
20
|
+
CtrlOrCmd: "Ctrl"
|
|
21
|
+
}, ge = {
|
|
22
|
+
Shift: "⇧",
|
|
23
|
+
Delete: "⌫",
|
|
24
|
+
CtrlOrCmd: "⌘",
|
|
25
|
+
Ctrl: "⌃",
|
|
26
|
+
Alt: "⌥",
|
|
27
|
+
Enter: "↩"
|
|
28
|
+
}, G = (t) => {
|
|
29
|
+
const e = (i) => (r) => i[r] ?? r, a = ((...i) => i.reduce((r, v) => (k) => v(r(k))))(
|
|
30
|
+
e(ge),
|
|
31
|
+
e(R)
|
|
32
|
+
), s = e(R);
|
|
33
|
+
return pe() ? a(t) : s(t);
|
|
34
|
+
}, J = () => " ", Ve = (t, e = J) => t.map(G).join(e()), ke = { formatHotkeys: Ve, formatHotkey: G, getDefaultSeparator: J };
|
|
35
|
+
var Z = function() {
|
|
36
|
+
try {
|
|
37
|
+
var t = he(Object, "defineProperty");
|
|
38
|
+
return t({}, "", {}), t;
|
|
39
|
+
} catch {
|
|
40
|
+
}
|
|
41
|
+
}();
|
|
42
|
+
function xe(t, e, o, a) {
|
|
43
|
+
for (var s = t.length, i = o + -1; ++i < s; )
|
|
44
|
+
if (e(t[i], i, t))
|
|
45
|
+
return i;
|
|
46
|
+
return -1;
|
|
47
|
+
}
|
|
48
|
+
function Ae(t) {
|
|
49
|
+
return t !== t;
|
|
50
|
+
}
|
|
51
|
+
function Ce(t, e, o) {
|
|
52
|
+
for (var a = o - 1, s = t.length; ++a < s; )
|
|
53
|
+
if (t[a] === e)
|
|
54
|
+
return a;
|
|
55
|
+
return -1;
|
|
56
|
+
}
|
|
57
|
+
function Se(t, e, o) {
|
|
58
|
+
return e === e ? Ce(t, e, o) : xe(t, Ae, o);
|
|
59
|
+
}
|
|
60
|
+
function Ie(t, e, o) {
|
|
61
|
+
e == "__proto__" && Z ? Z(t, e, {
|
|
62
|
+
configurable: !0,
|
|
63
|
+
enumerable: !0,
|
|
64
|
+
value: o,
|
|
65
|
+
writable: !0
|
|
66
|
+
}) : t[e] = o;
|
|
67
|
+
}
|
|
68
|
+
function ye(t, e, o, a) {
|
|
69
|
+
for (var s = -1, i = t == null ? 0 : t.length; ++s < i; ) {
|
|
70
|
+
var r = t[s];
|
|
71
|
+
e(a, r, o(r), t);
|
|
72
|
+
}
|
|
73
|
+
return a;
|
|
74
|
+
}
|
|
75
|
+
function Le(t, e, o, a) {
|
|
76
|
+
return ve(t, function(s, i, r) {
|
|
77
|
+
e(a, s, o(s), r);
|
|
78
|
+
}), a;
|
|
79
|
+
}
|
|
80
|
+
function Q(t, e) {
|
|
81
|
+
return function(o, a) {
|
|
82
|
+
var s = be(o) ? ye : Le, i = e ? e() : {};
|
|
83
|
+
return s(o, t, we(a), i);
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function X(t, e, o) {
|
|
87
|
+
var a = t == null ? 0 : t.length;
|
|
88
|
+
if (!a)
|
|
89
|
+
return -1;
|
|
90
|
+
var s = 0;
|
|
91
|
+
return Se(t, e, s);
|
|
92
|
+
}
|
|
93
|
+
var Ue = Q(function(t, e, o) {
|
|
94
|
+
Ie(t, o, e);
|
|
95
|
+
}), Be = Q(function(t, e, o) {
|
|
96
|
+
t[o ? 0 : 1].push(e);
|
|
97
|
+
}, function() {
|
|
98
|
+
return [[], []];
|
|
99
|
+
});
|
|
100
|
+
const Me = {
|
|
101
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
102
|
+
fill: "none",
|
|
103
|
+
stroke: "#000",
|
|
104
|
+
"stroke-linejoin": "round",
|
|
105
|
+
viewBox: "0 0 32 32"
|
|
106
|
+
}, $e = /* @__PURE__ */ V("path", { d: "m27 17.1-11 11-11-11m11 11V3.9" }, null, -1), Ee = [
|
|
107
|
+
$e
|
|
108
|
+
];
|
|
109
|
+
function Te(t, e) {
|
|
110
|
+
return C(), S("svg", Me, [...Ee]);
|
|
111
|
+
}
|
|
112
|
+
const Ne = { render: Te }, Fe = {
|
|
113
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
114
|
+
fill: "none",
|
|
115
|
+
stroke: "#000",
|
|
116
|
+
viewBox: "0 0 32 32"
|
|
117
|
+
}, Ke = /* @__PURE__ */ V("path", { d: "M23.4 13.4 16 20.8l-7.4-7.4m7.4 7.4V4.5m12.5 23h-25" }, null, -1), De = [
|
|
118
|
+
Ke
|
|
119
|
+
];
|
|
120
|
+
function Pe(t, e) {
|
|
121
|
+
return C(), S("svg", Fe, [...De]);
|
|
122
|
+
}
|
|
123
|
+
const j = { render: Pe }, Oe = {
|
|
124
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
125
|
+
fill: "none",
|
|
126
|
+
stroke: "#000",
|
|
127
|
+
"stroke-linejoin": "round",
|
|
128
|
+
viewBox: "0 0 32 32"
|
|
129
|
+
}, He = /* @__PURE__ */ V("path", { d: "m5 14.9 11-11 11 11m-11-11v24.2" }, null, -1), Re = [
|
|
130
|
+
He
|
|
131
|
+
];
|
|
132
|
+
function Ze(t, e) {
|
|
133
|
+
return C(), S("svg", Oe, [...Re]);
|
|
134
|
+
}
|
|
135
|
+
const je = { render: Ze }, We = { class: "buttons" }, ze = /* @__PURE__ */ W({
|
|
136
|
+
__name: "SortList",
|
|
137
|
+
props: {
|
|
138
|
+
modelValue: {},
|
|
139
|
+
id: {},
|
|
140
|
+
ariaLabel: {},
|
|
141
|
+
disabled: { type: Boolean },
|
|
142
|
+
possibleValues: {}
|
|
143
|
+
},
|
|
144
|
+
emits: ["update:modelValue"],
|
|
145
|
+
setup(t, { emit: e }) {
|
|
146
|
+
const o = t, a = e, s = g(() => Ue(o.possibleValues, "id")), i = g(
|
|
147
|
+
() => o.modelValue.map(
|
|
148
|
+
(l) => s.value[l] ?? _e(l)
|
|
149
|
+
)
|
|
150
|
+
), r = F([]);
|
|
151
|
+
z(
|
|
152
|
+
() => o.modelValue,
|
|
153
|
+
(l) => {
|
|
154
|
+
const c = new Set(l);
|
|
155
|
+
r.value = r.value.filter((d) => c.has(d));
|
|
156
|
+
}
|
|
157
|
+
);
|
|
158
|
+
const v = g(() => r.value.length === 0), k = (l, c, d) => [
|
|
159
|
+
l.slice(0, c),
|
|
160
|
+
l.slice(c, d),
|
|
161
|
+
l.slice(d)
|
|
162
|
+
], I = (l) => {
|
|
163
|
+
let c = 0;
|
|
164
|
+
return (d) => l(d, c++);
|
|
165
|
+
}, y = (l, c) => Be(
|
|
166
|
+
l,
|
|
167
|
+
I((d, _) => c(_))
|
|
168
|
+
), n = F(null), p = (l) => ({ to: c } = {}) => {
|
|
169
|
+
const d = r.value.map((b) => X(o.modelValue, b)).sort((b, U) => b - U), _ = (l === "up" ? c : null) ?? Math.max(d[0] - 1, 0), E = (l === "down" ? c : null) ?? d[d.length - 1] + 1, [ee, te, oe] = k(
|
|
170
|
+
o.modelValue,
|
|
171
|
+
_,
|
|
172
|
+
E + 1
|
|
173
|
+
), ne = new Set(d), [K, D] = y(
|
|
174
|
+
te,
|
|
175
|
+
(b) => ne.has(b + _)
|
|
176
|
+
), [le, se] = l === "up" ? [K, D] : [D, K], ae = ee.concat(le, se, oe);
|
|
177
|
+
a("update:modelValue", ae), re(() => {
|
|
178
|
+
var b, U, P, O;
|
|
179
|
+
l === "up" ? ((b = n.value) == null || b.scrollUpIntoView(_ - 1), (U = n.value) == null || U.setCurrentKeyNavIndex(_)) : ((P = n.value) == null || P.scrollDownIntoView(E + 1), (O = n.value) == null || O.setCurrentKeyNavIndex(E));
|
|
180
|
+
});
|
|
181
|
+
}, h = p("up"), x = p("down"), L = () => h({ to: 0 }), A = () => x({ to: o.modelValue.length }), w = (l, c) => `${l} (${ke.formatHotkeys(c)})`;
|
|
182
|
+
return (l, c) => (C(), S(Y, null, [
|
|
183
|
+
u(fe, {
|
|
184
|
+
id: l.id,
|
|
185
|
+
ref_key: "listBox",
|
|
186
|
+
ref: n,
|
|
187
|
+
modelValue: r.value,
|
|
188
|
+
"onUpdate:modelValue": c[0] || (c[0] = (d) => r.value = d),
|
|
189
|
+
"possible-values": i.value,
|
|
190
|
+
ariaLabel: `sortListBox_${l.ariaLabel}`,
|
|
191
|
+
"with-is-empty-state": !0,
|
|
192
|
+
"empty-state-label": "Empty",
|
|
193
|
+
size: 10,
|
|
194
|
+
onKeydown: [
|
|
195
|
+
B(M(m(x), ["alt"]), ["down"]),
|
|
196
|
+
B(M(m(h), ["alt"]), ["up"]),
|
|
197
|
+
B(M(L, ["alt"]), ["home"]),
|
|
198
|
+
B(M(A, ["alt"]), ["end"])
|
|
199
|
+
]
|
|
200
|
+
}, null, 8, ["id", "modelValue", "possible-values", "ariaLabel", "onKeydown"]),
|
|
201
|
+
V("div", We, [
|
|
202
|
+
u($, {
|
|
203
|
+
disabled: v.value,
|
|
204
|
+
title: w("Move to top", ["Alt", "Home"]),
|
|
205
|
+
compact: "",
|
|
206
|
+
onClick: L
|
|
207
|
+
}, {
|
|
208
|
+
default: f(() => [
|
|
209
|
+
u(m(j), { class: "rotated" })
|
|
210
|
+
]),
|
|
211
|
+
_: 1
|
|
212
|
+
}, 8, ["disabled", "title"]),
|
|
213
|
+
u($, {
|
|
214
|
+
disabled: v.value,
|
|
215
|
+
title: w("Move to bottom", ["Alt", "End"]),
|
|
216
|
+
compact: "",
|
|
217
|
+
onClick: A
|
|
218
|
+
}, {
|
|
219
|
+
default: f(() => [
|
|
220
|
+
u(m(j))
|
|
221
|
+
]),
|
|
222
|
+
_: 1
|
|
223
|
+
}, 8, ["disabled", "title"]),
|
|
224
|
+
u($, {
|
|
225
|
+
disabled: v.value,
|
|
226
|
+
title: w("Move up", ["Alt", "ArrowUp"]),
|
|
227
|
+
compact: "",
|
|
228
|
+
onClick: m(h)
|
|
229
|
+
}, {
|
|
230
|
+
default: f(() => [
|
|
231
|
+
u(m(je))
|
|
232
|
+
]),
|
|
233
|
+
_: 1
|
|
234
|
+
}, 8, ["disabled", "title", "onClick"]),
|
|
235
|
+
u($, {
|
|
236
|
+
disabled: v.value,
|
|
237
|
+
title: w("Move down", ["Alt", "ArrowDown"]),
|
|
238
|
+
compact: "",
|
|
239
|
+
onClick: m(x)
|
|
240
|
+
}, {
|
|
241
|
+
default: f(() => [
|
|
242
|
+
u(m(Ne))
|
|
243
|
+
]),
|
|
244
|
+
_: 1
|
|
245
|
+
}, 8, ["disabled", "title", "onClick"])
|
|
246
|
+
])
|
|
247
|
+
], 64));
|
|
248
|
+
}
|
|
249
|
+
}), Ye = /* @__PURE__ */ q(ze, [["__scopeId", "data-v-116782be"]]), qe = {
|
|
250
|
+
class: /* @__PURE__ */ ce(["flex", "space-between"])
|
|
251
|
+
}, Ge = { class: "flex" }, Je = "<any unknown new column>", Qe = /* @__PURE__ */ W({
|
|
252
|
+
__name: "SortListControl",
|
|
253
|
+
props: {
|
|
254
|
+
control: {},
|
|
255
|
+
handleChange: {},
|
|
256
|
+
changeValue: {},
|
|
257
|
+
disabled: { type: Boolean },
|
|
258
|
+
labelForId: {},
|
|
259
|
+
isValid: { type: Boolean },
|
|
260
|
+
messages: {},
|
|
261
|
+
onRegisterValidation: {},
|
|
262
|
+
anyUnknownValuesId: { default: Je },
|
|
263
|
+
anyUnknownValuesText: { default: "Any unknown column" }
|
|
264
|
+
},
|
|
265
|
+
setup(t) {
|
|
266
|
+
const e = t, o = g(() => e.control.data), a = g(
|
|
267
|
+
() => e.control.uischema.options.choicesProvider
|
|
268
|
+
), s = ue(a, e.control.uischema.options.possibleValues ?? []), i = g(
|
|
269
|
+
() => s.value.concat({
|
|
270
|
+
id: e.anyUnknownValuesId,
|
|
271
|
+
text: e.anyUnknownValuesText,
|
|
272
|
+
special: !0
|
|
273
|
+
})
|
|
274
|
+
), r = (n) => {
|
|
275
|
+
if (o.value.length === 0) {
|
|
276
|
+
I();
|
|
277
|
+
return;
|
|
278
|
+
}
|
|
279
|
+
const p = X(o.value, e.anyUnknownValuesId);
|
|
280
|
+
if (p === -1)
|
|
281
|
+
throw new Error(
|
|
282
|
+
`SortList data have to contain the value "${e.anyUnknownValuesId}"`
|
|
283
|
+
);
|
|
284
|
+
const h = o.value.slice(0, p + 1), x = o.value.slice(p + 1), L = new Set(o.value), A = n.map(({ id: w }) => w).filter((w) => !L.has(w));
|
|
285
|
+
A.length > 0 && e.changeValue(h.concat(A, x));
|
|
286
|
+
};
|
|
287
|
+
ie(() => {
|
|
288
|
+
r(s.value);
|
|
289
|
+
}), z(() => s.value, r);
|
|
290
|
+
const v = () => {
|
|
291
|
+
e.changeValue(o.value.toSorted((n, p) => n.localeCompare(p)));
|
|
292
|
+
}, k = () => {
|
|
293
|
+
e.changeValue(o.value.toSorted((n, p) => p.localeCompare(n)));
|
|
294
|
+
}, I = () => {
|
|
295
|
+
e.changeValue(i.value.map(({ id: n }) => n));
|
|
296
|
+
}, y = F(null);
|
|
297
|
+
return (n, p) => (C(), S(Y, null, [
|
|
298
|
+
V("div", qe, [
|
|
299
|
+
V("div", Ge, [
|
|
300
|
+
u(m(N), {
|
|
301
|
+
"with-border": "",
|
|
302
|
+
compact: "",
|
|
303
|
+
onClick: v
|
|
304
|
+
}, {
|
|
305
|
+
default: f(() => [
|
|
306
|
+
T("A - Z")
|
|
307
|
+
]),
|
|
308
|
+
_: 1
|
|
309
|
+
}),
|
|
310
|
+
u(m(N), {
|
|
311
|
+
"with-border": "",
|
|
312
|
+
compact: "",
|
|
313
|
+
onClick: k
|
|
314
|
+
}, {
|
|
315
|
+
default: f(() => [
|
|
316
|
+
T("Z - A")
|
|
317
|
+
]),
|
|
318
|
+
_: 1
|
|
319
|
+
})
|
|
320
|
+
]),
|
|
321
|
+
u(m(N), {
|
|
322
|
+
"with-border": "",
|
|
323
|
+
compact: "",
|
|
324
|
+
onClick: I
|
|
325
|
+
}, {
|
|
326
|
+
default: f(() => [
|
|
327
|
+
T("Reset all")
|
|
328
|
+
]),
|
|
329
|
+
_: 1
|
|
330
|
+
})
|
|
331
|
+
]),
|
|
332
|
+
u(de, {
|
|
333
|
+
label: n.control.label,
|
|
334
|
+
onControllingFlowVariableSet: n.changeValue
|
|
335
|
+
}, {
|
|
336
|
+
default: f(({ labelForId: h }) => [
|
|
337
|
+
u(me, {
|
|
338
|
+
errors: n.messages.errors
|
|
339
|
+
}, {
|
|
340
|
+
default: f(() => [
|
|
341
|
+
u(m(Ye), {
|
|
342
|
+
id: h ?? void 0,
|
|
343
|
+
ref_key: "controlElement",
|
|
344
|
+
ref: y,
|
|
345
|
+
"possible-values": i.value,
|
|
346
|
+
"model-value": o.value,
|
|
347
|
+
ariaLabel: n.control.label,
|
|
348
|
+
disabled: n.disabled,
|
|
349
|
+
"onUpdate:modelValue": n.changeValue
|
|
350
|
+
}, null, 8, ["id", "possible-values", "model-value", "ariaLabel", "disabled", "onUpdate:modelValue"])
|
|
351
|
+
]),
|
|
352
|
+
_: 2
|
|
353
|
+
}, 1032, ["errors"])
|
|
354
|
+
]),
|
|
355
|
+
icon: f(() => [
|
|
356
|
+
H(n.$slots, "icon", {}, void 0, !0)
|
|
357
|
+
]),
|
|
358
|
+
buttons: f(({ hover: h }) => [
|
|
359
|
+
H(n.$slots, "buttons", {
|
|
360
|
+
hover: h,
|
|
361
|
+
controlHTMLElement: y.value
|
|
362
|
+
}, void 0, !0)
|
|
363
|
+
]),
|
|
364
|
+
_: 3
|
|
365
|
+
}, 8, ["label", "onControllingFlowVariableSet"])
|
|
366
|
+
], 64));
|
|
367
|
+
}
|
|
368
|
+
}), ut = /* @__PURE__ */ q(Qe, [["__scopeId", "data-v-a6dc87f4"]]);
|
|
369
|
+
export {
|
|
370
|
+
Je as DEFAULT_ANY_UNKNOWN_VALUES_ID,
|
|
371
|
+
ut as default
|
|
372
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as a, createElementBlock as o, normalizeClass as r, createElementVNode as u, mergeProps as c, createCommentVNode as m, defineComponent as p, createBlock as f, unref as V } from "vue";
|
|
2
|
-
import { _ as i } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-
|
|
2
|
+
import { _ as i } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
3
3
|
const y = {
|
|
4
4
|
name: "TextArea",
|
|
5
5
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as k, ref as y, computed as m, openBlock as d, createBlock as i, withCtx as t, unref as r, normalizeProps as E, mergeProps as B, createCommentVNode as u, createVNode as F, renderSlot as h } from "vue";
|
|
2
|
-
import { u as L, L as P, E as w } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-
|
|
3
|
-
import { u as N } from "./useBuiltinValidations-
|
|
2
|
+
import { u as L, L as P, E as w } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
3
|
+
import { u as N } from "./useBuiltinValidations-8VwUv3RT.js";
|
|
4
4
|
import { u as $ } from "./useHideOnNull-CCfNP3O7.js";
|
|
5
|
-
import { C as H } from "./Checkbox-
|
|
6
|
-
import { I } from "./InputField-
|
|
5
|
+
import { C as H } from "./Checkbox-DB9YeQa-.js";
|
|
6
|
+
import { I } from "./InputField-DRLCzzDf.js";
|
|
7
7
|
const z = /* @__PURE__ */ k({
|
|
8
8
|
__name: "TextControl",
|
|
9
9
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as r, computed as s, openBlock as m, createBlock as u, unref as l } from "vue";
|
|
2
|
-
import { D as p } from "./DateTimeInput-
|
|
3
|
-
import { l as a } from "./localTimeUtils-
|
|
2
|
+
import { D as p } from "./DateTimeInput-DP2yHD9r.js";
|
|
3
|
+
import { l as a } from "./localTimeUtils-Dp9bEJDh.js";
|
|
4
4
|
const g = /* @__PURE__ */ r({
|
|
5
5
|
__name: "TimeControl",
|
|
6
6
|
props: {
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { defineComponent as t, markRaw as d, toRef as p, openBlock as r, createBlock as u, unref as l } from "vue";
|
|
2
|
+
import { a as m } from "./usePossibleValues-CrNcBbpN.js";
|
|
3
|
+
import { T as b, a as c } from "./TwinlistLoadingInfo-BHhpo_7N.js";
|
|
4
|
+
import { _ as f } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
5
|
+
const h = /* @__PURE__ */ t({
|
|
6
|
+
__name: "TwinlistControlBase",
|
|
7
|
+
props: {
|
|
8
|
+
control: {},
|
|
9
|
+
handleChange: {},
|
|
10
|
+
changeValue: {},
|
|
11
|
+
disabled: { type: Boolean },
|
|
12
|
+
isValid: { type: Boolean },
|
|
13
|
+
onRegisterValidation: {},
|
|
14
|
+
labelForId: {},
|
|
15
|
+
twinlistSize: { default: 10 },
|
|
16
|
+
possibleValues: {}
|
|
17
|
+
},
|
|
18
|
+
setup(o) {
|
|
19
|
+
const a = o, s = d(b), { includedLabel: n, excludedLabel: i } = m(
|
|
20
|
+
p(a, "control")
|
|
21
|
+
);
|
|
22
|
+
return (e, w) => (r(), u(l(c), {
|
|
23
|
+
id: e.labelForId,
|
|
24
|
+
disabled: e.disabled,
|
|
25
|
+
"model-value": e.control.data,
|
|
26
|
+
"possible-values": e.possibleValues ?? [],
|
|
27
|
+
"empty-state-component": e.possibleValues === null ? l(s) : null,
|
|
28
|
+
"hide-options": e.possibleValues === null,
|
|
29
|
+
size: e.twinlistSize,
|
|
30
|
+
"left-label": l(i),
|
|
31
|
+
"right-label": l(n),
|
|
32
|
+
compact: "",
|
|
33
|
+
"show-resize-handle": "",
|
|
34
|
+
"onUpdate:modelValue": e.changeValue
|
|
35
|
+
}, null, 8, ["id", "disabled", "model-value", "possible-values", "empty-state-component", "hide-options", "size", "left-label", "right-label", "onUpdate:modelValue"]));
|
|
36
|
+
}
|
|
37
|
+
}), I = /* @__PURE__ */ f(h, [["__scopeId", "data-v-73af0159"]]);
|
|
38
|
+
export {
|
|
39
|
+
I as T
|
|
40
|
+
};
|
|
@@ -2,14 +2,15 @@ import { openBlock as m, createElementBlock as w, createElementVNode as v, compu
|
|
|
2
2
|
import { N as de } from "./arrow-next-Qa8PNb04.js";
|
|
3
3
|
import { u as Z } from "./useSearch-hpyYQ_6y.js";
|
|
4
4
|
import { i as N } from "./isObject-B53jY8Qg.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { r as he } from "./isObjectLike-BatpeCIi.js";
|
|
6
|
+
import { i as fe } from "./isSymbol-C3_SC0Qp.js";
|
|
7
|
+
import { _ as H, n as me } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
|
|
8
|
+
import { M as ve } from "./MultiselectListBox-BFQxtoyR.js";
|
|
8
9
|
import { C as ge } from "./close-h7XT0ja0.js";
|
|
9
|
-
import { F as be } from "./FunctionButton-
|
|
10
|
-
import { I as Se } from "./InputField-
|
|
10
|
+
import { F as be } from "./FunctionButton-Bo0NcfGh.js";
|
|
11
|
+
import { I as Se } from "./InputField-DRLCzzDf.js";
|
|
11
12
|
import { c as X } from "./createMissingItem-B00Kg95q.js";
|
|
12
|
-
import { L as we } from "./svgWithTitle-
|
|
13
|
+
import { L as we } from "./svgWithTitle-B5FsAPop.js";
|
|
13
14
|
const _e = {
|
|
14
15
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15
16
|
fill: "none",
|
|
@@ -42,7 +43,7 @@ var J = NaN, Te = /^[-+]0x[0-9a-f]+$/i, Ee = /^0b[01]+$/i, Me = /^0o[0-7]+$/i, R
|
|
|
42
43
|
function Q(e) {
|
|
43
44
|
if (typeof e == "number")
|
|
44
45
|
return e;
|
|
45
|
-
if (
|
|
46
|
+
if (fe(e))
|
|
46
47
|
return J;
|
|
47
48
|
if (N(e)) {
|
|
48
49
|
var t = typeof e.valueOf == "function" ? e.valueOf() : e;
|
|
@@ -55,7 +56,7 @@ function Q(e) {
|
|
|
55
56
|
return n || Me.test(e) ? Re(e.slice(2), n ? 2 : 8) : Te.test(e) ? J : +e;
|
|
56
57
|
}
|
|
57
58
|
var P = function() {
|
|
58
|
-
return
|
|
59
|
+
return he.Date.now();
|
|
59
60
|
}, Ae = "Expected a function", De = Math.max, Ne = Math.min;
|
|
60
61
|
function He(e, t, n) {
|
|
61
62
|
var s, i, l, d, r, o, b = 0, S = !1, g = !1, _ = !0;
|
|
@@ -1027,7 +1028,7 @@ function zt(e, t, n, s, i, l) {
|
|
|
1027
1028
|
}, null, 8, ["handle-width", "multiple-handles-handle-gap", "onResizeMove", "onResizeEnd"])) : L("", !0)
|
|
1028
1029
|
]);
|
|
1029
1030
|
}
|
|
1030
|
-
const
|
|
1031
|
+
const sn = /* @__PURE__ */ H(j, [["render", zt], ["__scopeId", "data-v-4808b939"]]), Pt = (e) => (F("data-v-52b0b5dd"), e = e(), q(), e), Kt = { class: "info" }, Wt = /* @__PURE__ */ Pt(() => /* @__PURE__ */ v("span", null, "Loading...", -1)), Ft = /* @__PURE__ */ le({
|
|
1031
1032
|
__name: "TwinlistLoadingInfo",
|
|
1032
1033
|
setup(e) {
|
|
1033
1034
|
return (t, n) => (m(), w("div", Kt, [
|
|
@@ -1035,10 +1036,10 @@ const ln = /* @__PURE__ */ H(j, [["render", zt], ["__scopeId", "data-v-4808b939"
|
|
|
1035
1036
|
p(W(we), { class: "icon" })
|
|
1036
1037
|
]));
|
|
1037
1038
|
}
|
|
1038
|
-
}),
|
|
1039
|
+
}), on = /* @__PURE__ */ H(Ft, [["__scopeId", "data-v-52b0b5dd"]]);
|
|
1039
1040
|
export {
|
|
1040
1041
|
tt as S,
|
|
1041
|
-
|
|
1042
|
+
on as T,
|
|
1042
1043
|
sn as a,
|
|
1043
1044
|
Vt as u
|
|
1044
1045
|
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { defineComponent as a, computed as l, openBlock as p, createBlock as s, mergeProps as r } from "vue";
|
|
2
|
+
import u from "./MultimodeTwinlistControl-CV2v4Y5n.js";
|
|
3
|
+
const d = /* @__PURE__ */ a({
|
|
4
|
+
__name: "TypedNameFilter",
|
|
5
|
+
props: {
|
|
6
|
+
control: {},
|
|
7
|
+
handleChange: { type: Function },
|
|
8
|
+
changeValue: { type: Function },
|
|
9
|
+
disabled: { type: Boolean },
|
|
10
|
+
isValid: { type: Boolean },
|
|
11
|
+
onRegisterValidation: { type: Function },
|
|
12
|
+
labelForId: {}
|
|
13
|
+
},
|
|
14
|
+
setup(n) {
|
|
15
|
+
const o = n, e = l(() => o.control.uischema.options);
|
|
16
|
+
return (t, i) => (p(), s(u, r({ ...t.$props, ...t.$attrs }, {
|
|
17
|
+
"show-unknown-values": "",
|
|
18
|
+
"unknown-values-text": e.value.unknownValuesText,
|
|
19
|
+
"empty-state-label": e.value.emptyStateLabel
|
|
20
|
+
}), null, 16, ["unknown-values-text", "empty-state-label"]));
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
d as default
|
|
25
|
+
};
|