@knime/scripting-editor 0.0.120 → 0.0.121

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 (94) hide show
  1. package/dist/{AnyOfTwinlist-CSbFqiiy-BQnu5Ml3.js → AnyOfTwinlist-DNsHUZei-CFf0kAbY.js} +1 -1
  2. package/dist/{ArrayLayout-DZJEvgMa.js → ArrayLayout-Ck55ZP0t.js} +55 -55
  3. package/dist/{ButtonControl-HiHtzOYh.js → ButtonControl-CsK37zDu.js} +1 -1
  4. package/dist/{Checkbox-M2rFIZY0-r6RqY214.js → Checkbox-CWL8weTr-DizDeAek.js} +1 -1
  5. package/dist/{CheckboxControl-Dz65huic-ByuEiGEp.js → CheckboxControl-bjaWoB4c-C0Laylox.js} +1 -1
  6. package/dist/{Checkboxes-Qc7Wn4p8-B8qRgy0F.js → Checkboxes-D3XPQc69-C6lQuGVB.js} +2 -2
  7. package/dist/{CheckboxesControl-52GcYYsS-Cpk0ZUTo.js → CheckboxesControl-BxTmNLjK-DegwymdN.js} +3 -3
  8. package/dist/{ComboBoxControl-BSrtnamE-BY-hN9oV.js → ComboBoxControl-DIucqZ5g-CiRuCZsD.js} +3 -3
  9. package/dist/{ConfigurationNodeNotSupported-Dz99aBmX.js → ConfigurationNodeNotSupported-CQrq1fuY.js} +1 -1
  10. package/dist/{ControlWithSubParameters-CjWDNzc-.js → ControlWithSubParameters-DUoT6age.js} +20 -22
  11. package/dist/{CredentialsControl-CDSDJXxB.js → CredentialsControl-DQqPTexY.js} +2 -2
  12. package/dist/{CredentialsControlBase-DzF0xhDx.js → CredentialsControlBase-9iHrrJSL.js} +6 -6
  13. package/dist/{DateControl-B9h4p2F5-Cnu24BHe.js → DateControl-BNeGXflU-DOfgRpL8.js} +1 -1
  14. package/dist/{DateTimeControl-BsPKGDFA-DbzLGzL-.js → DateTimeControl-CcsnEIq0-jOgkrc6W.js} +1 -1
  15. package/dist/{DateTimeFormatInput-bkxjAG8p-dbZSM1sX.js → DateTimeFormatInput-CW04StCG-DUEeV9Wh.js} +3 -3
  16. package/dist/{DateTimeFormatPickerControl-SZNaksRz-DsQxhGXZ.js → DateTimeFormatPickerControl-DGKFzxb_-CvFIt06D.js} +2 -2
  17. package/dist/{DateTimeFormatPickerWithTypeControl-CAEt6y2T-D3WvWVj9.js → DateTimeFormatPickerWithTypeControl-85204whr-DYaaBcT1.js} +3 -3
  18. package/dist/DialogFileExplorer-D1JH5zwZ.js +520 -0
  19. package/dist/{Dropdown-6eVZoGpG-PuXROd15.js → Dropdown-CIypkp0O-Dn4sxfaP.js} +2 -2
  20. package/dist/{DropdownControl-mDfFM4Ka-D8icssdG.js → DropdownControl-4AhoNiKk-BYSEubXu.js} +3 -3
  21. package/dist/{DynamicInputControl-B3EgdNYM.js → DynamicInputControl-C3sfDJlr.js} +6 -6
  22. package/dist/{FileChooserControl-GDX-B_9s.js → FileChooserControl-DGl48CIW.js} +2 -2
  23. package/dist/{FileChooserControlBase-Nc6m3y66.js → FileChooserControlBase-CErQoQLH.js} +27 -28
  24. package/dist/{FileChooserControlForMultiFile-Bwdiza24.js → FileChooserControlForMultiFile--rcxceQH.js} +1 -1
  25. package/dist/{HorizontalLayout-TMNv34K1-Dtbz7GFH.js → HorizontalLayout-DaqXoro5-CyeVSZyB.js} +1 -1
  26. package/dist/{IntegerControl-xaXhFuiQ-CcnelTK2.js → IntegerControl-mbOHHY3i-D0R93Whp.js} +1 -1
  27. package/dist/{IntervalControl-Bdoki_MC-COHB3nXT.js → IntervalControl-D8TeFfuS-CxLU62pV.js} +16 -16
  28. package/dist/{LabeledGroup-Bskefsif.js → LabeledGroup-DozoIjK8.js} +8 -9
  29. package/dist/{LegacyCredentialsControl-ZdrkCVkC.js → LegacyCredentialsControl-hmETDkju.js} +7 -7
  30. package/dist/{LoadingDropdown-edN4VitH-R3y6kvlb.js → LoadingDropdown--cwIsJdm-Dc7B20ml.js} +3 -3
  31. package/dist/LoadingIcon-DVB5Htes-hYPngck-.js +17 -0
  32. package/dist/{ManualTwinlistControl-DEBn3XgS-DrjRcPie.js → ManualTwinlistControl-BRitiAxR-DF_Da13g.js} +4 -4
  33. package/dist/{MultiFileChooserControl-ZP5enAM4.js → MultiFileChooserControl-CQ8BbosJ.js} +168 -146
  34. package/dist/{MultiSelectListBoxControl-BmRzZUI_-BeYs5sOZ.js → MultiSelectListBoxControl-CN3QiEdL-CN9cSiar.js} +2 -2
  35. package/dist/{MultimodeTwinlistControl-P0Bj7FYU-Dtq_ciIX.js → MultimodeTwinlistControl-O0R4oOLS-ChReNigV.js} +6 -6
  36. package/dist/{MultiselectListBox-Ivk-_tly-BI48Ai96.js → MultiselectListBox-CQ3iTrKc-BUH4QgYc.js} +2 -2
  37. package/dist/{NameFilter-SAlJdnm7-B3Ez09D1.js → NameFilter-ClMXE3-2-D1hTm5bW.js} +1 -1
  38. package/dist/{NumberControl-C_VElIjG-CNqxGj-b.js → NumberControl-DMpTZQhn-D7c1f5MK.js} +1 -1
  39. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-Bcc2XPBa-jX9ZCXqt.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CDRKAuGz-BH-ahqn6.js} +2 -2
  40. package/dist/{NumberInput-CHeMUEcJ-CBjiZXnc.js → NumberInput-DlvskoRZ-BXSYv7zF.js} +1 -1
  41. package/dist/{OneOfDropdown-DZgSOLLJ-wCE5bOVZ.js → OneOfDropdown-DVGE71fW-DGHKD5tJ.js} +1 -1
  42. package/dist/{RadioControl-xm6uqnsz-Bpu9pAXm.js → RadioControl-bKZb-PCj-CkkWD9-5.js} +2 -2
  43. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-cwi1lPmz-D1KwRFTF.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CcnOafHA-DehVywcB.js} +3 -3
  44. package/dist/{RichTextControl-Bx9uzTcU-BZHXysn7.js → RichTextControl-BB6-PEf--Dqs7PfNi.js} +19 -21
  45. package/dist/SectionLayout-Ba7NpHTm-D24M-3B1.js +44 -0
  46. package/dist/SettingsSubPanelLayout-C3hw4UGI-DQs4zbuq.js +70 -0
  47. package/dist/{SimpleTwinlistControl-BlS_kAjd-MEQ-1_ak.js → SimpleTwinlistControl-nBi-T2QR-Cp3-tLf-.js} +2 -2
  48. package/dist/{SingleSelectControl-CN-n21yb-F2BrAi2J.js → SingleSelectControl-Dg18bGk9-UF9J7JMY.js} +2 -2
  49. package/dist/{SingleSelectListBoxControl-CCI8zCX8-BIhMc4PF.js → SingleSelectListBoxControl-BsQMs5Xl-h3PQ3OKX.js} +3 -3
  50. package/dist/{SortListControl-BulTKISX-CHY3yUiR.js → SortListControl-w5mvLX6s-CD40LTTr.js} +57 -58
  51. package/dist/{StringFileChooserControl-B8NpcHAg.js → StringFileChooserControl-D2u6kzkZ.js} +7 -7
  52. package/dist/{StyledListItem-CQwlzLP2-D4Rd-oAK.js → StyledListItem-nU28IyY6-bPe3o50k.js} +1 -1
  53. package/dist/{TextAreaControl-CXKJWxR3-BAc5G9Jy.js → TextAreaControl-BcPobxLV-Ca5igr-I.js} +1 -1
  54. package/dist/{parameters-TDvh_VJm.js → TextControl-kY3Ra8PG-y_70AOqk.js} +15922 -15341
  55. package/dist/{TimeControl-OsnqrTKz-CfJTqe7M.js → TimeControl-CcvAtvwb-CEC-ky_y.js} +1 -1
  56. package/dist/{TwinlistControlBase-BEEFVvf6-B_lC-UyQ.js → TwinlistControlBase-Da7Vi8Ne-7f9PH6lG.js} +3 -3
  57. package/dist/{TwinlistLoadingInfo-BFWX5bru-CmUU5ze0.js → TwinlistLoadingInfo-BvCXnExs-CZKrpDBx.js} +12 -13
  58. package/dist/{TypedStringFilter-CAXArbh6-Bxyzbt--.js → TypedStringFilter-DuFP6CtD-DyqVsMVu.js} +1 -1
  59. package/dist/{ValueSwitch-BmW_v2r_-DCcRA3Nu.js → ValueSwitch-CAxte3Dc-BVVF1RHf.js} +1 -1
  60. package/dist/{ValueSwitchControl-F9EBfMSY-BvIFqq8O.js → ValueSwitchControl-DcBjKQSo-CDunJRyD.js} +1 -1
  61. package/dist/{VennDiagramLayout-B5_nSfj5.js → VennDiagramLayout-oYvmZwym.js} +19 -20
  62. package/dist/{VerticalLayout-DEFdoJSU-CW6Y4tIr.js → VerticalLayout-CUHbdUdk-BmKQKo4m.js} +6 -7
  63. package/dist/{ZonedDateTimeControl-TJvHA6Rm-BkCpzQDx.js → ZonedDateTimeControl-B5cuTrgr-Cwz2O9wE.js} +3 -3
  64. package/dist/{_baseEach-BxODVDA6-C4HgsZp-.js → _baseEach-CPQiIPkT-CiqFaVXv.js} +3 -3
  65. package/dist/{_getTag-DTjoqLoo-DzAcUcW_.js → _getTag-DuCXbcgW-CSxZDqyE.js} +1 -1
  66. package/dist/initial-data-service-browser-mock.js +26 -15
  67. package/dist/{localTimeUtils-BsjK2bfg-C4-Oh9-d.js → localTimeUtils-DYizf_Fj-Cb46L6wi.js} +5 -5
  68. package/dist/main.js +4464 -4442
  69. package/dist/parameters.js +1 -1
  70. package/dist/src/components/ScriptingEditor.vue.d.ts +142 -0
  71. package/dist/src/components/ScriptingEditorBottomPane.vue.d.ts +3 -1
  72. package/dist/src/initial-data-service-browser-mock.d.ts +2 -1
  73. package/dist/src/initial-data-service.d.ts +1 -1
  74. package/dist/{toString-DJjlKbCy-DQPkzDF0.js → toString-NQDxp2E1-C7hE8Iv5.js} +1 -1
  75. package/dist/{useFileChooserBackend-Ev9D6Kfv.js → useFileChooserBackend-CjaL6jdf.js} +4 -4
  76. package/dist/{usePossibleValues-CJPCrHNK-DHhG_gUy.js → usePossibleValues-CYraIICE-CFGswSt6.js} +1 -1
  77. package/package.json +1 -1
  78. package/dist/Button-BfZfHt8q-BirQNc2F.js +0 -82
  79. package/dist/DBTableChooserControl-DTdniGQp.js +0 -590
  80. package/dist/DialogFileExplorer-B7Cpe71J.js +0 -381
  81. package/dist/FieldControl.vue_vue_type_script_setup_true_lang-D4UZciBE.js +0 -54
  82. package/dist/InputField-OKgaETDx-Bl4xhjBX.js +0 -147
  83. package/dist/LoadingIcon-DMHNXXmQ-C0oETzDr.js +0 -18
  84. package/dist/SectionHeading-ChmLXMcT-BN9ePDI7.js +0 -19
  85. package/dist/SectionLayout-DlR3VVwY-BlXU42ie.js +0 -46
  86. package/dist/SettingsSubPanel-BE_UKIFi-Dr8nIOON.js +0 -5
  87. package/dist/SettingsSubPanelLayout-DFSdKm29-DU902qHg.js +0 -73
  88. package/dist/SimpleButtonControl-0nEpHoVU-C6uROMT2.js +0 -61
  89. package/dist/TextControl-CgsdWiFw--tBiRYB9.js +0 -50
  90. package/dist/VerticalLayoutBase-DiZEVSbM-DWcX5yiG.js +0 -20
  91. package/dist/house-AV6qjkJW.js +0 -148
  92. package/dist/reload-eCPBqeDa-cbgKMmw1.js +0 -17
  93. package/dist/useBuiltinValidations-Dx6fNtgz-BMkbHnN7.js +0 -74
  94. /package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-McCAyYfA-BvrNkbR6.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-L5I6qYVS-BvrNkbR6.js} +0 -0
@@ -1,381 +0,0 @@
1
- import { createElementBlock as I, openBlock as d, createElementVNode as E, defineComponent as U, createBlock as P, withCtx as T, renderSlot as re, createVNode as O, unref as m, ref as h, watch as w, onMounted as ue, computed as c, toRefs as ce, useTemplateRef as j, toRef as de, Fragment as ve, createCommentVNode as M, toDisplayString as pe, resolveDynamicComponent as me } from "vue";
2
- import { FunctionButton as fe, LoadingIcon as Fe, Breadcrumb as he, InputField as Ie, FileExplorer as Oe, Label as Ee, ValueSwitch as ye } from "@knime/components";
3
- import { _ as ge, u as G, G as Re, H as _e } from "./house-AV6qjkJW.js";
4
- import { _ as J } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
- import { a as Le } from "./useFileChooserBackend-Ev9D6Kfv.js";
6
- const Te = /* @__PURE__ */ J(ge, [["__scopeId", "data-v-590f0c00"]]), be = {
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 xe(s, l) {
14
- return d(), I("svg", be, l[0] || (l[0] = [
15
- E("path", { d: "M10.429 26.684h-7.91V5.075h9.051l4.613 6.001h13.298v15.608h-2.779m-5.234-.372 4.227 4.226m3.786-19.462V7.075H13.104" }, null, -1),
16
- E("circle", {
17
- cx: "17.997",
18
- cy: "22.84",
19
- r: "4.91"
20
- }, null, -1)
21
- ]));
22
- }
23
- const we = { render: xe }, Xe = /* @__PURE__ */ U({
24
- __name: "FileBrowserButton",
25
- props: {
26
- disabled: { type: Boolean }
27
- },
28
- emits: ["apply"],
29
- setup(s, { emit: l }) {
30
- const t = l;
31
- return (i, v) => (d(), P(Te, {
32
- ref: "settings-panel",
33
- onApply: v[0] || (v[0] = () => t("apply"))
34
- }, {
35
- "expand-button": T(({ expand: f }) => [
36
- O(m(fe), {
37
- class: "fit-content",
38
- disabled: i.disabled,
39
- primary: "",
40
- onClick: f
41
- }, {
42
- default: T(() => [
43
- O(m(we))
44
- ]),
45
- _: 2
46
- }, 1032, ["disabled", "onClick"])
47
- ]),
48
- default: T(({ applyAndClose: f, cancel: a }) => [
49
- re(i.$slots, "default", {
50
- applyAndClose: f,
51
- cancel: a
52
- })
53
- ]),
54
- _: 3
55
- }, 512));
56
- }
57
- }), Ze = ({
58
- /**
59
- * The onChange method that actually sets the value in the dialogs data.
60
- */
61
- onChange: s,
62
- /**
63
- * The value from this ref will be taken as initial value for
64
- * the side drawer in the moment it is opened.
65
- */
66
- initialValue: l
67
- }) => {
68
- const t = h(l.value), i = (f) => {
69
- t.value = f;
70
- }, v = () => s(t.value);
71
- return w(() => l.value, i), {
72
- onApply: v,
73
- sideDrawerValue: t,
74
- updateSideDrawerValue: i
75
- };
76
- }, ke = {
77
- xmlns: "http://www.w3.org/2000/svg",
78
- fill: "none",
79
- stroke: "#000",
80
- "stroke-linejoin": "round",
81
- viewBox: "0 0 32 32"
82
- };
83
- function De(s, l) {
84
- return d(), I("svg", ke, l[0] || (l[0] = [
85
- E("path", { d: "M29.5 26.8h-27V5.2h9.1l4.6 6h13.3zm0-15.6v-4H13.1" }, null, -1)
86
- ]));
87
- }
88
- const Ce = { render: De }, Be = {
89
- xmlns: "http://www.w3.org/2000/svg",
90
- fill: "none",
91
- stroke: "#000",
92
- "stroke-linejoin": "round",
93
- viewBox: "0 0 32 32"
94
- };
95
- function Ve(s, l) {
96
- return d(), I("svg", Be, l[0] || (l[0] = [
97
- E("path", { d: "M28.2 2.3h-5.6c-.7 0-1.2.5-1.2 1.2v5.6c0 .7.5 1.2 1.2 1.2h5.6c.7 0 1.2-.5 1.2-1.2V3.5c0-.6-.5-1.2-1.2-1.2zM9.4 11.9H3.8c-.7 0-1.2.5-1.2 1.2v5.6c0 .7.5 1.2 1.2 1.2h5.6c.7 0 1.2-.5 1.2-1.2v-5.6c0-.6-.6-1.2-1.2-1.2zm-6.5.4 7.3 7.3M21.7 2.7 29 10m-.8 11.5h-5.6c-.7 0-1.2.5-1.2 1.2v5.6c0 .7.5 1.2 1.2 1.2h5.6c.7 0 1.2-.5 1.2-1.2v-5.6c0-.7-.6-1.2-1.2-1.2zm-6.5.4 7.3 7.3M10.6 16h5.2V7.3c0-.6.4-1 1-1h4.7m-.1 19.2h-4.6c-.5 0-1-.4-1-1V16h-5.2" }, null, -1)
98
- ]));
99
- }
100
- const Me = { render: Ve }, Pe = {
101
- xmlns: "http://www.w3.org/2000/svg",
102
- fill: "none",
103
- stroke: "#000",
104
- "stroke-linejoin": "round",
105
- viewBox: "0 0 32 32"
106
- };
107
- function We(s, l) {
108
- return d(), I("svg", Pe, l[0] || (l[0] = [
109
- E("path", { d: "m21.156 2.5 5.423 5.423h-5.423zm5.423 27H5.421v-27h15.735l5.423 5.423zM16.447 11.489H8.756m9.249-2.978H8.756m7.691 8.926H8.756m9.249-2.975H8.756" }, null, -1)
110
- ]));
111
- }
112
- const Se = { render: We }, He = (s) => ({
113
- getItemIcon: (t) => t.isDirectory ? Ce : s.value ? Me : Se
114
- }), $e = (s) => ({
115
- isDirectory: s.isDirectory,
116
- id: s.name,
117
- name: s.name,
118
- isOpen: !1,
119
- isOpenableFile: !0,
120
- canBeRenamed: !1,
121
- canBeDeleted: !1,
122
- ...s.isDisabledDirectory ? { disabled: !0 } : {}
123
- }), Ae = ({
124
- actions: { chooseSelectedItem: s, goIntoSelectedFolder: l },
125
- selectionMode: t,
126
- selectedItem: i,
127
- isRootParent: v
128
- }) => {
129
- const {
130
- element: f,
131
- disabled: a,
132
- text: u,
133
- onApply: y
134
- } = G(), {
135
- element: r,
136
- disabled: F,
137
- onApply: k,
138
- shown: _
139
- } = G(Re);
140
- ue(() => {
141
- y.value = s, _.value = !0, F.value = !0, k.value = () => l();
142
- });
143
- const b = c(() => [
144
- f,
145
- r
146
- ]);
147
- return w(
148
- [i, t, v],
149
- ([g, p, D]) => {
150
- p === "FILE" ? u.value = "Choose file" : p === "WORKFLOW" ? u.value = "Choose workflow" : u.value = "Choose folder";
151
- const R = p === "FILE" || p === "WORKFLOW", L = p === "FOLDER";
152
- g ? g.selectionType === "FILE" ? (a.value = L, F.value = !0, p === "FILE_OR_FOLDER" && (u.value = "Choose file")) : g.selectionType === "FOLDER" ? (a.value = R, F.value = !1) : g.selectionType === "FILE_OR_FOLDER" && (a.value = !1, F.value = !0, u.value = "Choose") : (F.value = !0, a.value = R || D);
153
- },
154
- { immediate: !0 }
155
- ), {
156
- clickOutsideExceptions: b,
157
- goIntoFolderButtonShown: _
158
- };
159
- }, Ne = {
160
- key: 0,
161
- class: "loading-animation"
162
- }, ze = { class: "current-path" }, Ke = {
163
- key: 0,
164
- class: "error"
165
- }, je = {
166
- key: 0,
167
- class: "name-input-wrapper"
168
- }, Ge = /* @__PURE__ */ U({
169
- __name: "DialogFileExplorer",
170
- props: {
171
- initialFilePath: { default: "" },
172
- isWriter: { type: Boolean, default: !1 },
173
- filteredExtensions: { default: () => [] },
174
- appendedExtension: { default: null },
175
- backendType: {},
176
- breadcrumbRoot: { default: null },
177
- selectionMode: { default: "FILE" },
178
- relativeToOptions: {}
179
- },
180
- emits: ["chooseItem", "update:isRelativeTo", "applyAndClose", "cancel", "navigate"],
181
- setup(s, { emit: l }) {
182
- const t = s, i = l, v = c({
183
- get: () => {
184
- var e;
185
- return (e = t.relativeToOptions) != null && e.isRelativeTo ? "RELATIVE" : "ROOT";
186
- },
187
- set: (e) => i("update:isRelativeTo", e === "RELATIVE")
188
- }), f = c(
189
- () => t.relativeToOptions ? [
190
- {
191
- id: "ROOT",
192
- text: t.relativeToOptions.rootLabel
193
- },
194
- {
195
- id: "RELATIVE",
196
- text: t.relativeToOptions.relativeRootLabel
197
- }
198
- ] : []
199
- ), a = c(() => t.relativeToOptions && v.value === "RELATIVE" ? t.relativeToOptions.relativeToPath : null), u = h(null), y = h([]), r = h(null), F = h([]), k = {
200
- FILE: ["FILE"],
201
- FOLDER: ["FOLDER"],
202
- FILE_OR_FOLDER: ["FILE", "FOLDER", "FILE_OR_FOLDER"],
203
- WORKFLOW: ["FILE"]
204
- }, _ = c(
205
- () => k[t.selectionMode]
206
- ), b = c(
207
- () => F.value.map((e) => ({
208
- ...e,
209
- disabled: e.disabled || !_.value.includes("FILE") && !e.isDirectory
210
- }))
211
- ), g = c(
212
- () => y.value.map((e, o) => {
213
- var K;
214
- let n = e.name, x = null;
215
- return typeof n != "string" && ((K = t.relativeToOptions) != null && K.relativeRootIcon && e.path === t.relativeToOptions.relativeToPath ? x = t.relativeToOptions.relativeRootIcon : e.path === null ? t.breadcrumbRoot === null ? x = _e : n = t.breadcrumbRoot : n = e.path), {
216
- ...n === null ? {} : { text: n },
217
- title: n ?? "Root",
218
- path: e.path,
219
- clickable: o !== y.value.length - 1,
220
- ...x ? { icon: x } : {}
221
- };
222
- })
223
- ), p = h(!0), D = (e) => {
224
- p.value = !1, u.value = e.path, y.value = e.parentFolders, F.value = e.items.map($e);
225
- }, R = h(null), L = (e) => {
226
- R.value = e ?? null;
227
- }, C = c({
228
- get: () => {
229
- const e = r.value;
230
- return e && _.value.includes(e.selectionType) ? e.name : "";
231
- },
232
- set: (e) => {
233
- if (e === "") {
234
- r.value = null;
235
- return;
236
- }
237
- r.value = {
238
- name: e,
239
- selectionType: t.selectionMode === "WORKFLOW" ? "FILE" : t.selectionMode
240
- };
241
- }
242
- }), Y = (e) => {
243
- t.isWriter && (C.value = e);
244
- }, W = (e) => {
245
- if (!e) {
246
- L("Failed to load items"), i("cancel");
247
- return;
248
- }
249
- D(e.folder), L(e.errorMessage), Y(e.filePathRelativeToFolder), i("navigate", e.folder.path);
250
- }, { filteredExtensions: q, appendedExtension: Q, isWriter: S, backendType: H } = ce(t), $ = c(() => t.selectionMode === "WORKFLOW"), { listItems: B, getFilePath: X, resolveRelativePath: Z } = Le({
251
- filteredExtensions: q,
252
- appendedExtension: Q,
253
- isWriter: S,
254
- isWorkflowFilterMode: $,
255
- backendType: H
256
- }), { getItemIcon: ee } = He($), A = (e, o = null) => {
257
- r.value = null, p.value = !0, B(e, o, a.value).then(W);
258
- }, N = (e) => A(u.value, e), te = ({ path: e }) => A(e ?? null), le = async (e) => {
259
- const { path: o, errorMessage: n } = await X(
260
- u.value,
261
- e,
262
- a.value
263
- );
264
- return o === null ? (L(n), Promise.reject(n)) : (i("chooseItem", o), Promise.resolve());
265
- }, z = (e) => {
266
- if (e.length === 0) {
267
- r.value = null;
268
- return;
269
- }
270
- const o = b.value.find(
271
- ({ id: n }) => n === e[0]
272
- );
273
- o.isDirectory ? r.value = {
274
- name: o.name,
275
- selectionType: "FOLDER"
276
- } : r.value = {
277
- name: o.name,
278
- selectionType: "FILE"
279
- };
280
- }, oe = j("input-field"), ne = j("relative-to-label"), { clickOutsideExceptions: se } = Ae({
281
- actions: {
282
- chooseSelectedItem: () => {
283
- var e;
284
- return le(((e = r.value) == null ? void 0 : e.name) ?? "");
285
- },
286
- goIntoSelectedFolder: () => {
287
- var e;
288
- return ((e = r.value) == null ? void 0 : e.selectionType) === "FOLDER" && N(r.value.name), Promise.resolve();
289
- }
290
- },
291
- selectionMode: de(t, "selectionMode"),
292
- selectedItem: r,
293
- isRootParent: c(() => u.value === null)
294
- }), ae = c(() => [
295
- ...se.value,
296
- oe,
297
- ne
298
- ]), ie = (e) => {
299
- z([e.id]), i("applyAndClose");
300
- }, V = h(!1);
301
- return w(
302
- () => H.value,
303
- async () => {
304
- var o;
305
- V.value = !1;
306
- let e = t.initialFilePath;
307
- a.value && ((o = t.relativeToOptions) != null && o.initialFilePathIsRelative) && (e = await Z(e, a.value)), B(null, e, a.value).then((n) => {
308
- W(n), V.value = !0;
309
- });
310
- },
311
- { immediate: !0 }
312
- ), w(
313
- () => a.value,
314
- () => V.value && B(u.value, null, a.value).then((e) => {
315
- y.value = e.folder.parentFolders;
316
- })
317
- ), (e, o) => p.value ? (d(), I("div", Ne, [
318
- O(m(Fe), { class: "icon" })
319
- ])) : (d(), I(ve, { key: 1 }, [
320
- E("div", ze, [
321
- O(m(he), {
322
- class: "breadcrumb",
323
- items: g.value,
324
- "no-wrap": "",
325
- compact: "",
326
- onClickItem: te
327
- }, null, 8, ["items", "onClickItem"]),
328
- R.value !== null ? (d(), I("span", Ke, "(" + pe(R.value) + ")", 1)) : M("", !0)
329
- ]),
330
- m(S) ? (d(), I("div", je, [
331
- o[2] || (o[2] = E("span", null, "Name:", -1)),
332
- O(m(Ie), {
333
- ref: "input-field",
334
- modelValue: C.value,
335
- "onUpdate:modelValue": o[0] || (o[0] = (n) => C.value = n),
336
- compact: ""
337
- }, null, 8, ["modelValue"])
338
- ])) : M("", !0),
339
- O(m(Oe), {
340
- class: "explorer",
341
- "is-root-folder": u.value === null,
342
- items: b.value,
343
- "disable-context-menu": !0,
344
- "disable-multi-select": !0,
345
- "disable-dragging": !0,
346
- "click-outside-exceptions": ae.value,
347
- onChangeDirectory: N,
348
- onOpenFile: ie,
349
- "onUpdate:selectedItemIds": z
350
- }, {
351
- itemIcon: T(({ item: n }) => [
352
- (d(), P(me(m(ee)(n))))
353
- ]),
354
- _: 1
355
- }, 8, ["is-root-folder", "items", "click-outside-exceptions"]),
356
- e.relativeToOptions ? (d(), P(m(Ee), {
357
- key: 1,
358
- ref: "relative-to-label",
359
- class: "relative-to-option",
360
- text: "Choose relative to"
361
- }, {
362
- default: T(() => [
363
- O(m(ye), {
364
- modelValue: v.value,
365
- "onUpdate:modelValue": o[1] || (o[1] = (n) => v.value = n),
366
- "possible-values": f.value,
367
- compact: ""
368
- }, null, 8, ["modelValue", "possible-values"])
369
- ]),
370
- _: 1
371
- }, 512)) : M("", !0)
372
- ], 64));
373
- }
374
- }), et = /* @__PURE__ */ J(Ge, [["__scopeId", "data-v-f01e5df5"]]);
375
- export {
376
- et as D,
377
- Ce as F,
378
- Me as W,
379
- Xe as _,
380
- Ze as u
381
- };
@@ -1,54 +0,0 @@
1
- import { defineComponent as t, computed as s, createBlock as c, openBlock as l, unref as m } from "vue";
2
- import { a6 as p, H as i } from "./parameters-TDvh_VJm.js";
3
- const u = /* @__PURE__ */ t({
4
- __name: "FieldRenderer",
5
- props: {
6
- control: {},
7
- fieldName: {},
8
- uischema: {}
9
- },
10
- setup(a) {
11
- const o = a, r = s(() => p(o.control.path, o.fieldName)), n = s(
12
- () => {
13
- var e;
14
- return (e = o.control.schema.properties) == null ? void 0 : e[o.fieldName];
15
- }
16
- );
17
- return (e, d) => (l(), c(m(i), {
18
- key: r.value,
19
- schema: n.value,
20
- uischema: e.uischema,
21
- path: r.value,
22
- enabled: e.control.enabled,
23
- renderers: e.control.renderers,
24
- cells: e.control.cells
25
- }, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]));
26
- }
27
- }), _ = /* @__PURE__ */ t({
28
- __name: "FieldControl",
29
- props: {
30
- control: {},
31
- fieldName: {},
32
- format: {},
33
- options: {}
34
- },
35
- setup(a) {
36
- const o = a, r = s(() => ({
37
- type: "Control",
38
- scope: "#",
39
- options: {
40
- ...o.options,
41
- format: o.format
42
- }
43
- }));
44
- return (n, e) => (l(), c(u, {
45
- "field-name": n.fieldName,
46
- uischema: r.value,
47
- control: n.control
48
- }, null, 8, ["field-name", "uischema", "control"]));
49
- }
50
- });
51
- export {
52
- _,
53
- u as a
54
- };
@@ -1,147 +0,0 @@
1
- import { createElementBlock as l, openBlock as i, normalizeClass as p, createCommentVNode as o, createElementVNode as u, renderSlot as r, mergeProps as d } from "vue";
2
- import { X as c } from "./parameters-TDvh_VJm.js";
3
- const h = {
4
- name: "InputField",
5
- props: {
6
- modelValue: {
7
- default: "",
8
- type: [Number, String, null]
9
- },
10
- id: {
11
- type: [String, null],
12
- default: null
13
- },
14
- name: {
15
- type: String,
16
- default: null
17
- },
18
- /**
19
- * Sets the error styling, validity needs to be controlled by the parent component to be flexible
20
- */
21
- isValid: {
22
- default: !0,
23
- type: Boolean
24
- },
25
- type: {
26
- default: "text",
27
- type: String
28
- },
29
- pattern: {
30
- default: null,
31
- type: String
32
- },
33
- placeholder: {
34
- default: null,
35
- type: String
36
- },
37
- autocomplete: {
38
- default: null,
39
- type: String
40
- },
41
- autofocus: {
42
- default: !1,
43
- type: Boolean
44
- },
45
- focusOnMount: {
46
- default: !1,
47
- type: Boolean
48
- },
49
- inputClasses: {
50
- default: "",
51
- type: String
52
- },
53
- disabled: {
54
- default: !1,
55
- type: Boolean
56
- },
57
- ariaActivedescendant: {
58
- type: String,
59
- default: null
60
- },
61
- ariaOwns: {
62
- type: String,
63
- default: null
64
- },
65
- compact: {
66
- type: Boolean,
67
- default: !1
68
- }
69
- },
70
- emits: ["update:modelValue", "focus", "keyup", "keypress", "keydown"],
71
- computed: {
72
- hasLeftIcon() {
73
- return this.$slots.icon && this.$slots.icon().length;
74
- },
75
- hasRightIcon() {
76
- return this.$slots.iconRight && this.$slots.iconRight().length;
77
- },
78
- inputClassList() {
79
- let e = this.inputClasses;
80
- return this.hasLeftIcon && (e += " with-icon"), this.hasRightIcon && (e += " with-icon-right"), this.isValid || (e += " invalid"), e;
81
- }
82
- },
83
- mounted() {
84
- this.focusOnMount && this.focus();
85
- },
86
- methods: {
87
- getValue() {
88
- return this.$refs.input.value;
89
- },
90
- onInput() {
91
- this.$emit("update:modelValue", this.getValue());
92
- },
93
- focus() {
94
- this.$refs.input.focus();
95
- },
96
- /*
97
- * checks if value matches the provided pattern
98
- */
99
- validate() {
100
- let e = !0, t = null;
101
- return typeof this.getValue() > "u" ? (e = !1, t = "Invalid input") : this.pattern && this.$refs.input.validity.patternMismatch && (e = !1, t = "Input does not match the expected pattern"), { isValid: e, errorMessage: t };
102
- }
103
- }
104
- }, f = {
105
- key: 0,
106
- class: "icon"
107
- }, m = ["id", "name", "value", "type", "pattern", "placeholder", "autofocus", "aria-activedescendant", "aria-owns", "autocomplete", "disabled"], y = {
108
- key: 1,
109
- class: "icon icon-right"
110
- };
111
- function g(e, t, a, v, I, n) {
112
- return i(), l("div", {
113
- class: p(["input-wrapper", { compact: a.compact }])
114
- }, [
115
- n.hasLeftIcon ? (i(), l("div", f, [
116
- r(e.$slots, "icon")
117
- ])) : o("", !0),
118
- u("input", d(e.$attrs, {
119
- id: a.id,
120
- ref: "input",
121
- name: a.name,
122
- value: a.modelValue,
123
- class: n.inputClassList,
124
- type: a.type,
125
- pattern: a.pattern,
126
- placeholder: a.placeholder,
127
- autofocus: a.autofocus,
128
- "aria-activedescendant": a.ariaActivedescendant,
129
- "aria-owns": a.ariaOwns,
130
- autocomplete: a.autocomplete,
131
- disabled: a.disabled,
132
- onInput: t[0] || (t[0] = (...s) => n.onInput && n.onInput(...s)),
133
- onFocus: t[1] || (t[1] = (s) => e.$emit("focus", s)),
134
- onKeyup: t[2] || (t[2] = (s) => e.$emit("keyup", s)),
135
- onKeypress: t[3] || (t[3] = (s) => e.$emit("keypress", s)),
136
- onKeydown: t[4] || (t[4] = (s) => e.$emit("keydown", s))
137
- }), null, 16, m),
138
- n.hasRightIcon ? (i(), l("div", y, [
139
- r(e.$slots, "iconRight")
140
- ])) : o("", !0),
141
- t[5] || (t[5] = u("span", { class: "invalid-marker" }, null, -1))
142
- ], 2);
143
- }
144
- const k = /* @__PURE__ */ c(h, [["render", g], ["__scopeId", "data-v-e4e1a696"]]);
145
- export {
146
- k as w
147
- };
@@ -1,18 +0,0 @@
1
- import { defineComponent as t, createBlock as c, openBlock as i, unref as m, h as p } from "vue";
2
- import { m as s } from "./reload-eCPBqeDa-cbgKMmw1.js";
3
- import { X as d } from "./parameters-TDvh_VJm.js";
4
- const a = (r, e) => ({
5
- render() {
6
- const n = r.render({}, []), o = p("title", e);
7
- return o.ns = "svg", n.children.unshift(o), n;
8
- }
9
- }), f = /* @__PURE__ */ t({
10
- __name: "LoadingIcon",
11
- setup(r) {
12
- const e = a(s, "Loading…");
13
- return (n, o) => (i(), c(m(e)));
14
- }
15
- }), g = /* @__PURE__ */ d(f, [["__scopeId", "data-v-6b552b81"]]);
16
- export {
17
- g as u
18
- };
@@ -1,19 +0,0 @@
1
- import { defineComponent as n, createElementBlock as r, openBlock as i, createElementVNode as e, renderSlot as l, toDisplayString as s } from "vue";
2
- import { X as a } from "./parameters-TDvh_VJm.js";
3
- const c = { class: "section-header" }, d = { class: "section-header-layout-container" }, p = /* @__PURE__ */ n({
4
- __name: "SectionHeading",
5
- props: {
6
- titleText: {}
7
- },
8
- setup(t) {
9
- return (o, m) => (i(), r("div", c, [
10
- e("div", d, [
11
- e("h3", null, s(t.titleText), 1),
12
- l(o.$slots, "right-buttons", {}, void 0, !0)
13
- ])
14
- ]));
15
- }
16
- }), h = /* @__PURE__ */ a(p, [["__scopeId", "data-v-2310b6b8"]]);
17
- export {
18
- h as u
19
- };
@@ -1,46 +0,0 @@
1
- import { defineComponent as c, ref as m, createElementBlock as i, openBlock as o, createVNode as s, withCtx as r, renderSlot as d, createBlock as p, unref as h } from "vue";
2
- import { X as f, I as y } from "./parameters-TDvh_VJm.js";
3
- import { v } from "./VerticalLayoutBase-DiZEVSbM-DWcX5yiG.js";
4
- import { u as b } from "./SectionHeading-ChmLXMcT-BN9ePDI7.js";
5
- const x = /* @__PURE__ */ c({
6
- __name: "SectionLayout",
7
- props: {
8
- layout: {}
9
- },
10
- setup(e) {
11
- const l = m(!1);
12
- return (u, t) => (o(), i("div", {
13
- class: "section",
14
- onMouseover: t[0] || (t[0] = (a) => l.value = !0),
15
- onMouseleave: t[1] || (t[1] = (a) => l.value = !1)
16
- }, [
17
- s(b, {
18
- "title-text": e.layout.uischema.label
19
- }, {
20
- "right-buttons": r(() => [
21
- d(u.$slots, "buttons", { hover: l.value }, void 0, !0)
22
- ]),
23
- _: 3
24
- }, 8, ["title-text"]),
25
- s(v, {
26
- elements: e.layout.uischema.elements
27
- }, {
28
- default: r(({ element: a, index: n }) => [
29
- (o(), p(h(y), {
30
- key: `${e.layout.path}-${n}`,
31
- schema: e.layout.schema,
32
- uischema: a,
33
- path: e.layout.path,
34
- enabled: e.layout.enabled,
35
- renderers: e.layout.renderers,
36
- cells: e.layout.cells
37
- }, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))
38
- ]),
39
- _: 1
40
- }, 8, ["elements"])
41
- ], 32));
42
- }
43
- }), $ = /* @__PURE__ */ f(x, [["__scopeId", "data-v-84fc355c"]]);
44
- export {
45
- $ as default
46
- };
@@ -1,5 +0,0 @@
1
- import { X as o, o as a } from "./parameters-TDvh_VJm.js";
2
- const s = /* @__PURE__ */ o(a, [["__scopeId", "data-v-25eac96f"]]);
3
- export {
4
- s as _
5
- };