@knime/scripting-editor 0.0.127 → 0.0.129

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 (140) hide show
  1. package/dist/{AnyOfTwinlist-C0gjxeQW-C5wsbDLK.js → AnyOfTwinlist-Chx0nmt3-DPMbiVZd.js} +5 -4
  2. package/dist/{ArrayLayout-U4hs5LA_.js → ArrayLayout-C2-4wxkT.js} +39 -39
  3. package/dist/{ButtonControl-B8WGWs_m.js → ButtonControl-Dga3IomB.js} +26 -26
  4. package/dist/CheckboxControl-B8b1Di4k-CEkOsWEu.js +40 -0
  5. package/dist/CheckboxesControl-DWUnPGdN-BOSX_stf.js +42 -0
  6. package/dist/CodeEditorControl-CN4ltMvy.js +133 -0
  7. package/dist/{ColorControl-DeSwgyjS-BW1FBjqa.js → ColorControl-ByE5ku7u-C12pZ0rg.js} +10 -8
  8. package/dist/ColorPreviewControl-XiKZ4jfn-CLIjX6M_.js +89 -0
  9. package/dist/ComboBoxControl-zSceYlyZ-BgpAi7q9.js +42 -0
  10. package/dist/{ConfigurationNodeNotSupported-Bg2W0ik5.js → ConfigurationNodeNotSupported-B27grebd.js} +3 -3
  11. package/dist/ControlWithSubParameters-ROJGaqDF.js +63 -0
  12. package/dist/CredentialsControl-B6jczlBv.js +33 -0
  13. package/dist/CredentialsControlBase-CdNdAngd.js +96 -0
  14. package/dist/DateControl-BBGpEVpr-yZP_TZnE.js +44 -0
  15. package/dist/DateTimeControl-CymOURq5-Ca0mT1HW.js +89 -0
  16. package/dist/DateTimeFormatPickerControl-Bx19jwpr-Bd0xBs4D.js +37 -0
  17. package/dist/DateTimeFormatPickerWithTypeControl-Byo_0cTq-C0ZfMqtp.js +598 -0
  18. package/dist/{DialogFileExplorer-Bi0DVFut.js → DialogFileExplorer-BmT2YlVn.js} +2 -2
  19. package/dist/{DirtyTrackerRenderer-CDcL-lwX.js → DirtyTrackerRenderer-BG451zZD.js} +10 -10
  20. package/dist/DropdownControl-C6ffVYyf-hy0i8nDV.js +32 -0
  21. package/dist/DynamicInputControl-W23Zexge.js +6 -0
  22. package/dist/ExecutorCoresControl-D9FZ-g9O-Dws9IhAs.js +51 -0
  23. package/dist/ExecutorMemoryControl-__P80Lkb-DxQZ2IuA.js +44 -0
  24. package/dist/{FileChooserControl-BR84kEXy.js → FileChooserControl-BBbay7zU.js} +4 -3
  25. package/dist/{FileChooserControlBase-1oayQJzv.js → FileChooserControlBase-DpYYK3eE.js} +147 -143
  26. package/dist/{FileChooserControlForMultiFile-ChQtkmps.js → FileChooserControlForMultiFile-6NLYZKbt.js} +5 -4
  27. package/dist/FileUploadControl-DWs4PhOj-BvByW-Tq.js +545 -0
  28. package/dist/GridSelectionControl-WcJ4y6Fs-BoxSk0VG.js +117 -0
  29. package/dist/{HorizontalLayout-DwdPdBTW-w5bjgNga.js → HorizontalLayout-ByB5A7X3-BURAMMFG.js} +5 -5
  30. package/dist/{IntegerControl-D8OzxbRA-D9mR5ahj.js → IntegerControl-aveswmbr-50_b6vGY.js} +5 -4
  31. package/dist/IntervalControl-B4Eqs1Jf-CiB2D52B.js +51 -0
  32. package/dist/{LabeledGroup-BzXUTco4.js → LabeledGroup-BONZ_GLo.js} +3 -3
  33. package/dist/LegacyCredentialsControl-DaIrvNBd.js +88 -0
  34. package/dist/{LinkControl-BvBBTFCs-DojlONSA.js → LinkControl-DD56lOiw-CDy6OBu8.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-CscatDmg-BaroyBA0.js} +1 -1
  36. package/dist/ManualTwinlistControl-DBZ5RZgW-BV5qOGau.js +77 -0
  37. package/dist/MultiFileChooserControl-cyndOpF7.js +341 -0
  38. package/dist/{MultiRuleWrapper-TvQw5Kaj.js → MultiRuleWrapper-Db-W_o1f.js} +1 -1
  39. package/dist/{MultiSelectListBoxControl-nmvLP18g-feO16jJ4.js → MultiSelectListBoxControl-BMsPvxGQ-5ua-fVR8.js} +10 -9
  40. package/dist/{MultimodeTwinlistControl-yCdeWH2E-DG6GXu0l.js → MultimodeTwinlistControl-thO1be1r-8kc-JSH1.js} +64 -62
  41. package/dist/{NameFilter-D1TMJydD-Db00pnR3.js → NameFilter-DBMVmZmk-DnB-5f39.js} +7 -6
  42. package/dist/{NumberControl-uLMOLEbg-B_H33dGY.js → NumberControl-BPVO5l6t--nrQcx4m.js} +8 -7
  43. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-CR61f6d6-Df5EPyns.js +54 -0
  44. package/dist/OneOfDropdown-DBG8ZcpV-cZs_ptrT.js +36 -0
  45. package/dist/{RadioButtonsWithDescriptionControl-5M_6G7Qk-BHHWv0Y0.js → RadioButtonsWithDescriptionControl-BsqMTEB5-COGPhNPs.js} +17 -17
  46. package/dist/RadioControl-ClJmr0EQ-BzjoXaZ3.js +21 -0
  47. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-Bm4EUEvw-Cabfycg_.js +64 -0
  48. package/dist/ResourceControlBase-CeXYJeR1-DSmxhV0s.js +113 -0
  49. package/dist/{RichTextControl-D9QD2_uO-OY669heQ.js → RichTextControl-DvYkBpzH-CtMZq2re.js} +7876 -6699
  50. package/dist/{SectionLayout-DY27pAtG-BIZg0kiA.js → SectionLayout-CwRO3UXc-d5rFpCRN.js} +5 -5
  51. package/dist/SettingsSubPanelLayout-CV6y2bcX-OzpF07vB.js +64 -0
  52. package/dist/{SimpleTwinlistControl-P4KEYOq0-97VRLEr4.js → SimpleTwinlistControl-BSON5VYy-BaAaU86G.js} +7 -6
  53. package/dist/SingleSelectControl-BSqORMYm-CBP_mVGB.js +58 -0
  54. package/dist/{SingleSelectListBoxControl-oMWH0vEE-Ewf1HUGa.js → SingleSelectListBoxControl-CFdKzbOK-CruT9yt-.js} +14 -13
  55. package/dist/{SortListControl-4v3T2j_9-BkTlN-H5.js → SortListControl-DZIHeQmn-CKRyT1hN.js} +41 -39
  56. package/dist/{StringFileChooserControl-BVH5iHNM.js → StringFileChooserControl-Br8gZTku.js} +33 -30
  57. package/dist/{StyledListItem-D3LSfgGV-B9rTS8WT.js → StyledListItem--sgmJ3W_-Bo6f-_9B.js} +1 -1
  58. package/dist/{TeamAndSpacesControl-CH5ImByy-aTqgKpBn.js → TeamAndSpacesControl-DiMyDT-5-Br-Lq0ki.js} +21 -20
  59. package/dist/TeamResourceControl-Bag_dwA1-PdtnhxEi.js +44 -0
  60. package/dist/{TextAreaControl-CrsZSU_f-CNj59YPm.js → TextAreaControl-B52P0DAa-McfOgZWn.js} +10 -8
  61. package/dist/TextControl-52n-sttB-DssWw4KP.js +50962 -0
  62. package/dist/TimeControl-Cu12_qpz-CK1bxhya.js +71 -0
  63. package/dist/TimeframesControl-DhdC8OS1-DYseJbBV.js +352 -0
  64. package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-t1I2qxJz-DU6yd1RM.js +45 -0
  65. package/dist/{TypedStringFilter-ry7fTUTx-CCJRabai.js → TypedStringFilter-zJOICQei-B-5z8atp.js} +7 -6
  66. package/dist/{ValueSwitchControl-aVx7pUi9-7kuEbp3H.js → ValueSwitchControl-CEVWJH7z-DzuxqLvy.js} +7 -6
  67. package/dist/{VennDiagramLayout-D8s5yYbT.js → VennDiagramLayout-DyTZ5EJ9.js} +24 -24
  68. package/dist/{VerticalLayout-Bv-LJOZ0-BTrnMnQu.js → VerticalLayout-D_13xb_m-BfU1M3IE.js} +7 -7
  69. package/dist/ZonedDateTimeControl-C-vO6fC1-XngmuFqW.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-DzRZ2FYd-COyFmQqa.js +22 -0
  74. package/dist/collection-BBXRVj4b-grENCIdl.js +22 -0
  75. package/dist/main.js +9977 -13304
  76. package/dist/parameters.js +1 -1
  77. package/dist/plainDateTimeUtils-CR0UhpkD-DU-LM4_V.js +52 -0
  78. package/dist/src/components/ScriptingEditor.vue.d.ts +6 -4
  79. package/dist/src/components/SettingsPage.vue.d.ts +5 -4
  80. package/dist/src/scripting-service.d.ts +1 -1
  81. package/dist/useDropdownNavigation-CdrbT-CQ-Dxb_y1Fq.js +2003 -0
  82. package/dist/{useFileChooserBackend-Bs7hx7xH.js → useFileChooserBackend-CLdJ1RU1.js} +6 -6
  83. package/dist/usePlainDateTimeBatch-Bd2G-GY9-DO2Zu0Mj.js +34 -0
  84. package/dist/{usePossibleValues-B-W6u-1T-DcglK6MY.js → usePossibleValues-DiYOmnZW-CaSLjdK-.js} +4 -4
  85. package/package.json +3 -3
  86. package/dist/CheckboxControl-CS6iXHnF-DLCN_obF.js +0 -38
  87. package/dist/CheckboxesControl-CPKIkyWt-BgPFZcJW.js +0 -40
  88. package/dist/CodeEditorControl-DM7k0B2q.js +0 -103
  89. package/dist/ColorPreviewControl-CntI0nTL-qVTX4e1m.js +0 -89
  90. package/dist/ComboBoxControl-DBYnBkC4-1oOLCCms.js +0 -40
  91. package/dist/ControlWithSubParameters-DgJhqCMe.js +0 -80
  92. package/dist/CredentialsControl-CuHgBJQY.js +0 -32
  93. package/dist/CredentialsControlBase-14mA9Xg5.js +0 -96
  94. package/dist/DateControl-Cx_CwvNB-Cnu4FwAv.js +0 -35
  95. package/dist/DateTimeControl-BJsDzufC-BLhNM1JR.js +0 -56
  96. package/dist/DateTimeFormatPickerControl-C80v1qfK-0bjg1c9X.js +0 -35
  97. package/dist/DateTimeFormatPickerWithTypeControl-Dt-FKtYV-x-IJKc_b.js +0 -475
  98. package/dist/DropdownControl-D_BnA4-1-BWnnlfiI.js +0 -30
  99. package/dist/DynamicInputControl-u5VOv3zx.js +0 -6
  100. package/dist/ExecutorCoresControl-BnglyGMR-CagN3N5j.js +0 -56
  101. package/dist/ExecutorMemoryControl-CRATGs9C-Dsj7vG41.js +0 -50
  102. package/dist/FileUploadControl-D42rjpJg-DIoT6HeI.js +0 -221
  103. package/dist/GridSelectionControl-BJk8-yiM-CvDVlby0.js +0 -116
  104. package/dist/IntervalControl-Drljrv-b-WpTsaCtp.js +0 -751
  105. package/dist/LegacyCredentialsControl-C5OmuHPe.js +0 -87
  106. package/dist/ManualTwinlistControl-By0Hur_m-zZbz98JO.js +0 -75
  107. package/dist/MultiFileChooserControl-BDBYwcSY.js +0 -401
  108. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-VVQDBYw7-FEqHVnFo.js +0 -52
  109. package/dist/OneOfDropdown-CDwwxb3h-DAK0CMDe.js +0 -34
  110. package/dist/RadioControl-C73s-icb-DSF6WESw.js +0 -24
  111. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BScekfhl-oNoT_40f.js +0 -60
  112. package/dist/ResourceControlBase-Bqq1PAX_-5gNwtS9Y.js +0 -183
  113. package/dist/SettingsSubPanelLayout-82gMWhpv-DwWBU76p.js +0 -70
  114. package/dist/SingleSelectControl-C_ZKkV5m-nfkmmDbp.js +0 -56
  115. package/dist/TeamResourceControl-BFMuyWnk-DvcyxCqW.js +0 -47
  116. package/dist/TextControl-B0ag-3Pv-nwKlVRtp.js +0 -54671
  117. package/dist/TimeControl-Bt5OcjBc-KiaYQH-m.js +0 -41
  118. package/dist/TimePartInput-CvwAzDuY-CuNpUUqj.js +0 -253
  119. package/dist/TimeframesControl-BE3LFgyl-hQJ_5QVJ.js +0 -94
  120. package/dist/Tooltip-UlemzxdS-Dfhzj7no.js +0 -24
  121. package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-B5lCsIOD-KqyVUaZj.js +0 -42
  122. package/dist/ValueSwitch-BXaDBm2C-Ba93O_aZ.js +0 -130
  123. package/dist/ZonedDateTimeControl-6MUvXzd3-B1B9FPa7.js +0 -72
  124. package/dist/_Uint8Array-C_ozLuQF-DBc0hZkr.js +0 -349
  125. package/dist/arrow-dropdown-DMFBPPcK-uCJYJfqE.js +0 -17
  126. package/dist/arrow-next-BQULX8HT-DDsCfA5A.js +0 -17
  127. package/dist/floating-ui.vue-Fx4CxKut-DAsMxBCU.js +0 -1057
  128. package/dist/isArray-WzO_os3q-ClnPWjBY.js +0 -4
  129. package/dist/localTimeUtils-DBMwKtLh-CTshgG3l.js +0 -12470
  130. package/dist/src/lsp/completion.d.ts +0 -7
  131. package/dist/src/lsp/connection.d.ts +0 -56
  132. package/dist/src/lsp/diagnostics.d.ts +0 -4
  133. package/dist/src/lsp/doc-sync.d.ts +0 -5
  134. package/dist/src/lsp/hover.d.ts +0 -5
  135. package/dist/src/lsp/knime-io.d.ts +0 -22
  136. package/dist/src/lsp/mapping-utils.d.ts +0 -8
  137. package/dist/src/lsp/signature-help.d.ts +0 -5
  138. package/dist/toString-C-CNeuJl-jseUiiTM.js +0 -949
  139. package/dist/useDropdownNavigation-2Yhk7zes-75raAHpT.js +0 -821
  140. /package/dist/{useUnknownValuesInTwinlist-BbwGcno5-D2ve7iXH.js → useUnknownValuesInTwinlist-BhhirtmX-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-DcglK6MY.js";
3
- import { Y as L, o as P, m as R } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
4
- import { p as T } from "./StyledListItem-D3LSfgGV-B9rTS8WT.js";
2
+ import { t as O } from "./usePossibleValues-DiYOmnZW-CaSLjdK-.js";
3
+ import { P, f as L, o as R } from "./TextControl-52n-sttB-DssWw4KP.js";
4
+ import { p as T } from "./StyledListItem--sgmJ3W_-Bo6f-_9B.js";
5
5
  const M = (e, t) => {
6
6
  let i, n = 0;
7
7
  return (...l) => {
@@ -122,7 +122,7 @@ const M = (e, t) => {
122
122
  "keyArrowRight"
123
123
  ],
124
124
  setup(e) {
125
- const { containerProps: t, wrapperProps: i, list: n, scrollTo: l } = P(
125
+ const { containerProps: t, wrapperProps: i, list: n, scrollTo: l } = L(
126
126
  x(e, "possibleValues"),
127
127
  {
128
128
  itemHeight: 22
@@ -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__ */ P($, [["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-nwKlVRtp.js";
3
- import { i as x } from "./index-Blg1O3Fz-CGafpkU1.js";
4
- import { t as G, c as X } from "./usePossibleValues-B-W6u-1T-DcglK6MY.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 { ay as i, b as S } from "./TextControl-52n-sttB-DssWw4KP.js";
3
+ import { i as v } from "./index-Blg1O3Fz-CGafpkU1.js";
4
+ import { t as X, c as Y } from "./usePossibleValues-DiYOmnZW-CaSLjdK-.js";
5
+ import { p as $ } from "./toKdsPossibleValues-BklBg3gG-Dr1D12GJ.js";
6
+ import { F as W } from "./useUnknownValuesInTwinlist-BhhirtmX-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: T, 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,24 +31,24 @@ 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 = v(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 = v(
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
@@ -64,98 +65,99 @@ 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
76
  ), k = (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
+ }, L = () => {
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
+ }), L().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,
118
119
  text: n,
119
120
  accessory: { type: "dataType", name: t }
120
121
  }));
121
- }), L = (e) => {
122
- const l = (b.value ?? []).filter((t) => e.includes(t.id)).map(({ id: t, text: n }) => ({ id: t, text: n }));
123
- s({
122
+ }), M = (e) => {
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,
146
+ loading: u(p).selected === null,
147
+ "exclude-label": u(T),
148
+ "include-label": u(F),
149
+ error: o.error,
150
+ "sub-text": o.subText,
149
151
  "onUpdate:mode": k,
150
- "onUpdate:manuallyIncluded": w,
152
+ "onUpdate:manuallyIncluded": h,
151
153
  "onUpdate:manuallyExcluded": C,
152
154
  "onUpdate:includeUnknownValues": R,
153
- "onUpdate:pattern": g,
154
- "onUpdate:caseSensitive": V,
155
- "onUpdate:excludeMatches": A,
156
- "onUpdate:useRegex": D,
157
- "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"]);
155
+ "onUpdate:pattern": A,
156
+ "onUpdate:caseSensitive": I,
157
+ "onUpdate:excludeMatches": D,
158
+ "onUpdate:useRegex": g,
159
+ "onUpdate:selectedTypes": M
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-DG6GXu0l.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-thO1be1r-8kc-JSH1.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-FEqHVnFo.js";
3
- const u = /* @__PURE__ */ o({
1
+ import { defineComponent as o, createBlock as n, openBlock as t, mergeProps as r } from "vue";
2
+ import { V as l } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-CR61f6d6-Df5EPyns.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, V as b } from "./TextControl-52n-sttB-DssWw4KP.js";
3
+ const v = 1, V = 0.1, g = /* @__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 : V);
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
+ g as V
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 { e as b } from "./TextControl-52n-sttB-DssWw4KP.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-nwKlVRtp.js";
3
- const x = ["innerHTML"], B = ["innerHTML"], C = ["innerHTML"], F = /* @__PURE__ */ f({
1
+ import { defineComponent as f, computed as r, createElementBlock as t, openBlock as l, Fragment as c, createCommentVNode as T, renderList as V, createVNode as g, createElementVNode as s, unref as h, normalizeClass as x } from "vue";
2
+ import { g as y } from "./TextControl-52n-sttB-DssWw4KP.js";
3
+ const H = ["innerHTML"], L = ["innerHTML"], M = ["innerHTML"], F = /* @__PURE__ */ f({
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: b }) => ({
19
19
  id: d,
20
20
  text: e,
21
21
  price: v,
22
- description: V
22
+ description: b
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, V(u.value, (e) => (l(), t("label", {
34
34
  key: `radio-${e.id}`,
35
35
  class: "radio-wrapper"
36
36
  }, [
37
- y(L(g), {
37
+ g(h(y), {
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, H),
48
48
  s("div", {
49
- class: M(["price", { selected: a.control.data === e.id }]),
49
+ class: x(["price", { selected: a.control.data === e.id }]),
50
50
  innerHTML: e.price
51
- }, null, 10, B)
51
+ }, null, 10, L)
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)) : T("", !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-Bm4EUEvw-Cabfycg_.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 s, ref as y, toRef as h, createElementBlock as x, createCommentVNode as V, onMounted as g, openBlock as n, Fragment as F, createBlock as i, unref as t, mergeProps as m } from "vue";
2
+ import { T as k, K as B } from "./TextControl-52n-sttB-DssWw4KP.js";
3
+ import { c as T } from "./index-Blg1O3Fz-CGafpkU1.js";
4
+ import { t as C } from "./usePossibleValues-DiYOmnZW-CaSLjdK-.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 = s(() => {
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
+ }), u = y(null), { possibleValues: b } = C(h(l, "control"), {
28
+ defaultOnNonProvided: null
29
+ }), a = s(
30
+ () => {
31
+ var o;
32
+ return (o = b.value ?? u.value) == null ? void 0 : o.map(c);
33
+ }
34
+ );
35
+ return g(() => {
36
+ var o, r;
37
+ u.value = (r = (o = l.control) == null ? void 0 : o.schema) != null && r.oneOf ? l.control.schema.oneOf.map(T) : null;
38
+ }), (o, r) => a.value ? (n(), x(F, { key: 0 }, [
39
+ l.type === "valueSwitch" ? (n(), i(t(k), 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(B), 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
+ };