@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,9 +1,9 @@
1
- import { openBlock as m, createElementBlock as E, renderSlot as ge, toDisplayString as O, createCommentVNode as B, createElementVNode as v, defineComponent as F, mergeModels as G, useModel as k, computed as y, Fragment as N, createBlock as J, withDirectives as R, createVNode as g, vShow as b, renderList as K, unref as c, withCtx as X, createTextVNode as he, ref as _, watch as q, normalizeClass as De, withKeys as ye, vModelText as xe, normalizeStyle as Me } from "vue";
2
- import { _ as H, q as Pe, u as $e } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
1
+ import { openBlock as m, createElementBlock as E, renderSlot as he, toDisplayString as O, createCommentVNode as B, createElementVNode as v, defineComponent as F, mergeModels as G, useModel as k, computed as R, Fragment as N, createBlock as J, withDirectives as $, createVNode as h, vShow as b, renderList as K, unref as c, withCtx as X, createTextVNode as ge, ref as _, watch as W, normalizeClass as De, withKeys as ye, vModelText as xe, normalizeStyle as Me } from "vue";
2
+ import { _ as H, r as Pe, u as $e } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
3
3
  import { o as Re, a as Ae } from "./index-Bf0xDq3g.js";
4
4
  import { u as we, s as be, f as Ne, o as Ve, a as Se } from "./floating-ui.vue-B-MrqKCT.js";
5
- import { N as W } from "./NumberInput-A5_w5ol4.js";
6
- import { V as z } from "./ValueSwitch-D6Wu1NDa.js";
5
+ import { N as q } from "./NumberInput-DfYpYs35.js";
6
+ import { V as z } from "./ValueSwitch-Ba0d4Jda.js";
7
7
  const Ce = {
8
8
  name: "Tooltip",
9
9
  props: {
@@ -16,9 +16,9 @@ const Ce = {
16
16
  key: 0,
17
17
  class: "text"
18
18
  };
19
- function ke(e, t, a, n, i, s) {
19
+ function ke(e, t, a, n, l, i) {
20
20
  return m(), E("div", Oe, [
21
- ge(e.$slots, "default", {}, void 0, !0),
21
+ he(e.$slots, "default", {}, void 0, !0),
22
22
  a.text ? (m(), E("span", Ge, O(a.text), 1)) : B("", !0)
23
23
  ]);
24
24
  }
@@ -41,8 +41,8 @@ const Be = /* @__PURE__ */ H(Ce, [["render", ke], ["__scopeId", "data-v-05123edc
41
41
  }, L = (e) => e.type === "DATE" ? e.interval.years === 0 && e.interval.months === 0 && e.interval.weeks === 0 && e.interval.days === 0 : e.interval.hours === 0 && e.interval.minutes === 0 && e.interval.seconds === 0 && e.interval.milliseconds === 0, V = (e) => {
42
42
  let t = "P";
43
43
  return e.type === "DATE" ? t += `${e.interval.years}Y${e.interval.months}M${e.interval.weeks}W${e.interval.days}D` : t += `T${e.interval.hours}H${e.interval.minutes}M${e.interval.seconds}.${e.interval.milliseconds.toString().padStart(3, "0")}S`, e.interval.negative && (t = `-${t}`), t;
44
- }, $ = (e) => {
45
- const t = (n, i) => n === 0 ? "" : n === 1 ? `${n} ${i} ` : `${n} ${i}s `;
44
+ }, P = (e) => {
45
+ const t = (n, l) => n === 0 ? "" : n === 1 ? `${n} ${l} ` : `${n} ${l}s `;
46
46
  let a = "";
47
47
  if (e.type === "DATE") {
48
48
  if (L(e))
@@ -77,13 +77,13 @@ const Be = /* @__PURE__ */ H(Ce, [["render", ke], ["__scopeId", "data-v-05123edc
77
77
  ), ue = (e) => {
78
78
  if (e = e == null ? void 0 : e.trim(), !e)
79
79
  throw new Error("Empty interval string");
80
- const t = ie.exec(e), a = Fe.exec(e) ?? He.exec(e), n = de.exec(e), i = Ue.exec(e) ?? Ke.exec(e), s = t ?? a, d = n ?? i, T = (a ?? i) !== null;
81
- if (d && s)
80
+ const t = ie.exec(e), a = Fe.exec(e) ?? He.exec(e), n = de.exec(e), l = Ue.exec(e) ?? Ke.exec(e), i = t ?? a, d = n ?? l, T = (a ?? l) !== null;
81
+ if (d && i)
82
82
  throw new Error("Ambiguous time format");
83
- if (s)
83
+ if (i)
84
84
  return {
85
85
  type: "DATE",
86
- interval: Q(T, s)
86
+ interval: Q(T, i)
87
87
  };
88
88
  if (d)
89
89
  return {
@@ -93,12 +93,12 @@ const Be = /* @__PURE__ */ H(Ce, [["render", ke], ["__scopeId", "data-v-05123edc
93
93
  throw new Error(`Invalid human readable time: ${e}`);
94
94
  }, ce = (e, t) => {
95
95
  try {
96
- const a = ue(e), n = a.type, i = a.interval.negative;
96
+ const a = ue(e), n = a.type, l = a.interval.negative;
97
97
  if (n === t || t === "DATE_OR_TIME")
98
98
  return {
99
99
  valid: !0,
100
100
  type: n,
101
- negative: i
101
+ negative: l
102
102
  };
103
103
  } catch {
104
104
  return { valid: !1 };
@@ -106,7 +106,7 @@ const Be = /* @__PURE__ */ H(Ce, [["render", ke], ["__scopeId", "data-v-05123edc
106
106
  }, D = (e) => {
107
107
  if (e = e == null ? void 0 : e.trim(), ["", "P", "PT", "-", "-P", "-PT"].includes(e))
108
108
  throw new Error("Empty ISO duration");
109
- const t = /^-?P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?$/, a = /^-?PT(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)(?:[,.](\d{1,3}))?S)?$/, n = t.exec(e), i = a.exec(e);
109
+ const t = /^-?P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)W)?(?:(\d+)D)?$/, a = /^-?PT(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)(?:[,.](\d{1,3}))?S)?$/, n = t.exec(e), l = a.exec(e);
110
110
  if (n)
111
111
  return {
112
112
  type: "DATE",
@@ -115,23 +115,23 @@ const Be = /* @__PURE__ */ H(Ce, [["render", ke], ["__scopeId", "data-v-05123edc
115
115
  n
116
116
  )
117
117
  };
118
- if (i)
118
+ if (l)
119
119
  return {
120
120
  type: "TIME",
121
121
  interval: ee(
122
122
  e.startsWith("-"),
123
- i
123
+ l
124
124
  )
125
125
  };
126
126
  throw new Error(`Invalid ISO duration: ${e}`);
127
127
  }, ve = (e, t) => {
128
128
  try {
129
- const a = D(e), n = a.type, i = a.interval.negative;
129
+ const a = D(e), n = a.type, l = a.interval.negative;
130
130
  if (n === t || t === "DATE_OR_TIME")
131
131
  return {
132
132
  valid: !0,
133
133
  type: n,
134
- negative: i
134
+ negative: l
135
135
  };
136
136
  } catch {
137
137
  return { valid: !1 };
@@ -149,19 +149,19 @@ const Be = /* @__PURE__ */ H(Ce, [["render", ke], ["__scopeId", "data-v-05123edc
149
149
  }, S = (e, t) => {
150
150
  const a = ve(e, t), n = ce(e, t);
151
151
  return a.valid ? a : n.valid ? n : { valid: !1 };
152
- }, qe = {
152
+ }, We = {
153
153
  xmlns: "http://www.w3.org/2000/svg",
154
154
  fill: "none",
155
155
  stroke: "#000",
156
156
  "stroke-linejoin": "round",
157
157
  viewBox: "0 0 32 32"
158
158
  };
159
- function We(e, t) {
160
- return m(), E("svg", qe, t[0] || (t[0] = [
159
+ function qe(e, t) {
160
+ return m(), E("svg", We, t[0] || (t[0] = [
161
161
  v("path", { d: "m19.7 17-4.6-2.6V8.7m6.3 15.6h8.7m-3.2-3.2 3.2 3.2-3.2 3.2m-18-5.4c-2.2-1.8-3.6-4.6-3.6-7.7 0-5.5 4.4-9.9 9.9-9.9S25 8.9 25 14.4s-4.4 9.9-9.9 9.9H1.9" }, null, -1)
162
162
  ]));
163
163
  }
164
- const ze = { render: We }, Y = [
164
+ const ze = { render: qe }, Y = [
165
165
  "years",
166
166
  "months",
167
167
  "weeks",
@@ -171,7 +171,7 @@ const ze = { render: We }, Y = [
171
171
  "minutes",
172
172
  "seconds",
173
173
  "milliseconds"
174
- ], h = {
174
+ ], g = {
175
175
  years: { min: 0, max: Number.MAX_SAFE_INTEGER },
176
176
  months: { min: 0, max: Number.MAX_SAFE_INTEGER },
177
177
  weeks: { min: 0, max: Number.MAX_SAFE_INTEGER },
@@ -209,33 +209,33 @@ const ze = { render: We }, Y = [
209
209
  }),
210
210
  emits: /* @__PURE__ */ G(["commit"], ["update:usedFormat", "update:modelValue"]),
211
211
  setup(e, { emit: t }) {
212
- const a = t, n = e, i = k(e, "usedFormat"), s = k(e, "modelValue"), d = y(() => {
213
- const p = i.value === "DATE" ? Y : Z, u = i.value === "DATE" ? p.map(
214
- (r) => s.value.periodPart[r]
212
+ const a = t, n = e, l = k(e, "usedFormat"), i = k(e, "modelValue"), d = R(() => {
213
+ const p = l.value === "DATE" ? Y : Z, u = l.value === "DATE" ? p.map(
214
+ (r) => i.value.periodPart[r]
215
215
  ) : p.map(
216
- (r) => s.value.durationPart[r]
216
+ (r) => i.value.durationPart[r]
217
217
  );
218
218
  for (let r = 0; r < u.length; r++) {
219
- const I = p[r], M = u[r];
220
- if (isNaN(M) || M < h[I].min || M > h[I].max)
219
+ const I = p[r], x = u[r];
220
+ if (isNaN(x) || x < g[I].min || x > g[I].max)
221
221
  return {
222
222
  valid: !1,
223
223
  reason: `${C(I)} out of bounds.`
224
224
  };
225
225
  }
226
226
  return { valid: !0 };
227
- }), T = y({
227
+ }), T = R({
228
228
  get() {
229
- return n.allowDescending ? i.value === "DATE" ? s.value.periodPart.negative ? "DESCENDING" : "ASCENDING" : s.value.durationPart.negative ? "DESCENDING" : "ASCENDING" : "ASCENDING";
229
+ return n.allowDescending ? l.value === "DATE" ? i.value.periodPart.negative ? "DESCENDING" : "ASCENDING" : i.value.durationPart.negative ? "DESCENDING" : "ASCENDING" : "ASCENDING";
230
230
  },
231
231
  set(p) {
232
- s.value.periodPart.negative = p === "DESCENDING", s.value.durationPart.negative = p === "DESCENDING";
232
+ i.value.periodPart.negative = p === "DESCENDING", i.value.durationPart.negative = p === "DESCENDING";
233
233
  }
234
- }), x = () => {
234
+ }), y = () => {
235
235
  a(
236
236
  "commit",
237
+ l.value,
237
238
  i.value,
238
- s.value,
239
239
  T.value
240
240
  );
241
241
  };
@@ -244,8 +244,8 @@ const ze = { render: We }, Y = [
244
244
  u[2] || (u[2] = v("span", { class: "input-title" }, "Interval", -1)),
245
245
  n.format === "DATE_OR_TIME" ? (m(), J(z, {
246
246
  key: 0,
247
- modelValue: i.value,
248
- "onUpdate:modelValue": u[0] || (u[0] = (r) => i.value = r),
247
+ modelValue: l.value,
248
+ "onUpdate:modelValue": u[0] || (u[0] = (r) => l.value = r),
249
249
  "possible-values": [
250
250
  { id: "DATE", text: "Date" },
251
251
  { id: "TIME", text: "Time" }
@@ -253,8 +253,8 @@ const ze = { render: We }, Y = [
253
253
  compact: ""
254
254
  }, null, 8, ["modelValue"])) : B("", !0)
255
255
  ]),
256
- R(v("div", Ye, [
257
- g(z, {
256
+ $(v("div", Ye, [
257
+ h(z, {
258
258
  modelValue: T.value,
259
259
  "onUpdate:modelValue": u[1] || (u[1] = (r) => T.value = r),
260
260
  compact: "",
@@ -267,53 +267,53 @@ const ze = { render: We }, Y = [
267
267
  [b, p.allowDescending]
268
268
  ]),
269
269
  v("div", Ze, [
270
- (m(!0), E(N, null, K(c(Y), (r) => R((m(), E("span", {
270
+ (m(!0), E(N, null, K(c(Y), (r) => $((m(), E("span", {
271
271
  key: r,
272
272
  class: "labeled-date-time-input"
273
273
  }, [
274
274
  v("span", je, O(c(C)(r)), 1),
275
- g(W, {
276
- modelValue: s.value.periodPart[r],
277
- "onUpdate:modelValue": (I) => s.value.periodPart[r] = I,
278
- min: c(h)[r].min,
279
- max: c(h)[r].max,
275
+ h(q, {
276
+ modelValue: i.value.periodPart[r],
277
+ "onUpdate:modelValue": (I) => i.value.periodPart[r] = I,
278
+ min: c(g)[r].min,
279
+ max: c(g)[r].max,
280
280
  compact: "",
281
281
  type: "integer"
282
282
  }, null, 8, ["modelValue", "onUpdate:modelValue", "min", "max"])
283
283
  ], 512)), [
284
- [b, i.value === "DATE"]
284
+ [b, l.value === "DATE"]
285
285
  ])), 128)),
286
- (m(!0), E(N, null, K(c(Z), (r) => R((m(), E("span", {
286
+ (m(!0), E(N, null, K(c(Z), (r) => $((m(), E("span", {
287
287
  key: r,
288
288
  class: "labeled-date-time-input"
289
289
  }, [
290
290
  v("span", Je, O(c(C)(r)), 1),
291
- g(W, {
292
- "model-value": s.value.durationPart[r],
293
- min: c(h)[r].min,
294
- max: c(h)[r].max,
291
+ h(q, {
292
+ "model-value": i.value.durationPart[r],
293
+ min: c(g)[r].min,
294
+ max: c(g)[r].max,
295
295
  compact: "",
296
296
  type: "integer",
297
297
  "onUpdate:modelValue": (I) => {
298
- s.value.durationPart[r] = I;
298
+ i.value.durationPart[r] = I;
299
299
  }
300
300
  }, null, 8, ["model-value", "min", "max", "onUpdate:modelValue"])
301
301
  ], 512)), [
302
- [b, i.value === "TIME"]
302
+ [b, l.value === "TIME"]
303
303
  ])), 128))
304
304
  ]),
305
305
  v("div", Qe, [
306
- g(Be, {
306
+ h(Be, {
307
307
  text: d.value.valid ? "" : d.value.reason
308
308
  }, {
309
309
  default: X(() => [
310
- g(Pe, {
310
+ h(Pe, {
311
311
  primary: "",
312
312
  disabled: !d.value.valid,
313
- onClick: x
313
+ onClick: y
314
314
  }, {
315
315
  default: X(() => u[3] || (u[3] = [
316
- he(" Set ")
316
+ ge(" Set ")
317
317
  ])),
318
318
  _: 1
319
319
  }, 8, ["disabled"])
@@ -345,20 +345,20 @@ const ze = { render: We }, Y = [
345
345
  const t = e, a = k(e, "modelValue"), n = _(
346
346
  (() => {
347
347
  if (t.format === "DATE_OR_TIME") {
348
- const o = S(
348
+ const s = S(
349
349
  a.value,
350
350
  "DATE_OR_TIME"
351
351
  );
352
- return o.valid ? o.type : "DATE";
352
+ return s.valid ? s.type : "DATE";
353
353
  } else
354
354
  return t.format;
355
355
  })()
356
- ), i = y(() => n.value === "DATE" ? "ISO-8601, whole words (1 year), single letters (1y)" : "ISO-8601, whole words (1 hour), single letters (1h)"), s = _(
356
+ ), l = R(() => n.value === "DATE" ? "ISO-8601, whole words (1 year), single letters (1y)" : "ISO-8601, whole words (1 hour), single letters (1h)"), i = _(
357
357
  (() => {
358
- const o = D(
358
+ const s = D(
359
359
  a.value
360
360
  );
361
- return w(o, {
361
+ return w(s, {
362
362
  periodPart: {
363
363
  negative: !1,
364
364
  years: 0,
@@ -376,68 +376,68 @@ const ze = { render: We }, Y = [
376
376
  });
377
377
  })()
378
378
  ), d = _(
379
- $(
379
+ P(
380
380
  D(a.value)
381
381
  )
382
- ), T = y(() => {
383
- const o = S(
382
+ ), T = R(() => {
383
+ const s = S(
384
384
  d.value,
385
385
  "DATE_OR_TIME"
386
386
  );
387
- return o.valid && (t.allowDescending || !o.negative) && (o.type === n.value || t.format === "DATE_OR_TIME");
388
- }), x = _(null), p = _(null), u = _(null), r = (o, l) => {
387
+ return s.valid && (t.allowDescending || !s.negative) && (s.type === n.value || t.format === "DATE_OR_TIME");
388
+ }), y = _(null), p = _(null), u = _(null), r = (s, o) => {
389
389
  const f = j(
390
- o,
391
- l
390
+ s,
391
+ o
392
392
  );
393
- d.value = $(f), a.value = V(f), n.value = l, s.value = o;
393
+ d.value = P(f), a.value = V(f), n.value = o, i.value = s;
394
394
  }, I = () => {
395
- s.value = w(
395
+ i.value = w(
396
396
  D(a.value),
397
- s.value
397
+ i.value
398
398
  );
399
- }, M = (o) => {
400
- const l = S(
401
- o,
399
+ }, x = (s) => {
400
+ const o = S(
401
+ s,
402
402
  "DATE_OR_TIME"
403
403
  );
404
- if (!l.valid || !t.allowDescending && l.negative || l.type !== n.value && t.format !== "DATE_OR_TIME")
404
+ if (!o.valid || !t.allowDescending && o.negative || o.type !== n.value && t.format !== "DATE_OR_TIME")
405
405
  return;
406
406
  const f = Xe(
407
- o
407
+ s
408
408
  );
409
- s.value = w(
409
+ i.value = w(
410
410
  f,
411
- s.value
412
- ), a.value = V(f), n.value = l.type, d.value = $(f);
413
- }, pe = (o) => {
414
- const l = D(o);
415
- d.value = $(l), s.value = w(
416
- l,
417
- s.value
418
- ), a.value = o;
419
- }, me = (o) => {
420
- const l = j(
421
- s.value,
422
- o
411
+ i.value
412
+ ), a.value = V(f), n.value = o.type, d.value = P(f);
413
+ }, pe = (s) => {
414
+ const o = D(s);
415
+ d.value = P(o), i.value = w(
416
+ o,
417
+ i.value
418
+ ), a.value = s;
419
+ }, me = (s) => {
420
+ const o = j(
421
+ i.value,
422
+ s
423
423
  );
424
- d.value = $(l), a.value = V(l), n.value = o;
425
- }, fe = (o) => {
426
- o !== "DATE_OR_TIME" && me(o);
427
- }, P = _(!1);
428
- q(() => t.format, fe), q(a, pe);
429
- const U = (o) => {
430
- M(o);
431
- }, A = (o, l) => {
432
- o && l ? r(
433
- l.popoverValues,
434
- l.usedFormat
435
- ) : I(), P.value = !1;
424
+ d.value = P(o), a.value = V(o), n.value = s;
425
+ }, fe = (s) => {
426
+ s !== "DATE_OR_TIME" && me(s);
427
+ }, M = _(!1);
428
+ W(() => t.format, fe), W(a, pe);
429
+ const U = (s) => {
430
+ x(s);
431
+ }, A = (s, o) => {
432
+ s && o ? r(
433
+ o.popoverValues,
434
+ o.usedFormat
435
+ ) : I(), M.value = !1;
436
436
  };
437
- Re(x, () => A(!1), {
437
+ Re(y, () => A(!1), {
438
438
  ignore: [p]
439
439
  }), Ae("Escape", () => A(!1));
440
- const { floatingStyles: Ee, update: Ie } = we(p, x, {
440
+ const { floatingStyles: Ee, update: Ie } = we(p, y, {
441
441
  middleware: [
442
442
  be(),
443
443
  // move left/right to keep it on screen
@@ -457,22 +457,22 @@ const ze = { render: We }, Y = [
457
457
  placement: "top-end",
458
458
  whileElementsMounted: Se
459
459
  });
460
- return (o, l) => (m(), E("div", null, [
460
+ return (s, o) => (m(), E("div", null, [
461
461
  v("div", {
462
- class: De(["wrapper", { disabled: o.disabled, compact: o.compact }])
462
+ class: De(["wrapper", { disabled: s.disabled, compact: s.compact }])
463
463
  }, [
464
464
  v("span", at, [
465
- R(v("input", {
465
+ $(v("input", {
466
466
  ref_key: "inputTextFieldRef",
467
467
  ref: u,
468
- "onUpdate:modelValue": l[0] || (l[0] = (f) => d.value = f),
468
+ "onUpdate:modelValue": o[0] || (o[0] = (f) => d.value = f),
469
469
  type: "text",
470
- disabled: o.disabled,
471
- placeholder: i.value,
470
+ disabled: s.disabled,
471
+ placeholder: l.value,
472
472
  spellcheck: "false",
473
- onFocus: l[1] || (l[1] = (f) => P.value = !1),
474
- onFocusout: l[2] || (l[2] = () => U(d.value)),
475
- onKeypress: l[3] || (l[3] = ye(() => U(d.value), ["enter"]))
473
+ onFocus: o[1] || (o[1] = (f) => M.value = !1),
474
+ onFocusout: o[2] || (o[2] = () => U(d.value)),
475
+ onKeypress: o[3] || (o[3] = ye(() => U(d.value), ["enter"]))
476
476
  }, null, 40, nt), [
477
477
  [xe, d.value]
478
478
  ]),
@@ -481,34 +481,34 @@ const ze = { render: We }, Y = [
481
481
  ref_key: "togglePopoverButtonRef",
482
482
  ref: p,
483
483
  class: "trigger-popover-button",
484
- disabled: o.disabled,
485
- onClick: l[4] || (l[4] = () => {
486
- P.value ? A(!1) : (P.value = !0, c(Ie)());
484
+ disabled: s.disabled,
485
+ onClick: o[4] || (o[4] = () => {
486
+ M.value ? A(!1) : (M.value = !0, c(Ie)());
487
487
  })
488
488
  }, [
489
- g(c(ze))
489
+ h(c(ze))
490
490
  ], 8, ot)
491
491
  ])
492
492
  ], 2),
493
- R(v("div", {
493
+ $(v("div", {
494
494
  ref_key: "durationInputPopoverRef",
495
- ref: x,
495
+ ref: y,
496
496
  class: "control-popup",
497
497
  style: Me(c(Ee))
498
498
  }, [
499
- g(tt, {
500
- "model-value": s.value,
499
+ h(tt, {
500
+ "model-value": i.value,
501
501
  "used-format": n.value,
502
502
  format: t.format,
503
503
  "allow-descending": t.allowDescending,
504
- onCommit: l[5] || (l[5] = (f, Te, _e) => A(!0, {
504
+ onCommit: o[5] || (o[5] = (f, Te, _e) => A(!0, {
505
505
  usedFormat: f,
506
506
  popoverValues: Te,
507
507
  directionality: _e
508
508
  }))
509
509
  }, null, 8, ["model-value", "used-format", "format", "allow-descending"])
510
510
  ], 4), [
511
- [b, P.value]
511
+ [b, M.value]
512
512
  ])
513
513
  ]));
514
514
  }
@@ -524,21 +524,20 @@ const ze = { render: We }, Y = [
524
524
  labelForId: {}
525
525
  },
526
526
  setup(e) {
527
- var i;
528
- const t = e, a = y(() => t.control.uischema.options), n = $e(
529
- y(() => {
530
- var s;
531
- return (s = a.value) == null ? void 0 : s.intervalTypeProvider;
532
- }),
533
- ((i = a.value) == null ? void 0 : i.intervalType) ?? "DATE_OR_TIME"
527
+ const t = e, a = R(
528
+ () => t.control.uischema
529
+ ), n = $e(
530
+ a,
531
+ "intervalType",
532
+ "DATE_OR_TIME"
534
533
  );
535
- return (s, d) => (m(), J(c(it), {
536
- id: s.labelForId,
534
+ return (l, i) => (m(), J(c(it), {
535
+ id: l.labelForId,
537
536
  compact: "",
538
- disabled: s.disabled,
539
- "model-value": s.control.data,
537
+ disabled: l.disabled,
538
+ "model-value": l.control.data,
540
539
  format: c(n),
541
- "onUpdate:modelValue": s.changeValue
540
+ "onUpdate:modelValue": l.changeValue
542
541
  }, null, 8, ["id", "disabled", "model-value", "format", "onUpdate:modelValue"]));
543
542
  }
544
543
  });
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as d, computed as l, openBlock as s, createBlock as a, unref as n, mergeProps as u, withCtx as c, createCommentVNode as m } from "vue";
2
- import { D as b } from "./Dropdown-VTgudgLJ.js";
3
- import { L as V } from "./svgWithTitle-CJzZ_AF0.js";
4
- import { _ as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
2
+ import { D as b } from "./Dropdown-Cp5fC5vt.js";
3
+ import { L as V } from "./svgWithTitle-DGBkWQrO.js";
4
+ import { _ as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
5
5
  const v = /* @__PURE__ */ d({
6
6
  __name: "LoadingDropdown",
7
7
  props: {
@@ -0,0 +1,85 @@
1
+ import { defineComponent as I, toRef as d, computed as a, markRaw as k, openBlock as C, createBlock as T, unref as c, mergeProps as _ } from "vue";
2
+ import { m as F } from "./index-Blg1O3Fz.js";
3
+ import { u as L, a as U } from "./usePossibleValues-BB4he0jT.js";
4
+ import { T as z, a as x } from "./TwinlistLoadingInfo-Dcbz2hUN.js";
5
+ import { u as B } from "./MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_ca157254_lang-DjGJNwBV.js";
6
+ import { _ as D } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
7
+ const M = /* @__PURE__ */ I({
8
+ __name: "ManualTwinlistControl",
9
+ props: {
10
+ control: {},
11
+ handleChange: { type: Function },
12
+ changeValue: { type: Function },
13
+ disabled: { type: Boolean },
14
+ isValid: { type: Boolean },
15
+ onRegisterValidation: { type: Function },
16
+ labelForId: {}
17
+ },
18
+ setup(r) {
19
+ const n = r;
20
+ let o;
21
+ const s = (e) => {
22
+ const l = F(n.control.data, e);
23
+ n.changeValue(l), o == null || o(l);
24
+ }, p = (e) => {
25
+ if (e !== null)
26
+ if ("includedValues" in e) {
27
+ const { includedValues: l, excludedValues: u, includeUnknownValues: y } = e;
28
+ if (!l || !u)
29
+ return;
30
+ s({
31
+ manuallySelected: l,
32
+ manuallyDeselected: u,
33
+ includeUnknownColumns: y
34
+ });
35
+ } else
36
+ s({ manuallySelected: e });
37
+ }, { possibleValues: t } = L(
38
+ d(n, "control")
39
+ ), { selectedAndDeselected: i, setCurrentManualFilter: m } = B({
40
+ data: a(() => ({ manualFilter: n.control.data })),
41
+ possibleValueIds: a(
42
+ () => {
43
+ var e;
44
+ return ((e = t.value) == null ? void 0 : e.map(({ id: l }) => l)) ?? null;
45
+ }
46
+ )
47
+ });
48
+ o = m;
49
+ const b = a(() => {
50
+ const { selected: e, deselected: l } = i.value;
51
+ return {
52
+ includedValues: e,
53
+ excludedValues: l,
54
+ includeUnknownValues: n.control.data.includeUnknownColumns
55
+ };
56
+ }), f = a(
57
+ () => i.value.selected === null ? k(z) : null
58
+ ), { excludedLabel: w, includedLabel: V } = U(
59
+ d(n, "control")
60
+ ), v = a(() => w ?? "Excludes"), h = a(() => V ?? "Includes"), g = a(
61
+ () => {
62
+ var e;
63
+ return (e = n.control.uischema.options) == null ? void 0 : e.twinlistSize;
64
+ }
65
+ );
66
+ return (e, l) => (C(), T(c(x), _(e.$attrs, {
67
+ id: e.labelForId,
68
+ "show-search": "",
69
+ disabled: e.disabled,
70
+ "empty-state-component": f.value,
71
+ "model-value": b.value,
72
+ "possible-values": c(t) ?? [],
73
+ size: g.value,
74
+ "left-label": v.value,
75
+ "right-label": h.value,
76
+ "is-valid": e.isValid,
77
+ compact: "",
78
+ "show-resize-handle": "",
79
+ "onUpdate:modelValue": p
80
+ }), null, 16, ["id", "disabled", "empty-state-component", "model-value", "possible-values", "size", "left-label", "right-label", "is-valid"]));
81
+ }
82
+ }), j = /* @__PURE__ */ D(M, [["__scopeId", "data-v-3a892220"]]);
83
+ export {
84
+ j as default
85
+ };
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as n, toRef as t, openBlock as d, createBlock as r, unref as l } from "vue";
2
- import { u } from "./usePossibleValues-DY3q9YuR.js";
3
- import { M as p } from "./MultiselectListBox-DXD5CLCh.js";
2
+ import { u } from "./usePossibleValues-BB4he0jT.js";
3
+ import { M as p } from "./MultiselectListBox-DMZvKZT2.js";
4
4
  const f = /* @__PURE__ */ n({
5
5
  __name: "MultiSelectListBoxControl",
6
6
  props: {