@knime/scripting-editor 0.0.126 → 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-DdmyqOPW.js → AnyOfTwinlist-SXwBBRp2-Bqhgogiq.js} +5 -4
  2. package/dist/{ArrayLayout-0R2_c1hY.js → ArrayLayout-Dh1QLh8H.js} +41 -41
  3. package/dist/{ButtonControl-CAZYfYSF.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-D4t0Ool5.js → ColorControl-B_mQdOCs-Dl3vNMVD.js} +10 -8
  8. package/dist/{ColorPreviewControl-CntI0nTL-B4W3C2Y0.js → ColorPreviewControl-BREwhSO9-uTvGtvF_.js} +21 -21
  9. package/dist/ComboBoxControl-BIZlnizm-7kcBjn_F.js +42 -0
  10. package/dist/{ConfigurationNodeNotSupported-DlGIHCIw.js → ConfigurationNodeNotSupported-CILWy-1v.js} +1 -1
  11. package/dist/{ControlWithSubParameters-yO5GSBha.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-LqJqncub.js → DialogFileExplorer-BZuisQeJ.js} +2 -2
  19. package/dist/{DirtyTrackerRenderer-UW-Cxf7s.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-D3xMMTLF.js → FileChooserControl-UiGh3RA6.js} +4 -3
  25. package/dist/{FileChooserControlBase-CI3pdTpr.js → FileChooserControlBase-C0jKG7YK.js} +148 -144
  26. package/dist/{FileChooserControlForMultiFile-DuAaeTcz.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-DNqvkBZ6.js → HorizontalLayout-CESRA3YR-DDxfF6ry.js} +7 -7
  30. package/dist/{IntegerControl-D8OzxbRA-DLAl4Ar6.js → IntegerControl-DKXN0mcE-DGJ3KRkb.js} +5 -4
  31. package/dist/IntervalControl-BswGPjcV-BmiAjHOy.js +51 -0
  32. package/dist/{LabeledGroup-CGcLflGw.js → LabeledGroup-5xwthvS8.js} +5 -5
  33. package/dist/LegacyCredentialsControl-DjJGg7vr.js +88 -0
  34. package/dist/{LinkControl-BvBBTFCs-B4x8DZjr.js → LinkControl-DTqOfnTg-BA_L4RtV.js} +10 -10
  35. package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-BLSG6Lpo-DtWE26ZK.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-BYA-GGQr.js → MultiRuleWrapper-B2ISI9_F.js} +1 -1
  39. package/dist/{MultiSelectListBoxControl-nmvLP18g-fumwGYev.js → MultiSelectListBoxControl-CjM94miu-DiufrbYU.js} +9 -8
  40. package/dist/{MultimodeTwinlistControl-yCdeWH2E-BiXMa7PW.js → MultimodeTwinlistControl-NMnPBn6a-DQkdp8td.js} +68 -66
  41. package/dist/{NameFilter-D1TMJydD-fZcEEzXz.js → NameFilter-DuVJG0SF-DAH98lDD.js} +7 -6
  42. package/dist/{NumberControl-uLMOLEbg-DEvsj1Mn.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-ChulOTPN.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-XEpxJaH_.js → RichTextControl-DH6GqUeF-DhVLA7bv.js} +7748 -6742
  50. package/dist/{SectionLayout-DY27pAtG-D9m5lyoN.js → SectionLayout-Cb3_L9Te-Ch2TL8Ns.js} +5 -5
  51. package/dist/{SettingsSubPanelLayout-82gMWhpv-CmIBNBVs.js → SettingsSubPanelLayout-DruWJjQA-BPDZqGKD.js} +22 -22
  52. package/dist/{SimpleTwinlistControl-P4KEYOq0-RZuXJS5p.js → SimpleTwinlistControl-CnBe4qsI-QQXdW90w.js} +7 -6
  53. package/dist/SingleSelectControl-C4Qzk2Ki-B4KRT-4U.js +58 -0
  54. package/dist/{SingleSelectListBoxControl-oMWH0vEE-CozC-ARB.js → SingleSelectListBoxControl-sLe2Y67h-aYZGPc-_.js} +14 -13
  55. package/dist/SortListControl-ChpYm3CZ-BHWX9fRm.js +112 -0
  56. package/dist/{StringFileChooserControl-CbuY9W_N.js → StringFileChooserControl-BGMU3nOp.js} +33 -30
  57. package/dist/{StyledListItem-D3LSfgGV-D8iKceFt.js → StyledListItem-BJEJoIzr-5JeRrk8P.js} +1 -1
  58. package/dist/{TeamAndSpacesControl-CH5ImByy-XXNR9HMn.js → TeamAndSpacesControl-7ZXPUwBb-DdkrLxnT.js} +21 -20
  59. package/dist/TeamResourceControl-BZDXMRLZ-Moa_pv2o.js +44 -0
  60. package/dist/{TextAreaControl-CrsZSU_f-D43BOhiB.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-DoWlznIt.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N-tQDZulBA.js} +16 -13
  65. package/dist/{TypedStringFilter-ry7fTUTx-BqgMPUbD.js → TypedStringFilter-Cx8OCQcE-Cx82QY6q.js} +7 -6
  66. package/dist/{ValueSwitchControl-aVx7pUi9-BQVaMPgo.js → ValueSwitchControl-1ax1yKbk-Dssrj-K0.js} +7 -6
  67. package/dist/{VennDiagramLayout-Bh7M9sdS.js → VennDiagramLayout-TqRKYgWl.js} +42 -42
  68. package/dist/{VerticalLayout-Bv-LJOZ0-Bhthjlig.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-Cf-ZWfup.js → useFileChooserBackend-DeqNZEZE.js} +6 -6
  80. package/dist/usePlainDateTimeBatch-Bd2G-GY9-DO2Zu0Mj.js +34 -0
  81. package/dist/{usePossibleValues-B-W6u-1T-CRO8qQzd.js → usePossibleValues-CtPV4Cjp-B6UlAJ8A.js} +3 -3
  82. package/package.json +6 -8
  83. package/dist/CheckboxControl-CS6iXHnF-aIaqHkPz.js +0 -38
  84. package/dist/CheckboxesControl-CPKIkyWt-Dfc5NCOp.js +0 -40
  85. package/dist/CodeEditorControl-BfC_vRfK.js +0 -103
  86. package/dist/ComboBoxControl-DBYnBkC4-YvQjV2xd.js +0 -40
  87. package/dist/CredentialsControl-BUdDVnKd.js +0 -32
  88. package/dist/CredentialsControlBase-CtiUUF6O.js +0 -96
  89. package/dist/DateControl-Cx_CwvNB-C6ZnNH2a.js +0 -35
  90. package/dist/DateTimeControl-BJsDzufC-BmyUPQid.js +0 -56
  91. package/dist/DateTimeFormatPickerControl-C80v1qfK-CksyyT9D.js +0 -35
  92. package/dist/DateTimeFormatPickerWithTypeControl-Dt-FKtYV-gb4KLPWO.js +0 -475
  93. package/dist/DropdownControl-D_BnA4-1-CZ3UBEZH.js +0 -30
  94. package/dist/DynamicInputControl-BW5MedWv.js +0 -6
  95. package/dist/ExecutorCoresControl-BnglyGMR-DCluaRJt.js +0 -56
  96. package/dist/ExecutorMemoryControl-CRATGs9C-BVornFOp.js +0 -50
  97. package/dist/FileUploadControl-D42rjpJg-BV-xemVF.js +0 -221
  98. package/dist/GridSelectionControl-BJk8-yiM-B-qEAJYS.js +0 -116
  99. package/dist/IntervalControl-Drljrv-b-HGlNWiOa.js +0 -751
  100. package/dist/LegacyCredentialsControl-SuSGcr6Q.js +0 -87
  101. package/dist/ManualTwinlistControl-By0Hur_m-CZ6mwit-.js +0 -75
  102. package/dist/MultiFileChooserControl-CnC8Sgqt.js +0 -401
  103. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-VVQDBYw7-DCpZfhmB.js +0 -52
  104. package/dist/OneOfDropdown-CDwwxb3h-1Z26R3-a.js +0 -34
  105. package/dist/RadioControl-C73s-icb-BvMjmtnc.js +0 -24
  106. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BScekfhl-Cu_jwWBt.js +0 -60
  107. package/dist/ResourceControlBase-Bqq1PAX_-Dr521i_s.js +0 -183
  108. package/dist/SingleSelectControl-C_ZKkV5m-DnVAQEBt.js +0 -56
  109. package/dist/SortListControl-4v3T2j_9-Dd2NciQI.js +0 -110
  110. package/dist/TeamResourceControl-BFMuyWnk-BjuVm4u6.js +0 -47
  111. package/dist/TextControl-B0ag-3Pv-CVDIw3MG.js +0 -54656
  112. package/dist/TimeControl-Bt5OcjBc-Bb-uwA5L.js +0 -41
  113. package/dist/TimePartInput-CvwAzDuY-BVy_Fjvr.js +0 -253
  114. package/dist/TimeframesControl-BE3LFgyl-BlMPvvjh.js +0 -94
  115. package/dist/Tooltip-UlemzxdS-CT790DKa.js +0 -24
  116. package/dist/ValueSwitch-BXaDBm2C-CKjAMq9f.js +0 -130
  117. package/dist/ZonedDateTimeControl-6MUvXzd3-CoRMMPNO.js +0 -72
  118. package/dist/_Uint8Array-C_ozLuQF-D-SZhESZ.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-C93hA6Y8.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-BV68kR4E.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,7 +1,7 @@
1
1
  import { defineComponent as y, toRef as x, createBlock as g, openBlock as h, unref as b, resolveComponent as S, createElementBlock as c, normalizeStyle as v, normalizeClass as I, createElementVNode as m, createCommentVNode as f, mergeProps as C, withKeys as a, withModifiers as d, normalizeProps as V, guardReactiveProps as w, Fragment as k, renderList as D, withCtx as H, renderSlot as K, resolveDynamicComponent as B, toDisplayString as N, createVNode as A, watch as z } from "vue";
2
- import { t as O } from "./usePossibleValues-B-W6u-1T-CRO8qQzd.js";
3
- import { Y as L, o as P, m as R } from "./TextControl-B0ag-3Pv-CVDIw3MG.js";
4
- import { p as T } from "./StyledListItem-D3LSfgGV-D8iKceFt.js";
2
+ import { t as O } from "./usePossibleValues-CtPV4Cjp-B6UlAJ8A.js";
3
+ import { E as L, l as P, S as R } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
4
+ import { p as T } from "./StyledListItem-BJEJoIzr-5JeRrk8P.js";
5
5
  const M = (e, t) => {
6
6
  let i, n = 0;
7
7
  return (...l) => {
@@ -447,7 +447,7 @@ const M = (e, t) => {
447
447
  key: 1,
448
448
  role: "bottom-box"
449
449
  };
450
- function Y(e, t, i, n, l, o) {
450
+ function q(e, t, i, n, l, o) {
451
451
  const r = S("StyledListItem");
452
452
  return h(), c("div", {
453
453
  class: I(["multiselect-list-box", { invalid: !i.isValid, disabled: i.disabled }]),
@@ -518,14 +518,15 @@ function Y(e, t, i, n, l, o) {
518
518
  ])
519
519
  ], 6);
520
520
  }
521
- const q = /* @__PURE__ */ L($, [["render", Y], ["__scopeId", "data-v-4ee62d65"]]), Z = /* @__PURE__ */ y({
521
+ const G = /* @__PURE__ */ L($, [["render", q], ["__scopeId", "data-v-4ee62d65"]]), Z = /* @__PURE__ */ y({
522
522
  __name: "MultiSelectListBoxControl",
523
523
  props: {
524
524
  control: {},
525
525
  handleChange: { type: Function },
526
526
  changeValue: { type: Function },
527
527
  disabled: { type: Boolean },
528
- isValid: { type: Boolean },
528
+ error: { type: Boolean },
529
+ subText: {},
529
530
  onRegisterValidation: { type: Function },
530
531
  labelForId: {}
531
532
  },
@@ -533,12 +534,12 @@ const q = /* @__PURE__ */ L($, [["render", Y], ["__scopeId", "data-v-4ee62d65"]]
533
534
  const t = e, { possibleValues: i } = O(x(t, "control"));
534
535
  return (n, l) => {
535
536
  var o;
536
- return h(), g(b(q), {
537
+ return h(), g(b(G), {
537
538
  id: e.labelForId,
538
539
  "possible-values": b(i) || [],
539
540
  disabled: e.disabled,
540
541
  "model-value": e.control.data,
541
- "is-valid": e.isValid,
542
+ "is-valid": !e.error,
542
543
  ariaLabel: e.control.label,
543
544
  size: (o = e.control.uischema.options) == null ? void 0 : o.size,
544
545
  "onUpdate:modelValue": e.changeValue
@@ -1,27 +1,28 @@
1
- import { defineComponent as P, toRef as v, computed as d, createBlock as B, openBlock as N, unref as i, mergeProps as S } from "vue";
2
- import { aS as u, b as $ } from "./TextControl-B0ag-3Pv-CVDIw3MG.js";
3
- import { i as x } from "./index-Blg1O3Fz-CGafpkU1.js";
4
- import { t as G, c as X } from "./usePossibleValues-B-W6u-1T-CRO8qQzd.js";
5
- import { p as Y } from "./toKdsPossibleValues-BklBg3gG-Dr1D12GJ.js";
6
- import { F as W } from "./useUnknownValuesInTwinlist-BbwGcno5-D2ve7iXH.js";
7
- const J = /* @__PURE__ */ P({
1
+ import { defineComponent as V, toRef as x, computed as d, createBlock as B, openBlock as N, unref as u, mergeProps as G } from "vue";
2
+ import { aM as i, T as S } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
+ import { i as T } from "./index-Blg1O3Fz-CGafpkU1.js";
4
+ import { t as X, c as Y } from "./usePossibleValues-CtPV4Cjp-B6UlAJ8A.js";
5
+ import { p as $ } from "./toKdsPossibleValues-BklBg3gG-Dr1D12GJ.js";
6
+ import { F as W } from "./useUnknownValuesInTwinlist-BCbqJg7j-D2ve7iXH.js";
7
+ const J = /* @__PURE__ */ V({
8
8
  __name: "MultimodeTwinlistControl",
9
9
  props: {
10
10
  control: {},
11
11
  handleChange: {},
12
12
  changeValue: {},
13
13
  disabled: { type: Boolean },
14
- isValid: { type: Boolean },
14
+ error: { type: Boolean },
15
+ subText: {},
15
16
  onRegisterValidation: {},
16
17
  labelForId: {},
17
18
  showUnknownValues: { type: Boolean, default: !1 },
18
19
  showTypeFilter: { type: Boolean, default: !1 }
19
20
  },
20
21
  setup(o) {
21
- const a = o, { possibleValues: c } = G(
22
- v(a, "control")
23
- ), { excludedLabel: F, includedLabel: U } = X(
24
- v(a, "control")
22
+ const a = o, { possibleValues: c } = X(
23
+ x(a, "control")
24
+ ), { excludedLabel: v, includedLabel: F } = Y(
25
+ x(a, "control")
25
26
  ), { selectedAndDeselected: p, setCurrentManualFilter: E } = W({
26
27
  data: d(() => a.control.data),
27
28
  possibleValueIds: d(
@@ -30,33 +31,33 @@ const J = /* @__PURE__ */ P({
30
31
  return ((e = c.value) == null ? void 0 : e.map(({ id: l }) => l)) ?? null;
31
32
  }
32
33
  )
33
- }), s = (e) => {
34
- const l = x(a.control.data, e);
34
+ }), r = (e) => {
35
+ const l = T(a.control.data, e);
35
36
  a.changeValue(l), E(l.manualFilter);
36
- }, T = d(
37
- () => Y(c.value ?? [])
37
+ }, U = d(
38
+ () => $(c.value ?? [])
38
39
  );
39
- let r = null;
40
- const h = () => {
41
- if (r !== null) {
42
- const e = r;
43
- r = null, s(e);
40
+ let s = null;
41
+ const w = () => {
42
+ if (s !== null) {
43
+ const e = s;
44
+ s = null, r(e);
44
45
  }
45
46
  }, m = (e) => {
46
- r === null ? (r = e, queueMicrotask(h)) : r = x(
47
- r,
47
+ s === null ? (s = e, queueMicrotask(w)) : s = T(
48
+ s,
48
49
  e
49
50
  );
50
- }, w = (e) => {
51
+ }, h = (e) => {
51
52
  m({
52
53
  manualFilter: { manuallySelected: e },
53
54
  selected: e
54
55
  });
55
- }, C = (e) => {
56
+ }, k = (e) => {
56
57
  m({
57
58
  manualFilter: { manuallyDeselected: e }
58
59
  });
59
- }, R = (e) => {
60
+ }, C = (e) => {
60
61
  e !== null && m({
61
62
  manualFilter: { includeUnknownColumns: e }
62
63
  });
@@ -64,54 +65,54 @@ const J = /* @__PURE__ */ P({
64
65
  switch (a.control.data.mode.toUpperCase()) {
65
66
  case "WILDCARD":
66
67
  case "REGEX":
67
- return u.PATTERN;
68
+ return i.PATTERN;
68
69
  case "TYPE":
69
- return u.TYPE;
70
+ return i.TYPE;
70
71
  default:
71
- return u.MANUAL;
72
+ return i.MANUAL;
72
73
  }
73
- }), f = d(
74
+ }), b = d(
74
75
  () => a.control.data.mode.toUpperCase() === "REGEX"
75
- ), k = (e) => {
76
+ ), R = (e) => {
76
77
  let l;
77
78
  switch (e) {
78
- case u.PATTERN:
79
- l = f.value ? "REGEX" : "WILDCARD";
79
+ case i.PATTERN:
80
+ l = b.value ? "REGEX" : "WILDCARD";
80
81
  break;
81
- case u.TYPE:
82
+ case i.TYPE:
82
83
  l = "TYPE";
83
84
  break;
84
85
  default:
85
86
  l = "MANUAL";
86
87
  }
87
- s({ mode: l });
88
- }, D = (e) => {
89
- y.value === u.PATTERN && s({ mode: e ? "REGEX" : "WILDCARD" });
88
+ r({ mode: l });
90
89
  }, g = (e) => {
91
- s({ patternFilter: { pattern: e } });
90
+ y.value === i.PATTERN && r({ mode: e ? "REGEX" : "WILDCARD" });
92
91
  }, A = (e) => {
93
- s({ patternFilter: { isInverted: e } });
94
- }, V = (e) => {
95
- s({ patternFilter: { isCaseSensitive: e } });
96
- }, I = () => {
92
+ r({ patternFilter: { pattern: e } });
93
+ }, D = (e) => {
94
+ r({ patternFilter: { isInverted: e } });
95
+ }, I = (e) => {
96
+ r({ patternFilter: { isCaseSensitive: e } });
97
+ }, M = () => {
97
98
  const e = a.control.data.typeFilter;
98
99
  if (!e)
99
100
  return [];
100
101
  const l = e.selectedTypes, t = new Map(
101
- (e.typeDisplays ?? []).map(({ id: n, text: M }) => [n, M])
102
+ (e.typeDisplays ?? []).map(({ id: n, text: P }) => [n, P])
102
103
  );
103
104
  return l.map((n) => ({
104
105
  id: n,
105
106
  text: t.get(n) || n
106
107
  }));
107
- }, b = d(() => {
108
+ }, f = d(() => {
108
109
  var l;
109
110
  if (!a.showTypeFilter)
110
111
  return;
111
112
  const e = /* @__PURE__ */ new Map();
112
113
  return (l = c.value) == null || l.forEach((t) => {
113
114
  t.type && e.set(t.type.id, t.type.text);
114
- }), I().forEach(({ id: t, text: n }) => {
115
+ }), M().forEach(({ id: t, text: n }) => {
115
116
  e.has(t) || e.set(t, n);
116
117
  }), [...e.entries()].map(([t, n]) => ({
117
118
  id: t,
@@ -119,43 +120,44 @@ const J = /* @__PURE__ */ P({
119
120
  accessory: { type: "dataType", name: t }
120
121
  }));
121
122
  }), L = (e) => {
122
- const l = (b.value ?? []).filter((t) => e.includes(t.id)).map(({ id: t, text: n }) => ({ id: t, text: n }));
123
- s({
123
+ const l = (f.value ?? []).filter((t) => e.includes(t.id)).map(({ id: t, text: n }) => ({ id: t, text: n }));
124
+ r({
124
125
  typeFilter: { selectedTypes: e, typeDisplays: l }
125
126
  });
126
127
  };
127
128
  return (e, l) => {
128
129
  var t;
129
- return N(), B(i($), S(e.$attrs, {
130
+ return N(), B(u(S), G(e.$attrs, {
130
131
  id: o.labelForId,
131
132
  ariaLabel: o.control.label,
132
133
  disabled: o.disabled,
133
134
  mode: y.value,
134
- "manually-included": i(p).selected ?? [],
135
- "manually-excluded": i(p).deselected ?? [],
135
+ "manually-included": u(p).selected ?? [],
136
+ "manually-excluded": u(p).deselected ?? [],
136
137
  "include-unknown-values": a.showUnknownValues ? a.control.data.manualFilter.includeUnknownColumns : null,
137
138
  pattern: o.control.data.patternFilter.pattern,
138
139
  "case-sensitive": o.control.data.patternFilter.isCaseSensitive,
139
140
  "exclude-matches": o.control.data.patternFilter.isInverted,
140
- "use-regex": f.value,
141
+ "use-regex": b.value,
141
142
  "selected-types": ((t = o.control.data.typeFilter) == null ? void 0 : t.selectedTypes) ?? [],
142
- "possible-values": T.value,
143
- "filter-types": b.value,
143
+ "possible-values": U.value,
144
+ "filter-types": f.value,
144
145
  "enable-pattern-filter": !0,
145
- loading: i(p).selected === null,
146
- "exclude-label": i(F),
147
- "include-label": i(U),
148
- error: !a.isValid,
149
- "onUpdate:mode": k,
150
- "onUpdate:manuallyIncluded": w,
151
- "onUpdate:manuallyExcluded": C,
152
- "onUpdate:includeUnknownValues": R,
153
- "onUpdate:pattern": g,
154
- "onUpdate:caseSensitive": V,
155
- "onUpdate:excludeMatches": A,
156
- "onUpdate:useRegex": D,
146
+ loading: u(p).selected === null,
147
+ "exclude-label": u(v),
148
+ "include-label": u(F),
149
+ error: o.error,
150
+ "sub-text": o.subText,
151
+ "onUpdate:mode": R,
152
+ "onUpdate:manuallyIncluded": h,
153
+ "onUpdate:manuallyExcluded": k,
154
+ "onUpdate:includeUnknownValues": C,
155
+ "onUpdate:pattern": A,
156
+ "onUpdate:caseSensitive": I,
157
+ "onUpdate:excludeMatches": D,
158
+ "onUpdate:useRegex": g,
157
159
  "onUpdate:selectedTypes": L
158
- }), null, 16, ["id", "ariaLabel", "disabled", "mode", "manually-included", "manually-excluded", "include-unknown-values", "pattern", "case-sensitive", "exclude-matches", "use-regex", "selected-types", "possible-values", "filter-types", "loading", "exclude-label", "include-label", "error"]);
160
+ }), null, 16, ["id", "ariaLabel", "disabled", "mode", "manually-included", "manually-excluded", "include-unknown-values", "pattern", "case-sensitive", "exclude-matches", "use-regex", "selected-types", "possible-values", "filter-types", "loading", "exclude-label", "include-label", "error", "sub-text"]);
159
161
  };
160
162
  }
161
163
  });
@@ -1,18 +1,19 @@
1
- import { defineComponent as n, createBlock as o, openBlock as t, mergeProps as a } from "vue";
2
- import l from "./MultimodeTwinlistControl-yCdeWH2E-BiXMa7PW.js";
3
- const u = /* @__PURE__ */ n({
1
+ import { defineComponent as n, createBlock as o, openBlock as t, mergeProps as l } from "vue";
2
+ import a from "./MultimodeTwinlistControl-NMnPBn6a-DQkdp8td.js";
3
+ const i = /* @__PURE__ */ n({
4
4
  __name: "NameFilter",
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(r) {
15
- return (e, s) => (t(), o(l, a({ ...e.$props, ...e.$attrs }, {
16
+ return (e, s) => (t(), o(a, l({ ...e.$props, ...e.$attrs }, {
16
17
  "unknown-values-text": "Any unknown value",
17
18
  "show-unknown-values": "",
18
19
  "empty-state-label": "No values in this list"
@@ -20,5 +21,5 @@ const u = /* @__PURE__ */ n({
20
21
  }
21
22
  });
22
23
  export {
23
- u as default
24
+ i as default
24
25
  };
@@ -1,20 +1,21 @@
1
- import { defineComponent as o, createBlock as n, openBlock as t, mergeProps as l } from "vue";
2
- import { h as p } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-VVQDBYw7-DCpZfhmB.js";
3
- const u = /* @__PURE__ */ o({
1
+ import { defineComponent as o, createBlock as n, openBlock as t, mergeProps as r } from "vue";
2
+ import { h as l } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8-BGSxRVVz.js";
3
+ const c = /* @__PURE__ */ o({
4
4
  __name: "NumberControl",
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
- setup(r) {
15
- return (e, a) => (t(), n(p, l(e.$props, { type: "double" }), null, 16));
15
+ setup(p) {
16
+ return (e, a) => (t(), n(l, r(e.$props, { type: "double" }), null, 16));
16
17
  }
17
18
  });
18
19
  export {
19
- u as default
20
+ c as default
20
21
  };
@@ -0,0 +1,54 @@
1
+ import { defineComponent as m, computed as r, createBlock as c, openBlock as d, unref as p } from "vue";
2
+ import { O as x, B as b } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
+ const v = 1, y = 0.1, h = /* @__PURE__ */ m({
4
+ __name: "NumberControlBase",
5
+ props: {
6
+ control: {},
7
+ handleChange: { type: Function },
8
+ changeValue: { type: Function },
9
+ disabled: { type: Boolean },
10
+ error: { type: Boolean },
11
+ subText: {},
12
+ onRegisterValidation: { type: Function },
13
+ labelForId: {},
14
+ type: {}
15
+ },
16
+ setup(l) {
17
+ const n = l, i = r(
18
+ () => {
19
+ var e;
20
+ return ((e = n.control.uischema.options) == null ? void 0 : e.stepSize) ?? (n.type === "integer" ? v : y);
21
+ }
22
+ ), t = x(
23
+ {
24
+ min: ({ min: e, isExclusive: o }) => (a) => isNaN(a) || (o ? a > e : a >= e),
25
+ max: ({ max: e, isExclusive: o }) => (a) => isNaN(a) || (o ? a < e : a <= e)
26
+ },
27
+ n
28
+ ), u = r(() => {
29
+ const e = t.value.min;
30
+ if (!(!e || e.min === null))
31
+ return e.min + (e.isExclusive ? i.value : 0);
32
+ }), s = r(() => {
33
+ const e = t.value.max;
34
+ if (!(!e || e.max === null))
35
+ return e.max - (e.isExclusive ? i.value : 0);
36
+ });
37
+ return (e, o) => (d(), c(p(b), {
38
+ id: l.labelForId,
39
+ ariaLabel: l.control.label,
40
+ class: "number-input",
41
+ disabled: l.disabled,
42
+ "model-value": l.control.data,
43
+ min: u.value,
44
+ max: s.value,
45
+ step: i.value,
46
+ error: l.error,
47
+ "sub-text": l.subText,
48
+ "onUpdate:modelValue": l.changeValue
49
+ }, null, 8, ["id", "ariaLabel", "disabled", "model-value", "min", "max", "step", "error", "sub-text", "onUpdate:modelValue"]));
50
+ }
51
+ });
52
+ export {
53
+ h
54
+ };
@@ -0,0 +1,36 @@
1
+ import { defineComponent as u, computed as i, createBlock as p, openBlock as c, unref as r } from "vue";
2
+ import { k as b } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
+ import { c as m } from "./index-Blg1O3Fz-CGafpkU1.js";
4
+ const h = /* @__PURE__ */ u({
5
+ __name: "OneOfDropdown",
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(e) {
17
+ var l, t;
18
+ const o = e, d = ((t = (l = o.control.schema) == null ? void 0 : l.oneOf) == null ? void 0 : t.map(m)) ?? [], a = i({
19
+ get: () => o.control.data ?? "",
20
+ set: o.changeValue
21
+ });
22
+ return (f, n) => (c(), p(r(b), {
23
+ id: e.labelForId,
24
+ modelValue: a.value,
25
+ "onUpdate:modelValue": n[0] || (n[0] = (s) => a.value = s),
26
+ "possible-values": r(d),
27
+ ariaLabel: e.control.label,
28
+ disabled: e.disabled,
29
+ error: e.error,
30
+ "sub-text": e.subText
31
+ }, null, 8, ["id", "modelValue", "possible-values", "ariaLabel", "disabled", "error", "sub-text"]));
32
+ }
33
+ });
34
+ export {
35
+ h as default
36
+ };
@@ -1,6 +1,6 @@
1
- import { defineComponent as f, computed as i, createElementBlock as t, openBlock as l, Fragment as c, createCommentVNode as b, renderList as h, createVNode as y, createElementVNode as s, unref as L, normalizeClass as M } from "vue";
2
- import { u as g } from "./TextControl-B0ag-3Pv-CVDIw3MG.js";
3
- const x = ["innerHTML"], B = ["innerHTML"], C = ["innerHTML"], F = /* @__PURE__ */ f({
1
+ import { defineComponent as b, computed as r, createElementBlock as t, openBlock as l, Fragment as c, createCommentVNode as f, renderList as T, createVNode as V, createElementVNode as s, unref as h, normalizeClass as y } from "vue";
2
+ import { x as H } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
+ const L = ["innerHTML"], g = ["innerHTML"], M = ["innerHTML"], F = /* @__PURE__ */ b({
4
4
  __name: "RadioButtonsWithDescriptionControl",
5
5
  props: {
6
6
  control: {},
@@ -8,20 +8,20 @@ const x = ["innerHTML"], B = ["innerHTML"], C = ["innerHTML"], F = /* @__PURE__
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 n = a, u = i(() => {
16
+ const n = a, u = r(() => {
17
17
  var o;
18
- return ((o = n.control.schema.oneOf) == null ? void 0 : o.map(({ const: d, title: e, price: v, description: V }) => ({
18
+ return ((o = n.control.schema.oneOf) == null ? void 0 : o.map(({ const: d, title: e, price: v, description: x }) => ({
19
19
  id: d,
20
20
  text: e,
21
21
  price: v,
22
- description: V
22
+ description: x
23
23
  }))) || [];
24
- }), p = i(() => !n.control.enabled), r = i(
24
+ }), p = r(() => !n.control.enabled), i = r(
25
25
  () => {
26
26
  var o;
27
27
  return ((o = n.control.uischema.options) == null ? void 0 : o.footnote) || null;
@@ -30,11 +30,11 @@ const x = ["innerHTML"], B = ["innerHTML"], C = ["innerHTML"], F = /* @__PURE__
30
30
  n.changeValue(o);
31
31
  };
32
32
  return (o, d) => (l(), t(c, null, [
33
- (l(!0), t(c, null, h(u.value, (e) => (l(), t("label", {
33
+ (l(!0), t(c, null, T(u.value, (e) => (l(), t("label", {
34
34
  key: `radio-${e.id}`,
35
35
  class: "radio-wrapper"
36
36
  }, [
37
- y(L(g), {
37
+ V(h(H), {
38
38
  class: "radio-button",
39
39
  "model-value": a.control.data === e.id,
40
40
  text: e.text,
@@ -44,17 +44,17 @@ const x = ["innerHTML"], B = ["innerHTML"], C = ["innerHTML"], F = /* @__PURE__
44
44
  s("div", {
45
45
  class: "description",
46
46
  innerHTML: e.description
47
- }, null, 8, x),
47
+ }, null, 8, L),
48
48
  s("div", {
49
- class: M(["price", { selected: a.control.data === e.id }]),
49
+ class: y(["price", { selected: a.control.data === e.id }]),
50
50
  innerHTML: e.price
51
- }, null, 10, B)
51
+ }, null, 10, g)
52
52
  ]))), 128)),
53
- r.value ? (l(), t("div", {
53
+ i.value ? (l(), t("div", {
54
54
  key: 0,
55
55
  class: "footnote",
56
- innerHTML: r.value
57
- }, null, 8, C)) : b("", !0)
56
+ innerHTML: i.value
57
+ }, null, 8, M)) : f("", !0)
58
58
  ], 64));
59
59
  }
60
60
  });
@@ -0,0 +1,21 @@
1
+ import { defineComponent as o, createBlock as n, openBlock as t, mergeProps as r } from "vue";
2
+ import { T as p } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-jxw_5dVt-B1RfPe72.js";
3
+ const c = /* @__PURE__ */ o({
4
+ __name: "RadioControl",
5
+ props: {
6
+ control: {},
7
+ handleChange: { type: Function },
8
+ changeValue: { type: Function },
9
+ disabled: { type: Boolean },
10
+ error: { type: Boolean },
11
+ subText: {},
12
+ onRegisterValidation: { type: Function },
13
+ labelForId: {}
14
+ },
15
+ setup(a) {
16
+ return (e, l) => (t(), n(p, r(e.$props, { type: "radio" }), null, 16));
17
+ }
18
+ });
19
+ export {
20
+ c as default
21
+ };
@@ -0,0 +1,64 @@
1
+ import { defineComponent as v, useAttrs as f, computed as u, ref as y, toRef as h, createElementBlock as x, createCommentVNode as V, onMounted as g, openBlock as n, Fragment as C, createBlock as i, unref as t, mergeProps as m } from "vue";
2
+ import { C as F, m as k } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
+ import { c as B } from "./index-Blg1O3Fz-CGafpkU1.js";
4
+ import { t as T } from "./usePossibleValues-CtPV4Cjp-B6UlAJ8A.js";
5
+ const A = /* @__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 d = f(), l = e, p = u(() => {
21
+ var o;
22
+ return (o = l.control.uischema.options) == null ? void 0 : o.radioLayout;
23
+ }), c = (o) => ({
24
+ id: o.id,
25
+ text: o.text,
26
+ ...o.disabled ? { disabled: !0 } : {}
27
+ }), s = y(null), { possibleValues: b } = T(h(l, "control"), {
28
+ defaultOnNonProvided: null
29
+ }), a = u(
30
+ () => {
31
+ var o;
32
+ return (o = b.value ?? s.value) == null ? void 0 : o.map(c);
33
+ }
34
+ );
35
+ return g(() => {
36
+ var o, r;
37
+ s.value = (r = (o = l.control) == null ? void 0 : o.schema) != null && r.oneOf ? l.control.schema.oneOf.map(B) : null;
38
+ }), (o, r) => a.value ? (n(), x(C, { key: 0 }, [
39
+ l.type === "valueSwitch" ? (n(), i(t(F), m({ key: 0 }, t(d), {
40
+ id: e.labelForId,
41
+ "possible-values": a.value,
42
+ disabled: e.disabled,
43
+ "model-value": e.control.data,
44
+ error: e.error,
45
+ "sub-text": e.subText,
46
+ size: "small",
47
+ variant: "muted",
48
+ "onUpdate:modelValue": e.changeValue
49
+ }), null, 16, ["id", "possible-values", "disabled", "model-value", "error", "sub-text", "onUpdate:modelValue"])) : (n(), i(t(k), m({ key: 1 }, t(d), {
50
+ id: e.labelForId,
51
+ "possible-values": a.value,
52
+ alignment: p.value,
53
+ disabled: e.disabled,
54
+ "model-value": e.control.data,
55
+ error: e.error,
56
+ "sub-text": e.subText,
57
+ "onUpdate:modelValue": e.changeValue
58
+ }), null, 16, ["id", "possible-values", "alignment", "disabled", "model-value", "error", "sub-text", "onUpdate:modelValue"]))
59
+ ], 64)) : V("", !0);
60
+ }
61
+ });
62
+ export {
63
+ A as T
64
+ };