@knime/jsonforms 1.6.9 → 1.7.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 (122) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/AnyOfTwinlist-D7gkxtYi.js +22 -0
  3. package/dist/{BaseButton-B6Z2uYGV.js → BaseButton-nH3iSIOK.js} +1 -1
  4. package/dist/{Button-B27OsWa6.js → Button-DnQZFkaO.js} +2 -2
  5. package/dist/{Checkbox-Bl3rvtXe.js → Checkbox-DB9YeQa-.js} +1 -1
  6. package/dist/{CheckboxControl-BAIwtCZF.js → CheckboxControl-hkHWMBsv.js} +2 -2
  7. package/dist/{Checkboxes-Cb1lJdBP.js → Checkboxes-C_qM6Iao.js} +2 -2
  8. package/dist/{CheckboxesControl-CQSzjloD.js → CheckboxesControl-DRNda60A.js} +3 -3
  9. package/dist/{ComboBoxControl-CmY_qMv_.js → ComboBoxControl-Dd0UZdMx.js} +77 -89
  10. package/dist/{DateControl-BL2H5BjS.js → DateControl-BmqofCSf.js} +1 -1
  11. package/dist/{DateTimeControl-BYuJUqBc.js → DateTimeControl-B7uvqC1s.js} +2 -2
  12. package/dist/{DateTimeFormatInput-BagQnUJb.js → DateTimeFormatInput-CsEAVqAA.js} +3 -3
  13. package/dist/{DateTimeFormatPickerControl-DmbGr3EH.js → DateTimeFormatPickerControl-BK80kZf0.js} +2 -2
  14. package/dist/{DateTimeFormatPickerWithTypeControl-CGCdH2_0.js → DateTimeFormatPickerWithTypeControl-CS8APLBp.js} +3 -3
  15. package/dist/{DateTimeInput-Cbw4cu1f.js → DateTimeInput-DP2yHD9r.js} +14 -13
  16. package/dist/{Dropdown-xSUsqbQu.js → Dropdown-D8qp_4wZ.js} +30 -29
  17. package/dist/DropdownControl-B2fs1yBj.js +84 -0
  18. package/dist/{FunctionButton-BjutjqfY.js → FunctionButton-Bo0NcfGh.js} +2 -2
  19. package/dist/{HorizontalLayout-HzwqDGLQ.js → HorizontalLayout-Bg5vYcO1.js} +1 -1
  20. package/dist/{InputField-CWbS01h9.js → InputField-DRLCzzDf.js} +1 -1
  21. package/dist/{IntegerControl-BNz67bUk.js → IntegerControl-HLRox7w7.js} +1 -1
  22. package/dist/{IntervalControl-jM22Q0CQ.js → IntervalControl-D-xUIRW3.js} +4 -4
  23. package/dist/LoadingDropdown-DkxltiwQ.js +40 -0
  24. package/dist/MultimodeTwinlistControl-CV2v4Y5n.js +526 -0
  25. package/dist/{MultiselectListBox-D5smzcVZ.js → MultiselectListBox-BFQxtoyR.js} +1 -1
  26. package/dist/{NameFilter-B9TOgIBA.js → NameFilter-BxfjNVu-.js} +1 -1
  27. package/dist/{NumberControl-YCMcJfZB.js → NumberControl-Df91UAXl.js} +1 -1
  28. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-DLqtcp04.js +53 -0
  29. package/dist/{NumberInput-DO8rNjya.js → NumberInput-BLlTeOig.js} +1 -1
  30. package/dist/OneOfDropdown-CLPbmMt7.js +34 -0
  31. package/dist/{RadioControl-DK_i_SC9.js → RadioControl-CDi8WbsE.js} +2 -2
  32. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-B_Dxf3fU.js → RadioControlBase.vue_vue_type_script_setup_true_lang-B6clHvd5.js} +3 -3
  33. package/dist/{RichTextControl-Bp6N-XYM.js → RichTextControl-YMNSyY3O.js} +6 -6
  34. package/dist/{SectionHeading-wDPgvJNi.js → SectionHeading-D8h1zy67.js} +1 -1
  35. package/dist/{SectionLayout-DYLzJvJs.js → SectionLayout-DBiG5Ubc.js} +3 -3
  36. package/dist/{SettingsSubPanel-DTubXv1M.js → SettingsSubPanel--LD_hsgG.js} +2 -2
  37. package/dist/{SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-dAvPWPee.js → SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js} +1024 -1022
  38. package/dist/{SettingsSubPanelLayout-CAtNgx_A.js → SettingsSubPanelLayout-By5U2J68.js} +5 -5
  39. package/dist/{SimpleButtonControl-D2slFPzs.js → SimpleButtonControl-B47jBtrM.js} +6 -6
  40. package/dist/SimpleTwinlistControl-DoRJkKPs.js +22 -0
  41. package/dist/SingleSelectControl-zE9ck9JX.js +58 -0
  42. package/dist/SortListControl-C5DXqqPG.js +372 -0
  43. package/dist/{TextAreaControl-CxNkzjdq.js → TextAreaControl-D2-nyO1m.js} +1 -1
  44. package/dist/{TextControl-j8Bk4RzX.js → TextControl-Ss9_5V2f.js} +1 -1
  45. package/dist/TextControl.vue_vue_type_script_setup_true_lang-DaEoFVBw.js +93 -0
  46. package/dist/{TimeControl-vGEtfCEt.js → TimeControl-CblSq-0a.js} +2 -2
  47. package/dist/TwinlistControlBase-Xe8xQAyG.js +40 -0
  48. package/dist/{TwinlistLoadingInfo-DnhM2U43.js → TwinlistLoadingInfo-BHhpo_7N.js} +12 -11
  49. package/dist/TypedNameFilter-N2eeG2VM.js +25 -0
  50. package/dist/{ValueSwitch-CGXtJV-B.js → ValueSwitch-BI5z5U3F.js} +1 -1
  51. package/dist/{ValueSwitchControl-dHPRa3vB.js → ValueSwitchControl-CixwDXQs.js} +1 -1
  52. package/dist/{VerticalLayout-BUWGeKPt.js → VerticalLayout-B8RzC8Vj.js} +2 -2
  53. package/dist/{VerticalLayoutBase-Tp2IGikj.js → VerticalLayoutBase-Bj_upYbt.js} +1 -1
  54. package/dist/{ZonedDateTimeControl-Ddjugjzp.js → ZonedDateTimeControl-CZdpjJEK.js} +4 -4
  55. package/dist/_baseEach-FP8ISlsz.js +31 -0
  56. package/dist/_baseIteratee-DhaGkQLM.js +518 -0
  57. package/dist/_getTag-DiktJuv_.js +132 -0
  58. package/dist/index-Blg1O3Fz.js +15 -0
  59. package/dist/isArray-WzO_os3q.js +4 -0
  60. package/dist/isObjectLike-BatpeCIi.js +29 -0
  61. package/dist/isSymbol-C3_SC0Qp.js +8 -0
  62. package/dist/knime-jsonforms.css +1 -1
  63. package/dist/knime-jsonforms.js +8 -8
  64. package/dist/{localTimeUtils-DIFjv2_A.js → localTimeUtils-Dp9bEJDh.js} +1 -1
  65. package/dist/{magic-string.es-BbItKD7x.js → magic-string.es-CeNBRh1A.js} +1 -1
  66. package/dist/src/constants/inputFormats.d.ts +2 -2
  67. package/dist/src/higherOrderComponents/control/validation/types.d.ts +7 -1
  68. package/dist/src/renderers/defaultRenderers.d.ts +24 -589
  69. package/dist/src/renderers/dropdownRenderer.d.ts +55 -115
  70. package/dist/src/renderers/fallbackRenderers.d.ts +1 -241
  71. package/dist/src/renderers/nameFilterRenderer.d.ts +1 -1
  72. package/dist/src/renderers/singleSelectRenderer.d.ts +8 -0
  73. package/dist/src/renderers/sortListRenderer.d.ts +0 -8
  74. package/dist/src/renderers/twinlistRenderer.d.ts +1 -1
  75. package/dist/src/renderers/typedNameFilterRenderer.d.ts +1 -0
  76. package/dist/src/types/ChoicesUiSchema.d.ts +7 -12
  77. package/dist/src/types/provided.d.ts +0 -2
  78. package/dist/src/uiComponents/DropdownControl.vue.d.ts +2 -86
  79. package/dist/src/uiComponents/OneOfDropdown.vue.d.ts +2 -13
  80. package/dist/src/uiComponents/SingleSelectControl.vue.d.ts +20 -0
  81. package/dist/src/uiComponents/SortListControl.vue.d.ts +4 -4
  82. package/dist/src/uiComponents/composables/useBuiltinValidations.d.ts +43 -0
  83. package/dist/src/uiComponents/composables/usePossibleValues.d.ts +24 -0
  84. package/dist/src/uiComponents/composables/useProvidedState.d.ts +2 -2
  85. package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +1 -1
  86. package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +2 -99
  87. package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +36 -0
  88. package/dist/src/uiComponents/twinlist/{ColumnFilter.vue.d.ts → TypedNameFilter.vue.d.ts} +1 -1
  89. package/dist/src/uiComponents/twinlist/useUnknownValuesInTwinlist.d.ts +1 -1
  90. package/dist/src/utils/index.d.ts +0 -2
  91. package/dist/{svgWithTitle-Cgc-TGWi.js → svgWithTitle-B5FsAPop.js} +1 -1
  92. package/dist/testUtils/component.d.ts +4 -0
  93. package/dist/testing.js +80 -63
  94. package/dist/toString-B9O7P854.js +26 -0
  95. package/dist/useBuiltinValidations-8VwUv3RT.js +52 -0
  96. package/dist/usePossibleValues-CrNcBbpN.js +26 -0
  97. package/package.json +3 -3
  98. package/dist/AnyOfTwinlist-C3gbWpq1.js +0 -22
  99. package/dist/ColumnFilter-DOIYetcH.js +0 -24
  100. package/dist/ColumnSelect-B8IH25EN.js +0 -68
  101. package/dist/DropdownControl-DGfi9k8S.js +0 -4
  102. package/dist/DropdownControl.vue_vue_type_script_setup_true_lang-BvodaKZi.js +0 -237
  103. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-CPj9t6fL.js +0 -60
  104. package/dist/OneOfDropdown-BoOe32dm.js +0 -35
  105. package/dist/SimpleTwinlistControl-CrLWO2B2.js +0 -50
  106. package/dist/SortListControl-v_nVoQsh.js +0 -366
  107. package/dist/TextControl.vue_vue_type_script_setup_true_lang-qt4UxKcl.js +0 -87
  108. package/dist/TwinlistControl-Dw5uSnOi.js +0 -554
  109. package/dist/_baseAssignValue-BPMLYzDH.js +0 -19
  110. package/dist/_baseEach-B8N_Gx8P.js +0 -31
  111. package/dist/_baseIsEqual-DmkT9Nkc.js +0 -248
  112. package/dist/_baseIteratee-DvBmrhnf.js +0 -104
  113. package/dist/_getTag-DS8v0_uf.js +0 -312
  114. package/dist/getPossibleValuesFromUiSchema-hQj1TCOR.js +0 -39
  115. package/dist/index-hm05O8UX.js +0 -16
  116. package/dist/isSymbol-OFe5xy2f.js +0 -34
  117. package/dist/src/renderers/columnFilterRenderer.d.ts +0 -1
  118. package/dist/src/renderers/columnSelectRenderer.d.ts +0 -265
  119. package/dist/src/uiComponents/ColumnSelect.vue.d.ts +0 -26
  120. package/dist/src/utils/getPossibleValuesFromUiSchema.d.ts +0 -10
  121. package/dist/toString-DkbNkGT4.js +0 -25
  122. /package/dist/src/uiComponents/twinlist/{TwinlistControl.vue.d.ts → MultimodeTwinlistControl.vue.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @knime/json-forms
2
2
 
3
+ ## 1.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 28e1942: Introduce SingleSelection jsonforms control. Therefore remove special choices handling from other choices controls.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [803a5b9]
12
+ - @knime/components@1.24.1
13
+ - @knime/rich-text-editor@1.4.1
14
+
15
+ ## 1.6.10
16
+
17
+ ### Patch Changes
18
+
19
+ - e3f1f94: Improve validation in Number/TextInputControl
20
+
3
21
  ## 1.6.9
4
22
 
5
23
  ### Patch Changes
@@ -0,0 +1,22 @@
1
+ import { defineComponent as s, openBlock as t, createBlock as p, mergeProps as a, unref as l } from "vue";
2
+ import { o as r } from "./index-Blg1O3Fz.js";
3
+ import { T as i } from "./TwinlistControlBase-Xe8xQAyG.js";
4
+ const y = /* @__PURE__ */ s({
5
+ __name: "AnyOfTwinlist",
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(o) {
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"]));
18
+ }
19
+ });
20
+ export {
21
+ y as default
22
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as i, useSlots as l, h as a, getCurrentInstance as c, openBlock as f, createBlock as p, resolveDynamicComponent as m, mergeProps as d, withCtx as h, renderSlot as C } from "vue";
2
- import { _ as k } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-dAvPWPee.js";
2
+ import { _ as k } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
3
3
  const u = () => {
4
4
  const t = c();
5
5
  return t == null ? void 0 : t.appContext.app;
@@ -1,6 +1,6 @@
1
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 } from "./BaseButton-B6Z2uYGV.js";
3
- import { _ as p } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-dAvPWPee.js";
2
+ import { B as i } from "./BaseButton-nH3iSIOK.js";
3
+ import { _ as p } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
4
4
  const c = o({
5
5
  name: "Button",
6
6
  components: {
@@ -1,5 +1,5 @@
1
1
  import { openBlock as s, createElementBlock as i, normalizeClass as o, createElementVNode as d, renderSlot as c } from "vue";
2
- import { _ as u } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-dAvPWPee.js";
2
+ import { _ as u } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
3
3
  const r = {
4
4
  name: "Checkbox",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as a, ref as r, openBlock as s, createElementBlock as d, createVNode as u, unref as i, withCtx as p, createTextVNode as c, toDisplayString as m, renderSlot as n } from "vue";
2
- import { C as f } from "./Checkbox-Bl3rvtXe.js";
3
- import { _ as v } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-dAvPWPee.js";
2
+ import { C as f } from "./Checkbox-DB9YeQa-.js";
3
+ import { _ as v } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
4
4
  const b = /* @__PURE__ */ a({
5
5
  __name: "CheckboxControl",
6
6
  props: {
@@ -1,6 +1,6 @@
1
- import { C as c } from "./Checkbox-Bl3rvtXe.js";
1
+ import { C as c } from "./Checkbox-DB9YeQa-.js";
2
2
  import { resolveComponent as u, openBlock as l, createElementBlock as s, normalizeClass as f, Fragment as m, renderList as h, createBlock as p, withCtx as x, createTextVNode as b, toDisplayString as V } from "vue";
3
- import { _ as y } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-dAvPWPee.js";
3
+ import { _ as y } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
4
4
  const _ = {
5
5
  name: "Checkboxes",
6
6
  components: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as t, computed as s, ref as i, onMounted as c, openBlock as d, createBlock as r, unref as p, createCommentVNode as u } from "vue";
2
- import { o as m } from "./index-hm05O8UX.js";
3
- import { C as b } from "./Checkboxes-Cb1lJdBP.js";
4
- import { _ as h } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-dAvPWPee.js";
2
+ import { o as m } from "./index-Blg1O3Fz.js";
3
+ import { C as b } from "./Checkboxes-C_qM6Iao.js";
4
+ import { _ as h } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
5
5
  const f = /* @__PURE__ */ t({
6
6
  __name: "CheckboxesControl",
7
7
  props: {
@@ -1,12 +1,12 @@
1
- import { resolveComponent as V, openBlock as d, createElementBlock as b, normalizeClass as v, withKeys as u, withModifiers as a, renderSlot as F, createElementVNode as p, toDisplayString as I, createVNode as f, withDirectives as S, normalizeStyle as A, Fragment as P, renderList as k, createBlock as C, withCtx as O, createTextVNode as $, vShow as D, defineComponent as M, vModelText as R, computed as w, ref as B, onMounted as z, unref as N, createCommentVNode as U } from "vue";
2
- import { w as L } from "./getPossibleValuesFromUiSchema-hQj1TCOR.js";
3
- import { _ as E, u as H } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-dAvPWPee.js";
1
+ import { resolveComponent as f, openBlock as d, createElementBlock as V, normalizeClass as w, withKeys as r, withModifiers as a, renderSlot as E, createElementVNode as p, toDisplayString as g, createVNode as h, withDirectives as I, normalizeStyle as A, Fragment as k, renderList as D, createBlock as S, withCtx as O, createTextVNode as $, vShow as P, defineComponent as M, vModelText as R, ref as F, toRef as z, onMounted as U, computed as B, unref as N, createCommentVNode as L } from "vue";
2
+ import { u as H } from "./usePossibleValues-CrNcBbpN.js";
4
3
  import { C as K } from "./close-h7XT0ja0.js";
5
- import { F as j } from "./FunctionButton-BjutjqfY.js";
4
+ import { F as j } from "./FunctionButton-Bo0NcfGh.js";
6
5
  /* empty css */
7
6
  import { u as W } from "./index-Bf0xDq3g.js";
8
7
  import { A as G } from "./arrow-dropdown-DjUxzjqC.js";
9
- import { C as X } from "./Checkbox-Bl3rvtXe.js";
8
+ import { C as X } from "./Checkbox-DB9YeQa-.js";
9
+ import { _ as C } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
10
10
  import { c as q } from "./createMissingItem-B00Kg95q.js";
11
11
  const y = 1, J = 28.5, Q = 8, Y = {
12
12
  name: "Multiselect",
@@ -240,56 +240,56 @@ const y = 1, J = 28.5, Q = 8, Y = {
240
240
  }
241
241
  }
242
242
  }, Z = { key: 1 };
243
- function _(e, t, i, n, h, l) {
244
- const r = V("DropdownIcon"), c = V("Checkbox");
245
- return d(), b("div", {
243
+ function _(e, t, i, n, m, o) {
244
+ const c = f("DropdownIcon"), u = f("Checkbox");
245
+ return d(), V("div", {
246
246
  ref: "multiselect",
247
- class: v(["multiselect", { collapsed: h.collapsed, invalid: !i.isValid, compact: i.compact }]),
247
+ class: w(["multiselect", { collapsed: m.collapsed, invalid: !i.isValid, compact: i.compact }]),
248
248
  onKeydown: [
249
- t[2] || (t[2] = u((...s) => l.closeOptionsAndStop && l.closeOptionsAndStop(...s), ["esc"])),
250
- t[3] || (t[3] = u(a((...s) => l.onUp && l.onUp(...s), ["stop", "prevent"]), ["up"])),
251
- t[4] || (t[4] = u(a((...s) => l.onDown && l.onDown(...s), ["stop", "prevent"]), ["down"]))
249
+ t[2] || (t[2] = r((...s) => o.closeOptionsAndStop && o.closeOptionsAndStop(...s), ["esc"])),
250
+ t[3] || (t[3] = r(a((...s) => o.onUp && o.onUp(...s), ["stop", "prevent"]), ["up"])),
251
+ t[4] || (t[4] = r(a((...s) => o.onDown && o.onDown(...s), ["stop", "prevent"]), ["down"]))
252
252
  ],
253
- onFocusout: t[5] || (t[5] = a((...s) => l.onFocusOut && l.onFocusOut(...s), ["stop"])),
254
- onMousedown: t[6] || (t[6] = (...s) => l.onMousedown && l.onMousedown(...s))
253
+ onFocusout: t[5] || (t[5] = a((...s) => o.onFocusOut && o.onFocusOut(...s), ["stop"])),
254
+ onMousedown: t[6] || (t[6] = (...s) => o.onMousedown && o.onMousedown(...s))
255
255
  }, [
256
- i.useCustomListBox ? F(e.$slots, "listBox", { key: 0 }, void 0, !0) : (d(), b("div", Z, [
256
+ i.useCustomListBox ? E(e.$slots, "listBox", { key: 0 }, void 0, !0) : (d(), V("div", Z, [
257
257
  p("div", {
258
258
  ref: "toggle",
259
259
  role: "button",
260
260
  tabindex: "0",
261
- class: v({ placeholder: !i.modelValue.length }),
262
- onClick: t[0] || (t[0] = (...s) => l.toggle && l.toggle(...s)),
263
- onKeydown: t[1] || (t[1] = u(a((...s) => l.toggle && l.toggle(...s), ["prevent"]), ["space"]))
264
- }, I(l.summary), 35),
265
- f(r, { class: "icon" })
261
+ class: w({ placeholder: !i.modelValue.length }),
262
+ onClick: t[0] || (t[0] = (...s) => o.toggle && o.toggle(...s)),
263
+ onKeydown: t[1] || (t[1] = r(a((...s) => o.toggle && o.toggle(...s), ["prevent"]), ["space"]))
264
+ }, g(o.summary), 35),
265
+ h(c, { class: "icon" })
266
266
  ])),
267
- S(p("div", {
267
+ I(p("div", {
268
268
  class: "options",
269
- style: A(l.optionsHeight)
269
+ style: A(o.optionsHeight)
270
270
  }, [
271
- (d(!0), b(P, null, k(i.possibleValues, (s, o) => (d(), C(c, {
271
+ (d(!0), V(k, null, D(i.possibleValues, (s, l) => (d(), S(u, {
272
272
  ref_for: !0,
273
273
  ref: "option",
274
274
  key: `multiselect-${s.id}`,
275
- "data-index": o,
276
- "model-value": l.isChecked(s.id),
275
+ "data-index": l,
276
+ "model-value": o.isChecked(s.id),
277
277
  disabled: s.disabled,
278
278
  class: "boxes",
279
- "onUpdate:modelValue": (m) => l.onUpdateModelValue(s.id, m)
279
+ "onUpdate:modelValue": (b) => o.onUpdateModelValue(s.id, b)
280
280
  }, {
281
281
  default: O(() => [
282
- $(I(s.text), 1)
282
+ $(g(s.text), 1)
283
283
  ]),
284
284
  _: 2
285
285
  }, 1032, ["data-index", "model-value", "disabled", "onUpdate:modelValue"]))), 128)),
286
- F(e.$slots, "selectAction", {}, void 0, !0)
286
+ E(e.$slots, "selectAction", {}, void 0, !0)
287
287
  ], 4), [
288
- [D, l.showOptions]
288
+ [P, o.showOptions]
289
289
  ])
290
290
  ], 34);
291
291
  }
292
- const ee = /* @__PURE__ */ E(Y, [["render", _], ["__scopeId", "data-v-e722538a"]]), g = "draft-id-combobox-preview-item", te = M({
292
+ const ee = /* @__PURE__ */ C(Y, [["render", _], ["__scopeId", "data-v-e722538a"]]), v = "draft-id-combobox-preview-item", te = M({
293
293
  name: "ComboBox",
294
294
  components: {
295
295
  Multiselect: ee,
@@ -388,7 +388,7 @@ const ee = /* @__PURE__ */ E(Y, [["render", _], ["__scopeId", "data-v-e722538a"]
388
388
  ({ id: i, text: n }) => n.toLowerCase().includes(this.trimmedLowerCasedSearchValue) || i === this.trimmedSearchValue
389
389
  );
390
390
  return this.allowNewValues && !e && !this.isSearchEmpty ? [
391
- { id: g, text: `${this.trimmedSearchValue} (new item)` },
391
+ { id: v, text: `${this.trimmedSearchValue} (new item)` },
392
392
  ...t
393
393
  ] : t;
394
394
  },
@@ -442,7 +442,7 @@ const ee = /* @__PURE__ */ E(Y, [["render", _], ["__scopeId", "data-v-e722538a"]
442
442
  this.inputOrOptionsFocussed || this.$refs.combobox.toggle(), this.inputOrOptionsFocussed = !0, this.$refs.combobox.updateFocusOptions();
443
443
  },
444
444
  updateSelectedIds(e) {
445
- if (!e.includes(g)) {
445
+ if (!e.includes(v)) {
446
446
  this.emitNewSelection(e);
447
447
  return;
448
448
  }
@@ -451,7 +451,7 @@ const ee = /* @__PURE__ */ E(Y, [["render", _], ["__scopeId", "data-v-e722538a"]
451
451
  text: this.trimmedSearchValue
452
452
  };
453
453
  this.allPossibleItems.push(i), this.emitNewSelection(
454
- e.map((n) => n === g ? i.id : n)
454
+ e.map((n) => n === v ? i.id : n)
455
455
  );
456
456
  },
457
457
  removeTag(e) {
@@ -477,9 +477,9 @@ const ee = /* @__PURE__ */ E(Y, [["render", _], ["__scopeId", "data-v-e722538a"]
477
477
  }
478
478
  }
479
479
  }), se = ["title"], oe = ["maxlength"], le = { class: "icon-right" };
480
- function ie(e, t, i, n, h, l) {
481
- const r = V("CloseIcon"), c = V("FunctionButton"), s = V("Multiselect");
482
- return d(), C(s, {
480
+ function ie(e, t, i, n, m, o) {
481
+ const c = f("CloseIcon"), u = f("FunctionButton"), s = f("Multiselect");
482
+ return d(), S(s, {
483
483
  ref: "combobox",
484
484
  "model-value": e.modelValue,
485
485
  "possible-values": e.searchResults,
@@ -498,74 +498,74 @@ function ie(e, t, i, n, h, l) {
498
498
  ref: "listBox",
499
499
  class: "summary-input-icon-wrapper",
500
500
  tabindex: "0",
501
- onKeydown: t[8] || (t[8] = u(a((...o) => e.focusInput && e.focusInput(...o), ["prevent", "self"]), ["enter"]))
501
+ onKeydown: t[8] || (t[8] = r(a((...l) => e.focusInput && e.focusInput(...l), ["prevent", "self"]), ["enter"]))
502
502
  }, [
503
503
  p("div", {
504
- class: v([
504
+ class: w([
505
505
  "summary-input-wrapper",
506
506
  { "with-icon-right": e.hasSelection, compact: e.compact }
507
507
  ]),
508
- onClick: t[7] || (t[7] = a((...o) => e.focusInput && e.focusInput(...o), ["stop"]))
508
+ onClick: t[7] || (t[7] = a((...l) => e.focusInput && e.focusInput(...l), ["stop"]))
509
509
  }, [
510
- (d(!0), b(P, null, k(e.selectedValues, ({ id: o, text: m, invalid: x }, T) => (d(), b("div", {
510
+ (d(!0), V(k, null, D(e.selectedValues, ({ id: l, text: b, invalid: x }, T) => (d(), V("div", {
511
511
  key: `item.id${T}`,
512
512
  class: "tag",
513
- title: m
513
+ title: b
514
514
  }, [
515
515
  p("span", {
516
- class: v(["text", { invalid: x }])
517
- }, I(m), 3),
518
- f(c, {
516
+ class: w(["text", { invalid: x }])
517
+ }, g(b), 3),
518
+ h(u, {
519
519
  class: "remove-tag-button",
520
520
  compact: e.compact,
521
- onClick: a((ue) => e.removeTag(o), ["stop"])
521
+ onClick: a((ue) => e.removeTag(l), ["stop"])
522
522
  }, {
523
523
  default: O(() => [
524
- f(r, { class: "remove-tag-button-icon" })
524
+ h(c, { class: "remove-tag-button-icon" })
525
525
  ]),
526
526
  _: 2
527
527
  }, 1032, ["compact", "onClick"])
528
528
  ], 8, se))), 128)),
529
- S(p("input", {
529
+ I(p("input", {
530
530
  ref: "searchInput",
531
- "onUpdate:modelValue": t[0] || (t[0] = (o) => e.searchValue = o),
531
+ "onUpdate:modelValue": t[0] || (t[0] = (l) => e.searchValue = l),
532
532
  class: "search-input",
533
533
  type: "text",
534
534
  style: A(e.inputWidth),
535
535
  maxlength: e.maxCharactersPerItem,
536
- onFocus: t[1] || (t[1] = (...o) => e.onInputFocus && e.onInputFocus(...o)),
537
- onInput: t[2] || (t[2] = (...o) => e.onInput && e.onInput(...o)),
536
+ onFocus: t[1] || (t[1] = (...l) => e.onInputFocus && e.onInputFocus(...l)),
537
+ onInput: t[2] || (t[2] = (...l) => e.onInput && e.onInput(...l)),
538
538
  onKeydown: [
539
- t[3] || (t[3] = u(a((...o) => e.onEnter && e.onEnter(...o), ["prevent"]), ["enter"])),
540
- t[4] || (t[4] = u((...o) => e.onBackspace && e.onBackspace(...o), ["backspace"])),
541
- t[5] || (t[5] = u(a((...o) => e.onDown && e.onDown(...o), ["stop", "prevent"]), ["down"])),
542
- t[6] || (t[6] = u((...o) => e.closeOptionsAndStop && e.closeOptionsAndStop(...o), ["esc"]))
539
+ t[3] || (t[3] = r(a((...l) => e.onEnter && e.onEnter(...l), ["prevent"]), ["enter"])),
540
+ t[4] || (t[4] = r((...l) => e.onBackspace && e.onBackspace(...l), ["backspace"])),
541
+ t[5] || (t[5] = r(a((...l) => e.onDown && e.onDown(...l), ["stop", "prevent"]), ["down"])),
542
+ t[6] || (t[6] = r((...l) => e.closeOptionsAndStop && e.closeOptionsAndStop(...l), ["esc"]))
543
543
  ]
544
544
  }, null, 44, oe), [
545
545
  [R, e.searchValue]
546
546
  ])
547
547
  ], 2),
548
- S(p("div", le, [
549
- f(c, {
548
+ I(p("div", le, [
549
+ h(u, {
550
550
  ref: "removeAllTags",
551
551
  class: "remove-all-tags-button",
552
552
  compact: e.compact,
553
553
  onClick: a(e.removeAllTags, ["stop"])
554
554
  }, {
555
555
  default: O(() => [
556
- f(r)
556
+ h(c)
557
557
  ]),
558
558
  _: 1
559
559
  }, 8, ["compact", "onClick"])
560
560
  ], 512), [
561
- [D, e.hasSelection]
561
+ [P, e.hasSelection]
562
562
  ])
563
563
  ], 544)
564
564
  ]),
565
565
  _: 1
566
566
  }, 8, ["model-value", "possible-values", "size-visible-options", "parent-focus-element", "parent-refocus-element-on-close", "close-dropdown-on-selection", "is-valid", "compact", "onFocusOutside", "onUpdate:modelValue"]);
567
567
  }
568
- const ne = /* @__PURE__ */ E(te, [["render", ie], ["__scopeId", "data-v-418fb7c5"]]), ae = /* @__PURE__ */ M({
568
+ const ne = /* @__PURE__ */ C(te, [["render", ie], ["__scopeId", "data-v-418fb7c5"]]), ae = /* @__PURE__ */ M({
569
569
  __name: "ComboBoxControl",
570
570
  props: {
571
571
  control: {},
@@ -577,41 +577,29 @@ const ne = /* @__PURE__ */ E(te, [["render", ie], ["__scopeId", "data-v-418fb7c5
577
577
  labelForId: {}
578
578
  },
579
579
  setup(e) {
580
- const t = e, i = w(
581
- () => {
582
- var s, o;
583
- return (o = (s = t.control.uischema) == null ? void 0 : s.options) == null ? void 0 : o.choicesProvider;
584
- }
585
- ), n = L(
586
- H(i, []),
587
- t.control
588
- ), h = B([]), l = B(!1);
589
- z(() => {
590
- var s, o;
591
- h.value = t.control.data, i.value || (n.value = (o = (s = t.control.uischema) == null ? void 0 : s.options) == null ? void 0 : o.possibleValues), l.value = !0;
580
+ const t = e, i = F([]), n = F(!1), { possibleValues: m } = H(z(t, "control"));
581
+ U(() => {
582
+ i.value = t.control.data, n.value = !0;
592
583
  });
593
- const r = w(
594
- () => typeof n.value > "u"
595
- ), c = w(
596
- () => {
597
- var s;
598
- return t.disabled || r.value || ((s = n.value) == null ? void 0 : s.length) === 0;
599
- }
584
+ const o = B(
585
+ () => m.value === null || m.value.length === 0
586
+ ), c = B(
587
+ () => t.disabled || o.value
600
588
  );
601
- return (s, o) => l.value ? (d(), C(N(ne), {
589
+ return (u, s) => n.value ? (d(), S(N(ne), {
602
590
  key: 0,
603
- id: s.labelForId,
604
- "allow-new-values": r.value ? "" : !1,
605
- "aria-label": s.control.label,
591
+ id: u.labelForId,
592
+ "allow-new-values": o.value ? "" : !1,
593
+ "aria-label": u.control.label,
606
594
  disabled: c.value,
607
- "possible-values": r.value ? [] : N(n),
608
- "model-value": h.value,
609
- "is-valid": s.isValid,
595
+ "possible-values": N(m) ?? [],
596
+ "model-value": i.value,
597
+ "is-valid": u.isValid,
610
598
  compact: "",
611
- "onUpdate:modelValue": o[0] || (o[0] = (m) => s.changeValue(m))
612
- }, null, 8, ["id", "allow-new-values", "aria-label", "disabled", "possible-values", "model-value", "is-valid"])) : U("", !0);
599
+ "onUpdate:modelValue": s[0] || (s[0] = (l) => u.changeValue(l))
600
+ }, null, 8, ["id", "allow-new-values", "aria-label", "disabled", "possible-values", "model-value", "is-valid"])) : L("", !0);
613
601
  }
614
- }), ve = /* @__PURE__ */ E(ae, [["__scopeId", "data-v-f26e8737"]]);
602
+ }), we = /* @__PURE__ */ C(ae, [["__scopeId", "data-v-33a5967b"]]);
615
603
  export {
616
- ve as default
604
+ we as default
617
605
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, openBlock as a, createBlock as l, unref as n } from "vue";
2
- import { D as t } from "./DateTimeInput-Cbw4cu1f.js";
2
+ import { D as t } from "./DateTimeInput-DP2yHD9r.js";
3
3
  const u = /* @__PURE__ */ o({
4
4
  __name: "DateControl",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, computed as a, openBlock as f, createBlock as w, unref as V } from "vue";
2
- import { D as T } from "./DateTimeInput-Cbw4cu1f.js";
3
- import { t as i, f as b } from "./localTimeUtils-DIFjv2_A.js";
2
+ import { D as T } from "./DateTimeInput-DP2yHD9r.js";
3
+ import { t as i, f as b } from "./localTimeUtils-Dp9bEJDh.js";
4
4
  const y = /* @__PURE__ */ h({
5
5
  __name: "DateTimeControl",
6
6
  props: {
@@ -2,9 +2,9 @@ import { openBlock as m, createElementBlock as p, createElementVNode as v, defin
2
2
  import { o as te } from "./index-Bf0xDq3g.js";
3
3
  import { u as oe, o as le, s as ae, f as se, a as ne } from "./floating-ui.vue-B-MrqKCT.js";
4
4
  import { u as ie } from "./useDropdownNavigation-D6ZenVxz.js";
5
- import { L as re } from "./svgWithTitle-Cgc-TGWi.js";
6
- import { V as N } from "./ValueSwitch-CGXtJV-B.js";
7
- import { _ as O } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-dAvPWPee.js";
5
+ import { L as re } from "./svgWithTitle-B5FsAPop.js";
6
+ import { V as N } from "./ValueSwitch-BI5z5U3F.js";
7
+ import { _ as O } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
8
8
  const ce = {
9
9
  xmlns: "http://www.w3.org/2000/svg",
10
10
  fill: "none",
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as m, computed as o, openBlock as p, createBlock as c, unref as n } from "vue";
2
- import { u as f } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-dAvPWPee.js";
3
- import { D as F } from "./DateTimeFormatInput-BagQnUJb.js";
2
+ import { u as f } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
3
+ import { D as F } from "./DateTimeFormatInput-CsEAVqAA.js";
4
4
  const b = /* @__PURE__ */ m({
5
5
  __name: "DateTimeFormatPickerControl",
6
6
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as f, computed as t, openBlock as v, createElementBlock as T, createVNode as r, unref as d } from "vue";
2
- import { u as V, _ as b } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-dAvPWPee.js";
3
- import { V as y } from "./ValueSwitch-CGXtJV-B.js";
4
- import { D as F } from "./DateTimeFormatInput-BagQnUJb.js";
2
+ import { u as V, _ as b } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
3
+ import { V as y } from "./ValueSwitch-BI5z5U3F.js";
4
+ import { D as F } from "./DateTimeFormatInput-CsEAVqAA.js";
5
5
  const h = ["id"], D = /* @__PURE__ */ f({
6
6
  __name: "DateTimeFormatPickerWithTypeControl",
7
7
  props: {
@@ -1,14 +1,15 @@
1
1
  import { resolveComponent as je, openBlock as C, createElementBlock as E, normalizeClass as te, createElementVNode as j, createCommentVNode as ee, withModifiers as Nt, createVNode as z, reactive as Ia, computed as _, defineComponent as Oe, ref as we, watch as Ae, onMounted as rn, onUnmounted as Sa, toRefs as Iu, inject as wr, watchEffect as Ls, provide as br, nextTick as dr, unref as M, createBlock as Pe, resolveDynamicComponent as Ea, normalizeProps as hr, mergeProps as Mt, renderSlot as Dr, withCtx as Te, toDisplayString as Le, Fragment as Ce, renderList as Ge, normalizeStyle as mr, withKeys as Lr, withDirectives as Hs, toRef as Nr, guardReactiveProps as Un, createTextVNode as Na, isRef as ir, Transition as Rs, resolveDirective as Su, toHandlers as js, pushScopeId as Eu, popScopeId as Nu } from "vue";
2
2
  import { c as Au } from "./popper-CRR--9mA.js";
3
- import { r as Wu } from "./BaseButton-B6Z2uYGV.js";
4
- import { D as Uu } from "./Dropdown-xSUsqbQu.js";
3
+ import { r as Wu } from "./BaseButton-nH3iSIOK.js";
4
+ import { D as Uu } from "./Dropdown-D8qp_4wZ.js";
5
5
  import { A as Fu } from "./arrow-dropdown-DjUxzjqC.js";
6
6
  /* empty css */
7
- import { _ as Vs, q as nn } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-dAvPWPee.js";
8
- import { i as Lu, a as Hu } from "./toString-DkbNkGT4.js";
9
- import { b as Ru } from "./_baseIteratee-DvBmrhnf.js";
10
- import { b as ju } from "./_baseEach-B8N_Gx8P.js";
11
- import { a as Vu } from "./_getTag-DS8v0_uf.js";
7
+ import { _ as Vs, q as nn } from "./SettingsSubPanel.vue_vue_type_style_index_0_scoped_67b92e23_lang-BM4d25sK.js";
8
+ import { a as Lu } from "./toString-B9O7P854.js";
9
+ import { b as Hu } from "./_baseIteratee-DhaGkQLM.js";
10
+ import { b as Ru } from "./_baseEach-FP8ISlsz.js";
11
+ import { i as ju } from "./_getTag-DiktJuv_.js";
12
+ import { i as Vu } from "./isArray-WzO_os3q.js";
12
13
  function it(e) {
13
14
  "@babel/helpers - typeof";
14
15
  return it = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
@@ -2624,14 +2625,14 @@ const Lt = (e, t) => t ? (e = zs(e) ? e : new Date(Date.UTC(0, 0)), Gc(e, {
2624
2625
  return !1;
2625
2626
  }, Xc = () => Intl.DateTimeFormat().resolvedOptions().timeZone, Qc = (e) => Math.max(Math.floor(Math.log10(Math.abs(e))), 0) + 1;
2626
2627
  function Jc(e, t) {
2627
- var r = -1, n = Vu(e) ? Array(e.length) : [];
2628
- return ju(e, function(a, s, i) {
2628
+ var r = -1, n = ju(e) ? Array(e.length) : [];
2629
+ return Ru(e, function(a, s, i) {
2629
2630
  n[++r] = t(a, s, i);
2630
2631
  }), n;
2631
2632
  }
2632
2633
  function ed(e, t) {
2633
- var r = Lu(e) ? Hu : Jc;
2634
- return r(e, Ru(t));
2634
+ var r = Vu(e) ? Lu : Jc;
2635
+ return r(e, Hu(t));
2635
2636
  }
2636
2637
  const td = 200, rd = 50, nd = 1, ad = {
2637
2638
  name: "TimePartInput",
@@ -11179,9 +11180,9 @@ function yP(e, t, r, n, a, s) {
11179
11180
  ], 2)) : ee("", !0)
11180
11181
  ]);
11181
11182
  }
11182
- const OP = /* @__PURE__ */ Vs(sP, [["render", yP], ["__scopeId", "data-v-50cb1067"]]);
11183
+ const xP = /* @__PURE__ */ Vs(sP, [["render", yP], ["__scopeId", "data-v-50cb1067"]]);
11183
11184
  export {
11184
- OP as D,
11185
+ xP as D,
11185
11186
  Ju as a,
11186
11187
  il as b,
11187
11188
  rl as c,