@knime/jsonforms 1.17.0 → 1.17.2

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 (100) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{AnyOfTwinlist-QALvnKiO.js → AnyOfTwinlist-Z2gMWvCq.js} +1 -1
  3. package/dist/{Button-DYs3itDU.js → Button-DLGkW0t3.js} +1 -1
  4. package/dist/{Checkbox-DS9JLnTB.js → Checkbox-BO_fczWr.js} +1 -1
  5. package/dist/{CheckboxControl-B3PHQwtR.js → CheckboxControl-Iw_1zPGi.js} +1 -1
  6. package/dist/{Checkboxes-B11mvaeo.js → Checkboxes-D_DDXFwL.js} +2 -2
  7. package/dist/{CheckboxesControl-BxdWxYPs.js → CheckboxesControl-DFaod8Ln.js} +3 -3
  8. package/dist/{ComboBoxControl-CKRziX_p.js → ComboBoxControl-sboWDu7J.js} +3 -3
  9. package/dist/{DateControl-VUFKY8CT.js → DateControl-Dy_7nzgh.js} +1 -1
  10. package/dist/{DateTimeControl-BOaAPlcx.js → DateTimeControl-BuVbw4xP.js} +1 -1
  11. package/dist/{DateTimeFormatInput-DpZz73Nk.js → DateTimeFormatInput-DgqG6FHK.js} +3 -3
  12. package/dist/{DateTimeFormatPickerControl-CGaBNq5G.js → DateTimeFormatPickerControl-BeVNQD7l.js} +2 -2
  13. package/dist/{DateTimeFormatPickerWithTypeControl-CxViRL-h.js → DateTimeFormatPickerWithTypeControl-O-9jMcuv.js} +3 -3
  14. package/dist/{Dropdown-eGkp504L.js → Dropdown-B9VczAJN.js} +2 -2
  15. package/dist/{DropdownControl-BSjLLymE.js → DropdownControl-CKbaP_0r.js} +3 -3
  16. package/dist/{HorizontalLayout-35L3HwHc.js → HorizontalLayout-D_Jqa5GD.js} +1 -1
  17. package/dist/{InputField-kPjZrrbj.js → InputField-BqBVPqIo.js} +1 -1
  18. package/dist/{IntegerControl-BFwoLioH.js → IntegerControl-CFhoHzSk.js} +1 -1
  19. package/dist/{IntervalControl-CrAspwk6.js → IntervalControl-CNItXwEp.js} +3 -3
  20. package/dist/{LoadingDropdown--wL0Axu3.js → LoadingDropdown-DJg2GcAu.js} +3 -3
  21. package/dist/{LoadingIcon-Ma0YlBe2.js → LoadingIcon-DubOmyQ6.js} +1 -1
  22. package/dist/{ManualTwinlistControl-DySTxk6t.js → ManualTwinlistControl-DD3Slr4X.js} +4 -4
  23. package/dist/{MultiSelectListBoxControl-xR4NtwqV.js → MultiSelectListBoxControl-akTmq4K4.js} +2 -2
  24. package/dist/{MultimodeTwinlistControl-Cbetraur.js → MultimodeTwinlistControl-B3zBMENm.js} +6 -6
  25. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_c2a3d1cb_lang-Cguus3hz.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_c2a3d1cb_lang-DpoIbu6Y.js} +2 -2
  26. package/dist/{MultiselectListBox-CkFSBzXt.js → MultiselectListBox-CPBGr5L7.js} +2 -2
  27. package/dist/{NameFilter-Cz8qezeH.js → NameFilter-Bz4d3xT8.js} +1 -1
  28. package/dist/{NumberControl-CMNpx4WG.js → NumberControl-ChW-pvlh.js} +1 -1
  29. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-BlYuqX13.js → NumberControlBase.vue_vue_type_script_setup_true_lang-LWj-bpcy.js} +2 -2
  30. package/dist/{NumberInput-ENzIDnS5.js → NumberInput-12yTCVfE.js} +1 -1
  31. package/dist/{OneOfDropdown-Cu8FF5Ze.js → OneOfDropdown-j71_7vyI.js} +1 -1
  32. package/dist/{RadioControl-6tuJOseA.js → RadioControl-CG0yX3Ub.js} +2 -2
  33. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-DPabFxvl.js +53 -0
  34. package/dist/{RichTextControl-D9REFhLS.js → RichTextControl-h8MeNoOF.js} +5 -5
  35. package/dist/{SectionHeading-DOd2OsDs.js → SectionHeading-Doylz5Rv.js} +1 -1
  36. package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-Cna8AUH7.js +16088 -0
  37. package/dist/{SectionLayout-CJjjNZLJ.js → SectionLayout-C_rlqZD8.js} +3 -3
  38. package/dist/SettingsSubPanel-DitQ0yY5.js +5 -0
  39. package/dist/{SettingsSubPanelLayout-D9zbg6n2.js → SettingsSubPanelLayout-B9dTErDd.js} +20 -17
  40. package/dist/{SimpleButtonControl-CLbfVge3.js → SimpleButtonControl-DG82iZ54.js} +2 -2
  41. package/dist/{SimpleTwinlistControl-DH_UkRhe.js → SimpleTwinlistControl-C63Sa2oV.js} +2 -2
  42. package/dist/{SingleSelectControl-C5G4Z1Wi.js → SingleSelectControl-CKgQRqeB.js} +2 -2
  43. package/dist/{SingleSelectListBoxControl-Ck94Jfsh.js → SingleSelectListBoxControl-YFwVzmEC.js} +3 -3
  44. package/dist/{SortListControl-FGNHykI_.js → SortListControl-CxEhA8Lm.js} +6 -6
  45. package/dist/{StyledListItem-CDsH7MIl.js → StyledListItem-pSelVTsa.js} +1 -1
  46. package/dist/{TextAreaControl-CYZxvsZz.js → TextAreaControl-DjEAFJo8.js} +1 -1
  47. package/dist/{TextControl-DV-hgorP.js → TextControl-Dmls4jLI.js} +1 -1
  48. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-BQWb3r7R.js → TextControl.vue_vue_type_script_setup_true_lang-c-eDDlo7.js} +3 -3
  49. package/dist/{TimeControl-Bbo5ahOQ.js → TimeControl-C02pKEo6.js} +1 -1
  50. package/dist/{TwinlistControlBase-CTIs-IEA.js → TwinlistControlBase-D25Erjdy.js} +3 -3
  51. package/dist/{TwinlistLoadingInfo-a47oFoX4.js → TwinlistLoadingInfo-J5ga_0Gd.js} +4 -4
  52. package/dist/{TypedStringFilter-Db8cwNqh.js → TypedStringFilter-DviUuQor.js} +1 -1
  53. package/dist/{ValueSwitch-BHcygKzp.js → ValueSwitch-7Udh2n-Y.js} +1 -2
  54. package/dist/{ValueSwitchControl-B11Ix256.js → ValueSwitchControl-DuTvKtnN.js} +1 -1
  55. package/dist/{VerticalLayout-BVnJE_so.js → VerticalLayout-CtseFIz_.js} +2 -2
  56. package/dist/{VerticalLayoutBase-By-vJp_a.js → VerticalLayoutBase-BYYVEuP9.js} +1 -1
  57. package/dist/{ZonedDateTimeControl-Dj7LvlYX.js → ZonedDateTimeControl-DTpLJtRQ.js} +3 -3
  58. package/dist/{_baseEach-B1n-3ivL.js → _baseEach-Bvj4WsBC.js} +2 -2
  59. package/dist/{_baseIteratee-DzsWv-ut.js → _baseIteratee-CeMyrcou.js} +3 -3
  60. package/dist/{_getTag-060u8yCd.js → _getTag-DTVCLmzR.js} +1 -1
  61. package/dist/circle-info-DL9BFZEc-BlUxsw1S.js +22 -0
  62. package/dist/cloud-pending-changes-BrwTyYkH-Df15HkO9.js +22 -0
  63. package/dist/cloud-synced-Cjce2vj8-GMCQW_DC.js +22 -0
  64. package/dist/{collection-set-datatype-DYpMtzHI-BAH6qrtm.js → collection-set-datatype-BmEIjJCx-MUrsBW2o.js} +1 -1
  65. package/dist/{data-app-DLBrad5z-ghnHUSuw.js → data-app-wBNobXat-CXPsK3b6.js} +1 -1
  66. package/dist/{db-table-view-ChgmvJ0r-CvHeXlJo.js → db-table-view-B0xGvbnv-RiDVa8MA.js} +4 -4
  67. package/dist/{eye-hI4CjRyR-D1yfof1V.js → eye-BaEvu1WZ-BpciBkk1.js} +1 -1
  68. package/dist/{helm-datatype-DIMao1A4-CqUu53i9.js → helm-datatype-BWAUZ-Tt-lCK_ibQI.js} +1 -1
  69. package/dist/{json-datatype-4Cs2Inbb-CHLGkSJW.js → json-datatype-CK5bFgQy-3HlHE4GY.js} +1 -1
  70. package/dist/knime-jsonforms.css +1 -1
  71. package/dist/knime-jsonforms.js +7 -7
  72. package/dist/{labeling-datatype-DUpw8k46-Cphkqi1m.js → labeling-datatype-DubVeYXo-CqbthiMM.js} +1 -1
  73. package/dist/{layout-editor-DOPFq0xW-YSdL_b1k.js → layout-editor-CrJYLsDK-BaTdRQnD.js} +1 -1
  74. package/dist/{local-filesystem-BcErf0xu-CaF2Y1Tc.js → local-filesystem-D9Znqo5U-U94FQxJl.js} +1 -1
  75. package/dist/{localTimeUtils-3uql0tij.js → localTimeUtils-B0NArLJ2.js} +6 -6
  76. package/dist/{molecule-CLDlIAXW-Cd_6COLP.js → molecule-C9PFhX46-rfOXspjU.js} +1 -1
  77. package/dist/{pan-mode-CQcOEdj0-BG9Y3gNk.js → pan-mode-DqMDNpGh-B-vK1-Fq.js} +1 -1
  78. package/dist/{placeholder-DFusG4dS-C0OYpKWi.js → placeholder-6jSUL5uH-D-p7PMun.js} +1 -1
  79. package/dist/{quote-CAiTBbb2-D5nE-gMC.js → quote-B_HXPGC--OPFjFLCQ.js} +1 -1
  80. package/dist/{selected-execution-BHXH8Aoa-rMkoxsmi.js → selected-execution-Dt9jKAcj-BF8Zh3WB.js} +1 -1
  81. package/dist/{shortcuts-CcA_xwev-vb2K_yn6.js → shortcuts-Bu3KkyH3-1aFz6eJi.js} +3 -3
  82. package/dist/{sort-descending-V0E4m-jq-CdsXAwlb.js → sort-descending-DZiglaz4-Dv0Ijz67.js} +1 -1
  83. package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +2 -5
  84. package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +6 -7
  85. package/dist/src/uiComponents/RadioControlBase.vue.d.ts +1 -1
  86. package/dist/testing.js +2 -2
  87. package/dist/{toString-DE2CGdQK.js → toString-C8PjdLgE.js} +1 -1
  88. package/dist/{undo-w2w12pRI-C-fCUZ9E.js → undo-DaXvDNyj-C0zl-1D0.js} +1 -1
  89. package/dist/{unknown-datatype-jbeH2fL7-CVXBH-Gx.js → unknown-datatype-HVRhR0XQ-B57KtQ-L.js} +3 -3
  90. package/dist/{useBuiltinValidations-DsWOSZHX.js → useBuiltinValidations-BjpPp571.js} +1 -1
  91. package/dist/{usePossibleValues-DSX6MD8-.js → usePossibleValues-C-Bvgqn_.js} +1 -1
  92. package/dist/{variable-collection-double-BkzlN3v3-CYavUZAJ.js → variable-collection-double-D9bZO46e-CPDgARFh.js} +1 -1
  93. package/dist/{variable-conda-environment-DVP3RIkn-B3eY5dsr.js → variable-conda-environment-Hrl_-hfW-C2JcpEeS.js} +1 -1
  94. package/dist/{variable-unknown-CMTvsNQf-CejS29Nu.js → variable-unknown-DLlsEO5w-B5kulY_F.js} +1 -1
  95. package/dist/{view-cards-DEIlZarp-SZd95Oc7.js → view-cards-BTGqIH1C-Cqow7VGW.js} +1 -1
  96. package/package.json +4 -4
  97. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BgXRg1eC.js +0 -108
  98. package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-_VwaFWB3.js +0 -15898
  99. package/dist/SettingsSubPanel-D-Mp_9qZ.js +0 -5
  100. package/dist/circle-info-PD8-gqwS-BVTuhV8y.js +0 -22
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as u, ref as i, onMounted as E, createElementBlock as P, createCommentVNode as T, openBlock as c, createElementVNode as S, provide as b, computed as h, watch as C, createBlock as F, Suspense as A, withCtx as d, createVNode as l, renderSlot as D, unref as B, mergeProps as I, nextTick as O } from "vue";
2
- import { _, p as J, F as M, s as N, U as $, i as R } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-_VwaFWB3.js";
3
- import { E as oe, L as ae, a as se, c as re, f as ne, e as de, d as le, g as ie, h as ce, k as ue, l as me, j as pe, m as fe, b as ve, n as ge, t as he, u as De, w as ye } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-_VwaFWB3.js";
4
- import { default as Se } from "./SimpleButtonControl-CLbfVge3.js";
5
- import { _ as xe } from "./TextControl.vue_vue_type_script_setup_true_lang-BQWb3r7R.js";
6
- import { V as we } from "./VerticalLayoutBase-By-vJp_a.js";
7
- import { S as ke } from "./SectionHeading-DOd2OsDs.js";
8
- import { S as Te } from "./SettingsSubPanel-D-Mp_9qZ.js";
2
+ import { _, p as J, F as M, s as N, U as $, i as R } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-Cna8AUH7.js";
3
+ import { E as oe, L as ae, a as se, c as re, f as ne, e as de, d as le, g as ie, h as ce, k as ue, l as me, j as pe, m as fe, b as ve, n as ge, t as he, u as De, w as ye } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-Cna8AUH7.js";
4
+ import { default as Se } from "./SimpleButtonControl-DG82iZ54.js";
5
+ import { _ as xe } from "./TextControl.vue_vue_type_script_setup_true_lang-c-eDDlo7.js";
6
+ import { V as we } from "./VerticalLayoutBase-BYYVEuP9.js";
7
+ import { S as ke } from "./SectionHeading-Doylz5Rv.js";
8
+ import { S as Te } from "./SettingsSubPanel-DitQ0yY5.js";
9
9
  const V = {
10
10
  key: 0,
11
11
  class: "loading-dialog skeleton-wrapper"
@@ -9,7 +9,7 @@ const r = {
9
9
  function l(c, e) {
10
10
  return o(), n("svg", r, [...e[0] || (e[0] = [
11
11
  t("path", {
12
- d: "M5.508 10 1.75 6.242 5.653 2.34a1.16 1.16 0 0 1 .981-.328l1.857.264c.51.073.911.473.984.983l.264 1.858c.05.36-.07.723-.328.98z",
12
+ d: "M5.508 10 1.75 6.242 5.653 2.34c.258-.257.621-.379.981-.328l1.857.264c.51.073.911.473.984.983l.264 1.858c.05.36-.07.723-.328.98z",
13
13
  "vector-effect": "non-scaling-stroke"
14
14
  }, null, -1),
15
15
  t("path", {
@@ -9,7 +9,7 @@ const r = {
9
9
  function a(l, e) {
10
10
  return t(), o("svg", r, [...e[0] || (e[0] = [
11
11
  n("path", {
12
- d: "M1.5 1.75a.25.25 0 0 1 .25-.25h8.5a.25.25 0 0 1 .25.25V3.5a.25.25 0 0 1-.25.25h-8.5a.25.25 0 0 1-.25-.25zm0 4.5A.25.25 0 0 1 1.75 6h2.313a.25.25 0 0 1 .25.25v4a.25.25 0 0 1-.25.25H1.75a.25.25 0 0 1-.25-.25zm5.063 0a.25.25 0 0 1 .25-.25h3.437a.25.25 0 0 1 .25.25v4a.25.25 0 0 1-.25.25H6.813a.25.25 0 0 1-.25-.25z",
12
+ d: "M1.5 1.75a.25.25 0 0 1 .25-.25h8.5a.25.25 0 0 1 .25.25V3.5a.25.25 0 0 1-.25.25h-8.5a.25.25 0 0 1-.25-.25zM1.5 6.25A.25.25 0 0 1 1.75 6h2.313a.25.25 0 0 1 .25.25v4a.25.25 0 0 1-.25.25H1.75a.25.25 0 0 1-.25-.25zM6.563 6.25a.25.25 0 0 1 .25-.25h3.437a.25.25 0 0 1 .25.25v4a.25.25 0 0 1-.25.25H6.813a.25.25 0 0 1-.25-.25z",
13
13
  "vector-effect": "non-scaling-stroke"
14
14
  }, null, -1)
15
15
  ])]);
@@ -10,7 +10,7 @@ function l(c, e) {
10
10
  n("path", {
11
11
  fill: "#000",
12
12
  stroke: "none",
13
- d: "M1 7.316H.5zM8.963 11a.5.5 0 0 0 0-1zM3 10a.5.5 0 0 0 0 1zM1.556 7.88v.5h8.888v-1H1.556zm8.888 0v.5c.58 0 1.056-.495 1.056-1.064h-1a.08.08 0 0 1-.023.045c-.02.02-.034.02-.033.02zM11 7.317h.5V2.065h-1v5.25zm0-5.251h.5c0-.57-.475-1.065-1.056-1.065v1c-.001 0 .013 0 .033.02s.023.039.023.045zm-.556-.565V1H1.556v1h8.888zm-8.888 0V1C.976 1 .5 1.495.5 2.065h1c0-.006.004-.025.023-.045.02-.02.034-.02.033-.02zM1 2.065H.5v5.25h1v-5.25zm0 5.25H.5c0 .548.417 1.066 1.056 1.066v-1a.1.1 0 0 1-.029-.005l-.01-.007a.08.08 0 0 1-.017-.053zM8.963 10.5V10H3v1h5.963zm-4.185 0h.5V7.88h-1v2.62zm2.666-2.62h-.5v2.62h1V7.88z",
13
+ d: "M1 7.316H.5zM8.963 11a.5.5 0 0 0 0-1zM3 10a.5.5 0 0 0 0 1zM1.556 7.88v.5h8.888v-1H1.556zm8.888 0v.5c.58 0 1.056-.495 1.056-1.064h-1c0 .006-.004.025-.023.045-.02.02-.034.02-.033.02zM11 7.317h.5V2.065h-1v5.25zm0-5.251h.5c0-.57-.475-1.065-1.056-1.065v1c-.001 0 .013 0 .033.02s.023.039.023.045zm-.556-.565V1H1.556v1h8.888zm-8.888 0V1C.976 1 .5 1.495.5 2.065h1c0-.006.004-.025.023-.045.02-.02.034-.02.033-.02zM1 2.065H.5v5.25h1v-5.25zm0 5.25H.5c0 .548.417 1.066 1.056 1.066v-1a.1.1 0 0 1-.029-.005l-.01-.007a.08.08 0 0 1-.017-.053zM8.963 10.5V10H3v1h5.963zm-4.185 0h.5V7.88h-1v2.62zm2.666-2.62h-.5v2.62h1V7.88z",
14
14
  "vector-effect": "non-scaling-stroke"
15
15
  }, null, -1)
16
16
  ])]);
@@ -1,13 +1,13 @@
1
1
  import { resolveComponent as Ve, createElementBlock as A, openBlock as x, normalizeClass as oe, createElementVNode as q, createCommentVNode as ie, withModifiers as Wt, createVNode as V, reactive as za, computed as T, defineComponent as $e, ref as De, watch as Ue, onMounted as Rn, onUnmounted as Ga, toRefs as ql, nextTick as gr, useAttrs as jl, createBlock as Pe, renderSlot as Mr, unref as P, resolveDynamicComponent as Za, normalizeProps as br, mergeProps as Pt, inject as Cr, toRef as Dn, withCtx as Me, toDisplayString as He, Fragment as xe, renderList as Ke, normalizeStyle as Dr, withKeys as Cn, withDirectives as Bs, watchEffect as zs, provide as Or, guardReactiveProps as $a, createTextVNode as Ka, isRef as lr, Transition as Gs, resolveDirective as Vl, toHandlers as Zs } from "vue";
2
2
  import { c as Bl } from "./popper-LGjf7Wza.js";
3
- import { _ as Ks, H as qn, I as zl } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-_VwaFWB3.js";
4
- import { D as Gl } from "./Dropdown-eGkp504L.js";
3
+ import { _ as Ks, H as qn, I as zl } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-Cna8AUH7.js";
4
+ import { D as Gl } from "./Dropdown-B9VczAJN.js";
5
5
  import { A as Zl } from "./arrow-dropdown-BHK4j8GT.js";
6
6
  /* empty css */
7
- import { a as Kl } from "./toString-DE2CGdQK.js";
8
- import { b as Xl } from "./_baseIteratee-DzsWv-ut.js";
9
- import { b as Ql } from "./_baseEach-B1n-3ivL.js";
10
- import { d as Jl } from "./_getTag-060u8yCd.js";
7
+ import { a as Kl } from "./toString-C8PjdLgE.js";
8
+ import { b as Xl } from "./_baseIteratee-CeMyrcou.js";
9
+ import { b as Ql } from "./_baseEach-Bvj4WsBC.js";
10
+ import { d as Jl } from "./_getTag-DTVCLmzR.js";
11
11
  import { i as ec } from "./isArray-WzO_os3q.js";
12
12
  function st(e) {
13
13
  "@babel/helpers - typeof";
@@ -10,7 +10,7 @@ const r = {
10
10
  function l(m, e) {
11
11
  return n(), o("svg", r, [...e[0] || (e[0] = [
12
12
  t("path", {
13
- d: "M3.622 5.563V3.375l1.72-.875 1.72.875m-3.44 2.188 1.72.875m-1.72-.875L1.5 6.82m3.842-.383 1.72-.875m-1.72.875v2.188l1.72.875 1.719-.875V6.438m-1.72-.875V3.375m0 2.188 1.72.875M7.06 3.375 8.78 2.5m0 3.938 1.719-.875",
13
+ d: "M3.622 5.563V3.375l1.72-.875 1.72.875m-3.44 2.188 1.72.875m-1.72-.875L1.5 6.82m3.842-.383 1.72-.875m-1.72.875v2.188l1.72.875 1.719-.875V6.438m-1.72-.875V3.375m0 2.188 1.72.875M7.06 3.375l1.72-.875m0 3.938 1.719-.875",
14
14
  "vector-effect": "non-scaling-stroke"
15
15
  }, null, -1)
16
16
  ])]);
@@ -10,7 +10,7 @@ const r = {
10
10
  function l(c, e) {
11
11
  return n(), o("svg", r, [...e[0] || (e[0] = [
12
12
  t("path", {
13
- d: "M4.382 6.361V2.325a.723.723 0 0 1 1.446 0m0 0V5.82m0-3.494v-.602a.723.723 0 0 1 1.445 0V5.82m0-3.494a.723.723 0 1 1 1.446 0v3.856m0-2.17a.723.723 0 1 1 1.446 0v2.892c0 .422-.06 1.808-.783 2.711C8.117 11.06 8.702 11 7.936 11H6.31h.1-.76c-.76-.678-1.213-1.343-1.75-2.169-.15-.23-.902-1.342-1.807-2.952a.723.723 0 0 1 .258-.974.9.9 0 0 1 1.099.135l.872 1.321",
13
+ d: "M4.382 6.361V2.325a.723.723 0 0 1 1.446 0m0 0V5.82m0-3.494v-.602a.723.723 0 0 1 1.445 0v4.096m0-3.494a.723.723 0 1 1 1.446 0v3.856m0-2.17a.723.723 0 1 1 1.446 0v2.892c0 .422-.06 1.808-.783 2.711C8.117 11.06 8.702 11 7.936 11H6.31h.1-.76c-.76-.678-1.213-1.343-1.75-2.169-.15-.23-.902-1.342-1.807-2.952a.723.723 0 0 1 .258-.974.9.9 0 0 1 1.099.135l.872 1.321",
14
14
  "vector-effect": "non-scaling-stroke"
15
15
  }, null, -1)
16
16
  ])]);
@@ -9,7 +9,7 @@ const r = {
9
9
  function c(l, e) {
10
10
  return t(), o("svg", r, [...e[0] || (e[0] = [
11
11
  n("path", {
12
- d: "M6 6 1.83 1.83M6 6l4.17 4.17M6 6l4.17-4.17M6 6l-4.17 4.17m0-8.34c.203-.204.484-.33.795-.33h6.75c.31 0 .592.126.796.33m-8.341 0c-.204.203-.33.484-.33.795v6.75c0 .31.126.592.33.796m8.34 0c.204-.204.33-.485.33-.796v-6.75c0-.31-.126-.592-.33-.796m0 8.342a1.12 1.12 0 0 1-.795.329h-6.75c-.31 0-.592-.126-.796-.33M9.939 6a3.938 3.938 0 1 1-7.876 0 3.938 3.938 0 0 1 7.876 0Z",
12
+ d: "M6 6 1.83 1.83M6 6l4.17 4.17M6 6l4.17-4.17M6 6l-4.17 4.17m0-8.34c.203-.204.484-.33.795-.33h6.75c.31 0 .592.126.796.33m-8.341 0c-.204.203-.33.484-.33.795v6.75c0 .31.126.592.33.796m8.34 0c.204-.204.33-.485.33-.796v-6.75c0-.31-.126-.592-.33-.796m0 8.342c-.203.203-.484.329-.795.329h-6.75c-.31 0-.592-.126-.796-.33M9.939 6a3.938 3.938 0 1 1-7.876 0 3.938 3.938 0 0 1 7.876 0Z",
13
13
  "vector-effect": "non-scaling-stroke"
14
14
  }, null, -1)
15
15
  ])]);
@@ -10,7 +10,7 @@ const r = {
10
10
  function c(l, e) {
11
11
  return t(), o("svg", r, [...e[0] || (e[0] = [
12
12
  n("path", {
13
- d: "M3 7.426h7.5m0 2.074H3m4.5-4.148h3m0-2.074h-3m-3 1.037H5c.099 0 .196.03.278.087a.5.5 0 0 1 .184.233.54.54 0 0 1-.108.565.48.48 0 0 1-.545.112.5.5 0 0 1-.225-.19.53.53 0 0 1-.084-.289V3.537c0-.275.105-.539.293-.733A.98.98 0 0 1 5.5 2.5m-4 1.815H2c.099 0 .196.03.278.087a.5.5 0 0 1 .184.233.54.54 0 0 1-.108.565.48.48 0 0 1-.545.112.5.5 0 0 1-.225-.19.53.53 0 0 1-.084-.289V3.537c0-.275.105-.539.293-.733A.98.98 0 0 1 2.5 2.5",
13
+ d: "M3 7.426h7.5m0 2.074H3m4.5-4.148h3m0-2.074h-3m-3 1.037H5c.099 0 .196.03.278.087a.5.5 0 0 1 .184.233.54.54 0 0 1-.108.565.483.483 0 0 1-.545.112.5.5 0 0 1-.225-.19.53.53 0 0 1-.084-.289V3.537c0-.275.105-.539.293-.733A.98.98 0 0 1 5.5 2.5m-4 1.815H2c.099 0 .196.03.278.087a.5.5 0 0 1 .184.233.54.54 0 0 1-.108.565.483.483 0 0 1-.545.112.5.5 0 0 1-.225-.19.53.53 0 0 1-.084-.289V3.537c0-.275.105-.539.293-.733A.98.98 0 0 1 2.5 2.5",
14
14
  "vector-effect": "non-scaling-stroke"
15
15
  }, null, -1)
16
16
  ])]);
@@ -10,7 +10,7 @@ const r = {
10
10
  function l(c, e) {
11
11
  return t(), o("svg", r, [...e[0] || (e[0] = [
12
12
  n("path", {
13
- d: "M7.25 3h2.633c.34 0 .617.276.617.617v6.266a.617.617 0 0 1-.617.617H3.617A.617.617 0 0 1 3 9.883V7.25m2.16-3.962L1.884 1.239a.25.25 0 0 0-.383.212V5.55a.25.25 0 0 0 .383.212l3.276-2.05a.25.25 0 0 0 0-.424",
13
+ d: "M7.25 3h2.633c.34 0 .617.276.617.617v6.266a.617.617 0 0 1-.617.617H3.617A.617.617 0 0 1 3 9.883V7.25m2.16-3.962L1.884 1.239a.25.25 0 0 0-.383.212V5.55a.25.25 0 0 0 .383.212L5.16 3.712a.25.25 0 0 0 0-.424",
14
14
  "vector-effect": "non-scaling-stroke"
15
15
  }, null, -1)
16
16
  ])]);
@@ -9,13 +9,13 @@ const r = {
9
9
  function l(s, e) {
10
10
  return t(), o("svg", r, [...e[0] || (e[0] = [
11
11
  n("path", {
12
- d: "M11 3H8.778v2.182H11zm0 3.818H8.778V9H11zM7.111 3H4.89v2.182h2.22zm0 3.818H4.89V9h2.22zM3.222 3H1v2.182h2.222zm0 3.818H1V9h2.222z",
12
+ d: "M11 3H8.778v2.182H11zM11 6.818H8.778V9H11zM7.111 3H4.89v2.182H7.11zM7.111 6.818H4.89V9H7.11zM3.222 3H1v2.182h2.222zM3.222 6.818H1V9h2.222z",
13
13
  "vector-effect": "non-scaling-stroke"
14
14
  }, null, -1)
15
15
  ])]);
16
16
  }
17
- const i = { render: l };
17
+ const H = { render: l };
18
18
  export {
19
- i as default,
19
+ H as default,
20
20
  l as render
21
21
  };
@@ -10,7 +10,7 @@ const r = {
10
10
  function l(s, e) {
11
11
  return n(), o("svg", r, [...e[0] || (e[0] = [
12
12
  t("path", {
13
- d: "M6 7.5 3.5 10m0 0L1 7.5M3.5 10V1.5m2 0h5m-5 2h4.023M5.5 5.5h3.047",
13
+ d: "M6 7.5 3.5 10m0 0L1 7.5M3.5 10V1.5M5.5 1.5h5m-5 2h4.023M5.5 5.5h3.047",
14
14
  "vector-effect": "non-scaling-stroke"
15
15
  }, null, -1)
16
16
  ])]);
@@ -3,6 +3,7 @@ export type SettingsSubPanelProps = {
3
3
  showBackArrow?: boolean;
4
4
  hideButtonsWhenExpanded?: boolean;
5
5
  backgroundColorOverride?: string;
6
+ backButtonLabel?: string;
6
7
  };
7
8
  /**
8
9
  * Exported for tests
@@ -12,11 +13,7 @@ export declare const provideSideDrawerTeleportDest: (subPanelTeleportDest: Ref<H
12
13
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<SettingsSubPanelProps, {
13
14
  expand: () => void;
14
15
  close: () => void;
15
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SettingsSubPanelProps> & Readonly<{}>, {
16
- backgroundColorOverride: string;
17
- showBackArrow: boolean;
18
- hideButtonsWhenExpanded: boolean;
19
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
16
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SettingsSubPanelProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
20
17
  'expand-button'?(_: {
21
18
  expand: () => void;
22
19
  }): any;
@@ -1,11 +1,10 @@
1
- type __VLS_Props = {
1
+ interface Props {
2
2
  backgroundColorOverride?: string;
3
- };
4
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ backButtonLabel?: string;
4
+ }
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
6
  click: (...args: any[]) => void;
6
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
7
+ }, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
7
8
  onClick?: ((...args: any[]) => any) | undefined;
8
- }>, {
9
- backgroundColorOverride: string;
10
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
9
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
11
10
  export default _default;
@@ -1,4 +1,4 @@
1
- import { VueControlPropsForLabelContent } from '../higherOrderComponents/control/withLabel';
1
+ import { VueControlPropsForLabelContent } from '../higherOrderComponents';
2
2
  type __VLS_Props = VueControlPropsForLabelContent<string> & {
3
3
  type: "radio" | "valueSwitch";
4
4
  };
package/dist/testing.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as nh from "vue";
2
2
  import { ssrUtils as Ii, initDirectivesForSSR as V_, nextTick as uo, defineComponent as li, computed as kr, h as En, shallowReactive as q_, reactive as U_, ref as rh, createApp as W_, transformVNodeArgs as z_, setDevtoolsHook as K_, isRef as G_, TransitionGroup as H_, Transition as X_, BaseTransition as Y_ } from "vue";
3
- import { o as J_, q as Q_, e as Z_ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-_VwaFWB3.js";
4
- import { b as em } from "./_baseIteratee-DzsWv-ut.js";
3
+ import { o as J_, q as Q_, e as Z_ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-Cna8AUH7.js";
4
+ import { b as em } from "./_baseIteratee-CeMyrcou.js";
5
5
  function tm(e, t) {
6
6
  return e > t;
7
7
  }
@@ -1,4 +1,4 @@
1
- import { o as g, S as s } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-_VwaFWB3.js";
1
+ import { o as g, S as s } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-Cna8AUH7.js";
2
2
  import { i as l } from "./isArray-WzO_os3q.js";
3
3
  function p(r, t) {
4
4
  for (var n = -1, i = r == null ? 0 : r.length, o = Array(i); ++n < i; )
@@ -10,7 +10,7 @@ const r = {
10
10
  function l(c, e) {
11
11
  return n(), o("svg", r, [...e[0] || (e[0] = [
12
12
  t("path", {
13
- d: "m1.5 8.5 3.532-3.94a3.162 3.162 0 0 1 4.726 0c.795.887.74 1.492.74 3.439m-9 .5h3.754M1.5 8.5V4.315",
13
+ d: "M1.5 8.5 5.032 4.56a3.162 3.162 0 0 1 4.726 0c.795.887.74 1.492.74 3.439m-9 .5h3.754M1.5 8.5V4.315",
14
14
  "vector-effect": "non-scaling-stroke"
15
15
  }, null, -1)
16
16
  ])]);
@@ -10,13 +10,13 @@ const r = {
10
10
  function l(c, e) {
11
11
  return o(), n("svg", r, [...e[0] || (e[0] = [
12
12
  t("path", {
13
- d: "M4.5 4.102c0-.292.138-.572.384-.78.246-.206.58-.322.928-.322h.374c.348 0 .682.116.928.323s.384.487.384.78c.014.238-.052.474-.187.673s-.332.35-.562.429c-.23.105-.428.306-.563.57-.135.266-.2.581-.187.9m.25 2.08H6m.25 0a.24.24 0 0 0-.074-.172m.073.173a.24.24 0 0 1-.073.172m-.425-.172H6m-.25 0c0-.072.033-.137.083-.182m-.082.182a.24.24 0 0 0 .073.172M6 8.756l-.167-.182M6 8.756l.176-.173M6 8.756l.176.172M6 8.756l-.176.172m.01-.354a.25.25 0 0 1 .342.01m0 .344a.25.25 0 0 1-.352 0",
13
+ d: "M4.5 4.102c0-.292.138-.572.384-.78.246-.206.58-.322.928-.322h.374c.348 0 .682.116.928.323s.384.487.384.78c.014.238-.052.474-.187.673s-.332.35-.562.429c-.23.105-.428.306-.563.57-.135.266-.2.581-.187.9m.25 2.08H6m.25 0a.24.24 0 0 0-.074-.172m.073.173a.24.24 0 0 1-.073.172m-.425-.172H6m-.25 0c0-.072.033-.137.083-.182m-.082.182c0 .067.028.128.073.172M6 8.756l-.167-.182M6 8.756l.176-.173M6 8.756l.176.172M6 8.756l-.176.172m.01-.354a.25.25 0 0 1 .342.01m0 .344a.25.25 0 0 1-.352 0",
14
14
  "vector-effect": "non-scaling-stroke"
15
15
  }, null, -1)
16
16
  ])]);
17
17
  }
18
- const a = { render: l };
18
+ const m = { render: l };
19
19
  export {
20
- a as default,
20
+ m as default,
21
21
  l as render
22
22
  };
@@ -1,5 +1,5 @@
1
1
  import { onUnmounted as u, toRef as p, computed as d } from "vue";
2
- import { u as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-_VwaFWB3.js";
2
+ import { u as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-Cna8AUH7.js";
3
3
  const h = (t = {}) => t.validation || null, m = (t) => t.replace(/^validation\./, ""), v = (t) => {
4
4
  const a = (t.providedOptions ?? []).filter(
5
5
  (e) => e.startsWith("validation.")
@@ -1,5 +1,5 @@
1
1
  import { computed as l } from "vue";
2
- import { u as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-_VwaFWB3.js";
2
+ import { u as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-Cna8AUH7.js";
3
3
  const t = (s, e) => {
4
4
  const u = l(() => s.value.uischema), o = d(u, "possibleValues");
5
5
  return { possibleValues: l(() => u.value.providedOptions?.includes("possibleValues") ? o.value : u.value.options?.possibleValues ?? (typeof e?.defaultOnNonProvided > "u" ? [] : e?.defaultOnNonProvided)) };
@@ -10,7 +10,7 @@ const t = {
10
10
  function c(l, e) {
11
11
  return r(), n("svg", t, [...e[0] || (e[0] = [
12
12
  o("path", {
13
- d: "M9.502 5.24v1.695c0 .248-.1.486-.278.661a.96.96 0 0 1-1.346 0 .93.93 0 0 1-.279-.66V5.064q0-.07.011-.14M2.871 7.683h-.186m.186 0a.2.2 0 0 0-.054-.132m.054.132c0 .052-.02.099-.054.133m-.32-.133h.188m-.187 0c0-.055.024-.104.061-.139m-.061.14c0 .051.02.098.054.131m.133-.132-.126-.139m.126.14.132-.133m-.132.132.132.133m-.132-.133-.133.133m.007-.272a.186.186 0 0 1 .258.007m0 .264a.186.186 0 0 1-.265 0m.699 2.935H1v-9.5h2.25m5.357 9.5H11V4.625M5.22 4.13a.96.96 0 0 1 .674.274.93.93 0 0 1 .278.66v1.871c0 .248-.1.486-.278.661a.96.96 0 0 1-1.346 0 .93.93 0 0 1-.279-.66V5.064c0-.248.1-.486.28-.661a.96.96 0 0 1 .672-.274",
13
+ d: "M9.502 5.24v1.695c0 .248-.1.486-.278.661a.96.96 0 0 1-1.346 0 .93.93 0 0 1-.279-.66V5.064q0-.07.011-.14M2.871 7.683h-.186m.186 0a.19.19 0 0 0-.054-.132m.054.132c0 .052-.02.099-.054.133m-.32-.133h.188m-.187 0c0-.055.024-.104.061-.139m-.061.14c0 .051.02.098.054.131m.133-.132-.126-.139m.126.14.132-.133m-.132.132.132.133m-.132-.133-.133.133m.007-.272a.186.186 0 0 1 .258.007m0 .264a.186.186 0 0 1-.265 0m.699 2.935H1v-9.5h2.25m5.357 9.5H11V4.625M5.22 4.13a.96.96 0 0 1 .674.274.93.93 0 0 1 .278.66v1.871c0 .248-.1.486-.278.661a.96.96 0 0 1-1.346 0 .93.93 0 0 1-.279-.66V5.064c0-.248.1-.486.28-.661a.96.96 0 0 1 .672-.274",
14
14
  "vector-effect": "non-scaling-stroke"
15
15
  }, null, -1),
16
16
  o("circle", {
@@ -10,7 +10,7 @@ const t = {
10
10
  function l(c, e) {
11
11
  return r(), o("svg", t, [...e[0] || (e[0] = [
12
12
  n("path", {
13
- d: "M5.5 5.167H2.389a.89.89 0 0 0-.889.889v1.777a.89.89 0 0 0 .889.89h1.333m1.778-.89h3.111a.89.89 0 0 0 .889-.889V5.167m-5.778 0V3.389a.89.89 0 0 1 .89-.889h1.777c.157 0 .31.042.444.12m.445 5.213v1.778a.89.89 0 0 1-.89.889H4.612a.89.89 0 0 1-.889-.889V7.39a.89.89 0 0 1 .89-.889H6.39a.89.89 0 0 0 .889-.889V4.285m-2.222-.452v.005m.888 5.329v.004",
13
+ d: "M5.5 5.167H2.389a.89.89 0 0 0-.889.889v1.777a.89.89 0 0 0 .889.89h1.333m1.778-.89h3.111a.89.89 0 0 0 .889-.889V5.167m-5.778 0V3.389a.89.89 0 0 1 .89-.889h1.777c.157 0 .31.042.444.12m.445 5.213v1.778a.89.89 0 0 1-.89.889H4.612a.89.89 0 0 1-.889-.889V7.39a.89.89 0 0 1 .89-.889h1.777a.89.89 0 0 0 .889-.889V4.285m-2.222-.452v.005m.888 5.329v.004",
14
14
  "vector-effect": "non-scaling-stroke"
15
15
  }, null, -1),
16
16
  n("circle", {
@@ -10,7 +10,7 @@ const t = {
10
10
  function l(c, e) {
11
11
  return r(), o("svg", t, [...e[0] || (e[0] = [
12
12
  n("path", {
13
- d: "M4.5 4.102c0-.292.138-.572.384-.78.246-.206.58-.322.928-.322h.374c.348 0 .682.116.928.323s.384.487.384.78c.014.238-.052.474-.187.673s-.332.35-.562.429c-.23.105-.428.306-.563.57-.135.266-.2.581-.187.9m.25 2.08H6m.25 0a.24.24 0 0 0-.074-.172m.073.173a.24.24 0 0 1-.073.172m-.425-.172H6m-.25 0c0-.072.033-.137.083-.182m-.082.182a.24.24 0 0 0 .073.172M6 8.756l-.167-.182M6 8.756l.176-.173M6 8.756l.176.172M6 8.756l-.176.172m.01-.354a.25.25 0 0 1 .342.01m0 .344a.25.25 0 0 1-.352 0",
13
+ d: "M4.5 4.102c0-.292.138-.572.384-.78.246-.206.58-.322.928-.322h.374c.348 0 .682.116.928.323s.384.487.384.78c.014.238-.052.474-.187.673s-.332.35-.562.429c-.23.105-.428.306-.563.57-.135.266-.2.581-.187.9m.25 2.08H6m.25 0a.24.24 0 0 0-.074-.172m.073.173a.24.24 0 0 1-.073.172m-.425-.172H6m-.25 0c0-.072.033-.137.083-.182m-.082.182c0 .067.028.128.073.172M6 8.756l-.167-.182M6 8.756l.176-.173M6 8.756l.176.172M6 8.756l-.176.172m.01-.354a.25.25 0 0 1 .342.01m0 .344a.25.25 0 0 1-.352 0",
14
14
  "vector-effect": "non-scaling-stroke"
15
15
  }, null, -1),
16
16
  n("circle", {
@@ -9,7 +9,7 @@ const r = {
9
9
  function l(s, e) {
10
10
  return t(), o("svg", r, [...e[0] || (e[0] = [
11
11
  n("path", {
12
- d: "M5.25 1.25h-4v4h4zm0 5.5h-4v4h4zm5.5-5.5h-4v4h4zm0 5.5h-4v4h4z",
12
+ d: "M5.25 1.25h-4v4h4zM5.25 6.75h-4v4h4zM10.75 1.25h-4v4h4zM10.75 6.75h-4v4h4z",
13
13
  "vector-effect": "non-scaling-stroke"
14
14
  }, null, -1)
15
15
  ])]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/jsonforms",
3
- "version": "1.17.0",
3
+ "version": "1.17.2",
4
4
  "description": "Internal JSON Forms integration for frontend KNIME projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,16 +16,16 @@
16
16
  "@jsonforms/core": "3.4.0",
17
17
  "@jsonforms/vue": "3.4.0",
18
18
  "@jsonforms/vue-vanilla": "3.4.0",
19
- "@knime/kds-components": "0.3.1",
19
+ "@knime/kds-components": "0.5.5",
20
20
  "ajv": "8.13.0",
21
21
  "date-fns": "2.30.0",
22
22
  "focus-trap-vue": "4.0.3",
23
23
  "tabbable": "6.2.0",
24
24
  "uuid": "10.0.0",
25
25
  "@knime/components": "1.44.0",
26
- "@knime/rich-text-editor": "1.8.5",
26
+ "@knime/styles": "1.15.0",
27
27
  "@knime/utils": "1.9.1",
28
- "@knime/styles": "1.15.0"
28
+ "@knime/rich-text-editor": "1.8.5"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "consola": "3.x",
@@ -1,108 +0,0 @@
1
- import { resolveComponent as m, createBlock as r, openBlock as c, normalizeClass as p, defineComponent as b, computed as d, ref as f, toRef as v, onMounted as V, createCommentVNode as B, resolveDynamicComponent as y } from "vue";
2
- import { o as h } from "./index-Blg1O3Fz.js";
3
- import { u as g } from "./usePossibleValues-DSX6MD8-.js";
4
- import { B as _, V as C } from "./ValueSwitch-BHcygKzp.js";
5
- import { _ as R } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-_VwaFWB3.js";
6
- const S = {
7
- name: "RadioButtons",
8
- components: {
9
- BaseRadioButtons: _
10
- },
11
- props: {
12
- // these props are passed to BaseRadioButtons
13
- id: {
14
- type: String,
15
- default: null
16
- },
17
- modelValue: {
18
- type: String,
19
- default: ""
20
- },
21
- disabled: {
22
- default: !1,
23
- type: Boolean
24
- },
25
- /**
26
- * List of possible values. Each item must have an `id` and a `text` property
27
- * @example
28
- * [{
29
- * id: 'pdf',
30
- * text: 'PDF'
31
- * }, {
32
- * id: 'XLS',
33
- * text: 'Excel',
34
- * }]
35
- */
36
- possibleValues: {
37
- type: Array,
38
- default: () => []
39
- },
40
- // additional props
41
- alignment: {
42
- type: String,
43
- default: "horizontal",
44
- validator(e) {
45
- return ["horizontal", "vertical"].includes(e);
46
- }
47
- }
48
- },
49
- emits: ["update:modelValue"],
50
- methods: {
51
- hasSelection() {
52
- return this.$refs.radioButton.$refs.input.some((e) => e.checked);
53
- }
54
- }
55
- };
56
- function x(e, o, t, i, u, n) {
57
- const s = m("BaseRadioButtons");
58
- return c(), r(s, {
59
- id: t.id,
60
- ref: "radioButton",
61
- "possible-values": t.possibleValues,
62
- "model-value": t.modelValue,
63
- disabled: t.disabled,
64
- class: p(["radio-buttons", t.alignment, { disabled: t.disabled }]),
65
- "onUpdate:modelValue": o[0] || (o[0] = (a) => e.$emit("update:modelValue", a))
66
- }, null, 8, ["id", "possible-values", "model-value", "disabled", "class"]);
67
- }
68
- const F = /* @__PURE__ */ R(S, [["render", x], ["__scopeId", "data-v-64d48b6a"]]), M = /* @__PURE__ */ b({
69
- __name: "RadioControlBase",
70
- props: {
71
- control: {},
72
- handleChange: { type: Function },
73
- changeValue: { type: Function },
74
- disabled: { type: Boolean },
75
- isValid: { type: Boolean },
76
- onRegisterValidation: { type: Function },
77
- labelForId: {},
78
- type: {}
79
- },
80
- setup(e) {
81
- const o = e, t = d(() => o.control.uischema.options?.radioLayout), i = (l) => ({
82
- id: l.id,
83
- text: l.text,
84
- ...l.disabled ? { disabled: !0 } : {}
85
- }), u = d(
86
- () => o.type === "valueSwitch" ? C : F
87
- ), n = f(null), { possibleValues: s } = g(v(o, "control"), {
88
- defaultOnNonProvided: null
89
- }), a = d(
90
- () => (s.value ?? n.value)?.map(i)
91
- );
92
- return V(() => {
93
- n.value = o.control?.schema?.oneOf ? o.control.schema.oneOf.map(h) : null;
94
- }), (l, O) => a.value ? (c(), r(y(u.value), {
95
- key: 0,
96
- id: e.labelForId,
97
- "possible-values": a.value,
98
- alignment: t.value,
99
- disabled: e.disabled,
100
- "model-value": e.control.data,
101
- compact: "",
102
- "onUpdate:modelValue": e.changeValue
103
- }, null, 8, ["id", "possible-values", "alignment", "disabled", "model-value", "onUpdate:modelValue"])) : B("", !0);
104
- }
105
- });
106
- export {
107
- M as _
108
- };