@knime/scripting-editor 0.0.128 → 0.0.129
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/dist/{AnyOfTwinlist-SXwBBRp2-Bqhgogiq.js → AnyOfTwinlist-Chx0nmt3-DPMbiVZd.js} +1 -1
- package/dist/{ArrayLayout-Dh1QLh8H.js → ArrayLayout-C2-4wxkT.js} +47 -47
- package/dist/{ButtonControl-CaaKmrFb.js → ButtonControl-Dga3IomB.js} +14 -14
- package/dist/{CheckboxControl-CbWn843V-BTn1nVWQ.js → CheckboxControl-B8b1Di4k-CEkOsWEu.js} +4 -4
- package/dist/{CheckboxesControl-BiQOMrsp-BCRpKfZV.js → CheckboxesControl-DWUnPGdN-BOSX_stf.js} +4 -4
- package/dist/{CodeEditorControl-BhQdOlWM.js → CodeEditorControl-CN4ltMvy.js} +6 -6
- package/dist/{ColorControl-B_mQdOCs-Dl3vNMVD.js → ColorControl-ByE5ku7u-C12pZ0rg.js} +1 -1
- package/dist/{ColorPreviewControl-BREwhSO9-uTvGtvF_.js → ColorPreviewControl-XiKZ4jfn-CLIjX6M_.js} +22 -22
- package/dist/{ComboBoxControl-BIZlnizm-7kcBjn_F.js → ComboBoxControl-zSceYlyZ-BgpAi7q9.js} +5 -5
- package/dist/{ConfigurationNodeNotSupported-CILWy-1v.js → ConfigurationNodeNotSupported-B27grebd.js} +3 -3
- package/dist/ControlWithSubParameters-ROJGaqDF.js +63 -0
- package/dist/{CredentialsControl-DYI2eHZH.js → CredentialsControl-B6jczlBv.js} +4 -4
- package/dist/{CredentialsControlBase-Be_pBbr8.js → CredentialsControlBase-CdNdAngd.js} +11 -11
- package/dist/{DateControl-vkwY-8Qy-D35WLbKn.js → DateControl-BBGpEVpr-yZP_TZnE.js} +5 -5
- package/dist/{DateTimeControl-CtXV6_D2-yc6SBo7d.js → DateTimeControl-CymOURq5-Ca0mT1HW.js} +9 -9
- package/dist/{DateTimeFormatPickerControl-a7MPaNFN-CerJZl-s.js → DateTimeFormatPickerControl-Bx19jwpr-Bd0xBs4D.js} +7 -7
- package/dist/{DateTimeFormatPickerWithTypeControl-B9Nu0dh1-B3FsqcQG.js → DateTimeFormatPickerWithTypeControl-Byo_0cTq-C0ZfMqtp.js} +90 -90
- package/dist/{DialogFileExplorer-BZuisQeJ.js → DialogFileExplorer-BmT2YlVn.js} +2 -2
- package/dist/{DirtyTrackerRenderer-qBfv19cz.js → DirtyTrackerRenderer-BG451zZD.js} +6 -6
- package/dist/{DropdownControl-BUwovb4K-DZFITmfl.js → DropdownControl-C6ffVYyf-hy0i8nDV.js} +2 -2
- package/dist/DynamicInputControl-W23Zexge.js +6 -0
- package/dist/{ExecutorCoresControl-DN-1o1XJ-B6JZf8lR.js → ExecutorCoresControl-D9FZ-g9O-Dws9IhAs.js} +1 -1
- package/dist/{ExecutorMemoryControl-UzqzP4hI-DEOR9ioJ.js → ExecutorMemoryControl-__P80Lkb-DxQZ2IuA.js} +1 -1
- package/dist/{FileChooserControl-UiGh3RA6.js → FileChooserControl-BBbay7zU.js} +2 -2
- package/dist/{FileChooserControlBase-C0jKG7YK.js → FileChooserControlBase-DpYYK3eE.js} +29 -29
- package/dist/{FileChooserControlForMultiFile-Di4Pk53x.js → FileChooserControlForMultiFile-6NLYZKbt.js} +1 -1
- package/dist/{FileUploadControl-WC8TFQHe-BuGo0ZRQ.js → FileUploadControl-DWs4PhOj-BvByW-Tq.js} +94 -94
- package/dist/{GridSelectionControl-BgqT1t9d-BRz6UGC9.js → GridSelectionControl-WcJ4y6Fs-BoxSk0VG.js} +39 -39
- package/dist/{HorizontalLayout-CESRA3YR-DDxfF6ry.js → HorizontalLayout-ByB5A7X3-BURAMMFG.js} +4 -4
- package/dist/{IntegerControl-DKXN0mcE-DGJ3KRkb.js → IntegerControl-aveswmbr-50_b6vGY.js} +1 -1
- package/dist/{IntervalControl-BswGPjcV-BmiAjHOy.js → IntervalControl-B4Eqs1Jf-CiB2D52B.js} +9 -9
- package/dist/{LabeledGroup-5xwthvS8.js → LabeledGroup-BONZ_GLo.js} +3 -3
- package/dist/{LegacyCredentialsControl-DjJGg7vr.js → LegacyCredentialsControl-DaIrvNBd.js} +7 -7
- package/dist/{LinkControl-DTqOfnTg-BA_L4RtV.js → LinkControl-DD56lOiw-CDy6OBu8.js} +1 -1
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-Cic7UEOM-RBq7a_S3.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-CscatDmg-BaroyBA0.js} +5 -5
- package/dist/{ManualTwinlistControl-CoZdPu6n-BF9bz65d.js → ManualTwinlistControl-DBZ5RZgW-BV5qOGau.js} +7 -7
- package/dist/{MultiFileChooserControl-BFW6QI_y.js → MultiFileChooserControl-cyndOpF7.js} +19 -20
- package/dist/{MultiRuleWrapper-B2ISI9_F.js → MultiRuleWrapper-Db-W_o1f.js} +1 -1
- package/dist/{MultiSelectListBoxControl-CjM94miu-DiufrbYU.js → MultiSelectListBoxControl-BMsPvxGQ-5ua-fVR8.js} +5 -5
- package/dist/{MultimodeTwinlistControl-NMnPBn6a-DQkdp8td.js → MultimodeTwinlistControl-thO1be1r-8kc-JSH1.js} +18 -18
- package/dist/{NameFilter-DuVJG0SF-DAH98lDD.js → NameFilter-DBMVmZmk-DnB-5f39.js} +1 -1
- package/dist/{NumberControl-NMJmxuze-Bih_-Og_.js → NumberControl-BPVO5l6t--nrQcx4m.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8-BGSxRVVz.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CR61f6d6-Df5EPyns.js} +4 -4
- package/dist/{OneOfDropdown-CwJemyYo-Do-MOPV7.js → OneOfDropdown-DBG8ZcpV-cZs_ptrT.js} +1 -1
- package/dist/{RadioButtonsWithDescriptionControl-BK3UCreL-qWSS1DwX.js → RadioButtonsWithDescriptionControl-BsqMTEB5-COGPhNPs.js} +11 -11
- package/dist/{RadioControl-ts1-JozG-Bt4Ssbnx.js → RadioControl-ClJmr0EQ-BzjoXaZ3.js} +1 -1
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-jxw_5dVt-B1RfPe72.js → RadioControlBase.vue_vue_type_script_setup_true_lang-Bm4EUEvw-Cabfycg_.js} +12 -12
- package/dist/{ResourceControlBase-FDiyHyQi-n4PYam8s.js → ResourceControlBase-CeXYJeR1-DSmxhV0s.js} +22 -22
- package/dist/{RichTextControl-DH6GqUeF-DhVLA7bv.js → RichTextControl-DvYkBpzH-CtMZq2re.js} +2787 -2616
- package/dist/{SectionLayout-Cb3_L9Te-Ch2TL8Ns.js → SectionLayout-CwRO3UXc-d5rFpCRN.js} +7 -7
- package/dist/SettingsSubPanelLayout-CV6y2bcX-OzpF07vB.js +64 -0
- package/dist/{SimpleTwinlistControl-CnBe4qsI-QQXdW90w.js → SimpleTwinlistControl-BSON5VYy-BaAaU86G.js} +2 -2
- package/dist/{SingleSelectControl-C4Qzk2Ki-B4KRT-4U.js → SingleSelectControl-BSqORMYm-CBP_mVGB.js} +2 -2
- package/dist/{SingleSelectListBoxControl-sLe2Y67h-aYZGPc-_.js → SingleSelectListBoxControl-CFdKzbOK-CruT9yt-.js} +5 -5
- package/dist/{SortListControl-ChpYm3CZ-BHWX9fRm.js → SortListControl-DZIHeQmn-CKRyT1hN.js} +5 -5
- package/dist/{StringFileChooserControl-BGMU3nOp.js → StringFileChooserControl-Br8gZTku.js} +3 -3
- package/dist/{StyledListItem-BJEJoIzr-5JeRrk8P.js → StyledListItem--sgmJ3W_-Bo6f-_9B.js} +1 -1
- package/dist/{TeamAndSpacesControl-7ZXPUwBb-DdkrLxnT.js → TeamAndSpacesControl-DiMyDT-5-Br-Lq0ki.js} +7 -7
- package/dist/{TeamResourceControl-BZDXMRLZ-Moa_pv2o.js → TeamResourceControl-Bag_dwA1-PdtnhxEi.js} +1 -1
- package/dist/{TextAreaControl-BDGtgWys-B5coKRJL.js → TextAreaControl-B52P0DAa-McfOgZWn.js} +2 -2
- package/dist/{TextControl-8jfyOJKb-BkT4AwNP.js → TextControl-52n-sttB-DssWw4KP.js} +16314 -16228
- package/dist/{TimeControl-Dvt5U7xN-CTkb_kae.js → TimeControl-Cu12_qpz-CK1bxhya.js} +1 -1
- package/dist/{TimeframesControl-DcUxC3kX-1e3a-BRE.js → TimeframesControl-DhdC8OS1-DYseJbBV.js} +12 -12
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N-tQDZulBA.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-t1I2qxJz-DU6yd1RM.js} +4 -4
- package/dist/{TypedStringFilter-Cx8OCQcE-Cx82QY6q.js → TypedStringFilter-zJOICQei-B-5z8atp.js} +1 -1
- package/dist/{ValueSwitchControl-1ax1yKbk-Dssrj-K0.js → ValueSwitchControl-CEVWJH7z-DzuxqLvy.js} +1 -1
- package/dist/{VennDiagramLayout-TqRKYgWl.js → VennDiagramLayout-DyTZ5EJ9.js} +44 -44
- package/dist/{VerticalLayout-DnyoqTeh-COL0gWjl.js → VerticalLayout-D_13xb_m-BfU1M3IE.js} +7 -7
- package/dist/{ZonedDateTimeControl-mIIRwaHz-BSWCo5dl.js → ZonedDateTimeControl-C-vO6fC1-XngmuFqW.js} +20 -20
- package/dist/collection-BBXRVj4b-DzRZ2FYd-COyFmQqa.js +22 -0
- package/dist/main.js +734 -766
- package/dist/parameters.js +1 -1
- package/dist/src/components/ScriptingEditor.vue.d.ts +6 -4
- package/dist/src/components/SettingsPage.vue.d.ts +5 -4
- package/dist/{useFileChooserBackend-DeqNZEZE.js → useFileChooserBackend-CLdJ1RU1.js} +1 -1
- package/dist/{usePossibleValues-CtPV4Cjp-B6UlAJ8A.js → usePossibleValues-DiYOmnZW-CaSLjdK-.js} +2 -2
- package/package.json +3 -3
- package/dist/ControlWithSubParameters-DNFQ_0Ol.js +0 -80
- package/dist/DynamicInputControl-Br_sRCEw.js +0 -6
- package/dist/SettingsSubPanelLayout-DruWJjQA-BPDZqGKD.js +0 -70
- package/dist/arrow-next-BQULX8HT-DDsCfA5A.js +0 -17
- /package/dist/{useUnknownValuesInTwinlist-BCbqJg7j-D2ve7iXH.js → useUnknownValuesInTwinlist-BhhirtmX-D2ve7iXH.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as p, computed as r, createBlock as b, openBlock as f, unref as l } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { t as n, Q as g } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
3
|
import { D as v } from "./classApi-CHpAZrj3-BptMrhKH.js";
|
|
4
4
|
const F = /* @__PURE__ */ p({
|
|
5
5
|
__name: "IntervalControl",
|
|
@@ -13,14 +13,14 @@ const F = /* @__PURE__ */ p({
|
|
|
13
13
|
onRegisterValidation: { type: Function },
|
|
14
14
|
labelForId: {}
|
|
15
15
|
},
|
|
16
|
-
setup(
|
|
17
|
-
const o =
|
|
16
|
+
setup(t) {
|
|
17
|
+
const o = t, a = r(
|
|
18
18
|
() => o.control.uischema
|
|
19
19
|
), u = n(
|
|
20
|
-
|
|
20
|
+
a,
|
|
21
21
|
"intervalType",
|
|
22
22
|
"DATE_OR_TIME"
|
|
23
|
-
), d = r(() => u.value.toLowerCase()), i = n(
|
|
23
|
+
), d = r(() => u.value.toLowerCase()), i = n(a, "allowDescending", !0), s = (e) => {
|
|
24
24
|
if (!e)
|
|
25
25
|
return null;
|
|
26
26
|
try {
|
|
@@ -34,14 +34,14 @@ const F = /* @__PURE__ */ p({
|
|
|
34
34
|
o.changeValue((e == null ? void 0 : e.toString()) ?? "");
|
|
35
35
|
};
|
|
36
36
|
return (e, y) => (f(), b(l(g), {
|
|
37
|
-
id:
|
|
37
|
+
id: t.labelForId,
|
|
38
38
|
ariaLabel: o.control.label,
|
|
39
39
|
"model-value": c.value,
|
|
40
40
|
"allow-descending": l(i),
|
|
41
|
-
disabled:
|
|
42
|
-
error:
|
|
41
|
+
disabled: t.disabled,
|
|
42
|
+
error: t.error,
|
|
43
43
|
format: d.value,
|
|
44
|
-
"sub-text":
|
|
44
|
+
"sub-text": t.subText,
|
|
45
45
|
"onUpdate:modelValue": m
|
|
46
46
|
}, null, 8, ["id", "ariaLabel", "model-value", "allow-descending", "disabled", "error", "format", "sub-text"]));
|
|
47
47
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, createBlock as t, openBlock as r, unref as l, withCtx as o, createVNode as u, renderSlot as p } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as d, v as m, x as c } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
3
|
import { _ as h } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const b = /* @__PURE__ */ n({
|
|
5
5
|
__name: "LabeledGroup",
|
|
@@ -36,7 +36,7 @@ const b = /* @__PURE__ */ n({
|
|
|
36
36
|
_: 3
|
|
37
37
|
}, 8, ["label"]));
|
|
38
38
|
}
|
|
39
|
-
}),
|
|
39
|
+
}), k = /* @__PURE__ */ h(b, [["__scopeId", "data-v-376e2740"]]);
|
|
40
40
|
export {
|
|
41
|
-
|
|
41
|
+
k as default
|
|
42
42
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as b, onMounted as m, computed as
|
|
2
|
-
import {
|
|
3
|
-
import { C as _ } from "./CredentialsControlBase-
|
|
1
|
+
import { defineComponent as b, onMounted as m, computed as F, createElementBlock as h, openBlock as C, Fragment as y, createVNode as p, unref as S } from "vue";
|
|
2
|
+
import { a0 as u, a1 as P, a2 as v, a3 as N, m as B, a4 as L, n as M } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
|
+
import { C as _ } from "./CredentialsControlBase-CdNdAngd.js";
|
|
4
4
|
const k = /* @__PURE__ */ b({
|
|
5
5
|
__name: "LegacyFlowVariableHandler",
|
|
6
6
|
props: {
|
|
@@ -33,7 +33,7 @@ const k = /* @__PURE__ */ b({
|
|
|
33
33
|
}), () => {
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
}),
|
|
36
|
+
}), j = /* @__PURE__ */ b({
|
|
37
37
|
__name: "LegacyCredentialsControl",
|
|
38
38
|
props: {
|
|
39
39
|
control: {},
|
|
@@ -47,7 +47,7 @@ const k = /* @__PURE__ */ b({
|
|
|
47
47
|
},
|
|
48
48
|
setup(n) {
|
|
49
49
|
const a = n, { flowSettings: t, configPaths: r } = B({
|
|
50
|
-
path:
|
|
50
|
+
path: F(() => a.control.path)
|
|
51
51
|
});
|
|
52
52
|
L({
|
|
53
53
|
flowSettings: t,
|
|
@@ -66,7 +66,7 @@ const k = /* @__PURE__ */ b({
|
|
|
66
66
|
cleanPreserving: !0
|
|
67
67
|
});
|
|
68
68
|
};
|
|
69
|
-
return (e, o) => (C(),
|
|
69
|
+
return (e, o) => (C(), h(y, null, [
|
|
70
70
|
p(_, {
|
|
71
71
|
control: e.control,
|
|
72
72
|
data: e.control.data.credentials,
|
|
@@ -84,5 +84,5 @@ const k = /* @__PURE__ */ b({
|
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
86
|
export {
|
|
87
|
-
|
|
87
|
+
j as default
|
|
88
88
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, useCssVars as p, unref as n, createElementBlock as d, openBlock as u, createVNode as g } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { P as m, d as f } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
3
|
const b = { class: "link-wrapper" }, h = /* @__PURE__ */ s({
|
|
4
4
|
__name: "LinkControl",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as V, computed as o, createBlock as y, openBlock as f, unref as g, mergeProps as x } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
2
|
+
import { e as L } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
|
+
const T = /* @__PURE__ */ V({
|
|
4
4
|
__name: "LoadingDropdown",
|
|
5
5
|
props: {
|
|
6
6
|
possibleValues: {},
|
|
@@ -11,8 +11,8 @@ const B = /* @__PURE__ */ V({
|
|
|
11
11
|
error: { type: Boolean }
|
|
12
12
|
},
|
|
13
13
|
emits: ["update:modelValue"],
|
|
14
|
-
setup(
|
|
15
|
-
const e =
|
|
14
|
+
setup(i, { emit: r }) {
|
|
15
|
+
const e = i, n = r, p = o(() => e.possibleValues === null ? "" : e.modelValue), d = o(() => e.possibleValues === null), b = o(
|
|
16
16
|
() => {
|
|
17
17
|
var l;
|
|
18
18
|
return (l = e.possibleValues) == null ? void 0 : l.some((s) => s.type !== void 0);
|
|
@@ -57,5 +57,5 @@ const B = /* @__PURE__ */ V({
|
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
59
|
export {
|
|
60
|
-
|
|
60
|
+
T as L
|
|
61
61
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as v, toRef as s, computed as r, createBlock as w, openBlock as C, unref as a, mergeProps as U } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { b as V } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
3
|
import { i } from "./index-Blg1O3Fz-CGafpkU1.js";
|
|
4
|
-
import { c as h, t as
|
|
5
|
-
import { p as
|
|
6
|
-
import { F as
|
|
4
|
+
import { c as h, t as B } from "./usePossibleValues-DiYOmnZW-CaSLjdK-.js";
|
|
5
|
+
import { p as I } from "./toKdsPossibleValues-BklBg3gG-Dr1D12GJ.js";
|
|
6
|
+
import { F as L } from "./useUnknownValuesInTwinlist-BhhirtmX-D2ve7iXH.js";
|
|
7
7
|
const q = /* @__PURE__ */ v({
|
|
8
8
|
__name: "ManualTwinlistControl",
|
|
9
9
|
props: {
|
|
@@ -19,11 +19,11 @@ const q = /* @__PURE__ */ v({
|
|
|
19
19
|
setup(l) {
|
|
20
20
|
const o = l, { excludedLabel: m, includedLabel: p } = h(
|
|
21
21
|
s(o, "control")
|
|
22
|
-
), { possibleValues: c } =
|
|
22
|
+
), { possibleValues: c } = B(
|
|
23
23
|
s(o, "control")
|
|
24
24
|
), b = r(
|
|
25
|
-
() =>
|
|
26
|
-
), { selectedAndDeselected: u, setCurrentManualFilter: y } =
|
|
25
|
+
() => I(c.value ?? [])
|
|
26
|
+
), { selectedAndDeselected: u, setCurrentManualFilter: y } = L({
|
|
27
27
|
data: r(() => ({ manualFilter: o.control.data })),
|
|
28
28
|
possibleValueIds: r(
|
|
29
29
|
() => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as I, createPropsRestProxy as V, computed as n, ref as y, watch as L, createElementBlock as _, openBlock as f, createVNode as F, createCommentVNode as O, unref as g, toDisplayString as W, createBlock as C, Fragment as
|
|
2
|
-
import {
|
|
3
|
-
import { u as X, g as Y, a as Z } from "./useFileChooserBackend-
|
|
1
|
+
import { defineComponent as I, createPropsRestProxy as V, computed as n, ref as y, watch as L, createElementBlock as _, openBlock as f, createVNode as F, createCommentVNode as O, unref as g, toDisplayString as W, createBlock as C, Fragment as x, withCtx as A, createElementVNode as K, normalizeProps as U, mergeProps as Q } from "vue";
|
|
2
|
+
import { ab as j, ac as N, x as z, w as H, s as $, _ as q, t as G, ad as D, ae as J } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
|
+
import { u as X, g as Y, a as Z } from "./useFileChooserBackend-CLdJ1RU1.js";
|
|
4
4
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const ee = { class: "container" }, te = ["title"], oe = /* @__PURE__ */ I({
|
|
6
6
|
__name: "FileSelectionPreview",
|
|
@@ -65,13 +65,13 @@ const ee = { class: "container" }, te = ["title"], oe = /* @__PURE__ */ I({
|
|
|
65
65
|
uischema: {}
|
|
66
66
|
},
|
|
67
67
|
setup(c) {
|
|
68
|
-
const e = c, l = n(() =>
|
|
68
|
+
const e = c, l = n(() => N(e.control.path, e.fieldName)), u = n(
|
|
69
69
|
() => {
|
|
70
70
|
var r;
|
|
71
71
|
return (r = e.control.schema.properties) == null ? void 0 : r[e.fieldName];
|
|
72
72
|
}
|
|
73
73
|
);
|
|
74
|
-
return (r, i) => (f(), C(g(
|
|
74
|
+
return (r, i) => (f(), C(g(z), {
|
|
75
75
|
key: l.value,
|
|
76
76
|
schema: u.value,
|
|
77
77
|
uischema: r.uischema,
|
|
@@ -88,7 +88,7 @@ const ee = { class: "container" }, te = ["title"], oe = /* @__PURE__ */ I({
|
|
|
88
88
|
handleChange: { type: Function }
|
|
89
89
|
},
|
|
90
90
|
setup(c, { expose: e }) {
|
|
91
|
-
const l = c, u = n(() =>
|
|
91
|
+
const l = c, u = n(() => N(l.control.path, P)), r = n(
|
|
92
92
|
() => {
|
|
93
93
|
var i;
|
|
94
94
|
return (i = l.control.uischema.options) == null ? void 0 : i.filters.uiSchema;
|
|
@@ -119,7 +119,7 @@ const ee = { class: "container" }, te = ["title"], oe = /* @__PURE__ */ I({
|
|
|
119
119
|
additionalFilterOptionsClassIdentifier: l,
|
|
120
120
|
includeSubFolders: u
|
|
121
121
|
}) => {
|
|
122
|
-
const r =
|
|
122
|
+
const r = H("getData");
|
|
123
123
|
return {
|
|
124
124
|
listItemsForPreview: (d, a) => {
|
|
125
125
|
const s = [
|
|
@@ -177,7 +177,7 @@ const ee = { class: "container" }, te = ["title"], oe = /* @__PURE__ */ I({
|
|
|
177
177
|
includeSubFolders: l,
|
|
178
178
|
filterOptions: s,
|
|
179
179
|
additionalFilterOptionsClassIdentifier: (o = e.control.uischema.options) == null ? void 0 : o.filters.classId
|
|
180
|
-
}), m = n(() => e.control.data.path), w = n(() => e.control.data.filterMode), R = y(0),
|
|
180
|
+
}), m = n(() => e.control.data.path), w = n(() => e.control.data.filterMode), R = y(0), b = async () => {
|
|
181
181
|
var M, k;
|
|
182
182
|
d.value = !0, ++R.value;
|
|
183
183
|
let t = m.value.path;
|
|
@@ -202,13 +202,13 @@ const ee = { class: "container" }, te = ["title"], oe = /* @__PURE__ */ I({
|
|
|
202
202
|
{ immediate: !0 }
|
|
203
203
|
), L(
|
|
204
204
|
[l, s, m],
|
|
205
|
-
() =>
|
|
205
|
+
() => b(),
|
|
206
206
|
{
|
|
207
207
|
deep: !0
|
|
208
208
|
}
|
|
209
209
|
);
|
|
210
210
|
const S = y(null);
|
|
211
|
-
return (t, E) => (f(), _(
|
|
211
|
+
return (t, E) => (f(), _(x, null, [
|
|
212
212
|
F(T, {
|
|
213
213
|
"preview-data": p.value,
|
|
214
214
|
"is-loading": d.value,
|
|
@@ -222,11 +222,10 @@ const ee = { class: "container" }, te = ["title"], oe = /* @__PURE__ */ I({
|
|
|
222
222
|
}
|
|
223
223
|
}
|
|
224
224
|
}, null, 8, ["preview-data", "is-loading", "filter-mode", "trailing-button"]),
|
|
225
|
-
F(g(
|
|
225
|
+
F(g(q), {
|
|
226
226
|
ref_key: "filterPanelRef",
|
|
227
227
|
ref: a,
|
|
228
|
-
"show-back-arrow": ""
|
|
229
|
-
"background-color-override": "var(--knime-gray-ultra-light)"
|
|
228
|
+
"show-back-arrow": ""
|
|
230
229
|
}, {
|
|
231
230
|
default: A(() => [
|
|
232
231
|
K("div", re, [
|
|
@@ -256,7 +255,7 @@ const ee = { class: "container" }, te = ["title"], oe = /* @__PURE__ */ I({
|
|
|
256
255
|
}, 512)
|
|
257
256
|
], 64));
|
|
258
257
|
}
|
|
259
|
-
}), se = /* @__PURE__ */ B(ie, [["__scopeId", "data-v-
|
|
258
|
+
}), se = /* @__PURE__ */ B(ie, [["__scopeId", "data-v-4942b033"]]), ce = { class: "flex-column" }, ue = /* @__PURE__ */ I({
|
|
260
259
|
__name: "MultiFileChooserControl",
|
|
261
260
|
props: {
|
|
262
261
|
control: {},
|
|
@@ -307,28 +306,28 @@ const ee = { class: "container" }, te = ["title"], oe = /* @__PURE__ */ I({
|
|
|
307
306
|
possibleValues: s.value
|
|
308
307
|
})), m = n(() => s.value.length > 1), w = n(
|
|
309
308
|
() => s.value.length > 2 ? "radio" : "valueSwitch"
|
|
310
|
-
), { isConnectedButNoFileConnectionIsAvailable: R, isConnected:
|
|
309
|
+
), { isConnectedButNoFileConnectionIsAvailable: R, isConnected: b } = Z(p), S = n(
|
|
311
310
|
() => {
|
|
312
311
|
var o;
|
|
313
|
-
return R.value || !
|
|
312
|
+
return R.value || !b.value && ((o = e.control.data) == null ? void 0 : o.path.fsCategory) === "CONNECTED";
|
|
314
313
|
}
|
|
315
314
|
);
|
|
316
315
|
return (o, t) => (f(), _("div", ce, [
|
|
317
|
-
m.value ? (f(), C(g(
|
|
316
|
+
m.value ? (f(), C(g(D), {
|
|
318
317
|
key: 0,
|
|
319
318
|
"field-name": "filterMode",
|
|
320
319
|
format: w.value,
|
|
321
320
|
options: v.value,
|
|
322
321
|
control: o.control
|
|
323
322
|
}, null, 8, ["format", "options", "control"])) : O("", !0),
|
|
324
|
-
F(g(
|
|
323
|
+
F(g(D), {
|
|
325
324
|
"field-name": "path",
|
|
326
325
|
format: g(J),
|
|
327
326
|
options: p.value,
|
|
328
327
|
control: o.control
|
|
329
328
|
}, null, 8, ["format", "options", "control"]),
|
|
330
|
-
i.value ? (f(), _(
|
|
331
|
-
F(g(
|
|
329
|
+
i.value ? (f(), _(x, { key: 1 }, [
|
|
330
|
+
F(g(D), {
|
|
332
331
|
"field-name": "includeSubfolders",
|
|
333
332
|
control: o.control
|
|
334
333
|
}, null, 8, ["control"]),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as t, createElementBlock as n, openBlock as r, Fragment as s, renderList as o, createBlock as u, unref as m } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { x as p } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
3
|
const y = /* @__PURE__ */ t({
|
|
4
4
|
__name: "MultiRuleWrapper",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as y, toRef as x, createBlock as g, openBlock as h, unref as b, resolveComponent as S, createElementBlock as c, normalizeStyle as v, normalizeClass as I, createElementVNode as m, createCommentVNode as f, mergeProps as C, withKeys as a, withModifiers as d, normalizeProps as V, guardReactiveProps as w, Fragment as k, renderList as D, withCtx as H, renderSlot as K, resolveDynamicComponent as B, toDisplayString as N, createVNode as A, watch as z } from "vue";
|
|
2
|
-
import { t as O } from "./usePossibleValues-
|
|
3
|
-
import {
|
|
4
|
-
import { p as T } from "./StyledListItem-
|
|
2
|
+
import { t as O } from "./usePossibleValues-DiYOmnZW-CaSLjdK-.js";
|
|
3
|
+
import { P, f as L, o as R } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
4
|
+
import { p as T } from "./StyledListItem--sgmJ3W_-Bo6f-_9B.js";
|
|
5
5
|
const M = (e, t) => {
|
|
6
6
|
let i, n = 0;
|
|
7
7
|
return (...l) => {
|
|
@@ -122,7 +122,7 @@ const M = (e, t) => {
|
|
|
122
122
|
"keyArrowRight"
|
|
123
123
|
],
|
|
124
124
|
setup(e) {
|
|
125
|
-
const { containerProps: t, wrapperProps: i, list: n, scrollTo: l } =
|
|
125
|
+
const { containerProps: t, wrapperProps: i, list: n, scrollTo: l } = L(
|
|
126
126
|
x(e, "possibleValues"),
|
|
127
127
|
{
|
|
128
128
|
itemHeight: 22
|
|
@@ -518,7 +518,7 @@ function q(e, t, i, n, l, o) {
|
|
|
518
518
|
])
|
|
519
519
|
], 6);
|
|
520
520
|
}
|
|
521
|
-
const G = /* @__PURE__ */
|
|
521
|
+
const G = /* @__PURE__ */ P($, [["render", q], ["__scopeId", "data-v-4ee62d65"]]), Z = /* @__PURE__ */ y({
|
|
522
522
|
__name: "MultiSelectListBoxControl",
|
|
523
523
|
props: {
|
|
524
524
|
control: {},
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as V, toRef as x, computed as d, createBlock as B, openBlock as N, unref as u, mergeProps as G } from "vue";
|
|
2
|
-
import {
|
|
3
|
-
import { i as
|
|
4
|
-
import { t as X, c as Y } from "./usePossibleValues-
|
|
2
|
+
import { ay as i, b as S } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
|
+
import { i as v } from "./index-Blg1O3Fz-CGafpkU1.js";
|
|
4
|
+
import { t as X, c as Y } from "./usePossibleValues-DiYOmnZW-CaSLjdK-.js";
|
|
5
5
|
import { p as $ } from "./toKdsPossibleValues-BklBg3gG-Dr1D12GJ.js";
|
|
6
|
-
import { F as W } from "./useUnknownValuesInTwinlist-
|
|
6
|
+
import { F as W } from "./useUnknownValuesInTwinlist-BhhirtmX-D2ve7iXH.js";
|
|
7
7
|
const J = /* @__PURE__ */ V({
|
|
8
8
|
__name: "MultimodeTwinlistControl",
|
|
9
9
|
props: {
|
|
@@ -21,7 +21,7 @@ const J = /* @__PURE__ */ V({
|
|
|
21
21
|
setup(o) {
|
|
22
22
|
const a = o, { possibleValues: c } = X(
|
|
23
23
|
x(a, "control")
|
|
24
|
-
), { excludedLabel:
|
|
24
|
+
), { excludedLabel: T, includedLabel: F } = Y(
|
|
25
25
|
x(a, "control")
|
|
26
26
|
), { selectedAndDeselected: p, setCurrentManualFilter: E } = W({
|
|
27
27
|
data: d(() => a.control.data),
|
|
@@ -32,7 +32,7 @@ const J = /* @__PURE__ */ V({
|
|
|
32
32
|
}
|
|
33
33
|
)
|
|
34
34
|
}), r = (e) => {
|
|
35
|
-
const l =
|
|
35
|
+
const l = v(a.control.data, e);
|
|
36
36
|
a.changeValue(l), E(l.manualFilter);
|
|
37
37
|
}, U = d(
|
|
38
38
|
() => $(c.value ?? [])
|
|
@@ -44,7 +44,7 @@ const J = /* @__PURE__ */ V({
|
|
|
44
44
|
s = null, r(e);
|
|
45
45
|
}
|
|
46
46
|
}, m = (e) => {
|
|
47
|
-
s === null ? (s = e, queueMicrotask(w)) : s =
|
|
47
|
+
s === null ? (s = e, queueMicrotask(w)) : s = v(
|
|
48
48
|
s,
|
|
49
49
|
e
|
|
50
50
|
);
|
|
@@ -53,11 +53,11 @@ const J = /* @__PURE__ */ V({
|
|
|
53
53
|
manualFilter: { manuallySelected: e },
|
|
54
54
|
selected: e
|
|
55
55
|
});
|
|
56
|
-
},
|
|
56
|
+
}, C = (e) => {
|
|
57
57
|
m({
|
|
58
58
|
manualFilter: { manuallyDeselected: e }
|
|
59
59
|
});
|
|
60
|
-
},
|
|
60
|
+
}, R = (e) => {
|
|
61
61
|
e !== null && m({
|
|
62
62
|
manualFilter: { includeUnknownColumns: e }
|
|
63
63
|
});
|
|
@@ -73,7 +73,7 @@ const J = /* @__PURE__ */ V({
|
|
|
73
73
|
}
|
|
74
74
|
}), b = d(
|
|
75
75
|
() => a.control.data.mode.toUpperCase() === "REGEX"
|
|
76
|
-
),
|
|
76
|
+
), k = (e) => {
|
|
77
77
|
let l;
|
|
78
78
|
switch (e) {
|
|
79
79
|
case i.PATTERN:
|
|
@@ -94,7 +94,7 @@ const J = /* @__PURE__ */ V({
|
|
|
94
94
|
r({ patternFilter: { isInverted: e } });
|
|
95
95
|
}, I = (e) => {
|
|
96
96
|
r({ patternFilter: { isCaseSensitive: e } });
|
|
97
|
-
},
|
|
97
|
+
}, L = () => {
|
|
98
98
|
const e = a.control.data.typeFilter;
|
|
99
99
|
if (!e)
|
|
100
100
|
return [];
|
|
@@ -112,14 +112,14 @@ const J = /* @__PURE__ */ V({
|
|
|
112
112
|
const e = /* @__PURE__ */ new Map();
|
|
113
113
|
return (l = c.value) == null || l.forEach((t) => {
|
|
114
114
|
t.type && e.set(t.type.id, t.type.text);
|
|
115
|
-
}),
|
|
115
|
+
}), L().forEach(({ id: t, text: n }) => {
|
|
116
116
|
e.has(t) || e.set(t, n);
|
|
117
117
|
}), [...e.entries()].map(([t, n]) => ({
|
|
118
118
|
id: t,
|
|
119
119
|
text: n,
|
|
120
120
|
accessory: { type: "dataType", name: t }
|
|
121
121
|
}));
|
|
122
|
-
}),
|
|
122
|
+
}), M = (e) => {
|
|
123
123
|
const l = (f.value ?? []).filter((t) => e.includes(t.id)).map(({ id: t, text: n }) => ({ id: t, text: n }));
|
|
124
124
|
r({
|
|
125
125
|
typeFilter: { selectedTypes: e, typeDisplays: l }
|
|
@@ -144,19 +144,19 @@ const J = /* @__PURE__ */ V({
|
|
|
144
144
|
"filter-types": f.value,
|
|
145
145
|
"enable-pattern-filter": !0,
|
|
146
146
|
loading: u(p).selected === null,
|
|
147
|
-
"exclude-label": u(
|
|
147
|
+
"exclude-label": u(T),
|
|
148
148
|
"include-label": u(F),
|
|
149
149
|
error: o.error,
|
|
150
150
|
"sub-text": o.subText,
|
|
151
|
-
"onUpdate:mode":
|
|
151
|
+
"onUpdate:mode": k,
|
|
152
152
|
"onUpdate:manuallyIncluded": h,
|
|
153
|
-
"onUpdate:manuallyExcluded":
|
|
154
|
-
"onUpdate:includeUnknownValues":
|
|
153
|
+
"onUpdate:manuallyExcluded": C,
|
|
154
|
+
"onUpdate:includeUnknownValues": R,
|
|
155
155
|
"onUpdate:pattern": A,
|
|
156
156
|
"onUpdate:caseSensitive": I,
|
|
157
157
|
"onUpdate:excludeMatches": D,
|
|
158
158
|
"onUpdate:useRegex": g,
|
|
159
|
-
"onUpdate:selectedTypes":
|
|
159
|
+
"onUpdate:selectedTypes": M
|
|
160
160
|
}), null, 16, ["id", "ariaLabel", "disabled", "mode", "manually-included", "manually-excluded", "include-unknown-values", "pattern", "case-sensitive", "exclude-matches", "use-regex", "selected-types", "possible-values", "filter-types", "loading", "exclude-label", "include-label", "error", "sub-text"]);
|
|
161
161
|
};
|
|
162
162
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, createBlock as o, openBlock as t, mergeProps as l } from "vue";
|
|
2
|
-
import a from "./MultimodeTwinlistControl-
|
|
2
|
+
import a from "./MultimodeTwinlistControl-thO1be1r-8kc-JSH1.js";
|
|
3
3
|
const i = /* @__PURE__ */ n({
|
|
4
4
|
__name: "NameFilter",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, createBlock as n, openBlock as t, mergeProps as r } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { V as l } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-CR61f6d6-Df5EPyns.js";
|
|
3
3
|
const c = /* @__PURE__ */ o({
|
|
4
4
|
__name: "NumberControl",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as m, computed as r, createBlock as c, openBlock as d, unref as p } from "vue";
|
|
2
|
-
import { O as x,
|
|
3
|
-
const v = 1,
|
|
2
|
+
import { O as x, V as b } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
|
+
const v = 1, V = 0.1, g = /* @__PURE__ */ m({
|
|
4
4
|
__name: "NumberControlBase",
|
|
5
5
|
props: {
|
|
6
6
|
control: {},
|
|
@@ -17,7 +17,7 @@ const v = 1, y = 0.1, h = /* @__PURE__ */ m({
|
|
|
17
17
|
const n = l, i = r(
|
|
18
18
|
() => {
|
|
19
19
|
var e;
|
|
20
|
-
return ((e = n.control.uischema.options) == null ? void 0 : e.stepSize) ?? (n.type === "integer" ? v :
|
|
20
|
+
return ((e = n.control.uischema.options) == null ? void 0 : e.stepSize) ?? (n.type === "integer" ? v : V);
|
|
21
21
|
}
|
|
22
22
|
), t = x(
|
|
23
23
|
{
|
|
@@ -50,5 +50,5 @@ const v = 1, y = 0.1, h = /* @__PURE__ */ m({
|
|
|
50
50
|
}
|
|
51
51
|
});
|
|
52
52
|
export {
|
|
53
|
-
|
|
53
|
+
g as V
|
|
54
54
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, computed as i, createBlock as p, openBlock as c, unref as r } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { e as b } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
3
|
import { c as m } from "./index-Blg1O3Fz-CGafpkU1.js";
|
|
4
4
|
const h = /* @__PURE__ */ u({
|
|
5
5
|
__name: "OneOfDropdown",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as f, computed as r, createElementBlock as t, openBlock as l, Fragment as c, createCommentVNode as T, renderList as V, createVNode as g, createElementVNode as s, unref as h, normalizeClass as x } from "vue";
|
|
2
|
+
import { g as y } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
|
+
const H = ["innerHTML"], L = ["innerHTML"], M = ["innerHTML"], F = /* @__PURE__ */ f({
|
|
4
4
|
__name: "RadioButtonsWithDescriptionControl",
|
|
5
5
|
props: {
|
|
6
6
|
control: {},
|
|
@@ -15,11 +15,11 @@ const L = ["innerHTML"], g = ["innerHTML"], M = ["innerHTML"], F = /* @__PURE__
|
|
|
15
15
|
setup(a) {
|
|
16
16
|
const n = a, u = r(() => {
|
|
17
17
|
var o;
|
|
18
|
-
return ((o = n.control.schema.oneOf) == null ? void 0 : o.map(({ const: d, title: e, price: v, description:
|
|
18
|
+
return ((o = n.control.schema.oneOf) == null ? void 0 : o.map(({ const: d, title: e, price: v, description: b }) => ({
|
|
19
19
|
id: d,
|
|
20
20
|
text: e,
|
|
21
21
|
price: v,
|
|
22
|
-
description:
|
|
22
|
+
description: b
|
|
23
23
|
}))) || [];
|
|
24
24
|
}), p = r(() => !n.control.enabled), i = r(
|
|
25
25
|
() => {
|
|
@@ -30,11 +30,11 @@ const L = ["innerHTML"], g = ["innerHTML"], M = ["innerHTML"], F = /* @__PURE__
|
|
|
30
30
|
n.changeValue(o);
|
|
31
31
|
};
|
|
32
32
|
return (o, d) => (l(), t(c, null, [
|
|
33
|
-
(l(!0), t(c, null,
|
|
33
|
+
(l(!0), t(c, null, V(u.value, (e) => (l(), t("label", {
|
|
34
34
|
key: `radio-${e.id}`,
|
|
35
35
|
class: "radio-wrapper"
|
|
36
36
|
}, [
|
|
37
|
-
|
|
37
|
+
g(h(y), {
|
|
38
38
|
class: "radio-button",
|
|
39
39
|
"model-value": a.control.data === e.id,
|
|
40
40
|
text: e.text,
|
|
@@ -44,17 +44,17 @@ const L = ["innerHTML"], g = ["innerHTML"], M = ["innerHTML"], F = /* @__PURE__
|
|
|
44
44
|
s("div", {
|
|
45
45
|
class: "description",
|
|
46
46
|
innerHTML: e.description
|
|
47
|
-
}, null, 8,
|
|
47
|
+
}, null, 8, H),
|
|
48
48
|
s("div", {
|
|
49
|
-
class:
|
|
49
|
+
class: x(["price", { selected: a.control.data === e.id }]),
|
|
50
50
|
innerHTML: e.price
|
|
51
|
-
}, null, 10,
|
|
51
|
+
}, null, 10, L)
|
|
52
52
|
]))), 128)),
|
|
53
53
|
i.value ? (l(), t("div", {
|
|
54
54
|
key: 0,
|
|
55
55
|
class: "footnote",
|
|
56
56
|
innerHTML: i.value
|
|
57
|
-
}, null, 8, M)) :
|
|
57
|
+
}, null, 8, M)) : T("", !0)
|
|
58
58
|
], 64));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, createBlock as n, openBlock as t, mergeProps as r } from "vue";
|
|
2
|
-
import { T as p } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { T as p } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-Bm4EUEvw-Cabfycg_.js";
|
|
3
3
|
const c = /* @__PURE__ */ o({
|
|
4
4
|
__name: "RadioControl",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as v, useAttrs as f, computed as
|
|
2
|
-
import {
|
|
3
|
-
import { c as
|
|
4
|
-
import { t as
|
|
1
|
+
import { defineComponent as v, useAttrs as f, computed as s, ref as y, toRef as h, createElementBlock as x, createCommentVNode as V, onMounted as g, openBlock as n, Fragment as F, createBlock as i, unref as t, mergeProps as m } from "vue";
|
|
2
|
+
import { T as k, K as B } from "./TextControl-52n-sttB-DssWw4KP.js";
|
|
3
|
+
import { c as T } from "./index-Blg1O3Fz-CGafpkU1.js";
|
|
4
|
+
import { t as C } from "./usePossibleValues-DiYOmnZW-CaSLjdK-.js";
|
|
5
5
|
const A = /* @__PURE__ */ v({
|
|
6
6
|
inheritAttrs: !1,
|
|
7
7
|
__name: "RadioControlBase",
|
|
@@ -17,26 +17,26 @@ const A = /* @__PURE__ */ v({
|
|
|
17
17
|
type: {}
|
|
18
18
|
},
|
|
19
19
|
setup(e) {
|
|
20
|
-
const d = f(), l = e, p =
|
|
20
|
+
const d = f(), l = e, p = s(() => {
|
|
21
21
|
var o;
|
|
22
22
|
return (o = l.control.uischema.options) == null ? void 0 : o.radioLayout;
|
|
23
23
|
}), c = (o) => ({
|
|
24
24
|
id: o.id,
|
|
25
25
|
text: o.text,
|
|
26
26
|
...o.disabled ? { disabled: !0 } : {}
|
|
27
|
-
}),
|
|
27
|
+
}), u = y(null), { possibleValues: b } = C(h(l, "control"), {
|
|
28
28
|
defaultOnNonProvided: null
|
|
29
|
-
}), a =
|
|
29
|
+
}), a = s(
|
|
30
30
|
() => {
|
|
31
31
|
var o;
|
|
32
|
-
return (o = b.value ??
|
|
32
|
+
return (o = b.value ?? u.value) == null ? void 0 : o.map(c);
|
|
33
33
|
}
|
|
34
34
|
);
|
|
35
35
|
return g(() => {
|
|
36
36
|
var o, r;
|
|
37
|
-
|
|
38
|
-
}), (o, r) => a.value ? (n(), x(
|
|
39
|
-
l.type === "valueSwitch" ? (n(), i(t(
|
|
37
|
+
u.value = (r = (o = l.control) == null ? void 0 : o.schema) != null && r.oneOf ? l.control.schema.oneOf.map(T) : null;
|
|
38
|
+
}), (o, r) => a.value ? (n(), x(F, { key: 0 }, [
|
|
39
|
+
l.type === "valueSwitch" ? (n(), i(t(k), m({ key: 0 }, t(d), {
|
|
40
40
|
id: e.labelForId,
|
|
41
41
|
"possible-values": a.value,
|
|
42
42
|
disabled: e.disabled,
|
|
@@ -46,7 +46,7 @@ const A = /* @__PURE__ */ v({
|
|
|
46
46
|
size: "small",
|
|
47
47
|
variant: "muted",
|
|
48
48
|
"onUpdate:modelValue": e.changeValue
|
|
49
|
-
}), null, 16, ["id", "possible-values", "disabled", "model-value", "error", "sub-text", "onUpdate:modelValue"])) : (n(), i(t(
|
|
49
|
+
}), null, 16, ["id", "possible-values", "disabled", "model-value", "error", "sub-text", "onUpdate:modelValue"])) : (n(), i(t(B), m({ key: 1 }, t(d), {
|
|
50
50
|
id: e.labelForId,
|
|
51
51
|
"possible-values": a.value,
|
|
52
52
|
alignment: p.value,
|