@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
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @knime/json-forms
2
2
 
3
+ ## 1.15.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0df972d: Dependency updates. Mostly relevant:
8
+
9
+ - vite, vitest (and coverage reporter), vite-plugin-vue, vue-tsc
10
+ - tiptap
11
+ - vueuse/core
12
+
13
+ Other improvements:
14
+
15
+ - Updated license-checker to allow for Open Font License (OFL)
16
+ - Updated svgo.config.d.ts to fix detection of svg config when supplying it to the vite-svg-loader plugin in vite.config files
17
+ - Remove usages of interface in favor of type, when used in .vue; interfaces create multiple type issues when inferring props, etc which are likely caused by the declaration merging feature of interfaces.
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies [0df972d]
22
+ - @knime/rich-text-editor@1.7.0
23
+ - @knime/components@1.34.0
24
+ - @knime/styles@1.11.0
25
+ - @knime/utils@1.5.4
26
+
27
+ ## 1.14.3
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [170b8d2]
32
+ - @knime/components@1.33.2
33
+ - @knime/rich-text-editor@1.6.3
34
+
3
35
  ## 1.14.2
4
36
 
5
37
  ### Patch Changes
@@ -1,6 +1,6 @@
1
- import { defineComponent as s, openBlock as t, createBlock as p, mergeProps as a, unref as l } from "vue";
1
+ import { defineComponent as s, createBlock as t, openBlock as p, mergeProps as a, unref as l } from "vue";
2
2
  import { o as r } from "./index-Blg1O3Fz.js";
3
- import { T as i } from "./TwinlistControlBase-D1l9t7Up.js";
3
+ import { T as i } from "./TwinlistControlBase-Brfh5pqZ.js";
4
4
  const y = /* @__PURE__ */ s({
5
5
  __name: "AnyOfTwinlist",
6
6
  props: {
@@ -14,7 +14,7 @@ const y = /* @__PURE__ */ s({
14
14
  },
15
15
  setup(o) {
16
16
  const e = o.control.schema.anyOf.map(r);
17
- return (n, u) => (t(), p(i, a(n.$props, { "possible-values": l(e) }), null, 16, ["possible-values"]));
17
+ return (n, u) => (p(), t(i, a(n.$props, { "possible-values": l(e) }), null, 16, ["possible-values"]));
18
18
  }
19
19
  });
20
20
  export {
@@ -1,5 +1,5 @@
1
- import { defineComponent as o, resolveComponent as a, openBlock as s, createBlock as n, normalizeClass as r, withCtx as l, renderSlot as d } from "vue";
2
- import { B as i, _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
1
+ import { defineComponent as o, resolveComponent as a, createBlock as s, openBlock as n, normalizeClass as r, withCtx as l, renderSlot as d } from "vue";
2
+ import { D as i, _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js";
3
3
  const c = o({
4
4
  name: "Button",
5
5
  components: {
@@ -64,9 +64,9 @@ const c = o({
64
64
  }
65
65
  }
66
66
  });
67
- function f(e, B, u, m, h, _) {
67
+ function f(e, u, B, m, h, _) {
68
68
  const t = a("BaseButton");
69
- return s(), n(t, {
69
+ return n(), s(t, {
70
70
  class: r(e.classes),
71
71
  disabled: e.disabled
72
72
  }, {
@@ -0,0 +1,40 @@
1
+ import { defineComponent as n, ref as s, createElementBlock as r, openBlock as d, createVNode as u, renderSlot as l, unref as i, withCtx as p, createTextVNode as c, toDisplayString as v } from "vue";
2
+ import { C as m, _ as b } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js";
3
+ const f = /* @__PURE__ */ n({
4
+ __name: "CheckboxControl",
5
+ props: {
6
+ control: {},
7
+ handleChange: { type: Function },
8
+ changeValue: { type: Function },
9
+ disabled: { type: Boolean },
10
+ labelForId: {},
11
+ isValid: { type: Boolean },
12
+ messages: {},
13
+ onRegisterValidation: { type: Function }
14
+ },
15
+ setup(h) {
16
+ const t = s(!1);
17
+ return (e, o) => (d(), r("div", {
18
+ class: "checkbox-input",
19
+ onMouseover: o[0] || (o[0] = (a) => t.value = !0),
20
+ onMouseleave: o[1] || (o[1] = (a) => t.value = !1)
21
+ }, [
22
+ u(i(m), {
23
+ class: "checkbox",
24
+ disabled: e.disabled,
25
+ "model-value": e.control.data,
26
+ "onUpdate:modelValue": e.changeValue
27
+ }, {
28
+ default: p(() => [
29
+ c(v(e.control.label) + " ", 1),
30
+ l(e.$slots, "icon", {}, void 0, !0)
31
+ ]),
32
+ _: 3
33
+ }, 8, ["disabled", "model-value", "onUpdate:modelValue"]),
34
+ l(e.$slots, "buttons", { hover: t.value }, void 0, !0)
35
+ ], 32));
36
+ }
37
+ }), k = /* @__PURE__ */ b(f, [["__scopeId", "data-v-c26e0308"]]);
38
+ export {
39
+ k as default
40
+ };
@@ -1,5 +1,5 @@
1
- import { _ as c, C as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
2
- import { resolveComponent as f, openBlock as o, createElementBlock as s, normalizeClass as h, Fragment as m, renderList as p, createBlock as x, withCtx as b, createTextVNode as V, toDisplayString as y } from "vue";
1
+ import { _ as c, C as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js";
2
+ import { resolveComponent as f, createElementBlock as s, openBlock as o, normalizeClass as h, Fragment as m, renderList as p, createBlock as x, withCtx as b, createTextVNode as V, toDisplayString as y } from "vue";
3
3
  const _ = {
4
4
  name: "Checkboxes",
5
5
  components: {
@@ -1,8 +1,8 @@
1
- import { defineComponent as c, computed as n, ref as r, toRef as u, onMounted as p, openBlock as d, createBlock as m, unref as b, createCommentVNode as f } from "vue";
1
+ import { defineComponent as c, computed as n, ref as r, toRef as u, onMounted as p, createBlock as d, createCommentVNode as m, openBlock as b, unref as f } from "vue";
2
2
  import { o as h } from "./index-Blg1O3Fz.js";
3
- import { u as v } from "./usePossibleValues-lz0Rcu_N.js";
4
- import { C as V } from "./Checkboxes-DIPjJhPO.js";
5
- import { _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
3
+ import { u as v } from "./usePossibleValues-DXuWWBh_.js";
4
+ import { C as V } from "./Checkboxes-DWOxHiUX.js";
5
+ import { _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js";
6
6
  const C = /* @__PURE__ */ c({
7
7
  __name: "CheckboxesControl",
8
8
  props: {
@@ -16,14 +16,11 @@ const C = /* @__PURE__ */ c({
16
16
  },
17
17
  setup(s) {
18
18
  const o = s, t = n(
19
- () => {
20
- var e;
21
- return (e = o.control.uischema.options) == null ? void 0 : e.checkboxLayout;
22
- }
19
+ () => o.control.uischema.options?.checkboxLayout
23
20
  ), a = r(null), { possibleValues: i } = v(u(o, "control")), l = n(() => a.value ?? i.value);
24
21
  return p(() => {
25
22
  a.value = o.control.schema.anyOf ? o.control.schema.anyOf.map(h) : null;
26
- }), (e, k) => l.value ? (d(), m(b(V), {
23
+ }), (e, k) => l.value ? (b(), d(f(V), {
27
24
  key: 0,
28
25
  id: e.labelForId,
29
26
  class: "checkboxes",
@@ -33,7 +30,7 @@ const C = /* @__PURE__ */ c({
33
30
  "model-value": e.control.data,
34
31
  "is-valid": e.isValid,
35
32
  "onUpdate:modelValue": e.changeValue
36
- }, null, 8, ["id", "possible-values", "alignment", "disabled", "model-value", "is-valid", "onUpdate:modelValue"])) : f("", !0);
33
+ }, null, 8, ["id", "possible-values", "alignment", "disabled", "model-value", "is-valid", "onUpdate:modelValue"])) : m("", !0);
37
34
  }
38
35
  }), I = /* @__PURE__ */ y(C, [["__scopeId", "data-v-2891ceef"]]);
39
36
  export {
@@ -1,15 +1,14 @@
1
- import { resolveComponent as h, openBlock as d, createElementBlock as f, normalizeClass as w, withKeys as r, withModifiers as a, renderSlot as B, createElementVNode as c, toDisplayString as I, createVNode as m, withDirectives as S, normalizeStyle as A, Fragment as D, renderList as k, createBlock as C, withCtx as O, createTextVNode as $, vShow as P, defineComponent as M, vModelText as x, toRef as z, computed as F, unref as N } from "vue";
2
- import { u as U } from "./usePossibleValues-lz0Rcu_N.js";
3
- import { C as L } from "./close-BuY4mhXV.js";
4
- import { _ as E, C as H, r as K } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CsYyUtDa.js";
1
+ import { resolveComponent as h, createElementBlock as f, openBlock as d, withModifiers as a, withKeys as r, normalizeClass as w, renderSlot as B, withDirectives as I, createElementVNode as m, createVNode as c, toDisplayString as S, normalizeStyle as A, Fragment as D, renderList as k, createBlock as C, withCtx as O, createTextVNode as $, vShow as P, defineComponent as M, vModelText as x, toRef as z, computed as F, unref as N } from "vue";
2
+ import { u as U } from "./usePossibleValues-DXuWWBh_.js";
3
+ import { C as L } from "./close-DGt8x-x_.js";
4
+ import { _ as E, C as H, v as K } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DR31vaIu.js";
5
5
  /* empty css */
6
- import { A as j } from "./arrow-dropdown-DdgjzLAO.js";
6
+ import { A as j } from "./arrow-dropdown-BAFsD8Su.js";
7
7
  import { c as W } from "./createMissingItem-B00Kg95q.js";
8
8
  const y = () => {
9
- var t;
10
- let e = document == null ? void 0 : document.activeElement;
11
- for (; e != null && e.shadowRoot; )
12
- e = (t = e == null ? void 0 : e.shadowRoot) == null ? void 0 : t.activeElement;
9
+ let e = document?.activeElement;
10
+ for (; e?.shadowRoot; )
11
+ e = e?.shadowRoot?.activeElement;
13
12
  return e;
14
13
  }, g = 1, G = 28.5, X = 8, q = {
15
14
  name: "Multiselect",
@@ -180,8 +179,7 @@ const y = () => {
180
179
  },
181
180
  toggle() {
182
181
  this.collapsed = !this.collapsed, setTimeout(() => {
183
- var e;
184
- (e = this.$refs.toggle) == null || e.focus();
182
+ this.$refs.toggle?.focus();
185
183
  }, g);
186
184
  },
187
185
  isChecked(e) {
@@ -262,17 +260,17 @@ function Y(e, t, o, n, b, s) {
262
260
  onMousedown: t[6] || (t[6] = (...l) => s.onMousedown && s.onMousedown(...l))
263
261
  }, [
264
262
  o.useCustomListBox ? B(e.$slots, "listBox", { key: 0 }, void 0, !0) : (d(), f("div", J, [
265
- c("div", {
263
+ m("div", {
266
264
  ref: "toggle",
267
265
  role: "button",
268
266
  tabindex: o.disabled ? -1 : 0,
269
267
  class: w({ placeholder: !o.modelValue.length }),
270
268
  onClick: t[0] || (t[0] = (...l) => s.toggle && s.toggle(...l)),
271
269
  onKeydown: t[1] || (t[1] = r(a((...l) => s.toggle && s.toggle(...l), ["prevent"]), ["space"]))
272
- }, I(s.summary), 43, Q),
273
- m(p, { class: "icon" })
270
+ }, S(s.summary), 43, Q),
271
+ c(p, { class: "icon" })
274
272
  ])),
275
- S(c("div", {
273
+ I(m("div", {
276
274
  class: "options",
277
275
  style: A(s.optionsHeight)
278
276
  }, [
@@ -287,7 +285,7 @@ function Y(e, t, o, n, b, s) {
287
285
  "onUpdate:modelValue": (V) => s.onUpdateModelValue(l.id, V)
288
286
  }, {
289
287
  default: O(() => [
290
- $(I(l.text), 1)
288
+ $(S(l.text), 1)
291
289
  ]),
292
290
  _: 2
293
291
  }, 1032, ["data-index", "model-value", "disabled", "onUpdate:modelValue"]))), 128)),
@@ -438,8 +436,7 @@ const Z = /* @__PURE__ */ E(q, [["render", Y], ["__scopeId", "data-v-9ddc7296"]]
438
436
  this.$refs.combobox.onDown();
439
437
  },
440
438
  onEnter() {
441
- var e;
442
- this.isSearchEmpty || typeof ((e = this.searchResults[0]) == null ? void 0 : e.id) > "u" || this.modelValue.includes(this.searchResults[0].id) || (this.updateSelectedIds([...this.modelValue, this.searchResults[0].id]), this.searchValue = "");
439
+ this.isSearchEmpty || typeof this.searchResults[0]?.id > "u" || this.modelValue.includes(this.searchResults[0].id) || (this.updateSelectedIds([...this.modelValue, this.searchResults[0].id]), this.searchValue = "");
443
440
  },
444
441
  onBackspace() {
445
442
  this.searchValue || this.emitNewSelection(this.modelValue.slice(0, -1));
@@ -507,13 +504,13 @@ function le(e, t, o, n, b, s) {
507
504
  "onUpdate:modelValue": e.updateSelectedIds
508
505
  }, {
509
506
  listBox: O(() => [
510
- c("div", {
507
+ m("div", {
511
508
  ref: "listBox",
512
509
  class: "summary-input-icon-wrapper",
513
510
  tabindex: e.disabled ? -1 : 0,
514
511
  onKeydown: t[8] || (t[8] = r(a((...i) => e.focusInput && e.focusInput(...i), ["prevent", "self"]), ["enter"]))
515
512
  }, [
516
- c("div", {
513
+ m("div", {
517
514
  class: w([
518
515
  "summary-input-wrapper",
519
516
  { "with-icon-right": e.hasSelection, compact: e.compact }
@@ -525,22 +522,22 @@ function le(e, t, o, n, b, s) {
525
522
  class: "tag",
526
523
  title: V
527
524
  }, [
528
- c("span", {
525
+ m("span", {
529
526
  class: w(["text", { invalid: R }])
530
- }, I(V), 3),
531
- m(u, {
527
+ }, S(V), 3),
528
+ c(u, {
532
529
  class: "remove-tag-button",
533
530
  compact: e.compact,
534
531
  disabled: e.disabled,
535
532
  onClick: a((ae) => e.removeTag(i), ["stop"])
536
533
  }, {
537
534
  default: O(() => [
538
- m(p, { class: "remove-tag-button-icon" })
535
+ c(p, { class: "remove-tag-button-icon" })
539
536
  ]),
540
537
  _: 2
541
538
  }, 1032, ["compact", "disabled", "onClick"])
542
539
  ], 8, te))), 128)),
543
- S(c("input", {
540
+ I(m("input", {
544
541
  ref: "searchInput",
545
542
  "onUpdate:modelValue": t[0] || (t[0] = (i) => e.searchValue = i),
546
543
  class: "search-input",
@@ -560,8 +557,8 @@ function le(e, t, o, n, b, s) {
560
557
  [x, e.searchValue]
561
558
  ])
562
559
  ], 2),
563
- S(c("div", oe, [
564
- m(u, {
560
+ I(m("div", oe, [
561
+ c(u, {
565
562
  ref: "removeAllTags",
566
563
  class: "remove-all-tags-button",
567
564
  compact: e.compact,
@@ -569,7 +566,7 @@ function le(e, t, o, n, b, s) {
569
566
  onClick: a(e.removeAllTags, ["stop"])
570
567
  }, {
571
568
  default: O(() => [
572
- m(p)
569
+ c(p)
573
570
  ]),
574
571
  _: 1
575
572
  }, 8, ["compact", "disabled", "onClick"])
@@ -581,7 +578,7 @@ function le(e, t, o, n, b, s) {
581
578
  _: 1
582
579
  }, 8, ["model-value", "possible-values", "size-visible-options", "parent-focus-element", "parent-refocus-element-on-close", "close-dropdown-on-selection", "is-valid", "compact", "disabled", "onFocusOutside", "onUpdate:modelValue"]);
583
580
  }
584
- const ie = /* @__PURE__ */ E(_, [["render", le], ["__scopeId", "data-v-accb61af"]]), ne = /* @__PURE__ */ M({
581
+ const ie = /* @__PURE__ */ E(_, [["render", le], ["__scopeId", "data-v-755f27e9"]]), ne = /* @__PURE__ */ M({
585
582
  __name: "ComboBoxControl",
586
583
  props: {
587
584
  control: {},
@@ -1,5 +1,5 @@
1
- import { defineComponent as o, openBlock as a, createBlock as l, unref as n } from "vue";
2
- import { D as t } from "./DateTimeInput-CEYEV8dt.js";
1
+ import { defineComponent as o, createBlock as a, openBlock as l, unref as n } from "vue";
2
+ import { D as t } from "./DateTimeInput-Cs0KqlOS.js";
3
3
  const u = /* @__PURE__ */ o({
4
4
  __name: "DateControl",
5
5
  props: {
@@ -12,7 +12,7 @@ const u = /* @__PURE__ */ o({
12
12
  labelForId: {}
13
13
  },
14
14
  setup(d) {
15
- return (e, i) => (a(), l(n(t), {
15
+ return (e, i) => (l(), a(n(t), {
16
16
  id: e.labelForId,
17
17
  "two-lines": "",
18
18
  "model-value": new Date(e.control.data),
@@ -0,0 +1,45 @@
1
+ import { defineComponent as r, computed as a, createBlock as c, openBlock as p, unref as v } from "vue";
2
+ import { D as h } from "./DateTimeInput-Cs0KqlOS.js";
3
+ import { t as i, f } from "./localTimeUtils-NIKgHnIr.js";
4
+ const b = /* @__PURE__ */ r({
5
+ __name: "DateTimeControl",
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(t) {
16
+ const l = t, e = a(() => l.control.uischema.options), s = a(
17
+ () => e.value?.minimum ? i(e.value.minimum) : null
18
+ ), u = a(
19
+ () => e.value?.maximum ? i(e.value.maximum) : null
20
+ ), n = a({
21
+ get: () => i(l.control.data),
22
+ set: (o) => l.changeValue(f(o))
23
+ });
24
+ return (o, m) => (p(), c(v(h), {
25
+ id: o.labelForId,
26
+ modelValue: n.value,
27
+ "onUpdate:modelValue": m[0] || (m[0] = (d) => n.value = d),
28
+ "two-lines": "",
29
+ required: !0,
30
+ "show-time": e.value?.showTime,
31
+ "show-seconds": e.value?.showSeconds,
32
+ "show-milliseconds": e.value?.showMilliseconds,
33
+ timezone: "UTC",
34
+ "date-format": e.value?.dateFormat,
35
+ min: s.value,
36
+ max: u.value,
37
+ "is-valid": o.isValid,
38
+ compact: "",
39
+ disabled: o.disabled
40
+ }, null, 8, ["id", "modelValue", "show-time", "show-seconds", "show-milliseconds", "date-format", "min", "max", "is-valid", "disabled"]));
41
+ }
42
+ });
43
+ export {
44
+ b as default
45
+ };