@knime/jsonforms 1.21.16 → 1.21.17
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 +6 -0
- package/dist/AnyOfTwinlist-SXwBBRp2.js +23 -0
- package/dist/CheckboxControl-CbWn843V.js +40 -0
- package/dist/CheckboxesControl-BiQOMrsp.js +39 -0
- package/dist/{ColorControl-wEr-pQ4g.js → ColorControl-B_mQdOCs.js} +10 -8
- package/dist/{ColorPreviewControl-B7aXaak-.js → ColorPreviewControl-BREwhSO9.js} +28 -28
- package/dist/ComboBoxControl-BIZlnizm.js +39 -0
- package/dist/DateControl-vkwY-8Qy.js +44 -0
- package/dist/DateTimeControl-CtXV6_D2.js +80 -0
- package/dist/DateTimeFormatPickerControl-a7MPaNFN.js +34 -0
- package/dist/{DateTimeFormatPickerWithTypeControl-BVG_BSaN.js → DateTimeFormatPickerWithTypeControl-B9Nu0dh1.js} +18 -17
- package/dist/DropdownControl-BUwovb4K.js +32 -0
- package/dist/{ExecutorCoresControl-Cphh4q2c.js → ExecutorCoresControl-DN-1o1XJ.js} +10 -9
- package/dist/{ExecutorMemoryControl-BQDSkKjf.js → ExecutorMemoryControl-UzqzP4hI.js} +9 -8
- package/dist/{FileUploadControl-CnPXEafs.js → FileUploadControl-WC8TFQHe.js} +46 -45
- package/dist/{GridSelectionControl-093qWj_x.js → GridSelectionControl-BgqT1t9d.js} +24 -23
- package/dist/{HorizontalLayout-D07DfljM.js → HorizontalLayout-CESRA3YR.js} +6 -6
- package/dist/{IntegerControl-D0qSSA_X.js → IntegerControl-DKXN0mcE.js} +5 -4
- package/dist/IntervalControl-BswGPjcV.js +51 -0
- package/dist/LinkControl-DTqOfnTg.js +35 -0
- package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-B4K9Nnse.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-Cic7UEOM.js} +1 -1
- package/dist/ManualTwinlistControl-CoZdPu6n.js +74 -0
- package/dist/{MultiSelectListBoxControl-qdxrfyqT.js → MultiSelectListBoxControl-CjM94miu.js} +53 -52
- package/dist/{MultimodeTwinlistControl-DKNf9s6C.js → MultimodeTwinlistControl-NMnPBn6a.js} +1 -1
- package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-mQFRHgGM.js +159 -0
- package/dist/{NameFilter-DxsfvMYP.js → NameFilter-DuVJG0SF.js} +7 -6
- package/dist/{NumberControl-gRIAl0Xw.js → NumberControl-NMJmxuze.js} +7 -6
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8.js +52 -0
- package/dist/{OneOfDropdown-6EW73QQp.js → OneOfDropdown-CwJemyYo.js} +13 -11
- package/dist/{RadioButtonsWithDescriptionControl-DDdnwXUW.js → RadioButtonsWithDescriptionControl-BK3UCreL.js} +15 -15
- package/dist/{RadioControl-BOGJkSzd.js → RadioControl-ts1-JozG.js} +5 -4
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-jxw_5dVt.js +57 -0
- package/dist/{ResourceControlBase-D-oG-tP4.js → ResourceControlBase-FDiyHyQi.js} +18 -15
- package/dist/{RichTextControl-FgGsWYtG.js → RichTextControl-DH6GqUeF.js} +4 -3
- package/dist/{SectionHeading-xMNeMcnS.js → SectionHeading-DIAFnjCM.js} +1 -1
- package/dist/{SectionLayout-Bo11XVly.js → SectionLayout-Cb3_L9Te.js} +3 -3
- package/dist/{SettingsSubPanel-D_FDP5Zc.js → SettingsSubPanel-BuxORlJO.js} +1 -1
- package/dist/{SettingsSubPanelLayout-Dp_jLbsR.js → SettingsSubPanelLayout-DruWJjQA.js} +4 -4
- package/dist/{SimpleButtonControl-QdWssOCJ.js → SimpleButtonControl-BeRnF6lP.js} +13 -13
- package/dist/{SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js → SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js} +5294 -5346
- package/dist/{SimpleTwinlistControl-CAaKpaUA.js → SimpleTwinlistControl-CnBe4qsI.js} +6 -5
- package/dist/{SingleSelectControl-D7D5AanU.js → SingleSelectControl-C4Qzk2Ki.js} +21 -19
- package/dist/{SingleSelectListBoxControl-XeWCleLY.js → SingleSelectListBoxControl-sLe2Y67h.js} +16 -15
- package/dist/SortListControl-ChpYm3CZ.js +105 -0
- package/dist/{StyledListItem-CjOv-VlL.js → StyledListItem-BJEJoIzr.js} +1 -1
- package/dist/{TeamAndSpacesControl-DFrotXG1.js → TeamAndSpacesControl-7ZXPUwBb.js} +12 -11
- package/dist/{TeamResourceControl-BnBXHcn9.js → TeamResourceControl-BZDXMRLZ.js} +12 -11
- package/dist/{TextAreaControl-9YsuIVg_.js → TextAreaControl-BDGtgWys.js} +10 -8
- package/dist/{TextControl-BrUMvx4G.js → TextControl-8jfyOJKb.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-4BT0xCnX.js → TextControl.vue_vue_type_script_setup_true_lang--8lz3nbO.js} +16 -14
- package/dist/{TimeControl-DvzIDb-2.js → TimeControl-Dvt5U7xN.js} +28 -26
- package/dist/{TimeframesControl-2GAc0ndD.js → TimeframesControl-DcUxC3kX.js} +7 -6
- package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-Chqnf11f.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N.js} +14 -11
- package/dist/{TypedStringFilter-mklK-qwG.js → TypedStringFilter-Cx8OCQcE.js} +5 -4
- package/dist/{ValueSwitchControl-BOUlFthR.js → ValueSwitchControl-1ax1yKbk.js} +6 -5
- package/dist/{VerticalLayout-u04mODMq.js → VerticalLayout-DnyoqTeh.js} +2 -2
- package/dist/{VerticalLayoutBase-rWbtLYJT.js → VerticalLayoutBase-BS5IpgON.js} +2 -2
- package/dist/ZonedDateTimeControl-mIIRwaHz.js +79 -0
- package/dist/{_Uint8Array-S1XaShiS.js → _Uint8Array-CsgDtogS.js} +12 -12
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +41 -42
- package/dist/src/higherOrderComponents/control/index.d.ts +1 -2
- package/dist/src/higherOrderComponents/control/util.d.ts +4 -5
- package/dist/src/higherOrderComponents/control/validation/types.d.ts +2 -2
- package/dist/src/higherOrderComponents/control/withLabel.d.ts +1 -1
- package/dist/src/renderers/checkboxRenderer.d.ts +120 -1
- package/dist/src/renderers/defaultRenderers.d.ts +120 -1
- package/dist/src/renderers/fallbackRenderers.d.ts +120 -1
- package/dist/testing.js +3 -3
- package/dist/{toString-DXjInt1t.js → toString-hCFROtg1.js} +1 -1
- package/dist/{useBuiltinValidations-CFNcCpco.js → useBuiltinValidations-Cfw3JlJf.js} +1 -1
- package/dist/{usePossibleValues-yDswh8Qc.js → usePossibleValues-CtPV4Cjp.js} +1 -1
- package/dist/{useUnknownValuesInTwinlist-BSnLQI_Q.js → useUnknownValuesInTwinlist-BCbqJg7j.js} +1 -1
- package/package.json +1 -1
- package/dist/AnyOfTwinlist-BCIsT83q.js +0 -22
- package/dist/CheckboxControl-CjiUwvWU.js +0 -38
- package/dist/CheckboxesControl-CAHj0UnX.js +0 -37
- package/dist/ComboBoxControl-hveFsDLi.js +0 -37
- package/dist/DateControl-BtCCimuA.js +0 -42
- package/dist/DateTimeControl-Bll2rZlX.js +0 -78
- package/dist/DateTimeFormatPickerControl-CsKD9vWJ.js +0 -32
- package/dist/DropdownControl-DA8lNfVk.js +0 -30
- package/dist/IntervalControl-vOi33CZB.js +0 -48
- package/dist/LinkControl-D5t3awqb.js +0 -35
- package/dist/ManualTwinlistControl-BQ4H-fRR.js +0 -72
- package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-DHx6nrqi.js +0 -157
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-DEG90Gdx.js +0 -50
- package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BOuoChe1.js +0 -52
- package/dist/SortListControl-kjhkdRwC.js +0 -103
- package/dist/ZonedDateTimeControl-BzV5ZuYf.js +0 -77
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +0 -5
- package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +0 -23
- package/dist/src/higherOrderComponents/control/errorMessage/withErrorMessage.d.ts +0 -11
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { defineComponent as v, useAttrs as p, computed as d, ref as f, toRef as h, onMounted as V, openBlock as n, createElementBlock as x, Fragment as y, createBlock as r, unref as l, mergeProps as i, createCommentVNode as g } from "vue";
|
|
2
|
+
import { a4 as B, a5 as F } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
|
|
3
|
+
import { o as k } from "./index-Blg1O3Fz.js";
|
|
4
|
+
import { u as O } from "./usePossibleValues-CtPV4Cjp.js";
|
|
5
|
+
const T = /* @__PURE__ */ v({
|
|
6
|
+
inheritAttrs: !1,
|
|
7
|
+
__name: "RadioControlBase",
|
|
8
|
+
props: {
|
|
9
|
+
control: {},
|
|
10
|
+
handleChange: { type: Function },
|
|
11
|
+
changeValue: { type: Function },
|
|
12
|
+
disabled: { type: Boolean },
|
|
13
|
+
error: { type: Boolean },
|
|
14
|
+
subText: {},
|
|
15
|
+
onRegisterValidation: { type: Function },
|
|
16
|
+
labelForId: {},
|
|
17
|
+
type: {}
|
|
18
|
+
},
|
|
19
|
+
setup(e) {
|
|
20
|
+
const s = p(), t = e, c = d(() => t.control.uischema.options?.radioLayout), m = (a) => ({
|
|
21
|
+
id: a.id,
|
|
22
|
+
text: a.text,
|
|
23
|
+
...a.disabled ? { disabled: !0 } : {}
|
|
24
|
+
}), u = f(null), { possibleValues: b } = O(h(t, "control"), {
|
|
25
|
+
defaultOnNonProvided: null
|
|
26
|
+
}), o = d(
|
|
27
|
+
() => (b.value ?? u.value)?.map(m)
|
|
28
|
+
);
|
|
29
|
+
return V(() => {
|
|
30
|
+
u.value = t.control?.schema?.oneOf ? t.control.schema.oneOf.map(k) : null;
|
|
31
|
+
}), (a, C) => o.value ? (n(), x(y, { key: 0 }, [
|
|
32
|
+
t.type === "valueSwitch" ? (n(), r(l(B), i({ key: 0 }, l(s), {
|
|
33
|
+
id: e.labelForId,
|
|
34
|
+
"possible-values": o.value,
|
|
35
|
+
disabled: e.disabled,
|
|
36
|
+
"model-value": e.control.data,
|
|
37
|
+
error: e.error,
|
|
38
|
+
"sub-text": e.subText,
|
|
39
|
+
size: "small",
|
|
40
|
+
variant: "muted",
|
|
41
|
+
"onUpdate:modelValue": e.changeValue
|
|
42
|
+
}), null, 16, ["id", "possible-values", "disabled", "model-value", "error", "sub-text", "onUpdate:modelValue"])) : (n(), r(l(F), i({ key: 1 }, l(s), {
|
|
43
|
+
id: e.labelForId,
|
|
44
|
+
"possible-values": o.value,
|
|
45
|
+
alignment: c.value,
|
|
46
|
+
disabled: e.disabled,
|
|
47
|
+
"model-value": e.control.data,
|
|
48
|
+
error: e.error,
|
|
49
|
+
"sub-text": e.subText,
|
|
50
|
+
"onUpdate:modelValue": e.changeValue
|
|
51
|
+
}), null, 16, ["id", "possible-values", "alignment", "disabled", "model-value", "error", "sub-text", "onUpdate:modelValue"]))
|
|
52
|
+
], 64)) : g("", !0);
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
T as _
|
|
57
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { openBlock as a, createElementBlock as l, renderSlot as V, toDisplayString as g, createCommentVNode as m, defineComponent as C, computed as t, createBlock as D, resolveDynamicComponent as
|
|
2
|
-
import { _ as p,
|
|
1
|
+
import { openBlock as a, createElementBlock as l, renderSlot as V, toDisplayString as g, createCommentVNode as m, defineComponent as C, computed as t, createBlock as D, resolveDynamicComponent as T, withCtx as B, createVNode as r, unref as d } from "vue";
|
|
2
|
+
import { _ as p, W as $, X as k } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
|
|
3
3
|
const I = {
|
|
4
4
|
name: "Tooltip",
|
|
5
5
|
props: {
|
|
@@ -30,7 +30,8 @@ const R = /* @__PURE__ */ p(I, [["render", M], ["__scopeId", "data-v-64e1cb84"]]
|
|
|
30
30
|
handleChange: { type: Function },
|
|
31
31
|
changeValue: { type: Function },
|
|
32
32
|
disabled: { type: Boolean },
|
|
33
|
-
|
|
33
|
+
error: { type: Boolean },
|
|
34
|
+
subText: {},
|
|
34
35
|
onRegisterValidation: { type: Function },
|
|
35
36
|
labelForId: {}
|
|
36
37
|
},
|
|
@@ -46,31 +47,33 @@ const R = /* @__PURE__ */ p(I, [["render", M], ["__scopeId", "data-v-64e1cb84"]]
|
|
|
46
47
|
() => n.value ? e.control.data : e.control.uischema.options?.donutMax ?? e.control.schema.maximum ?? 1 / 0
|
|
47
48
|
), u = t(
|
|
48
49
|
() => e.control.uischema.options?.disabledTooltip || ""
|
|
49
|
-
), v = t(() => e.disabled && u.value ? R : "div"),
|
|
50
|
+
), v = t(() => e.disabled && u.value ? R : "div"), x = t(() => e.control.uischema.options?.animate ?? !0), h = t(
|
|
50
51
|
() => e.control.uischema.options?.showDonut ?? !0
|
|
51
|
-
),
|
|
52
|
+
), b = t(() => e.control.schema.minimum ?? 0), f = t(() => e.control.schema.maximum ?? 1 / 0), y = t(() => e.control.uischema.options?.step ?? 1), _ = t(() => e.control.uischema.options?.unit ?? "");
|
|
52
53
|
return (L, N) => (a(), l("div", null, [
|
|
53
|
-
(a(), D(
|
|
54
|
+
(a(), D(T(v.value), {
|
|
54
55
|
text: u.value,
|
|
55
56
|
class: "input-wrapper"
|
|
56
57
|
}, {
|
|
57
|
-
default:
|
|
58
|
+
default: B(() => [
|
|
58
59
|
r(d($), {
|
|
59
60
|
ariaLabel: o.control.label,
|
|
60
61
|
"model-value": o.control.data,
|
|
61
|
-
min:
|
|
62
|
-
max:
|
|
63
|
-
step:
|
|
64
|
-
unit:
|
|
62
|
+
min: b.value,
|
|
63
|
+
max: f.value,
|
|
64
|
+
step: y.value,
|
|
65
|
+
unit: _.value,
|
|
65
66
|
disabled: o.disabled,
|
|
67
|
+
error: o.error,
|
|
68
|
+
"sub-text": o.subText,
|
|
66
69
|
"onUpdate:modelValue": o.changeValue
|
|
67
|
-
}, null, 8, ["ariaLabel", "model-value", "min", "max", "step", "unit", "disabled", "onUpdate:modelValue"]),
|
|
68
|
-
|
|
70
|
+
}, null, 8, ["ariaLabel", "model-value", "min", "max", "step", "unit", "disabled", "error", "sub-text", "onUpdate:modelValue"]),
|
|
71
|
+
h.value ? (a(), l("div", U, [
|
|
69
72
|
r(d(k), {
|
|
70
73
|
value: s.value,
|
|
71
74
|
"secondary-value": c.value,
|
|
72
75
|
"max-value": i.value,
|
|
73
|
-
animate:
|
|
76
|
+
animate: x.value,
|
|
74
77
|
title: o.donutTitle,
|
|
75
78
|
"sub-text": o.donutDescription
|
|
76
79
|
}, null, 8, ["value", "secondary-value", "max-value", "animate", "title", "sub-text"])
|
|
@@ -80,7 +83,7 @@ const R = /* @__PURE__ */ p(I, [["render", M], ["__scopeId", "data-v-64e1cb84"]]
|
|
|
80
83
|
}, 8, ["text"]))
|
|
81
84
|
]));
|
|
82
85
|
}
|
|
83
|
-
}), E = /* @__PURE__ */ p(S, [["__scopeId", "data-v-
|
|
86
|
+
}), E = /* @__PURE__ */ p(S, [["__scopeId", "data-v-4ee63019"]]);
|
|
84
87
|
export {
|
|
85
88
|
E as R
|
|
86
89
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as ue, resolveComponent as Vt, openBlock as A, createBlock as re, normalizeClass as Ae, withCtx as Y, renderSlot as xe, createElementBlock as F, createElementVNode as P, Transition as gs, withModifiers as Vn, createVNode as se, createCommentVNode as ne, toDisplayString as jt, useCssVars as zc, watch as yn, unref as W, onUnmounted as Hc, ref as Q, Fragment as jr, createTextVNode as Nf, resolveDynamicComponent as ys, mergeProps as Xn, toRef as Bo, onBeforeUpdate as Df, computed as Me, normalizeStyle as bs, renderList as Vc, nextTick as yo, toRefs as jc, inject as If, Teleport as Rf, withDirectives as Wc, vShow as Kc, shallowRef as Lf, onMounted as Wr, onBeforeUnmount as bo, h as Kr, getCurrentInstance as Pf, watchEffect as Bf, markRaw as $f, customRef as Ff, withKeys as zf, useSlots as Hf, toHandlers as Uc } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { a7 as Vf, _ as Ie, a8 as Qs, a9 as $o, aa as jf, ab as _l, ac as Wf, ad as ql, ae as Kf, af as or, ag as Uf, ah as _f, ai as Jl, aj as qf, ak as Jf, Q as Gf, al as Gl } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
|
|
3
3
|
import { F as Yf, a as _c, b as qc, f as Jc, u as Xf, s as Qf } from "./useDropdownNavigation-CdrbT-CQ.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { N as Zf } from "./arrow-next-BQULX8HT.js";
|
|
6
|
-
import { t as eh } from "./toString-
|
|
6
|
+
import { t as eh } from "./toString-hCFROtg1.js";
|
|
7
7
|
const th = ue({
|
|
8
8
|
name: "Button",
|
|
9
9
|
components: {
|
|
@@ -19063,7 +19063,8 @@ const ox = { render: ix }, sx = ({
|
|
|
19063
19063
|
handleChange: { type: Function },
|
|
19064
19064
|
changeValue: { type: Function },
|
|
19065
19065
|
disabled: { type: Boolean },
|
|
19066
|
-
|
|
19066
|
+
error: { type: Boolean },
|
|
19067
|
+
subText: {},
|
|
19067
19068
|
onRegisterValidation: { type: Function },
|
|
19068
19069
|
labelForId: {}
|
|
19069
19070
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as n, openBlock as s, createElementBlock as i, createElementVNode as e, toDisplayString as r, renderSlot as c } from "vue";
|
|
2
|
-
import { _ as a } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
2
|
+
import { _ as a } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
|
|
3
3
|
const d = { class: "section-header" }, l = { class: "section-header-layout-container" }, _ = /* @__PURE__ */ n({
|
|
4
4
|
__name: "SectionHeading",
|
|
5
5
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as c, ref as i, openBlock as o, createElementBlock as m, createVNode as n, withCtx as s, renderSlot as d, createBlock as f, unref as y } from "vue";
|
|
2
|
-
import { a as h, _ as v } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
3
|
-
import { V as b } from "./VerticalLayoutBase-
|
|
4
|
-
import { S as $ } from "./SectionHeading-
|
|
2
|
+
import { a as h, _ as v } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
|
|
3
|
+
import { V as b } from "./VerticalLayoutBase-BS5IpgON.js";
|
|
4
|
+
import { S as $ } from "./SectionHeading-DIAFnjCM.js";
|
|
5
5
|
const x = /* @__PURE__ */ c({
|
|
6
6
|
__name: "SectionLayout",
|
|
7
7
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as a, D as s } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-
|
|
1
|
+
import { _ as a, D as s } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
|
|
2
2
|
const _ = /* @__PURE__ */ a(s, [["__scopeId", "data-v-25eac96f"]]);
|
|
3
3
|
export {
|
|
4
4
|
_ as S
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as h, computed as s, ref as y, openBlock as c, createElementBlock as k, createVNode as a, withCtx as o, createBlock as p, unref as u, createElementVNode as i, renderSlot as S, toDisplayString as g } from "vue";
|
|
2
|
-
import { a as x,
|
|
2
|
+
import { a as x, a8 as B, _ as $ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
|
|
3
3
|
import { N as L } from "./arrow-next-BQULX8HT.js";
|
|
4
|
-
import { V as w } from "./VerticalLayoutBase-
|
|
5
|
-
import { S as C } from "./SectionHeading-
|
|
6
|
-
import { S as N } from "./SettingsSubPanel-
|
|
4
|
+
import { V as w } from "./VerticalLayoutBase-BS5IpgON.js";
|
|
5
|
+
import { S as C } from "./SectionHeading-DIAFnjCM.js";
|
|
6
|
+
import { S as N } from "./SettingsSubPanel-BuxORlJO.js";
|
|
7
7
|
const V = { class: "flex-row" }, P = /* @__PURE__ */ h({
|
|
8
8
|
__name: "SettingsSubPanelLayout",
|
|
9
9
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as h, computed as e, ref as
|
|
2
|
-
import { u as I, A as O, B as S, _ as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as h, computed as e, ref as c, watch as B, openBlock as F, createElementBlock as C, createVNode as _, unref as y, renderSlot as k } from "vue";
|
|
2
|
+
import { u as I, A as O, B as S, _ as $ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
|
|
3
|
+
const x = /* @__PURE__ */ h({
|
|
4
4
|
__name: "SimpleButtonControl",
|
|
5
5
|
props: {
|
|
6
6
|
control: {},
|
|
@@ -8,12 +8,12 @@ const $ = /* @__PURE__ */ h({
|
|
|
8
8
|
changeValue: { type: Function },
|
|
9
9
|
disabled: { type: Boolean },
|
|
10
10
|
labelForId: {},
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
error: { type: Boolean },
|
|
12
|
+
subText: {},
|
|
13
13
|
onRegisterValidation: { type: Function }
|
|
14
14
|
},
|
|
15
15
|
setup(a) {
|
|
16
|
-
const o = a,
|
|
16
|
+
const o = a, d = e(() => !o.control.enabled), r = o.control.uischema.providedOptions, t = c(!1), l = e(
|
|
17
17
|
() => o.control.uischema
|
|
18
18
|
), u = r && r.includes("runFinished");
|
|
19
19
|
if (u) {
|
|
@@ -22,15 +22,15 @@ const $ = /* @__PURE__ */ h({
|
|
|
22
22
|
t.value = !1;
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
const p = e(() =>
|
|
25
|
+
const p = e(() => d.value || t.value), v = e(() => l.value.options.triggerId), m = e(
|
|
26
26
|
() => l.value.options.icon
|
|
27
|
-
), f = O("trigger"),
|
|
27
|
+
), f = O("trigger"), b = () => {
|
|
28
28
|
u && (t.value = !0), f({ id: v.value });
|
|
29
|
-
}, i =
|
|
29
|
+
}, i = c(!1);
|
|
30
30
|
return (s, n) => (F(), C("div", {
|
|
31
31
|
class: "simple-button-input",
|
|
32
|
-
onMouseenter: n[0] || (n[0] = (
|
|
33
|
-
onMouseleave: n[1] || (n[1] = (
|
|
32
|
+
onMouseenter: n[0] || (n[0] = (g) => i.value = !0),
|
|
33
|
+
onMouseleave: n[1] || (n[1] = (g) => i.value = !1)
|
|
34
34
|
}, [
|
|
35
35
|
_(y(S), {
|
|
36
36
|
variant: "outlined",
|
|
@@ -39,12 +39,12 @@ const $ = /* @__PURE__ */ h({
|
|
|
39
39
|
class: "button-input",
|
|
40
40
|
label: a.control.label,
|
|
41
41
|
"leading-icon": m.value,
|
|
42
|
-
onClick:
|
|
42
|
+
onClick: b
|
|
43
43
|
}, null, 8, ["disabled", "label", "leading-icon"]),
|
|
44
44
|
k(s.$slots, "buttons", { hover: i.value }, void 0, !0)
|
|
45
45
|
], 32));
|
|
46
46
|
}
|
|
47
|
-
}), R = /* @__PURE__ */
|
|
47
|
+
}), R = /* @__PURE__ */ $(x, [["__scopeId", "data-v-17a4a240"]]);
|
|
48
48
|
export {
|
|
49
49
|
R as default
|
|
50
50
|
};
|