@knime/jsonforms 3.0.0 → 3.1.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 +15 -0
- package/dist/AnyOfTwinlist-iPxS5C9Y.js +24 -0
- package/dist/CheckboxControl-C99OdmDL.js +41 -0
- package/dist/CheckboxesControl-BZhMhT9x.js +47 -0
- package/dist/ColorControl-D1dNnNbO.js +38 -0
- package/dist/ColorPreviewControl-B4zix2kb.js +67 -0
- package/dist/ComboBoxControl-BGWAD9IW.js +47 -0
- package/dist/DateControl-D0HfVrtz.js +49 -0
- package/dist/DateTimeControl-kTQZI9JC.js +103 -0
- package/dist/DateTimeFormatPickerControl-BiYcsKSn.js +44 -0
- package/dist/DropdownControl-jsayV3N5.js +42 -0
- package/dist/ExecutorCoresControl-DNo2SaC6.js +26 -0
- package/dist/ExecutorMemoryControl-C8RLYQdd.js +26 -0
- package/dist/FileUploadControl-Cv3xWTAS.js +58 -0
- package/dist/GridSelectionControl-BqtaGQYg.js +86 -0
- package/dist/HorizontalLayout-B_lETfCu.js +29 -0
- package/dist/IntegerControl-Cr8SO0xH.js +22 -0
- package/dist/IntervalControl-BdjKEwLy.js +53 -0
- package/dist/LinkControl-QMwkCJlj.js +37 -0
- package/dist/LoadingDropdown-BpU4Uiin.js +61 -0
- package/dist/ManualTwinlistControl-CPILp7H_.js +75 -0
- package/dist/NameFilter-CYYPRj-2.js +29 -0
- package/dist/NumberControl-ODy5GAlR.js +22 -0
- package/dist/NumberControlBase-Cl3QcvzB.js +56 -0
- package/dist/OneOfDropdown-CMPRAraI.js +44 -0
- package/dist/ProgressButtonControl-BimHrSZd.js +51 -0
- package/dist/RadioButtonsWithDescriptionControl-DJu3ODo7.js +58 -0
- package/dist/RadioControl-D_NE5s4n.js +22 -0
- package/dist/RadioControlBase-knF86px0.js +69 -0
- package/dist/ResourceControlBase-BVMVVYns.js +64 -0
- package/dist/RichTextControl-JIM904_P.js +72 -0
- package/dist/SectionLayout-BDYjoUXM.js +41 -0
- package/dist/SettingsSubPanelLayout-DVw_AsU6.js +53 -0
- package/dist/SimpleTwinlistControl-BNnOmbN-.js +24 -0
- package/dist/SingleSelectControl-CJV9VMZm.js +58 -0
- package/dist/SortListControl-D-ifoRva.js +71 -0
- package/dist/TeamAndSpacesControl-D1FvyeCV.js +56 -0
- package/dist/TeamResourceControl-DyCO6-Nk.js +26 -0
- package/dist/TextAreaControl-7QziyTgn.js +40 -0
- package/dist/TimeControl-B29iTlhP.js +71 -0
- package/dist/TimeframesControl-Wvu--J0V.js +46 -0
- package/dist/TwinlistControlBase-300a_qUR.js +55 -0
- package/dist/TypedStringFilter-Ek7bQ-7j.js +35 -0
- package/dist/ValueSwitchControl-H2t2Wgo6.js +22 -0
- package/dist/VerticalLayout-zV890HYr.js +32 -0
- package/dist/ZonedDateTimeControl-DoE2T9iz.js +88 -0
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
- package/dist/inject-DEsHVs5q.js +5 -0
- package/dist/knime-jsonforms.css +2 -1
- package/dist/knime-jsonforms.d.ts +1 -1
- package/dist/knime-jsonforms.js +3 -219
- package/dist/magic-string.es-DrXXtutX.js +659 -0
- package/dist/plainDateTimeUtils-5uOCJ4N5.js +58 -0
- package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
- package/dist/src/JsonFormsDialog.vue.d.ts +53 -435
- package/dist/src/higherOrderComponents/control/DescriptionPopover.vue.d.ts +2 -1
- package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +21 -21
- package/dist/src/layoutComponents/Form.vue.d.ts +9 -12
- package/dist/src/layoutComponents/HorizontalLayout.vue.d.ts +2 -1
- package/dist/src/layoutComponents/SectionLayout.vue.d.ts +9 -13
- package/dist/src/layoutComponents/SettingsSubPanelLayout.vue.d.ts +9 -13
- package/dist/src/layoutComponents/VerticalLayout.vue.d.ts +2 -1
- package/dist/src/layoutComponents/VerticalLayoutBase.vue.d.ts +10 -14
- package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +7 -15
- package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +11 -10
- package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayout.vue.d.ts +2 -1
- package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayoutItemControls.vue.d.ts +3 -2
- package/dist/src/loading/LoadingDialog.vue.d.ts +2 -1
- package/dist/src/renderers/checkboxRenderer.d.ts +5 -4
- package/dist/src/renderers/colorPreviewRenderer.d.ts +1 -1
- package/dist/src/renderers/defaultRenderers.d.ts +22 -21
- package/dist/src/renderers/fallbackRenderers.d.ts +6 -5
- package/dist/src/renderers/horizontalLayoutRenderer.d.ts +1 -1
- package/dist/src/renderers/linkRenderer.d.ts +1 -1
- package/dist/src/renderers/progressButtonRenderer.d.ts +3 -3
- package/dist/src/renderers/sectionLayoutRenderer.d.ts +3 -3
- package/dist/src/renderers/sectionSubPanelLayoutRenderer.d.ts +3 -3
- package/dist/src/renderers/simpleButtonRenderer.d.ts +3 -3
- package/dist/src/renderers/verticalLayoutRenderer.d.ts +2 -2
- package/dist/src/uiComponents/CheckboxControl.vue.d.ts +11 -14
- package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ColorControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ColorPreviewControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DateControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/FieldControl.vue.d.ts +12 -7
- package/dist/src/uiComponents/FieldRenderer.vue.d.ts +12 -7
- package/dist/src/uiComponents/FileUploadControl.vue.d.ts +2 -3
- package/dist/src/uiComponents/GridSelectionControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/IntegerControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/IntervalControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/LinkControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/NumberControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/NumberControlBase.vue.d.ts +2 -1
- package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +2 -1
- package/dist/src/uiComponents/PasswordControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ProgressButtonControl.vue.d.ts +9 -13
- package/dist/src/uiComponents/QuantityControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/RadioButtonsWithDescriptionControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/RadioControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/RadioControlBase.vue.d.ts +2 -1
- package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +9 -13
- package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/SortListControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/TeamAndSpacesControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/TextAreaControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/TextControl.vue.d.ts +3 -454
- package/dist/src/uiComponents/TextMessageControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/TimeControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/TimeframesControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/UsernameControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/colorPreview/ColorPreviewEmptyState.vue.d.ts +2 -1
- package/dist/src/uiComponents/colorPreview/GradientPreview.vue.d.ts +2 -1
- package/dist/src/uiComponents/colorPreview/PalettePreview.vue.d.ts +2 -1
- package/dist/src/uiComponents/loading/LoadingDropdown.vue.d.ts +3 -2
- package/dist/src/uiComponents/resourceControls/ExecutorCoresControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/resourceControls/ExecutorMemoryControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/resourceControls/ResourceControlBase.vue.d.ts +2 -1
- package/dist/src/uiComponents/resourceControls/TeamResourceControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +2 -141
- package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +3 -2
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +2 -1
- package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +2 -1
- package/dist/src-DwqijroM.js +1269 -0
- package/dist/temporal-polyfill-D4u1I_Z-.js +3114 -0
- package/dist/testing.d.ts +1 -1
- package/dist/testing.js +15278 -19038
- package/dist/toKdsPossibleValues-Dd_qzlUI.js +14 -0
- package/dist/useBuiltinValidations-B_Drc2y-.js +43 -0
- package/dist/usePossibleValues-Cx6iSt_X.js +15 -0
- package/dist/useProvidedState-478_KXOe.js +26 -0
- package/dist/useUnknownValuesInTwinlist-BvCTc3hC.js +205 -0
- package/dist/utils-DmZLgn8X.js +12 -0
- package/package.json +7 -7
- package/dist/AnyOfTwinlist-CcodfEXw.js +0 -23
- package/dist/CheckboxControl-B_MAR82s.js +0 -41
- package/dist/CheckboxesControl--bG4aF6O.js +0 -39
- package/dist/ColorControl-CEp2Ei7R.js +0 -29
- package/dist/ColorPreviewControl-j0uQH95J.js +0 -90
- package/dist/ComboBoxControl-BpJzwiv6.js +0 -39
- package/dist/DateControl-83Fi6P5y.js +0 -44
- package/dist/DateTimeControl-C-D8bFm3.js +0 -103
- package/dist/DateTimeFormatPickerControl-B9gl_66T.js +0 -35
- package/dist/DropdownControl-CtveoldX.js +0 -32
- package/dist/ExecutorCoresControl-CErHidL7.js +0 -39
- package/dist/ExecutorMemoryControl-DgSM86Yg.js +0 -35
- package/dist/FileUploadControl-BBfnxURy.js +0 -56
- package/dist/GridSelectionControl-BaI4j0Jj.js +0 -117
- package/dist/HorizontalLayout-D1SRCyhL.js +0 -26
- package/dist/IntegerControl-v93Xw4DJ.js +0 -21
- package/dist/IntervalControl-CVlO_mFO.js +0 -52
- package/dist/LinkControl-j8GrcZZG.js +0 -36
- package/dist/LoadingDropdown.vue_vue_type_script_setup_true_lang-DFSHuMQ6.js +0 -57
- package/dist/ManualTwinlistControl-BzJehuHs.js +0 -74
- package/dist/MultimodeTwinlistControl-Br0DrpsZ.js +0 -4
- package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CHcU__0y.js +0 -159
- package/dist/NameFilter-BjuVseuX.js +0 -25
- package/dist/NumberControl-BF76FEhD.js +0 -21
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-DMTsK83k.js +0 -52
- package/dist/OneOfDropdown-DpXmZauV.js +0 -35
- package/dist/ProgressButtonControl-t8QMA22a.js +0 -52
- package/dist/RadioButtonsWithDescriptionControl-CeZ4qYCr.js +0 -58
- package/dist/RadioControl-DOn1Kre5.js +0 -21
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-CExBvDXt.js +0 -57
- package/dist/ResourceControlBase-CX97xRiy.js +0 -70
- package/dist/RichTextControl-BrVmkMgh.js +0 -60
- package/dist/SectionHeading-YAJTwOE4.js +0 -61
- package/dist/SectionLayout-BYOxuxY2.js +0 -47
- package/dist/SettingsSubPanel-DgISjowU.js +0 -5
- package/dist/SettingsSubPanelLayout-BQJCnTqx.js +0 -69
- package/dist/SimpleButtonControl-GTX19t2_.js +0 -50
- package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js +0 -1284
- package/dist/SimpleTwinlistControl-DOH1_L25.js +0 -23
- package/dist/SingleSelectControl-mY_yYOyk.js +0 -58
- package/dist/SortListControl-D-Um5gEW.js +0 -81
- package/dist/TeamAndSpacesControl-fGumynvr.js +0 -66
- package/dist/TeamResourceControl--1Sj3-Ks.js +0 -35
- package/dist/TextAreaControl-Cwq-lNBk.js +0 -30
- package/dist/TextControl-MvbrNTGW.js +0 -4
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-Cbv0bM2X.js +0 -53
- package/dist/TimeControl-WG0SC4_b.js +0 -71
- package/dist/TimeframesControl-CX5eKOGZ.js +0 -53
- package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-BKCvZF3X.js +0 -45
- package/dist/TypedStringFilter-BnWygKQJ.js +0 -27
- package/dist/ValueSwitchControl-BByKe7NK.js +0 -21
- package/dist/VerticalLayout-DIBkvSZ9.js +0 -30
- package/dist/VerticalLayoutBase-BEDnWcoh.js +0 -20
- package/dist/ZonedDateTimeControl-B45OygrC.js +0 -97
- package/dist/index-Blg1O3Fz.js +0 -15
- package/dist/index-_VUHzju5.js +0 -3210
- package/dist/magic-string.es-uPKorP4O.js +0 -663
- package/dist/plainDateTimeUtils-BZSKqp9i.js +0 -52
- package/dist/toKdsPossibleValues-BklBg3gG.js +0 -14
- package/dist/useBuiltinValidations-_4IBMopQ.js +0 -74
- package/dist/usePossibleValues-CXVLf00v.js +0 -16
- package/dist/useUnknownValuesInTwinlist-uXOCQkVS.js +0 -65
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { defineComponent as s, toRef as l, openBlock as r, createBlock as a, mergeProps as p, unref as i } from "vue";
|
|
2
|
-
import { u as c } from "./usePossibleValues-CXVLf00v.js";
|
|
3
|
-
import { _ as u } from "./TwinlistControlBase.vue_vue_type_script_setup_true_lang-BKCvZF3X.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
|
-
error: { type: Boolean },
|
|
12
|
-
subText: {},
|
|
13
|
-
onRegisterValidation: { type: Function },
|
|
14
|
-
labelForId: {}
|
|
15
|
-
},
|
|
16
|
-
setup(o) {
|
|
17
|
-
const e = o, n = l(e, "control"), { possibleValues: t } = c(n);
|
|
18
|
-
return (m, f) => (r(), a(u, p(e, { "possible-values": i(t) }), null, 16, ["possible-values"]));
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
export {
|
|
22
|
-
y as default
|
|
23
|
-
};
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { defineComponent as I, computed as c, toRef as y, openBlock as v, createBlock as $ } from "vue";
|
|
2
|
-
import { u as F } from "./usePossibleValues-CXVLf00v.js";
|
|
3
|
-
import { _ as R } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-DFSHuMQ6.js";
|
|
4
|
-
const i = "__special__", a = "__regular__", P = /* @__PURE__ */ I({
|
|
5
|
-
__name: "SingleSelectControl",
|
|
6
|
-
props: {
|
|
7
|
-
control: {},
|
|
8
|
-
handleChange: { type: Function },
|
|
9
|
-
changeValue: { type: Function },
|
|
10
|
-
disabled: { type: Boolean },
|
|
11
|
-
error: { type: Boolean },
|
|
12
|
-
subText: {},
|
|
13
|
-
onRegisterValidation: { type: Function },
|
|
14
|
-
labelForId: {}
|
|
15
|
-
},
|
|
16
|
-
setup(r) {
|
|
17
|
-
const t = r, p = c(
|
|
18
|
-
() => t.control.uischema.options.specialChoices
|
|
19
|
-
), { possibleValues: l } = F(
|
|
20
|
-
y(t, "control")
|
|
21
|
-
), s = (e) => `${i}${e}`, u = (e) => `${a}${e}`, h = ({
|
|
22
|
-
id: e,
|
|
23
|
-
text: o
|
|
24
|
-
}) => ({
|
|
25
|
-
id: s(e),
|
|
26
|
-
text: o,
|
|
27
|
-
isSpecial: !0
|
|
28
|
-
}), f = (e) => ({
|
|
29
|
-
...e,
|
|
30
|
-
id: u(e.id)
|
|
31
|
-
}), n = c(() => l.value === null ? null : p.value.map(h).concat(l.value.map(f))), C = (e) => {
|
|
32
|
-
if (!e.startsWith(a) && !e.startsWith(i))
|
|
33
|
-
throw new Error(`Expected id to start with ${a}`);
|
|
34
|
-
}, m = (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 ? u(e.regularChoice) : "specialChoice" in e && e.specialChoice ? s(e.specialChoice) : "", x = (e) => typeof e > "u" || e === null ? "" : "regularChoice" in e && e.regularChoice ? e.regularChoice : "specialChoice" in e && e.specialChoice ? e.specialChoice : "", d = c({
|
|
35
|
-
get: () => {
|
|
36
|
-
const e = b(t.control.data);
|
|
37
|
-
return n.value && !n.value.some((o) => o.id === e) ? x(t.control.data) : e;
|
|
38
|
-
},
|
|
39
|
-
set: (e) => {
|
|
40
|
-
t.changeValue(m(e));
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
return (e, o) => (v(), $(R, {
|
|
44
|
-
id: r.labelForId,
|
|
45
|
-
modelValue: d.value,
|
|
46
|
-
"onUpdate:modelValue": o[0] || (o[0] = (g) => d.value = g),
|
|
47
|
-
"possible-values": n.value,
|
|
48
|
-
ariaLabel: r.control.label,
|
|
49
|
-
disabled: r.disabled,
|
|
50
|
-
error: r.error,
|
|
51
|
-
"sub-text": r.subText,
|
|
52
|
-
compact: ""
|
|
53
|
-
}, null, 8, ["id", "modelValue", "possible-values", "ariaLabel", "disabled", "error", "sub-text"]));
|
|
54
|
-
}
|
|
55
|
-
});
|
|
56
|
-
export {
|
|
57
|
-
P as default
|
|
58
|
-
};
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, computed as l, onMounted as k, watch as x, openBlock as U, createBlock as g, unref as L } from "vue";
|
|
2
|
-
import { KdsSortableListBox as S } from "@knime/kds-components";
|
|
3
|
-
import { u as F } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js";
|
|
4
|
-
const I = "<any unknown new column>", E = /* @__PURE__ */ y({
|
|
5
|
-
__name: "SortListControl",
|
|
6
|
-
props: {
|
|
7
|
-
control: {},
|
|
8
|
-
handleChange: { type: Function },
|
|
9
|
-
changeValue: { type: Function },
|
|
10
|
-
disabled: { type: Boolean },
|
|
11
|
-
error: { type: Boolean },
|
|
12
|
-
subText: {},
|
|
13
|
-
onRegisterValidation: { type: Function },
|
|
14
|
-
labelForId: {}
|
|
15
|
-
},
|
|
16
|
-
setup(a) {
|
|
17
|
-
const o = a, t = l(() => o.control.data), s = l(
|
|
18
|
-
() => o.control.uischema
|
|
19
|
-
), u = l(
|
|
20
|
-
() => s.value.options?.unknownElementId ?? I
|
|
21
|
-
), m = l(
|
|
22
|
-
() => s.value.options?.unknownElementLabel ?? "Any unknown column"
|
|
23
|
-
), c = F(
|
|
24
|
-
s,
|
|
25
|
-
"possibleValues",
|
|
26
|
-
[]
|
|
27
|
-
), i = (e) => {
|
|
28
|
-
const n = {
|
|
29
|
-
id: e.id,
|
|
30
|
-
text: e.text,
|
|
31
|
-
...e.special ? { special: !0 } : {}
|
|
32
|
-
};
|
|
33
|
-
return e.type?.id && (n.accessory = {
|
|
34
|
-
type: "dataType",
|
|
35
|
-
name: e.type.id
|
|
36
|
-
}), n;
|
|
37
|
-
}, d = l(
|
|
38
|
-
() => c.value.map(i).concat(
|
|
39
|
-
i({
|
|
40
|
-
id: u.value,
|
|
41
|
-
text: m.value,
|
|
42
|
-
special: !0
|
|
43
|
-
})
|
|
44
|
-
)
|
|
45
|
-
), p = (e) => {
|
|
46
|
-
if (t.value.length === 0) {
|
|
47
|
-
b();
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
const n = t.value.indexOf(u.value);
|
|
51
|
-
if (n === -1)
|
|
52
|
-
throw new Error(
|
|
53
|
-
`SortList data have to contain the value "${u.value}"`
|
|
54
|
-
);
|
|
55
|
-
const V = t.value.slice(0, n + 1), f = t.value.slice(n + 1), w = new Set(t.value), v = e.map(({ id: r }) => r).filter((r) => !w.has(r));
|
|
56
|
-
v.length > 0 && o.changeValue(V.concat(v, f));
|
|
57
|
-
};
|
|
58
|
-
k(() => {
|
|
59
|
-
p(c.value);
|
|
60
|
-
}), x(() => c.value, p);
|
|
61
|
-
const b = () => {
|
|
62
|
-
o.changeValue(d.value.map(({ id: e }) => e));
|
|
63
|
-
}, h = (e) => {
|
|
64
|
-
o.changeValue(e);
|
|
65
|
-
};
|
|
66
|
-
return (e, n) => (U(), g(L(S), {
|
|
67
|
-
id: a.labelForId,
|
|
68
|
-
ariaLabel: a.control.label,
|
|
69
|
-
"possible-values": d.value,
|
|
70
|
-
"model-value": t.value,
|
|
71
|
-
disabled: a.disabled,
|
|
72
|
-
error: a.error,
|
|
73
|
-
"sub-text": a.subText,
|
|
74
|
-
"onUpdate:modelValue": h
|
|
75
|
-
}, null, 8, ["id", "ariaLabel", "possible-values", "model-value", "disabled", "error", "sub-text"]));
|
|
76
|
-
}
|
|
77
|
-
});
|
|
78
|
-
export {
|
|
79
|
-
I as DEFAULT_ANY_UNKNOWN_VALUES_ID,
|
|
80
|
-
E as default
|
|
81
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { defineComponent as S, ref as r, computed as l, openBlock as I, createElementBlock as y, createElementVNode as m, createVNode as v, unref as b } from "vue";
|
|
2
|
-
import { KdsDropdown as f } from "@knime/kds-components";
|
|
3
|
-
import { _ as C } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js";
|
|
4
|
-
const x = { class: "team-and-space" }, B = { class: "team" }, F = { class: "space" }, N = /* @__PURE__ */ S({
|
|
5
|
-
__name: "TeamAndSpacesControl",
|
|
6
|
-
props: {
|
|
7
|
-
control: {},
|
|
8
|
-
handleChange: { type: Function },
|
|
9
|
-
changeValue: { type: Function },
|
|
10
|
-
disabled: { type: Boolean },
|
|
11
|
-
error: { type: Boolean },
|
|
12
|
-
subText: {},
|
|
13
|
-
onRegisterValidation: { type: Function },
|
|
14
|
-
labelForId: {}
|
|
15
|
-
},
|
|
16
|
-
setup(d) {
|
|
17
|
-
const o = d, n = r(""), a = r(""), V = l(
|
|
18
|
-
() => o.control.uischema
|
|
19
|
-
), u = l(() => V.value.options), i = l(() => u.value?.possibleTeams ?? []), p = l(() => u.value?.possibleSpaces ?? []), c = l(
|
|
20
|
-
() => p.value.find(({ id: s }) => s === n.value)?.spaces ?? []
|
|
21
|
-
), h = l(() => !o.control.enabled || i.value.length === 0), T = l(() => !o.control.enabled || c.value.length === 0), _ = () => {
|
|
22
|
-
if (o.control.data) {
|
|
23
|
-
a.value = o.control.data;
|
|
24
|
-
const s = p.value.find(
|
|
25
|
-
({ spaces: e }) => e.some(({ id: t }) => t === a.value)
|
|
26
|
-
);
|
|
27
|
-
s && (n.value = s.id);
|
|
28
|
-
}
|
|
29
|
-
}, g = () => {
|
|
30
|
-
a.value = c.value[0]?.id ?? "", o.changeValue(a.value);
|
|
31
|
-
};
|
|
32
|
-
return _(), (s, e) => (I(), y("div", x, [
|
|
33
|
-
m("div", B, [
|
|
34
|
-
v(b(f), {
|
|
35
|
-
modelValue: n.value,
|
|
36
|
-
"onUpdate:modelValue": [
|
|
37
|
-
e[0] || (e[0] = (t) => n.value = t),
|
|
38
|
-
g
|
|
39
|
-
],
|
|
40
|
-
label: "Team",
|
|
41
|
-
"aria-label": "account-id",
|
|
42
|
-
disabled: h.value,
|
|
43
|
-
"possible-values": i.value,
|
|
44
|
-
placeholder: "No team selected"
|
|
45
|
-
}, null, 8, ["modelValue", "disabled", "possible-values"])
|
|
46
|
-
]),
|
|
47
|
-
m("div", F, [
|
|
48
|
-
v(b(f), {
|
|
49
|
-
modelValue: a.value,
|
|
50
|
-
"onUpdate:modelValue": [
|
|
51
|
-
e[1] || (e[1] = (t) => a.value = t),
|
|
52
|
-
e[2] || (e[2] = () => d.changeValue(a.value))
|
|
53
|
-
],
|
|
54
|
-
label: "Space",
|
|
55
|
-
"aria-label": "space-id",
|
|
56
|
-
disabled: T.value,
|
|
57
|
-
"possible-values": c.value,
|
|
58
|
-
placeholder: "No space selected"
|
|
59
|
-
}, null, 8, ["modelValue", "disabled", "possible-values"])
|
|
60
|
-
])
|
|
61
|
-
]));
|
|
62
|
-
}
|
|
63
|
-
}), E = /* @__PURE__ */ C(N, [["__scopeId", "data-v-40e43c08"]]);
|
|
64
|
-
export {
|
|
65
|
-
E as default
|
|
66
|
-
};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { defineComponent as l, computed as t, openBlock as s, createBlock as i, mergeProps as p } from "vue";
|
|
2
|
-
import { R as d } from "./ResourceControlBase-CX97xRiy.js";
|
|
3
|
-
const g = /* @__PURE__ */ l({
|
|
4
|
-
__name: "TeamResourceControl",
|
|
5
|
-
props: {
|
|
6
|
-
control: {},
|
|
7
|
-
handleChange: { type: Function },
|
|
8
|
-
changeValue: { type: Function },
|
|
9
|
-
disabled: { type: Boolean },
|
|
10
|
-
error: { type: Boolean },
|
|
11
|
-
subText: {},
|
|
12
|
-
onRegisterValidation: { type: Function },
|
|
13
|
-
labelForId: {}
|
|
14
|
-
},
|
|
15
|
-
setup(e) {
|
|
16
|
-
const o = e, n = t(
|
|
17
|
-
() => o.control.uischema.options?.donutTitle || ""
|
|
18
|
-
), r = t(
|
|
19
|
-
() => o.control.uischema.options?.donutText || ""
|
|
20
|
-
), c = t(
|
|
21
|
-
() => o.control.uischema.options?.currentUsage ?? 0
|
|
22
|
-
), a = t(
|
|
23
|
-
() => o.control.data === -1 ? "unlimited" : o.control.data
|
|
24
|
-
), u = t(
|
|
25
|
-
() => `${c.value} of ${a.value} ${r.value}`.trim()
|
|
26
|
-
);
|
|
27
|
-
return (m, h) => (s(), i(d, p(o, {
|
|
28
|
-
"donut-title": n.value,
|
|
29
|
-
"donut-description": u.value
|
|
30
|
-
}), null, 16, ["donut-title", "donut-description"]));
|
|
31
|
-
}
|
|
32
|
-
});
|
|
33
|
-
export {
|
|
34
|
-
g as default
|
|
35
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { defineComponent as a, openBlock as o, createBlock as t, unref as l } from "vue";
|
|
2
|
-
import { KdsTextarea as n } from "@knime/kds-components";
|
|
3
|
-
const c = /* @__PURE__ */ a({
|
|
4
|
-
__name: "TextAreaControl",
|
|
5
|
-
props: {
|
|
6
|
-
control: {},
|
|
7
|
-
handleChange: { type: Function },
|
|
8
|
-
changeValue: { type: Function },
|
|
9
|
-
disabled: { type: Boolean },
|
|
10
|
-
error: { type: Boolean },
|
|
11
|
-
subText: {},
|
|
12
|
-
onRegisterValidation: { type: Function },
|
|
13
|
-
labelForId: {}
|
|
14
|
-
},
|
|
15
|
-
setup(e) {
|
|
16
|
-
return (r, d) => (o(), t(l(n), {
|
|
17
|
-
id: e.labelForId,
|
|
18
|
-
ariaLabel: e.control.label,
|
|
19
|
-
"model-value": e.control.data,
|
|
20
|
-
disabled: e.disabled,
|
|
21
|
-
rows: e.control.uischema.options?.rows,
|
|
22
|
-
error: e.error,
|
|
23
|
-
"sub-text": e.subText,
|
|
24
|
-
"onUpdate:modelValue": e.changeValue
|
|
25
|
-
}, null, 8, ["id", "ariaLabel", "model-value", "disabled", "rows", "error", "sub-text", "onUpdate:modelValue"]));
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
export {
|
|
29
|
-
c as default
|
|
30
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { defineComponent as p, computed as i, useTemplateRef as h, openBlock as b, createBlock as f, unref as l } from "vue";
|
|
2
|
-
import { KdsTextInput as x } from "@knime/kds-components";
|
|
3
|
-
import { u as F } from "./useBuiltinValidations-_4IBMopQ.js";
|
|
4
|
-
import { u } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js";
|
|
5
|
-
const B = /* @__PURE__ */ p({
|
|
6
|
-
__name: "TextControl",
|
|
7
|
-
props: {
|
|
8
|
-
control: {},
|
|
9
|
-
handleChange: { type: Function },
|
|
10
|
-
changeValue: { type: Function },
|
|
11
|
-
disabled: { type: Boolean },
|
|
12
|
-
error: { type: Boolean },
|
|
13
|
-
subText: {},
|
|
14
|
-
onRegisterValidation: { type: Function },
|
|
15
|
-
labelForId: {}
|
|
16
|
-
},
|
|
17
|
-
setup(e, { expose: r }) {
|
|
18
|
-
const a = e;
|
|
19
|
-
F(
|
|
20
|
-
{
|
|
21
|
-
pattern: ({ pattern: t }) => {
|
|
22
|
-
const o = new RegExp(`^(${t})$`);
|
|
23
|
-
return (m) => o.test(m ?? "");
|
|
24
|
-
},
|
|
25
|
-
minLength: ({ minLength: t }) => (o) => (o?.length ?? 0) >= t,
|
|
26
|
-
maxLength: ({ maxLength: t }) => (o) => (o?.length ?? 0) <= t
|
|
27
|
-
},
|
|
28
|
-
a
|
|
29
|
-
);
|
|
30
|
-
const n = i(() => a.control.uischema), d = u(n, "placeholder", ""), c = u(n, "suggestions"), g = i(
|
|
31
|
-
() => n.value?.options?.suggestionsTitle || "Suggestions"
|
|
32
|
-
), s = h("inputField");
|
|
33
|
-
return r({
|
|
34
|
-
focus: () => s.value?.focus()
|
|
35
|
-
}), (t, o) => (b(), f(l(x), {
|
|
36
|
-
id: e.labelForId,
|
|
37
|
-
ref_key: "inputField",
|
|
38
|
-
ref: s,
|
|
39
|
-
ariaLabel: e.control.label,
|
|
40
|
-
placeholder: l(d),
|
|
41
|
-
"model-value": e.control.data ?? "",
|
|
42
|
-
disabled: e.disabled,
|
|
43
|
-
error: e.error,
|
|
44
|
-
"sub-text": e.subText,
|
|
45
|
-
suggestions: l(c) ?? void 0,
|
|
46
|
-
"suggestions-headline": g.value,
|
|
47
|
-
"onUpdate:modelValue": e.changeValue
|
|
48
|
-
}, null, 8, ["id", "ariaLabel", "placeholder", "model-value", "disabled", "error", "sub-text", "suggestions", "suggestions-headline", "onUpdate:modelValue"]));
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
export {
|
|
52
|
-
B as _
|
|
53
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { defineComponent as x, computed as u, ref as U, openBlock as V, createBlock as v, unref as F } from "vue";
|
|
2
|
-
import { T as c } from "./index-_VUHzju5.js";
|
|
3
|
-
import { KdsTimeInput as G } from "@knime/kds-components";
|
|
4
|
-
import { p as m } from "./plainDateTimeUtils-BZSKqp9i.js";
|
|
5
|
-
const D = /* @__PURE__ */ x({
|
|
6
|
-
__name: "TimeControl",
|
|
7
|
-
props: {
|
|
8
|
-
control: {},
|
|
9
|
-
handleChange: { type: Function },
|
|
10
|
-
changeValue: { type: Function },
|
|
11
|
-
disabled: { type: Boolean },
|
|
12
|
-
error: { type: Boolean },
|
|
13
|
-
subText: {},
|
|
14
|
-
onRegisterValidation: { type: Function },
|
|
15
|
-
labelForId: {}
|
|
16
|
-
},
|
|
17
|
-
setup(n) {
|
|
18
|
-
const r = n, f = u(() => r.control.uischema.options), p = u(
|
|
19
|
-
() => m.getMaxGranularity(f.value)
|
|
20
|
-
), y = (t) => {
|
|
21
|
-
if (!t)
|
|
22
|
-
return null;
|
|
23
|
-
if (/(Z|[+-]\d{2}:?\d{2})$/.test(t))
|
|
24
|
-
try {
|
|
25
|
-
return c.Instant.from(t).toZonedDateTimeISO("UTC").toPlainTime();
|
|
26
|
-
} catch {
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
try {
|
|
30
|
-
return c.PlainTime.from(t);
|
|
31
|
-
} catch {
|
|
32
|
-
try {
|
|
33
|
-
return c.PlainDateTime.from(t).toPlainTime();
|
|
34
|
-
} catch {
|
|
35
|
-
return null;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}, g = (t, e) => t === null ? "" : e === "minute" ? t.toString({ smallestUnit: "minute" }) : e === "second" ? t.toString({ smallestUnit: "second" }) : t.toString({ fractionalSecondDigits: 3 }), s = u(
|
|
39
|
-
() => y(r.control.data)
|
|
40
|
-
), o = U(
|
|
41
|
-
m.detectGranularity(r.control.data)
|
|
42
|
-
);
|
|
43
|
-
let a, l, i = !1;
|
|
44
|
-
const T = () => {
|
|
45
|
-
i = !1;
|
|
46
|
-
const t = a === void 0 ? s.value : a, e = l ?? o.value;
|
|
47
|
-
a = void 0, l = void 0, o.value = e, r.changeValue(g(t, e));
|
|
48
|
-
}, d = () => {
|
|
49
|
-
i || (i = !0, queueMicrotask(T));
|
|
50
|
-
}, b = (t) => {
|
|
51
|
-
a = t, d();
|
|
52
|
-
}, h = (t) => {
|
|
53
|
-
l = t, d();
|
|
54
|
-
};
|
|
55
|
-
return (t, e) => (V(), v(F(G), {
|
|
56
|
-
id: n.labelForId,
|
|
57
|
-
"model-value": s.value,
|
|
58
|
-
granularity: o.value,
|
|
59
|
-
ariaLabel: r.control.label,
|
|
60
|
-
"max-granularity": p.value,
|
|
61
|
-
disabled: n.disabled,
|
|
62
|
-
error: n.error,
|
|
63
|
-
"sub-text": n.subText,
|
|
64
|
-
"onUpdate:modelValue": b,
|
|
65
|
-
"onUpdate:granularity": h
|
|
66
|
-
}, null, 8, ["id", "model-value", "granularity", "ariaLabel", "max-granularity", "disabled", "error", "sub-text"]));
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
export {
|
|
70
|
-
D as default
|
|
71
|
-
};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { defineComponent as v, computed as m, openBlock as g, createElementBlock as y, createVNode as d, unref as s } from "vue";
|
|
2
|
-
import { T as b } from "./index-_VUHzju5.js";
|
|
3
|
-
import { KdsTimeInput as u } from "@knime/kds-components";
|
|
4
|
-
import { _ as h } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js";
|
|
5
|
-
const x = { class: "timeframe" }, V = /* @__PURE__ */ v({
|
|
6
|
-
__name: "TimeframesControl",
|
|
7
|
-
props: {
|
|
8
|
-
control: {},
|
|
9
|
-
handleChange: { type: Function },
|
|
10
|
-
changeValue: { type: Function },
|
|
11
|
-
disabled: { type: Boolean },
|
|
12
|
-
error: { type: Boolean },
|
|
13
|
-
subText: {},
|
|
14
|
-
onRegisterValidation: { type: Function },
|
|
15
|
-
labelForId: {}
|
|
16
|
-
},
|
|
17
|
-
setup(c) {
|
|
18
|
-
const n = c, a = (e) => String(e).padStart(2, "0"), r = (e) => {
|
|
19
|
-
try {
|
|
20
|
-
return b.PlainTime.from(e);
|
|
21
|
-
} catch {
|
|
22
|
-
return null;
|
|
23
|
-
}
|
|
24
|
-
}, i = m(
|
|
25
|
-
() => r(n.control.data?.start ?? "00:00:00")
|
|
26
|
-
), p = m(
|
|
27
|
-
() => r(n.control.data?.end ?? "00:00:00")
|
|
28
|
-
), l = (e, t) => {
|
|
29
|
-
const o = t === "end" ? "59" : "00", f = e ? a(e.hour) : "00", T = e ? a(e.minute) : "00", _ = {
|
|
30
|
-
...n.control.data,
|
|
31
|
-
[t]: `${f}:${T}:${o}`
|
|
32
|
-
};
|
|
33
|
-
n.changeValue(_);
|
|
34
|
-
};
|
|
35
|
-
return (e, t) => (g(), y("div", x, [
|
|
36
|
-
d(s(u), {
|
|
37
|
-
label: "Between",
|
|
38
|
-
"max-granularity": "minute",
|
|
39
|
-
"model-value": i.value,
|
|
40
|
-
"onUpdate:modelValue": t[0] || (t[0] = (o) => l(o, "start"))
|
|
41
|
-
}, null, 8, ["model-value"]),
|
|
42
|
-
d(s(u), {
|
|
43
|
-
label: "and",
|
|
44
|
-
"max-granularity": "minute",
|
|
45
|
-
"model-value": p.value,
|
|
46
|
-
"onUpdate:modelValue": t[1] || (t[1] = (o) => l(o, "end"))
|
|
47
|
-
}, null, 8, ["model-value"])
|
|
48
|
-
]));
|
|
49
|
-
}
|
|
50
|
-
}), U = /* @__PURE__ */ h(V, [["__scopeId", "data-v-f38723b8"]]);
|
|
51
|
-
export {
|
|
52
|
-
U as default
|
|
53
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { defineComponent as c, toRef as r, computed as t, openBlock as b, createBlock as m, unref as n } from "vue";
|
|
2
|
-
import { KdsTwinList as x } from "@knime/kds-components";
|
|
3
|
-
import { a as y } from "./usePossibleValues-CXVLf00v.js";
|
|
4
|
-
import { t as p } from "./toKdsPossibleValues-BklBg3gG.js";
|
|
5
|
-
const L = /* @__PURE__ */ c({
|
|
6
|
-
__name: "TwinlistControlBase",
|
|
7
|
-
props: {
|
|
8
|
-
control: {},
|
|
9
|
-
handleChange: { type: Function },
|
|
10
|
-
changeValue: { type: Function },
|
|
11
|
-
disabled: { type: Boolean },
|
|
12
|
-
error: { type: Boolean },
|
|
13
|
-
subText: {},
|
|
14
|
-
onRegisterValidation: { type: Function },
|
|
15
|
-
labelForId: {},
|
|
16
|
-
possibleValues: {}
|
|
17
|
-
},
|
|
18
|
-
setup(e) {
|
|
19
|
-
const a = e, { includedLabel: u, excludedLabel: s } = y(
|
|
20
|
-
r(a, "control")
|
|
21
|
-
), d = t(
|
|
22
|
-
() => p(a.possibleValues ?? [])
|
|
23
|
-
), i = t(() => {
|
|
24
|
-
const o = new Set(a.control.data ?? []);
|
|
25
|
-
return d.value.filter((l) => !o.has(l.id)).map((l) => l.id);
|
|
26
|
-
});
|
|
27
|
-
return (o, l) => (b(), m(n(x), {
|
|
28
|
-
id: e.labelForId,
|
|
29
|
-
ariaLabel: e.control.label,
|
|
30
|
-
disabled: e.disabled,
|
|
31
|
-
error: e.error,
|
|
32
|
-
"sub-text": e.subText,
|
|
33
|
-
"manually-included": e.control.data ?? [],
|
|
34
|
-
"manually-excluded": i.value,
|
|
35
|
-
"possible-values": d.value,
|
|
36
|
-
loading: e.possibleValues === null,
|
|
37
|
-
"exclude-label": n(s),
|
|
38
|
-
"include-label": n(u),
|
|
39
|
-
"onUpdate:manuallyIncluded": e.changeValue
|
|
40
|
-
}, null, 8, ["id", "ariaLabel", "disabled", "error", "sub-text", "manually-included", "manually-excluded", "possible-values", "loading", "exclude-label", "include-label", "onUpdate:manuallyIncluded"]));
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
export {
|
|
44
|
-
L as _
|
|
45
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { defineComponent as a, computed as l, openBlock as p, createBlock as r, mergeProps as s } from "vue";
|
|
2
|
-
import { _ as u } from "./MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CHcU__0y.js";
|
|
3
|
-
const y = /* @__PURE__ */ a({
|
|
4
|
-
__name: "TypedStringFilter",
|
|
5
|
-
props: {
|
|
6
|
-
control: {},
|
|
7
|
-
handleChange: { type: Function },
|
|
8
|
-
changeValue: { type: Function },
|
|
9
|
-
disabled: { type: Boolean },
|
|
10
|
-
error: { type: Boolean },
|
|
11
|
-
subText: {},
|
|
12
|
-
onRegisterValidation: { type: Function },
|
|
13
|
-
labelForId: {}
|
|
14
|
-
},
|
|
15
|
-
setup(o) {
|
|
16
|
-
const n = o, e = l(() => n.control.uischema.options);
|
|
17
|
-
return (t, i) => (p(), r(u, s({ ...t.$props, ...t.$attrs }, {
|
|
18
|
-
"show-unknown-values": "",
|
|
19
|
-
"unknown-values-text": e.value.unknownValuesText,
|
|
20
|
-
"empty-state-label": e.value.emptyStateLabel,
|
|
21
|
-
"show-type-filter": !e.value?.hideTypeFilter
|
|
22
|
-
}), null, 16, ["unknown-values-text", "empty-state-label", "show-type-filter"]));
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
export {
|
|
26
|
-
y as default
|
|
27
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as r } from "vue";
|
|
2
|
-
import { _ as a } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-CExBvDXt.js";
|
|
3
|
-
const s = /* @__PURE__ */ o({
|
|
4
|
-
__name: "ValueSwitchControl",
|
|
5
|
-
props: {
|
|
6
|
-
control: {},
|
|
7
|
-
handleChange: { type: Function },
|
|
8
|
-
changeValue: { type: Function },
|
|
9
|
-
disabled: { type: Boolean },
|
|
10
|
-
error: { type: Boolean },
|
|
11
|
-
subText: {},
|
|
12
|
-
onRegisterValidation: { type: Function },
|
|
13
|
-
labelForId: {}
|
|
14
|
-
},
|
|
15
|
-
setup(p) {
|
|
16
|
-
return (e, l) => (n(), t(a, r(e.$props, { type: "valueSwitch" }), null, 16));
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
export {
|
|
20
|
-
s as default
|
|
21
|
-
};
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { defineComponent as r, openBlock as a, createBlock as t, withCtx as c, unref as u } from "vue";
|
|
2
|
-
import { DispatchRenderer as m } from "@jsonforms/vue";
|
|
3
|
-
import { V as o } from "./VerticalLayoutBase-BEDnWcoh.js";
|
|
4
|
-
const f = /* @__PURE__ */ r({
|
|
5
|
-
__name: "VerticalLayout",
|
|
6
|
-
props: {
|
|
7
|
-
layout: {}
|
|
8
|
-
},
|
|
9
|
-
setup(e) {
|
|
10
|
-
return (s, h) => (a(), t(o, {
|
|
11
|
-
elements: e.layout.uischema.elements
|
|
12
|
-
}, {
|
|
13
|
-
default: c(({ element: l, index: n }) => [
|
|
14
|
-
(a(), t(u(m), {
|
|
15
|
-
key: `${e.layout.path}-${n}`,
|
|
16
|
-
schema: e.layout.schema,
|
|
17
|
-
uischema: l,
|
|
18
|
-
path: e.layout.path,
|
|
19
|
-
enabled: e.layout.enabled,
|
|
20
|
-
renderers: e.layout.renderers,
|
|
21
|
-
cells: e.layout.cells
|
|
22
|
-
}, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))
|
|
23
|
-
]),
|
|
24
|
-
_: 1
|
|
25
|
-
}, 8, ["elements"]));
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
export {
|
|
29
|
-
f as default
|
|
30
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, openBlock as t, createElementBlock as r, Fragment as c, renderList as l, renderSlot as _ } from "vue";
|
|
2
|
-
import { _ as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_c79c6b71_lang-Ccuf283K.js";
|
|
3
|
-
const u = { class: "vertical-layout" }, i = /* @__PURE__ */ n({
|
|
4
|
-
__name: "VerticalLayoutBase",
|
|
5
|
-
props: {
|
|
6
|
-
elements: {}
|
|
7
|
-
},
|
|
8
|
-
setup(o) {
|
|
9
|
-
return (a, p) => (t(), r("div", u, [
|
|
10
|
-
(t(!0), r(c, null, l(o.elements, (s, e) => _(a.$slots, "default", {
|
|
11
|
-
key: e,
|
|
12
|
-
element: s,
|
|
13
|
-
index: e
|
|
14
|
-
}, void 0, !0)), 128))
|
|
15
|
-
]));
|
|
16
|
-
}
|
|
17
|
-
}), v = /* @__PURE__ */ m(i, [["__scopeId", "data-v-abc3717c"]]);
|
|
18
|
-
export {
|
|
19
|
-
v as V
|
|
20
|
-
};
|