@knime/scripting-editor 0.0.132 → 0.0.133

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 (110) hide show
  1. package/dist/{AnyOfTwinlist-DEv6xgTn-BV0O3had.js → AnyOfTwinlist-CKNl_Xwk-DpdmD6Y_.js} +1 -1
  2. package/dist/{ArrayLayout-xpUEX4UY.js → ArrayLayout-XksJXnhS.js} +51 -51
  3. package/dist/{ButtonControl-BFG84O1r.js → ButtonControl-CGN4of4k.js} +5 -5
  4. package/dist/{CheckboxControl-Yqf7_a5P--lSSti7m.js → CheckboxControl-Doj5Pl3W-Dk3mHCwf.js} +1 -1
  5. package/dist/{CheckboxesControl-Cx7qUDbd-ByGOCDtp.js → CheckboxesControl-of1RkErM-Depvhzov.js} +2 -2
  6. package/dist/{CodeEditorControl-DAfgzg-h.js → CodeEditorControl-Cw_Gj8Kn.js} +28 -28
  7. package/dist/{ColorControl-BjIoBGby-B54hb0gK.js → ColorControl-CYp6665w-Cz3T7gFq.js} +1 -1
  8. package/dist/{ColorPreviewControl-Cmpb3_o4--muSe_be.js → ColorPreviewControl-DASvbRv2-BcvEXrhU.js} +24 -24
  9. package/dist/{ComboBoxControl-DJsbSwD6-xuE8rZyf.js → ComboBoxControl-CDsmu2re-DX4k5SqO.js} +7 -7
  10. package/dist/{ConfigurationNodeNotSupported-Bkfoi87W.js → ConfigurationNodeNotSupported-DyQhBiW9.js} +3 -3
  11. package/dist/{ControlWithSubParameters-B9TiQfTU.js → ControlWithSubParameters-zcN9X0gF.js} +18 -14
  12. package/dist/{CredentialsControl-CqulYPUL.js → CredentialsControl-B0awnzBc.js} +2 -2
  13. package/dist/{CredentialsControlBase-x4zTZK8u.js → CredentialsControlBase-CMeDxKBK.js} +14 -14
  14. package/dist/{DateControl-CcuCk97j-CdiO3xtM.js → DateControl-CQqgNnLT-BwpIpPwC.js} +5 -5
  15. package/dist/DateTimeControl-CREQEjeO-DvTO-X97.js +112 -0
  16. package/dist/{DateTimeFormatPickerControl-CpaOPUR6-J_PpzzAB.js → DateTimeFormatPickerControl-C8vEg2z6-COYnZjFW.js} +1 -1
  17. package/dist/DialogFileExplorer-zbo5DDXP.js +433 -0
  18. package/dist/{DirtyTrackerRenderer-6k1ego1B.js → DirtyTrackerRenderer-DC192nyo.js} +1 -1
  19. package/dist/{DropdownControl-CpSZxjr1-C804I9fG.js → DropdownControl-CtwmuEsb-Cyfs0JQW.js} +2 -2
  20. package/dist/DynamicInputControl-DXw5qoOq.js +6 -0
  21. package/dist/{ExecutorCoresControl-DoG2-XCx-BC0pTSv1.js → ExecutorCoresControl-CoEYfg6t-Cc6LPHHw.js} +1 -1
  22. package/dist/{ExecutorMemoryControl-DqYRmLt2-DgmK5cxY.js → ExecutorMemoryControl-BljLEdwM-CJXpm-_6.js} +1 -1
  23. package/dist/{FileChooserControl-Cv9Nvwrw.js → FileChooserControl-B0tWVocx.js} +2 -2
  24. package/dist/{FileChooserControlBase-C4WoqeuQ.js → FileChooserControlBase-xHnkds47.js} +91 -91
  25. package/dist/{FileChooserControlForMultiFile-DJydfSjI.js → FileChooserControlForMultiFile-C_v0Qlrw.js} +1 -1
  26. package/dist/{FileUploadControl-IAwE26IH-LLTdmWyW.js → FileUploadControl-BN1ZcIOy-81dPQCFP.js} +138 -138
  27. package/dist/{GridSelectionControl-DUVIpMsY-CuyLvikR.js → GridSelectionControl-llAAbmgk-CX0TsQ0E.js} +32 -32
  28. package/dist/{HorizontalLayout-92oHZT6R--JjwD9hI.js → HorizontalLayout-jN2ocYG5-CrErZyTw.js} +5 -5
  29. package/dist/{IntegerControl-B2TyUPGu-BLpffmEs.js → IntegerControl-CaIxt1i8-DEsNKUHq.js} +1 -1
  30. package/dist/{IntervalControl-BbIwNXK3-DcVnnDMh.js → IntervalControl-t714rU_V-MGYedhl3.js} +3 -3
  31. package/dist/{LabeledGroup-oOuEM_pN.js → LabeledGroup-LQTFxJnW.js} +6 -6
  32. package/dist/{LegacyCredentialsControl-DAZOUpou.js → LegacyCredentialsControl-B7HDTB-Y.js} +24 -20
  33. package/dist/{LinkControl-Cmk_qiO_-CF2rBAA7.js → LinkControl-DHge9xPr-DJ2ZdJgk.js} +1 -1
  34. package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-C0YzJo8M-DJVLdb5q.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-Cj3ak4Kd-CGPIwlnR.js} +1 -1
  35. package/dist/{ManualTwinlistControl-DTl3XPje-CnoltRZh.js → ManualTwinlistControl-DDabLDpL-CBO85_R7.js} +13 -13
  36. package/dist/{MultiFileChooserControl-1YghP5YI.js → MultiFileChooserControl-Bir5CRJ9.js} +15 -15
  37. package/dist/{MultiRuleWrapper-BnwWI1WL.js → MultiRuleWrapper-DwJa92_U.js} +1 -1
  38. package/dist/{MultiSelectListBoxControl-DIV0UiGV-CN3b9J9V.js → MultiSelectListBoxControl-DdWI84_Z-S4a3Gqjz.js} +32 -32
  39. package/dist/{MultimodeTwinlistControl-F1L7mwSB-GnzFL4Xl.js → MultimodeTwinlistControl-Da66Qd_9-Bbml7WCJ.js} +27 -27
  40. package/dist/{NameFilter-Crwz1wiJ-CU1s2b7c.js → NameFilter-CGftAGoS-eES5XN_m.js} +1 -1
  41. package/dist/{NumberControl-CTycpm1q-SsW1E9e6.js → NumberControl-D6IUlr0F-BY4ied5y.js} +1 -1
  42. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-CRNO3Yp4-DIZHQaJH.js → NumberControlBase.vue_vue_type_script_setup_true_lang-E8FQgjrx-D0v57kFS.js} +3 -3
  43. package/dist/{OneOfDropdown-B7KrUOWD-DAFKZmqZ.js → OneOfDropdown-C67MhziA-CpMIH2JQ.js} +5 -5
  44. package/dist/ProgressButtonControl-CxH6Cipu-C6HhyVpC.js +54 -0
  45. package/dist/{RadioButtonsWithDescriptionControl-UmWLsOmL-BjelKrcC.js → RadioButtonsWithDescriptionControl-CbJxLwdI-BoB6XMXH.js} +7 -7
  46. package/dist/{RadioControl-BAoCJNMH-VuiN6M_V.js → RadioControl-DcUIHhJC-BwptwkBW.js} +1 -1
  47. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-DKx6ts7n-BNr3sbHh.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CWUPk9t_-DNZ6dVPk.js} +7 -7
  48. package/dist/{ResourceControlBase-97R2-qQ7-BBi11JJj.js → ResourceControlBase-BQY6errk-u3DjtQtM.js} +18 -18
  49. package/dist/RichTextControl-Mcxf362n-DdOUSE6M.js +19683 -0
  50. package/dist/{SectionLayout-DS6gpiV1-BN6brreP.js → SectionLayout-DyslAsrB-CUKYruK6.js} +13 -13
  51. package/dist/{SettingsSubPanelLayout-CJeD408x-yH9r1jii.js → SettingsSubPanelLayout-Cay8i6NA-DbMFWTQS.js} +7 -7
  52. package/dist/{SimpleTwinlistControl-L1tY6QlY-Dvmt0hp3.js → SimpleTwinlistControl-D4BFF9jE-CLzhAZh8.js} +2 -2
  53. package/dist/{SingleSelectControl-Ce9RLMjD-CTQ6TVF0.js → SingleSelectControl-D-yUZtl2-BUEaZUuq.js} +2 -2
  54. package/dist/{SingleSelectListBoxControl-Dv-XXwO4-BrMTb8AD.js → SingleSelectListBoxControl-BpC-WEID-Fkrf5Nzh.js} +11 -11
  55. package/dist/{SortListControl-BlsAnJjH-tbIOGxZ_.js → SortListControl-7mmEkodd-CNOnx3jy.js} +17 -17
  56. package/dist/{StringFileChooserControl-BUYM9fmT.js → StringFileChooserControl-Bx5y6IUS.js} +11 -11
  57. package/dist/{StyledListItem-DjdZOUWD-BMILJImI.js → StyledListItem-BmNDGGnr-Bq-z-rsZ.js} +17 -17
  58. package/dist/{TeamAndSpacesControl-CEdzSJPJ-45d6LeCk.js → TeamAndSpacesControl-BI4anOSY-M-p6tIeU.js} +20 -20
  59. package/dist/{TeamResourceControl-Cd0UTItF-Coo1MGve.js → TeamResourceControl-s9NfKZEk-YrY32KjS.js} +1 -1
  60. package/dist/{TextAreaControl-B-AfgqCE-BxgZnZ7G.js → TextAreaControl-DSBystkT-BSHORNXB.js} +4 -4
  61. package/dist/TextControl-DBIt0sjP-BIZDsHMy.js +59813 -0
  62. package/dist/{TimeControl-DOs9b4bm-B7dozTCB.js → TimeControl-COlrx8kC-BcVH6ODv.js} +5 -5
  63. package/dist/{TimeframesControl-4JGOYGkE-DfsHVFg9.js → TimeframesControl-Cg12Kpcx-C7dGpAT6.js} +13 -13
  64. package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-C_u035me-DAGCRygG.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-_TYZPooB-Dfpkfwo6.js} +4 -4
  65. package/dist/{TypedStringFilter-C6N8H2Xj-CI1wXgVk.js → TypedStringFilter-CX3YoFa7-C1x-NGyu.js} +1 -1
  66. package/dist/{ValueSwitchControl-BO6x8fsi-B4Fuvawe.js → ValueSwitchControl-DpxEagdS-C4QFBVRx.js} +1 -1
  67. package/dist/{VennDiagramLayout-HkmFaxWm.js → VennDiagramLayout-DUW0acFP.js} +39 -39
  68. package/dist/{VerticalLayout-AMSQYCUV-HYDBzl_2.js → VerticalLayout-X4PVwPsF-b_ZcHKaF.js} +4 -4
  69. package/dist/ZonedDateTimeControl-CWeuMH0t-Dt7Rxkqb.js +100 -0
  70. package/dist/auto-configure-BU7AIhL7-7W3z7Vjz-6q91a8j9.js +22 -0
  71. package/dist/copy-D43FaHi--Bqzsv-mJ-7FU3jkgQ.js +22 -0
  72. package/dist/duplicate-Mtq886XD-BDwFp0vh-CIu7W6h6.js +22 -0
  73. package/dist/feedback-CSzO39Ck-BS5Fxtel.js +22 -0
  74. package/dist/feedback-CSzO39Ck-CKiwRjzw.js +22 -0
  75. package/dist/feedback-CSzO39Ck-_5Kb5BA8-CKe-zu3t.js +22 -0
  76. package/dist/{copy-DAYm6-mo-CDvX8jVa-B9UCeqRZ.js → folder-move-6L5NfoIs-CCvXkj23-BYHDrg6P.js} +5 -5
  77. package/dist/import-table-BaqmTPnF-CZCiPNmS.js +22 -0
  78. package/dist/import-table-BaqmTPnF-D0en45ie.js +22 -0
  79. package/dist/import-table-BaqmTPnF-KBTO9jUb-Bpwci1gw.js +22 -0
  80. package/dist/linked-component-BOb5aj87-VJSVKxb2-DMjL90PX.js +22 -0
  81. package/dist/login-DGaxAy8E-D6O36glE.js +22 -0
  82. package/dist/login-DGaxAy8E-DplCH1d8-6sF6_FhA.js +22 -0
  83. package/dist/login-DGaxAy8E-_ybELmwN.js +22 -0
  84. package/dist/main.js +601 -596
  85. package/dist/parameters.js +1 -1
  86. package/dist/random-seed-BmLMj_2x-DINXvCyu-wqk9PzlG.js +22 -0
  87. package/dist/random-seed-BmLMj_2x-DKTVdNoj.js +22 -0
  88. package/dist/random-seed-BmLMj_2x-qRFs8Sbo.js +22 -0
  89. package/dist/table-Pffb9Oig-CvTPEL4F.js +22 -0
  90. package/dist/table-Pffb9Oig-Qm0Lnd2q-C-VWjB_D.js +22 -0
  91. package/dist/table-Pffb9Oig-TCq5zt91.js +22 -0
  92. package/dist/update-file-5lTfm97G-BGdh5udY.js +22 -0
  93. package/dist/update-file-5lTfm97G-BwwZevAR.js +22 -0
  94. package/dist/update-file-5lTfm97G-mHppEON3-CqyuH0wP.js +22 -0
  95. package/dist/{useFileChooserBackend-uDGm68hp.js → useFileChooserBackend-Cnk4jIty.js} +9 -9
  96. package/dist/{usePossibleValues-CsJuQ591-r_2wYQe_.js → usePossibleValues-BbkYA3Ri-phbvmDoC.js} +2 -2
  97. package/dist/validate-CD0_eO0m-8oVXNF5a-JUzgUSW_.js +22 -0
  98. package/dist/validate-CD0_eO0m-Dsn7xOmd.js +22 -0
  99. package/dist/validate-CD0_eO0m-DxUbUuun.js +22 -0
  100. package/package.json +3 -3
  101. package/dist/DateTimeControl-CuB6aWlL-CgLiloF4.js +0 -89
  102. package/dist/DateTimeFormatPickerWithTypeControl-BQKDIoYn-Vw11sEhI.js +0 -598
  103. package/dist/DialogFileExplorer-CiOfUL_M.js +0 -501
  104. package/dist/DynamicInputControl-Bc99HU8j.js +0 -6
  105. package/dist/RichTextControl-D4ItwmZa-CV9QLVR2.js +0 -19326
  106. package/dist/TextControl-DfrjuKwf-2f9eJp4g.js +0 -54247
  107. package/dist/ZonedDateTimeControl-1lHvcaQc-X46S4Ze5.js +0 -82
  108. package/dist/useDropdownNavigation-CdrbT-CQ-Dxb_y1Fq.js +0 -2003
  109. package/dist/usePlainDateTimeBatch-Bd2G-GY9-DO2Zu0Mj.js +0 -34
  110. /package/dist/{useUnknownValuesInTwinlist-DuLcQlCx-D2ve7iXH.js → useUnknownValuesInTwinlist-uBQ8vniL-D2ve7iXH.js} +0 -0
@@ -0,0 +1,433 @@
1
+ import { inject as Ie, ref as r, provide as he, defineComponent as G, useTemplateRef as le, createBlock as C, openBlock as h, unref as u, withCtx as k, createElementVNode as $, createVNode as g, createCommentVNode as S, renderSlot as z, watch as x, onMounted as Oe, computed as y, toRefs as Re, toRef as Ee, createElementBlock as N, Fragment as Te, toDisplayString as Le } from "vue";
2
+ import { _ as _e, a3 as A, aj as ge, ak as Be, ai as De, al as ke, am as xe } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
3
+ import { _ as ae } from "./_plugin-vue_export-helper-CHgC5LLL.js";
4
+ import { a as Ce } from "./useFileChooserBackend-Cnk4jIty.js";
5
+ const j = {}, U = (o) => {
6
+ if (!(o in j)) {
7
+ const s = Symbol(o);
8
+ j[o] = s;
9
+ }
10
+ return j[o];
11
+ }, se = U(
12
+ "applyButtonInjectionKey"
13
+ ), oe = ({
14
+ key: o,
15
+ initialValue: s,
16
+ element: t
17
+ }) => {
18
+ const n = r(s.text), c = r(s.shown ?? !0), f = r(s.disabled ?? !1), v = r(), d = {
19
+ element: t,
20
+ disabled: f,
21
+ shown: c,
22
+ text: n,
23
+ onApply: v
24
+ };
25
+ return he(
26
+ o ? U(o) : se,
27
+ d
28
+ ), d;
29
+ }, ne = (o) => Ie(o ? U(o) : se), we = { class: "bottom-buttons" }, ie = "goIntoFolderInjectionKey", Pe = /* @__PURE__ */ G({
30
+ __name: "SettingsSubPanelForFileChooser",
31
+ props: {
32
+ showBackArrow: { type: Boolean, default: !1 }
33
+ },
34
+ emits: ["apply"],
35
+ setup(o, { emit: s }) {
36
+ const t = s, n = r(), c = () => {
37
+ var a;
38
+ (a = n.value) == null || a.close();
39
+ }, f = () => {
40
+ t("apply"), c();
41
+ }, d = le("applyButton"), {
42
+ text: F,
43
+ disabled: T,
44
+ onApply: m
45
+ } = oe({ element: d, initialValue: { text: "Apply" } }), i = "goIntoFolderButton", L = le(
46
+ i
47
+ ), {
48
+ text: _,
49
+ disabled: O,
50
+ shown: I,
51
+ onApply: b
52
+ } = oe({
53
+ key: ie,
54
+ element: L,
55
+ initialValue: {
56
+ text: "Open folder"
57
+ }
58
+ }), R = () => {
59
+ var a;
60
+ return (a = m.value) == null ? void 0 : a.call(m).then(f).catch(() => {
61
+ });
62
+ };
63
+ return (a, B) => (h(), C(u(_e), {
64
+ ref_key: "settingsSubPanelRef",
65
+ ref: n,
66
+ "show-back-arrow": a.showBackArrow
67
+ }, {
68
+ "expand-button": k(({ expand: E }) => [
69
+ z(a.$slots, "expand-button", { expand: E }, void 0, !0)
70
+ ]),
71
+ default: k(() => [
72
+ z(a.$slots, "default", {
73
+ applyAndClose: R,
74
+ cancel: c
75
+ }, void 0, !0)
76
+ ]),
77
+ "bottom-content": k(() => [
78
+ $("div", we, [
79
+ g(u(A), {
80
+ variant: "outlined",
81
+ size: "small",
82
+ label: "Cancel",
83
+ onClick: c
84
+ }),
85
+ $("div", null, [
86
+ u(I) ? (h(), C(u(A), {
87
+ key: 0,
88
+ ref: i,
89
+ variant: "outlined",
90
+ size: "small",
91
+ label: u(_),
92
+ disabled: u(O),
93
+ onClick: u(b)
94
+ }, null, 8, ["label", "disabled", "onClick"])) : S("", !0),
95
+ g(u(A), {
96
+ ref_key: "applyButton",
97
+ ref: d,
98
+ size: "small",
99
+ label: u(F),
100
+ disabled: u(T),
101
+ onClick: R
102
+ }, null, 8, ["label", "disabled"])
103
+ ])
104
+ ])
105
+ ]),
106
+ _: 3
107
+ }, 8, ["show-back-arrow"]));
108
+ }
109
+ }), Se = /* @__PURE__ */ ae(Pe, [["__scopeId", "data-v-06c5a7f2"]]), Je = /* @__PURE__ */ G({
110
+ __name: "FileBrowserButton",
111
+ props: {
112
+ disabled: { type: Boolean, default: !1 }
113
+ },
114
+ emits: ["apply"],
115
+ setup(o, { emit: s }) {
116
+ const t = s;
117
+ return (n, c) => (h(), C(Se, {
118
+ ref: "settings-panel",
119
+ onApply: c[0] || (c[0] = () => t("apply"))
120
+ }, {
121
+ "expand-button": k(({ expand: f }) => [
122
+ g(u(A), {
123
+ class: "fit-content",
124
+ disabled: n.disabled,
125
+ variant: "filled",
126
+ "leading-icon": "folder-search",
127
+ ariaLabel: "Browse",
128
+ size: "medium",
129
+ onClick: f
130
+ }, null, 8, ["disabled", "onClick"])
131
+ ]),
132
+ default: k(({ applyAndClose: f, cancel: v }) => [
133
+ z(n.$slots, "default", {
134
+ applyAndClose: f,
135
+ cancel: v
136
+ })
137
+ ]),
138
+ _: 3
139
+ }, 512));
140
+ }
141
+ }), Ye = ({
142
+ /**
143
+ * The onChange method that actually sets the value in the dialogs data.
144
+ */
145
+ onChange: o,
146
+ /**
147
+ * The value from this ref will be taken as initial value for
148
+ * the side drawer in the moment it is opened.
149
+ */
150
+ initialValue: s
151
+ }) => {
152
+ const t = r(s.value), n = (f) => {
153
+ t.value = f;
154
+ }, c = () => o(t.value);
155
+ return x(() => s.value, n), {
156
+ onApply: c,
157
+ sideDrawerValue: t,
158
+ updateSideDrawerValue: n
159
+ };
160
+ }, Ae = (o) => ({
161
+ getItemIcon: (t) => t.isDirectory ? "folder" : o.value ? "workflow" : "file-text"
162
+ }), Ke = (o) => ({
163
+ isDirectory: o.isDirectory,
164
+ id: o.name,
165
+ name: o.name,
166
+ isOpen: !1,
167
+ ...o.isDisabledDirectory ? { disabled: !0 } : {}
168
+ }), Me = ({
169
+ actions: { chooseItem: o, goIntoSelectedFolder: s },
170
+ selectionMode: t,
171
+ selectedItem: n,
172
+ toBeChosenItem: c,
173
+ isRootParent: f
174
+ }) => {
175
+ const {
176
+ element: v,
177
+ disabled: d,
178
+ text: F,
179
+ onApply: T
180
+ } = ne(), {
181
+ element: m,
182
+ disabled: i,
183
+ onApply: L,
184
+ shown: _
185
+ } = ne(ie);
186
+ Oe(() => {
187
+ T.value = o, _.value = !0, i.value = !0, L.value = () => s();
188
+ });
189
+ const O = y(() => [
190
+ v,
191
+ m
192
+ ]);
193
+ return x(
194
+ [n, t, f, c],
195
+ ([I, b, R, a]) => {
196
+ b === "FILE" ? F.value = "Choose file" : b === "WORKFLOW" ? F.value = "Choose workflow" : F.value = "Choose folder";
197
+ const B = b === "FILE" || b === "WORKFLOW", E = b === "FOLDER";
198
+ a ? a.selectionType === "FILE" ? (d.value = E, b === "FILE_OR_FOLDER" && (F.value = "Choose file")) : a.selectionType === "FOLDER" ? d.value = B : a.selectionType === "FILE_OR_FOLDER" && (d.value = !1, F.value = "Choose") : d.value = B || R, I ? I.selectionType === "FILE" ? i.value = !0 : I.selectionType === "FOLDER" ? i.value = !1 : I.selectionType === "FILE_OR_FOLDER" && (i.value = !0) : i.value = !0;
199
+ },
200
+ { immediate: !0 }
201
+ ), {
202
+ clickOutsideExceptions: O,
203
+ goIntoFolderButtonShown: _
204
+ };
205
+ }, Ve = {
206
+ key: 0,
207
+ class: "loading-animation"
208
+ }, We = { class: "current-path" }, Ne = {
209
+ key: 0,
210
+ class: "error"
211
+ }, je = /* @__PURE__ */ G({
212
+ __name: "DialogFileExplorer",
213
+ props: {
214
+ initialFilePath: { default: "" },
215
+ initialFileName: { default: null },
216
+ isWriter: { type: Boolean, default: !1 },
217
+ filteredExtensions: { default: () => [] },
218
+ appendedExtension: { default: null },
219
+ backendType: {},
220
+ breadcrumbRoot: { default: null },
221
+ selectionMode: { default: "FILE" },
222
+ relativeToOptions: {}
223
+ },
224
+ emits: ["chooseItem", "update:isRelativeTo", "update:fileName", "applyAndClose", "cancel", "navigate"],
225
+ setup(o, { emit: s }) {
226
+ const t = o, n = s, c = y({
227
+ get: () => {
228
+ var e;
229
+ return (e = t.relativeToOptions) != null && e.isRelativeTo ? "RELATIVE" : "ROOT";
230
+ },
231
+ set: (e) => n("update:isRelativeTo", e === "RELATIVE")
232
+ }), f = y(
233
+ () => t.relativeToOptions ? [
234
+ {
235
+ id: "ROOT",
236
+ text: t.relativeToOptions.rootLabel
237
+ },
238
+ {
239
+ id: "RELATIVE",
240
+ text: t.relativeToOptions.relativeRootLabel
241
+ }
242
+ ] : []
243
+ ), v = y(() => t.relativeToOptions && c.value === "RELATIVE" ? t.relativeToOptions.relativeToPath : null), d = r(null), F = r([]), T = r(!0), m = r(null), i = r(null), L = r([]), _ = {
244
+ FILE: ["FILE"],
245
+ FOLDER: ["FOLDER"],
246
+ FILE_OR_FOLDER: ["FILE", "FOLDER", "FILE_OR_FOLDER"],
247
+ WORKFLOW: ["FILE"]
248
+ }, O = y(
249
+ () => _[t.selectionMode]
250
+ ), I = y(() => t.selectionMode === "WORKFLOW"), { getItemIcon: b } = Ae(I), R = y(
251
+ () => L.value.map((e) => ({
252
+ ...e,
253
+ icon: b(e),
254
+ disabled: e.disabled || !O.value.includes("FILE") && !e.isDirectory
255
+ }))
256
+ ), a = r(!0), B = (e) => {
257
+ a.value = !1, d.value = e.path, F.value = e.parentFolders, T.value = e.isRootFolder, L.value = e.items.map(Ke);
258
+ }, E = r(null), K = (e) => {
259
+ E.value = e ?? null;
260
+ }, w = y({
261
+ get: () => {
262
+ const e = i.value;
263
+ return e && O.value.includes(e.selectionType) ? e.name : "";
264
+ },
265
+ set: (e) => {
266
+ if (t.selectionMode !== "FOLDER" && n("update:fileName", e === "" ? null : e), e === "") {
267
+ i.value = null;
268
+ return;
269
+ }
270
+ i.value = {
271
+ name: e,
272
+ selectionType: t.selectionMode === "WORKFLOW" ? "FILE" : t.selectionMode
273
+ };
274
+ }
275
+ }), re = (e) => {
276
+ if (!t.isWriter)
277
+ return;
278
+ const l = i.value;
279
+ l || (w.value = t.initialFileName ?? e), (l == null ? void 0 : l.selectionType) === "FOLDER" && (w.value = e);
280
+ }, J = (e) => {
281
+ if (!e) {
282
+ K("Failed to load items"), n("cancel");
283
+ return;
284
+ }
285
+ B(e.folder), K(e.errorMessage), re(e.filePathRelativeToFolder), n("navigate", e.folder.path);
286
+ }, { filteredExtensions: ue, appendedExtension: ce, isWriter: M, backendType: Y } = Re(t), { listItems: V, getFilePath: de, resolveRelativePath: pe } = Ce({
287
+ filteredExtensions: ue,
288
+ appendedExtension: ce,
289
+ isWriter: M,
290
+ isWorkflowFilterMode: I,
291
+ backendType: Y
292
+ }), q = (e, l = null) => {
293
+ m.value = null, a.value = !0, V(e, l, v.value).then(J);
294
+ }, ve = (e, l) => {
295
+ var te;
296
+ let p = typeof e.name == "string" ? e.name : null, P = null, D = null;
297
+ typeof e.name != "string" && ((te = t.relativeToOptions) != null && te.relativeRootIcon && e.path === t.relativeToOptions.relativeToPath ? (P = t.relativeToOptions.relativeRootIcon, D = t.relativeToOptions.relativeRootLabel) : e.path === null ? t.breadcrumbRoot === null ? (P = "home", D = "Root") : p = t.breadcrumbRoot : p = e.path);
298
+ const ee = {
299
+ ...p ? { text: p } : {},
300
+ ...D ? { ariaLabel: D } : {},
301
+ ...P ? { leadingIcon: P } : {},
302
+ title: p ?? D ?? "Root"
303
+ };
304
+ return l ? ee : {
305
+ ...ee,
306
+ handler: () => q(e.path ?? null)
307
+ };
308
+ }, me = y(
309
+ () => F.value.map(
310
+ (e, l) => ve(e, l === F.value.length - 1)
311
+ )
312
+ ), H = (e) => q(d.value, e), fe = async (e) => {
313
+ const { path: l, errorMessage: p } = await de(
314
+ d.value,
315
+ e,
316
+ v.value
317
+ );
318
+ return l === null ? (K(p), Promise.reject(p)) : (n("chooseItem", l), Promise.resolve());
319
+ }, Q = (e) => {
320
+ if (e.length === 0) {
321
+ m.value = null;
322
+ return;
323
+ }
324
+ const l = R.value.find(
325
+ ({ id: p }) => p === e[0]
326
+ );
327
+ l.isDirectory ? m.value = {
328
+ name: l.name,
329
+ selectionType: "FOLDER"
330
+ } : m.value = {
331
+ name: l.name,
332
+ selectionType: "FILE"
333
+ };
334
+ };
335
+ x(m, (e) => {
336
+ if (!M.value) {
337
+ i.value = e;
338
+ return;
339
+ }
340
+ const l = e == null ? void 0 : e.selectionType;
341
+ !l || !O.value.includes(l) || (i.value = e);
342
+ });
343
+ const X = r(null), Z = r(null), { clickOutsideExceptions: Fe } = Me({
344
+ actions: {
345
+ chooseItem: () => {
346
+ var e;
347
+ return fe(((e = i.value) == null ? void 0 : e.name) ?? "");
348
+ },
349
+ goIntoSelectedFolder: () => {
350
+ var e;
351
+ return ((e = m.value) == null ? void 0 : e.selectionType) === "FOLDER" && H(m.value.name), Promise.resolve();
352
+ }
353
+ },
354
+ selectionMode: Ee(t, "selectionMode"),
355
+ selectedItem: m,
356
+ toBeChosenItem: i,
357
+ isRootParent: y(() => d.value === null)
358
+ }), ye = y(() => [
359
+ ...Fe.value,
360
+ X,
361
+ Z
362
+ ]), be = (e) => {
363
+ Q([e.id]), n("applyAndClose");
364
+ }, W = r(!1);
365
+ return x(
366
+ () => Y.value,
367
+ async () => {
368
+ var l;
369
+ W.value = !1;
370
+ let e = t.initialFilePath;
371
+ v.value && ((l = t.relativeToOptions) != null && l.initialFilePathIsRelative) && (e = await pe(e, v.value)), V(null, e, v.value).then((p) => {
372
+ J(p), W.value = !0;
373
+ });
374
+ },
375
+ { immediate: !0 }
376
+ ), x(
377
+ () => v.value,
378
+ () => W.value && V(d.value, null, v.value).then((e) => {
379
+ F.value = e.folder.parentFolders;
380
+ })
381
+ ), (e, l) => a.value ? (h(), N("div", Ve, [
382
+ g(u(ge), { class: "icon" })
383
+ ])) : (h(), N(Te, { key: 1 }, [
384
+ $("div", We, [
385
+ g(u(Be), {
386
+ class: "breadcrumb",
387
+ items: me.value
388
+ }, null, 8, ["items"]),
389
+ E.value !== null ? (h(), N("span", Ne, "(" + Le(E.value) + ")", 1)) : S("", !0)
390
+ ]),
391
+ u(M) ? (h(), C(u(De), {
392
+ key: 0,
393
+ ref_key: "inputField",
394
+ ref: X,
395
+ modelValue: w.value,
396
+ "onUpdate:modelValue": l[0] || (l[0] = (p) => w.value = p),
397
+ class: "name-input",
398
+ label: "Name"
399
+ }, null, 8, ["modelValue"])) : S("", !0),
400
+ g(u(ke), {
401
+ class: "explorer",
402
+ size: "small",
403
+ "is-root-folder": T.value,
404
+ items: R.value,
405
+ "disable-multi-select": !0,
406
+ "disable-dragging": !0,
407
+ "click-outside-exceptions": ye.value,
408
+ onChangeDirectory: H,
409
+ onOpenFile: be,
410
+ "onUpdate:selectedItemIds": Q
411
+ }, null, 8, ["is-root-folder", "items", "click-outside-exceptions"]),
412
+ e.relativeToOptions ? (h(), C(u(xe), {
413
+ key: 1,
414
+ ref_key: "relativeToValueSwitch",
415
+ ref: Z,
416
+ modelValue: c.value,
417
+ "onUpdate:modelValue": l[1] || (l[1] = (p) => c.value = p),
418
+ class: "relative-to-option",
419
+ label: "Choose relative to",
420
+ "possible-values": f.value,
421
+ size: "small",
422
+ variant: "muted"
423
+ }, null, 8, ["modelValue", "possible-values"])) : S("", !0)
424
+ ], 64));
425
+ }
426
+ }), qe = /* @__PURE__ */ ae(je, [["__scopeId", "data-v-268a35e6"]]);
427
+ export {
428
+ qe as D,
429
+ ie as G,
430
+ Je as _,
431
+ ne as a,
432
+ Ye as u
433
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, computed as l, watch as c } from "vue";
2
- import { n as p, w as u, x as m } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
2
+ import { T as p, Q as u, S as m } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
3
3
  const f = /* @__PURE__ */ s({
4
4
  __name: "DirtyTrackerRenderer",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as a, toRef as t, createBlock as r, openBlock as n, unref as d } from "vue";
2
- import { t as s } from "./usePossibleValues-CsJuQ591-r_2wYQe_.js";
3
- import { L as i } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-C0YzJo8M-DJVLdb5q.js";
2
+ import { t as s } from "./usePossibleValues-BbkYA3Ri-phbvmDoC.js";
3
+ import { L as i } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-Cj3ak4Kd-CGPIwlnR.js";
4
4
  const f = /* @__PURE__ */ a({
5
5
  __name: "DropdownControl",
6
6
  props: {
@@ -0,0 +1,6 @@
1
+ import { s as o } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
2
+ import { t } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
3
+ export {
4
+ t as DYNAMIC_SETTINGS_KEY,
5
+ o as default
6
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, computed as o, createBlock as m, openBlock as v, mergeProps as h } from "vue";
2
- import { K as f } from "./ResourceControlBase-97R2-qQ7-BBi11JJj.js";
2
+ import { E as f } from "./ResourceControlBase-BQY6errk-u3DjtQtM.js";
3
3
  const y = /* @__PURE__ */ d({
4
4
  __name: "ExecutorCoresControl",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, computed as o, createBlock as p, openBlock as d, mergeProps as m } from "vue";
2
- import { K as h } from "./ResourceControlBase-97R2-qQ7-BBi11JJj.js";
2
+ import { E as h } from "./ResourceControlBase-BQY6errk-u3DjtQtM.js";
3
3
  const B = /* @__PURE__ */ c({
4
4
  __name: "ExecutorMemoryControl",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as r, createBlock as p, openBlock as l, mergeProps as c } from "vue";
2
- import { y as s } from "./TextControl-DfrjuKwf-2f9eJp4g.js";
3
- import { F as h } from "./FileChooserControlBase-C4WoqeuQ.js";
2
+ import { a0 as s } from "./TextControl-DBIt0sjP-BIZDsHMy.js";
3
+ import { F as h } from "./FileChooserControlBase-xHnkds47.js";
4
4
  const g = /* @__PURE__ */ r({
5
5
  __name: "FileChooserControl",
6
6
  props: {