@knime/jsonforms 1.5.11 → 1.5.13

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 (57) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/{AnyOfTwinlist-Bdrhc6uW.js → AnyOfTwinlist-DOVbLwW2.js} +1 -1
  3. package/dist/{BaseButton-Dy2rQt0b.js → BaseButton-vxj49Awp.js} +1 -1
  4. package/dist/{Button-BdlfMrsO.js → Button-C7z37lgP.js} +2 -2
  5. package/dist/{Checkbox-unJMpX-O.js → Checkbox-C8b6Wu69.js} +1 -1
  6. package/dist/{CheckboxControl-Ck8QAKm0.js → CheckboxControl-BNZnvdxv.js} +2 -2
  7. package/dist/{Checkboxes-CtxOlG_P.js → Checkboxes-yETxG6fW.js} +2 -2
  8. package/dist/{CheckboxesControl-LMvcE5FC.js → CheckboxesControl-BaodIop-.js} +2 -2
  9. package/dist/{ColumnFilter-B6JiVV4K.js → ColumnFilter-BHUzi6S7.js} +1 -1
  10. package/dist/{ColumnSelect-BnMmvl1p.js → ColumnSelect-CmPSOyWL.js} +2 -2
  11. package/dist/{ComboBoxControl-DXjw9HYV.js → ComboBoxControl-D4zglKUU.js} +3 -3
  12. package/dist/{DateControl-DXTCop2C.js → DateControl-BTJXMUeX.js} +1 -1
  13. package/dist/{DateTimeControl-CBBmw-o9.js → DateTimeControl-D5yxjrAY.js} +2 -2
  14. package/dist/{DateTimeFormatInput-B8F-bku1.js → DateTimeFormatInput-Cg5voSNb.js} +3 -3
  15. package/dist/{DateTimeFormatPickerControl-Dk70ATRK.js → DateTimeFormatPickerControl-ZQXvkY5g.js} +2 -2
  16. package/dist/{DateTimeFormatPickerWithTypeControl-DpmscK0S.js → DateTimeFormatPickerWithTypeControl-Cbq0jgL5.js} +3 -3
  17. package/dist/{DateTimeInput-BAlTkrLY.js → DateTimeInput-D5vfk3Jc.js} +3 -3
  18. package/dist/{Dropdown-DMuumgWl.js → Dropdown-DFmIjwud.js} +2 -2
  19. package/dist/{DropdownControl-BXGa2Zqy.js → DropdownControl-T1mQNinC.js} +1 -1
  20. package/dist/{DropdownControl.vue_vue_type_script_setup_true_lang-BoxbVXvP.js → DropdownControl.vue_vue_type_script_setup_true_lang-C2ZZu7dW.js} +4 -4
  21. package/dist/{FunctionButton-DeDZhG-y.js → FunctionButton-CBNiE07z.js} +2 -2
  22. package/dist/{HorizontalLayout-Bu_HoqtD.js → HorizontalLayout-cPD7_zhF.js} +1 -1
  23. package/dist/{InputField-D4q-r9Uh.js → InputField-CcGDib2j.js} +1 -1
  24. package/dist/{IntegerControl-YK4WjBn5.js → IntegerControl-DMnsL6Xl.js} +1 -1
  25. package/dist/{IntervalControl-DgNMRmkf.js → IntervalControl-DiXZh-L_.js} +31 -31
  26. package/dist/{MultiselectListBox-gv3qTuQr.js → MultiselectListBox--TumfhYr.js} +1 -1
  27. package/dist/{NameFilter-BgLhjcRh.js → NameFilter-Dr2uQDkd.js} +1 -1
  28. package/dist/{NumberControl-D6fxN7Ak.js → NumberControl-CaQpxH9K.js} +1 -1
  29. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-CS09VLWk.js → NumberControlBase.vue_vue_type_script_setup_true_lang-DVbx9Efz.js} +2 -2
  30. package/dist/{NumberInput-DpPitBwb.js → NumberInput-CuoIed30.js} +1 -1
  31. package/dist/{OneOfDropdown-BmiBhFyV.js → OneOfDropdown-DlmrW03w.js} +1 -1
  32. package/dist/{RadioControl-Bz45ai5B.js → RadioControl-CLm_v5RI.js} +2 -2
  33. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-BMt_Hsny.js → RadioControlBase.vue_vue_type_script_setup_true_lang-ppuX5d_0.js} +2 -2
  34. package/dist/{RichTextControl-CboEr8Ha.js → RichTextControl-4DZGYseH.js} +5 -5
  35. package/dist/{SectionLayout-G_hSkGkd.js → SectionLayout-MIQAFvBX.js} +2 -2
  36. package/dist/{SimpleButtonControl-Ctzf8fFf.js → SimpleButtonControl-BoATE5ls.js} +2 -2
  37. package/dist/{SimpleTwinlistControl-Dba-YIhS.js → SimpleTwinlistControl-awGHOajc.js} +12 -13
  38. package/dist/{SortListControl-nE_ccGpj.js → SortListControl-DB6MIVgz.js} +4 -4
  39. package/dist/{TextAreaControl-DzkUHA8F.js → TextAreaControl-LCWNDXOh.js} +1 -1
  40. package/dist/{TextControl-D2fK-gNn.js → TextControl-DL5bxnH4.js} +1 -1
  41. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-CJiAVESn.js → TextControl.vue_vue_type_script_setup_true_lang-CmmuoX43.js} +3 -3
  42. package/dist/{TimeControl-CM6oOWK0.js → TimeControl-D_ostSAE.js} +2 -2
  43. package/dist/{TwinlistControl-z14pmNeU.js → TwinlistControl-vIfCeFyn.js} +70 -71
  44. package/dist/{TwinlistLoadingInfo-D0MkbjKj.js → TwinlistLoadingInfo-B5I-g9Jy.js} +69 -89
  45. package/dist/{ValueSwitch-4X-VU2s4.js → ValueSwitch-B8ocGBBM.js} +1 -1
  46. package/dist/{ValueSwitchControl-BBSNxQbR.js → ValueSwitchControl-DTCWN46W.js} +1 -1
  47. package/dist/{VerticalLayout-BAZbPfB7.js → VerticalLayout-Cw-Y0pnN.js} +2 -2
  48. package/dist/{VerticalLayoutBase-ixPAQHbd.js → VerticalLayoutBase-UVSLIX85.js} +1 -1
  49. package/dist/{VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-BruTDvDa.js → VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-CyYj6nsl.js} +30 -30
  50. package/dist/{ZonedDateTimeControl-DLHI_f3d.js → ZonedDateTimeControl-qBq0A9E_.js} +4 -4
  51. package/dist/knime-jsonforms.css +1 -1
  52. package/dist/knime-jsonforms.js +5 -5
  53. package/dist/{localTimeUtils-DCUpSGnm.js → localTimeUtils-0iyeWfJL.js} +1 -1
  54. package/dist/{magic-string.es-CTx3IfWA.js → magic-string.es-CArTHqsx.js} +1 -1
  55. package/dist/{svgWithTitle-BIyPeUQw.js → svgWithTitle-BZavSoga.js} +1 -1
  56. package/dist/testing.js +2 -2
  57. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as d, computed as r, markRaw as u, openBlock as p, createBlock as c, unref as i } from "vue";
2
- import { k as m, u as f, _ as h } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-BruTDvDa.js";
3
- import { a as b, T as v } from "./TwinlistLoadingInfo-D0MkbjKj.js";
4
- const w = /* @__PURE__ */ d({
2
+ import { k as m, u as b, _ as f } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-CyYj6nsl.js";
3
+ import { a as h, T as w } from "./TwinlistLoadingInfo-B5I-g9Jy.js";
4
+ const v = /* @__PURE__ */ d({
5
5
  __name: "SimpleTwinlistControl",
6
6
  props: {
7
7
  control: {},
@@ -16,24 +16,24 @@ const w = /* @__PURE__ */ d({
16
16
  twinlistRightLabel: { default: "Includes" },
17
17
  optionsGenerator: { type: [null, Function], default: null }
18
18
  },
19
- setup(t) {
20
- const l = t, s = m("getPossibleValuesFromUiSchema"), a = r(
19
+ setup(a) {
20
+ const l = a, n = m("getPossibleValuesFromUiSchema"), t = r(
21
21
  () => {
22
22
  var e;
23
23
  return (e = l.control.uischema.options) == null ? void 0 : e.choicesProvider;
24
24
  }
25
- ), o = f(
26
- a,
25
+ ), o = b(
26
+ t,
27
27
  null
28
- ), n = u(b);
29
- return a.value || (l.optionsGenerator === null ? s(l.control).then((e) => {
28
+ ), s = u(h);
29
+ return t.value || (l.optionsGenerator === null ? n(l.control).then((e) => {
30
30
  o.value = e;
31
- }) : o.value = l.optionsGenerator(l.control)), (e, g) => (p(), c(i(v), {
31
+ }) : o.value = l.optionsGenerator(l.control)), (e, g) => (p(), c(i(w), {
32
32
  id: e.labelForId,
33
33
  disabled: e.disabled,
34
34
  "model-value": e.control.data,
35
35
  "possible-values": i(o) ?? [],
36
- "empty-state-component": i(o) === null ? i(n) : null,
36
+ "empty-state-component": i(o) === null ? i(s) : null,
37
37
  "hide-options": i(o) === null,
38
38
  size: e.twinlistSize,
39
39
  "left-label": e.twinlistLeftLabel,
@@ -41,11 +41,10 @@ const w = /* @__PURE__ */ d({
41
41
  "is-valid": e.isValid,
42
42
  compact: "",
43
43
  "show-resize-handle": "",
44
- "filter-chosen-values-on-possible-values-change": !1,
45
44
  "onUpdate:modelValue": e.changeValue
46
45
  }, null, 8, ["id", "disabled", "model-value", "possible-values", "empty-state-component", "hide-options", "size", "left-label", "right-label", "is-valid", "onUpdate:modelValue"]));
47
46
  }
48
- }), I = /* @__PURE__ */ h(w, [["__scopeId", "data-v-164a53c2"]]);
47
+ }), I = /* @__PURE__ */ f(v, [["__scopeId", "data-v-b2852591"]]);
49
48
  export {
50
49
  I as default
51
50
  };
@@ -1,15 +1,15 @@
1
1
  import { openBlock as S, createElementBlock as A, createElementVNode as k, defineComponent as Z, computed as _, ref as N, watch as W, Fragment as z, createVNode as u, withKeys as L, withModifiers as B, unref as p, withCtx as f, nextTick as ae, onMounted as re, createTextVNode as F, renderSlot as O, normalizeClass as ie } from "vue";
2
- import { _ as Y, u as ce, k as ue, L as de, E as me } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-BruTDvDa.js";
2
+ import { _ as Y, u as ce, k as ue, L as de, E as me } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-CyYj6nsl.js";
3
3
  import { w as pe } from "./getPossibleValuesFromUiSchema-hQj1TCOR.js";
4
4
  import { i as fe } from "./navigator-DWmzYl-A.js";
5
- import { F as M } from "./FunctionButton-DeDZhG-y.js";
6
- import { M as he } from "./MultiselectListBox-gv3qTuQr.js";
5
+ import { F as M } from "./FunctionButton-CBNiE07z.js";
6
+ import { M as he } from "./MultiselectListBox--TumfhYr.js";
7
7
  import { b as ve } from "./_baseAssignValue-BPMLYzDH.js";
8
8
  import { b as we } from "./_baseEach-B8N_Gx8P.js";
9
9
  import { b as be } from "./_baseIteratee-DvBmrhnf.js";
10
10
  import { i as ge } from "./toString-DkbNkGT4.js";
11
11
  import { c as Ve } from "./createMissingItem-B00Kg95q.js";
12
- import { B as T } from "./Button-BdlfMrsO.js";
12
+ import { B as T } from "./Button-C7z37lgP.js";
13
13
  const R = {
14
14
  ArrowUp: "↑",
15
15
  ArrowDown: "↓",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as a, createElementBlock as n, normalizeClass as o, createElementVNode as r, createCommentVNode as c, defineComponent as m, createBlock as p, unref as f } from "vue";
2
- import { _ as i } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-BruTDvDa.js";
2
+ import { _ as i } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-CyYj6nsl.js";
3
3
  const V = {
4
4
  name: "TextArea",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./TextControl.vue_vue_type_script_setup_true_lang-CJiAVESn.js";
1
+ import { _ as f } from "./TextControl.vue_vue_type_script_setup_true_lang-CmmuoX43.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as k, ref as v, computed as m, openBlock as d, createBlock as i, withCtx as r, unref as l, normalizeProps as P, mergeProps as E, createCommentVNode as h, createVNode as F, renderSlot as f } from "vue";
2
- import { u as $, L as w, E as B } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-BruTDvDa.js";
2
+ import { u as $, L as w, E as B } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-CyYj6nsl.js";
3
3
  import { u as N } from "./useHideOnNull-CCfNP3O7.js";
4
- import { C as H } from "./Checkbox-unJMpX-O.js";
5
- import { I } from "./InputField-D4q-r9Uh.js";
4
+ import { C as H } from "./Checkbox-C8b6Wu69.js";
5
+ import { I } from "./InputField-CcGDib2j.js";
6
6
  const U = /* @__PURE__ */ k({
7
7
  __name: "TextControl",
8
8
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as r, computed as s, openBlock as m, createBlock as u, unref as l } from "vue";
2
- import { D as p } from "./DateTimeInput-BAlTkrLY.js";
3
- import { l as a } from "./localTimeUtils-DCUpSGnm.js";
2
+ import { D as p } from "./DateTimeInput-D5vfk3Jc.js";
3
+ import { l as a } from "./localTimeUtils-0iyeWfJL.js";
4
4
  const g = /* @__PURE__ */ r({
5
5
  __name: "TimeControl",
6
6
  props: {
@@ -1,11 +1,11 @@
1
- import { openBlock as f, createElementBlock as k, createElementVNode as H, toRef as W, resolveComponent as y, normalizeClass as G, createBlock as I, withCtx as C, createVNode as g, createCommentVNode as P, mergeProps as x, ref as M, watch as _, defineComponent as J, computed as u, markRaw as K, unref as L } from "vue";
1
+ import { openBlock as f, createElementBlock as k, createElementVNode as H, toRef as W, resolveComponent as y, normalizeClass as G, createBlock as I, withCtx as C, createVNode as g, createCommentVNode as P, mergeProps as x, ref as M, watch as _, defineComponent as J, computed as c, markRaw as K, unref as L } from "vue";
2
2
  import { g as U, a as Q, m as X } from "./index-hm05O8UX.js";
3
3
  import { w as Y } from "./getPossibleValuesFromUiSchema-hQj1TCOR.js";
4
- import { o as Z, _ as B, u as $, k as ee } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-BruTDvDa.js";
5
- import { S as te, T as le, u as ae, a as se } from "./TwinlistLoadingInfo-D0MkbjKj.js";
4
+ import { o as Z, _ as B, u as $, k as ee } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_99aa13c1_lang-CyYj6nsl.js";
5
+ import { S as te, T as le, u as ae, a as ne } from "./TwinlistLoadingInfo-B5I-g9Jy.js";
6
6
  import { f as F } from "./useSearch-hpyYQ_6y.js";
7
- import { C as ne } from "./Checkboxes-CtxOlG_P.js";
8
- import { V as oe } from "./ValueSwitch-4X-VU2s4.js";
7
+ import { C as se } from "./Checkboxes-yETxG6fW.js";
8
+ import { V as oe } from "./ValueSwitch-B8ocGBBM.js";
9
9
  const ie = {
10
10
  xmlns: "http://www.w3.org/2000/svg",
11
11
  fill: "none",
@@ -15,10 +15,10 @@ const ie = {
15
15
  }, de = /* @__PURE__ */ H("path", { d: "m13.31 27.81 5.11-3.19v-9.15L28.95 4.19H3.05l10.26 11.28z" }, null, -1), re = [
16
16
  de
17
17
  ];
18
- function ce(t, a) {
18
+ function ue(t, a) {
19
19
  return f(), k("svg", ie, [...re]);
20
20
  }
21
- const ue = { render: ce }, me = {
21
+ const ce = { render: ue }, me = {
22
22
  manual: "Manual",
23
23
  wildcard: "Wildcard",
24
24
  regex: "Regex",
@@ -27,9 +27,9 @@ const ue = { render: ce }, me = {
27
27
  name: "MultiModeTwinlist",
28
28
  components: {
29
29
  Label: Z,
30
- FilterIcon: ue,
30
+ FilterIcon: ce,
31
31
  SearchInput: te,
32
- Checkboxes: ne,
32
+ Checkboxes: se,
33
33
  ValueSwitch: oe,
34
34
  Twinlist: le
35
35
  },
@@ -180,7 +180,7 @@ const ue = { render: ce }, me = {
180
180
  (o) => o && !a.includes(o.id)
181
181
  ), ...t].filter((o) => o && o.id !== "").filter(
182
182
  // remove duplicates
183
- (o, n, d) => n === d.findIndex((r) => r.id === o.id && r.text === o.text)
183
+ (o, s, d) => s === d.findIndex((r) => r.id === o.id && r.text === o.text)
184
184
  );
185
185
  },
186
186
  matchingValueIds() {
@@ -210,7 +210,7 @@ const ue = { render: ce }, me = {
210
210
  selectedValues: {
211
211
  immediate: !0,
212
212
  handler(t, a) {
213
- !a || t === null || (t.length !== a.length || a.some((l, s) => l !== t[s])) && this.$emit("update:selected", this.selectedValues);
213
+ !a || t === null || (t.length !== a.length || a.some((l, n) => l !== t[n])) && this.$emit("update:selected", this.selectedValues);
214
214
  }
215
215
  }
216
216
  },
@@ -251,7 +251,7 @@ const ue = { render: ce }, me = {
251
251
  }
252
252
  }
253
253
  };
254
- function he(t, a, l, s, o, n) {
254
+ function he(t, a, l, n, o, s) {
255
255
  const d = y("ValueSwitch"), r = y("Label"), b = y("FilterIcon"), w = y("SearchInput"), v = y("Checkboxes"), p = y("Twinlist");
256
256
  return f(), k("div", {
257
257
  class: G(["multi-mode-twinlist", { disabled: l.disabled }])
@@ -262,15 +262,15 @@ function he(t, a, l, s, o, n) {
262
262
  text: l.modeLabel,
263
263
  class: "label"
264
264
  }, {
265
- default: C(({ labelForId: c }) => [
265
+ default: C(({ labelForId: u }) => [
266
266
  g(d, {
267
- id: c,
267
+ id: u,
268
268
  ref: "mode",
269
269
  compact: l.compact,
270
270
  "model-value": l.mode,
271
271
  disabled: l.disabled,
272
- "possible-values": n.possibleModes,
273
- "onUpdate:modelValue": n.onModeChange
272
+ "possible-values": s.possibleModes,
273
+ "onUpdate:modelValue": s.onModeChange
274
274
  }, null, 8, ["id", "compact", "model-value", "disabled", "possible-values", "onUpdate:modelValue"])
275
275
  ]),
276
276
  _: 1
@@ -281,9 +281,9 @@ function he(t, a, l, s, o, n) {
281
281
  text: l.patternLabel,
282
282
  class: "label"
283
283
  }, {
284
- default: C(({ labelForId: c }) => [
284
+ default: C(({ labelForId: u }) => [
285
285
  g(w, {
286
- id: c,
286
+ id: u,
287
287
  ref: "search",
288
288
  "model-value": l.pattern,
289
289
  label: l.patternLabel,
@@ -297,9 +297,9 @@ function he(t, a, l, s, o, n) {
297
297
  inverseSearch: "Move matching to other side"
298
298
  },
299
299
  compact: l.compact,
300
- "onUpdate:modelValue": n.onPatternInput,
301
- onToggleCaseSensitiveSearch: n.onToggleCaseSensitivePattern,
302
- onToggleInverseSearch: n.onToggleInversePattern
300
+ "onUpdate:modelValue": s.onPatternInput,
301
+ onToggleCaseSensitiveSearch: s.onToggleCaseSensitivePattern,
302
+ onToggleInverseSearch: s.onToggleInversePattern
303
303
  }, {
304
304
  icon: C(() => [
305
305
  g(b)
@@ -309,7 +309,7 @@ function he(t, a, l, s, o, n) {
309
309
  ]),
310
310
  _: 1
311
311
  }, 8, ["active", "text"])) : P("", !0),
312
- l.mode === "type" && n.possibleTypes.length > 0 ? (f(), I(r, {
312
+ l.mode === "type" && s.possibleTypes.length > 0 ? (f(), I(r, {
313
313
  key: 2,
314
314
  active: l.withTypesLabel,
315
315
  text: l.typesLabel,
@@ -318,21 +318,21 @@ function he(t, a, l, s, o, n) {
318
318
  default: C(() => [
319
319
  g(v, {
320
320
  "model-value": l.selectedTypes,
321
- "possible-values": n.possibleTypes,
321
+ "possible-values": s.possibleTypes,
322
322
  disabled: l.disabled,
323
- "onUpdate:modelValue": n.onTypeInput
323
+ "onUpdate:modelValue": s.onTypeInput
324
324
  }, null, 8, ["model-value", "possible-values", "disabled", "onUpdate:modelValue"])
325
325
  ]),
326
326
  _: 1
327
327
  }, 8, ["active", "text"])) : P("", !0),
328
328
  g(p, x(t.$attrs, {
329
329
  ref: "twinlist",
330
- disabled: n.selectionDisabled,
330
+ disabled: s.selectionDisabled,
331
331
  "show-search": l.mode === "manual" && l.showSearch,
332
- "model-value": n.twinlistModelValue,
332
+ "model-value": s.twinlistModelValue,
333
333
  "possible-values": l.possibleValues,
334
334
  compact: l.compact,
335
- "onUpdate:modelValue": n.onManualInput
335
+ "onUpdate:modelValue": s.onManualInput
336
336
  }), null, 16, ["disabled", "show-search", "model-value", "possible-values", "compact", "onUpdate:modelValue"])
337
337
  ], 2);
338
338
  }
@@ -341,13 +341,13 @@ const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92
341
341
  possibleValueIds: a,
342
342
  unknownValuesSide: l
343
343
  }) => {
344
- const s = new Set(t.previous), o = new Set(a), n = (d) => U(d, o);
344
+ const n = new Set(t.previous), o = new Set(a), s = (d) => U(d, o);
345
345
  l.setNext([
346
- ...n(l.previous),
347
- ...U(a, s)
346
+ ...s(l.previous),
347
+ ...U(a, n)
348
348
  ]), t.setNext([
349
- ...n(t.previous),
350
- ...Q(a, s)
349
+ ...s(t.previous),
350
+ ...Q(a, n)
351
351
  ]);
352
352
  }, fe = ({
353
353
  data: t,
@@ -356,23 +356,23 @@ const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92
356
356
  const l = M({
357
357
  selected: null,
358
358
  deselected: null
359
- }), s = M(null), o = (d) => {
360
- s.value = d;
361
- }, n = () => {
362
- if (!s.value || !a.value)
359
+ }), n = M(null), o = (d) => {
360
+ n.value = d;
361
+ }, s = () => {
362
+ if (!n.value || !a.value)
363
363
  return;
364
364
  let d, r;
365
- const { manuallyDeselected: b, manuallySelected: w, includeUnknownColumns: v } = s.value, p = {
365
+ const { manuallyDeselected: b, manuallySelected: w, includeUnknownColumns: v } = n.value, p = {
366
366
  previous: b,
367
367
  setNext: (S) => {
368
368
  d = S;
369
369
  }
370
- }, c = {
370
+ }, u = {
371
371
  previous: w,
372
372
  setNext: (S) => {
373
373
  r = S;
374
374
  }
375
- }, T = v ? p : c, V = v ? c : p;
375
+ }, T = v ? p : u, V = v ? u : p;
376
376
  ye({
377
377
  possibleValueIds: a.value,
378
378
  knownValuesSide: T,
@@ -385,13 +385,13 @@ const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92
385
385
  return _(
386
386
  () => t.value.manualFilter,
387
387
  (d) => {
388
- Object.is(s.value, d) ? l.value = {
388
+ Object.is(n.value, d) ? l.value = {
389
389
  selected: d.manuallySelected,
390
390
  deselected: d.manuallyDeselected
391
- } : (s.value = d, n());
391
+ } : (n.value = d, s());
392
392
  },
393
393
  { immediate: !0 }
394
- ), _(() => a.value, n, {
394
+ ), _(() => a.value, s, {
395
395
  immediate: !0
396
396
  }), { selectedAndDeselected: l, setCurrentManualFilter: o };
397
397
  }, be = /* @__PURE__ */ J({
@@ -412,18 +412,18 @@ const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92
412
412
  setup(t) {
413
413
  const a = t;
414
414
  let l;
415
- const s = (e) => {
415
+ const n = (e) => {
416
416
  const i = X(a.control.data, e);
417
417
  a.changeValue(i), l == null || l(i.manualFilter);
418
418
  }, o = (e) => {
419
- s({ selected: e });
420
- }, n = (e) => {
419
+ n({ selected: e });
420
+ }, s = (e) => {
421
421
  if (e !== null)
422
422
  if ("includedValues" in e) {
423
423
  const { includedValues: i, excludedValues: m, includeUnknownValues: h } = e;
424
424
  if (!i || !m)
425
425
  return;
426
- s({
426
+ n({
427
427
  manualFilter: {
428
428
  manuallySelected: i,
429
429
  manuallyDeselected: m,
@@ -431,44 +431,44 @@ const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92
431
431
  }
432
432
  });
433
433
  } else
434
- s({ manualFilter: { manuallySelected: e } });
434
+ n({ manualFilter: { manuallySelected: e } });
435
435
  }, d = (e) => {
436
- s({ patternFilter: { pattern: e } });
436
+ n({ patternFilter: { pattern: e } });
437
437
  }, r = (e) => {
438
- s({ mode: e.toUpperCase() });
438
+ n({ mode: e.toUpperCase() });
439
439
  }, b = (e, i) => {
440
- s({ typeFilter: { selectedTypes: e, typeDisplays: i } });
440
+ n({ typeFilter: { selectedTypes: e, typeDisplays: i } });
441
441
  }, w = (e) => {
442
- s({ patternFilter: { isInverted: e } });
442
+ n({ patternFilter: { isInverted: e } });
443
443
  }, v = (e) => {
444
- s({ patternFilter: { isCaseSensitive: e } });
445
- }, p = u(
444
+ n({ patternFilter: { isCaseSensitive: e } });
445
+ }, p = c(
446
446
  () => {
447
447
  var e;
448
448
  return (e = a.control.uischema.options) == null ? void 0 : e.choicesProvider;
449
449
  }
450
- ), c = Y(
450
+ ), u = Y(
451
451
  $(p, null),
452
452
  a.control
453
453
  ), T = M([]), { selectedAndDeselected: V, setCurrentManualFilter: S } = fe({
454
- data: u(() => a.control.data),
455
- possibleValueIds: u(
454
+ data: c(() => a.control.data),
455
+ possibleValueIds: c(
456
456
  () => {
457
457
  var e;
458
- return ((e = c.value) == null ? void 0 : e.map(({ id: i }) => i)) ?? null;
458
+ return ((e = u.value) == null ? void 0 : e.map(({ id: i }) => i)) ?? null;
459
459
  }
460
460
  )
461
461
  });
462
462
  l = S;
463
- const z = u(() => {
463
+ const z = c(() => {
464
464
  const { selected: e, deselected: i } = V.value;
465
465
  return a.showUnknownValues ? {
466
466
  includedValues: e,
467
467
  excludedValues: i,
468
468
  includeUnknownValues: a.control.data.manualFilter.includeUnknownColumns
469
469
  } : e;
470
- }), D = u(
471
- () => V.value.selected === null ? K(se) : null
470
+ }), D = c(
471
+ () => V.value.selected === null ? K(ne) : null
472
472
  ), N = (e) => typeof e > "u" ? {} : e.reduce(
473
473
  (i, { id: m, text: h }) => ({ ...i, [m]: h }),
474
474
  {}
@@ -485,29 +485,29 @@ const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92
485
485
  }));
486
486
  };
487
487
  T.value = j(), p.value || ee("getPossibleValuesFromUiSchema")(a.control).then((e) => {
488
- c.value = e;
488
+ u.value = e;
489
489
  });
490
- const A = u(
490
+ const A = c(
491
491
  () => {
492
492
  var e, i;
493
- return !!((i = (e = c.value) == null ? void 0 : e[0]) != null && i.hasOwnProperty("type"));
493
+ return !!((i = (e = u.value) == null ? void 0 : e[0]) != null && i.hasOwnProperty("type"));
494
494
  }
495
- ), R = u(
495
+ ), R = c(
496
496
  () => {
497
497
  var e;
498
498
  return ((e = a.control.uischema.options) == null ? void 0 : e.showMode) ?? !0;
499
499
  }
500
- ), q = u(
500
+ ), q = c(
501
501
  () => {
502
502
  var e;
503
503
  return ((e = a.control.uischema.options) == null ? void 0 : e.showSearch) ?? !0;
504
504
  }
505
- ), E = u(
505
+ ), E = c(
506
506
  () => {
507
507
  var e;
508
508
  return ((e = a.control.uischema.options) == null ? void 0 : e.excludedLabel) ?? a.twinlistLeftLabel;
509
509
  }
510
- ), O = u(
510
+ ), O = c(
511
511
  () => {
512
512
  var e;
513
513
  return ((e = a.control.uischema.options) == null ? void 0 : e.includedLabel) ?? a.twinlistRightLabel;
@@ -530,9 +530,8 @@ const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92
530
530
  "inverse-pattern": e.control.data.patternFilter.isInverted,
531
531
  "manual-selection": z.value,
532
532
  "include-unknown-values": e.control.data.manualFilter.includeUnknownColumns,
533
- "filter-chosen-values-on-possible-values-change": !1,
534
533
  "mode-label": "Selection mode",
535
- "possible-values": L(c) ?? [],
534
+ "possible-values": L(u) ?? [],
536
535
  size: e.twinlistSize,
537
536
  "left-label": E.value,
538
537
  "right-label": O.value,
@@ -540,7 +539,7 @@ const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92
540
539
  compact: "",
541
540
  "show-resize-handle": "",
542
541
  "onUpdate:selected": o,
543
- "onUpdate:manualSelection": n,
542
+ "onUpdate:manualSelection": s,
544
543
  "onUpdate:pattern": d,
545
544
  "onUpdate:mode": r,
546
545
  "onUpdate:selectedTypes": b,
@@ -549,7 +548,7 @@ const ve = /* @__PURE__ */ B(pe, [["render", he], ["__scopeId", "data-v-06592f92
549
548
  }), null, 16, ["id", "show-mode", "show-search", "disabled", "with-types", "selected-types", "additional-possible-types", "pattern", "mode", "case-sensitive-pattern", "empty-state-component", "inverse-pattern", "manual-selection", "include-unknown-values", "possible-values", "size", "left-label", "right-label", "is-valid"]);
550
549
  };
551
550
  }
552
- }), Me = /* @__PURE__ */ B(be, [["__scopeId", "data-v-365ec376"]]);
551
+ }), Me = /* @__PURE__ */ B(be, [["__scopeId", "data-v-8574fda9"]]);
553
552
  export {
554
553
  Me as default
555
554
  };