@knime/jsonforms 1.11.4 → 1.12.0
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 +12 -0
- package/dist/{AnyOfTwinlist-B8IWCQfI.js → AnyOfTwinlist-Bm92BxCq.js} +1 -1
- package/dist/{Button-BIMifH4J.js → Button-BU4AHIik.js} +1 -1
- package/dist/{CheckboxControl-mUTfjUik.js → CheckboxControl-BfHrx05I.js} +1 -1
- package/dist/{Checkboxes-C8MYjELb.js → Checkboxes-BgwoEGV-.js} +1 -1
- package/dist/{CheckboxesControl-PnQ9Adbm.js → CheckboxesControl-DeDkOQTP.js} +3 -3
- package/dist/{ComboBoxControl-Bx9k_xcF.js → ComboBoxControl-CS3HULei.js} +2 -2
- package/dist/{DateControl-CFDyvByp.js → DateControl-DeuREfXO.js} +1 -1
- package/dist/{DateTimeControl-6xLdTDKD.js → DateTimeControl-Bv15fo80.js} +2 -2
- package/dist/{DateTimeFormatInput-DN13KoIx.js → DateTimeFormatInput-CTOVceJH.js} +3 -3
- package/dist/DateTimeFormatPickerControl-5fPMIUZs.js +43 -0
- package/dist/{DateTimeFormatPickerWithTypeControl-CK9zH_Pb.js → DateTimeFormatPickerWithTypeControl-yyIHxX6-.js} +19 -23
- package/dist/{DateTimeInput-CDUSsfXW.js → DateTimeInput-BPaZ_pEv.js} +6 -6
- package/dist/{Dropdown-VTgudgLJ.js → Dropdown-D6ytFIra.js} +2 -2
- package/dist/{DropdownControl-B8hshDBE.js → DropdownControl-Bl9djFfv.js} +2 -2
- package/dist/{HorizontalLayout-MsL7PmH3.js → HorizontalLayout-BmgysFCG.js} +1 -1
- package/dist/{InputField-fNsY8a05.js → InputField-D-drv5NW.js} +1 -1
- package/dist/{IntegerControl-ZSV_1jks.js → IntegerControl-CzusffS4.js} +1 -1
- package/dist/{IntervalControl-BedfdbyZ.js → IntervalControl-DBlPYbLt.js} +129 -130
- package/dist/{LoadingDropdown-DRC0PUle.js → LoadingDropdown-xAK7TsDc.js} +3 -3
- package/dist/{MultiSelectListBoxControl-lf35kyRi.js → MultiSelectListBoxControl-D1TD3jNm.js} +2 -2
- package/dist/{MultimodeTwinlistControl-CwPCFa9I.js → MultimodeTwinlistControl-BrluVu3Y.js} +5 -5
- package/dist/{MultiselectListBox-DXD5CLCh.js → MultiselectListBox-1nfMHeks.js} +2 -2
- package/dist/{NameFilter-ClFwXeRF.js → NameFilter-CUdwbsjT.js} +1 -1
- package/dist/{NumberControl-Cr7IXjEm.js → NumberControl-DEGlKs0O.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-ILIV8gqr.js → NumberControlBase.vue_vue_type_script_setup_true_lang-C0B7QKut.js} +2 -2
- package/dist/{NumberInput-A5_w5ol4.js → NumberInput-dE-KEe9u.js} +1 -1
- package/dist/{OneOfDropdown-DlhjZGFa.js → OneOfDropdown-BMcupih8.js} +1 -1
- package/dist/{RadioControl-ClX2lEwk.js → RadioControl-Cgm2SatI.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-Bv6jDZzK.js → RadioControlBase.vue_vue_type_script_setup_true_lang-n6oZHbxa.js} +3 -3
- package/dist/{RichTextControl-KJQSmoKv.js → RichTextControl-YEul6CJZ.js} +4 -4
- package/dist/{SectionHeading-D1h8Hr3u.js → SectionHeading-HNpa-JMB.js} +1 -1
- package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js} +696 -703
- package/dist/{SectionLayout-CVyuhnR5.js → SectionLayout-D-_-IdPp.js} +3 -3
- package/dist/{SettingsSubPanel-CjuhpEr4.js → SettingsSubPanel-CNXzO0_i.js} +1 -1
- package/dist/{SettingsSubPanelLayout-DGhJS__O.js → SettingsSubPanelLayout-C84okIEY.js} +4 -4
- package/dist/{SimpleButtonControl-CiUUyw8s.js → SimpleButtonControl-DbJCOykS.js} +2 -2
- package/dist/{SimpleTwinlistControl-D22uc8-j.js → SimpleTwinlistControl-CAaqVRDo.js} +2 -2
- package/dist/SingleSelectControl-Dn5eHuj1.js +55 -0
- package/dist/{SingleSelectListBoxControl-mafA0Or_.js → SingleSelectListBoxControl-DXBVcA1B.js} +3 -3
- package/dist/{SortListControl-CjaScQzv.js → SortListControl-B_e_Pieg.js} +50 -46
- package/dist/{StyledListItem-BoF85YFQ.js → StyledListItem-CGCkC79t.js} +1 -1
- package/dist/{TextAreaControl-C5eo1xkd.js → TextAreaControl-DF-7_-DW.js} +1 -1
- package/dist/{TextControl-CcC2bMdB.js → TextControl-FEepT6DT.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-JuMgL8lA.js → TextControl.vue_vue_type_script_setup_true_lang-Dd8il0B5.js} +12 -16
- package/dist/{TimeControl-CZIiQ1Iq.js → TimeControl-CL1jfXXP.js} +2 -2
- package/dist/{TwinlistControlBase-mEUGRSXm.js → TwinlistControlBase-DvXv0Vo6.js} +3 -3
- package/dist/{TwinlistLoadingInfo-D6z3t2c9.js → TwinlistLoadingInfo-CcOQiBV3.js} +4 -4
- package/dist/{TypedStringFilter-LQdmf8v7.js → TypedStringFilter-CjW7XKo7.js} +1 -1
- package/dist/{ValueSwitch-D6Wu1NDa.js → ValueSwitch-B-yL0b_A.js} +1 -1
- package/dist/{ValueSwitchControl-BbarTqJt.js → ValueSwitchControl-DeVtjzwE.js} +1 -1
- package/dist/{VerticalLayout-KMe-3TA0.js → VerticalLayout-c3McC0j1.js} +2 -2
- package/dist/{VerticalLayoutBase-Bd2TMmEZ.js → VerticalLayoutBase-Dgnqavoq.js} +1 -1
- package/dist/{ZonedDateTimeControl-Bs_bnndF.js → ZonedDateTimeControl-CkODiVzJ.js} +4 -4
- package/dist/{_baseEach-CABMvL7j.js → _baseEach-B-g2g11B.js} +2 -2
- package/dist/{_baseIteratee-DItkztCj.js → _baseIteratee-CHW73TMN.js} +3 -3
- package/dist/{_getTag-4mJMm5F3.js → _getTag-BWiFGABh.js} +1 -1
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +32 -31
- package/dist/{localTimeUtils-DWYnLAB-.js → localTimeUtils-DrKyGLv2.js} +1 -1
- package/dist/{magic-string.es-Iz0jmxfz.js → magic-string.es-DLCZ-p-e.js} +1 -1
- package/dist/src/JsonFormsDialog.vue.d.ts +7 -2
- package/dist/src/higherOrderComponents/control/types.d.ts +4 -0
- package/dist/src/higherOrderComponents/control/util.d.ts +4 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/src/renderers/defaultRenderers.d.ts +24 -0
- package/dist/src/renderers/simpleButtonRenderer.d.ts +12 -0
- package/dist/src/renderers/sortListRenderer.d.ts +12 -0
- package/dist/src/types/ChoicesUiSchema.d.ts +8 -4
- package/dist/src/types/provided.d.ts +10 -1
- package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +12 -0
- package/dist/src/uiComponents/SortListControl.vue.d.ts +8 -0
- package/dist/src/uiComponents/composables/useBuiltinValidations.d.ts +3 -6
- package/dist/src/uiComponents/composables/useHideOnNull.d.ts +1 -1
- package/dist/src/uiComponents/composables/usePossibleValues.d.ts +2 -2
- package/dist/src/uiComponents/composables/useProvidedState.d.ts +17 -2
- package/dist/src/uiComponents/index.d.ts +2 -1
- package/dist/{svgWithTitle-CJzZ_AF0.js → svgWithTitle-C1XM8U1L.js} +1 -1
- package/dist/testUtils/component.d.ts +16 -0
- package/dist/testing.js +3 -3
- package/dist/{toString-DzEZi8fD.js → toString-DfO6VEzj.js} +1 -1
- package/dist/useBuiltinValidations-bc9asSxB.js +73 -0
- package/dist/usePossibleValues-NHPCKPdi.js +17 -0
- package/package.json +3 -3
- package/dist/DateTimeFormatPickerControl-BEnoRr2q.js +0 -47
- package/dist/SingleSelectControl-LrEUX41i.js +0 -58
- package/dist/useBuiltinValidations-hN9BsKJH.js +0 -52
- package/dist/usePossibleValues-DY3q9YuR.js +0 -26
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { toRef as c, computed as d } from "vue";
|
|
2
|
+
import { u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
3
|
+
const v = (t = {}) => t.validation || null, f = (t) => t.replace(/^validation\./, ""), p = (t) => {
|
|
4
|
+
const i = (t.providedOptions ?? []).filter(
|
|
5
|
+
(n) => n.startsWith("validation.")
|
|
6
|
+
);
|
|
7
|
+
return i.length === 0 ? null : i.reduce(
|
|
8
|
+
(n, o) => ({
|
|
9
|
+
...n,
|
|
10
|
+
[f(o)]: u(
|
|
11
|
+
c(t),
|
|
12
|
+
// @ts-expect-error - the valid provided options cannot be inferred
|
|
13
|
+
o
|
|
14
|
+
)
|
|
15
|
+
}),
|
|
16
|
+
{}
|
|
17
|
+
);
|
|
18
|
+
}, r = (t) => Object.entries(t), s = (t, i) => {
|
|
19
|
+
const n = r(t).map(
|
|
20
|
+
([o, { parameters: e, errorMessage: a }]) => ({
|
|
21
|
+
validate: i[o](e),
|
|
22
|
+
errorMessage: a
|
|
23
|
+
})
|
|
24
|
+
);
|
|
25
|
+
return (o) => ({
|
|
26
|
+
errors: n.filter(({ validate: e }) => !e(o)).map(({ errorMessage: e }) => e)
|
|
27
|
+
});
|
|
28
|
+
}, m = (t, i, n) => t === null ? null : s(
|
|
29
|
+
{
|
|
30
|
+
[i]: t
|
|
31
|
+
},
|
|
32
|
+
n
|
|
33
|
+
), h = (t, i, n, o) => {
|
|
34
|
+
if (t) {
|
|
35
|
+
const e = s(t, n);
|
|
36
|
+
o(e);
|
|
37
|
+
}
|
|
38
|
+
i && r(i).map(
|
|
39
|
+
([a, l]) => d(
|
|
40
|
+
() => m(l.value, a, n)
|
|
41
|
+
)
|
|
42
|
+
).forEach(o);
|
|
43
|
+
}, V = ({
|
|
44
|
+
validations: t,
|
|
45
|
+
providedValidations: i
|
|
46
|
+
}) => {
|
|
47
|
+
const n = r(t || {}).reduce(
|
|
48
|
+
(o, [e, { parameters: a }]) => ({ ...o, [e]: a }),
|
|
49
|
+
{}
|
|
50
|
+
);
|
|
51
|
+
return d(() => i === null ? n : r(i).map(([o, e]) => ({
|
|
52
|
+
key: o,
|
|
53
|
+
providedValidation: e.value
|
|
54
|
+
})).filter(({ providedValidation: o }) => o !== null).reduce(
|
|
55
|
+
(o, { key: e, providedValidation: a }) => ({
|
|
56
|
+
...o,
|
|
57
|
+
// @ts-expect-error - we know that providedValidation is not null here
|
|
58
|
+
[e]: a.parameters
|
|
59
|
+
}),
|
|
60
|
+
n
|
|
61
|
+
));
|
|
62
|
+
}, x = (t, i) => {
|
|
63
|
+
const { uischema: n } = i.control, { options: o } = n, e = v(o), a = p(n);
|
|
64
|
+
return h(
|
|
65
|
+
e,
|
|
66
|
+
a,
|
|
67
|
+
t,
|
|
68
|
+
i.onRegisterValidation
|
|
69
|
+
), V({ validations: e, providedValidations: a });
|
|
70
|
+
};
|
|
71
|
+
export {
|
|
72
|
+
x as u
|
|
73
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { computed as a } from "vue";
|
|
2
|
+
import { u as o } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
|
|
3
|
+
const t = (s) => {
|
|
4
|
+
const e = a(() => s.value.uischema);
|
|
5
|
+
return { possibleValues: o(e, "possibleValues") };
|
|
6
|
+
}, i = (s) => {
|
|
7
|
+
var u, l;
|
|
8
|
+
const e = a(() => s.value.uischema.options);
|
|
9
|
+
return {
|
|
10
|
+
includedLabel: ((u = e.value) == null ? void 0 : u.includedLabel) ?? "Includes",
|
|
11
|
+
excludedLabel: ((l = e.value) == null ? void 0 : l.excludedLabel) ?? "Excludes"
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
i as a,
|
|
16
|
+
t as u
|
|
17
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/jsonforms",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "Internal JSON Forms integration for frontend KNIME projects",
|
|
5
5
|
"homepage": "https://knime.github.io/webapps-common/",
|
|
6
6
|
"license": "GPL 3 and Additional Permissions according to Sec. 7 (SEE the file LICENSE)",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"focus-trap-vue": "4.0.3",
|
|
16
16
|
"tabbable": "6.2.0",
|
|
17
17
|
"uuid": "10.0.0",
|
|
18
|
-
"@knime/components": "1.28.
|
|
19
|
-
"@knime/rich-text-editor": "1.4.
|
|
18
|
+
"@knime/components": "1.28.5",
|
|
19
|
+
"@knime/rich-text-editor": "1.4.15",
|
|
20
20
|
"@knime/styles": "1.4.0",
|
|
21
21
|
"@knime/utils": "1.4.0"
|
|
22
22
|
},
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { defineComponent as m, computed as o, openBlock as p, createBlock as c, unref as n } from "vue";
|
|
2
|
-
import { u as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
|
|
3
|
-
import { D as F } from "./DateTimeFormatInput-DN13KoIx.js";
|
|
4
|
-
const b = /* @__PURE__ */ m({
|
|
5
|
-
__name: "DateTimeFormatPickerControl",
|
|
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(s) {
|
|
16
|
-
const a = s, t = o(() => a.control.uischema.options), d = o(() => {
|
|
17
|
-
var e;
|
|
18
|
-
return (e = t.value) == null ? void 0 : e.allowedFormats;
|
|
19
|
-
}), u = f(
|
|
20
|
-
o(() => {
|
|
21
|
-
var e;
|
|
22
|
-
return (e = t.value) == null ? void 0 : e.formatProvider;
|
|
23
|
-
}),
|
|
24
|
-
null
|
|
25
|
-
), l = o({
|
|
26
|
-
get: () => ({
|
|
27
|
-
format: a.control.data,
|
|
28
|
-
temporalType: "DATE"
|
|
29
|
-
}),
|
|
30
|
-
set: (e) => a.changeValue(e.format)
|
|
31
|
-
});
|
|
32
|
-
return (e, r) => (p(), c(n(F), {
|
|
33
|
-
id: e.labelForId,
|
|
34
|
-
modelValue: l.value,
|
|
35
|
-
"onUpdate:modelValue": r[0] || (r[0] = (i) => l.value = i),
|
|
36
|
-
compact: "",
|
|
37
|
-
disabled: e.disabled,
|
|
38
|
-
"show-type-switch-in-popover": !0,
|
|
39
|
-
"allowed-formats": d.value,
|
|
40
|
-
"all-default-formats": n(u),
|
|
41
|
-
"is-valid": !0
|
|
42
|
-
}, null, 8, ["id", "modelValue", "disabled", "allowed-formats", "all-default-formats"]));
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
export {
|
|
46
|
-
b as default
|
|
47
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { defineComponent as v, computed as r, openBlock as I, createBlock as y } from "vue";
|
|
2
|
-
import { u as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
|
|
3
|
-
import { L as P } from "./LoadingDropdown-DRC0PUle.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
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { computed as r } from "vue";
|
|
2
|
-
import { u as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
|
|
3
|
-
const l = (e = {}) => e.validations ?? [], c = (e = {}) => (e.validationProviders ?? []).map(
|
|
4
|
-
(i) => d(i, null)
|
|
5
|
-
), s = (e, i) => {
|
|
6
|
-
const n = e.map(
|
|
7
|
-
({ id: t, parameters: o, errorMessage: a }) => ({
|
|
8
|
-
validate: i[t](o),
|
|
9
|
-
errorMessage: a
|
|
10
|
-
})
|
|
11
|
-
);
|
|
12
|
-
return (t) => ({
|
|
13
|
-
errors: n.filter(({ validate: o }) => !o(t)).map(({ errorMessage: o }) => o)
|
|
14
|
-
});
|
|
15
|
-
}, u = (e, i) => e === null ? null : s([e], i), m = (e, i, n, t) => {
|
|
16
|
-
if (e.length) {
|
|
17
|
-
const o = s(e, n);
|
|
18
|
-
t(o);
|
|
19
|
-
}
|
|
20
|
-
i.length && i.map(
|
|
21
|
-
(a) => r(() => u(a.value, n))
|
|
22
|
-
).forEach(t);
|
|
23
|
-
}, h = ({
|
|
24
|
-
validations: e,
|
|
25
|
-
providedValidations: i
|
|
26
|
-
}) => {
|
|
27
|
-
const n = e.reduce(
|
|
28
|
-
(t, o) => ({ ...t, [o.id]: o.parameters }),
|
|
29
|
-
{}
|
|
30
|
-
);
|
|
31
|
-
return r(
|
|
32
|
-
() => i.map((t) => t.value).filter((t) => t !== null).reduce(
|
|
33
|
-
(t, o) => ({
|
|
34
|
-
...t,
|
|
35
|
-
// @ts-expect-error - we know that validation is not null here
|
|
36
|
-
[o.id]: o.parameters
|
|
37
|
-
}),
|
|
38
|
-
n
|
|
39
|
-
)
|
|
40
|
-
);
|
|
41
|
-
}, f = (e, i) => {
|
|
42
|
-
const n = i.control.uischema.options, t = l(n), o = c(n);
|
|
43
|
-
return m(
|
|
44
|
-
t,
|
|
45
|
-
o,
|
|
46
|
-
e,
|
|
47
|
-
i.onRegisterValidation
|
|
48
|
-
), h({ validations: t, providedValidations: o });
|
|
49
|
-
};
|
|
50
|
-
export {
|
|
51
|
-
f as u
|
|
52
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { computed as a } from "vue";
|
|
2
|
-
import { u as c } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
|
|
3
|
-
const t = (s) => {
|
|
4
|
-
var e;
|
|
5
|
-
const u = a(
|
|
6
|
-
() => {
|
|
7
|
-
var o;
|
|
8
|
-
return (o = s.value.uischema.options) == null ? void 0 : o.choicesProvider;
|
|
9
|
-
}
|
|
10
|
-
);
|
|
11
|
-
return { possibleValues: c(
|
|
12
|
-
u,
|
|
13
|
-
((e = s.value.uischema.options) == null ? void 0 : e.possibleValues) ?? null
|
|
14
|
-
) };
|
|
15
|
-
}, n = (s) => {
|
|
16
|
-
var l, e;
|
|
17
|
-
const u = a(() => s.value.uischema.options);
|
|
18
|
-
return {
|
|
19
|
-
includedLabel: ((l = u.value) == null ? void 0 : l.includedLabel) ?? "Includes",
|
|
20
|
-
excludedLabel: ((e = u.value) == null ? void 0 : e.excludedLabel) ?? "Excludes"
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export {
|
|
24
|
-
n as a,
|
|
25
|
-
t as u
|
|
26
|
-
};
|