@knime/jsonforms 1.9.4 → 1.10.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 (147) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/{AnyOfTwinlist-D1KycEHY.js → AnyOfTwinlist-CAyoczAB.js} +1 -1
  3. package/dist/{Button-Dj1USqpr.js → Button-BzZgjDcV.js} +1 -1
  4. package/dist/{Checkbox-5l-7O-Rc.js → Checkbox-C_i21GaA.js} +1 -1
  5. package/dist/{CheckboxControl-CcV_DXsi.js → CheckboxControl-DDoLA6Vd.js} +2 -2
  6. package/dist/{Checkboxes-TSVYIY6A.js → Checkboxes-C_e0UeAC.js} +2 -2
  7. package/dist/{CheckboxesControl-CEIBobjb.js → CheckboxesControl-mSVKQ6CW.js} +2 -2
  8. package/dist/{ComboBoxControl-FTELjHzm.js → ComboBoxControl-BY9Wb-2K.js} +9 -9
  9. package/dist/{DateControl-CF5FYRLV.js → DateControl-YjVx-aFd.js} +1 -1
  10. package/dist/{DateTimeControl-D1B_TgdP.js → DateTimeControl-D5Z7nHgz.js} +2 -2
  11. package/dist/{DateTimeFormatInput--ahcIWAg.js → DateTimeFormatInput-DP9GTXiX.js} +57 -57
  12. package/dist/{DateTimeFormatPickerControl-BliVRAB0.js → DateTimeFormatPickerControl-DdIvsCjx.js} +2 -2
  13. package/dist/{DateTimeFormatPickerWithTypeControl-CXseluiT.js → DateTimeFormatPickerWithTypeControl-CrrpUdTR.js} +3 -3
  14. package/dist/{DateTimeInput-DqqCRfzR.js → DateTimeInput-BSUVtZ_C.js} +1182 -1182
  15. package/dist/{Dropdown-BfqaIGuC.js → Dropdown-DP_F92tv.js} +85 -86
  16. package/dist/{DropdownControl-D8-qWkOR.js → DropdownControl-GMJULpL6.js} +4 -4
  17. package/dist/{HorizontalLayout-CWRVRpwR.js → HorizontalLayout-COzD3yLU.js} +1 -1
  18. package/dist/{InputField-C2yLbANc.js → InputField-BF7vTszr.js} +39 -39
  19. package/dist/{IntegerControl-Bz5KWKoG.js → IntegerControl-CKIl5Rfi.js} +1 -1
  20. package/dist/{IntervalControl-B0CHqejJ.js → IntervalControl-C2ykMH4V.js} +129 -129
  21. package/dist/{LoadingDropdown-fVxRhH6V.js → LoadingDropdown-CxqiKfdN.js} +3 -3
  22. package/dist/{MultimodeTwinlistControl-DV_0SHHy.js → MultimodeTwinlistControl-BM744sO6.js} +27 -27
  23. package/dist/{MultiselectListBox-Cn7ngRfj.js → MultiselectListBox-DwBSUb9V.js} +23 -25
  24. package/dist/{NameFilter-DTecZo_d.js → NameFilter-Dgf1mtuH.js} +1 -1
  25. package/dist/{NumberControl-Bv6y2n41.js → NumberControl-Cp0OiNDl.js} +1 -1
  26. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-6m9utn_F.js → NumberControlBase.vue_vue_type_script_setup_true_lang-B7BnKygX.js} +2 -2
  27. package/dist/{NumberInput-Ys4Hdd7b.js → NumberInput-H3BZ_gou.js} +2 -2
  28. package/dist/{OneOfDropdown-CDAPUCNY.js → OneOfDropdown-DbkVGpS-.js} +1 -1
  29. package/dist/{RadioControl-B2pjYv6_.js → RadioControl-9cZ9L-XZ.js} +2 -2
  30. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-CclH-Wwk.js → RadioControlBase.vue_vue_type_script_setup_true_lang-DXLEuMzn.js} +2 -2
  31. package/dist/{RichTextControl-Cp-ZJ8Qo.js → RichTextControl-B6KPOKpK.js} +1915 -1915
  32. package/dist/{SectionHeading-D0esbYSn.js → SectionHeading-BMWemtGd.js} +1 -1
  33. package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-B3PkFXo7.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js} +5525 -5356
  34. package/dist/{SectionLayout-lUG0FeYA.js → SectionLayout-DR_wqkbw.js} +3 -3
  35. package/dist/SettingsSubPanel-TN03TZ-e.js +5 -0
  36. package/dist/SettingsSubPanelLayout-DxJd3igq.js +61 -0
  37. package/dist/{SimpleButtonControl-DWLU_5Ny.js → SimpleButtonControl-BBy1H52n.js} +8 -8
  38. package/dist/{SimpleTwinlistControl-D6ORIuzH.js → SimpleTwinlistControl-lyNwPBvG.js} +2 -2
  39. package/dist/{SingleSelectControl-BKv71LA7.js → SingleSelectControl-BRjpWFqk.js} +2 -2
  40. package/dist/{SortListControl-B5N2Hqr2.js → SortListControl-BTrDdu9O.js} +123 -123
  41. package/dist/{TextAreaControl-Bb1thkUU.js → TextAreaControl-B1-g-8ug.js} +1 -1
  42. package/dist/{TextControl-CuiHsefr.js → TextControl-NsT1R1rk.js} +1 -1
  43. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-DqaxrzeR.js → TextControl.vue_vue_type_script_setup_true_lang-Dgyo9rJ-.js} +4 -4
  44. package/dist/{TimeControl-CfdGsohr.js → TimeControl-CWjNnOHM.js} +2 -2
  45. package/dist/{TwinlistControlBase-CYNUKmVM.js → TwinlistControlBase-Dam1VsbM.js} +3 -3
  46. package/dist/{TwinlistLoadingInfo-CPqVvWp4.js → TwinlistLoadingInfo-y6JvMoCY.js} +305 -384
  47. package/dist/{TypedStringFilter-0MA1D7-X.js → TypedStringFilter-BjzWIu-L.js} +1 -1
  48. package/dist/ValueSwitch-DZ5LB9vA.js +131 -0
  49. package/dist/{ValueSwitchControl-avfCCusm.js → ValueSwitchControl-BCpz0Ya4.js} +1 -1
  50. package/dist/{VerticalLayout-DXyKnMvI.js → VerticalLayout-WkUU2XH3.js} +5 -5
  51. package/dist/{VerticalLayoutBase-D-TX7EUL.js → VerticalLayoutBase-413o9U_2.js} +1 -1
  52. package/dist/{ZonedDateTimeControl-BNZ8YhWM.js → ZonedDateTimeControl-6u9Nbw2f.js} +4 -4
  53. package/dist/{_baseEach-FP8ISlsz.js → _baseEach-D8bWEfeT.js} +2 -2
  54. package/dist/_baseIteratee-c38lvCZS.js +516 -0
  55. package/dist/{_getTag-DiktJuv_.js → _getTag-DwDUrDKD.js} +25 -26
  56. package/dist/arrow-dropdown-DdgjzLAO.js +17 -0
  57. package/dist/arrow-next-CIOU5o42.js +17 -0
  58. package/dist/close-BuY4mhXV.js +17 -0
  59. package/dist/knime-jsonforms.css +1 -1
  60. package/dist/knime-jsonforms.js +73 -73
  61. package/dist/{localTimeUtils-Bvx7vLrT.js → localTimeUtils-Bpn7Hjtc.js} +1 -1
  62. package/dist/{magic-string.es-CvzN4vs8.js → magic-string.es-Dlayy_3o.js} +10 -10
  63. package/dist/reload-BVbCGubF.js +17 -0
  64. package/dist/src/JsonFormsDialog.vue.d.ts +11 -20
  65. package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +3 -12
  66. package/dist/src/higherOrderComponents/control/controlToRenderer.d.ts +8 -1
  67. package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +3 -12
  68. package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +4 -25
  69. package/dist/src/higherOrderComponents/control/index.d.ts +1 -0
  70. package/dist/src/higherOrderComponents/control/validation/types.d.ts +1 -0
  71. package/dist/src/higherOrderComponents/control/validation/useValidation.d.ts +5 -2
  72. package/dist/src/layoutComponents/Form.vue.d.ts +1 -1
  73. package/dist/src/layoutComponents/HorizontalLayout.vue.d.ts +1 -10
  74. package/dist/src/layoutComponents/SectionLayout.vue.d.ts +1 -10
  75. package/dist/src/layoutComponents/SettingsSubPanelLayout.vue.d.ts +1 -10
  76. package/dist/src/layoutComponents/VerticalLayout.vue.d.ts +1 -10
  77. package/dist/src/layoutComponents/VerticalLayoutBase.vue.d.ts +3 -12
  78. package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +3 -12
  79. package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +3 -28
  80. package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +2 -2
  81. package/dist/src/loading/LoadingDialog.vue.d.ts +1 -1
  82. package/dist/src/renderers/defaultRenderers.d.ts +115 -1096
  83. package/dist/src/renderers/dropdownRenderer.d.ts +3 -219
  84. package/dist/src/renderers/fallbackRenderers.d.ts +4 -262
  85. package/dist/src/renderers/horizontalLayoutRenderer.d.ts +1 -43
  86. package/dist/src/renderers/sectionLayoutRenderer.d.ts +3 -87
  87. package/dist/src/renderers/sectionSubPanelLayoutRenderer.d.ts +1 -43
  88. package/dist/src/renderers/sortListRenderer.d.ts +85 -282
  89. package/dist/src/renderers/textMessageRenderer.d.ts +1 -109
  90. package/dist/src/renderers/textRenderer.d.ts +3 -219
  91. package/dist/src/renderers/verticalLayoutRenderer.d.ts +2 -86
  92. package/dist/src/uiComponents/CheckboxControl.vue.d.ts +1 -10
  93. package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +1 -10
  94. package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +1 -10
  95. package/dist/src/uiComponents/DateControl.vue.d.ts +1 -10
  96. package/dist/src/uiComponents/DateTimeControl.vue.d.ts +1 -10
  97. package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +1 -10
  98. package/dist/src/uiComponents/DateTimeFormatPickerWithTypeControl.vue.d.ts +1 -10
  99. package/dist/src/uiComponents/DropdownControl.vue.d.ts +1 -10
  100. package/dist/src/uiComponents/DynamicIcon.vue.d.ts +3 -12
  101. package/dist/src/uiComponents/IntegerControl.vue.d.ts +1 -10
  102. package/dist/src/uiComponents/IntervalControl.vue.d.ts +1 -10
  103. package/dist/src/uiComponents/NumberControl.vue.d.ts +1 -10
  104. package/dist/src/uiComponents/NumberControlBase.vue.d.ts +3 -12
  105. package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +1 -10
  106. package/dist/src/uiComponents/RadioControl.vue.d.ts +1 -10
  107. package/dist/src/uiComponents/RadioControlBase.vue.d.ts +3 -12
  108. package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +1 -10
  109. package/dist/src/uiComponents/SortListControl.vue.d.ts +8 -73
  110. package/dist/src/uiComponents/TextAreaControl.vue.d.ts +1 -10
  111. package/dist/src/uiComponents/TextControl.vue.d.ts +1 -10
  112. package/dist/src/uiComponents/TextMessageControl.vue.d.ts +1 -10
  113. package/dist/src/uiComponents/TimeControl.vue.d.ts +1 -10
  114. package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +1 -10
  115. package/dist/src/uiComponents/ZonedDateTimeControl.vue.d.ts +1 -10
  116. package/dist/src/uiComponents/composables/usePossibleValues.d.ts +3 -1
  117. package/dist/src/uiComponents/composables/useProvidedState.d.ts +1 -1
  118. package/dist/src/uiComponents/loading/LoadingDropdown.vue.d.ts +1 -10
  119. package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +1 -1
  120. package/dist/src/uiComponents/richTextControl/DialogLinkModal.vue.d.ts +1 -10
  121. package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +1 -10
  122. package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +1 -10
  123. package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +4 -31
  124. package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +1 -10
  125. package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +1 -10
  126. package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +4 -25
  127. package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +1 -10
  128. package/dist/src/uiComponents/twinlist/useUnknownValuesInTwinlist.d.ts +6 -0
  129. package/dist/{svgWithTitle-DMRd3aDh.js → svgWithTitle-CEHRG42c.js} +2 -2
  130. package/dist/testUtils/component.d.ts +10 -10
  131. package/dist/testing.js +4395 -4086
  132. package/dist/toString-BC2RXvs0.js +25 -0
  133. package/dist/{useBuiltinValidations-iU8yJR-J.js → useBuiltinValidations-BsKhdvbW.js} +1 -1
  134. package/dist/{usePossibleValues-CQWkZRBa.js → usePossibleValues-D12PcddT.js} +1 -1
  135. package/package.json +6 -6
  136. package/dist/SettingsSubPanel-DlUlLFts.js +0 -5
  137. package/dist/SettingsSubPanelLayout-BvbwLKfV.js +0 -61
  138. package/dist/ValueSwitch-B6rM3Cb9.js +0 -138
  139. package/dist/_baseIteratee-DhaGkQLM.js +0 -518
  140. package/dist/arrow-dropdown-DjUxzjqC.js +0 -17
  141. package/dist/arrow-next-Qa8PNb04.js +0 -17
  142. package/dist/close-h7XT0ja0.js +0 -17
  143. package/dist/isObject-B53jY8Qg.js +0 -7
  144. package/dist/isObjectLike-BatpeCIi.js +0 -29
  145. package/dist/isSymbol-C3_SC0Qp.js +0 -8
  146. package/dist/reload-BhzcZRFp.js +0 -17
  147. package/dist/toString-B9O7P854.js +0 -26
@@ -1,36 +1,36 @@
1
- import { defineComponent as Y, ref as V, h as j, watch as S, computed as P, toRefs as G, nextTick as z, resolveComponent as v, openBlock as d, createBlock as O, withCtx as D, createElementVNode as g, normalizeClass as x, normalizeStyle as U, createElementBlock as p, withModifiers as b, renderSlot as k, toDisplayString as I, createCommentVNode as E, withKeys as X, createVNode as B, withDirectives as q, Fragment as C, renderList as M, createTextVNode as Q, vShow as J, pushScopeId as Z, popScopeId as $ } from "vue";
2
- import { o as ee, t as te, c as w, d as K, i as A, n as se, e as ne, f as ie } from "./index-Bf0xDq3g.js";
3
- import { A as oe } from "./arrow-dropdown-DjUxzjqC.js";
4
- import { C as re } from "./close-h7XT0ja0.js";
1
+ import { defineComponent as Y, ref as w, h as j, watch as O, computed as P, useId as G, toRefs as z, nextTick as U, resolveComponent as v, openBlock as d, createBlock as D, withCtx as S, createElementVNode as g, normalizeClass as x, normalizeStyle as q, createElementBlock as p, withModifiers as b, renderSlot as k, toDisplayString as I, createCommentVNode as E, withKeys as X, createVNode as B, withDirectives as Q, Fragment as C, renderList as M, createTextVNode as J, vShow as Z } from "vue";
2
+ import { o as $, t as ee, c as V, d as K, i as A, n as te, e as se, f as ne } from "./index-Bf0xDq3g.js";
3
+ import { A as ie } from "./arrow-dropdown-DdgjzLAO.js";
4
+ import { C as oe } from "./close-BuY4mhXV.js";
5
5
  /* empty css */
6
- import { u as le } from "./useSearch-hpyYQ_6y.js";
7
- import { o as ae, _ as de } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-B3PkFXo7.js";
8
- import { i as ue, a as ce, b as he, c as pe, d as fe, e as me, f as ge } from "./_getTag-DiktJuv_.js";
9
- import { i as ye } from "./isArray-WzO_os3q.js";
10
- import { i as xe } from "./hotkeys-kwHHtFKz.js";
11
- var we = "[object Map]", Ve = "[object Set]", ve = Object.prototype, be = ve.hasOwnProperty;
12
- function Ee(e) {
6
+ import { u as re } from "./useSearch-hpyYQ_6y.js";
7
+ import { q as le, _ as ae } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
8
+ import { i as de, a as ue, b as ce, c as he, d as pe, e as fe, f as me } from "./_getTag-DwDUrDKD.js";
9
+ import { i as ge } from "./isArray-WzO_os3q.js";
10
+ import { i as ye } from "./hotkeys-kwHHtFKz.js";
11
+ var xe = "[object Map]", Ve = "[object Set]", we = Object.prototype, ve = we.hasOwnProperty;
12
+ function be(e) {
13
13
  if (e == null)
14
14
  return !0;
15
- if (ue(e) && (ye(e) || typeof e == "string" || typeof e.splice == "function" || ce(e) || he(e) || pe(e)))
15
+ if (de(e) && (ge(e) || typeof e == "string" || typeof e.splice == "function" || ue(e) || ce(e) || he(e)))
16
16
  return !e.length;
17
- var t = fe(e);
18
- if (t == we || t == Ve)
17
+ var t = pe(e);
18
+ if (t == xe || t == Ve)
19
19
  return !e.size;
20
- if (me(e))
21
- return !ge(e).length;
20
+ if (fe(e))
21
+ return !me(e).length;
22
22
  for (var s in e)
23
- if (be.call(e, s))
23
+ if (ve.call(e, s))
24
24
  return !1;
25
25
  return !0;
26
26
  }
27
- const Ce = /* @__PURE__ */ Y({
27
+ const Ee = /* @__PURE__ */ Y({
28
28
  name: "OnClickOutside",
29
29
  props: ["as", "options"],
30
30
  emits: ["trigger"],
31
31
  setup(e, { slots: t, emit: s }) {
32
- const o = V();
33
- return ee(o, (i) => {
32
+ const o = w();
33
+ return $(o, (i) => {
34
34
  s("trigger", i);
35
35
  }, e.options), () => {
36
36
  if (t.default)
@@ -38,25 +38,25 @@ const Ce = /* @__PURE__ */ Y({
38
38
  };
39
39
  }
40
40
  });
41
- function Se(e) {
41
+ function Ce(e) {
42
42
  var t;
43
- const s = w(e);
43
+ const s = V(e);
44
44
  return (t = s == null ? void 0 : s.$el) != null ? t : s;
45
45
  }
46
- const Oe = ie ? window : void 0;
46
+ const Oe = ne ? window : void 0;
47
47
  function De(...e) {
48
48
  let t, s, o, i;
49
49
  if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([s, o, i] = e, t = Oe) : [t, s, o, i] = e, !t)
50
- return se;
50
+ return te;
51
51
  Array.isArray(s) || (s = [s]), Array.isArray(o) || (o = [o]);
52
52
  const n = [], f = () => {
53
53
  n.forEach((h) => h()), n.length = 0;
54
- }, r = (h, a, m, l) => (h.addEventListener(a, m, l), () => h.removeEventListener(a, m, l)), c = S(
55
- () => [Se(t), w(i)],
54
+ }, r = (h, a, m, l) => (h.addEventListener(a, m, l), () => h.removeEventListener(a, m, l)), c = O(
55
+ () => [Ce(t), V(i)],
56
56
  ([h, a]) => {
57
57
  if (f(), !h)
58
58
  return;
59
- const m = ne(a) ? { ...a } : a;
59
+ const m = se(a) ? { ...a } : a;
60
60
  n.push(
61
61
  ...s.flatMap((l) => o.map((y) => r(h, l, y, m)))
62
62
  );
@@ -67,7 +67,7 @@ function De(...e) {
67
67
  };
68
68
  return K(u), u;
69
69
  }
70
- function _(e) {
70
+ function T(e) {
71
71
  return typeof Window < "u" && e instanceof Window ? e.document.documentElement : typeof Document < "u" && e instanceof Document ? e.documentElement : e;
72
72
  }
73
73
  function N(e) {
@@ -79,19 +79,19 @@ function N(e) {
79
79
  return !s || s.tagName === "BODY" ? !1 : N(s);
80
80
  }
81
81
  }
82
- function ke(e) {
82
+ function Se(e) {
83
83
  const t = e || window.event, s = t.target;
84
84
  return N(s) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
85
85
  }
86
- const T = /* @__PURE__ */ new WeakMap();
87
- function Ie(e, t = !1) {
88
- const s = V(t);
86
+ const _ = /* @__PURE__ */ new WeakMap();
87
+ function ke(e, t = !1) {
88
+ const s = w(t);
89
89
  let o = null, i = "";
90
- S(te(e), (r) => {
91
- const c = _(w(r));
90
+ O(ee(e), (r) => {
91
+ const c = T(V(r));
92
92
  if (c) {
93
93
  const u = c;
94
- if (T.get(u) || T.set(u, u.style.overflow), u.style.overflow !== "hidden" && (i = u.style.overflow), u.style.overflow === "hidden")
94
+ if (_.get(u) || _.set(u, u.style.overflow), u.style.overflow !== "hidden" && (i = u.style.overflow), u.style.overflow === "hidden")
95
95
  return s.value = !0;
96
96
  if (s.value)
97
97
  return u.style.overflow = "hidden";
@@ -100,18 +100,18 @@ function Ie(e, t = !1) {
100
100
  immediate: !0
101
101
  });
102
102
  const n = () => {
103
- const r = _(w(e));
103
+ const r = T(V(e));
104
104
  !r || s.value || (A && (o = De(
105
105
  r,
106
106
  "touchmove",
107
107
  (c) => {
108
- ke(c);
108
+ Se(c);
109
109
  },
110
110
  { passive: !1 }
111
111
  )), r.style.overflow = "hidden", s.value = !0);
112
112
  }, f = () => {
113
- const r = _(w(e));
114
- !r || !s.value || (A && (o == null || o()), r.style.overflow = i, T.delete(r), s.value = !1);
113
+ const r = T(V(e));
114
+ !r || !s.value || (A && (o == null || o()), r.style.overflow = i, _.delete(r), s.value = !1);
115
115
  };
116
116
  return K(f), P({
117
117
  get() {
@@ -122,32 +122,31 @@ function Ie(e, t = !1) {
122
122
  }
123
123
  });
124
124
  }
125
- function _e() {
125
+ function Ie() {
126
126
  let e = !1;
127
- const t = V(!1);
127
+ const t = w(!1);
128
128
  return (s, o) => {
129
129
  if (t.value = o.value, e)
130
130
  return;
131
131
  e = !0;
132
- const i = Ie(s, o.value);
133
- S(t, (n) => i.value = n);
132
+ const i = ke(s, o.value);
133
+ O(t, (n) => i.value = n);
134
134
  };
135
135
  }
136
- _e();
137
- let Te = 0;
138
- const L = "ArrowDown", R = "ArrowUp", H = "Home", F = "End", Be = "Escape", W = "Enter", Me = [L, R, H, F, W], Ae = {
136
+ Ie();
137
+ const L = "ArrowDown", R = "ArrowUp", H = "Home", F = "End", Te = "Escape", W = "Enter", _e = [L, R, H, F, W], Be = {
139
138
  name: "Dropdown",
140
139
  components: {
141
- DropdownIcon: oe,
142
- OnClickOutside: Ce,
143
- FunctionButton: ae,
144
- CloseIcon: re
140
+ DropdownIcon: ie,
141
+ OnClickOutside: Ee,
142
+ FunctionButton: le,
143
+ CloseIcon: oe
145
144
  },
146
145
  props: {
147
146
  id: {
148
147
  type: String,
149
148
  default() {
150
- return `Dropdown-${Te++}`;
149
+ return `Dropdown-${G()}`;
151
150
  }
152
151
  },
153
152
  modelValue: {
@@ -220,19 +219,19 @@ const L = "ArrowDown", R = "ArrowUp", H = "Home", F = "End", Be = "Escape", W =
220
219
  },
221
220
  emits: ["update:modelValue"],
222
221
  setup(e) {
223
- const { caseSensitiveSearch: t, possibleValues: s } = G(e), o = V(!1), i = P(() => {
222
+ const { caseSensitiveSearch: t, possibleValues: s } = z(e), o = w(!1), i = P(() => {
224
223
  const r = {};
225
224
  for (const c of s.value)
226
225
  r[c.id] = c.text;
227
226
  return r;
228
- }), n = V(i.value[e.modelValue]);
229
- S(
227
+ }), n = w(i.value[e.modelValue]);
228
+ O(
230
229
  () => e.modelValue,
231
230
  (r) => {
232
231
  n.value = i.value[r];
233
232
  }
234
233
  );
235
- const f = le(
234
+ const f = re(
236
235
  n,
237
236
  t,
238
237
  s,
@@ -299,7 +298,7 @@ const L = "ArrowDown", R = "ArrowUp", H = "Home", F = "End", Be = "Escape", W =
299
298
  },
300
299
  hasOptionTemplate() {
301
300
  return this.possibleValues.length === 0 ? !1 : this.possibleValues.every(
302
- (e) => e.slotData && !Ee(e.slotData)
301
+ (e) => e.slotData && !be(e.slotData)
303
302
  );
304
303
  },
305
304
  selectedOption() {
@@ -398,17 +397,17 @@ const L = "ArrowDown", R = "ArrowUp", H = "Home", F = "End", Be = "Escape", W =
398
397
  },
399
398
  async expand() {
400
399
  var e, t;
401
- this.isDisabled || (this.searchValue = this.displayTextMap[this.modelValue], this.hasOptionTemplate && (this.slotContainerHeight = ((e = this.$refs.slotContainer) == null ? void 0 : e.clientHeight) ?? 0), this.isExpanded = !0, this.candidate === this.modelValue && (this.isMissing || this.showPlaceholder) && this.updateCandidate((t = this.currentPossibleValues[0]) == null ? void 0 : t.id), await z(), this.getSearchInput().focus(), this.getSearchInput().select(), this.candidate && this.scrollTo(this.candidate));
400
+ this.isDisabled || (this.searchValue = this.displayTextMap[this.modelValue], this.hasOptionTemplate && (this.slotContainerHeight = ((e = this.$refs.slotContainer) == null ? void 0 : e.clientHeight) ?? 0), this.isExpanded = !0, this.candidate === this.modelValue && (this.isMissing || this.showPlaceholder) && this.updateCandidate((t = this.currentPossibleValues[0]) == null ? void 0 : t.id), await U(), this.getSearchInput().focus(), this.getSearchInput().select(), this.candidate && this.scrollTo(this.candidate));
402
401
  },
403
402
  collapse() {
404
403
  this.isExpanded = !1, this.getButtonRef().focus();
405
404
  },
406
405
  /* NOTE: we use a single keyDown method because @keydown.up bindings are not testable. */
407
406
  handleKeyDownButton(e) {
408
- this.isExpanded ? this.handleKeyDownOnExpanded(e) : xe(e, Me) && (this.expand(), e.preventDefault());
407
+ this.isExpanded ? this.handleKeyDownOnExpanded(e) : ye(e, _e) && (this.expand(), e.preventDefault());
409
408
  },
410
409
  handleKeyDownOnExpanded(e) {
411
- e.key === L && (this.onArrowDown(), e.preventDefault()), e.key === R && (this.onArrowUp(), e.preventDefault()), e.key === F && (this.onEndKey(), e.preventDefault()), e.key === H && (this.onHomeKey(), e.preventDefault()), e.key === Be && (this.collapse(), e.preventDefault(), e.stopPropagation()), e.key === W && (this.onEnter(), e.preventDefault());
410
+ e.key === L && (this.onArrowDown(), e.preventDefault()), e.key === R && (this.onArrowUp(), e.preventDefault()), e.key === F && (this.onEndKey(), e.preventDefault()), e.key === H && (this.onHomeKey(), e.preventDefault()), e.key === Te && (this.collapse(), e.preventDefault(), e.stopPropagation()), e.key === W && (this.onEnter(), e.preventDefault());
412
411
  },
413
412
  hasSelection() {
414
413
  return !!(this.modelValue && !this.isMissing);
@@ -436,20 +435,20 @@ const L = "ArrowDown", R = "ArrowUp", H = "Home", F = "End", Be = "Escape", W =
436
435
  this.searchValue = "", this.getSearchInput().focus();
437
436
  }
438
437
  }
439
- }, Pe = (e) => (Z("data-v-18ecd4b1"), e = e(), $(), e), Ke = ["id"], Ne = ["id", "aria-label", "aria-labelledby", "aria-expanded"], Le = ["value"], Re = {
438
+ }, Me = ["id"], Ae = ["id", "aria-label", "aria-labelledby", "aria-expanded"], Pe = ["value"], Ke = {
440
439
  key: 1,
441
440
  ref: "slotContainer"
442
- }, He = { class: "right" }, Fe = {
441
+ }, Ne = { class: "right" }, Le = {
443
442
  key: 0,
444
443
  class: "loading-icon"
445
- }, We = ["aria-activedescendant"], Ye = {
444
+ }, Re = ["aria-activedescendant"], He = {
446
445
  key: 0,
447
446
  class: "empty-state"
448
- }, je = /* @__PURE__ */ Pe(() => /* @__PURE__ */ g("span", { class: "group-divider" }, null, -1)), Ge = ["id", "title", "aria-selected", "onMouseenter", "onClick"], ze = ["id", "name", "value"];
449
- function Ue(e, t, s, o, i, n) {
447
+ }, Fe = ["id", "title", "aria-selected", "onMouseenter", "onClick"], We = ["id", "name", "value"];
448
+ function Ye(e, t, s, o, i, n) {
450
449
  const f = v("CloseIcon"), r = v("FunctionButton"), c = v("DropdownIcon"), u = v("OnClickOutside");
451
- return d(), O(u, { onTrigger: n.closeDropdown }, {
452
- default: D(() => {
450
+ return d(), D(u, { onTrigger: n.closeDropdown }, {
451
+ default: S(() => {
453
452
  var h;
454
453
  return [
455
454
  g("div", {
@@ -475,7 +474,7 @@ function Ue(e, t, s, o, i, n) {
475
474
  missing: n.isMissing && !i.isExpanded,
476
475
  "has-option-template": n.hasOptionTemplate && !i.isExpanded
477
476
  }),
478
- style: U({
477
+ style: q({
479
478
  ...i.isExpanded && n.hasOptionTemplate && {
480
479
  height: `calc(${i.slotContainerHeight}px + 0 * var(--form-border-width))`,
481
480
  boxSizing: "content-box"
@@ -498,7 +497,7 @@ function Ue(e, t, s, o, i, n) {
498
497
  onClick: t[0] || (t[0] = b(() => {
499
498
  }, ["stop"])),
500
499
  onInput: t[1] || (t[1] = (a) => n.handleSearch(a.target.value))
501
- }, null, 40, Le)) : n.hasOptionTemplate ? (d(), p("div", Re, [
500
+ }, null, 40, Pe)) : n.hasOptionTemplate ? (d(), p("div", Ke, [
502
501
  k(e.$slots, "option", {
503
502
  slotData: (h = n.selectedOption) == null ? void 0 : h.slotData,
504
503
  isMissing: n.isMissing,
@@ -509,11 +508,11 @@ function Ue(e, t, s, o, i, n) {
509
508
  key: 2,
510
509
  ref: "span"
511
510
  }, I(n.displayText), 513)),
512
- g("div", He, [
513
- n.hasRightIcon ? (d(), p("div", Fe, [
511
+ g("div", Ne, [
512
+ n.hasRightIcon ? (d(), p("div", Le, [
514
513
  k(e.$slots, "icon-right")
515
514
  ])) : E("", !0),
516
- i.isExpanded && n.nonEmptySearchValue ? (d(), O(r, {
515
+ i.isExpanded && n.nonEmptySearchValue ? (d(), D(r, {
517
516
  key: 1,
518
517
  ref: "closeButton",
519
518
  title: "Close",
@@ -524,12 +523,12 @@ function Ue(e, t, s, o, i, n) {
524
523
  }, ["stop"]), ["enter"])),
525
524
  onClick: b(n.handleResetInput, ["stop"])
526
525
  }, {
527
- default: D(() => [
526
+ default: S(() => [
528
527
  B(f, { class: "icon" })
529
528
  ]),
530
529
  _: 1
531
530
  }, 8, ["compact", "onClick"])) : E("", !0),
532
- !i.isExpanded || !n.nonEmptySearchValue ? (d(), O(r, {
531
+ !i.isExpanded || !n.nonEmptySearchValue ? (d(), D(r, {
533
532
  key: 2,
534
533
  class: "button",
535
534
  compact: s.compact,
@@ -538,7 +537,7 @@ function Ue(e, t, s, o, i, n) {
538
537
  tabindex: i.isExpanded ? 0 : -1,
539
538
  onClick: b(n.toggleExpanded, ["stop"])
540
539
  }, {
541
- default: D(() => [
540
+ default: S(() => [
542
541
  B(c, {
543
542
  class: x(["dropdown-icon", "icon"])
544
543
  })
@@ -546,17 +545,17 @@ function Ue(e, t, s, o, i, n) {
546
545
  _: 1
547
546
  }, 8, ["compact", "disabled", "title", "tabindex", "onClick"])) : E("", !0)
548
547
  ])
549
- ], 46, Ne),
550
- q(g("ul", {
548
+ ], 46, Ae),
549
+ Q(g("ul", {
551
550
  ref: "ul",
552
551
  role: "listbox",
553
552
  tabindex: "-1",
554
553
  "aria-activedescendant": i.isExpanded ? n.generateId("option", n.getCurrentSelectedId()) : void 0,
555
554
  class: x({ "drops-upwards": s.direction === "up" })
556
555
  }, [
557
- n.hasNoFilteredPossibleValues ? (d(), p("div", Ye, I(i.emptyState), 1)) : E("", !0),
556
+ n.hasNoFilteredPossibleValues ? (d(), p("div", He, I(i.emptyState), 1)) : E("", !0),
558
557
  (d(!0), p(C, null, M(n.orderedGroupedValues, (a, m) => (d(), p(C, { key: m }, [
559
- je,
558
+ t[5] || (t[5] = g("span", { class: "group-divider" }, null, -1)),
560
559
  (d(!0), p(C, null, M(a.items, (l) => (d(), p("li", {
561
560
  id: n.generateId("option", l.id),
562
561
  key: `listbox-${l.id}`,
@@ -580,26 +579,26 @@ function Ue(e, t, s, o, i, n) {
580
579
  slotData: l.slotData,
581
580
  expanded: !0
582
581
  }) : (d(), p(C, { key: 1 }, [
583
- Q(I(l.text), 1)
582
+ J(I(l.text), 1)
584
583
  ], 64))
585
- ], 42, Ge))), 128))
584
+ ], 42, Fe))), 128))
586
585
  ], 64))), 128))
587
- ], 10, We), [
588
- [J, i.isExpanded]
586
+ ], 10, Re), [
587
+ [Z, i.isExpanded]
589
588
  ]),
590
589
  g("input", {
591
590
  id: s.id,
592
591
  type: "hidden",
593
592
  name: s.name,
594
593
  value: s.modelValue
595
- }, null, 8, ze)
596
- ], 10, Ke)
594
+ }, null, 8, We)
595
+ ], 10, Me)
597
596
  ];
598
597
  }),
599
598
  _: 3
600
599
  }, 8, ["onTrigger"]);
601
600
  }
602
- const it = /* @__PURE__ */ de(Ae, [["render", Ue], ["__scopeId", "data-v-18ecd4b1"]]);
601
+ const et = /* @__PURE__ */ ae(Be, [["render", Ye], ["__scopeId", "data-v-b7f2f914"]]);
603
602
  export {
604
- it as D
603
+ et as D
605
604
  };
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as C, ref as c, toRef as k, computed as p, openBlock as s, createBlock as i, withCtx as l, unref as a, normalizeProps as y, mergeProps as L, createCommentVNode as m, createVNode as w, renderSlot as b } from "vue";
2
- import { L as F, E as D } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-B3PkFXo7.js";
2
+ import { L as F, E as D } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
3
3
  import { u as E } from "./useHideOnNull-CCfNP3O7.js";
4
- import { u as N } from "./usePossibleValues-CQWkZRBa.js";
5
- import { L as B } from "./LoadingDropdown-fVxRhH6V.js";
6
- import { C as P } from "./Checkbox-5l-7O-Rc.js";
4
+ import { u as N } from "./usePossibleValues-D12PcddT.js";
5
+ import { L as B } from "./LoadingDropdown-CxqiKfdN.js";
6
+ import { C as P } from "./Checkbox-C_i21GaA.js";
7
7
  const I = /* @__PURE__ */ C({
8
8
  __name: "DropdownControl",
9
9
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as l, openBlock as a, createElementBlock as o, Fragment as s, renderList as n, createBlock as u, unref as c } from "vue";
2
- import { q as m, _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-B3PkFXo7.js";
2
+ import { r as m, _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
3
3
  const i = { class: "horizontal" }, d = /* @__PURE__ */ l({
4
4
  __name: "HorizontalLayout",
5
5
  props: {
@@ -1,15 +1,15 @@
1
1
  /* empty css */
2
- import { openBlock as s, createElementBlock as l, normalizeClass as r, renderSlot as o, createCommentVNode as u, createElementVNode as d, mergeProps as c, pushScopeId as p, popScopeId as f } from "vue";
3
- import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-B3PkFXo7.js";
4
- const h = {
2
+ import { openBlock as i, createElementBlock as s, normalizeClass as r, renderSlot as u, createCommentVNode as o, createElementVNode as d, mergeProps as f } from "vue";
3
+ import { _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js";
4
+ const c = {
5
5
  name: "InputField",
6
6
  props: {
7
7
  modelValue: {
8
8
  default: "",
9
- type: [Number, String]
9
+ type: [Number, String, null]
10
10
  },
11
11
  id: {
12
- type: String,
12
+ type: [String, null],
13
13
  default: null
14
14
  },
15
15
  name: {
@@ -102,47 +102,47 @@ const h = {
102
102
  return typeof this.getValue() > "u" ? (e = !1, t = "Invalid input") : this.pattern && this.$refs.input.validity.patternMismatch && (e = !1, t = "Input does not match the expected pattern"), { isValid: e, errorMessage: t };
103
103
  }
104
104
  }
105
- }, y = (e) => (p("data-v-c99ed950"), e = e(), f(), e), g = {
105
+ }, m = {
106
106
  key: 0,
107
107
  class: "icon"
108
- }, v = ["id", "name", "value", "type", "pattern", "placeholder", "autofocus", "aria-activedescendant", "aria-owns", "autocomplete", "disabled"], I = {
108
+ }, h = ["id", "name", "value", "type", "pattern", "placeholder", "autofocus", "aria-activedescendant", "aria-owns", "autocomplete", "disabled"], y = {
109
109
  key: 1,
110
110
  class: "icon icon-right"
111
- }, S = /* @__PURE__ */ y(() => /* @__PURE__ */ d("span", { class: "invalid-marker" }, null, -1));
112
- function V(e, t, a, k, w, i) {
113
- return s(), l("div", {
114
- class: r(["input-wrapper", { compact: a.compact }])
111
+ };
112
+ function g(e, t, n, v, I, l) {
113
+ return i(), s("div", {
114
+ class: r(["input-wrapper", { compact: n.compact }])
115
115
  }, [
116
- i.hasLeftIcon ? (s(), l("div", g, [
117
- o(e.$slots, "icon")
118
- ])) : u("", !0),
119
- d("input", c(e.$attrs, {
120
- id: a.id,
116
+ l.hasLeftIcon ? (i(), s("div", m, [
117
+ u(e.$slots, "icon")
118
+ ])) : o("", !0),
119
+ d("input", f(e.$attrs, {
120
+ id: n.id,
121
121
  ref: "input",
122
- name: a.name,
123
- value: a.modelValue,
124
- class: i.inputClassList,
125
- type: a.type,
126
- pattern: a.pattern,
127
- placeholder: a.placeholder,
128
- autofocus: a.autofocus,
129
- "aria-activedescendant": a.ariaActivedescendant,
130
- "aria-owns": a.ariaOwns,
131
- autocomplete: a.autocomplete,
132
- disabled: a.disabled,
133
- onInput: t[0] || (t[0] = (...n) => i.onInput && i.onInput(...n)),
134
- onFocus: t[1] || (t[1] = (n) => e.$emit("focus", n)),
135
- onKeyup: t[2] || (t[2] = (n) => e.$emit("keyup", n)),
136
- onKeypress: t[3] || (t[3] = (n) => e.$emit("keypress", n)),
137
- onKeydown: t[4] || (t[4] = (n) => e.$emit("keydown", n))
138
- }), null, 16, v),
139
- i.hasRightIcon ? (s(), l("div", I, [
140
- o(e.$slots, "iconRight")
141
- ])) : u("", !0),
142
- S
122
+ name: n.name,
123
+ value: n.modelValue,
124
+ class: l.inputClassList,
125
+ type: n.type,
126
+ pattern: n.pattern,
127
+ placeholder: n.placeholder,
128
+ autofocus: n.autofocus,
129
+ "aria-activedescendant": n.ariaActivedescendant,
130
+ "aria-owns": n.ariaOwns,
131
+ autocomplete: n.autocomplete,
132
+ disabled: n.disabled,
133
+ onInput: t[0] || (t[0] = (...a) => l.onInput && l.onInput(...a)),
134
+ onFocus: t[1] || (t[1] = (a) => e.$emit("focus", a)),
135
+ onKeyup: t[2] || (t[2] = (a) => e.$emit("keyup", a)),
136
+ onKeypress: t[3] || (t[3] = (a) => e.$emit("keypress", a)),
137
+ onKeydown: t[4] || (t[4] = (a) => e.$emit("keydown", a))
138
+ }), null, 16, h),
139
+ l.hasRightIcon ? (i(), s("div", y, [
140
+ u(e.$slots, "iconRight")
141
+ ])) : o("", !0),
142
+ t[5] || (t[5] = d("span", { class: "invalid-marker" }, null, -1))
143
143
  ], 2);
144
144
  }
145
- const b = /* @__PURE__ */ m(h, [["render", V], ["__scopeId", "data-v-c99ed950"]]);
145
+ const w = /* @__PURE__ */ p(c, [["render", g], ["__scopeId", "data-v-c9535e8e"]]);
146
146
  export {
147
- b as I
147
+ w as I
148
148
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as r } from "vue";
2
- import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-6m9utn_F.js";
2
+ import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-B7BnKygX.js";
3
3
  const s = /* @__PURE__ */ o({
4
4
  __name: "IntegerControl",
5
5
  props: {