@knime/jsonforms 1.14.2 → 1.15.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 (165) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/{AnyOfTwinlist-Cwxtyt0Q.js → AnyOfTwinlist-Co_sJAsc.js} +3 -3
  3. package/dist/{Button-BxuGKyL5.js → Button-Cqwayw73.js} +4 -4
  4. package/dist/CheckboxControl-C10_DX1N.js +40 -0
  5. package/dist/{Checkboxes-DIPjJhPO.js → Checkboxes-DWOxHiUX.js} +2 -2
  6. package/dist/{CheckboxesControl-5QlPmjwv.js → CheckboxesControl-BMRFgmO_.js} +7 -10
  7. package/dist/{ComboBoxControl-Dk02x7sN.js → ComboBoxControl-R0DlbAdT.js} +26 -29
  8. package/dist/{DateControl-CddCObVg.js → DateControl-DAGAM92B.js} +3 -3
  9. package/dist/DateTimeControl-DJhIb_U4.js +45 -0
  10. package/dist/{DateTimeFormatInput-bO1zHUyp.js → DateTimeFormatInput-BhLQzC-P.js} +74 -82
  11. package/dist/{DateTimeFormatPickerControl-Dq25_JV2.js → DateTimeFormatPickerControl-V7pxRYaW.js} +5 -8
  12. package/dist/{DateTimeFormatPickerWithTypeControl-DZib_x-B.js → DateTimeFormatPickerWithTypeControl-3fa75rGw.js} +6 -9
  13. package/dist/{DateTimeInput-CEYEV8dt.js → DateTimeInput-Cs0KqlOS.js} +4629 -4556
  14. package/dist/Dropdown-BEx-cvXH.js +608 -0
  15. package/dist/{DropdownControl-BNQKWzTT.js → DropdownControl-DEIA5VD4.js} +4 -4
  16. package/dist/{HorizontalLayout-6GwurgkR.js → HorizontalLayout-DCfhMNq4.js} +2 -2
  17. package/dist/{InputField-BYxW_-G3.js → InputField-OkFB9VHZ.js} +11 -11
  18. package/dist/{IntegerControl-DZIY-wb_.js → IntegerControl-Om8J7hch.js} +3 -3
  19. package/dist/{IntervalControl-Yts36_MI.js → IntervalControl-B7UbyyD-.js} +99 -100
  20. package/dist/{LoadingDropdown-Dw-0WQ8x.js → LoadingDropdown-CINkq_Sw.js} +6 -6
  21. package/dist/{ManualTwinlistControl-C3NnAug1.js → ManualTwinlistControl-BLTfr2gT.js} +24 -30
  22. package/dist/MultiSelectListBoxControl-j1TaFtQj.js +31 -0
  23. package/dist/{MultimodeTwinlistControl-B2Jven29.js → MultimodeTwinlistControl-BsFqHRFM.js} +97 -108
  24. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_37fe7036_lang-DGKMWtLi.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_37fe7036_lang-2fVBipAl.js} +1 -1
  25. package/dist/{MultiselectListBox-CHvGxAhY.js → MultiselectListBox-CMTJnAWr.js} +18 -23
  26. package/dist/{NameFilter-D0hKO5Fr.js → NameFilter-d5k6rDVY.js} +3 -3
  27. package/dist/{NumberControl-DkeQT1iR.js → NumberControl-Kc3hvVef.js} +3 -3
  28. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-BOCR1qXG.js +50 -0
  29. package/dist/{NumberInput-DJ38AGiR.js → NumberInput-BepS3tAK.js} +5 -5
  30. package/dist/{OneOfDropdown-NAgE-mPP.js → OneOfDropdown-CLwVXrbC.js} +10 -11
  31. package/dist/{RadioControl-DjrysNQ_.js → RadioControl-DpziR8nA.js} +4 -4
  32. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-DVIeg5W1.js +104 -0
  33. package/dist/{RichTextControl-CXY1ULxR.js → RichTextControl-CE6whfV5.js} +4524 -4079
  34. package/dist/SectionHeading-D7znCZXu.js +19 -0
  35. package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js +15431 -0
  36. package/dist/{SectionLayout-CJP4sYyB.js → SectionLayout-BhXDOzqB.js} +4 -4
  37. package/dist/SettingsSubPanel-x9uWGoiu.js +5 -0
  38. package/dist/{SettingsSubPanelLayout-YBNVPQOD.js → SettingsSubPanelLayout-BPHBM5n5.js} +12 -11
  39. package/dist/{SimpleButtonControl-ejyUwJdL.js → SimpleButtonControl-DfCSlgZS.js} +9 -9
  40. package/dist/SimpleTwinlistControl-CBalniCf.js +25 -0
  41. package/dist/{SingleSelectControl-B0JgDv7j.js → SingleSelectControl-DC4w0ata.js} +4 -4
  42. package/dist/{SingleSelectListBoxControl-ClQOxnxW.js → SingleSelectListBoxControl-CKj-p8jZ.js} +33 -36
  43. package/dist/{SortListControl-mvJofiWn.js → SortListControl-BIUyPjCi.js} +122 -120
  44. package/dist/{StyledListItem-BXz08pEQ.js → StyledListItem-D-HJWfo5.js} +3 -3
  45. package/dist/{TextAreaControl-S4aoqAv1.js → TextAreaControl-D28TQZEY.js} +23 -26
  46. package/dist/{TextControl-rJrjrBw8.js → TextControl-DUDBWcHy.js} +1 -1
  47. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Bf6GB1zX.js → TextControl.vue_vue_type_script_setup_true_lang-DpAd3yOu.js} +16 -19
  48. package/dist/TimeControl-HRooO_z3.js +36 -0
  49. package/dist/{TwinlistControlBase-D1l9t7Up.js → TwinlistControlBase-Brfh5pqZ.js} +5 -5
  50. package/dist/{TwinlistLoadingInfo-CQRx9cEu.js → TwinlistLoadingInfo-C4Tta00d.js} +150 -167
  51. package/dist/TypedStringFilter-CdvgPKhD.js +26 -0
  52. package/dist/{ValueSwitch-CUYV7v67.js → ValueSwitch-W4y1YvNM.js} +8 -8
  53. package/dist/{ValueSwitchControl-IP9SxrUs.js → ValueSwitchControl-BaXH8Cjx.js} +3 -3
  54. package/dist/{VerticalLayout-D2eQSYgv.js → VerticalLayout-ChAmRKNj.js} +5 -5
  55. package/dist/VerticalLayoutBase-DAk4vfH5.js +20 -0
  56. package/dist/ZonedDateTimeControl-Qb57KmMT.js +69 -0
  57. package/dist/{_baseEach-cjHvi5iT.js → _baseEach-DdH9cM67.js} +4 -4
  58. package/dist/{_baseIteratee-CIxt0KWU.js → _baseIteratee-BGt-t7Os.js} +27 -27
  59. package/dist/{_getTag-sLUyzSDj.js → _getTag-DAFySze4.js} +10 -10
  60. package/dist/{arrow-dropdown-DdgjzLAO.js → arrow-dropdown-BAFsD8Su.js} +2 -2
  61. package/dist/{arrow-next-CIOU5o42.js → arrow-next-BQVCxGb8.js} +2 -2
  62. package/dist/{close-BuY4mhXV.js → close-DGt8x-x_.js} +2 -2
  63. package/dist/floating-ui.vue-CDo9Kas1.js +1055 -0
  64. package/dist/{hotkeys-kwHHtFKz.js → hotkeys-rxnt4egK.js} +1 -1
  65. package/dist/index-CpKfM262.js +376 -0
  66. package/dist/knime-jsonforms.css +1 -1
  67. package/dist/knime-jsonforms.js +64 -67
  68. package/dist/{localTimeUtils-Dv-1R88J.js → localTimeUtils-NIKgHnIr.js} +179 -181
  69. package/dist/magic-string.es-BQ9KnLz-.js +659 -0
  70. package/dist/navigator-e30QQMkl.js +4 -0
  71. package/dist/popper-LGjf7Wza.js +905 -0
  72. package/dist/{reload-BVbCGubF.js → reload-DCdbNLa2.js} +2 -2
  73. package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +26 -22
  74. package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +3 -4
  75. package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +16 -10
  76. package/dist/src/higherOrderComponents/control/errorMessage/withErrorMessage.d.ts +1 -1
  77. package/dist/src/higherOrderComponents/control/util.d.ts +7 -33
  78. package/dist/src/higherOrderComponents/layout/util.d.ts +1 -17
  79. package/dist/src/layoutComponents/Form.vue.d.ts +12 -4
  80. package/dist/src/layoutComponents/HorizontalLayout.vue.d.ts +1 -1
  81. package/dist/src/layoutComponents/SectionLayout.vue.d.ts +13 -5
  82. package/dist/src/layoutComponents/VerticalLayout.vue.d.ts +1 -1
  83. package/dist/src/layoutComponents/VerticalLayoutBase.vue.d.ts +16 -9
  84. package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +13 -6
  85. package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +2 -2
  86. package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +1 -1
  87. package/dist/src/renderers/dateTimeFormatPickerRenderer.d.ts +2 -2
  88. package/dist/src/renderers/defaultRenderers.d.ts +966 -151
  89. package/dist/src/renderers/dropdownRenderer.d.ts +1 -1
  90. package/dist/src/renderers/fallbackRenderers.d.ts +8 -8
  91. package/dist/src/renderers/horizontalLayoutRenderer.d.ts +1 -1
  92. package/dist/src/renderers/sectionLayoutRenderer.d.ts +4 -4
  93. package/dist/src/renderers/simpleButtonRenderer.d.ts +7 -89
  94. package/dist/src/renderers/sortListRenderer.d.ts +853 -20
  95. package/dist/src/renderers/textMessageRenderer.d.ts +65 -1
  96. package/dist/src/renderers/textRenderer.d.ts +1 -1
  97. package/dist/src/renderers/verticalLayoutRenderer.d.ts +2 -2
  98. package/dist/src/renderers/zonedDateTimeRenderer.d.ts +1 -1
  99. package/dist/src/uiComponents/CheckboxControl.vue.d.ts +15 -6
  100. package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +2 -1
  101. package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +2 -1
  102. package/dist/src/uiComponents/DateControl.vue.d.ts +2 -1
  103. package/dist/src/uiComponents/DateTimeControl.vue.d.ts +2 -1
  104. package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +2 -1
  105. package/dist/src/uiComponents/DateTimeFormatPickerWithTypeControl.vue.d.ts +2 -1
  106. package/dist/src/uiComponents/DropdownControl.vue.d.ts +2 -1
  107. package/dist/src/uiComponents/IntegerControl.vue.d.ts +2 -1
  108. package/dist/src/uiComponents/IntervalControl.vue.d.ts +2 -1
  109. package/dist/src/uiComponents/MultiSelectListBoxControl.vue.d.ts +2 -1
  110. package/dist/src/uiComponents/NumberControl.vue.d.ts +2 -1
  111. package/dist/src/uiComponents/NumberControlBase.vue.d.ts +5 -9
  112. package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +2 -1
  113. package/dist/src/uiComponents/RadioControl.vue.d.ts +2 -1
  114. package/dist/src/uiComponents/RadioControlBase.vue.d.ts +4 -8
  115. package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +5 -129
  116. package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +2 -1
  117. package/dist/src/uiComponents/SingleSelectListBoxControl.vue.d.ts +2 -1
  118. package/dist/src/uiComponents/SortListControl.vue.d.ts +845 -12
  119. package/dist/src/uiComponents/TextAreaControl.vue.d.ts +2 -1
  120. package/dist/src/uiComponents/TextControl.vue.d.ts +203 -3
  121. package/dist/src/uiComponents/TextMessageControl.vue.d.ts +2 -1
  122. package/dist/src/uiComponents/TimeControl.vue.d.ts +2 -1
  123. package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +2 -1
  124. package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +2 -1
  125. package/dist/src/uiComponents/composables/useProvidedState.d.ts +1 -1
  126. package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +1 -1
  127. package/dist/src/uiComponents/richTextControl/DialogLinkModal.vue.d.ts +3 -1
  128. package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +230 -1
  129. package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +2 -1
  130. package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +2 -1
  131. package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +8 -15
  132. package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +2 -1
  133. package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +2 -1
  134. package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +5 -10
  135. package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +2 -1
  136. package/dist/{svgWithTitle-Cr3Pu3wr.js → svgWithTitle-CnTmPYAB.js} +4 -4
  137. package/dist/testUtils/component.d.ts +18 -18
  138. package/dist/testing.js +8688 -8655
  139. package/dist/{toString-C_MqBj3_.js → toString-BhubvA3m.js} +1 -1
  140. package/dist/{useBuiltinValidations-DP7OS71z.js → useBuiltinValidations-Boxrm71q.js} +1 -1
  141. package/dist/useDropdownNavigation-BfCXUheD.js +817 -0
  142. package/dist/usePossibleValues-DXuWWBh_.js +16 -0
  143. package/package.json +14 -14
  144. package/dist/CheckboxControl-Oe97HhY3.js +0 -40
  145. package/dist/DateTimeControl-DyXUJBHE.js +0 -54
  146. package/dist/Dropdown-CJj0CUA8.js +0 -604
  147. package/dist/MultiSelectListBoxControl-3Q41S4aA.js +0 -34
  148. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-B9K5qEs3.js +0 -53
  149. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-WaVJMdQq.js +0 -114
  150. package/dist/SectionHeading-BU1W5lDr.js +0 -19
  151. package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js +0 -14015
  152. package/dist/SettingsSubPanel-KxEyzlB6.js +0 -5
  153. package/dist/SimpleTwinlistControl-qXQxRI7h.js +0 -28
  154. package/dist/TimeControl-DfhE8yu9.js +0 -42
  155. package/dist/TypedStringFilter-C6JhWCCC.js +0 -29
  156. package/dist/VerticalLayoutBase-DRfHwc4t.js +0 -20
  157. package/dist/ZonedDateTimeControl-Bi8cV34A.js +0 -75
  158. package/dist/floating-ui.vue-B-MrqKCT.js +0 -1019
  159. package/dist/index-CoRworrE.js +0 -322
  160. package/dist/magic-string.es-D-aKzDFf.js +0 -858
  161. package/dist/navigator-D_R-txCf.js +0 -7
  162. package/dist/popper-CRR--9mA.js +0 -907
  163. package/dist/src/JsonFormsDialog.vue.d.ts +0 -46
  164. package/dist/useDropdownNavigation-7o7SRJSo.js +0 -781
  165. package/dist/usePossibleValues-lz0Rcu_N.js +0 -20
@@ -1,14 +1,14 @@
1
- import { openBlock as C, createElementBlock as S, createElementVNode as k, defineComponent as W, computed as V, ref as F, watch as z, Fragment as Y, createVNode as c, withKeys as B, withModifiers as M, unref as p, withCtx as f, nextTick as re, onMounted as ie, createTextVNode as $, renderSlot as H, normalizeClass as ue } from "vue";
2
- import { r as E, _ as q, u as de, L as ce, E as me } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
3
- import { i as pe } from "./navigator-D_R-txCf.js";
4
- import { M as fe } from "./MultiselectListBox-CHvGxAhY.js";
5
- import { g as ve } from "./_getTag-sLUyzSDj.js";
6
- import { b as we } from "./_baseEach-cjHvi5iT.js";
7
- import { b as be } from "./_baseIteratee-CIxt0KWU.js";
8
- import { i as he } from "./isArray-WzO_os3q.js";
9
- import { c as ge } from "./createMissingItem-B00Kg95q.js";
10
- import { B as N } from "./Button-BxuGKyL5.js";
11
- const R = {
1
+ import { createElementBlock as C, openBlock as S, createElementVNode as V, defineComponent as R, computed as g, ref as N, watch as Z, Fragment as j, createVNode as c, withKeys as U, withModifiers as B, unref as p, withCtx as f, nextTick as ae, onMounted as se, normalizeClass as re, createTextVNode as T, renderSlot as D } from "vue";
2
+ import { v as M, _ as W, u as ie, L as ue, E as de } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js";
3
+ import { i as ce } from "./navigator-e30QQMkl.js";
4
+ import { M as me } from "./MultiselectListBox-CMTJnAWr.js";
5
+ import { g as pe } from "./_getTag-DAFySze4.js";
6
+ import { b as fe } from "./_baseEach-DdH9cM67.js";
7
+ import { b as ve } from "./_baseIteratee-BGt-t7Os.js";
8
+ import { i as we } from "./isArray-WzO_os3q.js";
9
+ import { c as be } from "./createMissingItem-B00Kg95q.js";
10
+ import { B as $ } from "./Button-Cqwayw73.js";
11
+ const O = {
12
12
  ArrowUp: "↑",
13
13
  ArrowDown: "↓",
14
14
  ArrowLeft: "←",
@@ -17,121 +17,121 @@ const R = {
17
17
  " ": "Space",
18
18
  // we use event.key and there space is an actual space not the code "Space"
19
19
  CtrlOrCmd: "Ctrl"
20
- }, Ve = {
20
+ }, he = {
21
21
  Shift: "⇧",
22
22
  Delete: "⌫",
23
23
  CtrlOrCmd: "⌘",
24
24
  Ctrl: "⌃",
25
25
  Alt: "⌥",
26
26
  Enter: "↩"
27
- }, G = (t) => {
27
+ }, z = (t) => {
28
28
  const e = (i) => (r) => i[r] ?? r, s = ((...i) => i.reduce((r, w) => (_) => w(r(_))))(
29
- e(Ve),
30
- e(R)
31
- ), a = e(R);
32
- return pe() ? s(t) : a(t);
33
- }, J = () => " ", ke = (t, e = J) => t.map(G).join(e()), _e = { formatHotkeys: ke, formatHotkey: G, getDefaultSeparator: J };
34
- var Z = function() {
29
+ e(he),
30
+ e(O)
31
+ ), a = e(O);
32
+ return ce() ? s(t) : a(t);
33
+ }, Y = () => " ", ge = (t, e = Y) => t.map(z).join(e()), Ve = { formatHotkeys: ge, formatHotkey: z, getDefaultSeparator: Y };
34
+ var P = function() {
35
35
  try {
36
- var t = ve(Object, "defineProperty");
36
+ var t = pe(Object, "defineProperty");
37
37
  return t({}, "", {}), t;
38
38
  } catch {
39
39
  }
40
40
  }();
41
- function xe(t, e, o, s) {
41
+ function _e(t, e, o, s) {
42
42
  for (var a = t.length, i = o + -1; ++i < a; )
43
43
  if (e(t[i], i, t))
44
44
  return i;
45
45
  return -1;
46
46
  }
47
- function Ae(t) {
47
+ function ke(t) {
48
48
  return t !== t;
49
49
  }
50
- function Ce(t, e, o) {
50
+ function xe(t, e, o) {
51
51
  for (var s = o - 1, a = t.length; ++s < a; )
52
52
  if (t[s] === e)
53
53
  return s;
54
54
  return -1;
55
55
  }
56
- function Se(t, e, o) {
57
- return e === e ? Ce(t, e, o) : xe(t, Ae, o);
56
+ function Ae(t, e, o) {
57
+ return e === e ? xe(t, e, o) : _e(t, ke, o);
58
58
  }
59
- function Ie(t, e, o) {
60
- e == "__proto__" && Z ? Z(t, e, {
59
+ function Ce(t, e, o) {
60
+ e == "__proto__" && P ? P(t, e, {
61
61
  configurable: !0,
62
62
  enumerable: !0,
63
63
  value: o,
64
64
  writable: !0
65
65
  }) : t[e] = o;
66
66
  }
67
- function ye(t, e, o, s) {
67
+ function Se(t, e, o, s) {
68
68
  for (var a = -1, i = t == null ? 0 : t.length; ++a < i; ) {
69
69
  var r = t[a];
70
70
  e(s, r, o(r), t);
71
71
  }
72
72
  return s;
73
73
  }
74
- function Le(t, e, o, s) {
75
- return we(t, function(a, i, r) {
74
+ function Ie(t, e, o, s) {
75
+ return fe(t, function(a, i, r) {
76
76
  e(s, a, o(a), r);
77
77
  }), s;
78
78
  }
79
- function Q(t, e) {
79
+ function q(t, e) {
80
80
  return function(o, s) {
81
- var a = he(o) ? ye : Le, i = e ? e() : {};
82
- return a(o, t, be(s), i);
81
+ var a = we(o) ? Se : Ie, i = e ? e() : {};
82
+ return a(o, t, ve(s), i);
83
83
  };
84
84
  }
85
- function X(t, e, o) {
85
+ function G(t, e, o) {
86
86
  var s = t == null ? 0 : t.length;
87
87
  if (!s)
88
88
  return -1;
89
89
  var a = 0;
90
- return Se(t, e, a);
90
+ return Ae(t, e, a);
91
91
  }
92
- var Ue = Q(function(t, e, o) {
93
- Ie(t, o, e);
94
- }), Be = Q(function(t, e, o) {
92
+ var ye = q(function(t, e, o) {
93
+ Ce(t, o, e);
94
+ }), Le = q(function(t, e, o) {
95
95
  t[o ? 0 : 1].push(e);
96
96
  }, function() {
97
97
  return [[], []];
98
98
  });
99
- const Me = {
99
+ const Ue = {
100
100
  xmlns: "http://www.w3.org/2000/svg",
101
101
  fill: "none",
102
102
  stroke: "#000",
103
103
  "stroke-linejoin": "round",
104
104
  viewBox: "0 0 32 32"
105
105
  };
106
- function Ee(t, e) {
107
- return C(), S("svg", Me, e[0] || (e[0] = [
108
- k("path", { d: "m27 17.1-11 11-11-11m11 11V3.9" }, null, -1)
106
+ function Be(t, e) {
107
+ return S(), C("svg", Ue, e[0] || (e[0] = [
108
+ V("path", { d: "m27 17.1-11 11-11-11m11 11V3.9" }, null, -1)
109
109
  ]));
110
110
  }
111
- const Te = { render: Ee }, $e = {
111
+ const Me = { render: Be }, Ee = {
112
112
  xmlns: "http://www.w3.org/2000/svg",
113
113
  fill: "none",
114
114
  stroke: "#000",
115
115
  viewBox: "0 0 32 32"
116
116
  };
117
- function Ne(t, e) {
118
- return C(), S("svg", $e, e[0] || (e[0] = [
119
- k("path", { d: "M23.4 13.4 16 20.8l-7.4-7.4m7.4 7.4V4.5m12.5 23h-25" }, null, -1)
117
+ function Te(t, e) {
118
+ return S(), C("svg", Ee, e[0] || (e[0] = [
119
+ V("path", { d: "M23.4 13.4 16 20.8l-7.4-7.4m7.4 7.4V4.5m12.5 23h-25" }, null, -1)
120
120
  ]));
121
121
  }
122
- const j = { render: Ne }, Fe = {
122
+ const H = { render: Te }, $e = {
123
123
  xmlns: "http://www.w3.org/2000/svg",
124
124
  fill: "none",
125
125
  stroke: "#000",
126
126
  "stroke-linejoin": "round",
127
127
  viewBox: "0 0 32 32"
128
128
  };
129
- function Ke(t, e) {
130
- return C(), S("svg", Fe, e[0] || (e[0] = [
131
- k("path", { d: "m5 14.9 11-11 11 11m-11-11v24.2" }, null, -1)
129
+ function Ne(t, e) {
130
+ return S(), C("svg", $e, e[0] || (e[0] = [
131
+ V("path", { d: "m5 14.9 11-11 11 11m-11-11v24.2" }, null, -1)
132
132
  ]));
133
133
  }
134
- const De = { render: Ke }, Oe = { class: "buttons" }, Pe = /* @__PURE__ */ W({
134
+ const Fe = { render: Ne }, Ke = { class: "buttons" }, De = /* @__PURE__ */ R({
135
135
  __name: "SortList",
136
136
  props: {
137
137
  modelValue: {},
@@ -142,44 +142,43 @@ const De = { render: Ke }, Oe = { class: "buttons" }, Pe = /* @__PURE__ */ W({
142
142
  },
143
143
  emits: ["update:modelValue"],
144
144
  setup(t, { emit: e }) {
145
- const o = t, s = e, a = V(() => Ue(o.possibleValues, "id")), i = V(
145
+ const o = t, s = e, a = g(() => ye(o.possibleValues, "id")), i = g(
146
146
  () => o.modelValue.map(
147
- (l) => a.value[l] ?? ge(l)
147
+ (l) => a.value[l] ?? be(l)
148
148
  )
149
- ), r = F([]);
150
- z(
149
+ ), r = N([]);
150
+ Z(
151
151
  () => o.modelValue,
152
152
  (l) => {
153
153
  const d = new Set(l);
154
154
  r.value = r.value.filter((m) => d.has(m));
155
155
  }
156
156
  );
157
- const w = V(() => r.value.length === 0), _ = (l, d, m) => [
157
+ const w = g(() => r.value.length === 0), _ = (l, d, m) => [
158
158
  l.slice(0, d),
159
159
  l.slice(d, m),
160
160
  l.slice(m)
161
161
  ], I = (l) => {
162
162
  let d = 0;
163
163
  return (m) => l(m, d++);
164
- }, y = (l, d) => Be(
164
+ }, y = (l, d) => Le(
165
165
  l,
166
- I((m, g) => d(g))
167
- ), n = F(null), u = (l) => ({ to: d } = {}) => {
168
- const m = r.value.map((h) => X(o.modelValue, h)).sort((h, U) => h - U), g = (l === "up" ? d : null) ?? Math.max(m[0] - 1, 0), T = (l === "down" ? d : null) ?? m[m.length - 1] + 1, [ee, te, oe] = _(
166
+ I((m, h) => d(h))
167
+ ), n = N(null), u = (l) => ({ to: d } = {}) => {
168
+ const m = r.value.map((A) => G(o.modelValue, A)).sort((A, le) => A - le), h = (l === "up" ? d : null) ?? Math.max(m[0] - 1, 0), E = (l === "down" ? d : null) ?? m[m.length - 1] + 1, [J, Q, X] = _(
169
169
  o.modelValue,
170
- g,
171
- T + 1
172
- ), ne = new Set(m), [K, D] = y(
173
- te,
174
- (h) => ne.has(h + g)
175
- ), [le, ae] = l === "up" ? [K, D] : [D, K], se = ee.concat(le, ae, oe);
176
- s("update:modelValue", se), re(() => {
177
- var h, U, O, P;
178
- l === "up" ? ((h = n.value) == null || h.scrollUpIntoView(g - 1), (U = n.value) == null || U.setCurrentKeyNavIndex(g)) : ((O = n.value) == null || O.scrollDownIntoView(T + 1), (P = n.value) == null || P.setCurrentKeyNavIndex(T));
170
+ h,
171
+ E + 1
172
+ ), ee = new Set(m), [F, K] = y(
173
+ Q,
174
+ (A) => ee.has(A + h)
175
+ ), [te, oe] = l === "up" ? [F, K] : [K, F], ne = J.concat(te, oe, X);
176
+ s("update:modelValue", ne), ae(() => {
177
+ l === "up" ? (n.value?.scrollUpIntoView(h - 1), n.value?.setCurrentKeyNavIndex(h)) : (n.value?.scrollDownIntoView(E + 1), n.value?.setCurrentKeyNavIndex(E));
179
178
  });
180
- }, v = u("up"), x = u("down"), L = () => v({ to: 0 }), A = () => x({ to: o.modelValue.length }), b = (l, d) => `${l} (${_e.formatHotkeys(d)})`;
181
- return (l, d) => (C(), S(Y, null, [
182
- c(fe, {
179
+ }, v = u("up"), k = u("down"), L = () => v({ to: 0 }), x = () => k({ to: o.modelValue.length }), b = (l, d) => `${l} (${Ve.formatHotkeys(d)})`;
180
+ return (l, d) => (S(), C(j, null, [
181
+ c(me, {
183
182
  id: l.id,
184
183
  ref_key: "listBox",
185
184
  ref: n,
@@ -191,63 +190,63 @@ const De = { render: Ke }, Oe = { class: "buttons" }, Pe = /* @__PURE__ */ W({
191
190
  "empty-state-label": "Empty",
192
191
  size: 10,
193
192
  onKeydown: [
194
- B(M(p(x), ["alt"]), ["down"]),
195
- B(M(p(v), ["alt"]), ["up"]),
196
- B(M(L, ["alt"]), ["home"]),
197
- B(M(A, ["alt"]), ["end"])
193
+ U(B(p(k), ["alt"]), ["down"]),
194
+ U(B(p(v), ["alt"]), ["up"]),
195
+ U(B(L, ["alt"]), ["home"]),
196
+ U(B(x, ["alt"]), ["end"])
198
197
  ]
199
198
  }, null, 8, ["id", "modelValue", "possible-values", "ariaLabel", "onKeydown"]),
200
- k("div", Oe, [
201
- c(E, {
199
+ V("div", Ke, [
200
+ c(M, {
202
201
  disabled: w.value,
203
202
  title: b("Move to top", ["Alt", "Home"]),
204
203
  compact: "",
205
204
  onClick: L
206
205
  }, {
207
206
  default: f(() => [
208
- c(p(j), { class: "rotated" })
207
+ c(p(H), { class: "rotated" })
209
208
  ]),
210
209
  _: 1
211
210
  }, 8, ["disabled", "title"]),
212
- c(E, {
211
+ c(M, {
213
212
  disabled: w.value,
214
213
  title: b("Move to bottom", ["Alt", "End"]),
215
214
  compact: "",
216
- onClick: A
215
+ onClick: x
217
216
  }, {
218
217
  default: f(() => [
219
- c(p(j))
218
+ c(p(H))
220
219
  ]),
221
220
  _: 1
222
221
  }, 8, ["disabled", "title"]),
223
- c(E, {
222
+ c(M, {
224
223
  disabled: w.value,
225
224
  title: b("Move up", ["Alt", "ArrowUp"]),
226
225
  compact: "",
227
226
  onClick: p(v)
228
227
  }, {
229
228
  default: f(() => [
230
- c(p(De))
229
+ c(p(Fe))
231
230
  ]),
232
231
  _: 1
233
232
  }, 8, ["disabled", "title", "onClick"]),
234
- c(E, {
233
+ c(M, {
235
234
  disabled: w.value,
236
235
  title: b("Move down", ["Alt", "ArrowDown"]),
237
236
  compact: "",
238
- onClick: p(x)
237
+ onClick: p(k)
239
238
  }, {
240
239
  default: f(() => [
241
- c(p(Te))
240
+ c(p(Me))
242
241
  ]),
243
242
  _: 1
244
243
  }, 8, ["disabled", "title", "onClick"])
245
244
  ])
246
245
  ], 64));
247
246
  }
248
- }), He = /* @__PURE__ */ q(Pe, [["__scopeId", "data-v-91f6b722"]]), Re = {
249
- class: /* @__PURE__ */ ue(["flex", "space-between"])
250
- }, Ze = { class: "flex" }, je = "<any unknown new column>", We = /* @__PURE__ */ W({
247
+ }), Oe = /* @__PURE__ */ W(De, [["__scopeId", "data-v-d6a73624"]]), Pe = {
248
+ class: /* @__PURE__ */ re(["flex", "space-between"])
249
+ }, He = { class: "flex" }, Re = "<any unknown new column>", Ze = /* @__PURE__ */ R({
251
250
  __name: "SortListControl",
252
251
  props: {
253
252
  control: {},
@@ -258,17 +257,17 @@ const De = { render: Ke }, Oe = { class: "buttons" }, Pe = /* @__PURE__ */ W({
258
257
  isValid: { type: Boolean },
259
258
  messages: {},
260
259
  onRegisterValidation: {},
261
- anyUnknownValuesId: { default: je },
260
+ anyUnknownValuesId: { default: Re },
262
261
  anyUnknownValuesText: { default: "Any unknown column" }
263
262
  },
264
263
  setup(t) {
265
- const e = t, o = V(() => e.control.data), s = V(
264
+ const e = t, o = g(() => e.control.data), s = g(
266
265
  () => e.control.uischema
267
- ), a = de(
266
+ ), a = ie(
268
267
  s,
269
268
  "possibleValues",
270
269
  []
271
- ), i = V(
270
+ ), i = g(
272
271
  () => a.value.concat({
273
272
  id: e.anyUnknownValuesId,
274
273
  text: e.anyUnknownValuesText,
@@ -279,69 +278,72 @@ const De = { render: Ke }, Oe = { class: "buttons" }, Pe = /* @__PURE__ */ W({
279
278
  I();
280
279
  return;
281
280
  }
282
- const u = X(o.value, e.anyUnknownValuesId);
281
+ const u = G(o.value, e.anyUnknownValuesId);
283
282
  if (u === -1)
284
283
  throw new Error(
285
284
  `SortList data have to contain the value "${e.anyUnknownValuesId}"`
286
285
  );
287
- const v = o.value.slice(0, u + 1), x = o.value.slice(u + 1), L = new Set(o.value), A = n.map(({ id: b }) => b).filter((b) => !L.has(b));
288
- A.length > 0 && e.changeValue(v.concat(A, x));
286
+ const v = o.value.slice(0, u + 1), k = o.value.slice(u + 1), L = new Set(o.value), x = n.map(({ id: b }) => b).filter((b) => !L.has(b));
287
+ x.length > 0 && e.changeValue(v.concat(x, k));
289
288
  };
290
- ie(() => {
289
+ se(() => {
291
290
  r(a.value);
292
- }), z(() => a.value, r);
291
+ }), Z(() => a.value, r);
293
292
  const w = () => {
294
293
  e.changeValue(o.value.toSorted((n, u) => n.localeCompare(u)));
295
294
  }, _ = () => {
296
295
  e.changeValue(o.value.toSorted((n, u) => u.localeCompare(n)));
297
296
  }, I = () => {
298
297
  e.changeValue(i.value.map(({ id: n }) => n));
299
- }, y = F(null);
300
- return (n, u) => (C(), S(Y, null, [
301
- k("div", Re, [
302
- k("div", Ze, [
303
- c(p(N), {
298
+ }, y = N(null);
299
+ return (n, u) => (S(), C(j, null, [
300
+ V("div", Pe, [
301
+ V("div", He, [
302
+ c(p($), {
304
303
  "with-border": "",
305
304
  compact: "",
306
305
  onClick: w
307
306
  }, {
308
307
  default: f(() => u[0] || (u[0] = [
309
- $("A - Z")
308
+ T("A - Z", -1)
310
309
  ])),
311
- _: 1
310
+ _: 1,
311
+ __: [0]
312
312
  }),
313
- c(p(N), {
313
+ c(p($), {
314
314
  "with-border": "",
315
315
  compact: "",
316
316
  onClick: _
317
317
  }, {
318
318
  default: f(() => u[1] || (u[1] = [
319
- $("Z - A")
319
+ T("Z - A", -1)
320
320
  ])),
321
- _: 1
321
+ _: 1,
322
+ __: [1]
322
323
  })
323
324
  ]),
324
- c(p(N), {
325
+ c(p($), {
325
326
  "with-border": "",
326
327
  compact: "",
327
328
  onClick: I
328
329
  }, {
329
330
  default: f(() => u[2] || (u[2] = [
330
- $("Reset all")
331
+ T("Reset all", -1)
331
332
  ])),
332
- _: 1
333
+ _: 1,
334
+ __: [2]
333
335
  })
334
336
  ]),
335
- c(ce, {
337
+ c(ue, {
336
338
  label: n.control.label,
337
339
  onControllingFlowVariableSet: n.changeValue
338
340
  }, {
339
341
  default: f(({ labelForId: v }) => [
340
- c(me, {
342
+ c(de, {
341
343
  errors: n.messages.errors
342
344
  }, {
343
345
  default: f(() => [
344
- c(p(He), {
346
+ c(p(Oe), {
345
347
  id: v ?? void 0,
346
348
  ref_key: "controlElement",
347
349
  ref: y,
@@ -356,10 +358,10 @@ const De = { render: Ke }, Oe = { class: "buttons" }, Pe = /* @__PURE__ */ W({
356
358
  }, 1032, ["errors"])
357
359
  ]),
358
360
  icon: f(() => [
359
- H(n.$slots, "icon", {}, void 0, !0)
361
+ D(n.$slots, "icon", {}, void 0, !0)
360
362
  ]),
361
363
  buttons: f(({ hover: v }) => [
362
- H(n.$slots, "buttons", {
364
+ D(n.$slots, "buttons", {
363
365
  hover: v,
364
366
  controlHTMLElement: y.value
365
367
  }, void 0, !0)
@@ -368,8 +370,8 @@ const De = { render: Ke }, Oe = { class: "buttons" }, Pe = /* @__PURE__ */ W({
368
370
  }, 8, ["label", "onControllingFlowVariableSet"])
369
371
  ], 64));
370
372
  }
371
- }), nt = /* @__PURE__ */ q(We, [["__scopeId", "data-v-27f80d69"]]);
373
+ }), tt = /* @__PURE__ */ W(Ze, [["__scopeId", "data-v-27f80d69"]]);
372
374
  export {
373
- je as DEFAULT_ANY_UNKNOWN_VALUES_ID,
374
- nt as default
375
+ Re as DEFAULT_ANY_UNKNOWN_VALUES_ID,
376
+ tt as default
375
377
  };
@@ -1,5 +1,5 @@
1
- import { openBlock as s, createElementBlock as n, mergeProps as d, withModifiers as o, toDisplayString as a } from "vue";
2
- import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
1
+ import { createElementBlock as s, openBlock as n, mergeProps as d, withModifiers as o, toDisplayString as a } from "vue";
2
+ import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js";
3
3
  const f = {
4
4
  name: "StyledListItem",
5
5
  props: {
@@ -42,7 +42,7 @@ const f = {
42
42
  ]
43
43
  }, u = ["title", "aria-selected"];
44
44
  function r(i, e, t, c, y, b) {
45
- return s(), n("li", d(i.$attrs, {
45
+ return n(), s("li", d(i.$attrs, {
46
46
  role: "option",
47
47
  title: t.text,
48
48
  style: {
@@ -1,6 +1,6 @@
1
- import { openBlock as a, createElementBlock as o, normalizeClass as r, createElementVNode as u, mergeProps as c, createCommentVNode as m, defineComponent as p, createBlock as f, unref as V } from "vue";
2
- import { _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
3
- const y = {
1
+ import { createElementBlock as d, openBlock as l, normalizeClass as s, createElementVNode as r, createCommentVNode as u, mergeProps as c, defineComponent as m, createBlock as p, unref as f } from "vue";
2
+ import { _ as o } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js";
3
+ const V = {
4
4
  name: "TextArea",
5
5
  props: {
6
6
  modelValue: {
@@ -56,15 +56,15 @@ const y = {
56
56
  this.$emit("update:modelValue", this.getValue());
57
57
  }
58
58
  }
59
- }, _ = ["id", "name", "title", "value", "cols", "disabled", "rows", "placeholder"], b = {
59
+ }, y = ["id", "name", "title", "value", "cols", "disabled", "rows", "placeholder"], _ = {
60
60
  key: 0,
61
61
  class: "invalid-marker"
62
62
  };
63
- function h(n, t, e, l, C, d) {
64
- return a(), o("div", {
65
- class: r({ disabled: e.disabled })
63
+ function b(a, t, e, v, C, n) {
64
+ return l(), d("div", {
65
+ class: s({ disabled: e.disabled })
66
66
  }, [
67
- u("textarea", c(n.$attrs, {
67
+ r("textarea", c(a.$attrs, {
68
68
  id: e.id,
69
69
  ref: "input",
70
70
  name: e.name,
@@ -75,12 +75,12 @@ function h(n, t, e, l, C, d) {
75
75
  disabled: e.disabled,
76
76
  rows: e.rows,
77
77
  placeholder: e.placeholder,
78
- onInput: t[0] || (t[0] = (...s) => d.onInput && d.onInput(...s))
79
- }), null, 16, _),
80
- e.isValid ? m("", !0) : (a(), o("span", b))
78
+ onInput: t[0] || (t[0] = (...i) => n.onInput && n.onInput(...i))
79
+ }), null, 16, y),
80
+ e.isValid ? u("", !0) : (l(), d("span", _))
81
81
  ], 2);
82
82
  }
83
- const g = /* @__PURE__ */ i(y, [["render", h], ["__scopeId", "data-v-022c4652"]]), v = /* @__PURE__ */ p({
83
+ const h = /* @__PURE__ */ o(V, [["render", b], ["__scopeId", "data-v-022c4652"]]), g = /* @__PURE__ */ m({
84
84
  __name: "TextAreaControl",
85
85
  props: {
86
86
  control: {},
@@ -91,21 +91,18 @@ const g = /* @__PURE__ */ i(y, [["render", h], ["__scopeId", "data-v-022c4652"]]
91
91
  onRegisterValidation: { type: Function },
92
92
  labelForId: {}
93
93
  },
94
- setup(n) {
95
- return (t, e) => {
96
- var l;
97
- return a(), f(V(g), {
98
- id: t.labelForId,
99
- class: "text-area-input",
100
- "model-value": t.control.data,
101
- disabled: t.disabled,
102
- rows: (l = t.control.uischema.options) == null ? void 0 : l.rows,
103
- "is-valid": t.isValid,
104
- "onUpdate:modelValue": t.changeValue
105
- }, null, 8, ["id", "model-value", "disabled", "rows", "is-valid", "onUpdate:modelValue"]);
106
- };
94
+ setup(a) {
95
+ return (t, e) => (l(), p(f(h), {
96
+ id: t.labelForId,
97
+ class: "text-area-input",
98
+ "model-value": t.control.data,
99
+ disabled: t.disabled,
100
+ rows: t.control.uischema.options?.rows,
101
+ "is-valid": t.isValid,
102
+ "onUpdate:modelValue": t.changeValue
103
+ }, null, 8, ["id", "model-value", "disabled", "rows", "is-valid", "onUpdate:modelValue"]));
107
104
  }
108
- }), B = /* @__PURE__ */ i(v, [["__scopeId", "data-v-36a8d374"]]);
105
+ }), B = /* @__PURE__ */ o(g, [["__scopeId", "data-v-36a8d374"]]);
109
106
  export {
110
107
  B as default
111
108
  };
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./TextControl.vue_vue_type_script_setup_true_lang-Bf6GB1zX.js";
1
+ import { _ as f } from "./TextControl.vue_vue_type_script_setup_true_lang-DpAd3yOu.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as s, computed as c, ref as u, openBlock as m, createBlock as h, unref as l } from "vue";
2
- import { u as f } from "./useBuiltinValidations-DP7OS71z.js";
3
- import { u as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
4
- import { I as F } from "./InputField-BYxW_-G3.js";
5
- const I = /* @__PURE__ */ s({
1
+ import { defineComponent as s, computed as u, ref as c, createBlock as m, openBlock as h, unref as a } from "vue";
2
+ import { u as f } from "./useBuiltinValidations-Boxrm71q.js";
3
+ import { u as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js";
4
+ import { I as F } from "./InputField-OkFB9VHZ.js";
5
+ const B = /* @__PURE__ */ s({
6
6
  __name: "TextControl",
7
7
  props: {
8
8
  control: {},
@@ -13,30 +13,27 @@ const I = /* @__PURE__ */ s({
13
13
  onRegisterValidation: { type: Function },
14
14
  labelForId: {}
15
15
  },
16
- setup(a, { expose: i }) {
17
- const n = a;
16
+ setup(t, { expose: i }) {
17
+ const l = t;
18
18
  f(
19
19
  {
20
20
  pattern: ({ pattern: e }) => {
21
21
  const o = new RegExp(`^(${e})$`);
22
22
  return (p) => o.test(p ?? "");
23
23
  },
24
- minLength: ({ minLength: e }) => (o) => ((o == null ? void 0 : o.length) ?? 0) >= e,
25
- maxLength: ({ maxLength: e }) => (o) => ((o == null ? void 0 : o.length) ?? 0) <= e
24
+ minLength: ({ minLength: e }) => (o) => (o?.length ?? 0) >= e,
25
+ maxLength: ({ maxLength: e }) => (o) => (o?.length ?? 0) <= e
26
26
  },
27
- n
27
+ l
28
28
  );
29
- const d = c(() => n.control.uischema), r = g(d, "placeholder", ""), t = u(null);
29
+ const d = u(() => l.control.uischema), r = g(d, "placeholder", ""), n = c(null);
30
30
  return i({
31
- focus: () => {
32
- var e;
33
- return (e = t.value) == null ? void 0 : e.focus();
34
- }
35
- }), (e, o) => (m(), h(l(F), {
31
+ focus: () => n.value?.focus()
32
+ }), (e, o) => (h(), m(a(F), {
36
33
  id: e.labelForId,
37
34
  ref_key: "inputField",
38
- ref: t,
39
- placeholder: l(r),
35
+ ref: n,
36
+ placeholder: a(r),
40
37
  "model-value": e.control.data,
41
38
  disabled: e.disabled,
42
39
  "is-valid": e.isValid,
@@ -46,5 +43,5 @@ const I = /* @__PURE__ */ s({
46
43
  }
47
44
  });
48
45
  export {
49
- I as _
46
+ B as _
50
47
  };