@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,6 +1,6 @@
1
1
  import { computed as n, ref as f, watch as E, onMounted as b } from "vue";
2
- import { d as L, ae as I } from "./TextControl-B0ag-3Pv-CVDIw3MG.js";
3
- const A = (o) => o.charAt(0).toUpperCase() + o.slice(1).toLowerCase(), B = (o) => {
2
+ import { a as L, a2 as A } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
+ const B = (o) => o.charAt(0).toUpperCase() + o.slice(1).toLowerCase(), I = (o) => {
4
4
  const t = n(
5
5
  () => o.value.fileSystems ?? [
6
6
  "CONNECTED",
@@ -50,7 +50,7 @@ const A = (o) => o.charAt(0).toUpperCase() + o.slice(1).toLowerCase(), B = (o) =
50
50
  ...l(t.value) && {
51
51
  connectedFSOptions: t.value
52
52
  }
53
- })), { isLocal: u, isConnected: r, fileSystems: m } = B(s), d = f([]), i = f(null), c = n(() => s.value.isWriter), v = n(
53
+ })), { isLocal: u, isConnected: r, fileSystems: m } = I(s), d = f([]), i = f(null), c = n(() => s.value.isWriter), v = n(
54
54
  () => {
55
55
  var e;
56
56
  return ((e = s.value.spaceFSOptions) == null ? void 0 : e.mountId) ?? "Current space";
@@ -69,7 +69,7 @@ const A = (o) => o.charAt(0).toUpperCase() + o.slice(1).toLowerCase(), B = (o) =
69
69
  void 0
70
70
  )
71
71
  ), D = n(
72
- () => A(
72
+ () => B(
73
73
  l(t.value) ? t.value.fileSystemType ?? "Connected file system" : "Connected file system"
74
74
  )
75
75
  ), C = f(!1), y = (e) => {
@@ -113,7 +113,7 @@ const A = (o) => o.charAt(0).toUpperCase() + o.slice(1).toLowerCase(), B = (o) =
113
113
  isWorkflowFilterMode: a,
114
114
  backendType: s
115
115
  }) => {
116
- const u = I("getData");
116
+ const u = A("getData");
117
117
  return {
118
118
  listItems: (i, c, v) => u({
119
119
  method: "fileChooser.listItems",
@@ -146,7 +146,7 @@ const A = (o) => o.charAt(0).toUpperCase() + o.slice(1).toLowerCase(), B = (o) =
146
146
  };
147
147
  }, U = (o, t) => o === "LOCAL" ? "local" : o === "CONNECTED" ? `connected${t ?? -1}` : o === "relative-to-embedded-data" ? "embedded" : "relativeToCurrentHubSpace";
148
148
  export {
149
- B as a,
149
+ I as a,
150
150
  R as b,
151
151
  U as g,
152
152
  x as u
@@ -0,0 +1,34 @@
1
+ import { computed as l, ref as h } from "vue";
2
+ import { u as g } from "./plainDateTimeUtils-CR0UhpkD-DU-LM4_V.js";
3
+ const C = (o) => {
4
+ const n = l(
5
+ () => g.fromString(o.getDateTime())
6
+ ), v = l(() => n.value.date), d = l(() => n.value.time), r = h(
7
+ g.detectGranularity(o.getDateTime())
8
+ );
9
+ let t, a, i, u = !1;
10
+ const s = () => {
11
+ u = !1;
12
+ const e = t === void 0 ? v.value : t, f = a === void 0 ? d.value : a, c = i ?? r.value;
13
+ t = void 0, a = void 0, i = void 0, r.value = c, o.commit(e, f, c);
14
+ }, m = () => {
15
+ u || (u = !0, queueMicrotask(s));
16
+ };
17
+ return {
18
+ datePart: v,
19
+ timePart: d,
20
+ granularity: r,
21
+ onDateChange: (e) => {
22
+ t = e, m();
23
+ },
24
+ onTimeChange: (e) => {
25
+ a = e, m();
26
+ },
27
+ onGranularityChange: (e) => {
28
+ i = e, m();
29
+ }
30
+ };
31
+ };
32
+ export {
33
+ C as G
34
+ };
@@ -1,10 +1,10 @@
1
1
  import { computed as s } from "vue";
2
- import { d as i } from "./TextControl-B0ag-3Pv-CVDIw3MG.js";
2
+ import { a as i } from "./TextControl-8jfyOJKb-BkT4AwNP.js";
3
3
  const c = (o, e) => {
4
4
  const l = s(() => o.value.uischema), u = i(l, "possibleValues");
5
5
  return { possibleValues: s(() => {
6
- var d, a;
7
- return (d = l.value.providedOptions) != null && d.includes("possibleValues") ? u.value : ((a = l.value.options) == null ? void 0 : a.possibleValues) ?? (typeof (e == null ? void 0 : e.defaultOnNonProvided) > "u" ? [] : e == null ? void 0 : e.defaultOnNonProvided);
6
+ var a, d;
7
+ return (a = l.value.providedOptions) != null && a.includes("possibleValues") ? u.value : ((d = l.value.options) == null ? void 0 : d.possibleValues) ?? (typeof (e == null ? void 0 : e.defaultOnNonProvided) > "u" ? [] : e == null ? void 0 : e.defaultOnNonProvided);
8
8
  }) };
9
9
  }, p = (o) => {
10
10
  var l, u;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knime/scripting-editor",
3
3
  "type": "module",
4
- "version": "0.0.126",
4
+ "version": "0.0.128",
5
5
  "description": "Shared Scripting Editor components for KNIME",
6
6
  "repository": {
7
7
  "type": "git",
@@ -11,17 +11,16 @@
11
11
  "author": "KNIME AG, Zurich, Switzerland",
12
12
  "license": "See the file license.txt",
13
13
  "dependencies": {
14
- "@knime/kds-components": "0.23.1",
15
- "@knime/kds-styles": "0.23.1",
14
+ "@knime/kds-components": "0.26.1",
15
+ "@knime/kds-styles": "0.26.1",
16
16
  "@knime/styles": "1.15.1",
17
- "@knime/ui-extension-renderer": "2.5.10",
18
- "@knime/utils": "1.10.1",
17
+ "@knime/ui-extension-renderer": "2.5.19",
18
+ "@knime/utils": "1.11.0",
19
19
  "@vueuse/core": "13.8.0",
20
20
  "@xterm/addon-fit": "^0.10.0",
21
21
  "@xterm/addon-unicode11": "^0.8.0",
22
22
  "@xterm/xterm": "^5.5.0",
23
23
  "handlebars": "4.7.9",
24
- "splitpanes": "3.1.5",
25
24
  "vscode-languageserver-protocol": "3.17.5"
26
25
  },
27
26
  "devDependencies": {
@@ -29,12 +28,11 @@
29
28
  "@knime/eslint-config": "9.1.3",
30
29
  "@knime/licenses": "1.5.0",
31
30
  "@knime/ui-extension-service": "2.8.1",
32
- "@tsconfig/node24": "24.0.3",
31
+ "@tsconfig/node24": "24.0.4",
33
32
  "@types/color-hash": "2.0.0",
34
33
  "@types/jsdom": "21.1.7",
35
34
  "@types/lodash-es": "^4.17.12",
36
35
  "@types/node": "24.10.0",
37
- "@types/splitpanes": "2.2.6",
38
36
  "@vitejs/plugin-vue": "5.2.4",
39
37
  "@vitest/coverage-v8": "2.1.9",
40
38
  "@vue/eslint-config-prettier": "10.2.0",
@@ -1,38 +0,0 @@
1
- import { defineComponent as s, ref as c, createElementBlock as d, openBlock as r, createElementVNode as u, renderSlot as n, createVNode as i, unref as p } from "vue";
2
- import { Y as b, G as v } from "./TextControl-B0ag-3Pv-CVDIw3MG.js";
3
- const m = { class: "checkbox-container" }, f = /* @__PURE__ */ s({
4
- __name: "CheckboxControl",
5
- props: {
6
- control: {},
7
- handleChange: { type: Function },
8
- changeValue: { type: Function },
9
- disabled: { type: Boolean },
10
- labelForId: {},
11
- isValid: { type: Boolean },
12
- messages: {},
13
- onRegisterValidation: { type: Function }
14
- },
15
- setup(o) {
16
- const l = c(!1);
17
- return (t, e) => (r(), d("div", {
18
- class: "checkbox-input",
19
- onMouseover: e[1] || (e[1] = (a) => l.value = !0),
20
- onMouseleave: e[2] || (e[2] = (a) => l.value = !1)
21
- }, [
22
- u("div", m, [
23
- i(p(v), {
24
- class: "checkbox",
25
- disabled: o.disabled,
26
- "model-value": o.control.data,
27
- label: o.control.label,
28
- "onUpdate:modelValue": e[0] || (e[0] = (a) => o.changeValue(a === !0))
29
- }, null, 8, ["disabled", "model-value", "label"]),
30
- n(t.$slots, "icon", {}, void 0, !0)
31
- ]),
32
- n(t.$slots, "buttons", { hover: l.value }, void 0, !0)
33
- ], 32));
34
- }
35
- }), k = /* @__PURE__ */ b(f, [["__scopeId", "data-v-cd984837"]]);
36
- export {
37
- k as default
38
- };
@@ -1,40 +0,0 @@
1
- import { defineComponent as c, computed as t, ref as d, toRef as u, createBlock as i, createCommentVNode as p, onMounted as m, openBlock as b, unref as f } from "vue";
2
- import { Y as v, q as h } from "./TextControl-B0ag-3Pv-CVDIw3MG.js";
3
- import { c as y } from "./index-Blg1O3Fz-CGafpkU1.js";
4
- import { t as V } from "./usePossibleValues-B-W6u-1T-CRO8qQzd.js";
5
- const k = /* @__PURE__ */ c({
6
- __name: "CheckboxesControl",
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
- },
16
- setup(e) {
17
- const o = e, r = t(
18
- () => {
19
- var a;
20
- return (a = o.control.uischema.options) == null ? void 0 : a.checkboxLayout;
21
- }
22
- ), l = d(null), { possibleValues: s } = V(u(o, "control")), n = t(() => l.value ?? s.value);
23
- return m(() => {
24
- l.value = o.control.schema.anyOf ? o.control.schema.anyOf.map(y) : null;
25
- }), (a, g) => n.value ? (b(), i(f(h), {
26
- key: 0,
27
- id: e.labelForId,
28
- class: "checkboxes",
29
- "possible-values": n.value,
30
- alignment: r.value,
31
- disabled: e.disabled,
32
- "model-value": e.control.data,
33
- error: !e.isValid,
34
- "onUpdate:modelValue": e.changeValue
35
- }, null, 8, ["id", "possible-values", "alignment", "disabled", "model-value", "error", "onUpdate:modelValue"])) : p("", !0);
36
- }
37
- }), I = /* @__PURE__ */ v(k, [["__scopeId", "data-v-67afa686"]]);
38
- export {
39
- I as default
40
- };
@@ -1,103 +0,0 @@
1
- import { defineComponent as F, useTemplateRef as S, ref as v, computed as M, watch as _, onMounted as z, onUnmounted as G, createElementBlock as K, openBlock as $, createElementVNode as d, normalizeClass as P, toDisplayString as U, unref as s, createVNode as W, normalizeStyle as X } from "vue";
2
- import { ar as j, as as q, at as J } from "./TextControl-B0ag-3Pv-CVDIw3MG.js";
3
- import { editor as u, MarkerSeverity as Q } from "monaco-editor";
4
- import { _ as Y } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- const Z = { class: "wrapper" }, I = { class: "title" }, ee = { class: "actions" }, oe = ["id"], te = 18, ae = 3, ne = "vs-light", se = "vs-dark", ie = /* @__PURE__ */ F({
6
- __name: "CodeEditorControl",
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
- },
16
- setup(D) {
17
- var R, T, V, O;
18
- const n = D, l = n.control.uischema, y = ((R = l.options) == null ? void 0 : R.language) ?? "plaintext", p = ((T = l.options) == null ? void 0 : T.fileType) ?? y.toUpperCase(), r = ((V = l.options) == null ? void 0 : V.minRows) ?? 3, H = ((O = l.options) == null ? void 0 : O.maxRows) ?? 15, C = S("editor-container");
19
- let e, c;
20
- const E = v(te), m = v(r), N = M(
21
- () => Math.min(H, Math.max(r, m.value))
22
- ), w = M(
23
- () => `${E.value * N.value + ae}px`
24
- ), b = (o) => o ? se : ne, { isDarkMode: k } = j();
25
- _(k, (o) => {
26
- e && e.updateOptions({ theme: b(o) });
27
- });
28
- const L = v([]), x = M(() => {
29
- const o = L.value;
30
- if (o.length === 0)
31
- return null;
32
- const t = o[0], a = o.length > 1 ? `${t} (+${o.length - 1} more)` : t;
33
- return () => ({ errors: [a] });
34
- }), g = n.onRegisterValidation(x), { copy: A, copied: f } = q({ copiedDuring: 2e3 }), B = () => {
35
- var t;
36
- const o = (t = e == null ? void 0 : e.getModel()) == null ? void 0 : t.getValue();
37
- o && A(o);
38
- };
39
- return z(() => {
40
- var o;
41
- C.value && (e = u.create(C.value, {
42
- value: n.control.data ?? "",
43
- language: y,
44
- automaticLayout: !0,
45
- minimap: { enabled: !1 },
46
- scrollBeyondLastLine: !1,
47
- lineNumbersMinChars: 3,
48
- fontFamily: '"Roboto Mono", monospace',
49
- fontWeight: "400",
50
- readOnly: n.disabled,
51
- theme: b(k.value)
52
- }), E.value = e.getOption(u.EditorOption.lineHeight), m.value = ((o = e.getModel()) == null ? void 0 : o.getLineCount()) ?? r, e.onDidChangeModelContent(() => {
53
- var a, i;
54
- const t = ((a = e == null ? void 0 : e.getModel()) == null ? void 0 : a.getValue()) ?? "";
55
- m.value = ((i = e == null ? void 0 : e.getModel()) == null ? void 0 : i.getLineCount()) ?? r, t !== n.control.data && n.changeValue(t);
56
- }), c = u.onDidChangeMarkers((t) => {
57
- const a = e == null ? void 0 : e.getModel();
58
- if (a && t.some((i) => i.toString() === a.uri.toString())) {
59
- const i = u.getModelMarkers({ resource: a.uri });
60
- L.value = i.filter((h) => h.severity === Q.Error).map((h) => h.message);
61
- }
62
- }));
63
- }), _(
64
- () => n.disabled,
65
- (o) => {
66
- e == null || e.updateOptions({ readOnly: o });
67
- }
68
- ), _(
69
- () => n.control.data,
70
- (o) => {
71
- var t, a;
72
- e && o !== ((t = e.getModel()) == null ? void 0 : t.getValue()) && ((a = e.getModel()) == null || a.setValue(o ?? ""));
73
- }
74
- ), G(() => {
75
- c == null || c.dispose(), g == null || g(), e == null || e.dispose();
76
- }), (o, t) => ($(), K("div", Z, [
77
- d("div", {
78
- class: P(["header", { invalid: !o.isValid }])
79
- }, [
80
- d("span", I, U(s(p)), 1),
81
- d("div", ee, [
82
- W(s(J), {
83
- ariaLabel: s(f) ? "Copied " + s(p) + " to clipboard" : "Copy " + s(p) + " to clipboard",
84
- "leading-icon": s(f) ? "checkmark" : "copy",
85
- state: s(f) ? "success" : "default",
86
- size: "small",
87
- variant: "transparent",
88
- onClick: B
89
- }, null, 8, ["ariaLabel", "leading-icon", "state"])
90
- ])
91
- ], 2),
92
- d("div", {
93
- id: o.labelForId,
94
- ref: "editor-container",
95
- class: "code-editor-container",
96
- style: X({ height: w.value })
97
- }, null, 12, oe)
98
- ]));
99
- }
100
- }), ue = /* @__PURE__ */ Y(ie, [["__scopeId", "data-v-485fd1fb"]]);
101
- export {
102
- ue as default
103
- };
@@ -1,40 +0,0 @@
1
- import { defineComponent as p, toRef as c, computed as t, createBlock as m, openBlock as v, unref as d } from "vue";
2
- import { C as b } from "./TextControl-B0ag-3Pv-CVDIw3MG.js";
3
- import { t as V } from "./usePossibleValues-B-W6u-1T-CRO8qQzd.js";
4
- const g = /* @__PURE__ */ p({
5
- __name: "ComboBoxControl",
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(e) {
16
- const l = e, { possibleValues: o } = V(c(l, "control")), s = t(
17
- () => o.value === null || o.value.length === 0
18
- ), i = t(
19
- () => {
20
- var a, n;
21
- return ((a = l.control.uischema.providedOptions) == null ? void 0 : a.includes("possibleValues")) || ((n = l.control.uischema.options) == null ? void 0 : n.possibleValues) !== void 0;
22
- }
23
- ), r = t(
24
- () => l.disabled || s.value && i.value
25
- );
26
- return (a, n) => (v(), m(d(b), {
27
- id: e.labelForId,
28
- "model-value": e.control.data,
29
- "allow-new-values": !i.value,
30
- ariaLabel: e.control.label,
31
- disabled: r.value,
32
- "possible-values": s.value ? e.control.data.map((u) => ({ id: u, text: u })) : d(o),
33
- error: !e.isValid,
34
- "onUpdate:modelValue": e.changeValue
35
- }, null, 8, ["id", "model-value", "allow-new-values", "ariaLabel", "disabled", "possible-values", "error", "onUpdate:modelValue"]));
36
- }
37
- });
38
- export {
39
- g as default
40
- };
@@ -1,32 +0,0 @@
1
- import { defineComponent as t, computed as l, createBlock as i, openBlock as r, unref as s } from "vue";
2
- import { aa as d } from "./TextControl-B0ag-3Pv-CVDIw3MG.js";
3
- import { C as p } from "./CredentialsControlBase-CtiUUF6O.js";
4
- const m = /* @__PURE__ */ t({
5
- __name: "CredentialsControl",
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(e) {
16
- const a = e, { flowSettings: n } = d({
17
- path: l(() => a.control.path)
18
- });
19
- return (o, c) => (r(), i(p, {
20
- control: o.control,
21
- data: o.control.data,
22
- "flow-settings": s(n),
23
- disabled: o.disabled,
24
- "label-for-id": o.labelForId,
25
- "is-valid": o.isValid,
26
- onChange: o.changeValue
27
- }, null, 8, ["control", "data", "flow-settings", "disabled", "label-for-id", "is-valid", "onChange"]));
28
- }
29
- });
30
- export {
31
- m as default
32
- };
@@ -1,96 +0,0 @@
1
- import { defineComponent as H, computed as a, watch as I, ref as D, createElementBlock as E, openBlock as n, createBlock as c, createCommentVNode as i, unref as l } from "vue";
2
- import { d as b, ag as N, ah as g, ai as u } from "./TextControl-B0ag-3Pv-CVDIw3MG.js";
3
- import { _ as $ } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
- const z = ["id"], w = "*****************", A = /* @__PURE__ */ H({
5
- __name: "CredentialsControlBase",
6
- props: {
7
- control: {},
8
- data: {},
9
- flowSettings: {},
10
- disabled: { type: Boolean },
11
- labelForId: {},
12
- isValid: { type: Boolean }
13
- },
14
- emits: ["change"],
15
- setup(f, { emit: F }) {
16
- const d = f, s = F, m = () => ({
17
- password: "",
18
- secondFactor: "",
19
- username: ""
20
- }), o = a(() => d.data ?? m()), _ = (e) => {
21
- s("change", u(o.value, { username: e }));
22
- }, C = (e) => {
23
- s("change", u(o.value, { password: e, isHiddenPassword: !1 }));
24
- }, V = (e) => {
25
- s(
26
- "change",
27
- u(o.value, { secondFactor: e, isHiddenSecondFactor: !1 })
28
- );
29
- }, y = a(() => o.value.isHiddenPassword ? w : o.value.password), S = a(() => o.value.isHiddenSecondFactor ? w : o.value.secondFactor), t = a(() => d.control.uischema), r = a(() => t.value.options ?? {}), k = b(t, "hasUsername", !0), p = b(t, "hasPassword", !0), P = a(
30
- () => p.value && (r.value.showSecondFactor ?? !1)
31
- ), B = a(
32
- () => {
33
- var e;
34
- return ((e = r.value) == null ? void 0 : e.usernameLabel) ?? "Username";
35
- }
36
- ), v = a(
37
- () => {
38
- var e;
39
- return ((e = r.value) == null ? void 0 : e.passwordLabel) ?? "Password";
40
- }
41
- ), h = a(
42
- () => {
43
- var e;
44
- return ((e = r.value) == null ? void 0 : e.secondFactorLabel) ?? "Second authentication factor";
45
- }
46
- ), U = a(
47
- () => {
48
- var e;
49
- return (e = d.flowSettings) == null ? void 0 : e.controllingFlowVariableName;
50
- }
51
- );
52
- I(
53
- () => U.value,
54
- (e) => e || s("change", m())
55
- );
56
- const L = D(null);
57
- return (e, j) => (n(), E("div", {
58
- id: e.labelForId ?? void 0,
59
- ref_key: "controlElement",
60
- ref: L,
61
- class: "credentials-input-wrapper"
62
- }, [
63
- l(k) ? (n(), c(l(N), {
64
- key: 0,
65
- placeholder: B.value,
66
- "model-value": o.value.username,
67
- disabled: e.disabled,
68
- error: !e.isValid,
69
- "onUpdate:modelValue": _
70
- }, null, 8, ["placeholder", "model-value", "disabled", "error"])) : i("", !0),
71
- l(p) ? (n(), c(l(g), {
72
- key: 1,
73
- variant: "password",
74
- placeholder: v.value,
75
- "toggle-label": v.value,
76
- "model-value": y.value,
77
- disabled: e.disabled,
78
- error: !e.isValid,
79
- "onUpdate:modelValue": C
80
- }, null, 8, ["placeholder", "toggle-label", "model-value", "disabled", "error"])) : i("", !0),
81
- P.value ? (n(), c(l(g), {
82
- key: 2,
83
- variant: "key",
84
- placeholder: h.value,
85
- "toggle-label": h.value,
86
- "model-value": S.value,
87
- disabled: e.disabled,
88
- error: !e.isValid,
89
- "onUpdate:modelValue": V
90
- }, null, 8, ["placeholder", "toggle-label", "model-value", "disabled", "error"])) : i("", !0)
91
- ], 8, z));
92
- }
93
- }), K = /* @__PURE__ */ $(A, [["__scopeId", "data-v-554f2ef8"]]);
94
- export {
95
- K as C
96
- };
@@ -1,35 +0,0 @@
1
- import { defineComponent as d, computed as i, createBlock as s, openBlock as r, unref as u } from "vue";
2
- import { K as p, Z as c, z as m } from "./localTimeUtils-DBMwKtLh-C93hA6Y8.js";
3
- const f = /* @__PURE__ */ d({
4
- __name: "DateControl",
5
- props: {
6
- control: {},
7
- handleChange: { type: Function },
8
- changeValue: { type: Function },
9
- disabled: { type: Boolean },
10
- isValid: { type: Boolean },
11
- onRegisterValidation: { type: Function },
12
- labelForId: {}
13
- },
14
- setup(e) {
15
- const o = e, a = i({
16
- get: () => p(o.control.data),
17
- set: (l) => o.changeValue(c(l))
18
- });
19
- return (l, t) => (r(), s(u(m), {
20
- id: e.labelForId,
21
- modelValue: a.value,
22
- "onUpdate:modelValue": t[0] || (t[0] = (n) => a.value = n),
23
- "two-lines": "",
24
- required: !0,
25
- "show-time": !1,
26
- compact: "",
27
- disabled: e.disabled,
28
- "is-valid": e.isValid,
29
- timezone: "UTC"
30
- }, null, 8, ["id", "modelValue", "disabled", "is-valid"]));
31
- }
32
- });
33
- export {
34
- f as default
35
- };
@@ -1,56 +0,0 @@
1
- import { defineComponent as w, computed as l, createBlock as V, openBlock as f, unref as b } from "vue";
2
- import { K as n, Z as x, z as F } from "./localTimeUtils-DBMwKtLh-C93hA6Y8.js";
3
- const B = /* @__PURE__ */ w({
4
- __name: "DateTimeControl",
5
- props: {
6
- control: {},
7
- handleChange: { type: Function },
8
- changeValue: { type: Function },
9
- disabled: { type: Boolean },
10
- isValid: { type: Boolean },
11
- onRegisterValidation: { type: Function },
12
- labelForId: {}
13
- },
14
- setup(a) {
15
- const i = a, o = l(() => i.control.uischema.options), c = l(
16
- () => {
17
- var e;
18
- return (e = o.value) != null && e.minimum ? n(o.value.minimum) : null;
19
- }
20
- ), p = l(
21
- () => {
22
- var e;
23
- return (e = o.value) != null && e.maximum ? n(o.value.maximum) : null;
24
- }
25
- ), v = l(() => {
26
- var e;
27
- return ((e = o.value) == null ? void 0 : e.twoLines) ?? !0;
28
- }), t = l({
29
- get: () => n(i.control.data),
30
- set: (e) => i.changeValue(x(e))
31
- });
32
- return (e, s) => {
33
- var u, d, m, r;
34
- return f(), V(b(F), {
35
- id: a.labelForId,
36
- modelValue: t.value,
37
- "onUpdate:modelValue": s[0] || (s[0] = (h) => t.value = h),
38
- "two-lines": v.value,
39
- required: !0,
40
- "show-time": (u = o.value) == null ? void 0 : u.showTime,
41
- "show-seconds": (d = o.value) == null ? void 0 : d.showSeconds,
42
- "show-milliseconds": (m = o.value) == null ? void 0 : m.showMilliseconds,
43
- timezone: "UTC",
44
- "date-format": (r = o.value) == null ? void 0 : r.dateFormat,
45
- min: c.value,
46
- max: p.value,
47
- "is-valid": a.isValid,
48
- compact: "",
49
- disabled: a.disabled
50
- }, null, 8, ["id", "modelValue", "two-lines", "show-time", "show-seconds", "show-milliseconds", "date-format", "min", "max", "is-valid", "disabled"]);
51
- };
52
- }
53
- });
54
- export {
55
- B as default
56
- };
@@ -1,35 +0,0 @@
1
- import { defineComponent as s, computed as o, createBlock as m, openBlock as u, unref as d } from "vue";
2
- import { d as c, V as p } from "./TextControl-B0ag-3Pv-CVDIw3MG.js";
3
- const F = /* @__PURE__ */ s({
4
- __name: "DateTimeFormatPickerControl",
5
- props: {
6
- control: {},
7
- handleChange: { type: Function },
8
- changeValue: { type: Function },
9
- disabled: { type: Boolean },
10
- isValid: { type: Boolean },
11
- onRegisterValidation: { type: Function },
12
- labelForId: {}
13
- },
14
- setup(a) {
15
- const l = a, t = o(
16
- () => l.control.uischema
17
- ), r = o(() => t.value.options), n = o(() => {
18
- var e;
19
- return (e = r.value) == null ? void 0 : e.allowedFormats;
20
- }), i = c(t, "dateTimeFormats", []);
21
- return (e, f) => (u(), m(d(p), {
22
- id: a.labelForId,
23
- ariaLabel: a.control.label,
24
- "model-value": l.control.data,
25
- disabled: a.disabled,
26
- "allowed-formats": n.value,
27
- "all-default-formats": d(i) ?? [],
28
- error: !a.isValid,
29
- "onUpdate:modelValue": a.changeValue
30
- }, null, 8, ["id", "ariaLabel", "model-value", "disabled", "allowed-formats", "all-default-formats", "error", "onUpdate:modelValue"]));
31
- }
32
- });
33
- export {
34
- F as default
35
- };