@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,5 +1,5 @@
1
- import { defineComponent as c, ref as m, createElementBlock as d, openBlock as o, createVNode as s, withCtx as r, renderSlot as i, createBlock as h, unref as p } from "vue";
2
- import { Y as y, J as f, v, A as b } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
1
+ import { defineComponent as c, ref as m, createElementBlock as d, openBlock as o, createVNode as s, withCtx as n, renderSlot as i, createBlock as h, unref as p } from "vue";
2
+ import { E as y, o as f, v, n as b } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
3
  const x = /* @__PURE__ */ c({
4
4
  __name: "SectionLayout",
5
5
  props: {
@@ -15,7 +15,7 @@ const x = /* @__PURE__ */ c({
15
15
  s(f, {
16
16
  "title-text": e.layout.uischema.label
17
17
  }, {
18
- "right-buttons": r(() => [
18
+ "right-buttons": n(() => [
19
19
  i(u.$slots, "buttons", { hover: a.value }, void 0, !0)
20
20
  ]),
21
21
  _: 3
@@ -23,9 +23,9 @@ const x = /* @__PURE__ */ c({
23
23
  s(v, {
24
24
  elements: e.layout.uischema.elements
25
25
  }, {
26
- default: r(({ element: l, index: n }) => [
26
+ default: n(({ element: l, index: r }) => [
27
27
  (o(), h(p(b), {
28
- key: `${e.layout.path}-${n}`,
28
+ key: `${e.layout.path}-${r}`,
29
29
  schema: e.layout.schema,
30
30
  uischema: l,
31
31
  path: e.layout.path,
@@ -1,39 +1,39 @@
1
- import { defineComponent as v, computed as u, ref as f, createElementBlock as y, openBlock as c, createVNode as a, withCtx as l, createBlock as k, unref as r, createElementVNode as i, renderSlot as x, toDisplayString as _ } from "vue";
2
- import { Y as g, _ as B, v as S, A as w, J as C, g as V } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
3
- import { i as $ } from "./arrow-next-BQULX8HT-DDsCfA5A.js";
4
- const A = { class: "flex-row" }, E = /* @__PURE__ */ v({
1
+ import { defineComponent as v, computed as u, ref as f, createElementBlock as y, openBlock as c, createVNode as a, withCtx as o, createBlock as k, unref as s, createElementVNode as i, renderSlot as x, toDisplayString as _ } from "vue";
2
+ import { E as g, _ as B, v as S, n as w, o as C, q as E } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
+ import { i as V } from "./arrow-next-BQULX8HT-DDsCfA5A.js";
4
+ const $ = { class: "flex-row" }, L = /* @__PURE__ */ v({
5
5
  __name: "SettingsSubPanelLayout",
6
6
  props: {
7
7
  layout: {}
8
8
  },
9
9
  setup(e) {
10
- const d = e, s = u(() => d.layout.uischema.options ?? {}), m = u(() => s.value.setText ?? "Set"), b = u(
11
- () => s.value.backButtonLabel ?? "Back to node configuration"
10
+ const d = e, r = u(() => d.layout.uischema.options ?? {}), m = u(() => r.value.setText ?? "Set"), p = u(
11
+ () => r.value.backButtonLabel ?? "Back to node configuration"
12
12
  ), n = f(!1);
13
- return (p, o) => (c(), y("div", {
14
- onMouseover: o[0] || (o[0] = (t) => n.value = !0),
15
- onMouseleave: o[1] || (o[1] = (t) => n.value = !1)
13
+ return (b, l) => (c(), y("div", {
14
+ onMouseover: l[0] || (l[0] = (t) => n.value = !0),
15
+ onMouseleave: l[1] || (l[1] = (t) => n.value = !1)
16
16
  }, [
17
17
  a(B, {
18
18
  "show-back-arrow": "",
19
- "back-button-label": b.value,
19
+ "back-button-label": p.value,
20
20
  "background-color-override": "var(--knime-gray-ultra-light)"
21
21
  }, {
22
- "expand-button": l(({ expand: t }) => [
22
+ "expand-button": o(({ expand: t }) => [
23
23
  a(C, {
24
24
  "title-text": e.layout.uischema.label
25
25
  }, {
26
- "right-buttons": l(() => [
27
- i("div", A, [
28
- x(p.$slots, "buttons", { hover: n.value }, void 0, !0),
29
- a(r(V), {
26
+ "right-buttons": o(() => [
27
+ i("div", $, [
28
+ x(b.$slots, "buttons", { hover: n.value }, void 0, !0),
29
+ a(s(E), {
30
30
  compact: "",
31
31
  class: "set-button",
32
32
  onClick: t
33
33
  }, {
34
- default: l(() => [
34
+ default: o(() => [
35
35
  i("span", null, _(m.value), 1),
36
- a(r($))
36
+ a(s(V))
37
37
  ]),
38
38
  _: 1
39
39
  }, 8, ["onClick"])
@@ -42,12 +42,12 @@ const A = { class: "flex-row" }, E = /* @__PURE__ */ v({
42
42
  _: 2
43
43
  }, 1032, ["title-text"])
44
44
  ]),
45
- default: l(() => [
45
+ default: o(() => [
46
46
  a(S, {
47
47
  elements: e.layout.uischema.elements
48
48
  }, {
49
- default: l(({ element: t, index: h }) => [
50
- (c(), k(r(w), {
49
+ default: o(({ element: t, index: h }) => [
50
+ (c(), k(s(w), {
51
51
  key: `${e.layout.path}-${h}`,
52
52
  schema: e.layout.schema,
53
53
  uischema: t,
@@ -64,7 +64,7 @@ const A = { class: "flex-row" }, E = /* @__PURE__ */ v({
64
64
  }, 8, ["back-button-label"])
65
65
  ], 32));
66
66
  }
67
- }), P = /* @__PURE__ */ g(E, [["__scopeId", "data-v-7ec268f9"]]);
67
+ }), q = /* @__PURE__ */ g(L, [["__scopeId", "data-v-7ec268f9"]]);
68
68
  export {
69
- P as default
69
+ q as default
70
70
  };
@@ -1,6 +1,6 @@
1
- import { defineComponent as l, toRef as i, createBlock as p, openBlock as r, mergeProps as s, unref as a } from "vue";
2
- import { t as u } from "./usePossibleValues-B-W6u-1T-DcglK6MY.js";
3
- import { L as c } from "./TwinlistControlBase.vue_vue_type_script_setup_true_lang-B5lCsIOD-KqyVUaZj.js";
1
+ import { defineComponent as l, toRef as r, createBlock as p, openBlock as s, mergeProps as a, unref as i } from "vue";
2
+ import { t as u } from "./usePossibleValues-CtPV4Cjp-B6UlAJ8A.js";
3
+ import { L as c } from "./TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N-tQDZulBA.js";
4
4
  const g = /* @__PURE__ */ l({
5
5
  __name: "SimpleTwinlistControl",
6
6
  props: {
@@ -8,13 +8,14 @@ const g = /* @__PURE__ */ l({
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(o) {
16
- const e = o, n = i(e, "control"), { possibleValues: t } = u(n);
17
- return (m, d) => (r(), p(c, s(e, { "possible-values": a(t) }), null, 16, ["possible-values"]));
17
+ const e = o, t = r(e, "control"), { possibleValues: n } = u(t);
18
+ return (m, f) => (s(), p(c, a(e, { "possible-values": i(n) }), null, 16, ["possible-values"]));
18
19
  }
19
20
  });
20
21
  export {
@@ -0,0 +1,58 @@
1
+ import { defineComponent as _, computed as c, toRef as x, createBlock as y, openBlock as V } from "vue";
2
+ import { t as $ } from "./usePossibleValues-CtPV4Cjp-B6UlAJ8A.js";
3
+ import { L as F } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-Cic7UEOM-RBq7a_S3.js";
4
+ const t = "__special__", i = "__regular__", S = /* @__PURE__ */ _({
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(l) {
17
+ const a = l, d = c(
18
+ () => a.control.uischema.options.specialChoices
19
+ ), { possibleValues: n } = $(
20
+ x(a, "control")
21
+ ), s = (e) => `${t}${e}`, u = (e) => `${i}${e}`, h = ({
22
+ id: e,
23
+ text: o
24
+ }) => ({
25
+ id: s(e),
26
+ text: o,
27
+ isSpecial: !0
28
+ }), C = (e) => ({
29
+ ...e,
30
+ id: u(e.id)
31
+ }), r = c(() => n.value === null ? null : d.value.map(h).concat(n.value.map(C))), m = (e) => {
32
+ if (!e.startsWith(i) && !e.startsWith(t))
33
+ throw new Error(`Expected id to start with ${i}`);
34
+ }, b = (e) => e ? (m(e), e.startsWith(t) ? { specialChoice: e.slice(t.length) } : { regularChoice: e.slice(i.length) }) : null, g = (e) => typeof e > "u" || e === null ? "" : "regularChoice" in e && e.regularChoice ? u(e.regularChoice) : "specialChoice" in e && e.specialChoice ? s(e.specialChoice) : "", f = (e) => typeof e > "u" || e === null ? "" : "regularChoice" in e && e.regularChoice ? e.regularChoice : "specialChoice" in e && e.specialChoice ? e.specialChoice : "", p = c({
35
+ get: () => {
36
+ const e = g(a.control.data);
37
+ return r.value && !r.value.some((o) => o.id === e) ? f(a.control.data) : e;
38
+ },
39
+ set: (e) => {
40
+ a.changeValue(b(e));
41
+ }
42
+ });
43
+ return (e, o) => (V(), y(F, {
44
+ id: l.labelForId,
45
+ modelValue: p.value,
46
+ "onUpdate:modelValue": o[0] || (o[0] = (v) => p.value = v),
47
+ "possible-values": r.value,
48
+ ariaLabel: l.control.label,
49
+ disabled: l.disabled,
50
+ error: l.error,
51
+ "sub-text": l.subText,
52
+ compact: ""
53
+ }, null, 8, ["id", "modelValue", "possible-values", "ariaLabel", "disabled", "error", "sub-text"]));
54
+ }
55
+ });
56
+ export {
57
+ S as default
58
+ };
@@ -1,8 +1,8 @@
1
- import { defineComponent as f, toRef as V, createBlock as p, createCommentVNode as y, unref as o, openBlock as n, resolveComponent as I, createElementBlock as u, normalizeClass as c, createElementVNode as g, normalizeStyle as h, Fragment as v, renderList as x } from "vue";
2
- import { t as S } from "./usePossibleValues-B-W6u-1T-DcglK6MY.js";
3
- import { p as C } from "./StyledListItem-D3LSfgGV-B9rTS8WT.js";
4
- import { Y as w, m as L } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
5
- const H = 40, $ = 38, T = 36, k = 35, z = {
1
+ import { defineComponent as f, toRef as y, createBlock as p, createCommentVNode as V, unref as o, openBlock as n, resolveComponent as I, createElementBlock as u, normalizeClass as c, createElementVNode as g, normalizeStyle as h, Fragment as x, renderList as v } from "vue";
2
+ import { t as S } from "./usePossibleValues-CtPV4Cjp-B6UlAJ8A.js";
3
+ import { p as C } from "./StyledListItem-BJEJoIzr-5JeRrk8P.js";
4
+ import { E as w, S as L } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
5
+ const H = 40, T = 38, $ = 36, k = 35, z = {
6
6
  name: "ListBox",
7
7
  components: {
8
8
  StyledListItem: C
@@ -135,7 +135,7 @@ const H = 40, $ = 38, T = 36, k = 35, z = {
135
135
  this.setSelected(this.selectableValues[e].id, e), this.$refs.ul.scrollTop = 0;
136
136
  },
137
137
  handleKeyDown(e) {
138
- this.disabled || (e.keyCode === H && (this.onArrowDown(), e.preventDefault()), e.keyCode === $ && (this.onArrowUp(), e.preventDefault()), e.keyCode === k && (this.onEndKey(), e.preventDefault()), e.keyCode === T && (this.onHomeKey(), e.preventDefault()));
138
+ this.disabled || (e.keyCode === H && (this.onArrowDown(), e.preventDefault()), e.keyCode === T && (this.onArrowUp(), e.preventDefault()), e.keyCode === k && (this.onEndKey(), e.preventDefault()), e.keyCode === $ && (this.onHomeKey(), e.preventDefault()));
139
139
  },
140
140
  hasSelection() {
141
141
  return this.selectedIndex >= 0;
@@ -176,7 +176,7 @@ function B(e, t, l, a, d, i) {
176
176
  "aria-activedescendant": i.generateOptionId(i.getCurrentItem()),
177
177
  onKeydown: t[0] || (t[0] = (...s) => i.handleKeyDown && i.handleKeyDown(...s))
178
178
  }, [
179
- (n(!0), u(v, null, x(i.selectableValues, (s, r) => (n(), p(b, {
179
+ (n(!0), u(x, null, v(i.selectableValues, (s, r) => (n(), p(b, {
180
180
  id: i.generateOptionId(s),
181
181
  key: `listbox-${s.id}`,
182
182
  ref_for: !0,
@@ -201,19 +201,20 @@ function B(e, t, l, a, d, i) {
201
201
  ], 44, A)
202
202
  ], 2);
203
203
  }
204
- const D = /* @__PURE__ */ w(z, [["render", B], ["__scopeId", "data-v-a437d16b"]]), O = /* @__PURE__ */ f({
204
+ const D = /* @__PURE__ */ w(z, [["render", B], ["__scopeId", "data-v-a437d16b"]]), N = /* @__PURE__ */ f({
205
205
  __name: "SingleSelectListBoxControl",
206
206
  props: {
207
207
  control: {},
208
208
  handleChange: { type: Function },
209
209
  changeValue: { type: Function },
210
210
  disabled: { type: Boolean },
211
- isValid: { type: Boolean },
211
+ error: { type: Boolean },
212
+ subText: {},
212
213
  onRegisterValidation: { type: Function },
213
214
  labelForId: {}
214
215
  },
215
216
  setup(e) {
216
- const t = e, { possibleValues: l } = S(V(t, "control"));
217
+ const t = e, { possibleValues: l } = S(y(t, "control"));
217
218
  return (a, d) => {
218
219
  var i;
219
220
  return o(l) ? (n(), p(o(D), {
@@ -222,14 +223,14 @@ const D = /* @__PURE__ */ w(z, [["render", B], ["__scopeId", "data-v-a437d16b"]]
222
223
  "possible-values": o(l),
223
224
  disabled: e.disabled,
224
225
  "model-value": e.control.data,
225
- "is-valid": e.isValid,
226
+ "is-valid": !e.error,
226
227
  ariaLabel: e.control.label,
227
228
  size: (i = e.control.uischema.options) == null ? void 0 : i.size,
228
229
  "onUpdate:modelValue": e.changeValue
229
- }, null, 8, ["id", "possible-values", "disabled", "model-value", "is-valid", "ariaLabel", "size", "onUpdate:modelValue"])) : y("", !0);
230
+ }, null, 8, ["id", "possible-values", "disabled", "model-value", "is-valid", "ariaLabel", "size", "onUpdate:modelValue"])) : V("", !0);
230
231
  };
231
232
  }
232
233
  });
233
234
  export {
234
- O as default
235
+ N as default
235
236
  };
@@ -0,0 +1,112 @@
1
+ import { defineComponent as w, computed as i, onMounted as x, watch as V, createBlock as L, openBlock as k, unref as F } from "vue";
2
+ import { a as _, r as A } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
+ function B(e, t, a, l) {
4
+ for (var o = e.length, r = a + -1; ++r < o; )
5
+ if (t(e[r], r, e))
6
+ return r;
7
+ return -1;
8
+ }
9
+ function E(e) {
10
+ return e !== e;
11
+ }
12
+ function N(e, t, a) {
13
+ for (var l = a - 1, o = e.length; ++l < o; )
14
+ if (e[l] === t)
15
+ return l;
16
+ return -1;
17
+ }
18
+ function S(e, t, a) {
19
+ return t === t ? N(e, t, a) : B(e, E, a);
20
+ }
21
+ function T(e, t, a) {
22
+ var l = e == null ? 0 : e.length;
23
+ if (!l)
24
+ return -1;
25
+ var o = 0;
26
+ return S(e, t, o);
27
+ }
28
+ const I = "<any unknown new column>", D = /* @__PURE__ */ w({
29
+ __name: "SortListControl",
30
+ props: {
31
+ control: {},
32
+ handleChange: { type: Function },
33
+ changeValue: { type: Function },
34
+ disabled: { type: Boolean },
35
+ error: { type: Boolean },
36
+ subText: {},
37
+ onRegisterValidation: { type: Function },
38
+ labelForId: {}
39
+ },
40
+ setup(e) {
41
+ const t = e, a = i(() => t.control.data), l = i(
42
+ () => t.control.uischema
43
+ ), o = i(
44
+ () => {
45
+ var n;
46
+ return ((n = l.value.options) == null ? void 0 : n.unknownElementId) ?? I;
47
+ }
48
+ ), r = i(
49
+ () => {
50
+ var n;
51
+ return ((n = l.value.options) == null ? void 0 : n.unknownElementLabel) ?? "Any unknown column";
52
+ }
53
+ ), s = _(
54
+ l,
55
+ "possibleValues",
56
+ []
57
+ ), p = (n) => {
58
+ var c;
59
+ const u = {
60
+ id: n.id,
61
+ text: n.text,
62
+ ...n.special ? { special: !0 } : {}
63
+ };
64
+ return (c = n.type) != null && c.id && (u.accessory = {
65
+ type: "dataType",
66
+ name: n.type.id
67
+ }), u;
68
+ }, v = i(
69
+ () => s.value.map(p).concat(
70
+ p({
71
+ id: o.value,
72
+ text: r.value,
73
+ special: !0
74
+ })
75
+ )
76
+ ), m = (n) => {
77
+ if (a.value.length === 0) {
78
+ b();
79
+ return;
80
+ }
81
+ const u = T(a.value, o.value);
82
+ if (u === -1)
83
+ throw new Error(
84
+ `SortList data have to contain the value "${o.value}"`
85
+ );
86
+ const c = a.value.slice(0, u + 1), y = a.value.slice(u + 1), g = new Set(a.value), f = n.map(({ id: d }) => d).filter((d) => !g.has(d));
87
+ f.length > 0 && t.changeValue(c.concat(f, y));
88
+ };
89
+ x(() => {
90
+ m(s.value);
91
+ }), V(() => s.value, m);
92
+ const b = () => {
93
+ t.changeValue(v.value.map(({ id: n }) => n));
94
+ }, h = (n) => {
95
+ t.changeValue(n);
96
+ };
97
+ return (n, u) => (k(), L(F(A), {
98
+ id: e.labelForId,
99
+ ariaLabel: e.control.label,
100
+ "possible-values": v.value,
101
+ "model-value": a.value,
102
+ disabled: e.disabled,
103
+ error: e.error,
104
+ "sub-text": e.subText,
105
+ "onUpdate:modelValue": h
106
+ }, null, 8, ["id", "ariaLabel", "possible-values", "model-value", "disabled", "error", "sub-text"]));
107
+ }
108
+ });
109
+ export {
110
+ I as DEFAULT_ANY_UNKNOWN_VALUES_ID,
111
+ D as default
112
+ };
@@ -1,25 +1,26 @@
1
- import { defineComponent as f, computed as t, createElementBlock as E, openBlock as C, createVNode as b, unref as n, withCtx as V, createBlock as F, createCommentVNode as v, mergeProps as _ } from "vue";
2
- import { d as h, au as I } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
3
- import { u as k, g as w } from "./useFileChooserBackend-Bs7hx7xH.js";
4
- import { u as D, _ as O, D as A } from "./DialogFileExplorer-Bi0DVFut.js";
5
- import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const T = { class: "flex-row" }, L = /* @__PURE__ */ f({
1
+ import { defineComponent as f, computed as t, createElementBlock as E, openBlock as C, createVNode as h, unref as n, withCtx as T, createBlock as F, createCommentVNode as v, mergeProps as _ } from "vue";
2
+ import { a as b, an as k } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
+ import { u as w, g as I } from "./useFileChooserBackend-DeqNZEZE.js";
4
+ import { u as V, _ as D, D as O } from "./DialogFileExplorer-BZuisQeJ.js";
5
+ import { _ as x } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
+ const A = { class: "flex-row" }, B = /* @__PURE__ */ f({
7
7
  __name: "SingleFileSystemFileChooserControl",
8
8
  props: {
9
9
  control: {},
10
10
  handleChange: { type: Function },
11
11
  changeValue: { type: Function },
12
12
  disabled: { type: Boolean },
13
- isValid: { type: Boolean },
13
+ error: { type: Boolean },
14
+ subText: {},
14
15
  onRegisterValidation: { type: Function },
15
16
  labelForId: {},
16
17
  backendType: {}
17
18
  },
18
19
  setup(c) {
19
- const l = c, a = t(() => l.control.uischema), { sideDrawerValue: p, updateSideDrawerValue: i, onApply: d } = D({
20
+ const l = c, a = t(() => l.control.uischema), { sideDrawerValue: p, updateSideDrawerValue: r, onApply: i } = V({
20
21
  onChange: l.changeValue,
21
22
  initialValue: t(() => l.control.data)
22
- }), { appendedExtension: u, filteredExtensions: r, isLoaded: m, isWriter: y } = k(a), e = h(
23
+ }), { appendedExtension: u, filteredExtensions: d, isLoaded: m, isWriter: y } = w(a), e = b(
23
24
  a,
24
25
  "selectionMode",
25
26
  "FILE"
@@ -27,33 +28,34 @@ const T = { class: "flex-row" }, L = /* @__PURE__ */ f({
27
28
  var o;
28
29
  return (o = a.value.options) == null ? void 0 : o.placeholder;
29
30
  });
30
- return (o, x) => (C(), E("div", T, [
31
- b(n(I), {
31
+ return (o, N) => (C(), E("div", A, [
32
+ h(n(k), {
32
33
  id: o.labelForId,
33
34
  class: "flex-grow",
34
35
  disabled: o.disabled,
35
36
  "model-value": o.control.data,
36
37
  placeholder: s.value,
37
- error: !o.isValid,
38
+ error: o.error,
39
+ "sub-text": o.subText,
38
40
  ariaLabel: "File path",
39
41
  "onUpdate:modelValue": o.changeValue
40
- }, null, 8, ["id", "disabled", "model-value", "placeholder", "error", "onUpdate:modelValue"]),
41
- b(O, {
42
+ }, null, 8, ["id", "disabled", "model-value", "placeholder", "error", "sub-text", "onUpdate:modelValue"]),
43
+ h(D, {
42
44
  disabled: o.disabled,
43
- onApply: n(d)
45
+ onApply: n(i)
44
46
  }, {
45
- default: V(({ applyAndClose: S, cancel: g }) => [
46
- n(m) ? (C(), F(A, {
47
+ default: T(({ applyAndClose: S, cancel: g }) => [
48
+ n(m) ? (C(), F(O, {
47
49
  key: 0,
48
50
  "backend-type": o.backendType,
49
51
  disabled: o.disabled,
50
52
  "initial-value": o.control.data,
51
53
  "is-writer": n(y),
52
- "filtered-extensions": n(r),
54
+ "filtered-extensions": n(d),
53
55
  "appended-extension": n(u),
54
56
  "initial-file-path": n(p),
55
57
  "selection-mode": n(e),
56
- onChooseItem: n(i),
58
+ onChooseItem: n(r),
57
59
  onApplyAndClose: S,
58
60
  onCancel: g
59
61
  }, null, 8, ["backend-type", "disabled", "initial-value", "is-writer", "filtered-extensions", "appended-extension", "initial-file-path", "selection-mode", "onChooseItem", "onApplyAndClose", "onCancel"])) : v("", !0)
@@ -62,21 +64,22 @@ const T = { class: "flex-row" }, L = /* @__PURE__ */ f({
62
64
  }, 8, ["disabled", "onApply"])
63
65
  ]));
64
66
  }
65
- }), N = /* @__PURE__ */ B(L, [["__scopeId", "data-v-03af4798"]]), K = /* @__PURE__ */ f({
67
+ }), L = /* @__PURE__ */ x(B, [["__scopeId", "data-v-d6b234ad"]]), K = /* @__PURE__ */ f({
66
68
  __name: "StringFileChooserControl",
67
69
  props: {
68
70
  control: {},
69
71
  handleChange: { type: Function },
70
72
  changeValue: { type: Function },
71
73
  disabled: { type: Boolean },
72
- isValid: { type: Boolean },
74
+ error: { type: Boolean },
75
+ subText: {},
73
76
  onRegisterValidation: { type: Function },
74
77
  labelForId: {}
75
78
  },
76
79
  setup(c) {
77
80
  const l = c, a = t(
78
81
  () => l.control.uischema
79
- ), p = h(a, "fileSystemId"), i = h(a, "connectedFSOptions"), d = t(() => {
82
+ ), p = b(a, "fileSystemId"), r = b(a, "connectedFSOptions"), i = t(() => {
80
83
  var e;
81
84
  return ((e = a.value.options) == null ? void 0 : e.fileSystem) ?? null;
82
85
  }), u = (e) => {
@@ -94,24 +97,24 @@ const T = { class: "flex-row" }, L = /* @__PURE__ */ f({
94
97
  default:
95
98
  throw new Error(`Unsupported file system: ${e}`);
96
99
  }
97
- }, r = t(() => {
100
+ }, d = t(() => {
98
101
  var o;
99
- if (d.value === null)
102
+ if (i.value === null)
100
103
  return p.value;
101
- const e = u(d.value), s = (o = i.value) == null ? void 0 : o.portIndex;
102
- return w(e, s);
104
+ const e = u(i.value), s = (o = r.value) == null ? void 0 : o.portIndex;
105
+ return I(e, s);
103
106
  }), m = t(() => {
104
- const e = d.value === "CONNECTED", s = !!i.value;
107
+ const e = i.value === "CONNECTED", s = !!r.value;
105
108
  return e && !s;
106
109
  }), y = t(
107
110
  () => {
108
111
  var e;
109
- return l.disabled || ((e = i.value) == null ? void 0 : e.fileSystemConnectionMissing) || m.value;
112
+ return l.disabled || ((e = r.value) == null ? void 0 : e.fileSystemConnectionMissing) || m.value;
110
113
  }
111
114
  );
112
- return (e, s) => r.value ? (C(), F(N, _({ key: 0 }, e.$props, {
115
+ return (e, s) => d.value ? (C(), F(L, _({ key: 0 }, e.$props, {
113
116
  disabled: y.value,
114
- "backend-type": r.value
117
+ "backend-type": d.value
115
118
  }), null, 16, ["disabled", "backend-type"])) : v("", !0);
116
119
  }
117
120
  });
@@ -1,5 +1,5 @@
1
1
  import { createElementBlock as s, openBlock as a, mergeProps as c, withModifiers as i, renderSlot as d, createTextVNode as n, toDisplayString as r } from "vue";
2
- import { Y as m } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
2
+ import { E as m } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
3
  const p = {
4
4
  name: "StyledListItem",
5
5
  props: {
@@ -1,18 +1,19 @@
1
- import { defineComponent as F, ref as v, computed as o, createElementBlock as N, openBlock as _, createElementVNode as r, createVNode as m, unref as b } from "vue";
2
- import { Y as S, j as V } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
3
- const C = { class: "team-and-space" }, T = { class: "team" }, j = { class: "space" }, k = /* @__PURE__ */ F({
1
+ import { defineComponent as F, ref as v, computed as o, createElementBlock as N, openBlock as T, createElementVNode as r, createVNode as m, unref as b } from "vue";
2
+ import { E as _, k as V } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
+ const k = { class: "team-and-space" }, E = { class: "team" }, x = { class: "space" }, C = /* @__PURE__ */ F({
4
4
  __name: "TeamAndSpacesControl",
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(t) {
15
- const s = t, n = v(""), l = v(""), h = o(
16
+ const s = t, u = v(""), l = v(""), h = o(
16
17
  () => s.control.uischema
17
18
  ), c = o(() => h.value.options), i = o(() => {
18
19
  var e;
@@ -20,29 +21,29 @@ const C = { class: "team-and-space" }, T = { class: "team" }, j = { class: "spac
20
21
  }), p = o(() => {
21
22
  var e;
22
23
  return ((e = c.value) == null ? void 0 : e.possibleSpaces) ?? [];
23
- }), u = o(
24
+ }), d = o(
24
25
  () => {
25
26
  var e;
26
- return ((e = p.value.find(({ id: a }) => a === n.value)) == null ? void 0 : e.spaces) ?? [];
27
+ return ((e = p.value.find(({ id: a }) => a === u.value)) == null ? void 0 : e.spaces) ?? [];
27
28
  }
28
- ), f = o(() => !s.control.enabled || i.value.length === 0), g = o(() => !s.control.enabled || u.value.length === 0), y = () => {
29
+ ), f = o(() => !s.control.enabled || i.value.length === 0), g = o(() => !s.control.enabled || d.value.length === 0), y = () => {
29
30
  if (s.control.data) {
30
31
  l.value = s.control.data;
31
32
  const e = p.value.find(
32
- ({ spaces: a }) => a.some(({ id: d }) => d === l.value)
33
+ ({ spaces: a }) => a.some(({ id: n }) => n === l.value)
33
34
  );
34
- e && (n.value = e.id);
35
+ e && (u.value = e.id);
35
36
  }
36
37
  }, B = () => {
37
38
  var e;
38
- l.value = ((e = u.value[0]) == null ? void 0 : e.id) ?? "", s.changeValue(l.value);
39
+ l.value = ((e = d.value[0]) == null ? void 0 : e.id) ?? "", s.changeValue(l.value);
39
40
  };
40
- return y(), (e, a) => (_(), N("div", C, [
41
- r("div", T, [
41
+ return y(), (e, a) => (T(), N("div", k, [
42
+ r("div", E, [
42
43
  m(b(V), {
43
- modelValue: n.value,
44
+ modelValue: u.value,
44
45
  "onUpdate:modelValue": [
45
- a[0] || (a[0] = (d) => n.value = d),
46
+ a[0] || (a[0] = (n) => u.value = n),
46
47
  B
47
48
  ],
48
49
  label: "Team",
@@ -52,23 +53,23 @@ const C = { class: "team-and-space" }, T = { class: "team" }, j = { class: "spac
52
53
  placeholder: "No team selected"
53
54
  }, null, 8, ["modelValue", "disabled", "possible-values"])
54
55
  ]),
55
- r("div", j, [
56
+ r("div", x, [
56
57
  m(b(V), {
57
58
  modelValue: l.value,
58
59
  "onUpdate:modelValue": [
59
- a[1] || (a[1] = (d) => l.value = d),
60
+ a[1] || (a[1] = (n) => l.value = n),
60
61
  a[2] || (a[2] = () => t.changeValue(l.value))
61
62
  ],
62
63
  label: "Space",
63
64
  "aria-label": "space-id",
64
65
  disabled: g.value,
65
- "possible-values": u.value,
66
+ "possible-values": d.value,
66
67
  placeholder: "No space selected"
67
68
  }, null, 8, ["modelValue", "disabled", "possible-values"])
68
69
  ])
69
70
  ]));
70
71
  }
71
- }), I = /* @__PURE__ */ S(k, [["__scopeId", "data-v-c51d9a0e"]]);
72
+ }), U = /* @__PURE__ */ _(C, [["__scopeId", "data-v-c51d9a0e"]]);
72
73
  export {
73
- I as default
74
+ U as default
74
75
  };