@knime/jsonforms 1.21.0 → 1.21.2

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 (107) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +6 -0
  3. package/dist/AnyOfTwinlist-BaKgX8A7.js +22 -0
  4. package/dist/{Checkbox-uBRF2ZKG.js → Checkbox-BnKpZFTE.js} +1 -1
  5. package/dist/{CheckboxControl-B9Sd2LLd.js → CheckboxControl-5w7zlrdd.js} +1 -1
  6. package/dist/{CheckboxesControl-CTaoagZv.js → CheckboxesControl-0al-vEKC.js} +2 -2
  7. package/dist/{ColorControl-DxCjpcHn.js → ColorControl-Dzp0Qztx.js} +1 -1
  8. package/dist/{ColorPreviewControl-C7MmFIpq.js → ColorPreviewControl-DD9oq2kB.js} +5 -5
  9. package/dist/{ComboBoxControl-CV4SCOo7.js → ComboBoxControl-BOoPDajP.js} +14 -15
  10. package/dist/{DateControl-9d_SPymX.js → DateControl-BqYwfkTb.js} +1 -1
  11. package/dist/{DateTimeControl-nxVjz31-.js → DateTimeControl-CNkPjqie.js} +1 -1
  12. package/dist/{DateTimeFormatPickerControl-CMgXr7tA.js → DateTimeFormatPickerControl-BawKiO92.js} +1 -1
  13. package/dist/DateTimeFormatPickerWithTypeControl-BZhGNGGy.js +464 -0
  14. package/dist/{DropdownControl-BXbRH5G-.js → DropdownControl-C5dZUtMO.js} +2 -2
  15. package/dist/{ExecutorCoresControl-B04lAS0W.js → ExecutorCoresControl-D_f2Ii7P.js} +2 -2
  16. package/dist/{ExecutorMemoryControl-CraHGxVJ.js → ExecutorMemoryControl-Bi5ddlwR.js} +2 -2
  17. package/dist/FileUploadControl-Bpc7-Tjx.js +210 -0
  18. package/dist/{GridSelectionControl-Cqrr0vTk.js → GridSelectionControl-DS8kT_Nx.js} +17 -17
  19. package/dist/{HorizontalLayout-BRxOESz6.js → HorizontalLayout-CIcEcUaB.js} +1 -1
  20. package/dist/{IntegerControl-BG7i8ix-.js → IntegerControl-CNd2Zml6.js} +1 -1
  21. package/dist/{IntervalControl-YdZin9Wi.js → IntervalControl-BPiRezHq.js} +11 -11
  22. package/dist/{LinkControl-Ntwn3ko5.js → LinkControl-Bp2h1jSd.js} +3 -3
  23. package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-CiYSPKlk.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-BRmvlIKr.js} +5 -5
  24. package/dist/ManualTwinlistControl-Dtx1Qiz7.js +72 -0
  25. package/dist/{MultiselectListBox-DE0QC--O.js → MultiSelectListBoxControl-DXLGhCNi.js} +103 -78
  26. package/dist/MultimodeTwinlistControl-CKRsC015.js +4 -0
  27. package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CV2htSnA.js +157 -0
  28. package/dist/{NameFilter-dUTC31qA.js → NameFilter-BGJOxdjr.js} +4 -4
  29. package/dist/{NumberControl-Bi9ixtTO.js → NumberControl-B05C6ECd.js} +1 -1
  30. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-BkEh0Ykh.js → NumberControlBase.vue_vue_type_script_setup_true_lang-B64ImWmo.js} +2 -2
  31. package/dist/{OneOfDropdown-BR4WCua4.js → OneOfDropdown-DFr8wkfK.js} +4 -4
  32. package/dist/{RadioButtonsWithDescriptionControl-C69ZDGN4.js → RadioButtonsWithDescriptionControl-FxnrFURa.js} +1 -1
  33. package/dist/{RadioControl-DnF-ishb.js → RadioControl-B3Wse8Ra.js} +2 -2
  34. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-DvfaMgRR.js → RadioControlBase.vue_vue_type_script_setup_true_lang-B6fvhFpH.js} +2 -2
  35. package/dist/{ResourceControlBase-OgchIcbA.js → ResourceControlBase-CS-UW4Kt.js} +2 -2
  36. package/dist/{RichTextControl-sy7UyTn8.js → RichTextControl-BYuWpXlC.js} +1629 -1489
  37. package/dist/{SectionHeading-Dfcyl0Yz.js → SectionHeading-DH9g1jBv.js} +1 -1
  38. package/dist/{SectionLayout-CqIHiM2R.js → SectionLayout-DrSBiXd-.js} +3 -3
  39. package/dist/SettingsSubPanel-CZu70rLw.js +5 -0
  40. package/dist/{SettingsSubPanelLayout-DNEqHncD.js → SettingsSubPanelLayout-CR7zIFEo.js} +7 -7
  41. package/dist/{SimpleButtonControl-BKV86mQ0.js → SimpleButtonControl-B2fHLn6i.js} +8 -8
  42. package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-CwE6CdU-.js +28169 -0
  43. package/dist/SimpleTwinlistControl-BeebhKhJ.js +22 -0
  44. package/dist/{SingleSelectControl-CMEjgiNY.js → SingleSelectControl-W6KYjtSP.js} +2 -2
  45. package/dist/{SingleSelectListBoxControl-zUEWoGd8.js → SingleSelectListBoxControl-Cp_vbfKc.js} +3 -3
  46. package/dist/SortListControl-b3lDXyoN.js +103 -0
  47. package/dist/{StyledListItem-Dmiasg50.js → StyledListItem-B97G9CDY.js} +1 -1
  48. package/dist/{TeamAndSpacesControl-2B_pTWqM.js → TeamAndSpacesControl-BaOQSDum.js} +1 -1
  49. package/dist/{TeamResourceControl-BFCZeFBI.js → TeamResourceControl-DdB1fE3C.js} +2 -2
  50. package/dist/{TextAreaControl-DWtOmv7O.js → TextAreaControl-CVRPcJt8.js} +1 -1
  51. package/dist/{TextControl-DwAc1Lgx.js → TextControl-BqJncTor.js} +1 -1
  52. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-BvSRuAqp.js → TextControl.vue_vue_type_script_setup_true_lang-C-5QWuaO.js} +2 -2
  53. package/dist/{TimeControl-n4lsWwMk.js → TimeControl-DvCOb5wo.js} +1 -1
  54. package/dist/{TimePartInput-DTxykHkb.js → TimePartInput-DGfV6WeZ.js} +1 -1
  55. package/dist/{TimeframesControl-CPnnV-IY.js → TimeframesControl-7oW8Nb-d.js} +2 -2
  56. package/dist/{Tooltip-CQD85sdp.js → Tooltip-ZO6iIct2.js} +1 -1
  57. package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-Ck66siqL.js +42 -0
  58. package/dist/{TypedStringFilter-7TKnShae.js → TypedStringFilter-cQS5GH50.js} +8 -9
  59. package/dist/{ValueSwitch-BuQf-fpg.js → ValueSwitch-BXc_PE8P.js} +6 -6
  60. package/dist/{ValueSwitchControl-DUWpTxo1.js → ValueSwitchControl-CZStDbmJ.js} +1 -1
  61. package/dist/{VerticalLayout-BR0nc-T3.js → VerticalLayout-BsGmnjxN.js} +2 -2
  62. package/dist/{VerticalLayoutBase-BmUvz2xm.js → VerticalLayoutBase-CEM6gzmm.js} +1 -1
  63. package/dist/{ZonedDateTimeControl-4Zlm92zJ.js → ZonedDateTimeControl-BrhYGJwr.js} +2 -2
  64. package/dist/{_Uint8Array-CgOaNCk1.js → _Uint8Array-DDNG27um.js} +14 -14
  65. package/dist/{_baseIteratee-B7GNekaD.js → _baseIteratee-CpLcQZ3B.js} +9 -9
  66. package/dist/knime-jsonforms.css +1 -1
  67. package/dist/knime-jsonforms.js +113 -102
  68. package/dist/{localTimeUtils-GW01Jwt9.js → localTimeUtils-DA3ktTUE.js} +1671 -1579
  69. package/dist/{popper-D54JdmBM.js → popper-70nckCW_.js} +53 -53
  70. package/dist/src/renderers/defaultRenderers.d.ts +1 -930
  71. package/dist/src/renderers/sortListRenderer.d.ts +1 -930
  72. package/dist/src/uiComponents/SortListControl.vue.d.ts +2 -918
  73. package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +1 -1
  74. package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +2 -2
  75. package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +2 -8
  76. package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +1 -1
  77. package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +1 -1
  78. package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +2 -5
  79. package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +1 -1
  80. package/dist/src/uiComponents/twinlist/toKdsPossibleValues.d.ts +9 -0
  81. package/dist/testing.js +2 -2
  82. package/dist/toKdsPossibleValues-BklBg3gG.js +14 -0
  83. package/dist/{toString-EJiXsCqP.js → toString-N4qKgUAY.js} +1 -1
  84. package/dist/{useBuiltinValidations-C-jX-GU7.js → useBuiltinValidations-C3nXdk7R.js} +1 -1
  85. package/dist/{usePossibleValues-CdNvUspy.js → usePossibleValues-CdZtv_zD.js} +1 -1
  86. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-De2_vatY.js → useUnknownValuesInTwinlist-BANpCttu.js} +6 -7
  87. package/package.json +5 -5
  88. package/dist/AnyOfTwinlist-BXOiwhPe.js +0 -22
  89. package/dist/DateTimeFormatPickerWithTypeControl-TpmjEZVL.js +0 -442
  90. package/dist/FileUploadControl-D3Awi7rK.js +0 -197
  91. package/dist/InputField-BPW3gcOb.js +0 -148
  92. package/dist/LoadingIcon-DWlZH7u-.js +0 -29
  93. package/dist/ManualTwinlistControl-Ag2U5qFU.js +0 -79
  94. package/dist/MultiSelectListBoxControl-yIxxGB8U.js +0 -31
  95. package/dist/MultimodeTwinlistControl-Cx8g1mbI.js +0 -598
  96. package/dist/SettingsSubPanel-B5IVsvuc.js +0 -5
  97. package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-D4snRy74.js +0 -26292
  98. package/dist/SimpleTwinlistControl-5zMN3nHL.js +0 -25
  99. package/dist/SortListControl-Rh42JVSy.js +0 -389
  100. package/dist/TwinlistControlBase-DpODIPuw.js +0 -57
  101. package/dist/TwinlistLoadingInfo-BwuYp151.js +0 -956
  102. package/dist/_baseAssignValue-DAm2gl_N.js +0 -19
  103. package/dist/_baseEach-CpynTt09.js +0 -30
  104. package/dist/createMissingItem-B00Kg95q.js +0 -4
  105. package/dist/navigator-e30QQMkl.js +0 -4
  106. package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +0 -2
  107. package/dist/useSearch-hpyYQ_6y.js +0 -74
@@ -0,0 +1,464 @@
1
+ import { openBlock as p, createElementBlock as T, createElementVNode as h, h as Q, defineComponent as D, createBlock as z, unref as g, useCssVars as q, computed as y, ref as x, watch as C, reactive as G, onMounted as J, nextTick as O, onUnmounted as X, withCtx as Y, createCommentVNode as A, createVNode as _, Fragment as ee, renderList as te, normalizeClass as S, toDisplayString as H, useModel as oe, withDirectives as le, vModelText as ae, normalizeStyle as se, mergeModels as ne } from "vue";
2
+ import { _ as M, Q as ie, u as re } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-CwE6CdU-.js";
3
+ import { V as R } from "./ValueSwitch-BXc_PE8P.js";
4
+ import { u as de, a as ce, o as ue, s as me, f as pe } from "./floating-ui.vue-Bk6u3tWN.js";
5
+ import { u as ve, F as fe } from "./useDropdownNavigation-EOwf_fL0.js";
6
+ const he = {
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 ye(a, r) {
14
+ return p(), T("svg", he, [...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: ye }, ge = (a, r) => ({
19
+ render() {
20
+ const s = a.render({}, []), d = Q("title", r);
21
+ return d.ns = "svg", s.children.unshift(d), s;
22
+ }
23
+ }), we = /* @__PURE__ */ D({
24
+ __name: "LoadingIcon",
25
+ setup(a) {
26
+ const r = ge(Te, "Loading…");
27
+ return (s, d) => (p(), z(g(r)));
28
+ }
29
+ }), xe = /* @__PURE__ */ M(we, [["__scopeId", "data-v-6b552b81"]]), Ee = {
30
+ xmlns: "http://www.w3.org/2000/svg",
31
+ fill: "none",
32
+ "stroke-linejoin": "round",
33
+ viewBox: "0 0 32 32"
34
+ };
35
+ function Fe(a, r) {
36
+ return p(), T("svg", Ee, [...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 _e = { render: Fe }, be = { class: "popover" }, Ve = { class: "formats-container-border-host" }, Ie = {
44
+ key: 0,
45
+ class: "no-formats-available"
46
+ }, De = {
47
+ key: 1,
48
+ class: "no-formats-available"
49
+ }, Me = ["onClick"], ke = { class: "format-pattern" }, Ce = { class: "format-preview" }, U = 1, ze = /* @__PURE__ */ D({
50
+ __name: "DateTimeFormatPickerPopover",
51
+ props: {
52
+ allFormats: {},
53
+ selectedType: {},
54
+ initialSelectedPattern: {},
55
+ showTypeSwitch: { type: Boolean }
56
+ },
57
+ emits: ["commit", "cancel"],
58
+ setup(a, { emit: r }) {
59
+ q((e) => ({
60
+ v3b9e5e3a: U
61
+ }));
62
+ const s = r, d = a, b = y(() => [
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
+ ]), V = y(() => [
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
+ ]), c = x(null), m = x(null), n = x("RECENT"), u = x(d.selectedType);
97
+ C(
98
+ () => d.selectedType,
99
+ (e) => {
100
+ m.value = e;
101
+ }
102
+ );
103
+ const l = y(
104
+ () => d.allFormats?.filter(
105
+ (e) => e.category === n.value && e.temporalType === u.value
106
+ ) ?? null
107
+ ), v = x(null), f = G({}), E = (e) => `${e.format}-${e.category}-${e.temporalType}`, L = (e) => (t) => {
108
+ f[E(e)] = t;
109
+ }, F = (e) => ({
110
+ format: e.format,
111
+ temporalType: e.temporalType
112
+ }), {
113
+ currentIndex: P,
114
+ onKeydown: N,
115
+ resetNavigation: W,
116
+ setElement: Z
117
+ } = ve({
118
+ keepOpenedOnTab: !0,
119
+ getFirstElement: () => ({
120
+ index: 0,
121
+ onClick: () => s(
122
+ "commit",
123
+ F(l.value[0])
124
+ )
125
+ }),
126
+ getLastElement: () => {
127
+ const e = l.value.length - 1;
128
+ return {
129
+ index: e,
130
+ onClick: () => s(
131
+ "commit",
132
+ F(l.value[e])
133
+ )
134
+ };
135
+ },
136
+ getNextElement: (e, t) => {
137
+ if (e = e === null || e === -1 ? null : e, t === 1) {
138
+ const i = ((e ?? -1) + 1) % l.value.length;
139
+ return {
140
+ index: i,
141
+ onClick: () => s(
142
+ "commit",
143
+ F(l.value[i])
144
+ )
145
+ };
146
+ } else {
147
+ const i = ((e ?? 0) - 1 + l.value.length) % l.value.length;
148
+ return {
149
+ index: i,
150
+ onClick: () => s(
151
+ "commit",
152
+ F(l.value[i])
153
+ )
154
+ };
155
+ }
156
+ },
157
+ close: () => {
158
+ s("cancel");
159
+ }
160
+ }), K = (e) => {
161
+ const t = e.parentElement;
162
+ if (t && t.scrollHeight > t.clientHeight) {
163
+ const o = t.offsetTop + U, i = t.clientHeight + t.scrollTop, w = e.offsetTop + e.offsetHeight - o;
164
+ w > i ? t.scrollTop = w - t.clientHeight : e.offsetTop - t.scrollTop < o && (t.scrollTop = e.offsetTop - o);
165
+ }
166
+ }, $ = (e) => {
167
+ const t = f[`${e}-${n.value}-${u.value}`];
168
+ t && K(t);
169
+ }, B = async (e, t, o) => {
170
+ u.value = t ?? u.value, n.value = o ?? n.value, await O(), m.value = e, $(e);
171
+ const i = l.value.findIndex(
172
+ (w) => w.format === e
173
+ );
174
+ Z({
175
+ index: i,
176
+ onClick: () => s(
177
+ "commit",
178
+ F(l.value[i])
179
+ )
180
+ });
181
+ };
182
+ C(P, (e) => {
183
+ if (e === null)
184
+ return;
185
+ const t = l.value?.[e]?.format;
186
+ t && $(t);
187
+ }), C([u, n], () => {
188
+ u.value === c.value?.temporalType && n.value === c.value?.category ? B(
189
+ c.value.format,
190
+ c.value.temporalType,
191
+ c.value.category
192
+ ) : (m.value = null, W());
193
+ });
194
+ const I = x(!1);
195
+ return J(async () => {
196
+ if (!d.allFormats)
197
+ return;
198
+ const e = [
199
+ "RECENT",
200
+ "STANDARD",
201
+ "EUROPEAN",
202
+ "AMERICAN"
203
+ ], t = d.allFormats.filter((o) => d.initialSelectedPattern === o.format).filter(
204
+ (o) => (
205
+ // if the type switch is hidden, filter to only formats with the same type
206
+ d.selectedType === o.temporalType || d.showTypeSwitch
207
+ )
208
+ ).sort((o, i) => {
209
+ const w = e.indexOf(o.category), k = e.indexOf(i.category);
210
+ return w - k;
211
+ });
212
+ if (t.length > 0) {
213
+ const o = t[0].format, i = t[0].temporalType, w = t[0].category;
214
+ await B(o, i, w);
215
+ const k = l.value.findIndex(
216
+ (j) => j.format === o
217
+ );
218
+ c.value = {
219
+ format: o,
220
+ index: k,
221
+ category: w,
222
+ temporalType: i
223
+ };
224
+ }
225
+ O(() => I.value = !0);
226
+ }), X(() => I.value = !1), (e, t) => (p(), z(g(fe), {
227
+ active: I.value,
228
+ "onUpdate:active": t[3] || (t[3] = (o) => I.value = o),
229
+ "initial-focus": () => v.value ?? !1
230
+ }, {
231
+ default: Y(() => [
232
+ h("div", be, [
233
+ a.showTypeSwitch ? (p(), z(R, {
234
+ key: 0,
235
+ id: "selectedFormatType",
236
+ ref: "typeSwitchRef",
237
+ modelValue: u.value,
238
+ "onUpdate:modelValue": t[0] || (t[0] = (o) => u.value = o),
239
+ compact: "",
240
+ "possible-values": V.value,
241
+ class: "filter-switch"
242
+ }, null, 8, ["modelValue", "possible-values"])) : A("", !0),
243
+ _(R, {
244
+ id: "selectedFormatStandard",
245
+ ref: "standardSwitchRef",
246
+ modelValue: n.value,
247
+ "onUpdate:modelValue": t[1] || (t[1] = (o) => n.value = o),
248
+ compact: "",
249
+ "possible-values": b.value,
250
+ class: "filter-switch"
251
+ }, null, 8, ["modelValue", "possible-values"]),
252
+ h("div", Ve, [
253
+ h("div", {
254
+ id: "dateFormats",
255
+ ref_key: "formatContainerRef",
256
+ ref: v,
257
+ class: "formats-container",
258
+ tabindex: "0",
259
+ role: "menu",
260
+ onKeydown: t[2] || (t[2] = //@ts-ignore
261
+ (...o) => g(N) && g(N)(...o))
262
+ }, [
263
+ l.value === null ? (p(), T("div", Ie, [
264
+ _(xe, { class: "loading-spinner" })
265
+ ])) : l.value.length === 0 ? (p(), T("div", De, " No formats available ")) : (p(!0), T(ee, { key: 2 }, te(l.value, (o, i) => (p(), T("div", {
266
+ key: E(o),
267
+ ref_for: !0,
268
+ ref: L(o),
269
+ class: S([{
270
+ highlighted: i === g(P),
271
+ applied: i === c.value?.index && o.category === c.value.category && o.temporalType === c.value.temporalType
272
+ }, "single-format"]),
273
+ role: "menuitem",
274
+ onClick: () => s("commit", F(o))
275
+ }, [
276
+ h("span", ke, H(o.format), 1),
277
+ h("span", Ce, H(o.example), 1)
278
+ ], 10, Me))), 128))
279
+ ], 544)
280
+ ])
281
+ ])
282
+ ]),
283
+ _: 1
284
+ }, 8, ["active", "initial-focus"]));
285
+ }
286
+ }), Ae = /* @__PURE__ */ M(ze, [["__scopeId", "data-v-8bb40d8b"]]), Se = { class: "input-fields" }, Re = ["disabled"], Pe = {
287
+ key: 0,
288
+ class: "invalid-marker"
289
+ }, Ne = ["disabled"], $e = {}, Be = /* @__PURE__ */ D({
290
+ ...$e,
291
+ __name: "DateTimeFormatInput",
292
+ props: /* @__PURE__ */ ne({
293
+ disabled: { type: Boolean, default: !1 },
294
+ compact: { type: Boolean, default: !1 },
295
+ isValid: { type: Boolean, default: !0 },
296
+ allDefaultFormats: {},
297
+ allowedTypes: { default: () => [
298
+ "DATE",
299
+ "TIME",
300
+ "DATE_TIME",
301
+ "ZONED_DATE_TIME"
302
+ ] },
303
+ showTypeSwitchInPopover: { type: Boolean, default: !0 }
304
+ }, {
305
+ modelValue: {
306
+ default: {
307
+ format: "yyyy-MM-dd",
308
+ temporalType: "DATE"
309
+ }
310
+ },
311
+ modelModifiers: {}
312
+ }),
313
+ emits: ["update:modelValue"],
314
+ setup(a) {
315
+ const r = a, s = oe(a, "modelValue"), d = y({
316
+ get: () => s.value.format,
317
+ set: (v) => {
318
+ s.value = {
319
+ ...s.value,
320
+ format: v
321
+ };
322
+ }
323
+ }), b = "Format like 'yyyy-MM-dd'", V = y(() => r.isValid), c = x(null), m = x(null), n = x(!1), u = (v) => {
324
+ s.value = v, n.value = !1;
325
+ };
326
+ ie(m, () => n.value = !1, {
327
+ ignore: [c]
328
+ });
329
+ const { floatingStyles: l } = de(
330
+ c,
331
+ m,
332
+ {
333
+ middleware: [
334
+ ue({
335
+ mainAxis: 2,
336
+ crossAxis: 0
337
+ }),
338
+ me(),
339
+ pe({
340
+ mainAxis: !0,
341
+ crossAxis: !1
342
+ })
343
+ ],
344
+ placement: "top-end",
345
+ whileElementsMounted: ce
346
+ }
347
+ );
348
+ return (v, f) => (p(), T("div", null, [
349
+ h("div", {
350
+ class: S(["wrapper", { disabled: a.disabled, compact: a.compact }])
351
+ }, [
352
+ h("span", Se, [
353
+ le(h("input", {
354
+ "onUpdate:modelValue": f[0] || (f[0] = (E) => d.value = E),
355
+ type: "text",
356
+ disabled: a.disabled,
357
+ placeholder: b,
358
+ spellcheck: "false",
359
+ onFocus: f[1] || (f[1] = (E) => n.value = !1)
360
+ }, null, 40, Re), [
361
+ [ae, d.value]
362
+ ]),
363
+ V.value ? A("", !0) : (p(), T("span", Pe)),
364
+ h("button", {
365
+ ref_key: "togglePopoverButtonRef",
366
+ ref: c,
367
+ class: S(["trigger-popover-button", { active: n.value }]),
368
+ disabled: a.disabled,
369
+ onClick: f[2] || (f[2] = (E) => n.value = !n.value)
370
+ }, [
371
+ _(g(_e))
372
+ ], 10, Ne)
373
+ ])
374
+ ], 2),
375
+ n.value ? (p(), T("div", {
376
+ key: 0,
377
+ ref_key: "floatingPopoverRef",
378
+ ref: m,
379
+ class: "popover",
380
+ style: se(g(l))
381
+ }, [
382
+ _(Ae, {
383
+ "all-formats": a.allDefaultFormats,
384
+ "initial-selected-pattern": s.value.format,
385
+ "selected-type": s.value.temporalType,
386
+ "show-type-switch": a.showTypeSwitchInPopover,
387
+ onCommit: u,
388
+ onCancel: f[3] || (f[3] = (E) => n.value = !1)
389
+ }, null, 8, ["all-formats", "initial-selected-pattern", "selected-type", "show-type-switch"])
390
+ ], 4)) : A("", !0)
391
+ ]));
392
+ }
393
+ }), Oe = /* @__PURE__ */ M(Be, [["__scopeId", "data-v-1577d5ce"]]), He = ["id"], Ue = /* @__PURE__ */ D({
394
+ __name: "DateTimeFormatPickerWithTypeControl",
395
+ props: {
396
+ control: {},
397
+ handleChange: { type: Function },
398
+ changeValue: { type: Function },
399
+ disabled: { type: Boolean },
400
+ isValid: { type: Boolean },
401
+ onRegisterValidation: { type: Function },
402
+ labelForId: {}
403
+ },
404
+ setup(a) {
405
+ const r = a, s = y(
406
+ () => r.control.uischema
407
+ ), d = y(() => s.value.options), b = y(() => d.value?.allowedFormats), V = re(s, "dateTimeFormats"), c = [
408
+ {
409
+ id: "DATE",
410
+ text: "Date"
411
+ },
412
+ {
413
+ id: "DATE_TIME",
414
+ text: "Date & time"
415
+ },
416
+ {
417
+ id: "TIME",
418
+ text: "Time"
419
+ },
420
+ {
421
+ id: "ZONED_DATE_TIME",
422
+ text: "Zoned date & time"
423
+ }
424
+ ], m = y({
425
+ get: () => r.control.data,
426
+ set: (u) => {
427
+ r.changeValue(u);
428
+ }
429
+ }), n = y({
430
+ get: () => m.value.temporalType,
431
+ set: (u) => {
432
+ m.value = {
433
+ ...m.value,
434
+ temporalType: u
435
+ };
436
+ }
437
+ });
438
+ return (u, l) => (p(), T("div", {
439
+ id: a.labelForId,
440
+ class: "control-container"
441
+ }, [
442
+ _(g(R), {
443
+ modelValue: n.value,
444
+ "onUpdate:modelValue": l[0] || (l[0] = (v) => n.value = v),
445
+ compact: "",
446
+ "possible-values": c,
447
+ disabled: a.disabled
448
+ }, null, 8, ["modelValue", "disabled"]),
449
+ _(g(Oe), {
450
+ modelValue: m.value,
451
+ "onUpdate:modelValue": l[1] || (l[1] = (v) => m.value = v),
452
+ compact: "",
453
+ disabled: a.disabled,
454
+ "show-type-switch-in-popover": !1,
455
+ "allowed-formats": b.value,
456
+ "all-default-formats": g(V),
457
+ "is-valid": !0
458
+ }, null, 8, ["modelValue", "disabled", "allowed-formats", "all-default-formats"])
459
+ ], 8, He));
460
+ }
461
+ }), Qe = /* @__PURE__ */ M(Ue, [["__scopeId", "data-v-8517cafd"]]);
462
+ export {
463
+ Qe as default
464
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as l, toRef as n, openBlock as t, createBlock as i, unref as d } from "vue";
2
- import { u as r } from "./usePossibleValues-CdNvUspy.js";
3
- import { _ as s } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-CiYSPKlk.js";
2
+ import { u as r } from "./usePossibleValues-CdZtv_zD.js";
3
+ import { _ as s } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-BRmvlIKr.js";
4
4
  const f = /* @__PURE__ */ l({
5
5
  __name: "DropdownControl",
6
6
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as p, computed as o, openBlock as h, createBlock as m, normalizeProps as _, guardReactiveProps as v, withCtx as f, createElementVNode as e, toDisplayString as s } from "vue";
2
- import { R as x } from "./ResourceControlBase-OgchIcbA.js";
3
- import { _ as C } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-D4snRy74.js";
2
+ import { R as x } from "./ResourceControlBase-CS-UW4Kt.js";
3
+ import { _ as C } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-CwE6CdU-.js";
4
4
  const y = { class: "info-container" }, V = { class: "chart-title" }, g = { class: "chart-description" }, B = /* @__PURE__ */ p({
5
5
  __name: "ExecutorCoresControl",
6
6
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as d, computed as o, openBlock as p, createBlock as m, normalizeProps as _, guardReactiveProps as h, withCtx as f, createElementVNode as e, toDisplayString as a } from "vue";
2
- import { R as v } from "./ResourceControlBase-OgchIcbA.js";
3
- import { _ as x } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-D4snRy74.js";
2
+ import { R as v } from "./ResourceControlBase-CS-UW4Kt.js";
3
+ import { _ as x } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-CwE6CdU-.js";
4
4
  const y = { class: "info-container" }, B = { class: "chart-title" }, g = { class: "chart-description" }, C = /* @__PURE__ */ d({
5
5
  __name: "ExecutorMemoryControl",
6
6
  props: {
@@ -0,0 +1,210 @@
1
+ import { defineComponent as V, ref as A, computed as g, openBlock as R, createElementBlock as G, createVNode as q, unref as H, createElementVNode as v, toDisplayString as K } from "vue";
2
+ import { D as I, H as W, B as $, C as U, y as Y, _ as J } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-CwE6CdU-.js";
3
+ import { m as Q, e as X, o as Z, U as w, j as z, a as j, n as D, p as T, i as k, S as ee, g as te } from "./_Uint8Array-DDNG27um.js";
4
+ import { i as re } from "./isArray-WzO_os3q.js";
5
+ var O = Object.create, ne = /* @__PURE__ */ (function() {
6
+ function e() {
7
+ }
8
+ return function(t) {
9
+ if (!I(t))
10
+ return {};
11
+ if (O)
12
+ return O(t);
13
+ e.prototype = t;
14
+ var r = new e();
15
+ return e.prototype = void 0, r;
16
+ };
17
+ })(), S = (function() {
18
+ try {
19
+ var e = Q(Object, "defineProperty");
20
+ return e({}, "", {}), e;
21
+ } catch {
22
+ }
23
+ })();
24
+ function ae(e, t) {
25
+ for (var r = -1, o = e == null ? 0 : e.length; ++r < o && t(e[r], r, e) !== !1; )
26
+ ;
27
+ return e;
28
+ }
29
+ function oe(e, t, r) {
30
+ t == "__proto__" && S ? S(e, t, {
31
+ configurable: !0,
32
+ enumerable: !0,
33
+ value: r,
34
+ writable: !0
35
+ }) : e[t] = r;
36
+ }
37
+ var ce = Object.prototype, ie = ce.hasOwnProperty;
38
+ function se(e, t, r) {
39
+ var o = e[t];
40
+ (!(ie.call(e, t) && X(o, r)) || r === void 0 && !(t in e)) && oe(e, t, r);
41
+ }
42
+ var le = Z(Object.getPrototypeOf, Object), P = typeof exports == "object" && exports && !exports.nodeType && exports, C = P && typeof module == "object" && module && !module.nodeType && module, fe = C && C.exports === P, x = fe ? W.Buffer : void 0;
43
+ x && x.allocUnsafe;
44
+ function ue(e, t) {
45
+ return e.slice();
46
+ }
47
+ var be = Object.prototype, pe = be.hasOwnProperty;
48
+ function de(e) {
49
+ var t = e.length, r = new e.constructor(t);
50
+ return t && typeof e[0] == "string" && pe.call(e, "index") && (r.index = e.index, r.input = e.input), r;
51
+ }
52
+ function m(e) {
53
+ var t = new e.constructor(e.byteLength);
54
+ return new w(t).set(new w(e)), t;
55
+ }
56
+ function ge(e, t) {
57
+ var r = m(e.buffer);
58
+ return new e.constructor(r, e.byteOffset, e.byteLength);
59
+ }
60
+ var ye = /\w*$/;
61
+ function Te(e) {
62
+ var t = new e.constructor(e.source, ye.exec(e));
63
+ return t.lastIndex = e.lastIndex, t;
64
+ }
65
+ var F = $ ? $.prototype : void 0, _ = F ? F.valueOf : void 0;
66
+ function je(e) {
67
+ return _ ? Object(_.call(e)) : {};
68
+ }
69
+ function me(e, t) {
70
+ var r = m(e.buffer);
71
+ return new e.constructor(r, e.byteOffset, e.length);
72
+ }
73
+ var he = "[object Boolean]", Ae = "[object Date]", ve = "[object Map]", $e = "[object Number]", we = "[object RegExp]", Oe = "[object Set]", Se = "[object String]", Ce = "[object Symbol]", xe = "[object ArrayBuffer]", Fe = "[object DataView]", _e = "[object Float32Array]", Be = "[object Float64Array]", Ee = "[object Int8Array]", Ie = "[object Int16Array]", Ue = "[object Int32Array]", De = "[object Uint8Array]", Pe = "[object Uint8ClampedArray]", Me = "[object Uint16Array]", Le = "[object Uint32Array]";
74
+ function Ne(e, t, r) {
75
+ var o = e.constructor;
76
+ switch (t) {
77
+ case xe:
78
+ return m(e);
79
+ case he:
80
+ case Ae:
81
+ return new o(+e);
82
+ case Fe:
83
+ return ge(e);
84
+ case _e:
85
+ case Be:
86
+ case Ee:
87
+ case Ie:
88
+ case Ue:
89
+ case De:
90
+ case Pe:
91
+ case Me:
92
+ case Le:
93
+ return me(e);
94
+ case ve:
95
+ return new o();
96
+ case $e:
97
+ case Se:
98
+ return new o(e);
99
+ case we:
100
+ return Te(e);
101
+ case Oe:
102
+ return new o();
103
+ case Ce:
104
+ return je(e);
105
+ }
106
+ }
107
+ function Ve(e) {
108
+ return typeof e.constructor == "function" && !z(e) ? ne(le(e)) : {};
109
+ }
110
+ var Re = "[object Map]";
111
+ function Ge(e) {
112
+ return U(e) && j(e) == Re;
113
+ }
114
+ var B = T && T.isMap, qe = B ? D(B) : Ge, He = "[object Set]";
115
+ function Ke(e) {
116
+ return U(e) && j(e) == He;
117
+ }
118
+ var E = T && T.isSet, We = E ? D(E) : Ke, M = "[object Arguments]", Ye = "[object Array]", Je = "[object Boolean]", Qe = "[object Date]", Xe = "[object Error]", L = "[object Function]", Ze = "[object GeneratorFunction]", ze = "[object Map]", ke = "[object Number]", N = "[object Object]", et = "[object RegExp]", tt = "[object Set]", rt = "[object String]", nt = "[object Symbol]", at = "[object WeakMap]", ot = "[object ArrayBuffer]", ct = "[object DataView]", it = "[object Float32Array]", st = "[object Float64Array]", lt = "[object Int8Array]", ft = "[object Int16Array]", ut = "[object Int32Array]", bt = "[object Uint8Array]", pt = "[object Uint8ClampedArray]", dt = "[object Uint16Array]", gt = "[object Uint32Array]", n = {};
119
+ n[M] = n[Ye] = n[ot] = n[ct] = n[Je] = n[Qe] = n[it] = n[st] = n[lt] = n[ft] = n[ut] = n[ze] = n[ke] = n[N] = n[et] = n[tt] = n[rt] = n[nt] = n[bt] = n[pt] = n[dt] = n[gt] = !0;
120
+ n[Xe] = n[L] = n[at] = !1;
121
+ function y(e, t, r, o, u, c) {
122
+ var a;
123
+ if (a !== void 0)
124
+ return a;
125
+ if (!I(e))
126
+ return e;
127
+ var p = re(e);
128
+ if (p)
129
+ a = de(e);
130
+ else {
131
+ var i = j(e), d = i == L || i == Ze;
132
+ if (k(e))
133
+ return ue(e);
134
+ if (i == N || i == M || d && !u)
135
+ a = d ? {} : Ve(e);
136
+ else {
137
+ if (!n[i])
138
+ return u ? e : {};
139
+ a = Ne(e, i);
140
+ }
141
+ }
142
+ c || (c = new ee());
143
+ var l = c.get(e);
144
+ if (l)
145
+ return l;
146
+ c.set(e, a), We(e) ? e.forEach(function(s) {
147
+ a.add(y(s, t, r, s, e, c));
148
+ }) : qe(e) && e.forEach(function(s, f) {
149
+ a.set(f, y(s, t, r, f, e, c));
150
+ });
151
+ var b = te, h = p ? void 0 : b(e);
152
+ return ae(h || e, function(s, f) {
153
+ h && (f = s, s = e[f]), se(a, f, y(s, t, r, f, e, c));
154
+ }), a;
155
+ }
156
+ var yt = 1, Tt = 4;
157
+ function jt(e) {
158
+ return y(e, yt | Tt);
159
+ }
160
+ const mt = { class: "wrapper" }, ht = { class: "filename" }, At = ["id", "aria-label", "accept", "multiple", "disabled"], vt = /* @__PURE__ */ V({
161
+ inheritAttrs: !1,
162
+ __name: "FileUploadControl",
163
+ props: {
164
+ control: {},
165
+ handleChange: { type: Function },
166
+ changeValue: { type: Function },
167
+ disabled: { type: Boolean },
168
+ isValid: { type: Boolean },
169
+ onRegisterValidation: { type: Function },
170
+ labelForId: {}
171
+ },
172
+ setup(e) {
173
+ const t = e, r = A(jt(t.control.data)), o = g(
174
+ () => t.control.uischema.options?.accept ?? "*"
175
+ ), u = g(
176
+ () => t.control.uischema.options?.multiple ?? !1
177
+ ), c = A(null), a = g(() => r.value?.map?.(({ name: l }) => l).join(", ") || "No file selected"), p = g(() => `Select file${u.value ? "s" : ""}`), i = () => {
178
+ c.value?.click();
179
+ }, d = (l) => {
180
+ const b = l.target;
181
+ b.files && (r.value = Array.from(b.files), t.handleChange(t.control.path, Array.from(r.value)));
182
+ };
183
+ return (l, b) => (R(), G("div", mt, [
184
+ q(H(Y), {
185
+ class: "file-select-button",
186
+ label: p.value,
187
+ "leading-icon": "search",
188
+ variant: "outlined",
189
+ disabled: e.disabled,
190
+ onClick: i
191
+ }, null, 8, ["label", "disabled"]),
192
+ v("span", ht, K(a.value), 1),
193
+ v("input", {
194
+ id: e.labelForId,
195
+ ref_key: "fileSelector",
196
+ ref: c,
197
+ "aria-label": e.control.label,
198
+ type: "file",
199
+ accept: o.value,
200
+ multiple: u.value,
201
+ disabled: e.disabled,
202
+ hidden: "",
203
+ onChange: d
204
+ }, null, 40, At)
205
+ ]));
206
+ }
207
+ }), Ct = /* @__PURE__ */ J(vt, [["__scopeId", "data-v-7d1e4998"]]);
208
+ export {
209
+ Ct as default
210
+ };