@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,60 +0,0 @@
1
- import { defineComponent as c, computed as i, ref as v, toRef as b, createElementBlock as f, createCommentVNode as y, onMounted as V, openBlock as n, Fragment as g, createBlock as u, unref as s } from "vue";
2
- import { i as h, N as k } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
3
- import { c as F } from "./index-Blg1O3Fz-CGafpkU1.js";
4
- import { t as B } from "./usePossibleValues-B-W6u-1T-DcglK6MY.js";
5
- const I = /* @__PURE__ */ c({
6
- __name: "RadioControlBase",
7
- props: {
8
- control: {},
9
- handleChange: { type: Function },
10
- changeValue: { type: Function },
11
- disabled: { type: Boolean },
12
- isValid: { type: Boolean },
13
- onRegisterValidation: { type: Function },
14
- labelForId: {},
15
- type: {}
16
- },
17
- setup(l) {
18
- const o = l, r = i(() => {
19
- var e;
20
- return (e = o.control.uischema.options) == null ? void 0 : e.radioLayout;
21
- }), m = (e) => ({
22
- id: e.id,
23
- text: e.text,
24
- ...e.disabled ? { disabled: !0 } : {}
25
- }), d = v(null), { possibleValues: p } = B(b(o, "control"), {
26
- defaultOnNonProvided: null
27
- }), a = i(
28
- () => {
29
- var e;
30
- return (e = p.value ?? d.value) == null ? void 0 : e.map(m);
31
- }
32
- );
33
- return V(() => {
34
- var e, t;
35
- d.value = (t = (e = o.control) == null ? void 0 : e.schema) != null && t.oneOf ? o.control.schema.oneOf.map(F) : null;
36
- }), (e, t) => a.value ? (n(), f(g, { key: 0 }, [
37
- o.type === "valueSwitch" ? (n(), u(s(h), {
38
- key: 0,
39
- id: l.labelForId,
40
- "possible-values": a.value,
41
- disabled: l.disabled,
42
- "model-value": l.control.data,
43
- size: "small",
44
- variant: "muted",
45
- "onUpdate:modelValue": l.changeValue
46
- }, null, 8, ["id", "possible-values", "disabled", "model-value", "onUpdate:modelValue"])) : (n(), u(s(k), {
47
- key: 1,
48
- id: l.labelForId,
49
- "possible-values": a.value,
50
- alignment: r.value,
51
- disabled: l.disabled,
52
- "model-value": l.control.data,
53
- "onUpdate:modelValue": l.changeValue
54
- }, null, 8, ["id", "possible-values", "alignment", "disabled", "model-value", "onUpdate:modelValue"]))
55
- ], 64)) : y("", !0);
56
- }
57
- });
58
- export {
59
- I as U
60
- };
@@ -1,183 +0,0 @@
1
- import { defineComponent as B, computed as a, createElementBlock as c, openBlock as n, createBlock as _, resolveDynamicComponent as F, withCtx as L, createVNode as w, createCommentVNode as M, unref as N, renderSlot as $, createElementVNode as p, normalizeClass as g } from "vue";
2
- import { Y as C, E } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
3
- import { k as I } from "./Tooltip-UlemzxdS-Dfhzj7no.js";
4
- const T = { class: "donut-container" }, U = ["viewBox"], D = ["r"], R = ["r"], z = ["viewBox"], P = ["r", "stroke-width"], S = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"], Y = ["r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "transform"], j = 0.5, o = 22, b = 10, A = /* @__PURE__ */ B({
5
- __name: "SmallDonutChart",
6
- props: {
7
- value: {},
8
- secondaryValue: { default: 0 },
9
- maxValue: {},
10
- acceptValuesLargerThanMax: { type: Boolean, default: !1 },
11
- animate: { type: Boolean, default: !0 }
12
- },
13
- setup(t) {
14
- const l = a(() => {
15
- const e = Math.max(0, t.value);
16
- return t.acceptValuesLargerThanMax ? e : Math.min(e, t.maxValue);
17
- }), h = a(() => {
18
- const e = Math.max(0, t.secondaryValue + l.value);
19
- return t.acceptValuesLargerThanMax ? e : Math.min(e, t.maxValue);
20
- }), s = a(() => o - b), x = a(
21
- // to account for rendering inaccuracies the background stroke is slightly smaller than the wedge stroke
22
- () => s.value - j
23
- ), u = a(() => o - s.value / 2), i = a(() => 2 * o), d = a(() => `0 0 ${i.value} ${i.value}`), r = a(() => 2 * Math.PI * u.value), m = (e) => {
24
- if (t.maxValue <= 0 || !Number.isFinite(t.maxValue))
25
- return r.value;
26
- const V = Math.min(
27
- e / t.maxValue * r.value,
28
- r.value
29
- );
30
- return Math.max(r.value - V, 0);
31
- }, f = a(
32
- () => m(l.value)
33
- ), y = a(
34
- () => m(h.value)
35
- ), v = a(() => `rotate(-90, ${o}, ${o})`), k = a(() => !Number.isFinite(t.maxValue));
36
- return (e, V) => (n(), c("div", T, [
37
- k.value ? (n(), c("svg", {
38
- key: 0,
39
- viewBox: d.value,
40
- class: "donut-chart"
41
- }, [
42
- p("circle", {
43
- class: "disabled-circle",
44
- cx: o,
45
- cy: o,
46
- r: o - 0.5,
47
- "stroke-width": "1",
48
- fill: "transparent"
49
- }, null, 8, D),
50
- p("circle", {
51
- class: "disabled-inner-circle",
52
- cx: o,
53
- cy: o,
54
- r: b + 0.5,
55
- "stroke-width": "1",
56
- fill: "transparent"
57
- }, null, 8, R)
58
- ], 8, U)) : (n(), c("svg", {
59
- key: 1,
60
- viewBox: d.value,
61
- class: "donut-chart"
62
- }, [
63
- p("circle", {
64
- class: "background-circle",
65
- cx: o,
66
- cy: o,
67
- r: u.value,
68
- "stroke-width": x.value,
69
- fill: "transparent"
70
- }, null, 8, P),
71
- t.secondaryValue ? (n(), c("circle", {
72
- key: 0,
73
- class: g(["value-wedge", "secondary-segment", { animate: t.animate }]),
74
- cx: o,
75
- cy: o,
76
- r: u.value,
77
- "stroke-width": s.value,
78
- "stroke-dasharray": r.value,
79
- "stroke-dashoffset": y.value,
80
- fill: "transparent",
81
- transform: v.value
82
- }, null, 10, S)) : M("", !0),
83
- p("circle", {
84
- class: g(["value-wedge", "primary-segment", { animate: t.animate }]),
85
- cx: o,
86
- cy: o,
87
- r: u.value,
88
- "stroke-width": s.value,
89
- "stroke-dasharray": r.value,
90
- "stroke-dashoffset": f.value,
91
- fill: "transparent",
92
- transform: v.value
93
- }, null, 10, Y)
94
- ], 8, z))
95
- ]));
96
- }
97
- }), G = /* @__PURE__ */ C(A, [["__scopeId", "data-v-f344a6aa"]]), K = {
98
- key: 0,
99
- class: "chart"
100
- }, Q = /* @__PURE__ */ B({
101
- __name: "ResourceControlBase",
102
- props: {
103
- control: {},
104
- handleChange: { type: Function },
105
- changeValue: { type: Function },
106
- disabled: { type: Boolean },
107
- isValid: { type: Boolean },
108
- onRegisterValidation: { type: Function },
109
- labelForId: {}
110
- },
111
- setup(t) {
112
- const l = t, h = a(
113
- () => {
114
- var e;
115
- return ((e = l.control.uischema.options) == null ? void 0 : e.modelMax) ?? !1;
116
- }
117
- ), s = a(
118
- // if currentUsage is supplied the donut chart should use that since the data will model something else (e.g. the maximum usage)
119
- () => {
120
- var e;
121
- return ((e = l.control.uischema.options) == null ? void 0 : e.currentUsage) ?? l.control.data;
122
- }
123
- ), x = a(
124
- () => l.control.schema.secondaryValue ?? 0
125
- ), u = a(
126
- () => {
127
- var e;
128
- return h.value ? l.control.data : ((e = l.control.uischema.options) == null ? void 0 : e.donutMax) ?? l.control.schema.maximum;
129
- }
130
- ), i = a(
131
- () => {
132
- var e;
133
- return ((e = l.control.uischema.options) == null ? void 0 : e.disabledTooltip) || "";
134
- }
135
- ), d = a(() => l.disabled && i.value ? I : "div"), r = a(() => {
136
- var e;
137
- return ((e = l.control.uischema.options) == null ? void 0 : e.animate) ?? !0;
138
- }), m = a(
139
- () => {
140
- var e;
141
- return ((e = l.control.uischema.options) == null ? void 0 : e.showDonut) ?? !0;
142
- }
143
- ), f = a(() => l.control.schema.minimum ?? 0), y = a(() => l.control.schema.maximum ?? 1 / 0), v = a(() => {
144
- var e;
145
- return ((e = l.control.uischema.options) == null ? void 0 : e.step) ?? 1;
146
- }), k = a(() => {
147
- var e;
148
- return ((e = l.control.uischema.options) == null ? void 0 : e.unit) ?? "";
149
- });
150
- return (e, V) => (n(), c("div", null, [
151
- (n(), _(F(d.value), {
152
- text: i.value,
153
- class: "input-wrapper"
154
- }, {
155
- default: L(() => [
156
- w(N(E), {
157
- ariaLabel: t.control.label,
158
- "model-value": t.control.data,
159
- min: f.value,
160
- max: y.value,
161
- step: v.value,
162
- unit: k.value,
163
- disabled: t.disabled,
164
- "onUpdate:modelValue": t.changeValue
165
- }, null, 8, ["ariaLabel", "model-value", "min", "max", "step", "unit", "disabled", "onUpdate:modelValue"]),
166
- m.value ? (n(), c("div", K, [
167
- w(G, {
168
- value: s.value,
169
- "secondary-value": x.value,
170
- "max-value": u.value,
171
- animate: r.value
172
- }, null, 8, ["value", "secondary-value", "max-value", "animate"]),
173
- $(e.$slots, "donut-info", {}, void 0, !0)
174
- ])) : M("", !0)
175
- ]),
176
- _: 3
177
- }, 8, ["text"]))
178
- ]));
179
- }
180
- }), J = /* @__PURE__ */ C(Q, [["__scopeId", "data-v-fc148f36"]]);
181
- export {
182
- J as Q
183
- };
@@ -1,70 +0,0 @@
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({
5
- __name: "SettingsSubPanelLayout",
6
- props: {
7
- layout: {}
8
- },
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"
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)
16
- }, [
17
- a(B, {
18
- "show-back-arrow": "",
19
- "back-button-label": b.value,
20
- "background-color-override": "var(--knime-gray-ultra-light)"
21
- }, {
22
- "expand-button": l(({ expand: t }) => [
23
- a(C, {
24
- "title-text": e.layout.uischema.label
25
- }, {
26
- "right-buttons": l(() => [
27
- i("div", A, [
28
- x(p.$slots, "buttons", { hover: n.value }, void 0, !0),
29
- a(r(V), {
30
- compact: "",
31
- class: "set-button",
32
- onClick: t
33
- }, {
34
- default: l(() => [
35
- i("span", null, _(m.value), 1),
36
- a(r($))
37
- ]),
38
- _: 1
39
- }, 8, ["onClick"])
40
- ])
41
- ]),
42
- _: 2
43
- }, 1032, ["title-text"])
44
- ]),
45
- default: l(() => [
46
- a(S, {
47
- elements: e.layout.uischema.elements
48
- }, {
49
- default: l(({ element: t, index: h }) => [
50
- (c(), k(r(w), {
51
- key: `${e.layout.path}-${h}`,
52
- schema: e.layout.schema,
53
- uischema: t,
54
- path: e.layout.path,
55
- enabled: e.layout.enabled,
56
- renderers: e.layout.renderers,
57
- cells: e.layout.cells
58
- }, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))
59
- ]),
60
- _: 1
61
- }, 8, ["elements"])
62
- ]),
63
- _: 3
64
- }, 8, ["back-button-label"])
65
- ], 32));
66
- }
67
- }), P = /* @__PURE__ */ g(E, [["__scopeId", "data-v-7ec268f9"]]);
68
- export {
69
- P as default
70
- };
@@ -1,56 +0,0 @@
1
- import { defineComponent as _, computed as c, toRef as V, createBlock as y, openBlock as $ } from "vue";
2
- import { t as F } from "./usePossibleValues-B-W6u-1T-DcglK6MY.js";
3
- import { L as x } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-BLSG6Lpo-CtYj2B6v.js";
4
- const i = "__special__", t = "__regular__", S = /* @__PURE__ */ _({
5
- __name: "SingleSelectControl",
6
- props: {
7
- control: {},
8
- handleChange: { type: Function },
9
- changeValue: { type: Function },
10
- disabled: { type: Boolean },
11
- isValid: { type: Boolean },
12
- onRegisterValidation: { type: Function },
13
- labelForId: {}
14
- },
15
- setup(a) {
16
- const o = a, d = c(
17
- () => o.control.uischema.options.specialChoices
18
- ), { possibleValues: n } = F(
19
- V(o, "control")
20
- ), s = (e) => `${i}${e}`, u = (e) => `${t}${e}`, h = ({
21
- id: e,
22
- text: l
23
- }) => ({
24
- id: s(e),
25
- text: l,
26
- isSpecial: !0
27
- }), C = (e) => ({
28
- ...e,
29
- id: u(e.id)
30
- }), r = c(() => n.value === null ? null : d.value.map(h).concat(n.value.map(C))), m = (e) => {
31
- if (!e.startsWith(t) && !e.startsWith(i))
32
- throw new Error(`Expected id to start with ${t}`);
33
- }, g = (e) => e ? (m(e), e.startsWith(i) ? { specialChoice: e.slice(i.length) } : { regularChoice: e.slice(t.length) }) : null, b = (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({
34
- get: () => {
35
- const e = b(o.control.data);
36
- return r.value && !r.value.some((l) => l.id === e) ? f(o.control.data) : e;
37
- },
38
- set: (e) => {
39
- o.changeValue(g(e));
40
- }
41
- });
42
- return (e, l) => ($(), y(x, {
43
- id: a.labelForId,
44
- modelValue: p.value,
45
- "onUpdate:modelValue": l[0] || (l[0] = (v) => p.value = v),
46
- "possible-values": r.value,
47
- ariaLabel: a.control.label,
48
- disabled: a.disabled,
49
- error: !a.isValid,
50
- compact: ""
51
- }, null, 8, ["id", "modelValue", "possible-values", "ariaLabel", "disabled", "error"]));
52
- }
53
- });
54
- export {
55
- S as default
56
- };
@@ -1,47 +0,0 @@
1
- import { defineComponent as d, computed as e, createBlock as p, openBlock as u, normalizeProps as m, guardReactiveProps as v, withCtx as h, createElementVNode as n, toDisplayString as a } from "vue";
2
- import { Q as f } from "./ResourceControlBase-Bqq1PAX_-5gNwtS9Y.js";
3
- import { Y as g } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
4
- const y = { class: "info-container" }, C = { class: "chart-title" }, V = { class: "chart-description" }, _ = /* @__PURE__ */ d({
5
- __name: "TeamResourceControl",
6
- props: {
7
- control: {},
8
- handleChange: { type: Function },
9
- changeValue: { type: Function },
10
- disabled: { type: Boolean },
11
- isValid: { type: Boolean },
12
- onRegisterValidation: { type: Function },
13
- labelForId: {}
14
- },
15
- setup(i) {
16
- const t = i, r = e(
17
- () => {
18
- var o;
19
- return ((o = t.control.uischema.options) == null ? void 0 : o.donutTitle) || "";
20
- }
21
- ), c = e(
22
- () => {
23
- var o;
24
- return ((o = t.control.uischema.options) == null ? void 0 : o.donutText) || "";
25
- }
26
- ), l = e(
27
- () => {
28
- var o;
29
- return ((o = t.control.uischema.options) == null ? void 0 : o.currentUsage) ?? 0;
30
- }
31
- ), s = e(
32
- () => t.control.data === -1 ? "unlimited" : t.control.data
33
- );
34
- return (o, x) => (u(), p(f, m(v(t)), {
35
- "donut-info": h(() => [
36
- n("div", y, [
37
- n("div", C, a(r.value), 1),
38
- n("div", V, a(`${l.value} of ${s.value} ${c.value}`), 1)
39
- ])
40
- ]),
41
- _: 1
42
- }, 16));
43
- }
44
- }), b = /* @__PURE__ */ g(_, [["__scopeId", "data-v-2658cbca"]]);
45
- export {
46
- b as default
47
- };