@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,7 +1,7 @@
1
- import { defineComponent as u, ref as i, openBlock as l, createElementBlock as m, createVNode as s, withCtx as r, renderSlot as p, createBlock as c, unref as d } from "vue";
2
- import { v as f, _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
3
- import { V as h } from "./VerticalLayoutBase-DRfHwc4t.js";
4
- import { S as v } from "./SectionHeading-BU1W5lDr.js";
1
+ import { defineComponent as u, ref as i, createElementBlock as m, openBlock as l, createVNode as s, withCtx as r, renderSlot as p, createBlock as c, unref as d } from "vue";
2
+ import { x as f, _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js";
3
+ import { V as h } from "./VerticalLayoutBase-DAk4vfH5.js";
4
+ import { S as v } from "./SectionHeading-D7znCZXu.js";
5
5
  const b = /* @__PURE__ */ u({
6
6
  __name: "SectionLayout",
7
7
  props: {
@@ -0,0 +1,5 @@
1
+ import { _ as a, z as s } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js";
2
+ const _ = /* @__PURE__ */ a(s, [["__scopeId", "data-v-11a709c8"]]);
3
+ export {
4
+ _ as S
5
+ };
@@ -1,16 +1,16 @@
1
- import { defineComponent as i, openBlock as n, createBlock as s, withCtx as t, createVNode as a, unref as l, createElementVNode as m } from "vue";
2
- import { r as c, v as p, _ as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
3
- import { N as f } from "./arrow-next-CIOU5o42.js";
4
- import { V as h } from "./VerticalLayoutBase-DRfHwc4t.js";
5
- import { S as y } from "./SectionHeading-BU1W5lDr.js";
6
- import { S as b } from "./SettingsSubPanel-KxEyzlB6.js";
1
+ import { defineComponent as i, createBlock as n, openBlock as s, withCtx as t, createVNode as a, unref as l, createElementVNode as m } from "vue";
2
+ import { x as c, v as p, _ as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js";
3
+ import { N as f } from "./arrow-next-BQVCxGb8.js";
4
+ import { V as h } from "./VerticalLayoutBase-DAk4vfH5.js";
5
+ import { S as y } from "./SectionHeading-D7znCZXu.js";
6
+ import { S as b } from "./SettingsSubPanel-x9uWGoiu.js";
7
7
  const S = /* @__PURE__ */ i({
8
8
  __name: "SettingsSubPanelLayout",
9
9
  props: {
10
10
  layout: {}
11
11
  },
12
- setup(g) {
13
- return (e, r) => (n(), s(b, {
12
+ setup(_) {
13
+ return (e, r) => (s(), n(b, {
14
14
  "show-back-arrow": "",
15
15
  "background-color-override": "var(--knime-gray-ultra-light"
16
16
  }, {
@@ -19,7 +19,7 @@ const S = /* @__PURE__ */ i({
19
19
  "title-text": e.layout.uischema.label
20
20
  }, {
21
21
  "right-buttons": t(() => [
22
- a(l(c), {
22
+ a(l(p), {
23
23
  compact: "",
24
24
  class: "set-button",
25
25
  onClick: o
@@ -28,7 +28,8 @@ const S = /* @__PURE__ */ i({
28
28
  r[0] || (r[0] = m("span", null, "Set", -1)),
29
29
  a(l(f))
30
30
  ]),
31
- _: 2
31
+ _: 2,
32
+ __: [0]
32
33
  }, 1032, ["onClick"])
33
34
  ]),
34
35
  _: 2
@@ -39,7 +40,7 @@ const S = /* @__PURE__ */ i({
39
40
  elements: e.layout.uischema.elements
40
41
  }, {
41
42
  default: t(({ element: o, index: u }) => [
42
- (n(), s(l(p), {
43
+ (s(), n(l(c), {
43
44
  key: `${e.layout.path}-${u}`,
44
45
  schema: e.layout.schema,
45
46
  uischema: o,
@@ -1,7 +1,7 @@
1
- import { defineComponent as u, openBlock as s, createBlock as p, resolveDynamicComponent as f, computed as r, ref as g, createElementBlock as _, createVNode as b, unref as y, withCtx as B, createCommentVNode as C, createTextVNode as h, toDisplayString as I, renderSlot as V } from "vue";
2
- import { z as k, _ as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
3
- import { R as S } from "./reload-BVbCGubF.js";
4
- import { B as $ } from "./Button-BxuGKyL5.js";
1
+ import { defineComponent as u, createBlock as p, openBlock as s, resolveDynamicComponent as f, computed as r, ref as g, createElementBlock as _, createVNode as b, renderSlot as y, unref as B, withCtx as C, createCommentVNode as h, createTextVNode as I, toDisplayString as V } from "vue";
2
+ import { A as k, _ as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js";
3
+ import { R as S } from "./reload-DCdbNLa2.js";
4
+ import { B as $ } from "./Button-Cqwayw73.js";
5
5
  const x = /* @__PURE__ */ u({
6
6
  __name: "DynamicIcon",
7
7
  props: {
@@ -36,23 +36,23 @@ const x = /* @__PURE__ */ u({
36
36
  onMouseover: o[0] || (o[0] = (v) => n.value = !0),
37
37
  onMouseleave: o[1] || (o[1] = (v) => n.value = !1)
38
38
  }, [
39
- b(y($), {
39
+ b(B($), {
40
40
  compact: "",
41
41
  "with-border": "",
42
42
  disabled: t.value,
43
43
  class: "button-input",
44
44
  onClick: m
45
45
  }, {
46
- default: B(() => [
46
+ default: C(() => [
47
47
  i.value ? (s(), p(x, {
48
48
  key: 0,
49
49
  icon: i.value
50
- }, null, 8, ["icon"])) : C("", !0),
51
- h(I(c.control.label), 1)
50
+ }, null, 8, ["icon"])) : h("", !0),
51
+ I(V(c.control.label), 1)
52
52
  ]),
53
53
  _: 1
54
54
  }, 8, ["disabled"]),
55
- V(c.$slots, "buttons", { hover: n.value }, void 0, !0)
55
+ y(c.$slots, "buttons", { hover: n.value }, void 0, !0)
56
56
  ], 32));
57
57
  }
58
58
  }), j = /* @__PURE__ */ F(D, [["__scopeId", "data-v-71d12dcd"]]);
@@ -0,0 +1,25 @@
1
+ import { defineComponent as s, toRef as i, createBlock as l, openBlock as a, mergeProps as r, unref as p } from "vue";
2
+ import { u as c } from "./usePossibleValues-DXuWWBh_.js";
3
+ import { T as u } from "./TwinlistControlBase-Brfh5pqZ.js";
4
+ const h = /* @__PURE__ */ s({
5
+ __name: "SimpleTwinlistControl",
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(e) {
16
+ const o = e, t = i(o, "control"), { possibleValues: n } = c(t);
17
+ return (m, d) => (a(), l(u, r(o, {
18
+ "possible-values": p(n),
19
+ "twinlist-size": o.control.uischema.options?.twinlistSize
20
+ }), null, 16, ["possible-values", "twinlist-size"]));
21
+ }
22
+ });
23
+ export {
24
+ h as default
25
+ };
@@ -1,6 +1,6 @@
1
- import { defineComponent as I, computed as n, toRef as y, openBlock as v, createBlock as w } from "vue";
2
- import { u as F } from "./usePossibleValues-lz0Rcu_N.js";
3
- import { L as R } from "./LoadingDropdown-Dw-0WQ8x.js";
1
+ import { defineComponent as I, computed as n, toRef as y, createBlock as v, openBlock as w } from "vue";
2
+ import { u as F } from "./usePossibleValues-DXuWWBh_.js";
3
+ import { L as R } from "./LoadingDropdown-CINkq_Sw.js";
4
4
  const t = "__special__", i = "__regular__", L = /* @__PURE__ */ I({
5
5
  __name: "SingleSelectControl",
6
6
  props: {
@@ -42,7 +42,7 @@ const t = "__special__", i = "__regular__", L = /* @__PURE__ */ I({
42
42
  r.changeValue(m(e));
43
43
  }
44
44
  });
45
- return (e, o) => (v(), w(R, {
45
+ return (e, o) => (w(), v(R, {
46
46
  id: e.labelForId,
47
47
  modelValue: u.value,
48
48
  "onUpdate:modelValue": o[0] || (o[0] = (_) => u.value = _),
@@ -1,7 +1,7 @@
1
- import { resolveComponent as m, openBlock as a, createElementBlock as u, normalizeClass as c, createElementVNode as V, normalizeStyle as h, Fragment as y, renderList as I, createBlock as f, defineComponent as x, toRef as g, unref as o, createCommentVNode as v } from "vue";
2
- import { u as S } from "./usePossibleValues-lz0Rcu_N.js";
3
- import { S as C } from "./StyledListItem-BXz08pEQ.js";
4
- import { _ as L, A as _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
1
+ import { resolveComponent as m, createElementBlock as u, openBlock as a, normalizeClass as c, createElementVNode as V, normalizeStyle as h, Fragment as y, renderList as I, createBlock as f, defineComponent as x, toRef as g, createCommentVNode as v, unref as o } from "vue";
2
+ import { u as S } from "./usePossibleValues-DXuWWBh_.js";
3
+ import { S as C } from "./StyledListItem-D-HJWfo5.js";
4
+ import { _ as L, B as _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js";
5
5
  const B = 40, w = 38, H = 36, T = 35, K = {
6
6
  name: "ListBox",
7
7
  components: {
@@ -161,7 +161,7 @@ const B = 40, w = 38, H = 36, T = 35, K = {
161
161
  }
162
162
  }
163
163
  }, k = ["id", "tabindex", "aria-label", "aria-activedescendant"];
164
- function A(e, t, l, n, d, i) {
164
+ function D(e, t, l, n, d, s) {
165
165
  const p = m("StyledListItem");
166
166
  return a(), u("div", {
167
167
  class: c(["list-box", { invalid: !l.isValid, disabled: l.disabled }])
@@ -172,36 +172,36 @@ function A(e, t, l, n, d, i) {
172
172
  role: "listbox",
173
173
  tabindex: l.disabled ? -1 : 0,
174
174
  "aria-label": l.ariaLabel,
175
- style: h(i.ulSizeStyle),
176
- "aria-activedescendant": i.generateOptionId(i.getCurrentItem()),
177
- onKeydown: t[0] || (t[0] = (...s) => i.handleKeyDown && i.handleKeyDown(...s))
175
+ style: h(s.ulSizeStyle),
176
+ "aria-activedescendant": s.generateOptionId(s.getCurrentItem()),
177
+ onKeydown: t[0] || (t[0] = (...i) => s.handleKeyDown && s.handleKeyDown(...i))
178
178
  }, [
179
- (a(!0), u(y, null, I(i.selectableValues, (s, r) => (a(), f(p, {
180
- id: i.generateOptionId(s),
181
- key: `listbox-${s.id}`,
179
+ (a(!0), u(y, null, I(s.selectableValues, (i, r) => (a(), f(p, {
180
+ id: s.generateOptionId(i),
181
+ key: `listbox-${i.id}`,
182
182
  ref_for: !0,
183
183
  ref: "options",
184
184
  style: h({ "line-height": `${d.optionLineHeight}px` }),
185
- text: s.text,
186
- title: s.text,
185
+ text: i.text,
186
+ title: i.text,
187
187
  class: c({
188
- focused: i.isCurrentValue(s.id),
188
+ focused: s.isCurrentValue(i.id),
189
189
  noselect: !0,
190
- empty: s.text.trim() === ""
190
+ empty: i.text.trim() === ""
191
191
  }),
192
- "aria-selected": i.isCurrentValue(s.id),
192
+ "aria-selected": s.isCurrentValue(i.id),
193
193
  "line-height": d.optionLineHeight,
194
- selected: i.isCurrentValue(s.id),
195
- invalid: s.invalid,
196
- special: s.special,
194
+ selected: s.isCurrentValue(i.id),
195
+ invalid: i.invalid,
196
+ special: i.special,
197
197
  disabled: l.disabled,
198
- onClick: (b) => !l.disabled && i.setSelected(s.id, r),
199
- onFocus: (b) => !l.disabled && i.setSelected(s.id, r)
198
+ onClick: (b) => !l.disabled && s.setSelected(i.id, r),
199
+ onFocus: (b) => !l.disabled && s.setSelected(i.id, r)
200
200
  }, null, 8, ["id", "style", "text", "title", "class", "aria-selected", "line-height", "selected", "invalid", "special", "disabled", "onClick", "onFocus"]))), 128))
201
201
  ], 44, k)
202
202
  ], 2);
203
203
  }
204
- const D = /* @__PURE__ */ L(K, [["render", A], ["__scopeId", "data-v-ef9a5a49"]]), N = /* @__PURE__ */ x({
204
+ const z = /* @__PURE__ */ L(K, [["render", D], ["__scopeId", "data-v-ef9a5a49"]]), N = /* @__PURE__ */ x({
205
205
  __name: "SingleSelectListBoxControl",
206
206
  props: {
207
207
  control: {},
@@ -214,20 +214,17 @@ const D = /* @__PURE__ */ L(K, [["render", A], ["__scopeId", "data-v-ef9a5a49"]]
214
214
  },
215
215
  setup(e) {
216
216
  const t = e, { possibleValues: l } = S(g(t, "control"));
217
- return (n, d) => {
218
- var i;
219
- return o(l) ? (a(), f(o(D), {
220
- key: 0,
221
- id: n.labelForId,
222
- "possible-values": o(l),
223
- disabled: n.disabled,
224
- "model-value": n.control.data,
225
- "is-valid": n.isValid,
226
- ariaLabel: n.control.label,
227
- size: (i = n.control.uischema.options) == null ? void 0 : i.size,
228
- "onUpdate:modelValue": n.changeValue
229
- }, null, 8, ["id", "possible-values", "disabled", "model-value", "is-valid", "ariaLabel", "size", "onUpdate:modelValue"])) : v("", !0);
230
- };
217
+ return (n, d) => o(l) ? (a(), f(o(z), {
218
+ key: 0,
219
+ id: n.labelForId,
220
+ "possible-values": o(l),
221
+ disabled: n.disabled,
222
+ "model-value": n.control.data,
223
+ "is-valid": n.isValid,
224
+ ariaLabel: n.control.label,
225
+ size: n.control.uischema.options?.size,
226
+ "onUpdate:modelValue": n.changeValue
227
+ }, null, 8, ["id", "possible-values", "disabled", "model-value", "is-valid", "ariaLabel", "size", "onUpdate:modelValue"])) : v("", !0);
231
228
  }
232
229
  });
233
230
  export {