@knime/scripting-editor 0.0.127 → 0.0.128

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/dist/{AnyOfTwinlist-C0gjxeQW-C5wsbDLK.js → AnyOfTwinlist-SXwBBRp2-Bqhgogiq.js} +5 -4
  2. package/dist/{ArrayLayout-U4hs5LA_.js → ArrayLayout-Dh1QLh8H.js} +41 -41
  3. package/dist/{ButtonControl-B8WGWs_m.js → ButtonControl-CaaKmrFb.js} +21 -21
  4. package/dist/CheckboxControl-CbWn843V-BTn1nVWQ.js +40 -0
  5. package/dist/CheckboxesControl-BiQOMrsp-BCRpKfZV.js +42 -0
  6. package/dist/CodeEditorControl-BhQdOlWM.js +133 -0
  7. package/dist/{ColorControl-DeSwgyjS-BW1FBjqa.js → ColorControl-B_mQdOCs-Dl3vNMVD.js} +10 -8
  8. package/dist/{ColorPreviewControl-CntI0nTL-qVTX4e1m.js → ColorPreviewControl-BREwhSO9-uTvGtvF_.js} +21 -21
  9. package/dist/ComboBoxControl-BIZlnizm-7kcBjn_F.js +42 -0
  10. package/dist/{ConfigurationNodeNotSupported-Bg2W0ik5.js → ConfigurationNodeNotSupported-CILWy-1v.js} +1 -1
  11. package/dist/{ControlWithSubParameters-DgJhqCMe.js → ControlWithSubParameters-DNFQ_0Ol.js} +4 -4
  12. package/dist/CredentialsControl-DYI2eHZH.js +33 -0
  13. package/dist/CredentialsControlBase-Be_pBbr8.js +96 -0
  14. package/dist/DateControl-vkwY-8Qy-D35WLbKn.js +44 -0
  15. package/dist/DateTimeControl-CtXV6_D2-yc6SBo7d.js +89 -0
  16. package/dist/DateTimeFormatPickerControl-a7MPaNFN-CerJZl-s.js +37 -0
  17. package/dist/DateTimeFormatPickerWithTypeControl-B9Nu0dh1-B3FsqcQG.js +598 -0
  18. package/dist/{DialogFileExplorer-Bi0DVFut.js → DialogFileExplorer-BZuisQeJ.js} +2 -2
  19. package/dist/{DirtyTrackerRenderer-CDcL-lwX.js → DirtyTrackerRenderer-qBfv19cz.js} +7 -7
  20. package/dist/DropdownControl-BUwovb4K-DZFITmfl.js +32 -0
  21. package/dist/DynamicInputControl-Br_sRCEw.js +6 -0
  22. package/dist/ExecutorCoresControl-DN-1o1XJ-B6JZf8lR.js +51 -0
  23. package/dist/ExecutorMemoryControl-UzqzP4hI-DEOR9ioJ.js +44 -0
  24. package/dist/{FileChooserControl-BR84kEXy.js → FileChooserControl-UiGh3RA6.js} +4 -3
  25. package/dist/{FileChooserControlBase-1oayQJzv.js → FileChooserControlBase-C0jKG7YK.js} +148 -144
  26. package/dist/{FileChooserControlForMultiFile-ChQtkmps.js → FileChooserControlForMultiFile-Di4Pk53x.js} +5 -4
  27. package/dist/FileUploadControl-WC8TFQHe-BuGo0ZRQ.js +545 -0
  28. package/dist/GridSelectionControl-BgqT1t9d-BRz6UGC9.js +117 -0
  29. package/dist/{HorizontalLayout-DwdPdBTW-w5bjgNga.js → HorizontalLayout-CESRA3YR-DDxfF6ry.js} +7 -7
  30. package/dist/{IntegerControl-D8OzxbRA-D9mR5ahj.js → IntegerControl-DKXN0mcE-DGJ3KRkb.js} +5 -4
  31. package/dist/IntervalControl-BswGPjcV-BmiAjHOy.js +51 -0
  32. package/dist/{LabeledGroup-BzXUTco4.js → LabeledGroup-5xwthvS8.js} +5 -5
  33. package/dist/LegacyCredentialsControl-DjJGg7vr.js +88 -0
  34. package/dist/{LinkControl-BvBBTFCs-DojlONSA.js → LinkControl-DTqOfnTg-BA_L4RtV.js} +10 -10
  35. package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-BLSG6Lpo-CtYj2B6v.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-Cic7UEOM-RBq7a_S3.js} +5 -5
  36. package/dist/ManualTwinlistControl-CoZdPu6n-BF9bz65d.js +77 -0
  37. package/dist/MultiFileChooserControl-BFW6QI_y.js +342 -0
  38. package/dist/{MultiRuleWrapper-TvQw5Kaj.js → MultiRuleWrapper-B2ISI9_F.js} +1 -1
  39. package/dist/{MultiSelectListBoxControl-nmvLP18g-feO16jJ4.js → MultiSelectListBoxControl-CjM94miu-DiufrbYU.js} +9 -8
  40. package/dist/{MultimodeTwinlistControl-yCdeWH2E-DG6GXu0l.js → MultimodeTwinlistControl-NMnPBn6a-DQkdp8td.js} +68 -66
  41. package/dist/{NameFilter-D1TMJydD-Db00pnR3.js → NameFilter-DuVJG0SF-DAH98lDD.js} +7 -6
  42. package/dist/{NumberControl-uLMOLEbg-B_H33dGY.js → NumberControl-NMJmxuze-Bih_-Og_.js} +8 -7
  43. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8-BGSxRVVz.js +54 -0
  44. package/dist/OneOfDropdown-CwJemyYo-Do-MOPV7.js +36 -0
  45. package/dist/{RadioButtonsWithDescriptionControl-5M_6G7Qk-BHHWv0Y0.js → RadioButtonsWithDescriptionControl-BK3UCreL-qWSS1DwX.js} +17 -17
  46. package/dist/RadioControl-ts1-JozG-Bt4Ssbnx.js +21 -0
  47. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-jxw_5dVt-B1RfPe72.js +64 -0
  48. package/dist/ResourceControlBase-FDiyHyQi-n4PYam8s.js +113 -0
  49. package/dist/{RichTextControl-D9QD2_uO-OY669heQ.js → RichTextControl-DH6GqUeF-DhVLA7bv.js} +7748 -6742
  50. package/dist/{SectionLayout-DY27pAtG-BIZg0kiA.js → SectionLayout-Cb3_L9Te-Ch2TL8Ns.js} +5 -5
  51. package/dist/{SettingsSubPanelLayout-82gMWhpv-DwWBU76p.js → SettingsSubPanelLayout-DruWJjQA-BPDZqGKD.js} +22 -22
  52. package/dist/{SimpleTwinlistControl-P4KEYOq0-97VRLEr4.js → SimpleTwinlistControl-CnBe4qsI-QQXdW90w.js} +7 -6
  53. package/dist/SingleSelectControl-C4Qzk2Ki-B4KRT-4U.js +58 -0
  54. package/dist/{SingleSelectListBoxControl-oMWH0vEE-Ewf1HUGa.js → SingleSelectListBoxControl-sLe2Y67h-aYZGPc-_.js} +14 -13
  55. package/dist/SortListControl-ChpYm3CZ-BHWX9fRm.js +112 -0
  56. package/dist/{StringFileChooserControl-BVH5iHNM.js → StringFileChooserControl-BGMU3nOp.js} +33 -30
  57. package/dist/{StyledListItem-D3LSfgGV-B9rTS8WT.js → StyledListItem-BJEJoIzr-5JeRrk8P.js} +1 -1
  58. package/dist/{TeamAndSpacesControl-CH5ImByy-aTqgKpBn.js → TeamAndSpacesControl-7ZXPUwBb-DdkrLxnT.js} +21 -20
  59. package/dist/TeamResourceControl-BZDXMRLZ-Moa_pv2o.js +44 -0
  60. package/dist/{TextAreaControl-CrsZSU_f-CNj59YPm.js → TextAreaControl-BDGtgWys-B5coKRJL.js} +11 -9
  61. package/dist/TextControl-8jfyOJKb-BkT4AwNP.js +50876 -0
  62. package/dist/TimeControl-Dvt5U7xN-CTkb_kae.js +71 -0
  63. package/dist/TimeframesControl-DcUxC3kX-1e3a-BRE.js +352 -0
  64. package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-B5lCsIOD-KqyVUaZj.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N-tQDZulBA.js} +16 -13
  65. package/dist/{TypedStringFilter-ry7fTUTx-CCJRabai.js → TypedStringFilter-Cx8OCQcE-Cx82QY6q.js} +7 -6
  66. package/dist/{ValueSwitchControl-aVx7pUi9-7kuEbp3H.js → ValueSwitchControl-1ax1yKbk-Dssrj-K0.js} +7 -6
  67. package/dist/{VennDiagramLayout-D8s5yYbT.js → VennDiagramLayout-TqRKYgWl.js} +42 -42
  68. package/dist/{VerticalLayout-Bv-LJOZ0-BTrnMnQu.js → VerticalLayout-DnyoqTeh-COL0gWjl.js} +6 -6
  69. package/dist/ZonedDateTimeControl-mIIRwaHz-BSWCo5dl.js +82 -0
  70. package/dist/{ai-bar-DLr5A9ZW.js → ai-bar-DDtzX23v.js} +775 -732
  71. package/dist/classApi-CHpAZrj3-BptMrhKH.js +3328 -0
  72. package/dist/collection-BBXRVj4b-DhO8c3tP.js +22 -0
  73. package/dist/collection-BBXRVj4b-grENCIdl.js +22 -0
  74. package/dist/main.js +9985 -13280
  75. package/dist/parameters.js +1 -1
  76. package/dist/plainDateTimeUtils-CR0UhpkD-DU-LM4_V.js +52 -0
  77. package/dist/src/scripting-service.d.ts +1 -1
  78. package/dist/useDropdownNavigation-CdrbT-CQ-Dxb_y1Fq.js +2003 -0
  79. package/dist/{useFileChooserBackend-Bs7hx7xH.js → useFileChooserBackend-DeqNZEZE.js} +6 -6
  80. package/dist/usePlainDateTimeBatch-Bd2G-GY9-DO2Zu0Mj.js +34 -0
  81. package/dist/{usePossibleValues-B-W6u-1T-DcglK6MY.js → usePossibleValues-CtPV4Cjp-B6UlAJ8A.js} +3 -3
  82. package/package.json +3 -3
  83. package/dist/CheckboxControl-CS6iXHnF-DLCN_obF.js +0 -38
  84. package/dist/CheckboxesControl-CPKIkyWt-BgPFZcJW.js +0 -40
  85. package/dist/CodeEditorControl-DM7k0B2q.js +0 -103
  86. package/dist/ComboBoxControl-DBYnBkC4-1oOLCCms.js +0 -40
  87. package/dist/CredentialsControl-CuHgBJQY.js +0 -32
  88. package/dist/CredentialsControlBase-14mA9Xg5.js +0 -96
  89. package/dist/DateControl-Cx_CwvNB-Cnu4FwAv.js +0 -35
  90. package/dist/DateTimeControl-BJsDzufC-BLhNM1JR.js +0 -56
  91. package/dist/DateTimeFormatPickerControl-C80v1qfK-0bjg1c9X.js +0 -35
  92. package/dist/DateTimeFormatPickerWithTypeControl-Dt-FKtYV-x-IJKc_b.js +0 -475
  93. package/dist/DropdownControl-D_BnA4-1-BWnnlfiI.js +0 -30
  94. package/dist/DynamicInputControl-u5VOv3zx.js +0 -6
  95. package/dist/ExecutorCoresControl-BnglyGMR-CagN3N5j.js +0 -56
  96. package/dist/ExecutorMemoryControl-CRATGs9C-Dsj7vG41.js +0 -50
  97. package/dist/FileUploadControl-D42rjpJg-DIoT6HeI.js +0 -221
  98. package/dist/GridSelectionControl-BJk8-yiM-CvDVlby0.js +0 -116
  99. package/dist/IntervalControl-Drljrv-b-WpTsaCtp.js +0 -751
  100. package/dist/LegacyCredentialsControl-C5OmuHPe.js +0 -87
  101. package/dist/ManualTwinlistControl-By0Hur_m-zZbz98JO.js +0 -75
  102. package/dist/MultiFileChooserControl-BDBYwcSY.js +0 -401
  103. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-VVQDBYw7-FEqHVnFo.js +0 -52
  104. package/dist/OneOfDropdown-CDwwxb3h-DAK0CMDe.js +0 -34
  105. package/dist/RadioControl-C73s-icb-DSF6WESw.js +0 -24
  106. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BScekfhl-oNoT_40f.js +0 -60
  107. package/dist/ResourceControlBase-Bqq1PAX_-5gNwtS9Y.js +0 -183
  108. package/dist/SingleSelectControl-C_ZKkV5m-nfkmmDbp.js +0 -56
  109. package/dist/SortListControl-4v3T2j_9-BkTlN-H5.js +0 -110
  110. package/dist/TeamResourceControl-BFMuyWnk-DvcyxCqW.js +0 -47
  111. package/dist/TextControl-B0ag-3Pv-nwKlVRtp.js +0 -54671
  112. package/dist/TimeControl-Bt5OcjBc-KiaYQH-m.js +0 -41
  113. package/dist/TimePartInput-CvwAzDuY-CuNpUUqj.js +0 -253
  114. package/dist/TimeframesControl-BE3LFgyl-hQJ_5QVJ.js +0 -94
  115. package/dist/Tooltip-UlemzxdS-Dfhzj7no.js +0 -24
  116. package/dist/ValueSwitch-BXaDBm2C-Ba93O_aZ.js +0 -130
  117. package/dist/ZonedDateTimeControl-6MUvXzd3-B1B9FPa7.js +0 -72
  118. package/dist/_Uint8Array-C_ozLuQF-DBc0hZkr.js +0 -349
  119. package/dist/arrow-dropdown-DMFBPPcK-uCJYJfqE.js +0 -17
  120. package/dist/floating-ui.vue-Fx4CxKut-DAsMxBCU.js +0 -1057
  121. package/dist/isArray-WzO_os3q-ClnPWjBY.js +0 -4
  122. package/dist/localTimeUtils-DBMwKtLh-CTshgG3l.js +0 -12470
  123. package/dist/src/lsp/completion.d.ts +0 -7
  124. package/dist/src/lsp/connection.d.ts +0 -56
  125. package/dist/src/lsp/diagnostics.d.ts +0 -4
  126. package/dist/src/lsp/doc-sync.d.ts +0 -5
  127. package/dist/src/lsp/hover.d.ts +0 -5
  128. package/dist/src/lsp/knime-io.d.ts +0 -22
  129. package/dist/src/lsp/mapping-utils.d.ts +0 -8
  130. package/dist/src/lsp/signature-help.d.ts +0 -5
  131. package/dist/toString-C-CNeuJl-jseUiiTM.js +0 -949
  132. package/dist/useDropdownNavigation-2Yhk7zes-75raAHpT.js +0 -821
  133. /package/dist/{useUnknownValuesInTwinlist-BbwGcno5-D2ve7iXH.js → useUnknownValuesInTwinlist-BCbqJg7j-D2ve7iXH.js} +0 -0
@@ -1,475 +0,0 @@
1
- import { defineComponent as z, computed as T, createElementBlock as g, openBlock as p, createVNode as k, unref as w, mergeModels as Y, useModel as Q, ref as E, createElementVNode as h, createCommentVNode as C, normalizeClass as F, withDirectives as q, vModelText as G, normalizeStyle as J, useCssVars as X, watch as A, reactive as ee, createBlock as N, onMounted as te, nextTick as O, onUnmounted as ae, withCtx as le, Fragment as oe, renderList as ne, toDisplayString as U, h as se } from "vue";
2
- import { Y as I, d as ie, w as re } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
3
- import { O as S } from "./ValueSwitch-BXaDBm2C-Ba93O_aZ.js";
4
- import { z as de, _ as ue, $ as ce, H as me, I as pe } from "./floating-ui.vue-Fx4CxKut-DAsMxBCU.js";
5
- import { i as ve, n as fe } from "./useDropdownNavigation-2Yhk7zes-75raAHpT.js";
6
- const ye = {
7
- xmlns: "http://www.w3.org/2000/svg",
8
- fill: "none",
9
- stroke: "#000",
10
- "stroke-linejoin": "round",
11
- viewBox: "0 0 32 32"
12
- };
13
- function he(o, r) {
14
- return p(), g("svg", ye, [...r[0] || (r[0] = [
15
- h("path", { d: "m11.9 22.3 2.7 4.4-4.5 2.8m4.5-2.8C9 26 4.7 21.7 4.7 16c0-5.1 3.4-9.4 8.1-10.8M20 9.7l-2.6-4.4 4.5-2.8m-4.5 2.8c5.6.7 9.9 5 9.9 10.7 0 5.1-3.4 9.4-8.1 10.8" }, null, -1)
16
- ])]);
17
- }
18
- const Te = { render: he }, ge = (o, r) => ({
19
- render() {
20
- const n = o.render({}, []), d = se("title", r);
21
- return d.ns = "svg", n.children.unshift(d), n;
22
- }
23
- }), we = /* @__PURE__ */ z({
24
- __name: "LoadingIcon",
25
- setup(o) {
26
- const r = ge(Te, "Loading…");
27
- return (n, d) => (p(), N(w(r)));
28
- }
29
- }), Ee = /* @__PURE__ */ I(we, [["__scopeId", "data-v-6b552b81"]]), be = {
30
- xmlns: "http://www.w3.org/2000/svg",
31
- fill: "none",
32
- "stroke-linejoin": "round",
33
- viewBox: "0 0 32 32"
34
- };
35
- function xe(o, r) {
36
- return p(), g("svg", be, [...r[0] || (r[0] = [
37
- h("path", {
38
- fill: "#000",
39
- d: "M2 3.842v-.5a.5.5 0 0 0-.5.5zm22.611 0h.5a.5.5 0 0 0-.5-.5zm-.5 7.48a.5.5 0 1 0 1 0zM2 21.43h-.5a.5.5 0 0 0 .5.5zm10.298.5a.5.5 0 1 0 0-1zm5.283 8.222h-.5a.5.5 0 0 0 .765.424zm3.278-2.046.265.424a.5.5 0 0 0 .235-.424zm0-5.87-.366-.34a.5.5 0 0 0-.134.34zM27.613 15l.366.341a.5.5 0 0 0-.366-.841zm-10.032 7.235h.5a.5.5 0 0 0-.128-.334zM11.063 15v-.5a.5.5 0 0 0-.372.835zm-.69-9.483V2h-1v3.517zM16.155 2v3.517h1V2zM2 4.342h22.611v-1H2zm22.111-.5v7.48h1v-7.48zM2.5 21.43V3.842h-1V21.43zM2 8.362h22.611v-1H2zM12.298 20.93h-6.81v1h6.81zm-6.81 0H2v1h3.488zm12.358 9.646 3.278-2.046-.53-.849-3.278 2.047zm3.513-2.47v-5.87h-1v5.87zm-.135-5.528 6.755-7.236-.731-.682-6.755 7.235zm-4.143-.342v7.916h1v-7.916zm.872-.334-6.519-7.236-.743.67 6.519 7.235zm-6.89-6.401h16.55v-1h-16.55z"
40
- }, null, -1)
41
- ])]);
42
- }
43
- const ke = { render: xe }, Ve = { class: "popover" }, _e = { class: "formats-container-border-host" }, Me = {
44
- key: 0,
45
- class: "no-formats-available"
46
- }, ze = {
47
- key: 1,
48
- class: "no-formats-available"
49
- }, Ie = ["onClick"], De = { class: "format-pattern" }, Ae = { class: "format-preview" }, H = 1, Ce = /* @__PURE__ */ z({
50
- __name: "DateTimeFormatPickerPopover",
51
- props: {
52
- allFormats: {},
53
- selectedType: {},
54
- initialSelectedPattern: {},
55
- showTypeSwitch: { type: Boolean }
56
- },
57
- emits: ["commit", "cancel"],
58
- setup(o, { emit: r }) {
59
- X((e) => ({
60
- v3b9e5e3a: H
61
- }));
62
- const n = r, d = o, V = T(() => [
63
- {
64
- id: "RECENT",
65
- text: "Recent"
66
- },
67
- {
68
- id: "STANDARD",
69
- text: "ISO"
70
- },
71
- {
72
- id: "EUROPEAN",
73
- text: "European"
74
- },
75
- {
76
- id: "AMERICAN",
77
- text: "United States"
78
- }
79
- ]), _ = T(() => [
80
- {
81
- id: "DATE",
82
- text: "Date"
83
- },
84
- {
85
- id: "DATE_TIME",
86
- text: "Date & time"
87
- },
88
- {
89
- id: "TIME",
90
- text: "Time"
91
- },
92
- {
93
- id: "ZONED_DATE_TIME",
94
- text: "Zoned date & time"
95
- }
96
- ]), u = E(null), m = E(null), s = E("RECENT"), i = E(d.selectedType);
97
- A(
98
- () => d.selectedType,
99
- (e) => {
100
- m.value = e;
101
- }
102
- );
103
- const l = T(
104
- () => {
105
- var e;
106
- return ((e = d.allFormats) == null ? void 0 : e.filter(
107
- (t) => t.category === s.value && t.temporalType === i.value
108
- )) ?? null;
109
- }
110
- ), f = E(null), y = ee({}), b = (e) => `${e.format}-${e.category}-${e.temporalType}`, Z = (e) => (t) => {
111
- y[b(e)] = t;
112
- }, x = (e) => ({
113
- format: e.format,
114
- temporalType: e.temporalType
115
- }), {
116
- currentIndex: R,
117
- onKeydown: B,
118
- resetNavigation: L,
119
- setElement: K
120
- } = ve({
121
- keepOpenedOnTab: !0,
122
- getFirstElement: () => ({
123
- index: 0,
124
- onClick: () => n(
125
- "commit",
126
- x(l.value[0])
127
- )
128
- }),
129
- getLastElement: () => {
130
- const e = l.value.length - 1;
131
- return {
132
- index: e,
133
- onClick: () => n(
134
- "commit",
135
- x(l.value[e])
136
- )
137
- };
138
- },
139
- getNextElement: (e, t) => {
140
- if (e = e === null || e === -1 ? null : e, t === 1) {
141
- const a = ((e ?? -1) + 1) % l.value.length;
142
- return {
143
- index: a,
144
- onClick: () => n(
145
- "commit",
146
- x(l.value[a])
147
- )
148
- };
149
- } else {
150
- const a = ((e ?? 0) - 1 + l.value.length) % l.value.length;
151
- return {
152
- index: a,
153
- onClick: () => n(
154
- "commit",
155
- x(l.value[a])
156
- )
157
- };
158
- }
159
- },
160
- close: () => {
161
- n("cancel");
162
- }
163
- }), j = (e) => {
164
- const t = e.parentElement;
165
- if (t && t.scrollHeight > t.clientHeight) {
166
- const a = t.offsetTop + H, c = t.clientHeight + t.scrollTop, v = e.offsetTop + e.offsetHeight - a;
167
- v > c ? t.scrollTop = v - t.clientHeight : e.offsetTop - t.scrollTop < a && (t.scrollTop = e.offsetTop - a);
168
- }
169
- }, $ = (e) => {
170
- const t = y[`${e}-${s.value}-${i.value}`];
171
- t && j(t);
172
- }, P = async (e, t, a) => {
173
- i.value = t ?? i.value, s.value = a ?? s.value, await O(), m.value = e, $(e);
174
- const c = l.value.findIndex(
175
- (v) => v.format === e
176
- );
177
- K({
178
- index: c,
179
- onClick: () => n(
180
- "commit",
181
- x(l.value[c])
182
- )
183
- });
184
- };
185
- A(R, (e) => {
186
- var a, c;
187
- if (e === null)
188
- return;
189
- const t = (c = (a = l.value) == null ? void 0 : a[e]) == null ? void 0 : c.format;
190
- t && $(t);
191
- }), A([i, s], () => {
192
- var e, t;
193
- i.value === ((e = u.value) == null ? void 0 : e.temporalType) && s.value === ((t = u.value) == null ? void 0 : t.category) ? P(
194
- u.value.format,
195
- u.value.temporalType,
196
- u.value.category
197
- ) : (m.value = null, L());
198
- });
199
- const M = E(!1);
200
- return te(async () => {
201
- if (!d.allFormats)
202
- return;
203
- const e = [
204
- "RECENT",
205
- "STANDARD",
206
- "EUROPEAN",
207
- "AMERICAN"
208
- ], t = d.allFormats.filter((a) => d.initialSelectedPattern === a.format).filter(
209
- (a) => (
210
- // if the type switch is hidden, filter to only formats with the same type
211
- d.selectedType === a.temporalType || d.showTypeSwitch
212
- )
213
- ).sort((a, c) => {
214
- const v = e.indexOf(a.category), D = e.indexOf(c.category);
215
- return v - D;
216
- });
217
- if (t.length > 0) {
218
- const a = t[0].format, c = t[0].temporalType, v = t[0].category;
219
- await P(a, c, v);
220
- const D = l.value.findIndex(
221
- (W) => W.format === a
222
- );
223
- u.value = {
224
- format: a,
225
- index: D,
226
- category: v,
227
- temporalType: c
228
- };
229
- }
230
- O(() => M.value = !0);
231
- }), ae(() => M.value = !1), (e, t) => (p(), N(w(fe), {
232
- active: M.value,
233
- "onUpdate:active": t[3] || (t[3] = (a) => M.value = a),
234
- "initial-focus": () => f.value ?? !1
235
- }, {
236
- default: le(() => [
237
- h("div", Ve, [
238
- o.showTypeSwitch ? (p(), N(S, {
239
- key: 0,
240
- id: "selectedFormatType",
241
- ref: "typeSwitchRef",
242
- modelValue: i.value,
243
- "onUpdate:modelValue": t[0] || (t[0] = (a) => i.value = a),
244
- compact: "",
245
- "possible-values": _.value,
246
- class: "filter-switch"
247
- }, null, 8, ["modelValue", "possible-values"])) : C("", !0),
248
- k(S, {
249
- id: "selectedFormatStandard",
250
- ref: "standardSwitchRef",
251
- modelValue: s.value,
252
- "onUpdate:modelValue": t[1] || (t[1] = (a) => s.value = a),
253
- compact: "",
254
- "possible-values": V.value,
255
- class: "filter-switch"
256
- }, null, 8, ["modelValue", "possible-values"]),
257
- h("div", _e, [
258
- h("div", {
259
- id: "dateFormats",
260
- ref_key: "formatContainerRef",
261
- ref: f,
262
- class: "formats-container",
263
- tabindex: "0",
264
- role: "menu",
265
- onKeydown: t[2] || (t[2] = //@ts-ignore
266
- (...a) => w(B) && w(B)(...a))
267
- }, [
268
- l.value === null ? (p(), g("div", Me, [
269
- k(Ee, { class: "loading-spinner" })
270
- ])) : l.value.length === 0 ? (p(), g("div", ze, " No formats available ")) : (p(!0), g(oe, { key: 2 }, ne(l.value, (a, c) => {
271
- var v;
272
- return p(), g("div", {
273
- key: b(a),
274
- ref_for: !0,
275
- ref: Z(a),
276
- class: F([{
277
- highlighted: c === w(R),
278
- applied: c === ((v = u.value) == null ? void 0 : v.index) && a.category === u.value.category && a.temporalType === u.value.temporalType
279
- }, "single-format"]),
280
- role: "menuitem",
281
- onClick: () => n("commit", x(a))
282
- }, [
283
- h("span", De, U(a.format), 1),
284
- h("span", Ae, U(a.example), 1)
285
- ], 10, Ie);
286
- }), 128))
287
- ], 544)
288
- ])
289
- ])
290
- ]),
291
- _: 1
292
- }, 8, ["active", "initial-focus"]));
293
- }
294
- }), Fe = /* @__PURE__ */ I(Ce, [["__scopeId", "data-v-8bb40d8b"]]), Ne = { class: "input-fields" }, Se = ["disabled"], Re = {
295
- key: 0,
296
- class: "invalid-marker"
297
- }, Be = ["disabled"], $e = {}, Pe = /* @__PURE__ */ z({
298
- ...$e,
299
- __name: "DateTimeFormatInput",
300
- props: /* @__PURE__ */ Y({
301
- disabled: { type: Boolean, default: !1 },
302
- compact: { type: Boolean, default: !1 },
303
- isValid: { type: Boolean, default: !0 },
304
- allDefaultFormats: {},
305
- allowedTypes: { default: () => [
306
- "DATE",
307
- "TIME",
308
- "DATE_TIME",
309
- "ZONED_DATE_TIME"
310
- ] },
311
- showTypeSwitchInPopover: { type: Boolean, default: !0 }
312
- }, {
313
- modelValue: {
314
- default: {
315
- format: "yyyy-MM-dd",
316
- temporalType: "DATE"
317
- }
318
- },
319
- modelModifiers: {}
320
- }),
321
- emits: ["update:modelValue"],
322
- setup(o) {
323
- const r = o, n = Q(o, "modelValue"), d = T({
324
- get: () => n.value.format,
325
- set: (f) => {
326
- n.value = {
327
- ...n.value,
328
- format: f
329
- };
330
- }
331
- }), V = "Format like 'yyyy-MM-dd'", _ = T(() => r.isValid), u = E(null), m = E(null), s = E(!1), i = (f) => {
332
- n.value = f, s.value = !1;
333
- };
334
- re(m, () => s.value = !1, {
335
- ignore: [u]
336
- });
337
- const { floatingStyles: l } = de(
338
- u,
339
- m,
340
- {
341
- middleware: [
342
- ce({
343
- mainAxis: 2,
344
- crossAxis: 0
345
- }),
346
- me(),
347
- pe({
348
- mainAxis: !0,
349
- crossAxis: !1
350
- })
351
- ],
352
- placement: "top-end",
353
- whileElementsMounted: ue
354
- }
355
- );
356
- return (f, y) => (p(), g("div", null, [
357
- h("div", {
358
- class: F(["wrapper", { disabled: o.disabled, compact: o.compact }])
359
- }, [
360
- h("span", Ne, [
361
- q(h("input", {
362
- "onUpdate:modelValue": y[0] || (y[0] = (b) => d.value = b),
363
- type: "text",
364
- disabled: o.disabled,
365
- placeholder: V,
366
- spellcheck: "false",
367
- onFocus: y[1] || (y[1] = (b) => s.value = !1)
368
- }, null, 40, Se), [
369
- [G, d.value]
370
- ]),
371
- _.value ? C("", !0) : (p(), g("span", Re)),
372
- h("button", {
373
- ref_key: "togglePopoverButtonRef",
374
- ref: u,
375
- class: F(["trigger-popover-button", { active: s.value }]),
376
- disabled: o.disabled,
377
- onClick: y[2] || (y[2] = (b) => s.value = !s.value)
378
- }, [
379
- k(w(ke))
380
- ], 10, Be)
381
- ])
382
- ], 2),
383
- s.value ? (p(), g("div", {
384
- key: 0,
385
- ref_key: "floatingPopoverRef",
386
- ref: m,
387
- class: "popover",
388
- style: J(w(l))
389
- }, [
390
- k(Fe, {
391
- "all-formats": o.allDefaultFormats,
392
- "initial-selected-pattern": n.value.format,
393
- "selected-type": n.value.temporalType,
394
- "show-type-switch": o.showTypeSwitchInPopover,
395
- onCommit: i,
396
- onCancel: y[3] || (y[3] = (b) => s.value = !1)
397
- }, null, 8, ["all-formats", "initial-selected-pattern", "selected-type", "show-type-switch"])
398
- ], 4)) : C("", !0)
399
- ]));
400
- }
401
- }), Oe = /* @__PURE__ */ I(Pe, [["__scopeId", "data-v-1577d5ce"]]), Ue = ["id"], He = /* @__PURE__ */ z({
402
- __name: "DateTimeFormatPickerWithTypeControl",
403
- props: {
404
- control: {},
405
- handleChange: { type: Function },
406
- changeValue: { type: Function },
407
- disabled: { type: Boolean },
408
- isValid: { type: Boolean },
409
- onRegisterValidation: { type: Function },
410
- labelForId: {}
411
- },
412
- setup(o) {
413
- const r = o, n = T(
414
- () => r.control.uischema
415
- ), d = T(() => n.value.options), V = T(() => {
416
- var i;
417
- return (i = d.value) == null ? void 0 : i.allowedFormats;
418
- }), _ = ie(n, "dateTimeFormats"), u = [
419
- {
420
- id: "DATE",
421
- text: "Date"
422
- },
423
- {
424
- id: "DATE_TIME",
425
- text: "Date & time"
426
- },
427
- {
428
- id: "TIME",
429
- text: "Time"
430
- },
431
- {
432
- id: "ZONED_DATE_TIME",
433
- text: "Zoned date & time"
434
- }
435
- ], m = T({
436
- get: () => r.control.data,
437
- set: (i) => {
438
- r.changeValue(i);
439
- }
440
- }), s = T({
441
- get: () => m.value.temporalType,
442
- set: (i) => {
443
- m.value = {
444
- ...m.value,
445
- temporalType: i
446
- };
447
- }
448
- });
449
- return (i, l) => (p(), g("div", {
450
- id: o.labelForId,
451
- class: "control-container"
452
- }, [
453
- k(w(S), {
454
- modelValue: s.value,
455
- "onUpdate:modelValue": l[0] || (l[0] = (f) => s.value = f),
456
- compact: "",
457
- "possible-values": u,
458
- disabled: o.disabled
459
- }, null, 8, ["modelValue", "disabled"]),
460
- k(w(Oe), {
461
- modelValue: m.value,
462
- "onUpdate:modelValue": l[1] || (l[1] = (f) => m.value = f),
463
- compact: "",
464
- disabled: o.disabled,
465
- "show-type-switch-in-popover": !1,
466
- "allowed-formats": V.value,
467
- "all-default-formats": w(_),
468
- "is-valid": !0
469
- }, null, 8, ["modelValue", "disabled", "allowed-formats", "all-default-formats"])
470
- ], 8, Ue));
471
- }
472
- }), Ye = /* @__PURE__ */ I(He, [["__scopeId", "data-v-8517cafd"]]);
473
- export {
474
- Ye as default
475
- };
@@ -1,30 +0,0 @@
1
- import { defineComponent as a, toRef as n, createBlock as t, openBlock as r, unref as d } from "vue";
2
- import { t as i } from "./usePossibleValues-B-W6u-1T-DcglK6MY.js";
3
- import { L as s } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-BLSG6Lpo-CtYj2B6v.js";
4
- const f = /* @__PURE__ */ a({
5
- __name: "DropdownControl",
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(o) {
16
- const e = o, { possibleValues: l } = i(n(e, "control"));
17
- return (p, u) => (r(), t(s, {
18
- id: o.labelForId ?? "",
19
- ariaLabel: o.control.label,
20
- disabled: o.disabled,
21
- "model-value": o.control.data ?? "",
22
- "possible-values": d(l),
23
- error: !o.isValid,
24
- "onUpdate:modelValue": o.changeValue
25
- }, null, 8, ["id", "ariaLabel", "disabled", "model-value", "possible-values", "error", "onUpdate:modelValue"]));
26
- }
27
- });
28
- export {
29
- f as default
30
- };
@@ -1,6 +0,0 @@
1
- import { P as o } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
2
- import { Q as m } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
3
- export {
4
- m as DYNAMIC_SETTINGS_KEY,
5
- o as default
6
- };
@@ -1,56 +0,0 @@
1
- import { defineComponent as v, computed as o, createBlock as h, openBlock as f, normalizeProps as C, guardReactiveProps as g, withCtx as x, createElementVNode as a, toDisplayString as i } from "vue";
2
- import { Q as y } from "./ResourceControlBase-Bqq1PAX_-5gNwtS9Y.js";
3
- import { Y as b } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
4
- const V = { class: "info-container" }, k = { class: "chart-title" }, B = { class: "chart-description" }, F = /* @__PURE__ */ v({
5
- __name: "ExecutorCoresControl",
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(r) {
16
- const t = r, s = o(
17
- () => {
18
- var e;
19
- return ((e = t.control.uischema.options) == null ? void 0 : e.donutTitle) || "";
20
- }
21
- ), c = o(
22
- () => {
23
- var e;
24
- return ((e = t.control.uischema.options) == null ? void 0 : e.currentUsage) ?? 0;
25
- }
26
- ), n = o(
27
- () => t.control.schema.secondaryValue || 0
28
- ), l = o(
29
- () => {
30
- var e;
31
- return ((e = t.control.uischema.options) == null ? void 0 : e.donutMax) ?? 1 / 0;
32
- }
33
- ), u = o(
34
- () => l.value === -1 ? "unlimited" : l.value
35
- ), d = o(
36
- () => {
37
- var e;
38
- return ((e = t.control.uischema.options) == null ? void 0 : e.isSharedContext) ?? !1;
39
- }
40
- ), p = o(() => c.value + n.value), m = o(
41
- () => `This execution context will use ${n.value} vCore tokens. In total, ${p.value} of ${u.value} vCore tokens available ${d.value ? "from the license" : "for this team"} will be used.`
42
- );
43
- return (e, _) => (f(), h(y, C(g(t)), {
44
- "donut-info": x(() => [
45
- a("div", V, [
46
- a("div", k, i(s.value), 1),
47
- a("div", B, i(m.value), 1)
48
- ])
49
- ]),
50
- _: 1
51
- }, 16));
52
- }
53
- }), E = /* @__PURE__ */ b(F, [["__scopeId", "data-v-58b92dd1"]]);
54
- export {
55
- E as default
56
- };
@@ -1,50 +0,0 @@
1
- import { defineComponent as d, computed as o, createBlock as m, openBlock as v, normalizeProps as h, guardReactiveProps as f, withCtx as y, createElementVNode as a, toDisplayString as i } from "vue";
2
- import { Q as B } from "./ResourceControlBase-Bqq1PAX_-5gNwtS9Y.js";
3
- import { Y as g } from "./TextControl-B0ag-3Pv-nwKlVRtp.js";
4
- const x = { class: "info-container" }, b = { class: "chart-title" }, V = { class: "chart-description" }, C = /* @__PURE__ */ d({
5
- __name: "ExecutorMemoryControl",
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(l) {
16
- const t = l, n = o(
17
- () => t.control.schema.secondaryValue || 0
18
- ), r = o(
19
- () => {
20
- var e;
21
- return ((e = t.control.uischema.options) == null ? void 0 : e.donutTitle) || "";
22
- }
23
- ), c = o(
24
- () => {
25
- var e;
26
- return ((e = t.control.uischema.options) == null ? void 0 : e.currentUsage) ?? 0;
27
- }
28
- ), s = o(
29
- () => {
30
- var e;
31
- return ((e = t.control.uischema.options) == null ? void 0 : e.donutMax) ?? 1 / 0;
32
- }
33
- ), u = o(() => n.value + c.value), p = o(
34
- () => `This execution context will use a maximum of ${n.value} GB RAM.
35
- In total, ${u.value} GB of ${s.value} GB available for this team will be used.`
36
- );
37
- return (e, _) => (v(), m(B, h(f(t)), {
38
- "donut-info": y(() => [
39
- a("div", x, [
40
- a("div", b, i(r.value), 1),
41
- a("div", V, i(p.value), 1)
42
- ])
43
- ]),
44
- _: 1
45
- }, 16));
46
- }
47
- }), G = /* @__PURE__ */ g(C, [["__scopeId", "data-v-515b606e"]]);
48
- export {
49
- G as default
50
- };