@knime/jsonforms 1.21.15 → 1.21.17

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 (93) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/AnyOfTwinlist-SXwBBRp2.js +23 -0
  3. package/dist/CheckboxControl-CbWn843V.js +40 -0
  4. package/dist/CheckboxesControl-BiQOMrsp.js +39 -0
  5. package/dist/{ColorControl-CpBVJh38.js → ColorControl-B_mQdOCs.js} +10 -8
  6. package/dist/{ColorPreviewControl-0VK3OqwY.js → ColorPreviewControl-BREwhSO9.js} +28 -28
  7. package/dist/ComboBoxControl-BIZlnizm.js +39 -0
  8. package/dist/DateControl-vkwY-8Qy.js +44 -0
  9. package/dist/DateTimeControl-CtXV6_D2.js +80 -0
  10. package/dist/DateTimeFormatPickerControl-a7MPaNFN.js +34 -0
  11. package/dist/{DateTimeFormatPickerWithTypeControl-CodEVQG_.js → DateTimeFormatPickerWithTypeControl-B9Nu0dh1.js} +18 -17
  12. package/dist/DropdownControl-BUwovb4K.js +32 -0
  13. package/dist/{ExecutorCoresControl-CvCVcaHM.js → ExecutorCoresControl-DN-1o1XJ.js} +10 -9
  14. package/dist/{ExecutorMemoryControl-CpbVJNq4.js → ExecutorMemoryControl-UzqzP4hI.js} +9 -8
  15. package/dist/{FileUploadControl-CNUi9QfR.js → FileUploadControl-WC8TFQHe.js} +46 -45
  16. package/dist/{GridSelectionControl-HV2yNE4R.js → GridSelectionControl-BgqT1t9d.js} +24 -23
  17. package/dist/{HorizontalLayout-Cqf3hzxv.js → HorizontalLayout-CESRA3YR.js} +6 -6
  18. package/dist/{IntegerControl-Ba5QkLCa.js → IntegerControl-DKXN0mcE.js} +5 -4
  19. package/dist/IntervalControl-BswGPjcV.js +51 -0
  20. package/dist/LinkControl-DTqOfnTg.js +35 -0
  21. package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-Cir2ym2M.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-Cic7UEOM.js} +1 -1
  22. package/dist/ManualTwinlistControl-CoZdPu6n.js +74 -0
  23. package/dist/{MultiSelectListBoxControl-DcWDraNF.js → MultiSelectListBoxControl-CjM94miu.js} +53 -52
  24. package/dist/{MultimodeTwinlistControl-B-rEhgKQ.js → MultimodeTwinlistControl-NMnPBn6a.js} +1 -1
  25. package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-mQFRHgGM.js +159 -0
  26. package/dist/{NameFilter-BFKNf9cO.js → NameFilter-DuVJG0SF.js} +7 -6
  27. package/dist/{NumberControl-BAxGZy_4.js → NumberControl-NMJmxuze.js} +7 -6
  28. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8.js +52 -0
  29. package/dist/{OneOfDropdown-DcetHKT5.js → OneOfDropdown-CwJemyYo.js} +13 -11
  30. package/dist/{RadioButtonsWithDescriptionControl-pZ0gJ6iz.js → RadioButtonsWithDescriptionControl-BK3UCreL.js} +15 -15
  31. package/dist/{RadioControl-B8-nxddP.js → RadioControl-ts1-JozG.js} +5 -4
  32. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-jxw_5dVt.js +57 -0
  33. package/dist/{ResourceControlBase-ZMTuwwL2.js → ResourceControlBase-FDiyHyQi.js} +18 -15
  34. package/dist/{RichTextControl-kptCYz2A.js → RichTextControl-DH6GqUeF.js} +4 -3
  35. package/dist/{SectionHeading-MlqCj5BS.js → SectionHeading-DIAFnjCM.js} +1 -1
  36. package/dist/{SectionLayout-nV1GnghP.js → SectionLayout-Cb3_L9Te.js} +3 -3
  37. package/dist/{SettingsSubPanel-Z6urYwz1.js → SettingsSubPanel-BuxORlJO.js} +1 -1
  38. package/dist/{SettingsSubPanelLayout-BNMJbUsL.js → SettingsSubPanelLayout-DruWJjQA.js} +4 -4
  39. package/dist/{SimpleButtonControl-DZFYl2H3.js → SimpleButtonControl-BeRnF6lP.js} +13 -13
  40. package/dist/{SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js → SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js} +5294 -5346
  41. package/dist/{SimpleTwinlistControl-Ds2BQOoO.js → SimpleTwinlistControl-CnBe4qsI.js} +6 -5
  42. package/dist/{SingleSelectControl-CLv_Mah-.js → SingleSelectControl-C4Qzk2Ki.js} +21 -19
  43. package/dist/{SingleSelectListBoxControl-DM_5t3Nv.js → SingleSelectListBoxControl-sLe2Y67h.js} +16 -15
  44. package/dist/SortListControl-ChpYm3CZ.js +105 -0
  45. package/dist/{StyledListItem-D3NbpWl3.js → StyledListItem-BJEJoIzr.js} +1 -1
  46. package/dist/{TeamAndSpacesControl-A8mWrSE4.js → TeamAndSpacesControl-7ZXPUwBb.js} +12 -11
  47. package/dist/{TeamResourceControl-CAgwzjRZ.js → TeamResourceControl-BZDXMRLZ.js} +12 -11
  48. package/dist/{TextAreaControl-DRBGqA7a.js → TextAreaControl-BDGtgWys.js} +10 -8
  49. package/dist/{TextControl--Tw-AE3y.js → TextControl-8jfyOJKb.js} +1 -1
  50. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-PdbUWJUv.js → TextControl.vue_vue_type_script_setup_true_lang--8lz3nbO.js} +16 -14
  51. package/dist/{TimeControl-D_hEPt2Z.js → TimeControl-Dvt5U7xN.js} +28 -26
  52. package/dist/{TimeframesControl-EKcriaC8.js → TimeframesControl-DcUxC3kX.js} +7 -6
  53. package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-BRq0ANwm.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-Buo-KA0N.js} +14 -11
  54. package/dist/{TypedStringFilter-UUuSnJNk.js → TypedStringFilter-Cx8OCQcE.js} +5 -4
  55. package/dist/{ValueSwitchControl-BwERUIyr.js → ValueSwitchControl-1ax1yKbk.js} +6 -5
  56. package/dist/{VerticalLayout-BET3pZ_K.js → VerticalLayout-DnyoqTeh.js} +2 -2
  57. package/dist/{VerticalLayoutBase-HYtDwVLA.js → VerticalLayoutBase-BS5IpgON.js} +2 -2
  58. package/dist/ZonedDateTimeControl-mIIRwaHz.js +79 -0
  59. package/dist/{_Uint8Array-DJimCh8a.js → _Uint8Array-CsgDtogS.js} +12 -12
  60. package/dist/knime-jsonforms.css +1 -1
  61. package/dist/knime-jsonforms.js +41 -42
  62. package/dist/src/higherOrderComponents/control/index.d.ts +1 -2
  63. package/dist/src/higherOrderComponents/control/util.d.ts +4 -5
  64. package/dist/src/higherOrderComponents/control/validation/types.d.ts +2 -2
  65. package/dist/src/higherOrderComponents/control/withLabel.d.ts +1 -1
  66. package/dist/src/renderers/checkboxRenderer.d.ts +120 -1
  67. package/dist/src/renderers/defaultRenderers.d.ts +120 -1
  68. package/dist/src/renderers/fallbackRenderers.d.ts +120 -1
  69. package/dist/testing.js +3 -3
  70. package/dist/{toString-B8vqfiDe.js → toString-hCFROtg1.js} +1 -1
  71. package/dist/{useBuiltinValidations-CzYsm8oq.js → useBuiltinValidations-Cfw3JlJf.js} +1 -1
  72. package/dist/{usePossibleValues-CGt7yrJ6.js → usePossibleValues-CtPV4Cjp.js} +1 -1
  73. package/dist/{useUnknownValuesInTwinlist-Bez1tY4_.js → useUnknownValuesInTwinlist-BCbqJg7j.js} +1 -1
  74. package/package.json +1 -1
  75. package/dist/AnyOfTwinlist-CV39JeCp.js +0 -22
  76. package/dist/CheckboxControl-CS4nuJTP.js +0 -38
  77. package/dist/CheckboxesControl-DXJMkZ49.js +0 -37
  78. package/dist/ComboBoxControl-avfNedsG.js +0 -37
  79. package/dist/DateControl-B8E0JEIV.js +0 -42
  80. package/dist/DateTimeControl-DPjGzRqg.js +0 -78
  81. package/dist/DateTimeFormatPickerControl-Cx3yfT3O.js +0 -32
  82. package/dist/DropdownControl-DEggcwK1.js +0 -30
  83. package/dist/IntervalControl-DlLV8RQr.js +0 -48
  84. package/dist/LinkControl-COH9jvPg.js +0 -35
  85. package/dist/ManualTwinlistControl-jJGxlq9j.js +0 -72
  86. package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-yhmiIg95.js +0 -157
  87. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-Dlxx71hk.js +0 -50
  88. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-8xWE-iQR.js +0 -52
  89. package/dist/SortListControl-COd0WHwd.js +0 -103
  90. package/dist/ZonedDateTimeControl-CsbZwGMX.js +0 -77
  91. package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +0 -5
  92. package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +0 -23
  93. package/dist/src/higherOrderComponents/control/errorMessage/withErrorMessage.d.ts +0 -11
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as d, computed as e, openBlock as p, createBlock as m, mergeProps as h } from "vue";
2
- import { R as v } from "./ResourceControlBase-ZMTuwwL2.js";
2
+ import { R as v } from "./ResourceControlBase-FDiyHyQi.js";
3
3
  const g = /* @__PURE__ */ d({
4
4
  __name: "ExecutorCoresControl",
5
5
  props: {
@@ -7,14 +7,15 @@ const g = /* @__PURE__ */ d({
7
7
  handleChange: { type: Function },
8
8
  changeValue: { type: Function },
9
9
  disabled: { type: Boolean },
10
- isValid: { type: Boolean },
10
+ error: { type: Boolean },
11
+ subText: {},
11
12
  onRegisterValidation: { type: Function },
12
13
  labelForId: {}
13
14
  },
14
15
  setup(a) {
15
- const o = a, l = e(
16
+ const o = a, s = e(
16
17
  () => o.control.uischema.options?.donutTitle || ""
17
- ), s = e(
18
+ ), l = e(
18
19
  () => o.control.uischema.options?.currentUsage ?? 0
19
20
  ), t = e(
20
21
  () => o.control.schema.secondaryValue || 0
@@ -22,14 +23,14 @@ const g = /* @__PURE__ */ d({
22
23
  () => o.control.uischema.options?.donutMax ?? 1 / 0
23
24
  ), c = e(
24
25
  () => n.value === -1 ? "unlimited" : n.value
25
- ), i = e(
26
+ ), r = e(
26
27
  () => o.control.uischema.options?.isSharedContext ?? !1
27
- ), u = e(() => s.value + t.value), r = e(
28
- () => `This execution context will use ${t.value} vCore tokens. In total, ${u.value} of ${c.value} vCore tokens available ${i.value ? "from the license" : "for this team"} will be used.`
28
+ ), u = e(() => l.value + t.value), i = e(
29
+ () => `This execution context will use ${t.value} vCore tokens. In total, ${u.value} of ${c.value} vCore tokens available ${r.value ? "from the license" : "for this team"} will be used.`
29
30
  );
30
31
  return (x, f) => (p(), m(v, h(o, {
31
- "donut-title": l.value,
32
- "donut-description": r.value
32
+ "donut-title": s.value,
33
+ "donut-description": i.value
33
34
  }), null, 16, ["donut-title", "donut-description"]));
34
35
  }
35
36
  });
@@ -1,13 +1,14 @@
1
- import { defineComponent as i, computed as o, openBlock as r, createBlock as d, mergeProps as p } from "vue";
2
- import { R as m } from "./ResourceControlBase-ZMTuwwL2.js";
3
- const v = /* @__PURE__ */ i({
1
+ import { defineComponent as s, computed as o, openBlock as i, createBlock as p, mergeProps as d } from "vue";
2
+ import { R as m } from "./ResourceControlBase-FDiyHyQi.js";
3
+ const v = /* @__PURE__ */ s({
4
4
  __name: "ExecutorMemoryControl",
5
5
  props: {
6
6
  control: {},
7
7
  handleChange: { type: Function },
8
8
  changeValue: { type: Function },
9
9
  disabled: { type: Boolean },
10
- isValid: { type: Boolean },
10
+ error: { type: Boolean },
11
+ subText: {},
11
12
  onRegisterValidation: { type: Function },
12
13
  labelForId: {}
13
14
  },
@@ -20,12 +21,12 @@ const v = /* @__PURE__ */ i({
20
21
  () => e.control.uischema.options?.currentUsage ?? 0
21
22
  ), c = o(
22
23
  () => e.control.uischema.options?.donutMax ?? 1 / 0
23
- ), s = o(() => t.value + l.value), u = o(
24
- () => `This execution context will use a maximum of ${t.value} GB RAM. In total, ${s.value} GB of ${c.value} GB available for this team will be used.`
24
+ ), u = o(() => t.value + l.value), r = o(
25
+ () => `This execution context will use a maximum of ${t.value} GB RAM. In total, ${u.value} GB of ${c.value} GB available for this team will be used.`
25
26
  );
26
- return (f, h) => (r(), d(m, p(e, {
27
+ return (f, h) => (i(), p(m, d(e, {
27
28
  "donut-title": a.value,
28
- "donut-description": u.value
29
+ "donut-description": r.value
29
30
  }), null, 16, ["donut-title", "donut-description"]));
30
31
  }
31
32
  });
@@ -1,6 +1,6 @@
1
- import { defineComponent as V, ref as v, computed as g, openBlock as R, createElementBlock as G, createVNode as q, unref as H, createElementVNode as A, toDisplayString as K } from "vue";
2
- import { y as I, H as W, v as $, x as U, B as Y, _ as J } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
3
- import { h as Q, e as X, o as Z, U as w, j as z, a as j, l as P, n as T, i as k, S as ee, g as te } from "./_Uint8Array-DJimCh8a.js";
1
+ import { defineComponent as V, ref as v, computed as g, openBlock as G, createElementBlock as R, createVNode as q, unref as K, createElementVNode as A, toDisplayString as W } from "vue";
2
+ import { y as I, G as Y, v as $, x as U, B as H, _ as J } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
3
+ import { h as Q, e as X, o as Z, U as w, j as z, a as j, l as P, n as T, i as k, S as ee, g as te } from "./_Uint8Array-CsgDtogS.js";
4
4
  import { i as re } from "./isArray-WzO_os3q.js";
5
5
  var O = Object.create, ne = /* @__PURE__ */ (function() {
6
6
  function e() {
@@ -21,12 +21,12 @@ var O = Object.create, ne = /* @__PURE__ */ (function() {
21
21
  } catch {
22
22
  }
23
23
  })();
24
- function ae(e, t) {
25
- for (var r = -1, o = e == null ? 0 : e.length; ++r < o && t(e[r], r, e) !== !1; )
24
+ function oe(e, t) {
25
+ for (var r = -1, a = e == null ? 0 : e.length; ++r < a && t(e[r], r, e) !== !1; )
26
26
  ;
27
27
  return e;
28
28
  }
29
- function oe(e, t, r) {
29
+ function ae(e, t, r) {
30
30
  t == "__proto__" && S ? S(e, t, {
31
31
  configurable: !0,
32
32
  enumerable: !0,
@@ -36,10 +36,10 @@ function oe(e, t, r) {
36
36
  }
37
37
  var ce = Object.prototype, ie = ce.hasOwnProperty;
38
38
  function se(e, t, r) {
39
- var o = e[t];
40
- (!(ie.call(e, t) && X(o, r)) || r === void 0 && !(t in e)) && oe(e, t, r);
39
+ var a = e[t];
40
+ (!(ie.call(e, t) && X(a, r)) || r === void 0 && !(t in e)) && ae(e, t, r);
41
41
  }
42
- var le = Z(Object.getPrototypeOf, Object), D = typeof exports == "object" && exports && !exports.nodeType && exports, x = D && typeof module == "object" && module && !module.nodeType && module, fe = x && x.exports === D, C = fe ? W.Buffer : void 0;
42
+ var le = Z(Object.getPrototypeOf, Object), D = typeof exports == "object" && exports && !exports.nodeType && exports, x = D && typeof module == "object" && module && !module.nodeType && module, fe = x && x.exports === D, C = fe ? Y.Buffer : void 0;
43
43
  C && C.allocUnsafe;
44
44
  function ue(e, t) {
45
45
  return e.slice();
@@ -72,13 +72,13 @@ function me(e, t) {
72
72
  }
73
73
  var he = "[object Boolean]", ve = "[object Date]", Ae = "[object Map]", $e = "[object Number]", we = "[object RegExp]", Oe = "[object Set]", Se = "[object String]", xe = "[object Symbol]", Ce = "[object ArrayBuffer]", Fe = "[object DataView]", _e = "[object Float32Array]", Be = "[object Float64Array]", Ee = "[object Int8Array]", Ie = "[object Int16Array]", Ue = "[object Int32Array]", Pe = "[object Uint8Array]", De = "[object Uint8ClampedArray]", Me = "[object Uint16Array]", Le = "[object Uint32Array]";
74
74
  function Ne(e, t, r) {
75
- var o = e.constructor;
75
+ var a = e.constructor;
76
76
  switch (t) {
77
77
  case Ce:
78
78
  return m(e);
79
79
  case he:
80
80
  case ve:
81
- return new o(+e);
81
+ return new a(+e);
82
82
  case Fe:
83
83
  return ge(e);
84
84
  case _e:
@@ -92,14 +92,14 @@ function Ne(e, t, r) {
92
92
  case Le:
93
93
  return me(e);
94
94
  case Ae:
95
- return new o();
95
+ return new a();
96
96
  case $e:
97
97
  case Se:
98
- return new o(e);
98
+ return new a(e);
99
99
  case we:
100
100
  return Te(e);
101
101
  case Oe:
102
- return new o();
102
+ return new a();
103
103
  case xe:
104
104
  return je(e);
105
105
  }
@@ -107,51 +107,51 @@ function Ne(e, t, r) {
107
107
  function Ve(e) {
108
108
  return typeof e.constructor == "function" && !z(e) ? ne(le(e)) : {};
109
109
  }
110
- var Re = "[object Map]";
111
- function Ge(e) {
112
- return U(e) && j(e) == Re;
113
- }
114
- var B = T && T.isMap, qe = B ? P(B) : Ge, He = "[object Set]";
115
- function Ke(e) {
116
- return U(e) && j(e) == He;
117
- }
118
- var E = T && T.isSet, We = E ? P(E) : Ke, M = "[object Arguments]", Ye = "[object Array]", Je = "[object Boolean]", Qe = "[object Date]", Xe = "[object Error]", L = "[object Function]", Ze = "[object GeneratorFunction]", ze = "[object Map]", ke = "[object Number]", N = "[object Object]", et = "[object RegExp]", tt = "[object Set]", rt = "[object String]", nt = "[object Symbol]", at = "[object WeakMap]", ot = "[object ArrayBuffer]", ct = "[object DataView]", it = "[object Float32Array]", st = "[object Float64Array]", lt = "[object Int8Array]", ft = "[object Int16Array]", ut = "[object Int32Array]", bt = "[object Uint8Array]", pt = "[object Uint8ClampedArray]", dt = "[object Uint16Array]", gt = "[object Uint32Array]", n = {};
119
- n[M] = n[Ye] = n[ot] = n[ct] = n[Je] = n[Qe] = n[it] = n[st] = n[lt] = n[ft] = n[ut] = n[ze] = n[ke] = n[N] = n[et] = n[tt] = n[rt] = n[nt] = n[bt] = n[pt] = n[dt] = n[gt] = !0;
120
- n[Xe] = n[L] = n[at] = !1;
121
- function y(e, t, r, o, u, c) {
122
- var a;
123
- if (a !== void 0)
124
- return a;
110
+ var Ge = "[object Map]";
111
+ function Re(e) {
112
+ return U(e) && j(e) == Ge;
113
+ }
114
+ var B = T && T.isMap, qe = B ? P(B) : Re, Ke = "[object Set]";
115
+ function We(e) {
116
+ return U(e) && j(e) == Ke;
117
+ }
118
+ var E = T && T.isSet, Ye = E ? P(E) : We, M = "[object Arguments]", He = "[object Array]", Je = "[object Boolean]", Qe = "[object Date]", Xe = "[object Error]", L = "[object Function]", Ze = "[object GeneratorFunction]", ze = "[object Map]", ke = "[object Number]", N = "[object Object]", et = "[object RegExp]", tt = "[object Set]", rt = "[object String]", nt = "[object Symbol]", ot = "[object WeakMap]", at = "[object ArrayBuffer]", ct = "[object DataView]", it = "[object Float32Array]", st = "[object Float64Array]", lt = "[object Int8Array]", ft = "[object Int16Array]", ut = "[object Int32Array]", bt = "[object Uint8Array]", pt = "[object Uint8ClampedArray]", dt = "[object Uint16Array]", gt = "[object Uint32Array]", n = {};
119
+ n[M] = n[He] = n[at] = n[ct] = n[Je] = n[Qe] = n[it] = n[st] = n[lt] = n[ft] = n[ut] = n[ze] = n[ke] = n[N] = n[et] = n[tt] = n[rt] = n[nt] = n[bt] = n[pt] = n[dt] = n[gt] = !0;
120
+ n[Xe] = n[L] = n[ot] = !1;
121
+ function y(e, t, r, a, u, c) {
122
+ var o;
123
+ if (o !== void 0)
124
+ return o;
125
125
  if (!I(e))
126
126
  return e;
127
127
  var p = re(e);
128
128
  if (p)
129
- a = de(e);
129
+ o = de(e);
130
130
  else {
131
131
  var i = j(e), d = i == L || i == Ze;
132
132
  if (k(e))
133
133
  return ue(e);
134
134
  if (i == N || i == M || d && !u)
135
- a = d ? {} : Ve(e);
135
+ o = d ? {} : Ve(e);
136
136
  else {
137
137
  if (!n[i])
138
138
  return u ? e : {};
139
- a = Ne(e, i);
139
+ o = Ne(e, i);
140
140
  }
141
141
  }
142
142
  c || (c = new ee());
143
143
  var l = c.get(e);
144
144
  if (l)
145
145
  return l;
146
- c.set(e, a), We(e) ? e.forEach(function(s) {
147
- a.add(y(s, t, r, s, e, c));
146
+ c.set(e, o), Ye(e) ? e.forEach(function(s) {
147
+ o.add(y(s, t, r, s, e, c));
148
148
  }) : qe(e) && e.forEach(function(s, f) {
149
- a.set(f, y(s, t, r, f, e, c));
149
+ o.set(f, y(s, t, r, f, e, c));
150
150
  });
151
151
  var b = te, h = p ? void 0 : b(e);
152
- return ae(h || e, function(s, f) {
153
- h && (f = s, s = e[f]), se(a, f, y(s, t, r, f, e, c));
154
- }), a;
152
+ return oe(h || e, function(s, f) {
153
+ h && (f = s, s = e[f]), se(o, f, y(s, t, r, f, e, c));
154
+ }), o;
155
155
  }
156
156
  var yt = 1, Tt = 4;
157
157
  function jt(e) {
@@ -165,23 +165,24 @@ const mt = { class: "wrapper" }, ht = { class: "filename" }, vt = ["id", "aria-l
165
165
  handleChange: { type: Function },
166
166
  changeValue: { type: Function },
167
167
  disabled: { type: Boolean },
168
- isValid: { type: Boolean },
168
+ error: { type: Boolean },
169
+ subText: {},
169
170
  onRegisterValidation: { type: Function },
170
171
  labelForId: {}
171
172
  },
172
173
  setup(e) {
173
- const t = e, r = v(jt(t.control.data)), o = g(
174
+ const t = e, r = v(jt(t.control.data)), a = g(
174
175
  () => t.control.uischema.options?.accept ?? "*"
175
176
  ), u = g(
176
177
  () => t.control.uischema.options?.multiple ?? !1
177
- ), c = v(null), a = g(() => r.value?.map?.(({ name: l }) => l).join(", ") || "No file selected"), p = g(() => `Select file${u.value ? "s" : ""}`), i = () => {
178
+ ), c = v(null), o = g(() => r.value?.map?.(({ name: l }) => l).join(", ") || "No file selected"), p = g(() => `Select file${u.value ? "s" : ""}`), i = () => {
178
179
  c.value?.click();
179
180
  }, d = (l) => {
180
181
  const b = l.target;
181
182
  b.files && (r.value = Array.from(b.files), t.handleChange(t.control.path, Array.from(r.value)));
182
183
  };
183
- return (l, b) => (R(), G("div", mt, [
184
- q(H(Y), {
184
+ return (l, b) => (G(), R("div", mt, [
185
+ q(K(H), {
185
186
  class: "file-select-button",
186
187
  label: p.value,
187
188
  "leading-icon": "search",
@@ -190,14 +191,14 @@ const mt = { class: "wrapper" }, ht = { class: "filename" }, vt = ["id", "aria-l
190
191
  size: "small",
191
192
  onClick: i
192
193
  }, null, 8, ["label", "disabled"]),
193
- A("span", ht, K(a.value), 1),
194
+ A("span", ht, W(o.value), 1),
194
195
  A("input", {
195
196
  id: e.labelForId,
196
197
  ref_key: "fileSelector",
197
198
  ref: c,
198
199
  "aria-label": e.control.label,
199
200
  type: "file",
200
- accept: o.value,
201
+ accept: a.value,
201
202
  multiple: u.value,
202
203
  disabled: e.disabled,
203
204
  hidden: "",
@@ -1,16 +1,17 @@
1
- import { defineComponent as S, useCssVars as U, unref as n, ref as B, computed as s, watch as f, openBlock as c, createElementBlock as u, normalizeStyle as D, Fragment as G, renderList as T, createBlock as h, createCommentVNode as p, createVNode as $, withModifiers as A } from "vue";
2
- import { $ as N, a0 as z, B as O, _ as R } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
1
+ import { defineComponent as S, useCssVars as U, unref as n, ref as T, computed as s, watch as f, openBlock as r, createElementBlock as u, normalizeStyle as B, Fragment as D, renderList as G, createBlock as h, createCommentVNode as p, createVNode as $, withModifiers as A } from "vue";
2
+ import { Z as N, $ as z, B as O, _ as R } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
3
3
  const W = { class: "grid-list" }, H = {
4
4
  key: 1,
5
5
  class: "checkbox"
6
- }, X = 7, j = "auto", q = "Invert selection", J = /* @__PURE__ */ S({
6
+ }, X = 7, Z = "auto", j = "Invert selection", q = /* @__PURE__ */ S({
7
7
  __name: "GridSelectionControl",
8
8
  props: {
9
9
  handleChange: { type: Function },
10
10
  control: {},
11
11
  changeValue: { type: Function },
12
12
  disabled: { type: Boolean },
13
- isValid: { type: Boolean },
13
+ error: { type: Boolean },
14
+ subText: {},
14
15
  onRegisterValidation: { type: Function },
15
16
  labelForId: {}
16
17
  },
@@ -18,16 +19,16 @@ const W = { class: "grid-list" }, H = {
18
19
  U((e) => ({
19
20
  v38af777e: n(k)
20
21
  }));
21
- const r = y, {
22
- control: { path: V, uischema: { options: b } = {} },
23
- handleChange: C
24
- } = r, {
22
+ const c = y, {
23
+ control: { path: b, uischema: { options: C } = {} },
24
+ handleChange: V
25
+ } = c, {
25
26
  possibleValues: o = [],
26
27
  columnCount: I = X,
27
- gridWidth: k = j,
28
- toggleLabel: m = q,
28
+ gridWidth: k = Z,
29
+ toggleLabel: m = j,
29
30
  renderLastItemAsCheckbox: d = !1
30
- } = b, a = B(/* @__PURE__ */ new Map()), x = s(() => ({
31
+ } = C, a = T(/* @__PURE__ */ new Map()), x = s(() => ({
31
32
  "grid-template-columns": `repeat(${I}, 1fr)`
32
33
  })), E = s(
33
34
  () => o.filter(
@@ -47,7 +48,7 @@ const W = { class: "grid-list" }, H = {
47
48
  }, w = () => {
48
49
  const e = /* @__PURE__ */ new Map();
49
50
  return o.forEach(({ id: t }) => {
50
- e.set(t, { active: r.control.data?.includes(t) ?? !1 });
51
+ e.set(t, { active: c.control.data?.includes(t) ?? !1 });
51
52
  }), e;
52
53
  }, g = s(() => {
53
54
  const e = [];
@@ -56,7 +57,7 @@ const W = { class: "grid-list" }, H = {
56
57
  t && e.push(l);
57
58
  }
58
59
  ), e;
59
- }), F = s(() => r.control.data ?? []), _ = s(() => {
60
+ }), F = s(() => c.control.data ?? []), _ = s(() => {
60
61
  const e = g.value, t = F.value;
61
62
  if (e.length !== t.length)
62
63
  return !0;
@@ -64,7 +65,7 @@ const W = { class: "grid-list" }, H = {
64
65
  return e.some((v) => !l.has(v));
65
66
  });
66
67
  return f(
67
- () => r.control.data,
68
+ () => c.control.data,
68
69
  () => {
69
70
  _.value && (a.value = w());
70
71
  },
@@ -72,16 +73,16 @@ const W = { class: "grid-list" }, H = {
72
73
  ), f(
73
74
  () => a.value,
74
75
  () => {
75
- _.value && C(V, g.value);
76
+ _.value && V(b, g.value);
76
77
  },
77
78
  { deep: !0 }
78
- ), (e, t) => (c(), u("div", W, [
79
- n(o).length ? (c(), u("div", {
79
+ ), (e, t) => (r(), u("div", W, [
80
+ n(o).length ? (r(), u("div", {
80
81
  key: 0,
81
82
  class: "grid-list-container",
82
- style: D(x.value)
83
+ style: B(x.value)
83
84
  }, [
84
- (c(!0), u(G, null, T(E.value, ({ id: l, text: v }) => (c(), h(n(N), {
85
+ (r(!0), u(D, null, G(E.value, ({ id: l, text: v }) => (r(), h(n(N), {
85
86
  key: `grid-item-${l}`,
86
87
  modelValue: a.value.get(l).active,
87
88
  "onUpdate:modelValue": (L) => a.value.get(l).active = L,
@@ -91,14 +92,14 @@ const W = { class: "grid-list" }, H = {
91
92
  size: "xsmall"
92
93
  }, null, 8, ["modelValue", "onUpdate:modelValue", "label"]))), 128))
93
94
  ], 4)) : p("", !0),
94
- n(d) && i.value ? (c(), u("div", H, [
95
+ n(d) && i.value ? (r(), u("div", H, [
95
96
  $(n(z), {
96
97
  modelValue: a.value.get(i.value.id).active,
97
98
  "onUpdate:modelValue": t[0] || (t[0] = (l) => a.value.get(i.value.id).active = l),
98
99
  label: i.value.text
99
100
  }, null, 8, ["modelValue", "label"])
100
101
  ])) : p("", !0),
101
- n(m) ? (c(), h(n(O), {
102
+ n(m) ? (r(), h(n(O), {
102
103
  key: 2,
103
104
  variant: "outlined",
104
105
  size: "xsmall",
@@ -109,7 +110,7 @@ const W = { class: "grid-list" }, H = {
109
110
  }, null, 8, ["label"])) : p("", !0)
110
111
  ]));
111
112
  }
112
- }), Q = /* @__PURE__ */ R(J, [["__scopeId", "data-v-7c90b0fa"]]);
113
+ }), P = /* @__PURE__ */ R(q, [["__scopeId", "data-v-7c90b0fa"]]);
113
114
  export {
114
- Q as default
115
+ P as default
115
116
  };
@@ -1,13 +1,13 @@
1
- import { defineComponent as o, openBlock as t, createElementBlock as a, Fragment as r, renderList as c, createBlock as s, unref as u } from "vue";
2
- import { a as m, _ as i } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
1
+ import { defineComponent as o, openBlock as a, createElementBlock as t, Fragment as r, renderList as c, createBlock as s, unref as u } from "vue";
2
+ import { a as m, _ as i } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
3
3
  const d = { class: "horizontal" }, h = /* @__PURE__ */ o({
4
4
  __name: "HorizontalLayout",
5
5
  props: {
6
6
  layout: {}
7
7
  },
8
8
  setup(e) {
9
- return (y, f) => (t(), a("div", d, [
10
- (t(!0), a(r, null, c(e.layout.uischema.elements, (l, n) => (t(), s(u(m), {
9
+ return (y, f) => (a(), t("div", d, [
10
+ (a(!0), t(r, null, c(e.layout.uischema.elements, (l, n) => (a(), s(u(m), {
11
11
  key: n,
12
12
  class: "horizontal-element",
13
13
  schema: e.layout.schema,
@@ -19,7 +19,7 @@ const d = { class: "horizontal" }, h = /* @__PURE__ */ o({
19
19
  }, null, 8, ["schema", "uischema", "path", "enabled", "renderers", "cells"]))), 128))
20
20
  ]));
21
21
  }
22
- }), z = /* @__PURE__ */ i(h, [["__scopeId", "data-v-c4017079"]]);
22
+ }), p = /* @__PURE__ */ i(h, [["__scopeId", "data-v-174aebfa"]]);
23
23
  export {
24
- z as default
24
+ p as default
25
25
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as r } from "vue";
2
- import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-Dlxx71hk.js";
2
+ import { _ as p } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-bph2Cze8.js";
3
3
  const s = /* @__PURE__ */ o({
4
4
  __name: "IntegerControl",
5
5
  props: {
@@ -7,12 +7,13 @@ const s = /* @__PURE__ */ o({
7
7
  handleChange: { type: Function },
8
8
  changeValue: { type: Function },
9
9
  disabled: { type: Boolean },
10
- isValid: { type: Boolean },
10
+ error: { type: Boolean },
11
+ subText: {},
11
12
  onRegisterValidation: { type: Function },
12
13
  labelForId: {}
13
14
  },
14
- setup(p) {
15
- return (e, l) => (n(), t(a, r(e.$props, { type: "integer" }), null, 16));
15
+ setup(a) {
16
+ return (e, l) => (n(), t(p, r(e.$props, { type: "integer" }), null, 16));
16
17
  }
17
18
  });
18
19
  export {
@@ -0,0 +1,51 @@
1
+ import { defineComponent as p, computed as a, openBlock as b, createBlock as f, unref as r } from "vue";
2
+ import { u as l, a0 as g } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
3
+ import { U as h } from "./classApi-CHpAZrj3.js";
4
+ const V = /* @__PURE__ */ p({
5
+ __name: "IntervalControl",
6
+ props: {
7
+ control: {},
8
+ handleChange: { type: Function },
9
+ changeValue: { type: Function },
10
+ disabled: { type: Boolean },
11
+ error: { type: Boolean },
12
+ subText: {},
13
+ onRegisterValidation: { type: Function },
14
+ labelForId: {}
15
+ },
16
+ setup(e) {
17
+ const t = e, n = a(
18
+ () => t.control.uischema
19
+ ), u = l(
20
+ n,
21
+ "intervalType",
22
+ "DATE_OR_TIME"
23
+ ), c = a(() => u.value.toLowerCase()), i = l(n, "allowDescending", !0), d = (o) => {
24
+ if (!o)
25
+ return null;
26
+ try {
27
+ return h.Duration.from(o);
28
+ } catch {
29
+ return null;
30
+ }
31
+ }, s = a(
32
+ () => d(t.control.data)
33
+ ), m = (o) => {
34
+ t.changeValue(o?.toString() ?? "");
35
+ };
36
+ return (o, v) => (b(), f(r(g), {
37
+ id: e.labelForId,
38
+ ariaLabel: t.control.label,
39
+ "model-value": s.value,
40
+ "allow-descending": r(i),
41
+ disabled: e.disabled,
42
+ error: e.error,
43
+ format: c.value,
44
+ "sub-text": e.subText,
45
+ "onUpdate:modelValue": m
46
+ }, null, 8, ["id", "ariaLabel", "model-value", "allow-descending", "disabled", "error", "format", "sub-text"]));
47
+ }
48
+ });
49
+ export {
50
+ V as default
51
+ };
@@ -0,0 +1,35 @@
1
+ import { defineComponent as r, useCssVars as s, unref as n, openBlock as p, createElementBlock as d, createVNode as u } from "vue";
2
+ import { a1 as m, _ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
3
+ const f = { class: "link-wrapper" }, g = /* @__PURE__ */ r({
4
+ __name: "LinkControl",
5
+ props: {
6
+ control: {},
7
+ handleChange: { type: Function },
8
+ changeValue: { type: Function },
9
+ disabled: { type: Boolean },
10
+ labelForId: {},
11
+ error: { type: Boolean },
12
+ subText: {},
13
+ onRegisterValidation: { type: Function }
14
+ },
15
+ setup(o) {
16
+ s((c) => ({
17
+ bc3ff08c: n(t)
18
+ }));
19
+ const e = o, t = e.control.uischema.options?.alignment === "right" ? "flex-end" : "flex-start", { to: a, leadingIcon: l, trailingIcon: i } = e.control.uischema.options || {};
20
+ return (c, b) => (p(), d("div", f, [
21
+ u(n(m), {
22
+ class: "link-button",
23
+ label: o.control.label,
24
+ to: n(a),
25
+ "leading-icon": n(l),
26
+ "trailing-icon": n(i),
27
+ size: "small",
28
+ variant: "transparent"
29
+ }, null, 8, ["label", "to", "leading-icon", "trailing-icon"])
30
+ ]));
31
+ }
32
+ }), k = /* @__PURE__ */ _(g, [["__scopeId", "data-v-d1973605"]]);
33
+ export {
34
+ k as default
35
+ };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as v, computed as s, openBlock as V, createBlock as f, unref as y, mergeProps as g } from "vue";
2
- import { W as _ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-zrzBlOHh.js";
2
+ import { V as _ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
3
3
  const L = /* @__PURE__ */ v({
4
4
  __name: "LoadingDropdown",
5
5
  props: {
@@ -0,0 +1,74 @@
1
+ import { defineComponent as k, toRef as i, computed as d, openBlock as C, createBlock as V, unref as a, mergeProps as U } from "vue";
2
+ import { Y as I } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-DML-OwvR.js";
3
+ import { m as r } from "./index-Blg1O3Fz.js";
4
+ import { a as M, u as v } from "./usePossibleValues-CtPV4Cjp.js";
5
+ import { t as F } from "./toKdsPossibleValues-BklBg3gG.js";
6
+ import { u as L } from "./useUnknownValuesInTwinlist-BCbqJg7j.js";
7
+ const K = /* @__PURE__ */ k({
8
+ __name: "ManualTwinlistControl",
9
+ props: {
10
+ control: {},
11
+ handleChange: { type: Function },
12
+ changeValue: { type: Function },
13
+ disabled: { type: Boolean },
14
+ error: { type: Boolean },
15
+ subText: {},
16
+ onRegisterValidation: { type: Function },
17
+ labelForId: {}
18
+ },
19
+ setup(l) {
20
+ const u = l, { excludedLabel: m, includedLabel: b } = M(
21
+ i(u, "control")
22
+ ), { possibleValues: c } = v(
23
+ i(u, "control")
24
+ ), p = d(
25
+ () => F(c.value ?? [])
26
+ ), { selectedAndDeselected: o, setCurrentManualFilter: f } = L({
27
+ data: d(() => ({ manualFilter: u.control.data })),
28
+ possibleValueIds: d(
29
+ () => c.value?.map(({ id: e }) => e) ?? null
30
+ )
31
+ }), y = (e) => {
32
+ const s = r(u.control.data, e);
33
+ u.changeValue(s), f(s);
34
+ };
35
+ let n = null;
36
+ const g = () => {
37
+ if (n !== null) {
38
+ const e = n;
39
+ n = null, y(e);
40
+ }
41
+ }, t = (e) => {
42
+ n === null ? (n = e, queueMicrotask(g)) : n = r(
43
+ n,
44
+ e
45
+ );
46
+ }, x = (e) => {
47
+ t({ manuallySelected: e });
48
+ }, w = (e) => {
49
+ t({ manuallyDeselected: e });
50
+ }, h = (e) => {
51
+ e !== null && t({ includeUnknownColumns: e });
52
+ };
53
+ return (e, s) => (C(), V(a(I), U(e.$attrs, {
54
+ id: l.labelForId,
55
+ ariaLabel: l.control.label,
56
+ disabled: l.disabled,
57
+ "manually-included": a(o).selected ?? [],
58
+ "manually-excluded": a(o).deselected ?? [],
59
+ "include-unknown-values": l.control.data.includeUnknownColumns,
60
+ "possible-values": p.value,
61
+ loading: a(o).selected === null,
62
+ "exclude-label": a(m),
63
+ "include-label": a(b),
64
+ error: l.error,
65
+ "sub-text": l.subText,
66
+ "onUpdate:manuallyIncluded": x,
67
+ "onUpdate:manuallyExcluded": w,
68
+ "onUpdate:includeUnknownValues": h
69
+ }), null, 16, ["id", "ariaLabel", "disabled", "manually-included", "manually-excluded", "include-unknown-values", "possible-values", "loading", "exclude-label", "include-label", "error", "sub-text"]));
70
+ }
71
+ });
72
+ export {
73
+ K as default
74
+ };