@knime/jsonforms 1.19.6 → 1.20.1

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 (136) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/{AnyOfTwinlist-DXjbNRLq.js → AnyOfTwinlist-CosNPUKG.js} +1 -1
  3. package/dist/{Checkbox-CZIoPAZU.js → Checkbox-BLHyWo4X.js} +1 -1
  4. package/dist/{CheckboxControl-D6LP2SAg.js → CheckboxControl-DyBcYCFe.js} +1 -1
  5. package/dist/{CheckboxesControl-D9DA7-T0.js → CheckboxesControl-DqcN6RcZ.js} +2 -2
  6. package/dist/{ColorControl-rCN_X6Wk.js → ColorControl-CPklP_Ox.js} +1 -1
  7. package/dist/{ColorPreviewControl-Dv7_mc6t.js → ColorPreviewControl-BhbI9XDV.js} +1 -1
  8. package/dist/{ComboBoxControl-DUaaxMZ_.js → ComboBoxControl-DR9x8i0b.js} +8 -8
  9. package/dist/{DateControl-5AuxnnvM.js → DateControl-DJxV5wzs.js} +1 -1
  10. package/dist/DateTimeControl-CoNsGbev.js +44 -0
  11. package/dist/{DateTimeFormatPickerControl-CbLnDDbr.js → DateTimeFormatPickerControl-BmtxQjzI.js} +1 -1
  12. package/dist/{DateTimeFormatPickerWithTypeControl-BBpPB5TM.js → DateTimeFormatPickerWithTypeControl-CK7LsO-R.js} +12 -12
  13. package/dist/{DropdownControl-2UdsfufQ.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-ao9JZxiP.js → HorizontalLayout-Bc4F2xJR.js} +6 -6
  19. package/dist/InputField-Gw6K93vY.js +148 -0
  20. package/dist/{IntegerControl-wq8pma-E.js → IntegerControl-CAh031mO.js} +1 -1
  21. package/dist/{IntervalControl-DuI-4Y1d.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-BhelL9SM.js → LoadingIcon-B0S8ig5H.js} +1 -1
  25. package/dist/{ManualTwinlistControl-rP4L1RP6.js → ManualTwinlistControl-BdbrjZtS.js} +4 -4
  26. package/dist/{MultiSelectListBoxControl-iUqimLmu.js → MultiSelectListBoxControl-0M1iLfXZ.js} +2 -2
  27. package/dist/{MultimodeTwinlistControl-DTuLtZRx.js → MultimodeTwinlistControl-aL0Jr_Hp.js} +19 -20
  28. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-DhQuoNrM.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-C61plPNM.js} +2 -2
  29. package/dist/{MultiselectListBox-DijeK4wH.js → MultiselectListBox-BJqQv0AT.js} +5 -5
  30. package/dist/{NameFilter-C1_u0chZ.js → NameFilter-DvoXjvd8.js} +1 -1
  31. package/dist/{NumberControl-BYvfrBJs.js → NumberControl-BEYR3aHU.js} +1 -1
  32. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-DBbHZCg_.js → NumberControlBase.vue_vue_type_script_setup_true_lang-CSwuzJVa.js} +2 -2
  33. package/dist/{OneOfDropdown-BcqrG6U3.js → OneOfDropdown-Bg1JOuCZ.js} +1 -1
  34. package/dist/RadioButtonsWithDescriptionControl-Cmzn6X0W.js +57 -0
  35. package/dist/{RadioControl-BNB_hYVd.js → RadioControl-D4invwra.js} +2 -2
  36. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-C7JiVgxq.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-BIjtuTf7.js → RichTextControl-TbANBneT.js} +2059 -1991
  39. package/dist/{SectionHeading-CUxdd2GX.js → SectionHeading-DoNDREK2.js} +1 -1
  40. package/dist/{SectionLayout-NqTBT8Al.js → SectionLayout-Dsd4wFck.js} +3 -3
  41. package/dist/SettingsSubPanel-sQPONy-U.js +5 -0
  42. package/dist/{SettingsSubPanelLayout-Biu_QPw1.js → SettingsSubPanelLayout-DbYqmGOS.js} +7 -7
  43. package/dist/{SimpleButtonControl-B0cnKTy4.js → SimpleButtonControl-DhM4t6v3.js} +6 -6
  44. package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js +26176 -0
  45. package/dist/{SimpleTwinlistControl-BIIN8GzH.js → SimpleTwinlistControl-Chay0D48.js} +2 -2
  46. package/dist/{SingleSelectControl-GbRcLm19.js → SingleSelectControl-BRfqeLOh.js} +2 -2
  47. package/dist/{SingleSelectListBoxControl-DkRfB8oZ.js → SingleSelectListBoxControl-DyDspddM.js} +5 -5
  48. package/dist/{SortListControl-BTS1lJOo.js → SortListControl-DX0uhRfk.js} +104 -118
  49. package/dist/{StyledListItem-DBa0VNHX.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-DrABn8Uh.js → TextAreaControl-BCIrrOzR.js} +1 -1
  53. package/dist/{TextControl-CHyUjofE.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-B4oVEJCX.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-CiK7yseq.js → TwinlistControlBase--CFSodU_.js} +3 -3
  60. package/dist/{TwinlistLoadingInfo-x51VCOej.js → TwinlistLoadingInfo-aB5QCSFX.js} +18 -18
  61. package/dist/{TypedStringFilter-DC6B-Fds.js → TypedStringFilter-BjyKvhn1.js} +1 -1
  62. package/dist/{ValueSwitch-ChY5YK2o.js → ValueSwitch-DYxCMQ9c.js} +4 -4
  63. package/dist/{ValueSwitchControl-CJdAUIwq.js → ValueSwitchControl-CQkiPcwC.js} +1 -1
  64. package/dist/{VerticalLayout-DWbD5oCa.js → VerticalLayout-DygOb7L9.js} +2 -2
  65. package/dist/{VerticalLayoutBase-COwlULuo.js → VerticalLayoutBase-Dq_p4WmZ.js} +1 -1
  66. package/dist/{ZonedDateTimeControl-CLiwgCKR.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-84mBqaP3.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-LXk5i7aP.js → localTimeUtils-C7kma5fB.js} +3163 -3553
  76. package/dist/src/JsonFormsDialog.vue.d.ts +2 -2
  77. package/dist/src/constants/inputFormats.d.ts +14 -0
  78. package/dist/src/higherOrderComponents/control/DescriptionPopover.vue.d.ts +6 -0
  79. package/dist/src/higherOrderComponents/control/index.d.ts +1 -0
  80. package/dist/src/higherOrderComponents/control/withDescription.d.ts +2 -0
  81. package/dist/src/layoutComponents/index.d.ts +2 -1
  82. package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayout.vue.d.ts +74 -0
  83. package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayoutItemControls.vue.d.ts +16 -0
  84. package/dist/src/renderers/defaultRenderers.d.ts +152 -3
  85. package/dist/src/renderers/executorCoresResourceRenderer.d.ts +1 -0
  86. package/dist/src/renderers/executorMemoryResourceRenderer.d.ts +1 -0
  87. package/dist/src/renderers/fileUploadRenderer.d.ts +1 -0
  88. package/dist/src/renderers/gridSelectionRenderer.d.ts +1 -0
  89. package/dist/src/renderers/linkRenderer.d.ts +69 -0
  90. package/dist/src/renderers/passwordRenderer.d.ts +1 -0
  91. package/dist/src/renderers/quantityRenderer.d.ts +1 -0
  92. package/dist/src/renderers/radioWithDescriptionRenderer.d.ts +69 -0
  93. package/dist/src/renderers/simpleArrayLayoutRenderer.d.ts +76 -0
  94. package/dist/src/renderers/sortListRenderer.d.ts +1 -3
  95. package/dist/src/renderers/teamAndSpaceDropdownRenderer.d.ts +3 -0
  96. package/dist/src/renderers/teamResourceRenderer.d.ts +1 -0
  97. package/dist/src/renderers/timeframesRenderer.d.ts +4 -0
  98. package/dist/src/renderers/usernameRenderer.d.ts +1 -0
  99. package/dist/src/types/ChoicesUiSchema.d.ts +13 -1
  100. package/dist/src/uiComponents/DateControl.vue.d.ts +1 -1
  101. package/dist/src/uiComponents/DateTimeControl.vue.d.ts +1 -1
  102. package/dist/src/uiComponents/FileUploadControl.vue.d.ts +6 -0
  103. package/dist/src/uiComponents/GridSelectionControl.vue.d.ts +9 -0
  104. package/dist/src/uiComponents/LinkControl.vue.d.ts +4 -0
  105. package/dist/src/uiComponents/PasswordControl.vue.d.ts +4 -0
  106. package/dist/src/uiComponents/QuantityControl.vue.d.ts +4 -0
  107. package/dist/src/uiComponents/RadioButtonsWithDescriptionControl.vue.d.ts +4 -0
  108. package/dist/src/uiComponents/SortListControl.vue.d.ts +1 -3
  109. package/dist/src/uiComponents/TeamAndSpacesControl.vue.d.ts +4 -0
  110. package/dist/src/uiComponents/TimeControl.vue.d.ts +1 -1
  111. package/dist/src/uiComponents/TimeframesControl.vue.d.ts +8 -0
  112. package/dist/src/uiComponents/UsernameControl.vue.d.ts +4 -0
  113. package/dist/src/uiComponents/configs/executionContexts.config.d.ts +29 -0
  114. package/dist/src/uiComponents/loading/types/LoadingDropdownProps.d.ts +2 -2
  115. package/dist/src/uiComponents/resourceControls/ExecutorCoresControl.vue.d.ts +4 -0
  116. package/dist/src/uiComponents/resourceControls/ExecutorMemoryControl.vue.d.ts +4 -0
  117. package/dist/src/uiComponents/resourceControls/ResourceControlBase.vue.d.ts +19 -0
  118. package/dist/src/uiComponents/resourceControls/SmallDonutChart.vue.d.ts +20 -0
  119. package/dist/src/uiComponents/resourceControls/TeamResourceControl.vue.d.ts +4 -0
  120. package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +1 -3
  121. package/dist/testing.js +2602 -2589
  122. package/dist/toString-Bbm8o0hZ.js +25 -0
  123. package/dist/{useBuiltinValidations-BUVcN7lQ.js → useBuiltinValidations-zKGc6Pdt.js} +1 -1
  124. package/dist/useDropdownNavigation-EOwf_fL0.js +946 -0
  125. package/dist/{usePossibleValues-D16WFE9l.js → usePossibleValues-DhdKca4Z.js} +1 -1
  126. package/package.json +5 -5
  127. package/dist/DateTimeControl-DZjFx11V.js +0 -44
  128. package/dist/Label-Vxe-id5C.js +0 -218
  129. package/dist/LoadingDropdown.vue_vue_type_script_setup_true_lang-DGUZn4wH.js +0 -52
  130. package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CYe4TfJy.js +0 -25430
  131. package/dist/SettingsSubPanel-CO7Sguho.js +0 -5
  132. package/dist/TextControl.vue_vue_type_script_setup_true_lang-yTQu10VH.js +0 -45
  133. package/dist/_baseIteratee-CBFfQfHB.js +0 -640
  134. package/dist/floating-ui.vue-Fx4CxKut.js +0 -1057
  135. package/dist/toString-gvdOTqCo.js +0 -25
  136. package/dist/useDropdownNavigation-2Yhk7zes.js +0 -821
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as s, toRef as i, openBlock as l, createBlock as a, mergeProps as r, unref as p } from "vue";
2
- import { u as c } from "./usePossibleValues-D16WFE9l.js";
3
- import { T as u } from "./TwinlistControlBase-CiK7yseq.js";
2
+ import { u as c } from "./usePossibleValues-DhdKca4Z.js";
3
+ import { T as u } from "./TwinlistControlBase--CFSodU_.js";
4
4
  const h = /* @__PURE__ */ s({
5
5
  __name: "SimpleTwinlistControl",
6
6
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as x, computed as c, toRef as y, openBlock as _, createBlock as v } from "vue";
2
- import { u as $ } from "./usePossibleValues-D16WFE9l.js";
3
- import { _ as F } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-DGUZn4wH.js";
2
+ import { u as $ } from "./usePossibleValues-DhdKca4Z.js";
3
+ import { _ as F } from "./LoadingDropdown.vue_vue_type_script_setup_true_lang-C2sH3IaG.js";
4
4
  const i = "__special__", a = "__regular__", P = /* @__PURE__ */ x({
5
5
  __name: "SingleSelectControl",
6
6
  props: {
@@ -1,7 +1,7 @@
1
1
  import { resolveComponent as x, openBlock as a, createElementBlock as c, normalizeClass as u, createElementVNode as V, normalizeStyle as h, Fragment as p, renderList as y, createBlock as f, defineComponent as I, toRef as g, unref as o, createCommentVNode as v } from "vue";
2
- import { u as S } from "./usePossibleValues-D16WFE9l.js";
3
- import { S as C } from "./StyledListItem-DBa0VNHX.js";
4
- import { _ as L, O as B } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CYe4TfJy.js";
2
+ import { u as S } from "./usePossibleValues-DhdKca4Z.js";
3
+ import { S as C } from "./StyledListItem-B_FaDixp.js";
4
+ import { _ as L, Q as B } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
5
5
  const w = 40, H = 38, T = 36, K = 35, k = {
6
6
  name: "ListBox",
7
7
  components: {
@@ -201,7 +201,7 @@ function z(e, t, l, n, d, s) {
201
201
  ], 44, D)
202
202
  ], 2);
203
203
  }
204
- const A = /* @__PURE__ */ L(k, [["render", z], ["__scopeId", "data-v-a437d16b"]]), O = /* @__PURE__ */ I({
204
+ const A = /* @__PURE__ */ L(k, [["render", z], ["__scopeId", "data-v-a437d16b"]]), N = /* @__PURE__ */ I({
205
205
  __name: "SingleSelectListBoxControl",
206
206
  props: {
207
207
  control: {},
@@ -228,5 +228,5 @@ const A = /* @__PURE__ */ L(k, [["render", z], ["__scopeId", "data-v-a437d16b"]]
228
228
  }
229
229
  });
230
230
  export {
231
- O as default
231
+ N as default
232
232
  };
@@ -1,11 +1,12 @@
1
- import { openBlock as V, createElementBlock as y, createElementVNode as g, defineComponent as Z, computed as b, ref as T, watch as j, Fragment as U, createVNode as c, withKeys as B, withModifiers as E, unref as d, withCtx as h, renderSlot as N, normalizeProps as ie, guardReactiveProps as re, nextTick as ue, onMounted as ce, createSlots as de, normalizeClass as W, toDisplayString as P, createBlock as me, createCommentVNode as pe } from "vue";
2
- import { J as M, _ as J, u as ve, x as F, L as fe, E as we, a0 as z } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CYe4TfJy.js";
3
- import { i as be } from "./navigator-e30QQMkl.js";
4
- import { M as he } from "./MultiselectListBox-DijeK4wH.js";
5
- import { h as ge, b as Ve } from "./_baseIteratee-CBFfQfHB.js";
6
- import { b as xe } from "./_baseEach-84mBqaP3.js";
7
- import { i as ye } from "./toString-gvdOTqCo.js";
8
- import { c as ke } from "./createMissingItem-B00Kg95q.js";
1
+ import { openBlock as V, createElementBlock as x, createElementVNode as g, defineComponent as H, computed as b, ref as N, watch as Z, Fragment as U, createVNode as c, withKeys as B, withModifiers as E, unref as d, withCtx as h, renderSlot as T, normalizeProps as se, guardReactiveProps as ie, nextTick as re, onMounted as ue, createSlots as ce, normalizeClass as j, toDisplayString as z, createBlock as de, createCommentVNode as me } from "vue";
2
+ import { N as M, _ as W, u as pe, y as F, L as ve, E as fe, a3 as P } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
+ import { i as we } from "./navigator-e30QQMkl.js";
4
+ import { M as be } from "./MultiselectListBox-BJqQv0AT.js";
5
+ import { b as he } from "./_baseAssignValue-CG1hoqdJ.js";
6
+ import { b as ge } from "./_baseEach-LxtQB6N-.js";
7
+ import { b as Ve } from "./_baseIteratee-BBGehgFZ.js";
8
+ import { i as ke } from "./isArray-WzO_os3q.js";
9
+ import { c as xe } from "./createMissingItem-B00Kg95q.js";
9
10
  const O = {
10
11
  ArrowUp: "↑",
11
12
  ArrowDown: "↓",
@@ -15,7 +16,7 @@ const O = {
15
16
  " ": "Space",
16
17
  // we use event.key and there space is an actual space not the code "Space"
17
18
  CtrlOrCmd: "Ctrl"
18
- }, _e = {
19
+ }, ye = {
19
20
  Shift: "⇧",
20
21
  Delete: "⌫",
21
22
  CtrlOrCmd: "⌘",
@@ -23,113 +24,98 @@ const O = {
23
24
  Alt: "⌥",
24
25
  Enter: "↩"
25
26
  }, Y = (e) => {
26
- const t = (u) => (i) => u[i] ?? i, l = ((...u) => u.reduce((i, p) => (k) => p(i(k))))(
27
- t(_e),
27
+ const t = (u) => (i) => u[i] ?? i, l = ((...u) => u.reduce((i, p) => (y) => p(i(y))))(
28
+ t(ye),
28
29
  t(O)
29
30
  ), a = t(O);
30
- return be() ? l(e) : a(e);
31
+ return we() ? l(e) : a(e);
31
32
  }, q = () => " ", Se = (e, t = q) => e.map(Y).join(t()), Ae = { formatHotkeys: Se, formatHotkey: Y, getDefaultSeparator: q };
32
- var R = (function() {
33
- try {
34
- var e = ge(Object, "defineProperty");
35
- return e({}, "", {}), e;
36
- } catch {
37
- }
38
- })();
39
- function Ce(e, t, n, l) {
33
+ function _e(e, t, n, l) {
40
34
  for (var a = e.length, u = n + -1; ++u < a; )
41
35
  if (t(e[u], u, e))
42
36
  return u;
43
37
  return -1;
44
38
  }
45
- function Le(e) {
39
+ function Ce(e) {
46
40
  return e !== e;
47
41
  }
48
- function Be(e, t, n) {
42
+ function Le(e, t, n) {
49
43
  for (var l = n - 1, a = e.length; ++l < a; )
50
44
  if (e[l] === t)
51
45
  return l;
52
46
  return -1;
53
47
  }
54
- function Ee(e, t, n) {
55
- return t === t ? Be(e, t, n) : Ce(e, Le, n);
56
- }
57
- function Me(e, t, n) {
58
- t == "__proto__" && R ? R(e, t, {
59
- configurable: !0,
60
- enumerable: !0,
61
- value: n,
62
- writable: !0
63
- }) : e[t] = n;
48
+ function Be(e, t, n) {
49
+ return t === t ? Le(e, t, n) : _e(e, Ce, n);
64
50
  }
65
- function Ue(e, t, n, l) {
51
+ function Ee(e, t, n, l) {
66
52
  for (var a = -1, u = e == null ? 0 : e.length; ++a < u; ) {
67
53
  var i = e[a];
68
54
  t(l, i, n(i), e);
69
55
  }
70
56
  return l;
71
57
  }
72
- function $e(e, t, n, l) {
73
- return xe(e, function(a, u, i) {
58
+ function Me(e, t, n, l) {
59
+ return ge(e, function(a, u, i) {
74
60
  t(l, a, n(a), i);
75
61
  }), l;
76
62
  }
77
63
  function G(e, t) {
78
64
  return function(n, l) {
79
- var a = ye(n) ? Ue : $e, u = t ? t() : {};
65
+ var a = ke(n) ? Ee : Me, u = t ? t() : {};
80
66
  return a(n, e, Ve(l), u);
81
67
  };
82
68
  }
83
- function Q(e, t, n) {
69
+ function J(e, t, n) {
84
70
  var l = e == null ? 0 : e.length;
85
71
  if (!l)
86
72
  return -1;
87
73
  var a = 0;
88
- return Ee(e, t, a);
74
+ return Be(e, t, a);
89
75
  }
90
- var Ie = G(function(e, t, n) {
91
- Me(e, n, t);
92
- }), Fe = G(function(e, t, n) {
76
+ var Ue = G(function(e, t, n) {
77
+ he(e, n, t);
78
+ }), $e = G(function(e, t, n) {
93
79
  e[n ? 0 : 1].push(t);
94
80
  }, function() {
95
81
  return [[], []];
96
82
  });
97
- const Te = {
83
+ const Ie = {
98
84
  xmlns: "http://www.w3.org/2000/svg",
99
85
  fill: "none",
100
86
  stroke: "#000",
101
87
  "stroke-linejoin": "round",
102
88
  viewBox: "0 0 32 32"
103
89
  };
104
- function Ne(e, t) {
105
- return V(), y("svg", Te, [...t[0] || (t[0] = [
90
+ function Fe(e, t) {
91
+ return V(), x("svg", Ie, [...t[0] || (t[0] = [
106
92
  g("path", { d: "m27 17.1-11 11-11-11m11 11V3.9" }, null, -1)
107
93
  ])]);
108
94
  }
109
- const De = { render: Ne }, Ke = {
95
+ const Ne = { render: Fe }, Te = {
110
96
  xmlns: "http://www.w3.org/2000/svg",
111
97
  fill: "none",
112
98
  stroke: "#000",
113
99
  viewBox: "0 0 32 32"
114
100
  };
115
- function Pe(e, t) {
116
- return V(), y("svg", Ke, [...t[0] || (t[0] = [
101
+ function De(e, t) {
102
+ return V(), x("svg", Te, [...t[0] || (t[0] = [
117
103
  g("path", { d: "M23.4 13.4 16 20.8l-7.4-7.4m7.4 7.4V4.5m12.5 23h-25" }, null, -1)
118
104
  ])]);
119
105
  }
120
- const H = { render: Pe }, ze = {
106
+ const R = { render: De }, Ke = {
121
107
  xmlns: "http://www.w3.org/2000/svg",
122
108
  fill: "none",
123
109
  stroke: "#000",
124
110
  "stroke-linejoin": "round",
125
111
  viewBox: "0 0 32 32"
126
112
  };
127
- function Oe(e, t) {
128
- return V(), y("svg", ze, [...t[0] || (t[0] = [
113
+ function ze(e, t) {
114
+ return V(), x("svg", Ke, [...t[0] || (t[0] = [
129
115
  g("path", { d: "m5 14.9 11-11 11 11m-11-11v24.2" }, null, -1)
130
116
  ])]);
131
117
  }
132
- const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
118
+ const Pe = { render: ze }, Oe = { class: "buttons" }, Re = /* @__PURE__ */ H({
133
119
  __name: "SortList",
134
120
  props: {
135
121
  modelValue: {},
@@ -140,46 +126,46 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
140
126
  },
141
127
  emits: ["update:modelValue"],
142
128
  setup(e, { emit: t }) {
143
- const n = e, l = t, a = b(() => Ie(n.possibleValues, "id")), u = b(
129
+ const n = e, l = t, a = b(() => Ue(n.possibleValues, "id")), u = b(
144
130
  () => n.modelValue.map(
145
- (o) => a.value[o] ?? ke(o)
131
+ (o) => a.value[o] ?? xe(o)
146
132
  )
147
- ), i = T([]);
148
- j(
133
+ ), i = N([]);
134
+ Z(
149
135
  () => n.modelValue,
150
136
  (o) => {
151
137
  const r = new Set(o);
152
138
  i.value = i.value.filter((s) => r.has(s));
153
139
  }
154
140
  );
155
- const p = b(() => i.value.length === 0), k = (o, r, s) => [
141
+ const p = b(() => i.value.length === 0), y = (o, r, s) => [
156
142
  o.slice(0, r),
157
143
  o.slice(r, s),
158
144
  o.slice(s)
159
145
  ], C = (o) => {
160
146
  let r = 0;
161
147
  return (s) => o(s, r++);
162
- }, $ = (o, r) => Fe(
148
+ }, $ = (o, r) => $e(
163
149
  o,
164
150
  C((s, w) => r(w))
165
- ), x = T(null), L = (o) => ({ to: r } = {}) => {
166
- const s = i.value.map((A) => Q(n.modelValue, A)).sort((A, se) => A - se), w = (o === "up" ? r : null) ?? Math.max(s[0] - 1, 0), I = (o === "down" ? r : null) ?? s[s.length - 1] + 1, [X, ee, te] = k(
151
+ ), k = N(null), L = (o) => ({ to: r } = {}) => {
152
+ const s = i.value.map((_) => J(n.modelValue, _)).sort((_, ae) => _ - ae), w = (o === "up" ? r : null) ?? Math.max(s[0] - 1, 0), I = (o === "down" ? r : null) ?? s[s.length - 1] + 1, [Q, X, ee] = y(
167
153
  n.modelValue,
168
154
  w,
169
155
  I + 1
170
- ), ne = new Set(s), [D, K] = $(
171
- ee,
172
- (A) => ne.has(A + w)
173
- ), [oe, le] = o === "up" ? [D, K] : [K, D], ae = X.concat(oe, le, te);
174
- l("update:modelValue", ae), ue(() => {
175
- o === "up" ? (x.value?.scrollUpIntoView(w - 1), x.value?.setCurrentKeyNavIndex(w)) : (x.value?.scrollDownIntoView(I + 1), x.value?.setCurrentKeyNavIndex(I));
156
+ ), te = new Set(s), [D, K] = $(
157
+ X,
158
+ (_) => te.has(_ + w)
159
+ ), [ne, oe] = o === "up" ? [D, K] : [K, D], le = Q.concat(ne, oe, ee);
160
+ l("update:modelValue", le), re(() => {
161
+ o === "up" ? (k.value?.scrollUpIntoView(w - 1), k.value?.setCurrentKeyNavIndex(w)) : (k.value?.scrollDownIntoView(I + 1), k.value?.setCurrentKeyNavIndex(I));
176
162
  });
177
- }, _ = L("up"), S = L("down"), m = () => _({ to: 0 }), v = () => S({ to: n.modelValue.length }), f = (o, r) => `${o} (${Ae.formatHotkeys(r)})`;
178
- return (o, r) => (V(), y(U, null, [
179
- c(he, {
163
+ }, S = L("up"), A = L("down"), m = () => S({ to: 0 }), v = () => A({ to: n.modelValue.length }), f = (o, r) => `${o} (${Ae.formatHotkeys(r)})`;
164
+ return (o, r) => (V(), x(U, null, [
165
+ c(be, {
180
166
  id: e.id,
181
167
  ref_key: "listBox",
182
- ref: x,
168
+ ref: k,
183
169
  modelValue: i.value,
184
170
  "onUpdate:modelValue": r[0] || (r[0] = (s) => i.value = s),
185
171
  "possible-values": u.value,
@@ -188,18 +174,18 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
188
174
  "empty-state-label": "Empty",
189
175
  size: 10,
190
176
  onKeydown: [
191
- B(E(d(S), ["alt"]), ["down"]),
192
- B(E(d(_), ["alt"]), ["up"]),
177
+ B(E(d(A), ["alt"]), ["down"]),
178
+ B(E(d(S), ["alt"]), ["up"]),
193
179
  B(E(m, ["alt"]), ["home"]),
194
180
  B(E(v, ["alt"]), ["end"])
195
181
  ]
196
182
  }, {
197
183
  option: h((s) => [
198
- N(o.$slots, "option", ie(re(s)), void 0, !0)
184
+ T(o.$slots, "option", se(ie(s)), void 0, !0)
199
185
  ]),
200
186
  _: 3
201
187
  }, 8, ["id", "modelValue", "possible-values", "ariaLabel", "onKeydown"]),
202
- g("div", He, [
188
+ g("div", Oe, [
203
189
  c(M, {
204
190
  disabled: p.value,
205
191
  title: f("Move to top", ["Alt", "Home"]),
@@ -207,7 +193,7 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
207
193
  onClick: m
208
194
  }, {
209
195
  default: h(() => [
210
- c(d(H), { class: "rotated" })
196
+ c(d(R), { class: "rotated" })
211
197
  ]),
212
198
  _: 1
213
199
  }, 8, ["disabled", "title"]),
@@ -218,7 +204,7 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
218
204
  onClick: v
219
205
  }, {
220
206
  default: h(() => [
221
- c(d(H))
207
+ c(d(R))
222
208
  ]),
223
209
  _: 1
224
210
  }, 8, ["disabled", "title"]),
@@ -226,10 +212,10 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
226
212
  disabled: p.value,
227
213
  title: f("Move up", ["Alt", "ArrowUp"]),
228
214
  compact: "",
229
- onClick: d(_)
215
+ onClick: d(S)
230
216
  }, {
231
217
  default: h(() => [
232
- c(d(Re))
218
+ c(d(Pe))
233
219
  ]),
234
220
  _: 1
235
221
  }, 8, ["disabled", "title", "onClick"]),
@@ -237,19 +223,19 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
237
223
  disabled: p.value,
238
224
  title: f("Move down", ["Alt", "ArrowDown"]),
239
225
  compact: "",
240
- onClick: d(S)
226
+ onClick: d(A)
241
227
  }, {
242
228
  default: h(() => [
243
- c(d(De))
229
+ c(d(Ne))
244
230
  ]),
245
231
  _: 1
246
232
  }, 8, ["disabled", "title", "onClick"])
247
233
  ])
248
234
  ], 64));
249
235
  }
250
- }), je = /* @__PURE__ */ J(Ze, [["__scopeId", "data-v-a05c0d25"]]), We = {
251
- class: /* @__PURE__ */ W(["flex", "space-between"])
252
- }, Je = { class: "flex" }, Ye = "<any unknown new column>", qe = /* @__PURE__ */ Z({
236
+ }), He = /* @__PURE__ */ W(Re, [["__scopeId", "data-v-a05c0d25"]]), Ze = {
237
+ class: /* @__PURE__ */ j(["flex", "space-between"])
238
+ }, je = { class: "flex" }, We = "<any unknown new column>", Ye = /* @__PURE__ */ H({
253
239
  __name: "SortListControl",
254
240
  props: {
255
241
  control: {},
@@ -265,16 +251,16 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
265
251
  const t = e, n = b(() => t.control.data), l = b(
266
252
  () => t.control.uischema
267
253
  ), a = b(
268
- () => l.value.options?.unknownElementId ?? Ye
254
+ () => l.value.options?.unknownElementId ?? We
269
255
  ), u = b(
270
256
  () => l.value.options?.unknownElementLabel ?? "Any unknown column"
271
257
  ), i = b(
272
258
  () => l.value.options?.resetSortButtonLabel ?? "Reset all"
273
- ), p = ve(
259
+ ), p = pe(
274
260
  l,
275
261
  "possibleValues",
276
262
  []
277
- ), k = b(
263
+ ), y = b(
278
264
  () => p.value.concat({
279
265
  id: a.value,
280
266
  text: u.value,
@@ -282,10 +268,10 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
282
268
  })
283
269
  ), C = (m) => {
284
270
  if (n.value.length === 0) {
285
- _();
271
+ S();
286
272
  return;
287
273
  }
288
- const v = Q(n.value, a.value);
274
+ const v = J(n.value, a.value);
289
275
  if (v === -1)
290
276
  throw new Error(
291
277
  `SortList data have to contain the value "${a.value}"`
@@ -293,28 +279,28 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
293
279
  const f = n.value.slice(0, v + 1), o = n.value.slice(v + 1), r = new Set(n.value), s = m.map(({ id: w }) => w).filter((w) => !r.has(w));
294
280
  s.length > 0 && t.changeValue(f.concat(s, o));
295
281
  };
296
- ce(() => {
282
+ ue(() => {
297
283
  C(p.value);
298
284
  });
299
285
  const $ = b(
300
286
  () => !!p.value?.[0]?.hasOwnProperty("type")
301
287
  );
302
- j(() => p.value, C);
303
- const x = () => {
288
+ Z(() => p.value, C);
289
+ const k = () => {
304
290
  t.changeValue(n.value.toSorted((m, v) => m.localeCompare(v)));
305
291
  }, L = () => {
306
292
  t.changeValue(n.value.toSorted((m, v) => v.localeCompare(m)));
307
- }, _ = () => {
308
- t.changeValue(k.value.map(({ id: m }) => m));
309
- }, S = T(null);
310
- return (m, v) => (V(), y(U, null, [
311
- g("div", We, [
312
- g("div", Je, [
293
+ }, S = () => {
294
+ t.changeValue(y.value.map(({ id: m }) => m));
295
+ }, A = N(null);
296
+ return (m, v) => (V(), x(U, null, [
297
+ g("div", Ze, [
298
+ g("div", je, [
313
299
  c(d(F), {
314
300
  variant: "outlined",
315
301
  size: "small",
316
302
  label: "A - Z",
317
- onClick: x
303
+ onClick: k
318
304
  }),
319
305
  c(d(F), {
320
306
  variant: "outlined",
@@ -327,33 +313,33 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
327
313
  variant: "outlined",
328
314
  size: "small",
329
315
  label: i.value,
330
- onClick: _
316
+ onClick: S
331
317
  }, null, 8, ["label"])
332
318
  ]),
333
- c(fe, {
319
+ c(ve, {
334
320
  label: e.control.label,
335
321
  onControllingFlowVariableSet: e.changeValue
336
322
  }, {
337
323
  default: h(({ labelForId: f }) => [
338
- c(we, {
324
+ c(fe, {
339
325
  errors: e.messages.errors
340
326
  }, {
341
327
  default: h(() => [
342
- c(d(je), {
328
+ c(d(He), {
343
329
  id: f ?? void 0,
344
330
  ref_key: "controlElement",
345
- ref: S,
346
- "possible-values": k.value,
331
+ ref: A,
332
+ "possible-values": y.value,
347
333
  "model-value": n.value,
348
334
  ariaLabel: e.control.label,
349
335
  disabled: e.disabled,
350
336
  "onUpdate:modelValue": e.changeValue
351
- }, de({ _: 2 }, [
337
+ }, ce({ _: 2 }, [
352
338
  $.value ? {
353
339
  name: "option",
354
340
  fn: h(({ slotItem: o }) => [
355
341
  g("div", {
356
- class: W([
342
+ class: j([
357
343
  "data-type-entry",
358
344
  {
359
345
  invalid: o.invalid,
@@ -362,17 +348,17 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
362
348
  }
363
349
  ])
364
350
  }, [
365
- o.invalid ? (V(), y(U, { key: 0 }, [
366
- c(d(z), { size: "small" }),
367
- g("span", null, P(o.text), 1)
368
- ], 64)) : (V(), y(U, { key: 1 }, [
369
- o.type?.id ? (V(), me(d(z), {
351
+ o.invalid ? (V(), x(U, { key: 0 }, [
352
+ c(d(P), { size: "small" }),
353
+ g("span", null, z(o.text), 1)
354
+ ], 64)) : (V(), x(U, { key: 1 }, [
355
+ o.type?.id ? (V(), de(d(P), {
370
356
  key: 0,
371
357
  "icon-name": o.type.id,
372
358
  "icon-title": o.type.text,
373
359
  size: "small"
374
- }, null, 8, ["icon-name", "icon-title"])) : pe("", !0),
375
- g("span", null, P(o.text), 1)
360
+ }, null, 8, ["icon-name", "icon-title"])) : me("", !0),
361
+ g("span", null, z(o.text), 1)
376
362
  ], 64))
377
363
  ], 2)
378
364
  ]),
@@ -384,20 +370,20 @@ const Re = { render: Oe }, He = { class: "buttons" }, Ze = /* @__PURE__ */ Z({
384
370
  }, 1032, ["errors"])
385
371
  ]),
386
372
  icon: h(() => [
387
- N(m.$slots, "icon", {}, void 0, !0)
373
+ T(m.$slots, "icon", {}, void 0, !0)
388
374
  ]),
389
375
  buttons: h(({ hover: f }) => [
390
- N(m.$slots, "buttons", {
376
+ T(m.$slots, "buttons", {
391
377
  hover: f,
392
- controlHTMLElement: S.value
378
+ controlHTMLElement: A.value
393
379
  }, void 0, !0)
394
380
  ]),
395
381
  _: 3
396
382
  }, 8, ["label", "onControllingFlowVariableSet"])
397
383
  ], 64));
398
384
  }
399
- }), at = /* @__PURE__ */ J(qe, [["__scopeId", "data-v-5d998b47"]]);
385
+ }), lt = /* @__PURE__ */ W(Ye, [["__scopeId", "data-v-5d998b47"]]);
400
386
  export {
401
- Ye as DEFAULT_ANY_UNKNOWN_VALUES_ID,
402
- at as default
387
+ We as DEFAULT_ANY_UNKNOWN_VALUES_ID,
388
+ lt as default
403
389
  };
@@ -1,5 +1,5 @@
1
1
  import { openBlock as s, createElementBlock as n, mergeProps as d, withModifiers as o, renderSlot as a, createTextVNode as m, toDisplayString as f } from "vue";
2
- import { _ as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CYe4TfJy.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: "StyledListItem",
5
5
  props: {
@@ -0,0 +1,64 @@
1
+ import { defineComponent as T, ref as r, computed as l, openBlock as I, createElementBlock as y, createElementVNode as m, createVNode as v, unref as b } from "vue";
2
+ import { a1 as V, _ as C } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
+ const B = { class: "team-and-space" }, F = { class: "team" }, N = { class: "space" }, x = /* @__PURE__ */ T({
4
+ __name: "TeamAndSpacesControl",
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(d) {
15
+ const o = d, n = r(""), a = r(""), f = l(
16
+ () => o.control.uischema
17
+ ), u = l(() => f.value.options), i = l(() => u.value?.possibleTeams ?? []), p = l(() => u.value?.possibleSpaces ?? []), c = l(
18
+ () => p.value.find(({ id: s }) => s === n.value)?.spaces ?? []
19
+ ), h = l(() => !o.control.enabled || i.value.length === 0), _ = l(() => !o.control.enabled || c.value.length === 0), g = () => {
20
+ if (o.control.data) {
21
+ a.value = o.control.data;
22
+ const s = p.value.find(
23
+ ({ spaces: e }) => e.some(({ id: t }) => t === a.value)
24
+ );
25
+ s && (n.value = s.id);
26
+ }
27
+ }, S = () => {
28
+ a.value = c.value[0]?.id ?? "", o.changeValue(a.value);
29
+ };
30
+ return g(), (s, e) => (I(), y("div", B, [
31
+ m("div", F, [
32
+ v(b(V), {
33
+ modelValue: n.value,
34
+ "onUpdate:modelValue": [
35
+ e[0] || (e[0] = (t) => n.value = t),
36
+ S
37
+ ],
38
+ label: "Team",
39
+ "aria-label": "account-id",
40
+ disabled: h.value,
41
+ "possible-values": i.value,
42
+ placeholder: "No team selected"
43
+ }, null, 8, ["modelValue", "disabled", "possible-values"])
44
+ ]),
45
+ m("div", N, [
46
+ v(b(V), {
47
+ modelValue: a.value,
48
+ "onUpdate:modelValue": [
49
+ e[1] || (e[1] = (t) => a.value = t),
50
+ e[2] || (e[2] = () => d.changeValue(a.value))
51
+ ],
52
+ label: "Space",
53
+ "aria-label": "space-id",
54
+ disabled: _.value,
55
+ "possible-values": c.value,
56
+ placeholder: "No space selected"
57
+ }, null, 8, ["modelValue", "disabled", "possible-values"])
58
+ ])
59
+ ]));
60
+ }
61
+ }), D = /* @__PURE__ */ C(x, [["__scopeId", "data-v-c51d9a0e"]]);
62
+ export {
63
+ D as default
64
+ };
@@ -0,0 +1,38 @@
1
+ import { defineComponent as l, computed as t, openBlock as d, createBlock as u, normalizeProps as p, guardReactiveProps as m, withCtx as _, createElementVNode as e, toDisplayString as n } from "vue";
2
+ import { R as h } from "./ResourceControlBase-BCx6cBBz.js";
3
+ import { _ as f } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
4
+ const v = { class: "info-container" }, x = { class: "chart-title" }, g = { class: "chart-description" }, y = /* @__PURE__ */ l({
5
+ __name: "TeamResourceControl",
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(a) {
16
+ const o = a, c = t(
17
+ () => o.control.uischema.options?.donutTitle || ""
18
+ ), s = t(
19
+ () => o.control.uischema.options?.donutText || ""
20
+ ), r = t(
21
+ () => o.control.uischema.options?.currentUsage ?? 0
22
+ ), i = t(
23
+ () => o.control.data === -1 ? "unlimited" : o.control.data
24
+ );
25
+ return (C, R) => (d(), u(h, p(m(o)), {
26
+ "donut-info": _(() => [
27
+ e("div", v, [
28
+ e("div", x, n(c.value), 1),
29
+ e("div", g, n(`${r.value} of ${i.value} ${s.value}`), 1)
30
+ ])
31
+ ]),
32
+ _: 1
33
+ }, 16));
34
+ }
35
+ }), V = /* @__PURE__ */ f(y, [["__scopeId", "data-v-2658cbca"]]);
36
+ export {
37
+ V as default
38
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, openBlock as a, createBlock as l, unref as n } from "vue";
2
- import { ak as t } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-CYe4TfJy.js";
2
+ import { ar as t } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DAdzHTim.js";
3
3
  const u = /* @__PURE__ */ o({
4
4
  __name: "TextAreaControl",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./TextControl.vue_vue_type_script_setup_true_lang-yTQu10VH.js";
1
+ import { _ as f } from "./TextControl.vue_vue_type_script_setup_true_lang-CuCBV4pA.js";
2
2
  export {
3
3
  f as default
4
4
  };