@knime/scripting-editor 0.0.127 → 0.0.128

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 (133) hide show
  1. package/dist/{AnyOfTwinlist-C0gjxeQW-C5wsbDLK.js → AnyOfTwinlist-SXwBBRp2-Bqhgogiq.js} +5 -4
  2. package/dist/{ArrayLayout-U4hs5LA_.js → ArrayLayout-Dh1QLh8H.js} +41 -41
  3. package/dist/{ButtonControl-B8WGWs_m.js → ButtonControl-CaaKmrFb.js} +21 -21
  4. package/dist/CheckboxControl-CbWn843V-BTn1nVWQ.js +40 -0
  5. package/dist/CheckboxesControl-BiQOMrsp-BCRpKfZV.js +42 -0
  6. package/dist/CodeEditorControl-BhQdOlWM.js +133 -0
  7. package/dist/{ColorControl-DeSwgyjS-BW1FBjqa.js → ColorControl-B_mQdOCs-Dl3vNMVD.js} +10 -8
  8. package/dist/{ColorPreviewControl-CntI0nTL-qVTX4e1m.js → ColorPreviewControl-BREwhSO9-uTvGtvF_.js} +21 -21
  9. package/dist/ComboBoxControl-BIZlnizm-7kcBjn_F.js +42 -0
  10. package/dist/{ConfigurationNodeNotSupported-Bg2W0ik5.js → ConfigurationNodeNotSupported-CILWy-1v.js} +1 -1
  11. package/dist/{ControlWithSubParameters-DgJhqCMe.js → ControlWithSubParameters-DNFQ_0Ol.js} +4 -4
  12. package/dist/CredentialsControl-DYI2eHZH.js +33 -0
  13. package/dist/CredentialsControlBase-Be_pBbr8.js +96 -0
  14. package/dist/DateControl-vkwY-8Qy-D35WLbKn.js +44 -0
  15. package/dist/DateTimeControl-CtXV6_D2-yc6SBo7d.js +89 -0
  16. package/dist/DateTimeFormatPickerControl-a7MPaNFN-CerJZl-s.js +37 -0
  17. package/dist/DateTimeFormatPickerWithTypeControl-B9Nu0dh1-B3FsqcQG.js +598 -0
  18. package/dist/{DialogFileExplorer-Bi0DVFut.js → DialogFileExplorer-BZuisQeJ.js} +2 -2
  19. package/dist/{DirtyTrackerRenderer-CDcL-lwX.js → DirtyTrackerRenderer-qBfv19cz.js} +7 -7
  20. package/dist/DropdownControl-BUwovb4K-DZFITmfl.js +32 -0
  21. package/dist/DynamicInputControl-Br_sRCEw.js +6 -0
  22. package/dist/ExecutorCoresControl-DN-1o1XJ-B6JZf8lR.js +51 -0
  23. package/dist/ExecutorMemoryControl-UzqzP4hI-DEOR9ioJ.js +44 -0
  24. package/dist/{FileChooserControl-BR84kEXy.js → FileChooserControl-UiGh3RA6.js} +4 -3
  25. package/dist/{FileChooserControlBase-1oayQJzv.js → FileChooserControlBase-C0jKG7YK.js} +148 -144
  26. package/dist/{FileChooserControlForMultiFile-ChQtkmps.js → FileChooserControlForMultiFile-Di4Pk53x.js} +5 -4
  27. package/dist/FileUploadControl-WC8TFQHe-BuGo0ZRQ.js +545 -0
  28. package/dist/GridSelectionControl-BgqT1t9d-BRz6UGC9.js +117 -0
  29. package/dist/{HorizontalLayout-DwdPdBTW-w5bjgNga.js → HorizontalLayout-CESRA3YR-DDxfF6ry.js} +7 -7
  30. package/dist/{IntegerControl-D8OzxbRA-D9mR5ahj.js → IntegerControl-DKXN0mcE-DGJ3KRkb.js} +5 -4
  31. package/dist/IntervalControl-BswGPjcV-BmiAjHOy.js +51 -0
  32. package/dist/{LabeledGroup-BzXUTco4.js → LabeledGroup-5xwthvS8.js} +5 -5
  33. package/dist/LegacyCredentialsControl-DjJGg7vr.js +88 -0
  34. package/dist/{LinkControl-BvBBTFCs-DojlONSA.js → LinkControl-DTqOfnTg-BA_L4RtV.js} +10 -10
  35. package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-BLSG6Lpo-CtYj2B6v.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-Cic7UEOM-RBq7a_S3.js} +5 -5
  36. package/dist/ManualTwinlistControl-CoZdPu6n-BF9bz65d.js +77 -0
  37. package/dist/MultiFileChooserControl-BFW6QI_y.js +342 -0
  38. package/dist/{MultiRuleWrapper-TvQw5Kaj.js → MultiRuleWrapper-B2ISI9_F.js} +1 -1
  39. package/dist/{MultiSelectListBoxControl-nmvLP18g-feO16jJ4.js → MultiSelectListBoxControl-CjM94miu-DiufrbYU.js} +9 -8
  40. package/dist/{MultimodeTwinlistControl-yCdeWH2E-DG6GXu0l.js → MultimodeTwinlistControl-NMnPBn6a-DQkdp8td.js} +68 -66
  41. package/dist/{NameFilter-D1TMJydD-Db00pnR3.js → NameFilter-DuVJG0SF-DAH98lDD.js} +7 -6
  42. package/dist/{NumberControl-uLMOLEbg-B_H33dGY.js → NumberControl-NMJmxuze-Bih_-Og_.js} +8 -7
  43. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8-BGSxRVVz.js +54 -0
  44. package/dist/OneOfDropdown-CwJemyYo-Do-MOPV7.js +36 -0
  45. package/dist/{RadioButtonsWithDescriptionControl-5M_6G7Qk-BHHWv0Y0.js → RadioButtonsWithDescriptionControl-BK3UCreL-qWSS1DwX.js} +17 -17
  46. package/dist/RadioControl-ts1-JozG-Bt4Ssbnx.js +21 -0
  47. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-jxw_5dVt-B1RfPe72.js +64 -0
  48. package/dist/ResourceControlBase-FDiyHyQi-n4PYam8s.js +113 -0
  49. package/dist/{RichTextControl-D9QD2_uO-OY669heQ.js → RichTextControl-DH6GqUeF-DhVLA7bv.js} +7748 -6742
  50. package/dist/{SectionLayout-DY27pAtG-BIZg0kiA.js → SectionLayout-Cb3_L9Te-Ch2TL8Ns.js} +5 -5
  51. package/dist/{SettingsSubPanelLayout-82gMWhpv-DwWBU76p.js → SettingsSubPanelLayout-DruWJjQA-BPDZqGKD.js} +22 -22
  52. package/dist/{SimpleTwinlistControl-P4KEYOq0-97VRLEr4.js → SimpleTwinlistControl-CnBe4qsI-QQXdW90w.js} +7 -6
  53. package/dist/SingleSelectControl-C4Qzk2Ki-B4KRT-4U.js +58 -0
  54. package/dist/{SingleSelectListBoxControl-oMWH0vEE-Ewf1HUGa.js → SingleSelectListBoxControl-sLe2Y67h-aYZGPc-_.js} +14 -13
  55. package/dist/SortListControl-ChpYm3CZ-BHWX9fRm.js +112 -0
  56. package/dist/{StringFileChooserControl-BVH5iHNM.js → StringFileChooserControl-BGMU3nOp.js} +33 -30
  57. package/dist/{StyledListItem-D3LSfgGV-B9rTS8WT.js → StyledListItem-BJEJoIzr-5JeRrk8P.js} +1 -1
  58. package/dist/{TeamAndSpacesControl-CH5ImByy-aTqgKpBn.js → TeamAndSpacesControl-7ZXPUwBb-DdkrLxnT.js} +21 -20
  59. package/dist/TeamResourceControl-BZDXMRLZ-Moa_pv2o.js +44 -0
  60. package/dist/{TextAreaControl-CrsZSU_f-CNj59YPm.js → TextAreaControl-BDGtgWys-B5coKRJL.js} +11 -9
  61. package/dist/TextControl-8jfyOJKb-BkT4AwNP.js +50876 -0
  62. package/dist/TimeControl-Dvt5U7xN-CTkb_kae.js +71 -0
  63. package/dist/TimeframesControl-DcUxC3kX-1e3a-BRE.js +352 -0
  64. package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-B5lCsIOD-KqyVUaZj.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N-tQDZulBA.js} +16 -13
  65. package/dist/{TypedStringFilter-ry7fTUTx-CCJRabai.js → TypedStringFilter-Cx8OCQcE-Cx82QY6q.js} +7 -6
  66. package/dist/{ValueSwitchControl-aVx7pUi9-7kuEbp3H.js → ValueSwitchControl-1ax1yKbk-Dssrj-K0.js} +7 -6
  67. package/dist/{VennDiagramLayout-D8s5yYbT.js → VennDiagramLayout-TqRKYgWl.js} +42 -42
  68. package/dist/{VerticalLayout-Bv-LJOZ0-BTrnMnQu.js → VerticalLayout-DnyoqTeh-COL0gWjl.js} +6 -6
  69. package/dist/ZonedDateTimeControl-mIIRwaHz-BSWCo5dl.js +82 -0
  70. package/dist/{ai-bar-DLr5A9ZW.js → ai-bar-DDtzX23v.js} +775 -732
  71. package/dist/classApi-CHpAZrj3-BptMrhKH.js +3328 -0
  72. package/dist/collection-BBXRVj4b-DhO8c3tP.js +22 -0
  73. package/dist/collection-BBXRVj4b-grENCIdl.js +22 -0
  74. package/dist/main.js +9985 -13280
  75. package/dist/parameters.js +1 -1
  76. package/dist/plainDateTimeUtils-CR0UhpkD-DU-LM4_V.js +52 -0
  77. package/dist/src/scripting-service.d.ts +1 -1
  78. package/dist/useDropdownNavigation-CdrbT-CQ-Dxb_y1Fq.js +2003 -0
  79. package/dist/{useFileChooserBackend-Bs7hx7xH.js → useFileChooserBackend-DeqNZEZE.js} +6 -6
  80. package/dist/usePlainDateTimeBatch-Bd2G-GY9-DO2Zu0Mj.js +34 -0
  81. package/dist/{usePossibleValues-B-W6u-1T-DcglK6MY.js → usePossibleValues-CtPV4Cjp-B6UlAJ8A.js} +3 -3
  82. package/package.json +3 -3
  83. package/dist/CheckboxControl-CS6iXHnF-DLCN_obF.js +0 -38
  84. package/dist/CheckboxesControl-CPKIkyWt-BgPFZcJW.js +0 -40
  85. package/dist/CodeEditorControl-DM7k0B2q.js +0 -103
  86. package/dist/ComboBoxControl-DBYnBkC4-1oOLCCms.js +0 -40
  87. package/dist/CredentialsControl-CuHgBJQY.js +0 -32
  88. package/dist/CredentialsControlBase-14mA9Xg5.js +0 -96
  89. package/dist/DateControl-Cx_CwvNB-Cnu4FwAv.js +0 -35
  90. package/dist/DateTimeControl-BJsDzufC-BLhNM1JR.js +0 -56
  91. package/dist/DateTimeFormatPickerControl-C80v1qfK-0bjg1c9X.js +0 -35
  92. package/dist/DateTimeFormatPickerWithTypeControl-Dt-FKtYV-x-IJKc_b.js +0 -475
  93. package/dist/DropdownControl-D_BnA4-1-BWnnlfiI.js +0 -30
  94. package/dist/DynamicInputControl-u5VOv3zx.js +0 -6
  95. package/dist/ExecutorCoresControl-BnglyGMR-CagN3N5j.js +0 -56
  96. package/dist/ExecutorMemoryControl-CRATGs9C-Dsj7vG41.js +0 -50
  97. package/dist/FileUploadControl-D42rjpJg-DIoT6HeI.js +0 -221
  98. package/dist/GridSelectionControl-BJk8-yiM-CvDVlby0.js +0 -116
  99. package/dist/IntervalControl-Drljrv-b-WpTsaCtp.js +0 -751
  100. package/dist/LegacyCredentialsControl-C5OmuHPe.js +0 -87
  101. package/dist/ManualTwinlistControl-By0Hur_m-zZbz98JO.js +0 -75
  102. package/dist/MultiFileChooserControl-BDBYwcSY.js +0 -401
  103. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-VVQDBYw7-FEqHVnFo.js +0 -52
  104. package/dist/OneOfDropdown-CDwwxb3h-DAK0CMDe.js +0 -34
  105. package/dist/RadioControl-C73s-icb-DSF6WESw.js +0 -24
  106. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BScekfhl-oNoT_40f.js +0 -60
  107. package/dist/ResourceControlBase-Bqq1PAX_-5gNwtS9Y.js +0 -183
  108. package/dist/SingleSelectControl-C_ZKkV5m-nfkmmDbp.js +0 -56
  109. package/dist/SortListControl-4v3T2j_9-BkTlN-H5.js +0 -110
  110. package/dist/TeamResourceControl-BFMuyWnk-DvcyxCqW.js +0 -47
  111. package/dist/TextControl-B0ag-3Pv-nwKlVRtp.js +0 -54671
  112. package/dist/TimeControl-Bt5OcjBc-KiaYQH-m.js +0 -41
  113. package/dist/TimePartInput-CvwAzDuY-CuNpUUqj.js +0 -253
  114. package/dist/TimeframesControl-BE3LFgyl-hQJ_5QVJ.js +0 -94
  115. package/dist/Tooltip-UlemzxdS-Dfhzj7no.js +0 -24
  116. package/dist/ValueSwitch-BXaDBm2C-Ba93O_aZ.js +0 -130
  117. package/dist/ZonedDateTimeControl-6MUvXzd3-B1B9FPa7.js +0 -72
  118. package/dist/_Uint8Array-C_ozLuQF-DBc0hZkr.js +0 -349
  119. package/dist/arrow-dropdown-DMFBPPcK-uCJYJfqE.js +0 -17
  120. package/dist/floating-ui.vue-Fx4CxKut-DAsMxBCU.js +0 -1057
  121. package/dist/isArray-WzO_os3q-ClnPWjBY.js +0 -4
  122. package/dist/localTimeUtils-DBMwKtLh-CTshgG3l.js +0 -12470
  123. package/dist/src/lsp/completion.d.ts +0 -7
  124. package/dist/src/lsp/connection.d.ts +0 -56
  125. package/dist/src/lsp/diagnostics.d.ts +0 -4
  126. package/dist/src/lsp/doc-sync.d.ts +0 -5
  127. package/dist/src/lsp/hover.d.ts +0 -5
  128. package/dist/src/lsp/knime-io.d.ts +0 -22
  129. package/dist/src/lsp/mapping-utils.d.ts +0 -8
  130. package/dist/src/lsp/signature-help.d.ts +0 -5
  131. package/dist/toString-C-CNeuJl-jseUiiTM.js +0 -949
  132. package/dist/useDropdownNavigation-2Yhk7zes-75raAHpT.js +0 -821
  133. /package/dist/{useUnknownValuesInTwinlist-BbwGcno5-D2ve7iXH.js → useUnknownValuesInTwinlist-BCbqJg7j-D2ve7iXH.js} +0 -0
@@ -1,6 +1,6 @@
1
- import { defineComponent as t, createBlock as l, openBlock as a, mergeProps as p, unref as r } from "vue";
1
+ import { defineComponent as t, createBlock as r, openBlock as l, mergeProps as p, unref as a } from "vue";
2
2
  import { c as s } from "./index-Blg1O3Fz-CGafpkU1.js";
3
- import { L as i } from "./TwinlistControlBase.vue_vue_type_script_setup_true_lang-B5lCsIOD-KqyVUaZj.js";
3
+ import { L as i } from "./TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N-tQDZulBA.js";
4
4
  const f = /* @__PURE__ */ t({
5
5
  __name: "AnyOfTwinlist",
6
6
  props: {
@@ -8,13 +8,14 @@ const f = /* @__PURE__ */ t({
8
8
  handleChange: { type: Function },
9
9
  changeValue: { type: Function },
10
10
  disabled: { type: Boolean },
11
- isValid: { type: Boolean },
11
+ error: { type: Boolean },
12
+ subText: {},
12
13
  onRegisterValidation: { type: Function },
13
14
  labelForId: {}
14
15
  },
15
16
  setup(e) {
16
17
  const o = e.control.schema.anyOf.map(s);
17
- return (n, c) => (a(), l(i, p(n.$props, { "possible-values": r(o) }), null, 16, ["possible-values"]));
18
+ return (n, c) => (l(), r(i, p(n.$props, { "possible-values": a(o) }), null, 16, ["possible-values"]));
18
19
  }
19
20
  });
20
21
  export {
@@ -1,10 +1,10 @@
1
- import { defineComponent as U, computed as A, createBlock as I, createElementBlock as v, openBlock as c, unref as p, createElementVNode as L, createCommentVNode as w, toDisplayString as P, inject as Z, provide as k, onMounted as j, Fragment as N, renderSlot as D, normalizeStyle as x, createVNode as B, renderList as G, ref as M, watch as O, nextTick as ee, toRaw as te, resolveComponent as $, normalizeClass as J, withCtx as V, mergeProps as oe } from "vue";
2
- import { d as z, J as ae, ae as C, aw as se, ax as ne, ay as re, ad as R, az as ie, aA as le, aB as b, aC as de, a7 as ue, aD as ce, af as me, aE as _, aF as pe, av as he, aG as ye, aH as ve, aI as fe, aJ as ge, aK as we, aL as Ee } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
1
+ import { defineComponent as U, computed as L, createBlock as I, createElementBlock as v, openBlock as c, unref as p, createElementVNode as A, createCommentVNode as w, toDisplayString as V, inject as Z, provide as k, onMounted as j, Fragment as N, renderSlot as D, normalizeStyle as x, createVNode as B, renderList as G, ref as M, watch as O, nextTick as ee, toRaw as te, resolveComponent as $, normalizeClass as W, withCtx as _, mergeProps as oe } from "vue";
2
+ import { a as z, o as ae, a2 as C, at as se, au as ne, av as re, a1 as R, aw as ie, ax as le, ay as b, az as de, W as ue, aA as ce, a3 as me, aB as K, aC as pe, as as he, aD as ye, aE as ve, aF as fe, aG as ge, aH as we, aI as Ee } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
3
  import { _ as F } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
4
  const Ie = {
5
5
  key: 1,
6
6
  class: "vertical"
7
- }, Se = { class: "title-container" }, Le = ["title"], Ae = { key: 0 }, Ce = {
7
+ }, Se = { class: "title-container" }, Ae = ["title"], Le = { key: 0 }, Ce = {
8
8
  key: 0,
9
9
  class: "sub-title"
10
10
  }, H = "topLevelElementScope", De = /* @__PURE__ */ U({
@@ -16,10 +16,10 @@ const Ie = {
16
16
  useSectionLayout: { type: Boolean }
17
17
  },
18
18
  setup(e) {
19
- const o = e, t = o.titleConfig, s = A(() => ({
19
+ const o = e, t = o.titleConfig, s = L(() => ({
20
20
  ...o.arrayUiSchema,
21
21
  scope: H
22
- })), n = t.type === "provided" ? z(s, "arrayElementTitle", "") : t.title, r = A(
22
+ })), n = t.type === "provided" ? z(s, "arrayElementTitle", "") : t.title, r = L(
23
23
  () => t.type === "provided" ? null : o.index + 1
24
24
  ), l = z(
25
25
  s,
@@ -31,14 +31,14 @@ const Ie = {
31
31
  "title-text": p(t).type === "enumerated" && r.value ? `${p(n)} ${r.value}` : p(n),
32
32
  class: "section-heading"
33
33
  }, null, 8, ["title-text"])) : (c(), v("div", Ie, [
34
- L("div", Se, [
35
- L("span", {
34
+ A("div", Se, [
35
+ A("span", {
36
36
  class: "title",
37
37
  title: p(n)
38
- }, P(p(n)), 9, Le),
39
- r.value ? (c(), v("span", Ae, " " + P(r.value), 1)) : w("", !0)
38
+ }, V(p(n)), 9, Ae),
39
+ r.value ? (c(), v("span", Le, " " + V(r.value), 1)) : w("", !0)
40
40
  ]),
41
- p(l) ? (c(), v("span", Ce, P(p(l)), 1)) : w("", !0)
41
+ p(l) ? (c(), v("span", Ce, V(p(l)), 1)) : w("", !0)
42
42
  ]));
43
43
  }
44
44
  }), Te = /* @__PURE__ */ F(De, [["__scopeId", "data-v-d816d601"]]), $e = (e, o) => {
@@ -113,7 +113,7 @@ const Ie = {
113
113
  "createArrayAtPath",
114
114
  (a) => re(n, a)
115
115
  );
116
- const r = A(() => R(t.path, `${t.index}`)), l = C("sendAlert");
116
+ const r = L(() => R(t.path, `${t.index}`)), l = C("sendAlert");
117
117
  return j(() => {
118
118
  !t.arrayElementTitle && t.elements.length > 1 && l({
119
119
  message: "For displaying more than one row of widgets within an array layout element, the configuration must provide a title for an element.",
@@ -127,8 +127,8 @@ const Ie = {
127
127
  s();
128
128
  }
129
129
  }), (a, d) => (a.useCardLayout || a.useSectionLayout) && a.arrayElementTitle ? (c(), v(N, { key: 0 }, [
130
- L("div", Be, [
131
- L("div", {
130
+ A("div", Be, [
131
+ A("div", {
132
132
  class: "left",
133
133
  style: x({
134
134
  alignItems: a.subTitleProvider ? "normal" : "center",
@@ -155,7 +155,7 @@ const Ie = {
155
155
  ], 4),
156
156
  D(a.$slots, "controls", {}, void 0, !0)
157
157
  ]),
158
- L("div", Me, [
158
+ A("div", Me, [
159
159
  (c(!0), v(N, null, G(a.elements, ([u, m]) => D(a.$slots, "renderer", {
160
160
  key: `${r.value}-${u}`,
161
161
  path: r.value,
@@ -163,18 +163,18 @@ const Ie = {
163
163
  }, void 0, !0)), 128))
164
164
  ])
165
165
  ], 64)) : (c(), v("div", Re, [
166
- L("div", Ne, [
166
+ A("div", Ne, [
167
167
  D(a.$slots, "renderer", {
168
168
  element: a.elements[0][1],
169
169
  path: r.value
170
170
  }, void 0, !0)
171
171
  ]),
172
- L("div", Ue, [
172
+ A("div", Ue, [
173
173
  D(a.$slots, "controls", {}, void 0, !0)
174
174
  ])
175
175
  ]));
176
176
  }
177
- }), Ke = /* @__PURE__ */ F(Fe, [["__scopeId", "data-v-117e243b"]]), Pe = { class: "item-controls" }, Ve = /* @__PURE__ */ U({
177
+ }), Pe = /* @__PURE__ */ F(Fe, [["__scopeId", "data-v-117e243b"]]), Ve = { class: "item-controls" }, _e = /* @__PURE__ */ U({
178
178
  __name: "ArrayLayoutItemControls",
179
179
  props: {
180
180
  isFirst: { type: Boolean, default: !1 },
@@ -186,7 +186,7 @@ const Ie = {
186
186
  emits: ["moveUp", "moveDown", "duplicate", "delete"],
187
187
  setup(e, { emit: o }) {
188
188
  const t = o;
189
- return (s, n) => (c(), v("div", Pe, [
189
+ return (s, n) => (c(), v("div", Ve, [
190
190
  D(s.$slots, "before", {}, void 0, !0),
191
191
  s.showSortControls ? (c(), I(p(b), {
192
192
  key: 0,
@@ -228,19 +228,19 @@ const Ie = {
228
228
  })) : w("", !0)
229
229
  ]));
230
230
  }
231
- }), _e = /* @__PURE__ */ F(Ve, [["__scopeId", "data-v-5bbaa466"]]), W = 200, Oe = (e) => e.every((o) => typeof o == "string"), ze = (e) => Oe(e) ? e.reduce((o, t) => o + t, "") : !1, Je = (e, o) => {
231
+ }), Ke = /* @__PURE__ */ F(_e, [["__scopeId", "data-v-5bbaa466"]]), J = 200, Oe = (e) => e.every((o) => typeof o == "string"), ze = (e) => Oe(e) ? e.reduce((o, t) => o + t, "") : !1, We = (e, o) => {
232
232
  const t = M(/* @__PURE__ */ new Map()), s = M(!1), n = C("isTriggerActive"), r = () => {
233
233
  let a = !1;
234
234
  n({ id: de }).then((d) => {
235
235
  a = !0, d.state === "SUCCESS" && (t.value = d.result.reduce((u, { indices: m, isActive: f }) => (u.set(m[0], f), u), /* @__PURE__ */ new Map()), s.value = !1);
236
236
  }), setTimeout(() => {
237
237
  a || (s.value = !0);
238
- }, W), s.value = !1;
238
+ }, J), s.value = !1;
239
239
  }, l = M(!1);
240
240
  return j(() => {
241
241
  setTimeout(() => {
242
242
  l.value || (s.value = !0);
243
- }, W);
243
+ }, J);
244
244
  }), O(
245
245
  () => ze(o.value),
246
246
  (a) => {
@@ -248,14 +248,14 @@ const Ie = {
248
248
  },
249
249
  { immediate: !0 }
250
250
  ), { isEdited: t, isEditedIsLoading: s };
251
- }, We = U({
251
+ }, Je = U({
252
252
  name: "ArrayLayout",
253
253
  components: {
254
254
  DispatchRenderer: me,
255
255
  KdsButton: b,
256
256
  KdsEmptyState: ce,
257
- ArrayLayoutItemControls: _e,
258
- ArrayLayoutItem: Ke
257
+ ArrayLayoutItemControls: Ke,
258
+ ArrayLayoutItem: Pe
259
259
  },
260
260
  props: {
261
261
  ...ue()
@@ -263,18 +263,18 @@ const Ie = {
263
263
  setup(e) {
264
264
  const { handleChange: o, control: t } = he(
265
265
  e
266
- ), s = A(() => {
266
+ ), s = L(() => {
267
267
  var i;
268
268
  return ((i = t.value.data) == null ? void 0 : i.length) ?? 0;
269
269
  }), r = C("getInitialValue")(
270
270
  t.value.path
271
271
  ), l = M((r == null ? void 0 : r.length) ?? 0), a = z(
272
- A(() => t.value.uischema),
272
+ L(() => t.value.uischema),
273
273
  "elementDefaultValue",
274
274
  null
275
275
  );
276
276
  ye({
277
- dataPath: A(() => t.value.path),
277
+ dataPath: L(() => t.value.path),
278
278
  value: s,
279
279
  initialValue: l.value ?? 0,
280
280
  valueComparator: {
@@ -286,7 +286,7 @@ const Ie = {
286
286
  });
287
287
  const d = C("createArrayAtPath")(
288
288
  ve(t.value.uischema.scope)
289
- ), u = (i) => Object.keys(d).find((y) => Ee(y) === i), m = (i) => u(i) ?? _();
289
+ ), u = (i) => Object.keys(d).find((y) => Ee(y) === i), m = (i) => u(i) ?? K();
290
290
  O(
291
291
  () => t.value.data,
292
292
  (i) => {
@@ -299,7 +299,7 @@ const Ie = {
299
299
  },
300
300
  { immediate: !0 }
301
301
  );
302
- const f = A(() => t.value.data.map(({ _id: i }) => i)), T = (i) => i.reduce((y, h) => (y ?? "<noId>") + (h ?? "<noId>"), "");
302
+ const f = L(() => t.value.data.map(({ _id: i }) => i)), T = (i) => i.reduce((y, h) => (y ?? "<noId>") + (h ?? "<noId>"), "");
303
303
  O(
304
304
  () => f.value,
305
305
  (i, y) => {
@@ -307,19 +307,19 @@ const Ie = {
307
307
  },
308
308
  { immediate: !0 }
309
309
  );
310
- const { isEdited: E, isEditedIsLoading: g } = Je(
310
+ const { isEdited: E, isEditedIsLoading: g } = We(
311
311
  t.value.uischema.options.withEditAndReset,
312
312
  f
313
313
  ), {
314
314
  addItem: S,
315
- moveDown: K,
315
+ moveDown: P,
316
316
  moveUp: q,
317
317
  removeItems: Q,
318
318
  control: X
319
319
  } = we(e);
320
320
  return {
321
321
  addItem: S,
322
- moveDown: K,
322
+ moveDown: P,
323
323
  moveUp: q,
324
324
  removeItems: Q,
325
325
  handleChange: o,
@@ -400,7 +400,7 @@ const Ie = {
400
400
  }), o;
401
401
  },
402
402
  addDefaultItem() {
403
- const e = _();
403
+ const e = K();
404
404
  this.newElementId = e, this.addItem(this.control.path, {
405
405
  ...this.createDefaultValue(
406
406
  this.control.schema
@@ -419,7 +419,7 @@ const Ie = {
419
419
  duplicateItem(e) {
420
420
  const o = te(this.control.data[e]);
421
421
  if (o) {
422
- const t = JSON.parse(JSON.stringify(o)), s = _();
422
+ const t = JSON.parse(JSON.stringify(o)), s = K();
423
423
  t._id = s, this.newElementId = s;
424
424
  const n = [...this.control.data];
425
425
  n.splice(e + 1, 0, t), this.handleChange(this.control.path, n);
@@ -452,12 +452,12 @@ function je(e, o, t, s, n, r) {
452
452
  const l = $("DispatchRenderer"), a = $("ArrayLayoutItemControls"), d = $("ArrayLayoutItem"), u = $("KdsButton"), m = $("KdsEmptyState");
453
453
  return e.control.visible ? (c(), v("div", {
454
454
  key: 0,
455
- class: J(["array", { cards: e.useCardLayout }])
455
+ class: W(["array", { cards: e.useCardLayout }])
456
456
  }, [
457
457
  e.numElements > 0 ? (c(), v(N, { key: 0 }, [
458
458
  (c(!0), v(N, null, G(e.control.data, (E, g) => (c(), v("div", {
459
459
  key: `${e.control.path}-${E._id}`,
460
- class: J(["item", { card: e.useCardLayout }])
460
+ class: W(["item", { card: e.useCardLayout }])
461
461
  }, [
462
462
  B(d, {
463
463
  id: E._id,
@@ -474,14 +474,14 @@ function je(e, o, t, s, n, r) {
474
474
  "use-card-layout": e.useCardLayout,
475
475
  "use-section-layout": e.useSectionLayout
476
476
  }, {
477
- renderer: V(({ element: S, path: K }) => [
477
+ renderer: _(({ element: S, path: P }) => [
478
478
  B(l, {
479
479
  schema: e.control.schema,
480
480
  uischema: S,
481
- path: K
481
+ path: P
482
482
  }, null, 8, ["schema", "uischema", "path"])
483
483
  ]),
484
- controls: V(() => [
484
+ controls: _(() => [
485
485
  B(a, {
486
486
  "is-first": g === 0,
487
487
  "is-last": g === e.control.data.length - 1,
@@ -493,7 +493,7 @@ function je(e, o, t, s, n, r) {
493
493
  onDuplicate: (S) => e.duplicateItem(g),
494
494
  onDelete: (S) => e.deleteItem(g)
495
495
  }, {
496
- before: V(() => [
496
+ before: _(() => [
497
497
  e.showEditAndResetControls ? (c(), I(l, oe({
498
498
  key: 0,
499
499
  ref_for: !0
@@ -546,7 +546,7 @@ function je(e, o, t, s, n, r) {
546
546
  }, null, 8, ["button", "description", "headline"]))
547
547
  ], 2)) : w("", !0);
548
548
  }
549
- const Qe = /* @__PURE__ */ F(We, [["render", je], ["__scopeId", "data-v-ab75abd8"]]);
549
+ const Qe = /* @__PURE__ */ F(Je, [["render", je], ["__scopeId", "data-v-efbd59b2"]]);
550
550
  export {
551
551
  Qe as default
552
552
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as q, ref as l, computed as _, onMounted as H, createElementBlock as S, openBlock as m, createVNode as z, createBlock as L, createCommentVNode as C, unref as B, withCtx as U, createElementVNode as W, toDisplayString as b } from "vue";
2
- import { FunctionButton as j, LoadingIcon as P } from "@knime/components";
3
- import { ae as f, ap as T, aq as G } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
1
+ import { defineComponent as H, ref as l, computed as _, onMounted as j, createElementBlock as S, openBlock as m, createVNode as q, createBlock as z, createCommentVNode as C, unref as b, withCtx as L, createElementVNode as T, toDisplayString as B } from "vue";
2
+ import { FunctionButton as U, LoadingIcon as W } from "@knime/components";
3
+ import { a2 as f, ai as P, aj as G } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
4
4
  import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const k = ({ view: u, model: i }) => ({
6
6
  ...u,
@@ -8,7 +8,7 @@ const k = ({ view: u, model: i }) => ({
8
8
  }), K = { class: "button-wrapper" }, Q = { class: "button-input-text" }, X = {
9
9
  key: 1,
10
10
  class: "error-message"
11
- }, Y = /* @__PURE__ */ q({
11
+ }, Y = /* @__PURE__ */ H({
12
12
  __name: "ButtonControl",
13
13
  props: {
14
14
  control: {},
@@ -16,13 +16,13 @@ const k = ({ view: u, model: i }) => ({
16
16
  changeValue: { type: Function },
17
17
  disabled: { type: Boolean },
18
18
  labelForId: {},
19
- isValid: { type: Boolean },
20
- messages: {},
19
+ error: { type: Boolean },
20
+ subText: {},
21
21
  onRegisterValidation: { type: Function }
22
22
  },
23
23
  setup(u) {
24
- const i = f("registerWatcher"), V = f("getData"), g = f("applyData"), n = u, c = l(null), x = () => {
25
- c.value = null;
24
+ const i = f("registerWatcher"), x = f("getData"), g = f("applyData"), n = u, r = l(null), V = () => {
25
+ r.value = null;
26
26
  }, h = l({}), v = (t) => {
27
27
  h.value = k(t);
28
28
  }, s = l({}), E = _(
@@ -31,7 +31,7 @@ const k = ({ view: u, model: i }) => ({
31
31
  return ((t = n.control.uischema.options) == null ? void 0 : t.states) ?? [];
32
32
  }
33
33
  ), y = (t) => {
34
- x(), s.value = E.value.find(({ id: e }) => e === t);
34
+ V(), s.value = E.value.find(({ id: e }) => e === t);
35
35
  }, F = (t) => {
36
36
  setTimeout(() => n.changeValue(t));
37
37
  }, w = (t) => {
@@ -47,19 +47,19 @@ const k = ({ view: u, model: i }) => ({
47
47
  w(t.result);
48
48
  return;
49
49
  }
50
- o === "FAIL" && (c.value = (a = t.message) == null ? void 0 : a[0]), e();
51
- }, p = l(0), I = T(), d = async ({
50
+ o === "FAIL" && (r.value = (a = t.message) == null ? void 0 : a[0]), e();
51
+ }, p = l(0), I = P(), d = async ({
52
52
  method: t,
53
53
  options: e,
54
54
  handler: o
55
55
  }, a = () => {
56
56
  }) => {
57
57
  p.value += 1;
58
- const r = await V({
58
+ const c = await x({
59
59
  method: t,
60
60
  options: [I, o, ...e]
61
61
  });
62
- p.value -= 1, D(r, a);
62
+ p.value -= 1, D(c, a);
63
63
  }, A = async (t) => {
64
64
  v(t), await d({
65
65
  method: "settings.initializeButton",
@@ -73,8 +73,8 @@ const k = ({ view: u, model: i }) => ({
73
73
  handler: n.control.uischema.options.updateOptions.updateHandler
74
74
  });
75
75
  }, N = async () => {
76
- var r;
77
- if (g && ((r = n.control.uischema.options) != null && r.incrementAndApplyOnClick)) {
76
+ var c;
77
+ if (g && ((c = n.control.uischema.options) != null && c.incrementAndApplyOnClick)) {
78
78
  g((R) => G(R, n.control.path, n.control.data + 1));
79
79
  return;
80
80
  }
@@ -90,7 +90,7 @@ const k = ({ view: u, model: i }) => ({
90
90
  a
91
91
  );
92
92
  };
93
- H(() => {
93
+ j(() => {
94
94
  var e, o, a;
95
95
  i({
96
96
  init: A,
@@ -110,20 +110,20 @@ const k = ({ view: u, model: i }) => ({
110
110
  }
111
111
  );
112
112
  return (t, e) => (m(), S("div", K, [
113
- z(B(j), {
113
+ q(b(U), {
114
114
  disabled: s.value.disabled,
115
115
  class: "button-input",
116
116
  primary: s.value.primary,
117
117
  compact: "",
118
118
  onClick: N
119
119
  }, {
120
- default: U(() => [
121
- W("div", Q, b(s.value.text), 1)
120
+ default: L(() => [
121
+ T("div", Q, B(s.value.text), 1)
122
122
  ]),
123
123
  _: 1
124
124
  }, 8, ["disabled", "primary"]),
125
- p.value > 0 ? (m(), L(B(P), { key: 0 })) : C("", !0),
126
- c.value && O.value ? (m(), S("span", X, " Error: " + b(c.value), 1)) : C("", !0)
125
+ p.value > 0 ? (m(), z(b(W), { key: 0 })) : C("", !0),
126
+ r.value && O.value ? (m(), S("span", X, " Error: " + B(r.value), 1)) : C("", !0)
127
127
  ]));
128
128
  }
129
129
  }), nt = /* @__PURE__ */ J(Y, [["__scopeId", "data-v-c6a54afa"]]);
@@ -0,0 +1,40 @@
1
+ import { defineComponent as n, ref as s, createElementBlock as d, openBlock as c, createElementVNode as u, renderSlot as r, createVNode as i, unref as b } from "vue";
2
+ import { E as p, d as v } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
+ const m = { class: "checkbox-container" }, f = /* @__PURE__ */ n({
4
+ __name: "CheckboxControl",
5
+ props: {
6
+ control: {},
7
+ handleChange: { type: Function },
8
+ changeValue: { type: Function },
9
+ disabled: { type: Boolean },
10
+ labelForId: {},
11
+ error: { type: Boolean },
12
+ subText: {},
13
+ onRegisterValidation: { type: Function }
14
+ },
15
+ setup(e) {
16
+ const l = s(!1);
17
+ return (a, o) => (c(), d("div", {
18
+ class: "checkbox-input",
19
+ onMouseover: o[1] || (o[1] = (t) => l.value = !0),
20
+ onMouseleave: o[2] || (o[2] = (t) => l.value = !1)
21
+ }, [
22
+ u("div", m, [
23
+ i(b(v), {
24
+ class: "checkbox",
25
+ disabled: e.disabled,
26
+ "model-value": e.control.data,
27
+ label: e.control.label,
28
+ error: e.error,
29
+ "sub-text": e.subText,
30
+ "onUpdate:modelValue": o[0] || (o[0] = (t) => e.changeValue(t === !0))
31
+ }, null, 8, ["disabled", "model-value", "label", "error", "sub-text"]),
32
+ r(a.$slots, "icon", {}, void 0, !0)
33
+ ]),
34
+ r(a.$slots, "buttons", { hover: l.value }, void 0, !0)
35
+ ], 32));
36
+ }
37
+ }), k = /* @__PURE__ */ p(f, [["__scopeId", "data-v-5bf70a5e"]]);
38
+ export {
39
+ k as default
40
+ };
@@ -0,0 +1,42 @@
1
+ import { defineComponent as s, computed as n, ref as c, toRef as d, createBlock as i, createCommentVNode as m, onMounted as p, openBlock as b, unref as h } from "vue";
2
+ import { h as f } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
+ import { c as v } from "./index-Blg1O3Fz-CGafpkU1.js";
4
+ import { t as y } from "./usePossibleValues-CtPV4Cjp-B6UlAJ8A.js";
5
+ const C = /* @__PURE__ */ s({
6
+ __name: "CheckboxesControl",
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) {
18
+ const o = e, r = n(
19
+ () => {
20
+ var l;
21
+ return (l = o.control.uischema.options) == null ? void 0 : l.checkboxLayout;
22
+ }
23
+ ), a = c(null), { possibleValues: u } = y(d(o, "control")), t = n(() => a.value ?? u.value);
24
+ return p(() => {
25
+ a.value = o.control.schema.anyOf ? o.control.schema.anyOf.map(v) : null;
26
+ }), (l, x) => t.value ? (b(), i(h(f), {
27
+ key: 0,
28
+ id: e.labelForId,
29
+ class: "checkboxes",
30
+ "possible-values": t.value,
31
+ alignment: r.value,
32
+ disabled: e.disabled,
33
+ "model-value": e.control.data,
34
+ error: e.error,
35
+ "sub-text": e.subText,
36
+ "onUpdate:modelValue": e.changeValue
37
+ }, null, 8, ["id", "possible-values", "alignment", "disabled", "model-value", "error", "sub-text", "onUpdate:modelValue"])) : m("", !0);
38
+ }
39
+ });
40
+ export {
41
+ C as default
42
+ };
@@ -0,0 +1,133 @@
1
+ import { defineComponent as X, computed as g, useTemplateRef as q, ref as b, watch as m, inject as B, onMounted as I, onUnmounted as J, createElementBlock as Q, openBlock as Y, createElementVNode as v, normalizeClass as Z, toDisplayString as ee, unref as s, createVNode as oe, normalizeStyle as te } from "vue";
2
+ import { a as ne, ak as ae, al as re, am as se } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
+ import { editor as f, MarkerSeverity as ie } from "monaco-editor";
4
+ import { K as le, a as ce, M as de } from "./ai-bar-DDtzX23v.js";
5
+ import { _ as ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const pe = { class: "wrapper" }, ge = { class: "title" }, me = { class: "actions" }, ve = ["id"], fe = 18, he = 3, Me = "vs-light", ye = "vs-dark", Ce = /* @__PURE__ */ X({
7
+ __name: "CodeEditorControl",
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
+ },
18
+ setup(F) {
19
+ var x, H, N, A;
20
+ const a = F, i = a.control.uischema, K = g(() => i), k = ((x = i.options) == null ? void 0 : x.language) ?? "plaintext", h = ((H = i.options) == null ? void 0 : H.fileType) ?? k.toUpperCase(), u = ((N = i.options) == null ? void 0 : N.minRows) ?? 3, W = ((A = i.options) == null ? void 0 : A.maxRows) ?? 15, c = ne(K, "languageServerId"), S = (i.providedOptions ?? []).includes(
21
+ "languageServerId"
22
+ ), R = q("editor-container");
23
+ let e, p, M;
24
+ const w = b(fe), y = b(u), z = g(
25
+ () => Math.min(W, Math.max(u, y.value))
26
+ ), G = g(
27
+ () => `${w.value * z.value + he}px`
28
+ ), O = (o) => o ? ye : Me, { isDarkMode: T } = ae();
29
+ m(T, (o) => {
30
+ e && e.updateOptions({ theme: O(o) });
31
+ });
32
+ const D = b([]), P = g(() => {
33
+ const o = D.value;
34
+ if (o.length === 0)
35
+ return null;
36
+ const t = o[0], n = o.length > 1 ? `${t} (+${o.length - 1} more)` : t;
37
+ return () => ({ errors: [n] });
38
+ }), C = a.onRegisterValidation(P), { copy: $, copied: _ } = re({ copiedDuring: 2e3 }), U = () => {
39
+ var t;
40
+ const o = (t = e == null ? void 0 : e.getModel()) == null ? void 0 : t.getValue();
41
+ o && $(o);
42
+ }, l = S ? B("lspEventDispatcher") : void 0, E = S ? B("getData") : void 0, j = async (o) => {
43
+ const t = e == null ? void 0 : e.getModel();
44
+ if (!t || !l || !E)
45
+ return;
46
+ const n = await E({
47
+ method: "codeEditorLanguageServer.connect",
48
+ options: [o]
49
+ });
50
+ if (!(n != null && n.connected))
51
+ return;
52
+ const r = new le((L) => {
53
+ l.register(o, L);
54
+ }), d = new ce(
55
+ (L) => E({
56
+ method: "codeEditorLanguageServer.sendMessage",
57
+ options: [o, L]
58
+ })
59
+ );
60
+ try {
61
+ M = await de.create(t, r, d);
62
+ } catch {
63
+ l.unregister(o);
64
+ }
65
+ }, V = () => {
66
+ c.value && j(c.value);
67
+ };
68
+ return I(() => {
69
+ var o;
70
+ R.value && (e = f.create(R.value, {
71
+ value: a.control.data ?? "",
72
+ language: k,
73
+ automaticLayout: !0,
74
+ minimap: { enabled: !1 },
75
+ scrollBeyondLastLine: !1,
76
+ lineNumbersMinChars: 3,
77
+ fontFamily: '"Roboto Mono", monospace',
78
+ fontWeight: "400",
79
+ readOnly: a.disabled,
80
+ theme: O(T.value),
81
+ fixedOverflowWidgets: !0
82
+ }), w.value = e.getOption(f.EditorOption.lineHeight), y.value = ((o = e.getModel()) == null ? void 0 : o.getLineCount()) ?? u, e.onDidChangeModelContent(() => {
83
+ var n, r;
84
+ const t = ((n = e == null ? void 0 : e.getModel()) == null ? void 0 : n.getValue()) ?? "";
85
+ y.value = ((r = e == null ? void 0 : e.getModel()) == null ? void 0 : r.getLineCount()) ?? u, t !== a.control.data && a.changeValue(t);
86
+ }), p = f.onDidChangeMarkers((t) => {
87
+ const n = e == null ? void 0 : e.getModel();
88
+ if (n && t.some((r) => r.toString() === n.uri.toString())) {
89
+ const r = f.getModelMarkers({ resource: n.uri });
90
+ D.value = r.filter((d) => d.severity === ie.Error).map((d) => d.message);
91
+ }
92
+ }), V());
93
+ }), m(() => c.value, V), m(
94
+ () => a.disabled,
95
+ (o) => {
96
+ e == null || e.updateOptions({ readOnly: o });
97
+ }
98
+ ), m(
99
+ () => a.control.data,
100
+ (o) => {
101
+ var t, n;
102
+ e && o !== ((t = e.getModel()) == null ? void 0 : t.getValue()) && ((n = e.getModel()) == null || n.setValue(o ?? ""));
103
+ }
104
+ ), J(() => {
105
+ M && (M.dispose(), c.value && (l == null || l.unregister(c.value))), p == null || p.dispose(), C == null || C(), e == null || e.dispose();
106
+ }), (o, t) => (Y(), Q("div", pe, [
107
+ v("div", {
108
+ class: Z(["header", { invalid: o.error }])
109
+ }, [
110
+ v("span", ge, ee(s(h)), 1),
111
+ v("div", me, [
112
+ oe(s(se), {
113
+ ariaLabel: s(_) ? "Copied " + s(h) + " to clipboard" : "Copy " + s(h) + " to clipboard",
114
+ "leading-icon": s(_) ? "checkmark" : "copy",
115
+ state: s(_) ? "success" : "default",
116
+ size: "small",
117
+ variant: "transparent",
118
+ onClick: U
119
+ }, null, 8, ["ariaLabel", "leading-icon", "state"])
120
+ ])
121
+ ], 2),
122
+ v("div", {
123
+ id: o.labelForId,
124
+ ref: "editor-container",
125
+ class: "code-editor-container",
126
+ style: te({ height: G.value })
127
+ }, null, 12, ve)
128
+ ]));
129
+ }
130
+ }), Se = /* @__PURE__ */ ue(Ce, [["__scopeId", "data-v-4e65cd5d"]]);
131
+ export {
132
+ Se as default
133
+ };
@@ -1,27 +1,29 @@
1
- import { defineComponent as o, createBlock as a, openBlock as l, unref as n } from "vue";
2
- import { F as d } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
3
- const u = /* @__PURE__ */ o({
1
+ import { defineComponent as o, createBlock as a, openBlock as l, unref as r } from "vue";
2
+ import { g as t } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
+ const p = /* @__PURE__ */ o({
4
4
  __name: "ColorControl",
5
5
  props: {
6
6
  control: {},
7
7
  handleChange: { type: Function },
8
8
  changeValue: { type: Function },
9
9
  disabled: { type: Boolean },
10
- isValid: { type: Boolean },
10
+ error: { type: Boolean },
11
+ subText: {},
11
12
  onRegisterValidation: { type: Function },
12
13
  labelForId: {}
13
14
  },
14
15
  setup(e) {
15
- return (r, t) => (l(), a(n(d), {
16
+ return (n, d) => (l(), a(r(t), {
16
17
  id: e.labelForId,
17
18
  ariaLabel: e.control.label,
18
19
  "model-value": e.control.data ?? "",
19
20
  disabled: e.disabled,
20
- error: !e.isValid,
21
+ error: e.error,
22
+ "sub-text": e.subText,
21
23
  "onUpdate:modelValue": e.changeValue
22
- }, null, 8, ["id", "ariaLabel", "model-value", "disabled", "error", "onUpdate:modelValue"]));
24
+ }, null, 8, ["id", "ariaLabel", "model-value", "disabled", "error", "sub-text", "onUpdate:modelValue"]));
23
25
  }
24
26
  });
25
27
  export {
26
- u as default
28
+ p as default
27
29
  };