@knime/jsonforms 1.18.4 → 1.18.6

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 (78) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/{AnyOfTwinlist-BAwx6fWr.js → AnyOfTwinlist-gzLO2MKV.js} +1 -1
  3. package/dist/{Button-CUyJJ5oz.js → Button-Dda5J_Ov.js} +1 -1
  4. package/dist/{Checkbox-CzMSao8p.js → Checkbox-D2xeiXLu.js} +1 -1
  5. package/dist/{CheckboxControl-COJ86l-n.js → CheckboxControl-C1d02rTr.js} +9 -9
  6. package/dist/CheckboxesControl-yMvCHCji.js +37 -0
  7. package/dist/{ComboBoxControl-BUJQqI4X.js → ComboBoxControl-DqMLJmSS.js} +3 -3
  8. package/dist/{DateControl-DZ2Vu3Je.js → DateControl-C3KNAi0p.js} +1 -1
  9. package/dist/{DateTimeControl-jxQPI4dB.js → DateTimeControl-0E9gFDab.js} +1 -1
  10. package/dist/{DateTimeFormatInput-DVWjGWDG.js → DateTimeFormatInput-BzIbhecB.js} +3 -3
  11. package/dist/{DateTimeFormatPickerControl-DYxjJjMN.js → DateTimeFormatPickerControl-szgIA4EC.js} +2 -2
  12. package/dist/{DateTimeFormatPickerWithTypeControl-CeoVA0IL.js → DateTimeFormatPickerWithTypeControl-B1WjDKL6.js} +4 -4
  13. package/dist/{Dropdown-CbyDcvL5.js → Dropdown-Cjuv07DI.js} +2 -2
  14. package/dist/{DropdownControl-L1EAb0pj.js → DropdownControl-BngLLAhP.js} +3 -3
  15. package/dist/{HorizontalLayout-BdWfkVXm.js → HorizontalLayout-I3m1LiGf.js} +3 -3
  16. package/dist/{InputField-Ds-kKFLj.js → InputField-DWgTvNH5.js} +1 -1
  17. package/dist/{IntegerControl-B9h6oEtw.js → IntegerControl-BKLFuDQz.js} +1 -1
  18. package/dist/{IntervalControl-CX2YqRUZ.js → IntervalControl-CymzpG3g.js} +23 -23
  19. package/dist/{Label-DNOWhc4a.js → Label-D8GzjSce.js} +1 -1
  20. package/dist/{LoadingDropdown-BJtivb5q.js → LoadingDropdown-BOy8LwzL.js} +8 -8
  21. package/dist/{LoadingIcon-DpfMnp1Y.js → LoadingIcon-BFhDwjCD.js} +1 -1
  22. package/dist/{ManualTwinlistControl-C2IVPFQz.js → ManualTwinlistControl-B6X2AOT0.js} +9 -9
  23. package/dist/{MultiSelectListBoxControl-D-ve0TnH.js → MultiSelectListBoxControl-BPp-6zDR.js} +2 -2
  24. package/dist/{MultimodeTwinlistControl-piec1IxJ.js → MultimodeTwinlistControl-BD7SneIV.js} +248 -149
  25. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-CalJDSPZ.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_03e29ad9_lang-BhDbFHeU.js} +2 -2
  26. package/dist/{MultiselectListBox-BJcy4Dqw.js → MultiselectListBox-CD45Rvi6.js} +4 -4
  27. package/dist/{NameFilter-fQPaQQ-K.js → NameFilter-BGsRj5hM.js} +1 -1
  28. package/dist/{NumberControl-D3PvSv9N.js → NumberControl-DN8HkUDH.js} +1 -1
  29. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-D_J7b5uG.js → NumberControlBase.vue_vue_type_script_setup_true_lang-EOqEf4UB.js} +2 -2
  30. package/dist/{NumberInput-BW8n8mei.js → NumberInput-By1qufZl.js} +1 -1
  31. package/dist/{OneOfDropdown-BxS8z550.js → OneOfDropdown-n7F_OveO.js} +1 -1
  32. package/dist/{RadioControl-D0j66cGm.js → RadioControl-BSthzT0k.js} +7 -7
  33. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-D4l2SKa8.js → RadioControlBase.vue_vue_type_script_setup_true_lang-qHfUX6ZV.js} +2 -2
  34. package/dist/{RichTextControl-D5rrfmtF.js → RichTextControl-1VXTtZjp.js} +8 -8
  35. package/dist/{SectionHeading-1A2qYqXS.js → SectionHeading-CwDxoevE.js} +2 -2
  36. package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-llWni5tV.js → SectionHeading.vue_vue_type_style_index_0_scoped_4b640144_lang-ofebeuke.js} +6893 -6769
  37. package/dist/{SectionLayout-DFikyU-W.js → SectionLayout-BNWY9b0J.js} +4 -4
  38. package/dist/SettingsSubPanel-I2O8Kbpm.js +5 -0
  39. package/dist/{SettingsSubPanelLayout-CPgboIRG.js → SettingsSubPanelLayout-DI3XOyR8.js} +5 -5
  40. package/dist/{SimpleButtonControl-CPbHVRRO.js → SimpleButtonControl-DmhTAD4l.js} +2 -2
  41. package/dist/{SimpleTwinlistControl-JXguJiZW.js → SimpleTwinlistControl-BfLfCaV4.js} +2 -2
  42. package/dist/{SingleSelectControl-CI7DFlai.js → SingleSelectControl-DeEOElA3.js} +2 -2
  43. package/dist/{SingleSelectListBoxControl-BUKJdy2E.js → SingleSelectListBoxControl-8IVN9k6K.js} +3 -3
  44. package/dist/{SortListControl-CW2yBUbn.js → SortListControl-BdhN6wD2.js} +23 -23
  45. package/dist/{StyledListItem-BMj67bKv.js → StyledListItem-fZvZ3bHQ.js} +1 -1
  46. package/dist/{TextAreaControl-C2VVMNpr.js → TextAreaControl-Cz51TD5P.js} +10 -10
  47. package/dist/{TextControl-CYhm8kPo.js → TextControl-BXyiqNIk.js} +1 -1
  48. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-4RO9YQFy.js → TextControl.vue_vue_type_script_setup_true_lang-CX9Ht0uC.js} +3 -3
  49. package/dist/{TimeControl-CB00mOhn.js → TimeControl-DSfhl_XR.js} +1 -1
  50. package/dist/{TwinlistControlBase-CiWgQHIA.js → TwinlistControlBase-BVyw1OGw.js} +9 -9
  51. package/dist/{TwinlistLoadingInfo-DYcRz-dw.js → TwinlistLoadingInfo-osSNnYXw.js} +6 -6
  52. package/dist/{TypedStringFilter-D5YWGU1h.js → TypedStringFilter-C4hEx8ou.js} +1 -1
  53. package/dist/{ValueSwitch-C7owbg0E.js → ValueSwitch-BzpZxWnJ.js} +1 -1
  54. package/dist/{ValueSwitchControl-CTgP7Rpv.js → ValueSwitchControl-BdoxdUxX.js} +1 -1
  55. package/dist/{VerticalLayout-BZ63G78T.js → VerticalLayout-CzskYqza.js} +2 -2
  56. package/dist/{VerticalLayoutBase-BaY_sA6C.js → VerticalLayoutBase-CC2RarHk.js} +5 -5
  57. package/dist/{ZonedDateTimeControl-jwwn17_l.js → ZonedDateTimeControl-BXqfWqhJ.js} +4 -4
  58. package/dist/{_baseEach-CfZ9x5sM.js → _baseEach-DCDlbM_F.js} +2 -2
  59. package/dist/{_baseIteratee-IRzVWiYa.js → _baseIteratee-CBJOQflL.js} +3 -3
  60. package/dist/{_getTag-jzNOkMJ0.js → _getTag-f9WyTXP2.js} +1 -1
  61. package/dist/add-user-CKh821Ew-BL8fUgBJ.js +22 -0
  62. package/dist/knime-jsonforms.css +1 -1
  63. package/dist/knime-jsonforms.js +81 -75
  64. package/dist/{localTimeUtils-BVFJFQ9N.js → localTimeUtils-B5X5KcA6.js} +6 -6
  65. package/dist/src/JsonFormsDialog.vue.d.ts +2 -0
  66. package/dist/src/uiComponents/CheckboxControl.vue.d.ts +1 -1
  67. package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +1 -1
  68. package/dist/src/uiComponents/composables/useHideOnNull.d.ts +3 -3
  69. package/dist/team-D1-xShh0-DP8zClGp.js +21 -0
  70. package/dist/testing.js +2 -2
  71. package/dist/{toString-DBbUR-sR.js → toString-Cf39i999.js} +1 -1
  72. package/dist/{useBuiltinValidations-D09sARbZ.js → useBuiltinValidations-PBjYh_0a.js} +1 -1
  73. package/dist/{usePossibleValues-DW0doQ49.js → usePossibleValues-ChX-uwlg.js} +1 -1
  74. package/dist/version-B-5dHgvX-DJQ17CCB.js +22 -0
  75. package/package.json +4 -5
  76. package/dist/Checkboxes-DiAtNfP2.js +0 -106
  77. package/dist/CheckboxesControl-CGTNxy3j.js +0 -38
  78. package/dist/SettingsSubPanel-_NdmpnHl.js +0 -5
@@ -1,39 +1,138 @@
1
- import { createElementBlock as _, openBlock as b, createElementVNode as T, toRef as x, resolveComponent as y, normalizeClass as z, createBlock as g, createCommentVNode as P, createVNode as h, withCtx as c, renderSlot as I, normalizeProps as M, guardReactiveProps as F, mergeProps as D, defineComponent as J, ref as Q, computed as p, markRaw as X, unref as w, createSlots as Y, toDisplayString as U } from "vue";
2
- import { _ as R, T as k } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-llWni5tV.js";
3
- import { m as Z } from "./index-Blg1O3Fz.js";
4
- import { u as $, a as ee } from "./usePossibleValues-DW0doQ49.js";
5
- import { a as te, S as ae, u as le, T as ne } from "./TwinlistLoadingInfo-DYcRz-dw.js";
6
- import { u as se } from "./MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-CalJDSPZ.js";
7
- import { f as B } from "./useSearch-hpyYQ_6y.js";
8
- import { C as ie } from "./Checkboxes-DiAtNfP2.js";
9
- import { L as oe } from "./Label-DNOWhc4a.js";
10
- import { V as de } from "./ValueSwitch-C7owbg0E.js";
11
- const re = {
1
+ import { resolveComponent as f, createElementBlock as S, openBlock as m, normalizeClass as M, Fragment as J, renderList as Q, createBlock as g, withCtx as c, renderSlot as k, createTextVNode as X, toDisplayString as I, createElementVNode as T, toRef as L, createCommentVNode as P, createVNode as b, normalizeProps as _, guardReactiveProps as B, mergeProps as A, defineComponent as Y, ref as Z, computed as y, markRaw as $, unref as V, createSlots as ee } from "vue";
2
+ import { _ as U, V as z } from "./SectionHeading.vue_vue_type_style_index_0_scoped_4b640144_lang-ofebeuke.js";
3
+ import { m as te } from "./index-Blg1O3Fz.js";
4
+ import { u as ae, a as le } from "./usePossibleValues-ChX-uwlg.js";
5
+ import { a as ne, S as se, u as ie, T as oe } from "./TwinlistLoadingInfo-osSNnYXw.js";
6
+ import { u as de } from "./MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_03e29ad9_lang-BhDbFHeU.js";
7
+ import { f as D } from "./useSearch-hpyYQ_6y.js";
8
+ import { C as re } from "./Checkbox-D2xeiXLu.js";
9
+ import { L as ue } from "./Label-D8GzjSce.js";
10
+ import { V as ce } from "./ValueSwitch-BzpZxWnJ.js";
11
+ const me = {
12
+ name: "Checkboxes",
13
+ components: {
14
+ Checkbox: re
15
+ },
16
+ props: {
17
+ /**
18
+ * List of possible values. Each item must have an `id` and a `text` property.
19
+ * @example
20
+ * [{
21
+ * id: 'pdf',
22
+ * text: 'PDF'
23
+ * }, {
24
+ * id: 'XLS',
25
+ * text: 'Excel',
26
+ * }]
27
+ */
28
+ possibleValues: {
29
+ type: Array,
30
+ default: () => [],
31
+ validator(e) {
32
+ return Array.isArray(e) ? e.every(
33
+ (a) => a.hasOwnProperty("id") && a.hasOwnProperty("text")
34
+ ) : !1;
35
+ }
36
+ },
37
+ /**
38
+ * Controls the alignment
39
+ */
40
+ alignment: {
41
+ type: String,
42
+ default: "horizontal",
43
+ validator(e) {
44
+ return ["horizontal", "vertical"].includes(e);
45
+ }
46
+ },
47
+ disabled: {
48
+ type: Boolean,
49
+ default: !1
50
+ },
51
+ isValid: {
52
+ default: !0,
53
+ type: Boolean
54
+ },
55
+ /**
56
+ * selected value (which is a list of ids of entries)
57
+ */
58
+ modelValue: {
59
+ type: Array,
60
+ default: () => []
61
+ }
62
+ },
63
+ emits: ["update:modelValue"],
64
+ methods: {
65
+ validate() {
66
+ const e = !this.possibleValues.some((a) => a.invalid);
67
+ return {
68
+ isValid: e,
69
+ errorMessage: e ? null : "One or more of the selected items is invalid."
70
+ };
71
+ },
72
+ onUpdateModelValue(e, a) {
73
+ let t = Array.from(this.modelValue);
74
+ a ? t.indexOf(e) === -1 && t.push(e) : t = t.filter((o) => o !== e), consola.trace("Checkboxes value changed to", t), this.$emit("update:modelValue", t);
75
+ },
76
+ /**
77
+ * Is at least one checkbox checked?
78
+ * @returns {boolean}
79
+ */
80
+ hasSelection() {
81
+ return this.$refs.boxes.some((e) => e.isChecked());
82
+ }
83
+ }
84
+ };
85
+ function pe(e, a, t, o, s, n) {
86
+ const p = f("Checkbox");
87
+ return m(), S("div", {
88
+ class: M(["checkboxes", t.alignment])
89
+ }, [
90
+ (m(!0), S(J, null, Q(t.possibleValues, (i) => (m(), g(p, {
91
+ ref_for: !0,
92
+ ref: "boxes",
93
+ key: `checkboxes-${i.id}`,
94
+ "model-value": t.modelValue.indexOf(i.id) > -1,
95
+ title: i.text,
96
+ invalid: i.invalid,
97
+ disabled: t.disabled,
98
+ class: "box",
99
+ "onUpdate:modelValue": (v) => n.onUpdateModelValue(i.id, v)
100
+ }, {
101
+ default: c(() => [
102
+ k(e.$slots, "label", { slotItem: i }, () => [
103
+ X(I(i.text), 1)
104
+ ], !0)
105
+ ]),
106
+ _: 2
107
+ }, 1032, ["model-value", "title", "invalid", "disabled", "onUpdate:modelValue"]))), 128))
108
+ ], 2);
109
+ }
110
+ const he = /* @__PURE__ */ U(me, [["render", pe], ["__scopeId", "data-v-c83ea4f7"]]), ye = {
12
111
  xmlns: "http://www.w3.org/2000/svg",
13
112
  fill: "none",
14
113
  stroke: "#000",
15
114
  "stroke-linejoin": "round",
16
115
  viewBox: "0 0 32 32"
17
116
  };
18
- function ue(e, l) {
19
- return b(), _("svg", re, [...l[0] || (l[0] = [
117
+ function fe(e, a) {
118
+ return m(), S("svg", ye, [...a[0] || (a[0] = [
20
119
  T("path", { d: "m13.31 27.81 5.11-3.19v-9.15L28.95 4.19H3.05l10.26 11.28z" }, null, -1)
21
120
  ])]);
22
121
  }
23
- const ce = { render: ue }, me = {
122
+ const be = { render: fe }, ve = {
24
123
  manual: "Manual",
25
124
  wildcard: "Wildcard",
26
125
  regex: "Regex",
27
126
  type: "Type"
28
- }, pe = {
127
+ }, we = {
29
128
  name: "MultiModeTwinlist",
30
129
  components: {
31
- Label: oe,
32
- FilterIcon: ce,
33
- SearchInput: ae,
34
- Checkboxes: ie,
35
- ValueSwitch: de,
36
- Twinlist: te
130
+ Label: ue,
131
+ FilterIcon: be,
132
+ SearchInput: se,
133
+ Checkboxes: he,
134
+ ValueSwitch: ce,
135
+ Twinlist: ne
37
136
  },
38
137
  props: {
39
138
  /**
@@ -162,10 +261,10 @@ const ce = { render: ue }, me = {
162
261
  "update:selected"
163
262
  ],
164
263
  setup(e) {
165
- const { includedValues: l } = le(
166
- x(e, "manualSelection")
264
+ const { includedValues: a } = ie(
265
+ L(e, "manualSelection")
167
266
  );
168
- return { manuallySelected: l };
267
+ return { manuallySelected: a };
169
268
  },
170
269
  data() {
171
270
  return {
@@ -177,12 +276,12 @@ const ce = { render: ue }, me = {
177
276
  return this.possibleValues.map(({ id: e }) => e);
178
277
  },
179
278
  possibleTypes() {
180
- const e = this.possibleValues.map(({ type: n }) => n).filter(Boolean), l = e.map((n) => n.id);
279
+ const e = this.possibleValues.map(({ type: s }) => s).filter(Boolean), a = e.map((s) => s.id);
181
280
  return [...this.additionalPossibleTypes.filter(
182
- (n) => n && !l.includes(n.id)
183
- ), ...e].filter((n) => n && n.id !== "").filter(
281
+ (s) => s && !a.includes(s.id)
282
+ ), ...e].filter((s) => s && s.id !== "").filter(
184
283
  // remove duplicates
185
- (n, s, f) => s === f.findIndex((u) => u.id === n.id && u.text === n.text)
284
+ (s, n, p) => n === p.findIndex((i) => i.id === s.id && i.text === s.text)
186
285
  );
187
286
  },
188
287
  matchingValueIds() {
@@ -198,21 +297,21 @@ const ce = { render: ue }, me = {
198
297
  return this.disabled || this.mode !== "manual";
199
298
  },
200
299
  normalizedSearchTerm() {
201
- return this.mode === "manual" ? null : B[this.mode].normalize(
300
+ return this.mode === "manual" ? null : D[this.mode].normalize(
202
301
  this.mode === "type" ? this.selectedTypes : this.pattern,
203
302
  this.caseSensitivePattern
204
303
  );
205
304
  },
206
305
  possibleModes() {
207
- let e = Object.entries(me).map(([l, t]) => ({ id: l, text: t }));
208
- return this.withTypes || (e = e.filter((l) => l.id !== "type")), e;
306
+ let e = Object.entries(ve).map(([a, t]) => ({ id: a, text: t }));
307
+ return this.withTypes || (e = e.filter((a) => a.id !== "type")), e;
209
308
  }
210
309
  },
211
310
  watch: {
212
311
  selectedValues: {
213
312
  immediate: !0,
214
- handler(e, l) {
215
- !l || e === null || (e.length !== l.length || l.some((t, d) => t !== e[d])) && this.$emit("update:selected", this.selectedValues);
313
+ handler(e, a) {
314
+ !a || e === null || (e.length !== a.length || a.some((t, o) => t !== e[o])) && this.$emit("update:selected", this.selectedValues);
216
315
  }
217
316
  }
218
317
  },
@@ -242,7 +341,7 @@ const ce = { render: ue }, me = {
242
341
  return !!this.selectedValues?.length;
243
342
  },
244
343
  itemMatches(e) {
245
- return B[this.mode].test(
344
+ return D[this.mode].test(
246
345
  this.mode === "type" ? e.type?.id : e.text,
247
346
  this.normalizedSearchTerm,
248
347
  this.caseSensitivePattern,
@@ -251,39 +350,39 @@ const ce = { render: ue }, me = {
251
350
  }
252
351
  }
253
352
  };
254
- function he(e, l, t, d, n, s) {
255
- const f = y("ValueSwitch"), u = y("Label"), S = y("FilterIcon"), V = y("SearchInput"), C = y("Checkboxes"), v = y("Twinlist");
256
- return b(), _("div", {
257
- class: z(["multi-mode-twinlist", { disabled: t.disabled }])
353
+ function ge(e, a, t, o, s, n) {
354
+ const p = f("ValueSwitch"), i = f("Label"), v = f("FilterIcon"), x = f("SearchInput"), C = f("Checkboxes"), w = f("Twinlist");
355
+ return m(), S("div", {
356
+ class: M(["multi-mode-twinlist", { disabled: t.disabled }])
258
357
  }, [
259
- t.showMode ? (b(), g(u, {
358
+ t.showMode ? (m(), g(i, {
260
359
  key: 0,
261
360
  active: t.withModeLabel,
262
361
  text: t.modeLabel,
263
362
  class: "label"
264
363
  }, {
265
- default: c(({ labelForId: r }) => [
266
- h(f, {
267
- id: r,
364
+ default: c(({ labelForId: u }) => [
365
+ b(p, {
366
+ id: u,
268
367
  ref: "mode",
269
368
  compact: t.compact,
270
369
  "model-value": t.mode,
271
370
  disabled: t.disabled,
272
- "possible-values": s.possibleModes,
273
- "onUpdate:modelValue": s.onModeChange
371
+ "possible-values": n.possibleModes,
372
+ "onUpdate:modelValue": n.onModeChange
274
373
  }, null, 8, ["id", "compact", "model-value", "disabled", "possible-values", "onUpdate:modelValue"])
275
374
  ]),
276
375
  _: 1
277
376
  }, 8, ["active", "text"])) : P("", !0),
278
- t.mode === "regex" || t.mode === "wildcard" ? (b(), g(u, {
377
+ t.mode === "regex" || t.mode === "wildcard" ? (m(), g(i, {
279
378
  key: 1,
280
379
  active: t.withPatternLabel,
281
380
  text: t.patternLabel,
282
381
  class: "label"
283
382
  }, {
284
- default: c(({ labelForId: r }) => [
285
- h(V, {
286
- id: r,
383
+ default: c(({ labelForId: u }) => [
384
+ b(x, {
385
+ id: u,
287
386
  ref: "search",
288
387
  "model-value": t.pattern,
289
388
  label: t.patternLabel,
@@ -297,56 +396,56 @@ function he(e, l, t, d, n, s) {
297
396
  inverseSearch: "Move matching to other side"
298
397
  },
299
398
  compact: t.compact,
300
- "onUpdate:modelValue": s.onPatternInput,
301
- onToggleCaseSensitiveSearch: s.onToggleCaseSensitivePattern,
302
- onToggleInverseSearch: s.onToggleInversePattern
399
+ "onUpdate:modelValue": n.onPatternInput,
400
+ onToggleCaseSensitiveSearch: n.onToggleCaseSensitivePattern,
401
+ onToggleInverseSearch: n.onToggleInversePattern
303
402
  }, {
304
403
  icon: c(() => [
305
- h(S)
404
+ b(v)
306
405
  ]),
307
406
  _: 1
308
407
  }, 8, ["id", "model-value", "label", "initial-case-sensitive-search", "initial-inverse-search", "disabled", "compact", "onUpdate:modelValue", "onToggleCaseSensitiveSearch", "onToggleInverseSearch"])
309
408
  ]),
310
409
  _: 1
311
410
  }, 8, ["active", "text"])) : P("", !0),
312
- t.mode === "type" && s.possibleTypes.length > 0 ? (b(), g(u, {
411
+ t.mode === "type" && n.possibleTypes.length > 0 ? (m(), g(i, {
313
412
  key: 2,
314
413
  active: t.withTypesLabel,
315
414
  text: t.typesLabel,
316
415
  class: "label"
317
416
  }, {
318
417
  default: c(() => [
319
- h(C, {
418
+ b(C, {
320
419
  "model-value": t.selectedTypes,
321
- "possible-values": s.possibleTypes,
420
+ "possible-values": n.possibleTypes,
322
421
  disabled: t.disabled,
323
- "onUpdate:modelValue": s.onTypeInput
422
+ "onUpdate:modelValue": n.onTypeInput
324
423
  }, {
325
- label: c((r) => [
326
- I(e.$slots, "type", M(F(r)), void 0, !0)
424
+ label: c((u) => [
425
+ k(e.$slots, "type", _(B(u)), void 0, !0)
327
426
  ]),
328
427
  _: 3
329
428
  }, 8, ["model-value", "possible-values", "disabled", "onUpdate:modelValue"])
330
429
  ]),
331
430
  _: 3
332
431
  }, 8, ["active", "text"])) : P("", !0),
333
- h(v, D(e.$attrs, {
432
+ b(w, A(e.$attrs, {
334
433
  ref: "twinlist",
335
- disabled: s.selectionDisabled,
434
+ disabled: n.selectionDisabled,
336
435
  "show-search": t.mode === "manual" && t.showSearch,
337
- "model-value": s.twinlistModelValue,
436
+ "model-value": n.twinlistModelValue,
338
437
  "possible-values": t.possibleValues,
339
438
  compact: t.compact,
340
- "onUpdate:modelValue": s.onManualInput
439
+ "onUpdate:modelValue": n.onManualInput
341
440
  }), {
342
- option: c((r) => [
343
- I(e.$slots, "option", M(F(r)), void 0, !0)
441
+ option: c((u) => [
442
+ k(e.$slots, "option", _(B(u)), void 0, !0)
344
443
  ]),
345
444
  _: 3
346
445
  }, 16, ["disabled", "show-search", "model-value", "possible-values", "compact", "onUpdate:modelValue"])
347
446
  ], 2);
348
447
  }
349
- const ye = /* @__PURE__ */ R(pe, [["render", he], ["__scopeId", "data-v-a4487686"]]), be = { class: "data-type-text" }, fe = /* @__PURE__ */ J({
448
+ const Ve = /* @__PURE__ */ U(we, [["render", ge], ["__scopeId", "data-v-a4487686"]]), Te = { class: "data-type-text" }, Se = /* @__PURE__ */ Y({
350
449
  __name: "MultimodeTwinlistControl",
351
450
  props: {
352
451
  control: {},
@@ -363,138 +462,138 @@ const ye = /* @__PURE__ */ R(pe, [["render", he], ["__scopeId", "data-v-a4487686
363
462
  showTypeFilter: { type: Boolean, default: !1 }
364
463
  },
365
464
  setup(e) {
366
- const l = e;
465
+ const a = e;
367
466
  let t = () => {
368
467
  };
369
- const d = (a) => {
370
- const o = Z(l.control.data, a);
371
- l.changeValue(o), t?.(o.manualFilter);
372
- }, n = (a) => {
373
- d({ selected: a });
374
- }, s = (a) => {
375
- if (a !== null)
376
- if ("includedValues" in a) {
377
- const { includedValues: o, excludedValues: i, includeUnknownValues: m } = a;
378
- if (!o || !i)
468
+ const o = (l) => {
469
+ const r = te(a.control.data, l);
470
+ a.changeValue(r), t?.(r.manualFilter);
471
+ }, s = (l) => {
472
+ o({ selected: l });
473
+ }, n = (l) => {
474
+ if (l !== null)
475
+ if ("includedValues" in l) {
476
+ const { includedValues: r, excludedValues: d, includeUnknownValues: h } = l;
477
+ if (!r || !d)
379
478
  return;
380
- d({
479
+ o({
381
480
  manualFilter: {
382
- manuallySelected: o,
383
- manuallyDeselected: i,
384
- includeUnknownColumns: m
481
+ manuallySelected: r,
482
+ manuallyDeselected: d,
483
+ includeUnknownColumns: h
385
484
  }
386
485
  });
387
486
  } else
388
- d({ manualFilter: { manuallySelected: a } });
389
- }, f = (a) => {
390
- d({ patternFilter: { pattern: a } });
391
- }, u = (a) => {
392
- d({ mode: a.toUpperCase() });
393
- }, S = (a, o) => {
394
- d({ typeFilter: { selectedTypes: a, typeDisplays: o } });
395
- }, V = (a) => {
396
- d({ patternFilter: { isInverted: a } });
397
- }, C = (a) => {
398
- d({ patternFilter: { isCaseSensitive: a } });
399
- }, { possibleValues: v } = $(
400
- x(l, "control")
401
- ), r = Q([]), { selectedAndDeselected: L, setCurrentManualFilter: A } = se({
402
- data: p(() => l.control.data),
403
- possibleValueIds: p(
404
- () => v.value?.map(({ id: a }) => a) ?? null
487
+ o({ manualFilter: { manuallySelected: l } });
488
+ }, p = (l) => {
489
+ o({ patternFilter: { pattern: l } });
490
+ }, i = (l) => {
491
+ o({ mode: l.toUpperCase() });
492
+ }, v = (l, r) => {
493
+ o({ typeFilter: { selectedTypes: l, typeDisplays: r } });
494
+ }, x = (l) => {
495
+ o({ patternFilter: { isInverted: l } });
496
+ }, C = (l) => {
497
+ o({ patternFilter: { isCaseSensitive: l } });
498
+ }, { possibleValues: w } = ae(
499
+ L(a, "control")
500
+ ), u = Z([]), { selectedAndDeselected: F, setCurrentManualFilter: O } = de({
501
+ data: y(() => a.control.data),
502
+ possibleValueIds: y(
503
+ () => w.value?.map(({ id: l }) => l) ?? null
405
504
  )
406
505
  });
407
- t = A;
408
- const q = p(() => {
409
- const { selected: a, deselected: o } = L.value;
410
- return l.showUnknownValues ? {
411
- includedValues: a,
412
- excludedValues: o,
413
- includeUnknownValues: l.control.data.manualFilter.includeUnknownColumns
414
- } : a;
415
- }), E = p(
416
- () => L.value.selected === null ? X(ne) : null
417
- ), O = (a) => typeof a > "u" ? {} : a.reduce(
418
- (o, { id: i, text: m }) => ({ ...o, [i]: m }),
506
+ t = O;
507
+ const R = y(() => {
508
+ const { selected: l, deselected: r } = F.value;
509
+ return a.showUnknownValues ? {
510
+ includedValues: l,
511
+ excludedValues: r,
512
+ includeUnknownValues: a.control.data.manualFilter.includeUnknownColumns
513
+ } : l;
514
+ }), q = y(
515
+ () => F.value.selected === null ? $(oe) : null
516
+ ), E = (l) => typeof l > "u" ? {} : l.reduce(
517
+ (r, { id: d, text: h }) => ({ ...r, [d]: h }),
419
518
  {}
420
- ), j = () => {
421
- const a = l.control.data.typeFilter;
422
- if (!a)
519
+ ), N = () => {
520
+ const l = a.control.data.typeFilter;
521
+ if (!l)
423
522
  return [];
424
- const o = a.selectedTypes, i = O(
425
- a.typeDisplays
523
+ const r = l.selectedTypes, d = E(
524
+ l.typeDisplays
426
525
  );
427
- return o.map((m) => ({
428
- id: m,
429
- text: i[m] || m
526
+ return r.map((h) => ({
527
+ id: h,
528
+ text: d[h] || h
430
529
  }));
431
530
  };
432
- r.value = j();
433
- const N = p(
434
- () => !!v.value?.[0]?.hasOwnProperty("type")
435
- ), { excludedLabel: H, includedLabel: K } = ee(
436
- x(l, "control")
437
- ), W = p(() => H ?? l.twinlistLeftLabel), G = p(() => K ?? l.twinlistRightLabel);
438
- return (a, o) => (b(), g(w(ye), D(a.$attrs, {
531
+ u.value = N();
532
+ const j = y(
533
+ () => !!w.value?.[0]?.hasOwnProperty("type")
534
+ ), { excludedLabel: H, includedLabel: K } = le(
535
+ L(a, "control")
536
+ ), W = y(() => H ?? a.twinlistLeftLabel), G = y(() => K ?? a.twinlistRightLabel);
537
+ return (l, r) => (m(), g(V(Ve), A(l.$attrs, {
439
538
  id: e.labelForId,
440
539
  disabled: e.disabled,
441
540
  "with-types": e.showTypeFilter,
442
541
  "selected-types": e.control.data.typeFilter?.selectedTypes,
443
- "additional-possible-types": r.value,
542
+ "additional-possible-types": u.value,
444
543
  pattern: e.control.data.patternFilter.pattern,
445
544
  mode: e.control.data.mode.toLowerCase(),
446
545
  "case-sensitive-pattern": e.control.data.patternFilter.isCaseSensitive,
447
- "empty-state-component": E.value,
546
+ "empty-state-component": q.value,
448
547
  "inverse-pattern": e.control.data.patternFilter.isInverted,
449
- "manual-selection": q.value,
548
+ "manual-selection": R.value,
450
549
  "include-unknown-values": e.control.data.manualFilter.includeUnknownColumns,
451
550
  "mode-label": "Selection mode",
452
- "possible-values": w(v) ?? [],
551
+ "possible-values": V(w) ?? [],
453
552
  size: e.twinlistSize,
454
553
  "left-label": W.value,
455
554
  "right-label": G.value,
456
555
  "is-valid": e.isValid,
457
556
  compact: "",
458
557
  "show-resize-handle": "",
459
- "onUpdate:selected": n,
460
- "onUpdate:manualSelection": s,
461
- "onUpdate:pattern": f,
462
- "onUpdate:mode": u,
463
- "onUpdate:selectedTypes": S,
464
- "onUpdate:inversePattern": V,
558
+ "onUpdate:selected": s,
559
+ "onUpdate:manualSelection": n,
560
+ "onUpdate:pattern": p,
561
+ "onUpdate:mode": i,
562
+ "onUpdate:selectedTypes": v,
563
+ "onUpdate:inversePattern": x,
465
564
  "onUpdate:caseSensitivePattern": C
466
- }), Y({ _: 2 }, [
467
- N.value ? {
565
+ }), ee({ _: 2 }, [
566
+ j.value ? {
468
567
  name: "option",
469
- fn: c(({ slotItem: i }) => [
568
+ fn: c(({ slotItem: d }) => [
470
569
  T("div", {
471
- class: z(["data-type-entry", { invalid: i.invalid }])
570
+ class: M(["data-type-entry", { invalid: d.invalid }])
472
571
  }, [
473
- h(w(k), {
474
- "icon-name": i?.type?.id,
475
- "icon-title": i?.type?.text,
572
+ b(V(z), {
573
+ "icon-name": d?.type?.id,
574
+ "icon-title": d?.type?.text,
476
575
  size: "small"
477
576
  }, null, 8, ["icon-name", "icon-title"]),
478
- T("span", null, U(i.text), 1)
577
+ T("span", null, I(d.text), 1)
479
578
  ], 2)
480
579
  ]),
481
580
  key: "0"
482
581
  } : void 0,
483
582
  e.showTypeFilter ? {
484
583
  name: "type",
485
- fn: c(({ slotItem: i }) => [
486
- h(w(k), {
487
- "icon-name": i.id,
488
- "icon-title": i.text,
584
+ fn: c(({ slotItem: d }) => [
585
+ b(V(z), {
586
+ "icon-name": d.id,
587
+ "icon-title": d.text,
489
588
  size: "small"
490
589
  }, null, 8, ["icon-name", "icon-title"]),
491
- T("span", be, U(i.text), 1)
590
+ T("span", Te, I(d.text), 1)
492
591
  ]),
493
592
  key: "1"
494
593
  } : void 0
495
594
  ]), 1040, ["id", "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"]));
496
595
  }
497
- }), Ie = /* @__PURE__ */ R(fe, [["__scopeId", "data-v-0aa76d2b"]]);
596
+ }), Be = /* @__PURE__ */ U(Se, [["__scopeId", "data-v-03e29ad9"]]);
498
597
  export {
499
- Ie as default
598
+ Be as default
500
599
  };
@@ -1,7 +1,7 @@
1
1
  import { ref as v, watch as m } from "vue";
2
2
  import { g as S, a as g } from "./index-Blg1O3Fz.js";
3
- import "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-llWni5tV.js";
4
- import "./TwinlistLoadingInfo-DYcRz-dw.js";
3
+ import "./SectionHeading.vue_vue_type_style_index_0_scoped_4b640144_lang-ofebeuke.js";
4
+ import "./TwinlistLoadingInfo-osSNnYXw.js";
5
5
  const w = ({
6
6
  knownValuesSide: s,
7
7
  possibleValueIds: l,
@@ -1,6 +1,6 @@
1
1
  import { toRef as x, watch as S, resolveComponent as p, createElementBlock as u, openBlock as h, normalizeStyle as y, normalizeClass as I, createElementVNode as m, createCommentVNode as g, mergeProps as C, withKeys as a, withModifiers as d, normalizeProps as v, guardReactiveProps as w, Fragment as V, renderList as k, createBlock as b, withCtx as D, renderSlot as H, resolveDynamicComponent as B, toDisplayString as K, createVNode as N } from "vue";
2
- import { W as L, _ as A } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-llWni5tV.js";
3
- import { S as T } from "./StyledListItem-BMj67bKv.js";
2
+ import { X as L, _ as A } from "./SectionHeading.vue_vue_type_style_index_0_scoped_4b640144_lang-ofebeuke.js";
3
+ import { S as T } from "./StyledListItem-fZvZ3bHQ.js";
4
4
  import { v as O } from "./v4-CKZ6klMF.js";
5
5
  const z = (e, t) => {
6
6
  let i, r = 0;
@@ -512,7 +512,7 @@ function j(e, t, i, r, l, s) {
512
512
  ])
513
513
  ], 6);
514
514
  }
515
- const J = /* @__PURE__ */ A(P, [["render", j], ["__scopeId", "data-v-4ee62d65"]]);
515
+ const G = /* @__PURE__ */ A(P, [["render", j], ["__scopeId", "data-v-4ee62d65"]]);
516
516
  export {
517
- J as M
517
+ G as M
518
518
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as n, createBlock as o, openBlock as t, mergeProps as l } from "vue";
2
- import a from "./MultimodeTwinlistControl-piec1IxJ.js";
2
+ import a from "./MultimodeTwinlistControl-BD7SneIV.js";
3
3
  const u = /* @__PURE__ */ n({
4
4
  __name: "NameFilter",
5
5
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, createBlock as n, openBlock as t, mergeProps as r } from "vue";
2
- import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-D_J7b5uG.js";
2
+ import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-EOqEf4UB.js";
3
3
  const s = /* @__PURE__ */ o({
4
4
  __name: "NumberControl",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as N, computed as m, createBlock as V, openBlock as b, unref as x } from "vue";
2
- import { u as y } from "./useBuiltinValidations-D09sARbZ.js";
3
- import { N as E } from "./NumberInput-BW8n8mei.js";
2
+ import { u as y } from "./useBuiltinValidations-PBjYh_0a.js";
3
+ import { N as E } from "./NumberInput-By1qufZl.js";
4
4
  const F = 1, h = 0.1, S = /* @__PURE__ */ N({
5
5
  __name: "NumberControlBase",
6
6
  props: {
@@ -1,7 +1,7 @@
1
1
  import { A as h } from "./arrow-dropdown-BHK4j8GT.js";
2
2
  /* empty css */
3
3
  import { resolveComponent as f, createElementBlock as d, openBlock as m, normalizeClass as r, createElementVNode as u, createCommentVNode as V, withModifiers as n, createVNode as p } from "vue";
4
- import { _ as c } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-llWni5tV.js";
4
+ import { _ as c } from "./SectionHeading.vue_vue_type_style_index_0_scoped_4b640144_lang-ofebeuke.js";
5
5
  const g = 200, v = 50, E = 0.1, I = 1, b = {
6
6
  name: "NumberInput",
7
7
  components: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as s, computed as i, createBlock as r, openBlock as p, unref as n } from "vue";
2
2
  import { o as u } from "./index-Blg1O3Fz.js";
3
- import { D as c } from "./Dropdown-CbyDcvL5.js";
3
+ import { D as c } from "./Dropdown-Cjuv07DI.js";
4
4
  const g = /* @__PURE__ */ s({
5
5
  __name: "OneOfDropdown",
6
6
  props: {