@knime/jsonforms 1.11.4 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/{AnyOfTwinlist-B8IWCQfI.js → AnyOfTwinlist-C2hopPFE.js} +1 -1
  3. package/dist/{Button-BIMifH4J.js → Button-a3DyR88M.js} +1 -1
  4. package/dist/{CheckboxControl-mUTfjUik.js → CheckboxControl-DoQCgnTf.js} +1 -1
  5. package/dist/{Checkboxes-C8MYjELb.js → Checkboxes-DNbu05C7.js} +1 -1
  6. package/dist/{CheckboxesControl-PnQ9Adbm.js → CheckboxesControl-DgwL4BAl.js} +3 -3
  7. package/dist/{ComboBoxControl-Bx9k_xcF.js → ComboBoxControl-DSSfSqIC.js} +5 -5
  8. package/dist/{DateControl-CFDyvByp.js → DateControl-DArS42tY.js} +1 -1
  9. package/dist/{DateTimeControl-6xLdTDKD.js → DateTimeControl-BuZ5D5EW.js} +2 -2
  10. package/dist/{DateTimeFormatInput-DN13KoIx.js → DateTimeFormatInput-BJepKEOT.js} +3 -3
  11. package/dist/DateTimeFormatPickerControl-YAKOrguY.js +43 -0
  12. package/dist/{DateTimeFormatPickerWithTypeControl-CK9zH_Pb.js → DateTimeFormatPickerWithTypeControl-CM2eu1Bq.js} +19 -23
  13. package/dist/{DateTimeInput-CDUSsfXW.js → DateTimeInput-B30lQ3sx.js} +6 -6
  14. package/dist/{Dropdown-VTgudgLJ.js → Dropdown-Cp5fC5vt.js} +5 -5
  15. package/dist/{DropdownControl-B8hshDBE.js → DropdownControl-DXtUnm7l.js} +2 -2
  16. package/dist/{HorizontalLayout-MsL7PmH3.js → HorizontalLayout-BTxnoo0O.js} +1 -1
  17. package/dist/{InputField-fNsY8a05.js → InputField-B2bBpIrm.js} +1 -1
  18. package/dist/{IntegerControl-ZSV_1jks.js → IntegerControl-CamhgT4b.js} +1 -1
  19. package/dist/{IntervalControl-BedfdbyZ.js → IntervalControl-Dhz8aY9W.js} +134 -135
  20. package/dist/{LoadingDropdown-DRC0PUle.js → LoadingDropdown-DFLGXxJe.js} +3 -3
  21. package/dist/ManualTwinlistControl-C1Bk354m.js +85 -0
  22. package/dist/{MultiSelectListBoxControl-lf35kyRi.js → MultiSelectListBoxControl-DiSPf1p7.js} +2 -2
  23. package/dist/MultimodeTwinlistControl-DnpmvhFB.js +469 -0
  24. package/dist/MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_ca157254_lang-DjGJNwBV.js +65 -0
  25. package/dist/{MultiselectListBox-DXD5CLCh.js → MultiselectListBox-DMZvKZT2.js} +2 -2
  26. package/dist/{NameFilter-ClFwXeRF.js → NameFilter-qYooMIRr.js} +1 -1
  27. package/dist/{NumberControl-Cr7IXjEm.js → NumberControl-mAvpRa8P.js} +1 -1
  28. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-ILIV8gqr.js → NumberControlBase.vue_vue_type_script_setup_true_lang-DsYiLVc0.js} +2 -2
  29. package/dist/{NumberInput-A5_w5ol4.js → NumberInput-DfYpYs35.js} +1 -1
  30. package/dist/{OneOfDropdown-DlhjZGFa.js → OneOfDropdown-Dx9oWy6Y.js} +1 -1
  31. package/dist/{RadioControl-ClX2lEwk.js → RadioControl-C0sZejgk.js} +2 -2
  32. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-Bv6jDZzK.js → RadioControlBase.vue_vue_type_script_setup_true_lang-BBZFZcBX.js} +3 -3
  33. package/dist/{RichTextControl-KJQSmoKv.js → RichTextControl-ikOmp5Zc.js} +4 -4
  34. package/dist/{SectionHeading-D1h8Hr3u.js → SectionHeading-DoKeahJG.js} +1 -1
  35. package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js} +1310 -1299
  36. package/dist/{SectionLayout-CVyuhnR5.js → SectionLayout-DqhrTk7G.js} +13 -13
  37. package/dist/SettingsSubPanel-BsP2TPpl.js +5 -0
  38. package/dist/{SettingsSubPanelLayout-DGhJS__O.js → SettingsSubPanelLayout-QgTIOWrJ.js} +6 -6
  39. package/dist/{SimpleButtonControl-CiUUyw8s.js → SimpleButtonControl-DWOwphdQ.js} +2 -2
  40. package/dist/{SimpleTwinlistControl-D22uc8-j.js → SimpleTwinlistControl-Bm8f15KT.js} +2 -2
  41. package/dist/SingleSelectControl-DzoiFSGp.js +55 -0
  42. package/dist/{SingleSelectListBoxControl-mafA0Or_.js → SingleSelectListBoxControl-COshImPF.js} +24 -23
  43. package/dist/{SortListControl-CjaScQzv.js → SortListControl-D5jBOA2x.js} +54 -50
  44. package/dist/{StyledListItem-BoF85YFQ.js → StyledListItem-DCmVSIus.js} +1 -1
  45. package/dist/{TextAreaControl-C5eo1xkd.js → TextAreaControl-ijQXrkd5.js} +1 -1
  46. package/dist/{TextControl-CcC2bMdB.js → TextControl-Di5u3kig.js} +1 -1
  47. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-JuMgL8lA.js → TextControl.vue_vue_type_script_setup_true_lang-DWUPaWoR.js} +12 -16
  48. package/dist/{TimeControl-CZIiQ1Iq.js → TimeControl-oa9oA0c7.js} +2 -2
  49. package/dist/{TwinlistControlBase-mEUGRSXm.js → TwinlistControlBase-Dm8KSJE0.js} +3 -3
  50. package/dist/{TwinlistLoadingInfo-D6z3t2c9.js → TwinlistLoadingInfo-Dcbz2hUN.js} +12 -12
  51. package/dist/{TypedStringFilter-LQdmf8v7.js → TypedStringFilter-DOox0S1z.js} +1 -1
  52. package/dist/{ValueSwitch-D6Wu1NDa.js → ValueSwitch-Ba0d4Jda.js} +1 -1
  53. package/dist/{ValueSwitchControl-BbarTqJt.js → ValueSwitchControl-BFY2YwjA.js} +1 -1
  54. package/dist/{VerticalLayout-KMe-3TA0.js → VerticalLayout-CdmecqY1.js} +5 -5
  55. package/dist/{VerticalLayoutBase-Bd2TMmEZ.js → VerticalLayoutBase-2Al6mtWQ.js} +1 -1
  56. package/dist/{ZonedDateTimeControl-Bs_bnndF.js → ZonedDateTimeControl-xwK_O0Ue.js} +4 -4
  57. package/dist/{_baseEach-CABMvL7j.js → _baseEach-kS6aH7yJ.js} +2 -2
  58. package/dist/{_baseIteratee-DItkztCj.js → _baseIteratee-CcwzbMbu.js} +13 -13
  59. package/dist/{_getTag-4mJMm5F3.js → _getTag-DpK8q53u.js} +1 -1
  60. package/dist/knime-jsonforms.css +1 -1
  61. package/dist/knime-jsonforms.js +36 -34
  62. package/dist/{localTimeUtils-DWYnLAB-.js → localTimeUtils-4g4u5t7X.js} +1 -1
  63. package/dist/{magic-string.es-Iz0jmxfz.js → magic-string.es-CWjITDzi.js} +1 -1
  64. package/dist/src/JsonFormsDialog.vue.d.ts +7 -2
  65. package/dist/src/constants/inputFormats.d.ts +1 -0
  66. package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +2 -0
  67. package/dist/src/higherOrderComponents/control/types.d.ts +4 -0
  68. package/dist/src/higherOrderComponents/control/util.d.ts +6 -0
  69. package/dist/src/index.d.ts +2 -1
  70. package/dist/src/renderers/defaultRenderers.d.ts +25 -0
  71. package/dist/src/renderers/simpleButtonRenderer.d.ts +12 -0
  72. package/dist/src/renderers/sortListRenderer.d.ts +12 -0
  73. package/dist/src/renderers/twinlistRenderer.d.ts +2 -0
  74. package/dist/src/types/ChoicesUiSchema.d.ts +8 -4
  75. package/dist/src/types/provided.d.ts +10 -1
  76. package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +12 -0
  77. package/dist/src/uiComponents/SortListControl.vue.d.ts +8 -0
  78. package/dist/src/uiComponents/composables/useBuiltinValidations.d.ts +3 -6
  79. package/dist/src/uiComponents/composables/useHideOnNull.d.ts +1 -1
  80. package/dist/src/uiComponents/composables/usePossibleValues.d.ts +2 -2
  81. package/dist/src/uiComponents/composables/useProvidedState.d.ts +17 -2
  82. package/dist/src/uiComponents/index.d.ts +2 -1
  83. package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +8 -0
  84. package/dist/src/uiComponents/twinlist/useUnknownValuesInTwinlist.d.ts +3 -1
  85. package/dist/{svgWithTitle-CJzZ_AF0.js → svgWithTitle-DGBkWQrO.js} +1 -1
  86. package/dist/testUtils/component.d.ts +20 -4
  87. package/dist/testing.js +3 -3
  88. package/dist/toString-ByDUn5bZ.js +25 -0
  89. package/dist/useBuiltinValidations-ChTFREt7.js +73 -0
  90. package/dist/usePossibleValues-BB4he0jT.js +17 -0
  91. package/package.json +3 -3
  92. package/dist/DateTimeFormatPickerControl-BEnoRr2q.js +0 -47
  93. package/dist/MultimodeTwinlistControl-CwPCFa9I.js +0 -526
  94. package/dist/SettingsSubPanel-CjuhpEr4.js +0 -5
  95. package/dist/SingleSelectControl-LrEUX41i.js +0 -58
  96. package/dist/toString-DzEZi8fD.js +0 -25
  97. package/dist/useBuiltinValidations-hN9BsKJH.js +0 -52
  98. package/dist/usePossibleValues-DY3q9YuR.js +0 -26
@@ -1,35 +1,35 @@
1
- import { defineComponent as u, ref as i, openBlock as l, createElementBlock as m, createVNode as s, withCtx as r, renderSlot as p, createBlock as d, unref as c } from "vue";
2
- import { r as f, _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
3
- import { V as h } from "./VerticalLayoutBase-Bd2TMmEZ.js";
4
- import { S as v } from "./SectionHeading-D1h8Hr3u.js";
1
+ import { defineComponent as u, ref as i, openBlock as l, createElementBlock as m, createVNode as s, withCtx as r, renderSlot as p, createBlock as c, unref as d } from "vue";
2
+ import { v as f, _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
3
+ import { V as h } from "./VerticalLayoutBase-2Al6mtWQ.js";
4
+ import { S as v } from "./SectionHeading-DoKeahJG.js";
5
5
  const b = /* @__PURE__ */ u({
6
6
  __name: "SectionLayout",
7
7
  props: {
8
8
  layout: {}
9
9
  },
10
10
  setup($) {
11
- const a = i(!1);
11
+ const o = i(!1);
12
12
  return (e, t) => (l(), m("div", {
13
13
  class: "section",
14
- onMouseover: t[0] || (t[0] = (o) => a.value = !0),
15
- onMouseleave: t[1] || (t[1] = (o) => a.value = !1)
14
+ onMouseover: t[0] || (t[0] = (a) => o.value = !0),
15
+ onMouseleave: t[1] || (t[1] = (a) => o.value = !1)
16
16
  }, [
17
17
  s(v, {
18
18
  "title-text": e.layout.uischema.label
19
19
  }, {
20
- buttons: r(() => [
21
- p(e.$slots, "buttons", { hover: a.value }, void 0, !0)
20
+ "right-buttons": r(() => [
21
+ p(e.$slots, "buttons", { hover: o.value }, void 0, !0)
22
22
  ]),
23
23
  _: 3
24
24
  }, 8, ["title-text"]),
25
25
  s(h, {
26
26
  elements: e.layout.uischema.elements
27
27
  }, {
28
- default: r(({ element: o, index: n }) => [
29
- (l(), d(c(f), {
28
+ default: r(({ element: a, index: n }) => [
29
+ (l(), c(d(f), {
30
30
  key: `${e.layout.path}-${n}`,
31
31
  schema: e.layout.schema,
32
- uischema: o,
32
+ uischema: a,
33
33
  path: e.layout.path,
34
34
  enabled: e.layout.enabled,
35
35
  renderers: e.layout.renderers,
@@ -40,7 +40,7 @@ const b = /* @__PURE__ */ u({
40
40
  }, 8, ["elements"])
41
41
  ], 32));
42
42
  }
43
- }), V = /* @__PURE__ */ y(b, [["__scopeId", "data-v-b823daba"]]);
43
+ }), V = /* @__PURE__ */ y(b, [["__scopeId", "data-v-84fc355c"]]);
44
44
  export {
45
45
  V as default
46
46
  };
@@ -0,0 +1,5 @@
1
+ import { _ as s, y as a } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
2
+ const _ = /* @__PURE__ */ s(a, [["__scopeId", "data-v-110037e2"]]);
3
+ export {
4
+ _ as S
5
+ };
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as i, openBlock as n, createBlock as s, withCtx as t, createVNode as a, unref as l, createElementVNode as m } from "vue";
2
- import { q as c, r as p, _ as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
2
+ import { r as c, v as p, _ as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
3
3
  import { N as f } from "./arrow-next-CIOU5o42.js";
4
- import { V as h } from "./VerticalLayoutBase-Bd2TMmEZ.js";
5
- import { S as y } from "./SectionHeading-D1h8Hr3u.js";
6
- import { S as b } from "./SettingsSubPanel-CjuhpEr4.js";
4
+ import { V as h } from "./VerticalLayoutBase-2Al6mtWQ.js";
5
+ import { S as y } from "./SectionHeading-DoKeahJG.js";
6
+ import { S as b } from "./SettingsSubPanel-BsP2TPpl.js";
7
7
  const S = /* @__PURE__ */ i({
8
8
  __name: "SettingsSubPanelLayout",
9
9
  props: {
@@ -55,7 +55,7 @@ const S = /* @__PURE__ */ i({
55
55
  _: 1
56
56
  }));
57
57
  }
58
- }), v = /* @__PURE__ */ d(S, [["__scopeId", "data-v-eab8ed9f"]]);
58
+ }), V = /* @__PURE__ */ d(S, [["__scopeId", "data-v-eab8ed9f"]]);
59
59
  export {
60
- v as default
60
+ V as default
61
61
  };
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as u, openBlock as s, createBlock as p, resolveDynamicComponent as f, computed as r, ref as g, createElementBlock as _, createVNode as b, unref as y, withCtx as B, createCommentVNode as C, createTextVNode as h, toDisplayString as I, renderSlot as V } from "vue";
2
- import { y as k, _ as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
2
+ import { z as k, _ as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
3
3
  import { R as S } from "./reload-BVbCGubF.js";
4
- import { B as $ } from "./Button-BIMifH4J.js";
4
+ import { B as $ } from "./Button-a3DyR88M.js";
5
5
  const x = /* @__PURE__ */ u({
6
6
  __name: "DynamicIcon",
7
7
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as i, toRef as l, openBlock as a, createBlock as r, mergeProps as p, unref as c } from "vue";
2
- import { u } from "./usePossibleValues-DY3q9YuR.js";
3
- import { T as m } from "./TwinlistControlBase-mEUGRSXm.js";
2
+ import { u } from "./usePossibleValues-BB4he0jT.js";
3
+ import { T as m } from "./TwinlistControlBase-Dm8KSJE0.js";
4
4
  const w = /* @__PURE__ */ i({
5
5
  __name: "SimpleTwinlistControl",
6
6
  props: {
@@ -0,0 +1,55 @@
1
+ import { defineComponent as _, computed as i, toRef as I, openBlock as y, createBlock as F } from "vue";
2
+ import { u as $ } from "./usePossibleValues-BB4he0jT.js";
3
+ import { L as v } from "./LoadingDropdown-DFLGXxJe.js";
4
+ const r = "__special__", a = "__regular__", R = /* @__PURE__ */ _({
5
+ __name: "SingleSelectControl",
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(u) {
16
+ const t = u, p = i(
17
+ () => t.control.uischema.options.specialChoices
18
+ ), { possibleValues: l } = $(
19
+ I(t, "control")
20
+ ), n = (e) => `${r}${e}`, s = (e) => `${a}${e}`, d = ({
21
+ id: e,
22
+ text: o
23
+ }) => ({
24
+ id: n(e),
25
+ text: o,
26
+ isSpecial: !0
27
+ }), h = ({
28
+ id: e,
29
+ text: o
30
+ }) => ({
31
+ id: s(e),
32
+ text: o
33
+ }), f = i(() => l.value === null ? null : p.value.map(d).concat(l.value.map(h))), m = (e) => {
34
+ if (!e.startsWith(a) && !e.startsWith(r))
35
+ throw new Error(`Expected id to start with ${a}`);
36
+ }, C = (e) => e ? (m(e), e.startsWith(r) ? { specialChoice: e.slice(r.length) } : { regularChoice: e.slice(a.length) }) : null, g = (e) => typeof e > "u" || e === null ? "" : "regularChoice" in e && e.regularChoice ? s(e.regularChoice) : "specialChoice" in e && e.specialChoice ? n(e.specialChoice) : "", c = i({
37
+ get: () => g(t.control.data),
38
+ set: (e) => {
39
+ t.changeValue(C(e));
40
+ }
41
+ });
42
+ return (e, o) => (y(), F(v, {
43
+ id: e.labelForId,
44
+ modelValue: c.value,
45
+ "onUpdate:modelValue": o[0] || (o[0] = (b) => c.value = b),
46
+ "possible-values": f.value,
47
+ ariaLabel: e.control.label,
48
+ disabled: e.disabled,
49
+ compact: ""
50
+ }, null, 8, ["id", "modelValue", "possible-values", "ariaLabel", "disabled"]));
51
+ }
52
+ });
53
+ export {
54
+ R as default
55
+ };
@@ -1,11 +1,11 @@
1
- import { useId as m, resolveComponent as V, openBlock as a, createElementBlock as r, normalizeClass as u, createElementVNode as y, normalizeStyle as c, Fragment as I, renderList as x, createBlock as f, defineComponent as g, toRef as v, unref as h } from "vue";
2
- import { u as S } from "./usePossibleValues-DY3q9YuR.js";
3
- import { S as C } from "./StyledListItem-BoF85YFQ.js";
4
- import { _ as L } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
5
- const _ = 40, B = 38, w = 36, H = 35, T = {
1
+ import { useId as m, resolveComponent as V, openBlock as a, createElementBlock as u, normalizeClass as c, createElementVNode as y, normalizeStyle as h, Fragment as I, renderList as x, createBlock as f, defineComponent as g, toRef as v, unref as o, createCommentVNode as S } from "vue";
2
+ import { u as C } from "./usePossibleValues-BB4he0jT.js";
3
+ import { S as L } from "./StyledListItem-DCmVSIus.js";
4
+ import { _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
5
+ const B = 40, w = 38, H = 36, T = 35, K = {
6
6
  name: "ListBox",
7
7
  components: {
8
- StyledListItem: C
8
+ StyledListItem: L
9
9
  },
10
10
  props: {
11
11
  id: {
@@ -135,7 +135,7 @@ const _ = 40, B = 38, w = 36, H = 35, T = {
135
135
  this.setSelected(this.selectableValues[e].id, e), this.$refs.ul.scrollTop = 0;
136
136
  },
137
137
  handleKeyDown(e) {
138
- this.disabled || (e.keyCode === _ && (this.onArrowDown(), e.preventDefault()), e.keyCode === B && (this.onArrowUp(), e.preventDefault()), e.keyCode === H && (this.onEndKey(), e.preventDefault()), e.keyCode === w && (this.onHomeKey(), e.preventDefault()));
138
+ this.disabled || (e.keyCode === B && (this.onArrowDown(), e.preventDefault()), e.keyCode === w && (this.onArrowUp(), e.preventDefault()), e.keyCode === T && (this.onEndKey(), e.preventDefault()), e.keyCode === H && (this.onHomeKey(), e.preventDefault()));
139
139
  },
140
140
  hasSelection() {
141
141
  return this.selectedIndex >= 0;
@@ -160,11 +160,11 @@ const _ = 40, B = 38, w = 36, H = 35, T = {
160
160
  return `option-${this.id}-${t}`;
161
161
  }
162
162
  }
163
- }, K = ["id", "tabindex", "aria-label", "aria-activedescendant"];
163
+ }, k = ["id", "tabindex", "aria-label", "aria-activedescendant"];
164
164
  function D(e, t, l, n, d, i) {
165
165
  const p = V("StyledListItem");
166
- return a(), r("div", {
167
- class: u(["list-box", { invalid: !l.isValid, disabled: l.disabled }])
166
+ return a(), u("div", {
167
+ class: c(["list-box", { invalid: !l.isValid, disabled: l.disabled }])
168
168
  }, [
169
169
  y("ul", {
170
170
  id: l.id,
@@ -172,19 +172,19 @@ function D(e, t, l, n, d, i) {
172
172
  role: "listbox",
173
173
  tabindex: l.disabled ? -1 : 0,
174
174
  "aria-label": l.ariaLabel,
175
- style: c(i.ulSizeStyle),
175
+ style: h(i.ulSizeStyle),
176
176
  "aria-activedescendant": i.generateOptionId(i.getCurrentItem()),
177
177
  onKeydown: t[0] || (t[0] = (...s) => i.handleKeyDown && i.handleKeyDown(...s))
178
178
  }, [
179
- (a(!0), r(I, null, x(i.selectableValues, (s, o) => (a(), f(p, {
179
+ (a(!0), u(I, null, x(i.selectableValues, (s, r) => (a(), f(p, {
180
180
  id: i.generateOptionId(s),
181
181
  key: `listbox-${s.id}`,
182
182
  ref_for: !0,
183
183
  ref: "options",
184
- style: c({ "line-height": `${d.optionLineHeight}px` }),
184
+ style: h({ "line-height": `${d.optionLineHeight}px` }),
185
185
  text: s.text,
186
186
  title: s.text,
187
- class: u({
187
+ class: c({
188
188
  focused: i.isCurrentValue(s.id),
189
189
  noselect: !0,
190
190
  empty: s.text.trim() === ""
@@ -195,13 +195,13 @@ function D(e, t, l, n, d, i) {
195
195
  invalid: s.invalid,
196
196
  special: s.special,
197
197
  disabled: l.disabled,
198
- onClick: (b) => !l.disabled && i.setSelected(s.id, o),
199
- onFocus: (b) => !l.disabled && i.setSelected(s.id, o)
198
+ onClick: (b) => !l.disabled && i.setSelected(s.id, r),
199
+ onFocus: (b) => !l.disabled && i.setSelected(s.id, r)
200
200
  }, null, 8, ["id", "style", "text", "title", "class", "aria-selected", "line-height", "selected", "invalid", "special", "disabled", "onClick", "onFocus"]))), 128))
201
- ], 44, K)
201
+ ], 44, k)
202
202
  ], 2);
203
203
  }
204
- const k = /* @__PURE__ */ L(T, [["render", D], ["__scopeId", "data-v-4ed79271"]]), F = /* @__PURE__ */ g({
204
+ const z = /* @__PURE__ */ _(K, [["render", D], ["__scopeId", "data-v-4ed79271"]]), N = /* @__PURE__ */ g({
205
205
  __name: "SingleSelectListBoxControl",
206
206
  props: {
207
207
  control: {},
@@ -213,22 +213,23 @@ const k = /* @__PURE__ */ L(T, [["render", D], ["__scopeId", "data-v-4ed79271"]]
213
213
  labelForId: {}
214
214
  },
215
215
  setup(e) {
216
- const t = e, { possibleValues: l } = S(v(t, "control"));
216
+ const t = e, { possibleValues: l } = C(v(t, "control"));
217
217
  return (n, d) => {
218
218
  var i;
219
- return a(), f(h(k), {
219
+ return o(l) ? (a(), f(o(z), {
220
+ key: 0,
220
221
  id: n.labelForId,
221
- "possible-values": h(l) || [],
222
+ "possible-values": o(l),
222
223
  disabled: n.disabled,
223
224
  "model-value": n.control.data,
224
225
  "is-valid": n.isValid,
225
226
  ariaLabel: n.control.label,
226
227
  size: (i = n.control.uischema.options) == null ? void 0 : i.size,
227
228
  "onUpdate:modelValue": n.changeValue
228
- }, null, 8, ["id", "possible-values", "disabled", "model-value", "is-valid", "ariaLabel", "size", "onUpdate:modelValue"]);
229
+ }, null, 8, ["id", "possible-values", "disabled", "model-value", "is-valid", "ariaLabel", "size", "onUpdate:modelValue"])) : S("", !0);
229
230
  };
230
231
  }
231
232
  });
232
233
  export {
233
- F as default
234
+ N as default
234
235
  };
@@ -1,13 +1,13 @@
1
- import { openBlock as C, createElementBlock as S, createElementVNode as k, defineComponent as W, computed as V, ref as F, watch as q, Fragment as z, createVNode as c, withKeys as B, withModifiers as M, unref as p, withCtx as f, nextTick as re, onMounted as ie, createTextVNode as $, renderSlot as H, normalizeClass as ue } from "vue";
2
- import { q as E, _ as Y, u as de, L as ce, E as me } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
1
+ import { openBlock as C, createElementBlock as S, createElementVNode as k, defineComponent as W, computed as V, ref as F, watch as z, Fragment as Y, createVNode as c, withKeys as B, withModifiers as M, unref as p, withCtx as f, nextTick as re, onMounted as ie, createTextVNode as $, renderSlot as H, normalizeClass as ue } from "vue";
2
+ import { r as E, _ as q, u as de, L as ce, E as me } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
3
3
  import { i as pe } from "./navigator-D_R-txCf.js";
4
- import { M as fe } from "./MultiselectListBox-DXD5CLCh.js";
5
- import { g as ve } from "./_getTag-4mJMm5F3.js";
6
- import { b as we } from "./_baseEach-CABMvL7j.js";
7
- import { b as be } from "./_baseIteratee-DItkztCj.js";
4
+ import { M as fe } from "./MultiselectListBox-DMZvKZT2.js";
5
+ import { g as ve } from "./_getTag-DpK8q53u.js";
6
+ import { b as we } from "./_baseEach-kS6aH7yJ.js";
7
+ import { b as be } from "./_baseIteratee-CcwzbMbu.js";
8
8
  import { i as he } from "./isArray-WzO_os3q.js";
9
9
  import { c as ge } from "./createMissingItem-B00Kg95q.js";
10
- import { B as N } from "./Button-BIMifH4J.js";
10
+ import { B as N } from "./Button-a3DyR88M.js";
11
11
  const R = {
12
12
  ArrowUp: "↑",
13
13
  ArrowDown: "↓",
@@ -25,11 +25,11 @@ const R = {
25
25
  Alt: "⌥",
26
26
  Enter: "↩"
27
27
  }, G = (t) => {
28
- const e = (i) => (r) => i[r] ?? r, a = ((...i) => i.reduce((r, w) => (_) => w(r(_))))(
28
+ const e = (i) => (r) => i[r] ?? r, s = ((...i) => i.reduce((r, w) => (_) => w(r(_))))(
29
29
  e(Ve),
30
30
  e(R)
31
- ), s = e(R);
32
- return pe() ? a(t) : s(t);
31
+ ), a = e(R);
32
+ return pe() ? s(t) : a(t);
33
33
  }, J = () => " ", ke = (t, e = J) => t.map(G).join(e()), _e = { formatHotkeys: ke, formatHotkey: G, getDefaultSeparator: J };
34
34
  var Z = function() {
35
35
  try {
@@ -38,8 +38,8 @@ var Z = function() {
38
38
  } catch {
39
39
  }
40
40
  }();
41
- function xe(t, e, o, a) {
42
- for (var s = t.length, i = o + -1; ++i < s; )
41
+ function xe(t, e, o, s) {
42
+ for (var a = t.length, i = o + -1; ++i < a; )
43
43
  if (e(t[i], i, t))
44
44
  return i;
45
45
  return -1;
@@ -48,9 +48,9 @@ function Ae(t) {
48
48
  return t !== t;
49
49
  }
50
50
  function Ce(t, e, o) {
51
- for (var a = o - 1, s = t.length; ++a < s; )
52
- if (t[a] === e)
53
- return a;
51
+ for (var s = o - 1, a = t.length; ++s < a; )
52
+ if (t[s] === e)
53
+ return s;
54
54
  return -1;
55
55
  }
56
56
  function Se(t, e, o) {
@@ -64,30 +64,30 @@ function Ie(t, e, o) {
64
64
  writable: !0
65
65
  }) : t[e] = o;
66
66
  }
67
- function ye(t, e, o, a) {
68
- for (var s = -1, i = t == null ? 0 : t.length; ++s < i; ) {
69
- var r = t[s];
70
- e(a, r, o(r), t);
67
+ function ye(t, e, o, s) {
68
+ for (var a = -1, i = t == null ? 0 : t.length; ++a < i; ) {
69
+ var r = t[a];
70
+ e(s, r, o(r), t);
71
71
  }
72
- return a;
72
+ return s;
73
73
  }
74
- function Le(t, e, o, a) {
75
- return we(t, function(s, i, r) {
76
- e(a, s, o(s), r);
77
- }), a;
74
+ function Le(t, e, o, s) {
75
+ return we(t, function(a, i, r) {
76
+ e(s, a, o(a), r);
77
+ }), s;
78
78
  }
79
79
  function Q(t, e) {
80
- return function(o, a) {
81
- var s = he(o) ? ye : Le, i = e ? e() : {};
82
- return s(o, t, be(a), i);
80
+ return function(o, s) {
81
+ var a = he(o) ? ye : Le, i = e ? e() : {};
82
+ return a(o, t, be(s), i);
83
83
  };
84
84
  }
85
85
  function X(t, e, o) {
86
- var a = t == null ? 0 : t.length;
87
- if (!a)
86
+ var s = t == null ? 0 : t.length;
87
+ if (!s)
88
88
  return -1;
89
- var s = 0;
90
- return Se(t, e, s);
89
+ var a = 0;
90
+ return Se(t, e, a);
91
91
  }
92
92
  var Ue = Q(function(t, e, o) {
93
93
  Ie(t, o, e);
@@ -131,7 +131,7 @@ function Ke(t, e) {
131
131
  k("path", { d: "m5 14.9 11-11 11 11m-11-11v24.2" }, null, -1)
132
132
  ]));
133
133
  }
134
- const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
134
+ const De = { render: Ke }, Oe = { class: "buttons" }, Pe = /* @__PURE__ */ W({
135
135
  __name: "SortList",
136
136
  props: {
137
137
  modelValue: {},
@@ -142,12 +142,12 @@ const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
142
142
  },
143
143
  emits: ["update:modelValue"],
144
144
  setup(t, { emit: e }) {
145
- const o = t, a = e, s = V(() => Ue(o.possibleValues, "id")), i = V(
145
+ const o = t, s = e, a = V(() => Ue(o.possibleValues, "id")), i = V(
146
146
  () => o.modelValue.map(
147
- (l) => s.value[l] ?? ge(l)
147
+ (l) => a.value[l] ?? ge(l)
148
148
  )
149
149
  ), r = F([]);
150
- q(
150
+ z(
151
151
  () => o.modelValue,
152
152
  (l) => {
153
153
  const d = new Set(l);
@@ -172,13 +172,13 @@ const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
172
172
  ), ne = new Set(m), [K, D] = y(
173
173
  te,
174
174
  (h) => ne.has(h + g)
175
- ), [le, se] = l === "up" ? [K, D] : [D, K], ae = ee.concat(le, se, oe);
176
- a("update:modelValue", ae), re(() => {
177
- var h, U, P, O;
178
- l === "up" ? ((h = n.value) == null || h.scrollUpIntoView(g - 1), (U = n.value) == null || U.setCurrentKeyNavIndex(g)) : ((P = n.value) == null || P.scrollDownIntoView(T + 1), (O = n.value) == null || O.setCurrentKeyNavIndex(T));
175
+ ), [le, ae] = l === "up" ? [K, D] : [D, K], se = ee.concat(le, ae, oe);
176
+ s("update:modelValue", se), re(() => {
177
+ var h, U, O, P;
178
+ l === "up" ? ((h = n.value) == null || h.scrollUpIntoView(g - 1), (U = n.value) == null || U.setCurrentKeyNavIndex(g)) : ((O = n.value) == null || O.scrollDownIntoView(T + 1), (P = n.value) == null || P.setCurrentKeyNavIndex(T));
179
179
  });
180
180
  }, v = u("up"), x = u("down"), L = () => v({ to: 0 }), A = () => x({ to: o.modelValue.length }), b = (l, d) => `${l} (${_e.formatHotkeys(d)})`;
181
- return (l, d) => (C(), S(z, null, [
181
+ return (l, d) => (C(), S(Y, null, [
182
182
  c(fe, {
183
183
  id: l.id,
184
184
  ref_key: "listBox",
@@ -197,7 +197,7 @@ const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
197
197
  B(M(A, ["alt"]), ["end"])
198
198
  ]
199
199
  }, null, 8, ["id", "modelValue", "possible-values", "ariaLabel", "onKeydown"]),
200
- k("div", Pe, [
200
+ k("div", Oe, [
201
201
  c(E, {
202
202
  disabled: w.value,
203
203
  title: b("Move to top", ["Alt", "Home"]),
@@ -245,7 +245,7 @@ const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
245
245
  ])
246
246
  ], 64));
247
247
  }
248
- }), He = /* @__PURE__ */ Y(Oe, [["__scopeId", "data-v-116782be"]]), Re = {
248
+ }), He = /* @__PURE__ */ q(Pe, [["__scopeId", "data-v-116782be"]]), Re = {
249
249
  class: /* @__PURE__ */ ue(["flex", "space-between"])
250
250
  }, Ze = { class: "flex" }, je = "<any unknown new column>", We = /* @__PURE__ */ W({
251
251
  __name: "SortListControl",
@@ -262,10 +262,14 @@ const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
262
262
  anyUnknownValuesText: { default: "Any unknown column" }
263
263
  },
264
264
  setup(t) {
265
- const e = t, o = V(() => e.control.data), a = V(
266
- () => e.control.uischema.options.choicesProvider
267
- ), s = de(a, e.control.uischema.options.possibleValues ?? []), i = V(
268
- () => s.value.concat({
265
+ const e = t, o = V(() => e.control.data), s = V(
266
+ () => e.control.uischema
267
+ ), a = de(
268
+ s,
269
+ "possibleValues",
270
+ []
271
+ ), i = V(
272
+ () => a.value.concat({
269
273
  id: e.anyUnknownValuesId,
270
274
  text: e.anyUnknownValuesText,
271
275
  special: !0
@@ -284,8 +288,8 @@ const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
284
288
  A.length > 0 && e.changeValue(v.concat(A, x));
285
289
  };
286
290
  ie(() => {
287
- r(s.value);
288
- }), q(() => s.value, r);
291
+ r(a.value);
292
+ }), z(() => a.value, r);
289
293
  const w = () => {
290
294
  e.changeValue(o.value.toSorted((n, u) => n.localeCompare(u)));
291
295
  }, _ = () => {
@@ -293,7 +297,7 @@ const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
293
297
  }, I = () => {
294
298
  e.changeValue(i.value.map(({ id: n }) => n));
295
299
  }, y = F(null);
296
- return (n, u) => (C(), S(z, null, [
300
+ return (n, u) => (C(), S(Y, null, [
297
301
  k("div", Re, [
298
302
  k("div", Ze, [
299
303
  c(p(N), {
@@ -364,7 +368,7 @@ const De = { render: Ke }, Pe = { class: "buttons" }, Oe = /* @__PURE__ */ W({
364
368
  }, 8, ["label", "onControllingFlowVariableSet"])
365
369
  ], 64));
366
370
  }
367
- }), nt = /* @__PURE__ */ Y(We, [["__scopeId", "data-v-a6dc87f4"]]);
371
+ }), nt = /* @__PURE__ */ q(We, [["__scopeId", "data-v-dfbf22b0"]]);
368
372
  export {
369
373
  je as DEFAULT_ANY_UNKNOWN_VALUES_ID,
370
374
  nt as default
@@ -1,5 +1,5 @@
1
1
  import { openBlock as s, createElementBlock as n, mergeProps as d, withModifiers as o, toDisplayString as a } from "vue";
2
- import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
2
+ import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
3
3
  const f = {
4
4
  name: "StyledListItem",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { openBlock as a, createElementBlock as o, normalizeClass as r, createElementVNode as u, mergeProps as c, createCommentVNode as m, defineComponent as p, createBlock as f, unref as V } from "vue";
2
- import { _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
2
+ import { _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
3
3
  const y = {
4
4
  name: "TextArea",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./TextControl.vue_vue_type_script_setup_true_lang-JuMgL8lA.js";
1
+ import { _ as f } from "./TextControl.vue_vue_type_script_setup_true_lang-DWUPaWoR.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
- import { defineComponent as c, ref as u, openBlock as m, createBlock as h, unref as i } from "vue";
2
- import { u as f } from "./useBuiltinValidations-hN9BsKJH.js";
3
- import { u as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
4
- import { I as F } from "./InputField-fNsY8a05.js";
5
- const I = /* @__PURE__ */ c({
1
+ import { defineComponent as s, computed as c, ref as u, openBlock as m, createBlock as h, unref as l } from "vue";
2
+ import { u as f } from "./useBuiltinValidations-ChTFREt7.js";
3
+ import { u as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
4
+ import { I as F } from "./InputField-B2bBpIrm.js";
5
+ const I = /* @__PURE__ */ s({
6
6
  __name: "TextControl",
7
7
  props: {
8
8
  control: {},
@@ -13,34 +13,30 @@ const I = /* @__PURE__ */ c({
13
13
  onRegisterValidation: { type: Function },
14
14
  labelForId: {}
15
15
  },
16
- setup(r, { expose: d }) {
17
- var l, a;
18
- const n = r;
16
+ setup(a, { expose: i }) {
17
+ const n = a;
19
18
  f(
20
19
  {
21
20
  pattern: ({ pattern: e }) => {
22
21
  const o = new RegExp(`^(${e})$`);
23
- return (s) => o.test(s ?? "");
22
+ return (p) => o.test(p ?? "");
24
23
  },
25
24
  minLength: ({ minLength: e }) => (o) => ((o == null ? void 0 : o.length) ?? 0) >= e,
26
25
  maxLength: ({ maxLength: e }) => (o) => ((o == null ? void 0 : o.length) ?? 0) <= e
27
26
  },
28
27
  n
29
28
  );
30
- const p = g(
31
- (l = n.control.uischema.options) == null ? void 0 : l.placeholderProvider,
32
- ((a = n.control.uischema.options) == null ? void 0 : a.placeholder) ?? ""
33
- ), t = u(null);
34
- return d({
29
+ const d = c(() => n.control.uischema), r = g(d, "placeholder", ""), t = u(null);
30
+ return i({
35
31
  focus: () => {
36
32
  var e;
37
33
  return (e = t.value) == null ? void 0 : e.focus();
38
34
  }
39
- }), (e, o) => (m(), h(i(F), {
35
+ }), (e, o) => (m(), h(l(F), {
40
36
  id: e.labelForId,
41
37
  ref_key: "inputField",
42
38
  ref: t,
43
- placeholder: i(p),
39
+ placeholder: l(r),
44
40
  "model-value": e.control.data,
45
41
  disabled: e.disabled,
46
42
  "is-valid": e.isValid,
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as m, computed as e, openBlock as p, createBlock as h, unref as t } from "vue";
2
- import { D as f } from "./DateTimeInput-CDUSsfXW.js";
3
- import { l as a } from "./localTimeUtils-DWYnLAB-.js";
2
+ import { D as f } from "./DateTimeInput-B30lQ3sx.js";
3
+ import { l as a } from "./localTimeUtils-4g4u5t7X.js";
4
4
  const g = /* @__PURE__ */ m({
5
5
  __name: "TimeControl",
6
6
  props: {
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as t, markRaw as d, toRef as p, openBlock as r, createBlock as u, unref as l } from "vue";
2
- import { a as m } from "./usePossibleValues-DY3q9YuR.js";
3
- import { T as b, a as c } from "./TwinlistLoadingInfo-D6z3t2c9.js";
4
- import { _ as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
2
+ import { a as m } from "./usePossibleValues-BB4he0jT.js";
3
+ import { T as b, a as c } from "./TwinlistLoadingInfo-Dcbz2hUN.js";
4
+ import { _ as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
5
5
  const h = /* @__PURE__ */ t({
6
6
  __name: "TwinlistControlBase",
7
7
  props: {