@knime/jsonforms 1.21.15 → 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.
Files changed (93) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/AnyOfTwinlist-SXwBBRp2.js +23 -0
  3. package/dist/CheckboxControl-CbWn843V.js +40 -0
  4. package/dist/CheckboxesControl-BiQOMrsp.js +39 -0
  5. package/dist/{ColorControl-CpBVJh38.js → ColorControl-B_mQdOCs.js} +10 -8
  6. package/dist/{ColorPreviewControl-0VK3OqwY.js → ColorPreviewControl-BREwhSO9.js} +28 -28
  7. package/dist/ComboBoxControl-BIZlnizm.js +39 -0
  8. package/dist/DateControl-vkwY-8Qy.js +44 -0
  9. package/dist/DateTimeControl-CtXV6_D2.js +80 -0
  10. package/dist/DateTimeFormatPickerControl-a7MPaNFN.js +34 -0
  11. package/dist/{DateTimeFormatPickerWithTypeControl-CodEVQG_.js → DateTimeFormatPickerWithTypeControl-B9Nu0dh1.js} +18 -17
  12. package/dist/DropdownControl-BUwovb4K.js +32 -0
  13. package/dist/{ExecutorCoresControl-CvCVcaHM.js → ExecutorCoresControl-DN-1o1XJ.js} +10 -9
  14. package/dist/{ExecutorMemoryControl-CpbVJNq4.js → ExecutorMemoryControl-UzqzP4hI.js} +9 -8
  15. package/dist/{FileUploadControl-CNUi9QfR.js → FileUploadControl-WC8TFQHe.js} +46 -45
  16. package/dist/{GridSelectionControl-HV2yNE4R.js → GridSelectionControl-BgqT1t9d.js} +24 -23
  17. package/dist/{HorizontalLayout-Cqf3hzxv.js → HorizontalLayout-CESRA3YR.js} +6 -6
  18. package/dist/{IntegerControl-Ba5QkLCa.js → IntegerControl-DKXN0mcE.js} +5 -4
  19. package/dist/IntervalControl-BswGPjcV.js +51 -0
  20. package/dist/LinkControl-DTqOfnTg.js +35 -0
  21. package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-Cir2ym2M.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-Cic7UEOM.js} +1 -1
  22. package/dist/ManualTwinlistControl-CoZdPu6n.js +74 -0
  23. package/dist/{MultiSelectListBoxControl-DcWDraNF.js → MultiSelectListBoxControl-CjM94miu.js} +53 -52
  24. package/dist/{MultimodeTwinlistControl-B-rEhgKQ.js → MultimodeTwinlistControl-NMnPBn6a.js} +1 -1
  25. package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-mQFRHgGM.js +159 -0
  26. package/dist/{NameFilter-BFKNf9cO.js → NameFilter-DuVJG0SF.js} +7 -6
  27. package/dist/{NumberControl-BAxGZy_4.js → NumberControl-NMJmxuze.js} +7 -6
  28. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8.js +52 -0
  29. package/dist/{OneOfDropdown-DcetHKT5.js → OneOfDropdown-CwJemyYo.js} +13 -11
  30. package/dist/{RadioButtonsWithDescriptionControl-pZ0gJ6iz.js → RadioButtonsWithDescriptionControl-BK3UCreL.js} +15 -15
  31. package/dist/{RadioControl-B8-nxddP.js → RadioControl-ts1-JozG.js} +5 -4
  32. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-jxw_5dVt.js +57 -0
  33. package/dist/{ResourceControlBase-ZMTuwwL2.js → ResourceControlBase-FDiyHyQi.js} +18 -15
  34. package/dist/{RichTextControl-kptCYz2A.js → RichTextControl-DH6GqUeF.js} +4 -3
  35. package/dist/{SectionHeading-MlqCj5BS.js → SectionHeading-DIAFnjCM.js} +1 -1
  36. package/dist/{SectionLayout-nV1GnghP.js → SectionLayout-Cb3_L9Te.js} +3 -3
  37. package/dist/{SettingsSubPanel-Z6urYwz1.js → SettingsSubPanel-BuxORlJO.js} +1 -1
  38. package/dist/{SettingsSubPanelLayout-BNMJbUsL.js → SettingsSubPanelLayout-DruWJjQA.js} +4 -4
  39. package/dist/{SimpleButtonControl-DZFYl2H3.js → SimpleButtonControl-BeRnF6lP.js} +13 -13
  40. package/dist/{SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js → SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js} +5294 -5346
  41. package/dist/{SimpleTwinlistControl-Ds2BQOoO.js → SimpleTwinlistControl-CnBe4qsI.js} +6 -5
  42. package/dist/{SingleSelectControl-CLv_Mah-.js → SingleSelectControl-C4Qzk2Ki.js} +21 -19
  43. package/dist/{SingleSelectListBoxControl-DM_5t3Nv.js → SingleSelectListBoxControl-sLe2Y67h.js} +16 -15
  44. package/dist/SortListControl-ChpYm3CZ.js +105 -0
  45. package/dist/{StyledListItem-D3NbpWl3.js → StyledListItem-BJEJoIzr.js} +1 -1
  46. package/dist/{TeamAndSpacesControl-A8mWrSE4.js → TeamAndSpacesControl-7ZXPUwBb.js} +12 -11
  47. package/dist/{TeamResourceControl-CAgwzjRZ.js → TeamResourceControl-BZDXMRLZ.js} +12 -11
  48. package/dist/{TextAreaControl-DRBGqA7a.js → TextAreaControl-BDGtgWys.js} +10 -8
  49. package/dist/{TextControl--Tw-AE3y.js → TextControl-8jfyOJKb.js} +1 -1
  50. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-PdbUWJUv.js → TextControl.vue_vue_type_script_setup_true_lang--8lz3nbO.js} +16 -14
  51. package/dist/{TimeControl-D_hEPt2Z.js → TimeControl-Dvt5U7xN.js} +28 -26
  52. package/dist/{TimeframesControl-EKcriaC8.js → TimeframesControl-DcUxC3kX.js} +7 -6
  53. package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-BRq0ANwm.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N.js} +14 -11
  54. package/dist/{TypedStringFilter-UUuSnJNk.js → TypedStringFilter-Cx8OCQcE.js} +5 -4
  55. package/dist/{ValueSwitchControl-BwERUIyr.js → ValueSwitchControl-1ax1yKbk.js} +6 -5
  56. package/dist/{VerticalLayout-BET3pZ_K.js → VerticalLayout-DnyoqTeh.js} +2 -2
  57. package/dist/{VerticalLayoutBase-HYtDwVLA.js → VerticalLayoutBase-BS5IpgON.js} +2 -2
  58. package/dist/ZonedDateTimeControl-mIIRwaHz.js +79 -0
  59. package/dist/{_Uint8Array-DJimCh8a.js → _Uint8Array-CsgDtogS.js} +12 -12
  60. package/dist/knime-jsonforms.css +1 -1
  61. package/dist/knime-jsonforms.js +41 -42
  62. package/dist/src/higherOrderComponents/control/index.d.ts +1 -2
  63. package/dist/src/higherOrderComponents/control/util.d.ts +4 -5
  64. package/dist/src/higherOrderComponents/control/validation/types.d.ts +2 -2
  65. package/dist/src/higherOrderComponents/control/withLabel.d.ts +1 -1
  66. package/dist/src/renderers/checkboxRenderer.d.ts +120 -1
  67. package/dist/src/renderers/defaultRenderers.d.ts +120 -1
  68. package/dist/src/renderers/fallbackRenderers.d.ts +120 -1
  69. package/dist/testing.js +3 -3
  70. package/dist/{toString-B8vqfiDe.js → toString-hCFROtg1.js} +1 -1
  71. package/dist/{useBuiltinValidations-CzYsm8oq.js → useBuiltinValidations-Cfw3JlJf.js} +1 -1
  72. package/dist/{usePossibleValues-CGt7yrJ6.js → usePossibleValues-CtPV4Cjp.js} +1 -1
  73. package/dist/{useUnknownValuesInTwinlist-Bez1tY4_.js → useUnknownValuesInTwinlist-BCbqJg7j.js} +1 -1
  74. package/package.json +1 -1
  75. package/dist/AnyOfTwinlist-CV39JeCp.js +0 -22
  76. package/dist/CheckboxControl-CS4nuJTP.js +0 -38
  77. package/dist/CheckboxesControl-DXJMkZ49.js +0 -37
  78. package/dist/ComboBoxControl-avfNedsG.js +0 -37
  79. package/dist/DateControl-B8E0JEIV.js +0 -42
  80. package/dist/DateTimeControl-DPjGzRqg.js +0 -78
  81. package/dist/DateTimeFormatPickerControl-Cx3yfT3O.js +0 -32
  82. package/dist/DropdownControl-DEggcwK1.js +0 -30
  83. package/dist/IntervalControl-DlLV8RQr.js +0 -48
  84. package/dist/LinkControl-COH9jvPg.js +0 -35
  85. package/dist/ManualTwinlistControl-jJGxlq9j.js +0 -72
  86. package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-yhmiIg95.js +0 -157
  87. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-Dlxx71hk.js +0 -50
  88. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-8xWE-iQR.js +0 -52
  89. package/dist/SortListControl-COd0WHwd.js +0 -103
  90. package/dist/ZonedDateTimeControl-CsbZwGMX.js +0 -77
  91. package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +0 -5
  92. package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +0 -23
  93. 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 B, withCtx as T, createVNode as r, unref as d } from "vue";
2
- import { _ as p, X as $, Y as k } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
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
- isValid: { type: Boolean },
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"), h = t(() => e.control.uischema.options?.animate ?? !0), x = t(
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
- ), f = t(() => e.control.schema.minimum ?? 0), y = t(() => e.control.schema.maximum ?? 1 / 0), _ = t(() => e.control.uischema.options?.step ?? 1), b = t(() => e.control.uischema.options?.unit ?? "");
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(B(v.value), {
54
+ (a(), D(T(v.value), {
54
55
  text: u.value,
55
56
  class: "input-wrapper"
56
57
  }, {
57
- default: T(() => [
58
+ default: B(() => [
58
59
  r(d($), {
59
60
  ariaLabel: o.control.label,
60
61
  "model-value": o.control.data,
61
- min: f.value,
62
- max: y.value,
63
- step: _.value,
64
- unit: b.value,
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
- x.value ? (a(), l("div", U, [
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: h.value,
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-07d61d78"]]);
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 { a8 as Vf, _ as Ie, a9 as Qs, aa as $o, ab as jf, ac as _l, ad as Wf, ae as ql, af as Kf, ag as or, ah as Uf, ai as _f, aj as Jl, ak as qf, al as Jf, R as Gf, am as Gl } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
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-B8vqfiDe.js";
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
- isValid: { type: Boolean },
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-zrzBlOHh.js";
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-zrzBlOHh.js";
3
- import { V as b } from "./VerticalLayoutBase-HYtDwVLA.js";
4
- import { S as $ } from "./SectionHeading-MlqCj5BS.js";
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-zrzBlOHh.js";
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, a9 as B, _ as $ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
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-HYtDwVLA.js";
5
- import { S as C } from "./SectionHeading-MlqCj5BS.js";
6
- import { S as N } from "./SettingsSubPanel-Z6urYwz1.js";
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 d, 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 V } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
3
- const $ = /* @__PURE__ */ h({
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
- isValid: { type: Boolean },
12
- messages: {},
11
+ error: { type: Boolean },
12
+ subText: {},
13
13
  onRegisterValidation: { type: Function }
14
14
  },
15
15
  setup(a) {
16
- const o = a, c = e(() => !o.control.enabled), r = o.control.uischema.providedOptions, t = d(!1), l = e(
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(() => c.value || t.value), v = e(() => l.value.options.triggerId), m = 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"), g = () => {
27
+ ), f = O("trigger"), b = () => {
28
28
  u && (t.value = !0), f({ id: v.value });
29
- }, i = d(!1);
29
+ }, i = c(!1);
30
30
  return (s, n) => (F(), C("div", {
31
31
  class: "simple-button-input",
32
- onMouseenter: n[0] || (n[0] = (b) => i.value = !0),
33
- onMouseleave: n[1] || (n[1] = (b) => i.value = !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: g
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__ */ V($, [["__scopeId", "data-v-17a4a240"]]);
47
+ }), R = /* @__PURE__ */ $(x, [["__scopeId", "data-v-17a4a240"]]);
48
48
  export {
49
49
  R as default
50
50
  };