@knime/jsonforms 1.19.5 → 1.20.0

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 (135) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist/{AnyOfTwinlist-gIm_R7yi.js → AnyOfTwinlist-CosNPUKG.js} +1 -1
  3. package/dist/{Checkbox-D1QZ8D8U.js → Checkbox-BLHyWo4X.js} +1 -1
  4. package/dist/{CheckboxControl-DitntAd8.js → CheckboxControl-DyBcYCFe.js} +1 -1
  5. package/dist/{CheckboxesControl-C_Wwb06j.js → CheckboxesControl-DqcN6RcZ.js} +2 -2
  6. package/dist/{ColorControl-86_aeUMf.js → ColorControl-CPklP_Ox.js} +1 -1
  7. package/dist/{ColorPreviewControl-HgbFwMCE.js → ColorPreviewControl-BhbI9XDV.js} +1 -1
  8. package/dist/{ComboBoxControl-CGwWGyDl.js → ComboBoxControl-DR9x8i0b.js} +8 -8
  9. package/dist/{DateControl-BofbO5lM.js → DateControl-DJxV5wzs.js} +1 -1
  10. package/dist/DateTimeControl-CoNsGbev.js +44 -0
  11. package/dist/{DateTimeFormatPickerControl-7KTdYrMN.js → DateTimeFormatPickerControl-BmtxQjzI.js} +1 -1
  12. package/dist/{DateTimeFormatPickerWithTypeControl-DmevlqK8.js → DateTimeFormatPickerWithTypeControl-CK7LsO-R.js} +12 -12
  13. package/dist/{DropdownControl-XAeknlV2.js → DropdownControl-nLA0kshc.js} +5 -5
  14. package/dist/ExecutorCoresControl-BgB0R_Xv.js +42 -0
  15. package/dist/ExecutorMemoryControl-Ck5naUl2.js +41 -0
  16. package/dist/FileUploadControl-CByhtwi1.js +197 -0
  17. package/dist/GridSelectionControl-8g--blrX.js +115 -0
  18. package/dist/{HorizontalLayout-BQFvLK2X.js → HorizontalLayout-Bc4F2xJR.js} +6 -6
  19. package/dist/InputField-Gw6K93vY.js +148 -0
  20. package/dist/{IntegerControl-XNoJU3s2.js → IntegerControl-CAh031mO.js} +1 -1
  21. package/dist/{IntervalControl-DaQTfsx8.js → IntervalControl-ocjzEBto.js} +168 -184
  22. package/dist/LinkControl-BML6cXj-.js +35 -0
  23. package/dist/LoadingDropdown.vue_vue_type_script_setup_true_lang-C2sH3IaG.js +57 -0
  24. package/dist/{LoadingIcon-D3kls_iA.js → LoadingIcon-B0S8ig5H.js} +1 -1
  25. package/dist/{ManualTwinlistControl-BCgJbfp5.js → ManualTwinlistControl-BdbrjZtS.js} +4 -4
  26. package/dist/{MultiSelectListBoxControl-B6tvY3Al.js → MultiSelectListBoxControl-0M1iLfXZ.js} +2 -2
  27. package/dist/{MultimodeTwinlistControl-CUWzYCUm.js → MultimodeTwinlistControl-aL0Jr_Hp.js} +19 -20
  28. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-C8itN9TE.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-C61plPNM.js} +2 -2
  29. package/dist/{MultiselectListBox-C1rI0rOG.js → MultiselectListBox-BJqQv0AT.js} +5 -5
  30. package/dist/{NameFilter-CaPBJKzh.js → NameFilter-DvoXjvd8.js} +1 -1
  31. package/dist/{NumberControl-DOnwoK8Z.js → NumberControl-BEYR3aHU.js} +1 -1
  32. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-IP3X2jko.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CSwuzJVa.js} +2 -2
  33. package/dist/{OneOfDropdown-CHt7_dgU.js → OneOfDropdown-Bg1JOuCZ.js} +1 -1
  34. package/dist/RadioButtonsWithDescriptionControl-Cmzn6X0W.js +57 -0
  35. package/dist/{RadioControl-CP7QiYX1.js → RadioControl-D4invwra.js} +2 -2
  36. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-qv1xOkqz.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CuOORFSE.js} +2 -2
  37. package/dist/ResourceControlBase-BCx6cBBz.js +158 -0
  38. package/dist/{RichTextControl-DKlFtbdd.js → RichTextControl-TbANBneT.js} +2059 -1991
  39. package/dist/{SectionHeading-DbcAkyOk.js → SectionHeading-DoNDREK2.js} +1 -1
  40. package/dist/{SectionLayout-BRfbEX0H.js → SectionLayout-Dsd4wFck.js} +3 -3
  41. package/dist/SettingsSubPanel-sQPONy-U.js +5 -0
  42. package/dist/{SettingsSubPanelLayout-nMEM9Js5.js → SettingsSubPanelLayout-DbYqmGOS.js} +7 -7
  43. package/dist/{SimpleButtonControl-Cs9fDA9V.js → SimpleButtonControl-DhM4t6v3.js} +10 -9
  44. package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js +26176 -0
  45. package/dist/{SimpleTwinlistControl-CMJCJOPx.js → SimpleTwinlistControl-Chay0D48.js} +2 -2
  46. package/dist/{SingleSelectControl-DrqxOX0c.js → SingleSelectControl-BRfqeLOh.js} +2 -2
  47. package/dist/{SingleSelectListBoxControl-2ORQoAtg.js → SingleSelectListBoxControl-DyDspddM.js} +5 -5
  48. package/dist/{SortListControl-BLWFLyUn.js → SortListControl-DX0uhRfk.js} +104 -118
  49. package/dist/{StyledListItem-DhsQSwUn.js → StyledListItem-B_FaDixp.js} +1 -1
  50. package/dist/TeamAndSpacesControl-CVGPGpqd.js +64 -0
  51. package/dist/TeamResourceControl-DD-USgie.js +38 -0
  52. package/dist/{TextAreaControl-v3fhzCGm.js → TextAreaControl-BCIrrOzR.js} +1 -1
  53. package/dist/{TextControl-CNlNwI8q.js → TextControl-B_2oeFoq.js} +1 -1
  54. package/dist/TextControl.vue_vue_type_script_setup_true_lang-CuCBV4pA.js +45 -0
  55. package/dist/{TimeControl-uBNUovJi.js → TimeControl-CeL2KxIB.js} +1 -1
  56. package/dist/TimePartInput-BbHxGv7L.js +254 -0
  57. package/dist/TimeframesControl-BBUDxMaB.js +87 -0
  58. package/dist/Tooltip-B5O8iOuG.js +24 -0
  59. package/dist/{TwinlistControlBase-BfsU0lp4.js → TwinlistControlBase--CFSodU_.js} +3 -3
  60. package/dist/{TwinlistLoadingInfo-CZpH6CqT.js → TwinlistLoadingInfo-aB5QCSFX.js} +18 -18
  61. package/dist/{TypedStringFilter-ElEPYctF.js → TypedStringFilter-BjyKvhn1.js} +1 -1
  62. package/dist/{ValueSwitch-BfYlPI2B.js → ValueSwitch-DYxCMQ9c.js} +4 -4
  63. package/dist/{ValueSwitchControl-DyV85jLv.js → ValueSwitchControl-CQkiPcwC.js} +1 -1
  64. package/dist/{VerticalLayout-CFGNNSaB.js → VerticalLayout-DygOb7L9.js} +2 -2
  65. package/dist/{VerticalLayoutBase-CCtK1J1U.js → VerticalLayoutBase-Dq_p4WmZ.js} +1 -1
  66. package/dist/{ZonedDateTimeControl-BtPeUK4M.js → ZonedDateTimeControl-CKyKzTtF.js} +2 -2
  67. package/dist/_Uint8Array-Boy5On8p.js +349 -0
  68. package/dist/_baseAssignValue-CG1hoqdJ.js +19 -0
  69. package/dist/{_baseEach-DR1qyPMo.js → _baseEach-LxtQB6N-.js} +1 -1
  70. package/dist/_baseIteratee-BBGehgFZ.js +308 -0
  71. package/dist/floating-ui.vue-Bk6u3tWN.js +1060 -0
  72. package/dist/isArray-WzO_os3q.js +4 -0
  73. package/dist/knime-jsonforms.css +1 -1
  74. package/dist/knime-jsonforms.js +53 -51
  75. package/dist/{localTimeUtils-C1z-tWPY.js → localTimeUtils-C7kma5fB.js} +3163 -3553
  76. package/dist/src/constants/inputFormats.d.ts +14 -0
  77. package/dist/src/higherOrderComponents/control/DescriptionPopover.vue.d.ts +6 -0
  78. package/dist/src/higherOrderComponents/control/index.d.ts +1 -0
  79. package/dist/src/higherOrderComponents/control/withDescription.d.ts +2 -0
  80. package/dist/src/layoutComponents/index.d.ts +2 -1
  81. package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayout.vue.d.ts +74 -0
  82. package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayoutItemControls.vue.d.ts +16 -0
  83. package/dist/src/renderers/defaultRenderers.d.ts +152 -3
  84. package/dist/src/renderers/executorCoresResourceRenderer.d.ts +1 -0
  85. package/dist/src/renderers/executorMemoryResourceRenderer.d.ts +1 -0
  86. package/dist/src/renderers/fileUploadRenderer.d.ts +1 -0
  87. package/dist/src/renderers/gridSelectionRenderer.d.ts +1 -0
  88. package/dist/src/renderers/linkRenderer.d.ts +69 -0
  89. package/dist/src/renderers/passwordRenderer.d.ts +1 -0
  90. package/dist/src/renderers/quantityRenderer.d.ts +1 -0
  91. package/dist/src/renderers/radioWithDescriptionRenderer.d.ts +69 -0
  92. package/dist/src/renderers/simpleArrayLayoutRenderer.d.ts +76 -0
  93. package/dist/src/renderers/sortListRenderer.d.ts +1 -3
  94. package/dist/src/renderers/teamAndSpaceDropdownRenderer.d.ts +3 -0
  95. package/dist/src/renderers/teamResourceRenderer.d.ts +1 -0
  96. package/dist/src/renderers/timeframesRenderer.d.ts +4 -0
  97. package/dist/src/renderers/usernameRenderer.d.ts +1 -0
  98. package/dist/src/types/ChoicesUiSchema.d.ts +13 -1
  99. package/dist/src/uiComponents/DateControl.vue.d.ts +1 -1
  100. package/dist/src/uiComponents/DateTimeControl.vue.d.ts +1 -1
  101. package/dist/src/uiComponents/FileUploadControl.vue.d.ts +6 -0
  102. package/dist/src/uiComponents/GridSelectionControl.vue.d.ts +9 -0
  103. package/dist/src/uiComponents/LinkControl.vue.d.ts +4 -0
  104. package/dist/src/uiComponents/PasswordControl.vue.d.ts +4 -0
  105. package/dist/src/uiComponents/QuantityControl.vue.d.ts +4 -0
  106. package/dist/src/uiComponents/RadioButtonsWithDescriptionControl.vue.d.ts +4 -0
  107. package/dist/src/uiComponents/SortListControl.vue.d.ts +1 -3
  108. package/dist/src/uiComponents/TeamAndSpacesControl.vue.d.ts +4 -0
  109. package/dist/src/uiComponents/TimeControl.vue.d.ts +1 -1
  110. package/dist/src/uiComponents/TimeframesControl.vue.d.ts +8 -0
  111. package/dist/src/uiComponents/UsernameControl.vue.d.ts +4 -0
  112. package/dist/src/uiComponents/configs/executionContexts.config.d.ts +29 -0
  113. package/dist/src/uiComponents/loading/types/LoadingDropdownProps.d.ts +2 -2
  114. package/dist/src/uiComponents/resourceControls/ExecutorCoresControl.vue.d.ts +4 -0
  115. package/dist/src/uiComponents/resourceControls/ExecutorMemoryControl.vue.d.ts +4 -0
  116. package/dist/src/uiComponents/resourceControls/ResourceControlBase.vue.d.ts +19 -0
  117. package/dist/src/uiComponents/resourceControls/SmallDonutChart.vue.d.ts +20 -0
  118. package/dist/src/uiComponents/resourceControls/TeamResourceControl.vue.d.ts +4 -0
  119. package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +1 -3
  120. package/dist/testing.js +2602 -2589
  121. package/dist/toString-Bbm8o0hZ.js +25 -0
  122. package/dist/{useBuiltinValidations-CXYzLTj1.js → useBuiltinValidations-zKGc6Pdt.js} +1 -1
  123. package/dist/useDropdownNavigation-EOwf_fL0.js +946 -0
  124. package/dist/{usePossibleValues-BGGWIVzM.js → usePossibleValues-DhdKca4Z.js} +1 -1
  125. package/package.json +2 -2
  126. package/dist/DateTimeControl-BzWk51J8.js +0 -44
  127. package/dist/Label-BckcZVsr.js +0 -218
  128. package/dist/LoadingDropdown.vue_vue_type_script_setup_true_lang-M581gyEa.js +0 -48
  129. package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js +0 -25430
  130. package/dist/SettingsSubPanel-Bw-wC4JV.js +0 -5
  131. package/dist/TextControl.vue_vue_type_script_setup_true_lang-BQReBqLi.js +0 -45
  132. package/dist/_baseIteratee-DrBvc1GG.js +0 -640
  133. package/dist/floating-ui.vue-Fx4CxKut.js +0 -1057
  134. package/dist/toString-lufkO4XX.js +0 -25
  135. package/dist/useDropdownNavigation-2Yhk7zes.js +0 -821
package/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @knime/json-forms
2
2
 
3
+ ## 1.20.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 80f6f17: - added KNIME Hub renderers
8
+ - grid and timeframe
9
+ - link
10
+ - quantity
11
+ - simple array layout
12
+ - file upload
13
+ - resources
14
+ - team resources
15
+ - execution memory
16
+ - execution cores
17
+ - username and password
18
+ - buttons with description (chub execution)
19
+ - team and space dropdown
20
+ - add description button to controls
21
+ - added a demo app using mock schemas
22
+
23
+ ## 1.19.6
24
+
25
+ ### Patch Changes
26
+
27
+ - 53d7e59: Reduce button size of SimpleButtonControl
28
+ - 469a2da: Filter empty values for dropdowns
29
+
3
30
  ## 1.19.5
4
31
 
5
32
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as s, openBlock as t, createBlock as p, mergeProps as a, unref as l } from "vue";
2
2
  import { o as r } from "./index-Blg1O3Fz.js";
3
- import { T as i } from "./TwinlistControlBase-BfsU0lp4.js";
3
+ import { T as i } from "./TwinlistControlBase--CFSodU_.js";
4
4
  const y = /* @__PURE__ */ s({
5
5
  __name: "AnyOfTwinlist",
6
6
  props: {
@@ -1,5 +1,5 @@
1
1
  import { openBlock as s, createElementBlock as i, normalizeClass as o, createElementVNode as d, renderSlot as c } from "vue";
2
- import { _ as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
2
+ import { _ as u } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
3
  const r = {
4
4
  name: "Checkbox",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, ref as d, openBlock as r, createElementBlock as i, createElementVNode as u, createVNode as c, unref as v, renderSlot as a } from "vue";
2
- import { al as b, _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
2
+ import { a8 as b, _ as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
3
  const f = { class: "checkbox-container" }, p = /* @__PURE__ */ s({
4
4
  __name: "CheckboxControl",
5
5
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as c, computed as n, ref as i, toRef as r, onMounted as u, openBlock as d, createBlock as m, unref as p, createCommentVNode as b } from "vue";
2
- import { K as f, _ as h } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
2
+ import { I as f, _ as h } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
3
  import { o as v } from "./index-Blg1O3Fz.js";
4
- import { u as V } from "./usePossibleValues-BGGWIVzM.js";
4
+ import { u as V } from "./usePossibleValues-DhdKca4Z.js";
5
5
  const y = /* @__PURE__ */ c({
6
6
  __name: "CheckboxesControl",
7
7
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, openBlock as a, createBlock as l, unref as n } from "vue";
2
- import { I as t } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
2
+ import { M as t } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
3
  const u = /* @__PURE__ */ o({
4
4
  __name: "ColorControl",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, openBlock as e, createElementBlock as o, createVNode as y, unref as p, computed as s, normalizeStyle as m, createBlock as d, Fragment as f, renderList as k } from "vue";
2
- import { H as w, _ as v, u as C } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
2
+ import { J as w, _ as v, u as C } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
3
  const P = { class: "empty-state-wrapper" }, $ = /* @__PURE__ */ u({
4
4
  __name: "ColorPreviewEmptyState",
5
5
  setup(a) {
@@ -1,17 +1,17 @@
1
1
  import { resolveComponent as f, openBlock as r, createElementBlock as b, withModifiers as a, withKeys as u, normalizeClass as w, renderSlot as F, createElementVNode as p, toDisplayString as S, createVNode as h, withDirectives as C, normalizeStyle as A, Fragment as D, renderList as P, createBlock as E, withCtx as O, createTextVNode as T, vShow as k, defineComponent as x, vModelText as $, toRef as z, computed as y, unref as N } from "vue";
2
- import { u as U } from "./usePossibleValues-BGGWIVzM.js";
2
+ import { u as U } from "./usePossibleValues-DhdKca4Z.js";
3
3
  import { C as L } from "./close-CwP2mh9x.js";
4
- import { _ as B, J as H } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
4
+ import { _ as B, N as H } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
5
5
  /* empty css */
6
6
  import { A as K } from "./arrow-dropdown-DMFBPPcK.js";
7
- import { C as j } from "./Checkbox-D1QZ8D8U.js";
7
+ import { C as j } from "./Checkbox-BLHyWo4X.js";
8
8
  import { c as W } from "./createMissingItem-B00Kg95q.js";
9
9
  const g = () => {
10
10
  let e = document?.activeElement;
11
11
  for (; e?.shadowRoot; )
12
12
  e = e?.shadowRoot?.activeElement;
13
13
  return e;
14
- }, v = 1, G = 28.5, J = 8, X = {
14
+ }, v = 1, G = 28.5, X = 8, q = {
15
15
  name: "Multiselect",
16
16
  components: {
17
17
  Checkbox: j,
@@ -151,7 +151,7 @@ const g = () => {
151
151
  },
152
152
  optionsHeight() {
153
153
  return this.useSpecificOptionsHeight ? {
154
- "max-height": `${this.sizeVisibleOptions * G + J}px`
154
+ "max-height": `${this.sizeVisibleOptions * G + X}px`
155
155
  } : {};
156
156
  },
157
157
  refocusElementOnClose() {
@@ -243,7 +243,7 @@ const g = () => {
243
243
  ).map((e) => e.$el && e.$el.firstChild));
244
244
  }
245
245
  }
246
- }, q = { key: 1 }, Q = ["tabindex"];
246
+ }, J = { key: 1 }, Q = ["tabindex"];
247
247
  function Y(e, t, l, n, c, o) {
248
248
  const m = f("DropdownIcon"), d = f("Checkbox");
249
249
  return r(), b("div", {
@@ -260,7 +260,7 @@ function Y(e, t, l, n, c, o) {
260
260
  onFocusout: t[5] || (t[5] = a((...s) => o.onFocusOut && o.onFocusOut(...s), ["stop"])),
261
261
  onMousedown: t[6] || (t[6] = (...s) => o.onMousedown && o.onMousedown(...s))
262
262
  }, [
263
- l.useCustomListBox ? F(e.$slots, "listBox", { key: 0 }, void 0, !0) : (r(), b("div", q, [
263
+ l.useCustomListBox ? F(e.$slots, "listBox", { key: 0 }, void 0, !0) : (r(), b("div", J, [
264
264
  p("div", {
265
265
  ref: "toggle",
266
266
  role: "button",
@@ -296,7 +296,7 @@ function Y(e, t, l, n, c, o) {
296
296
  ])
297
297
  ], 34);
298
298
  }
299
- const Z = /* @__PURE__ */ B(X, [["render", Y], ["__scopeId", "data-v-eeb8fb15"]]), I = "draft-id-combobox-preview-item", _ = x({
299
+ const Z = /* @__PURE__ */ B(q, [["render", Y], ["__scopeId", "data-v-eeb8fb15"]]), I = "draft-id-combobox-preview-item", _ = x({
300
300
  name: "ComboBox",
301
301
  components: {
302
302
  Multiselect: Z,
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, computed as d, openBlock as s, createBlock as u, unref as r } from "vue";
2
- import { f as m, t as c, D as p } from "./localTimeUtils-C1z-tWPY.js";
2
+ import { f as m, t as c, D as p } from "./localTimeUtils-C7kma5fB.js";
3
3
  const b = /* @__PURE__ */ i({
4
4
  __name: "DateControl",
5
5
  props: {
@@ -0,0 +1,44 @@
1
+ import { defineComponent as r, computed as o, openBlock as v, createBlock as p, unref as h } from "vue";
2
+ import { t, f as w, D as f } from "./localTimeUtils-C7kma5fB.js";
3
+ const x = /* @__PURE__ */ r({
4
+ __name: "DateTimeControl",
5
+ props: {
6
+ control: {},
7
+ handleChange: { type: Function },
8
+ changeValue: { type: Function },
9
+ disabled: { type: Boolean },
10
+ isValid: { type: Boolean },
11
+ onRegisterValidation: { type: Function },
12
+ labelForId: {}
13
+ },
14
+ setup(a) {
15
+ const l = a, e = o(() => l.control.uischema.options), s = o(
16
+ () => e.value?.minimum ? t(e.value.minimum) : null
17
+ ), u = o(
18
+ () => e.value?.maximum ? t(e.value.maximum) : null
19
+ ), d = o(() => e.value?.twoLines ?? !0), i = o({
20
+ get: () => t(l.control.data),
21
+ set: (n) => l.changeValue(w(n))
22
+ });
23
+ return (n, m) => (v(), p(h(f), {
24
+ id: a.labelForId,
25
+ modelValue: i.value,
26
+ "onUpdate:modelValue": m[0] || (m[0] = (c) => i.value = c),
27
+ "two-lines": d.value,
28
+ required: !0,
29
+ "show-time": e.value?.showTime,
30
+ "show-seconds": e.value?.showSeconds,
31
+ "show-milliseconds": e.value?.showMilliseconds,
32
+ timezone: "UTC",
33
+ "date-format": e.value?.dateFormat,
34
+ min: s.value,
35
+ max: u.value,
36
+ "is-valid": a.isValid,
37
+ compact: "",
38
+ disabled: a.disabled
39
+ }, null, 8, ["id", "modelValue", "two-lines", "show-time", "show-seconds", "show-milliseconds", "date-format", "min", "max", "is-valid", "disabled"]));
40
+ }
41
+ });
42
+ export {
43
+ x as default
44
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as s, computed as a, openBlock as i, createBlock as c, unref as t } from "vue";
2
- import { u as m, M as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
2
+ import { u as m, O as u } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
3
  const V = /* @__PURE__ */ s({
4
4
  __name: "DateTimeFormatPickerControl",
5
5
  props: {
@@ -1,9 +1,9 @@
1
1
  import { openBlock as v, createElementBlock as w, createElementVNode as y, defineComponent as A, useCssVars as q, computed as h, ref as g, watch as I, reactive as G, onMounted as J, nextTick as $, onUnmounted as Q, createBlock as O, unref as x, withCtx as X, createCommentVNode as C, createVNode as b, Fragment as Y, renderList as ee, normalizeClass as _, toDisplayString as H, useModel as te, withDirectives as oe, vModelText as le, normalizeStyle as ae, mergeModels as se } from "vue";
2
- import { _ as S, N as ne, u as ie } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
3
- import { V as z } from "./ValueSwitch-BfYlPI2B.js";
4
- import { u as re, a as de, o as ce, s as ue, f as me } from "./floating-ui.vue-Fx4CxKut.js";
5
- import { u as pe, F as ve } from "./useDropdownNavigation-2Yhk7zes.js";
6
- import { L as fe } from "./LoadingIcon-D3kls_iA.js";
2
+ import { _ as S, P as ne, u as ie } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
+ import { V as z } from "./ValueSwitch-DYxCMQ9c.js";
4
+ import { u as re, a as de, o as ce, s as ue, f as me } from "./floating-ui.vue-Bk6u3tWN.js";
5
+ import { u as pe, F as ve } from "./useDropdownNavigation-EOwf_fL0.js";
6
+ import { L as fe } from "./LoadingIcon-B0S8ig5H.js";
7
7
  const ye = {
8
8
  xmlns: "http://www.w3.org/2000/svg",
9
9
  fill: "none",
@@ -89,7 +89,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
89
89
  temporalType: e.temporalType
90
90
  }), {
91
91
  currentIndex: R,
92
- onKeydown: N,
92
+ onKeydown: P,
93
93
  resetNavigation: Z,
94
94
  setElement: W
95
95
  } = pe({
@@ -141,11 +141,11 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
141
141
  const o = t.offsetTop + U, s = t.clientHeight + t.scrollTop, T = e.offsetTop + e.offsetHeight - o;
142
142
  T > s ? t.scrollTop = T - t.clientHeight : e.offsetTop - t.scrollTop < o && (t.scrollTop = e.offsetTop - o);
143
143
  }
144
- }, P = (e) => {
144
+ }, N = (e) => {
145
145
  const t = p[`${e}-${a.value}-${d.value}`];
146
146
  t && K(t);
147
147
  }, B = async (e, t, o) => {
148
- d.value = t ?? d.value, a.value = o ?? a.value, await $(), u.value = e, P(e);
148
+ d.value = t ?? d.value, a.value = o ?? a.value, await $(), u.value = e, N(e);
149
149
  const s = l.value.findIndex(
150
150
  (T) => T.format === e
151
151
  );
@@ -161,7 +161,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
161
161
  if (e === null)
162
162
  return;
163
163
  const t = l.value?.[e]?.format;
164
- t && P(t);
164
+ t && N(t);
165
165
  }), I([d, a], () => {
166
166
  d.value === r.value?.temporalType && a.value === r.value?.category ? B(
167
167
  r.value.format,
@@ -236,7 +236,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
236
236
  tabindex: "0",
237
237
  role: "menu",
238
238
  onKeydown: t[2] || (t[2] = //@ts-ignore
239
- (...o) => x(N) && x(N)(...o))
239
+ (...o) => x(P) && x(P)(...o))
240
240
  }, [
241
241
  l.value === null ? (v(), w("div", xe, [
242
242
  b(fe, { class: "loading-spinner" })
@@ -368,7 +368,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
368
368
  ], 4)) : C("", !0)
369
369
  ]));
370
370
  }
371
- }), Se = /* @__PURE__ */ S(Ae, [["__scopeId", "data-v-1577d5ce"]]), Re = ["id"], Ne = /* @__PURE__ */ A({
371
+ }), Se = /* @__PURE__ */ S(Ae, [["__scopeId", "data-v-1577d5ce"]]), Re = ["id"], Pe = /* @__PURE__ */ A({
372
372
  __name: "DateTimeFormatPickerWithTypeControl",
373
373
  props: {
374
374
  control: {},
@@ -436,7 +436,7 @@ const Te = { render: he }, ge = { class: "popover" }, we = { class: "formats-con
436
436
  }, null, 8, ["modelValue", "disabled", "allowed-formats", "all-default-formats"])
437
437
  ], 8, Re));
438
438
  }
439
- }), Le = /* @__PURE__ */ S(Ne, [["__scopeId", "data-v-8517cafd"]]);
439
+ }), Le = /* @__PURE__ */ S(Pe, [["__scopeId", "data-v-8517cafd"]]);
440
440
  export {
441
441
  Le as default
442
442
  };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as r, toRef as s, computed as o, openBlock as n, createBlock as t, unref as d } from "vue";
2
- import { y as c } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
3
- import { u as m } from "./usePossibleValues-BGGWIVzM.js";
4
- import { _ as b } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-M581gyEa.js";
5
- const F = /* @__PURE__ */ r({
2
+ import { K as c } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
+ import { u as m } from "./usePossibleValues-DhdKca4Z.js";
4
+ import { _ as b } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-C2sH3IaG.js";
5
+ const p = /* @__PURE__ */ r({
6
6
  __name: "DropdownControl",
7
7
  props: {
8
8
  control: {},
@@ -37,5 +37,5 @@ const F = /* @__PURE__ */ r({
37
37
  }
38
38
  });
39
39
  export {
40
- F as default
40
+ p as default
41
41
  };
@@ -0,0 +1,42 @@
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-BCx6cBBz.js";
3
+ import { _ as C } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
4
+ const y = { class: "info-container" }, V = { class: "chart-title" }, g = { class: "chart-description" }, B = /* @__PURE__ */ p({
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(c) {
16
+ const t = c, i = o(
17
+ () => t.control.uischema.options?.donutTitle || ""
18
+ ), n = o(
19
+ () => t.control.schema.secondaryValue || 0
20
+ ), a = o(
21
+ () => t.control.uischema.options?.donutMax ?? 1 / 0
22
+ ), l = o(
23
+ () => a.value === -1 ? "unlimited" : a.value
24
+ ), r = o(
25
+ () => t.control.uischema.options?.isSharedContext ?? !1
26
+ ), u = o(() => t.control.data + n.value), d = o(
27
+ () => `This execution context will use ${n.value} vCore tokens. In total, ${u.value} of ${l.value} vCore tokens available ${r.value ? "from the license" : "for this team"} will be used.`
28
+ );
29
+ return (b, k) => (h(), m(x, _(v(t)), {
30
+ "donut-info": f(() => [
31
+ e("div", y, [
32
+ e("div", V, s(i.value), 1),
33
+ e("div", g, s(d.value), 1)
34
+ ])
35
+ ]),
36
+ _: 1
37
+ }, 16));
38
+ }
39
+ }), T = /* @__PURE__ */ C(B, [["__scopeId", "data-v-67543247"]]);
40
+ export {
41
+ T as default
42
+ };
@@ -0,0 +1,41 @@
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-BCx6cBBz.js";
3
+ import { _ as x } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
4
+ const y = { class: "info-container" }, B = { class: "chart-title" }, g = { 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(s) {
16
+ const t = s, n = o(
17
+ () => t.control.schema.secondaryValue || 0
18
+ ), c = o(
19
+ () => t.control.uischema.options?.donutTitle || ""
20
+ ), i = o(
21
+ () => t.control.uischema.options?.currentUsage ?? 0
22
+ ), r = o(
23
+ () => t.control.uischema.options?.donutMax ?? 1 / 0
24
+ ), l = o(() => n.value + i.value), u = o(
25
+ () => `This execution context will use a maximum of ${n.value} GB RAM.
26
+ In total, ${l.value} GB of ${r.value} GB available for this team will be used.`
27
+ );
28
+ return (V, b) => (p(), m(v, _(h(t)), {
29
+ "donut-info": f(() => [
30
+ e("div", y, [
31
+ e("div", B, a(c.value), 1),
32
+ e("div", g, a(u.value), 1)
33
+ ])
34
+ ]),
35
+ _: 1
36
+ }, 16));
37
+ }
38
+ }), I = /* @__PURE__ */ x(C, [["__scopeId", "data-v-515b606e"]]);
39
+ export {
40
+ I as default
41
+ };
@@ -0,0 +1,197 @@
1
+ import { defineComponent as N, ref as h, computed as g, openBlock as V, createElementBlock as G, createVNode as R, unref as q, createElementVNode as v, toDisplayString as K } from "vue";
2
+ import { C as E, G as W, A as $, B as I, y as Y, _ as H } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
+ import { e as J, o as Q, U as w, j as X, a as j, m as U, n as T, i as Z, S as k, g as z } from "./_Uint8Array-Boy5On8p.js";
4
+ import { b as ee } from "./_baseAssignValue-CG1hoqdJ.js";
5
+ import { i as te } from "./isArray-WzO_os3q.js";
6
+ var S = Object.create, re = /* @__PURE__ */ (function() {
7
+ function e() {
8
+ }
9
+ return function(t) {
10
+ if (!E(t))
11
+ return {};
12
+ if (S)
13
+ return S(t);
14
+ e.prototype = t;
15
+ var r = new e();
16
+ return e.prototype = void 0, r;
17
+ };
18
+ })();
19
+ function ne(e, t) {
20
+ for (var r = -1, a = e == null ? 0 : e.length; ++r < a && t(e[r], r, e) !== !1; )
21
+ ;
22
+ return e;
23
+ }
24
+ var oe = Object.prototype, ae = oe.hasOwnProperty;
25
+ function ce(e, t, r) {
26
+ var a = e[t];
27
+ (!(ae.call(e, t) && J(a, r)) || r === void 0 && !(t in e)) && ee(e, t, r);
28
+ }
29
+ var ie = Q(Object.getPrototypeOf, Object), D = typeof exports == "object" && exports && !exports.nodeType && exports, O = D && typeof module == "object" && module && !module.nodeType && module, se = O && O.exports === D, C = se ? W.Buffer : void 0;
30
+ C && C.allocUnsafe;
31
+ function le(e, t) {
32
+ return e.slice();
33
+ }
34
+ var fe = Object.prototype, ue = fe.hasOwnProperty;
35
+ function be(e) {
36
+ var t = e.length, r = new e.constructor(t);
37
+ return t && typeof e[0] == "string" && ue.call(e, "index") && (r.index = e.index, r.input = e.input), r;
38
+ }
39
+ function m(e) {
40
+ var t = new e.constructor(e.byteLength);
41
+ return new w(t).set(new w(e)), t;
42
+ }
43
+ function pe(e, t) {
44
+ var r = m(e.buffer);
45
+ return new e.constructor(r, e.byteOffset, e.byteLength);
46
+ }
47
+ var de = /\w*$/;
48
+ function ge(e) {
49
+ var t = new e.constructor(e.source, de.exec(e));
50
+ return t.lastIndex = e.lastIndex, t;
51
+ }
52
+ var x = $ ? $.prototype : void 0, F = x ? x.valueOf : void 0;
53
+ function ye(e) {
54
+ return F ? Object(F.call(e)) : {};
55
+ }
56
+ function Te(e, t) {
57
+ var r = m(e.buffer);
58
+ return new e.constructor(r, e.byteOffset, e.length);
59
+ }
60
+ var je = "[object Boolean]", me = "[object Date]", Ae = "[object Map]", he = "[object Number]", ve = "[object RegExp]", $e = "[object Set]", we = "[object String]", Se = "[object Symbol]", Oe = "[object ArrayBuffer]", Ce = "[object DataView]", xe = "[object Float32Array]", Fe = "[object Float64Array]", Be = "[object Int8Array]", _e = "[object Int16Array]", Ee = "[object Int32Array]", Ie = "[object Uint8Array]", Ue = "[object Uint8ClampedArray]", De = "[object Uint16Array]", Me = "[object Uint32Array]";
61
+ function Pe(e, t, r) {
62
+ var a = e.constructor;
63
+ switch (t) {
64
+ case Oe:
65
+ return m(e);
66
+ case je:
67
+ case me:
68
+ return new a(+e);
69
+ case Ce:
70
+ return pe(e);
71
+ case xe:
72
+ case Fe:
73
+ case Be:
74
+ case _e:
75
+ case Ee:
76
+ case Ie:
77
+ case Ue:
78
+ case De:
79
+ case Me:
80
+ return Te(e);
81
+ case Ae:
82
+ return new a();
83
+ case he:
84
+ case we:
85
+ return new a(e);
86
+ case ve:
87
+ return ge(e);
88
+ case $e:
89
+ return new a();
90
+ case Se:
91
+ return ye(e);
92
+ }
93
+ }
94
+ function Le(e) {
95
+ return typeof e.constructor == "function" && !X(e) ? re(ie(e)) : {};
96
+ }
97
+ var Ne = "[object Map]";
98
+ function Ve(e) {
99
+ return I(e) && j(e) == Ne;
100
+ }
101
+ var B = T && T.isMap, Ge = B ? U(B) : Ve, Re = "[object Set]";
102
+ function qe(e) {
103
+ return I(e) && j(e) == Re;
104
+ }
105
+ var _ = T && T.isSet, Ke = _ ? U(_) : qe, M = "[object Arguments]", We = "[object Array]", Ye = "[object Boolean]", He = "[object Date]", Je = "[object Error]", P = "[object Function]", Qe = "[object GeneratorFunction]", Xe = "[object Map]", Ze = "[object Number]", L = "[object Object]", ke = "[object RegExp]", ze = "[object Set]", et = "[object String]", tt = "[object Symbol]", rt = "[object WeakMap]", nt = "[object ArrayBuffer]", ot = "[object DataView]", at = "[object Float32Array]", ct = "[object Float64Array]", it = "[object Int8Array]", st = "[object Int16Array]", lt = "[object Int32Array]", ft = "[object Uint8Array]", ut = "[object Uint8ClampedArray]", bt = "[object Uint16Array]", pt = "[object Uint32Array]", n = {};
106
+ n[M] = n[We] = n[nt] = n[ot] = n[Ye] = n[He] = n[at] = n[ct] = n[it] = n[st] = n[lt] = n[Xe] = n[Ze] = n[L] = n[ke] = n[ze] = n[et] = n[tt] = n[ft] = n[ut] = n[bt] = n[pt] = !0;
107
+ n[Je] = n[P] = n[rt] = !1;
108
+ function y(e, t, r, a, u, c) {
109
+ var o;
110
+ if (o !== void 0)
111
+ return o;
112
+ if (!E(e))
113
+ return e;
114
+ var p = te(e);
115
+ if (p)
116
+ o = be(e);
117
+ else {
118
+ var i = j(e), d = i == P || i == Qe;
119
+ if (Z(e))
120
+ return le(e);
121
+ if (i == L || i == M || d && !u)
122
+ o = d ? {} : Le(e);
123
+ else {
124
+ if (!n[i])
125
+ return u ? e : {};
126
+ o = Pe(e, i);
127
+ }
128
+ }
129
+ c || (c = new k());
130
+ var l = c.get(e);
131
+ if (l)
132
+ return l;
133
+ c.set(e, o), Ke(e) ? e.forEach(function(s) {
134
+ o.add(y(s, t, r, s, e, c));
135
+ }) : Ge(e) && e.forEach(function(s, f) {
136
+ o.set(f, y(s, t, r, f, e, c));
137
+ });
138
+ var b = z, A = p ? void 0 : b(e);
139
+ return ne(A || e, function(s, f) {
140
+ A && (f = s, s = e[f]), ce(o, f, y(s, t, r, f, e, c));
141
+ }), o;
142
+ }
143
+ var dt = 1, gt = 4;
144
+ function yt(e) {
145
+ return y(e, dt | gt);
146
+ }
147
+ const Tt = { class: "wrapper" }, jt = { class: "filename" }, mt = ["id", "aria-label", "accept", "multiple", "disabled"], At = /* @__PURE__ */ N({
148
+ inheritAttrs: !1,
149
+ __name: "FileUploadControl",
150
+ props: {
151
+ control: {},
152
+ handleChange: { type: Function },
153
+ changeValue: { type: Function },
154
+ disabled: { type: Boolean },
155
+ isValid: { type: Boolean },
156
+ onRegisterValidation: { type: Function },
157
+ labelForId: {}
158
+ },
159
+ setup(e) {
160
+ const t = e, r = h(yt(t.control.data)), a = g(
161
+ () => t.control.uischema.options?.accept ?? "*"
162
+ ), u = g(
163
+ () => t.control.uischema.options?.multiple ?? !1
164
+ ), c = h(null), o = g(() => r.value?.map?.(({ name: l }) => l).join(", ") || "No file selected"), p = g(() => `Select file${u.value ? "s" : ""}`), i = () => {
165
+ c.value?.click();
166
+ }, d = (l) => {
167
+ const b = l.target;
168
+ b.files && (r.value = Array.from(b.files), t.handleChange(t.control.path, Array.from(r.value)));
169
+ };
170
+ return (l, b) => (V(), G("div", Tt, [
171
+ R(q(Y), {
172
+ class: "file-select-button",
173
+ label: p.value,
174
+ "leading-icon": "search",
175
+ variant: "outlined",
176
+ disabled: e.disabled,
177
+ onClick: i
178
+ }, null, 8, ["label", "disabled"]),
179
+ v("span", jt, K(o.value), 1),
180
+ v("input", {
181
+ id: e.labelForId,
182
+ ref_key: "fileSelector",
183
+ ref: c,
184
+ "aria-label": e.control.label,
185
+ type: "file",
186
+ accept: a.value,
187
+ multiple: u.value,
188
+ disabled: e.disabled,
189
+ hidden: "",
190
+ onChange: d
191
+ }, null, 40, mt)
192
+ ]));
193
+ }
194
+ }), Ot = /* @__PURE__ */ H(At, [["__scopeId", "data-v-7d1e4998"]]);
195
+ export {
196
+ Ot as default
197
+ };