@knime/jsonforms 1.11.3 → 1.12.0

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 (88) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/{AnyOfTwinlist-Dg0_WQhh.js → AnyOfTwinlist-Bm92BxCq.js} +1 -1
  3. package/dist/{Button-DZAqxcXf.js → Button-BU4AHIik.js} +1 -1
  4. package/dist/{CheckboxControl-DdhHmvZm.js → CheckboxControl-BfHrx05I.js} +1 -1
  5. package/dist/{Checkboxes-CyUc4Opz.js → Checkboxes-BgwoEGV-.js} +1 -1
  6. package/dist/{CheckboxesControl-Cy9SCHXZ.js → CheckboxesControl-DeDkOQTP.js} +3 -3
  7. package/dist/{ComboBoxControl-DwdCOPMU.js → ComboBoxControl-CS3HULei.js} +84 -69
  8. package/dist/{DateControl-B4go8R_d.js → DateControl-DeuREfXO.js} +1 -1
  9. package/dist/{DateTimeControl-BT3B4OMn.js → DateTimeControl-Bv15fo80.js} +2 -2
  10. package/dist/{DateTimeFormatInput-Dzkch2dR.js → DateTimeFormatInput-CTOVceJH.js} +3 -3
  11. package/dist/DateTimeFormatPickerControl-5fPMIUZs.js +43 -0
  12. package/dist/{DateTimeFormatPickerWithTypeControl-BloPpMHx.js → DateTimeFormatPickerWithTypeControl-yyIHxX6-.js} +19 -23
  13. package/dist/{DateTimeInput-DGTh9X6u.js → DateTimeInput-BPaZ_pEv.js} +6 -6
  14. package/dist/{Dropdown-D696_0LD.js → Dropdown-D6ytFIra.js} +2 -2
  15. package/dist/{DropdownControl-DkDCJijj.js → DropdownControl-Bl9djFfv.js} +2 -2
  16. package/dist/{HorizontalLayout-BOATLzn-.js → HorizontalLayout-BmgysFCG.js} +1 -1
  17. package/dist/{InputField-CMLCHXXI.js → InputField-D-drv5NW.js} +1 -1
  18. package/dist/{IntegerControl-BdHfmtGY.js → IntegerControl-CzusffS4.js} +1 -1
  19. package/dist/{IntervalControl-BFAqh3-b.js → IntervalControl-DBlPYbLt.js} +129 -130
  20. package/dist/{LoadingDropdown-BCdlu_g_.js → LoadingDropdown-xAK7TsDc.js} +3 -3
  21. package/dist/{MultiSelectListBoxControl-DHeefkK3.js → MultiSelectListBoxControl-D1TD3jNm.js} +2 -2
  22. package/dist/{MultimodeTwinlistControl-wWws1aaL.js → MultimodeTwinlistControl-BrluVu3Y.js} +5 -5
  23. package/dist/{MultiselectListBox-9gpKiiJb.js → MultiselectListBox-1nfMHeks.js} +2 -2
  24. package/dist/{NameFilter-pvpomv1k.js → NameFilter-CUdwbsjT.js} +1 -1
  25. package/dist/{NumberControl-Djc57SFM.js → NumberControl-DEGlKs0O.js} +1 -1
  26. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-D-MCddXs.js → NumberControlBase.vue_vue_type_script_setup_true_lang-C0B7QKut.js} +2 -2
  27. package/dist/{NumberInput-BnnL0v75.js → NumberInput-dE-KEe9u.js} +1 -1
  28. package/dist/{OneOfDropdown-C6OMcTFU.js → OneOfDropdown-BMcupih8.js} +1 -1
  29. package/dist/{RadioControl-CSR2OOa8.js → RadioControl-Cgm2SatI.js} +2 -2
  30. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-kk_RkwXT.js → RadioControlBase.vue_vue_type_script_setup_true_lang-n6oZHbxa.js} +3 -3
  31. package/dist/{RichTextControl-CTx6tcXL.js → RichTextControl-YEul6CJZ.js} +4 -4
  32. package/dist/{SectionHeading-YaPH-bDz.js → SectionHeading-HNpa-JMB.js} +1 -1
  33. package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-D4ZZu6Nr.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js} +696 -703
  34. package/dist/{SectionLayout-Dxjav6u3.js → SectionLayout-D-_-IdPp.js} +3 -3
  35. package/dist/{SettingsSubPanel-C4ARbONz.js → SettingsSubPanel-CNXzO0_i.js} +1 -1
  36. package/dist/{SettingsSubPanelLayout-CNWWCn1G.js → SettingsSubPanelLayout-C84okIEY.js} +4 -4
  37. package/dist/{SimpleButtonControl-DKDm52th.js → SimpleButtonControl-DbJCOykS.js} +2 -2
  38. package/dist/{SimpleTwinlistControl-gCKsK2lM.js → SimpleTwinlistControl-CAaqVRDo.js} +2 -2
  39. package/dist/SingleSelectControl-Dn5eHuj1.js +55 -0
  40. package/dist/{SingleSelectListBoxControl-Bse2GHY0.js → SingleSelectListBoxControl-DXBVcA1B.js} +3 -3
  41. package/dist/{SortListControl-B0qLRP8M.js → SortListControl-B_e_Pieg.js} +50 -46
  42. package/dist/{StyledListItem-NgWczJLZ.js → StyledListItem-CGCkC79t.js} +1 -1
  43. package/dist/{TextAreaControl-BFw3xAJb.js → TextAreaControl-DF-7_-DW.js} +1 -1
  44. package/dist/{TextControl-WZAfuhxT.js → TextControl-FEepT6DT.js} +1 -1
  45. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-xdbnKyhh.js → TextControl.vue_vue_type_script_setup_true_lang-Dd8il0B5.js} +12 -16
  46. package/dist/{TimeControl-MOFotOff.js → TimeControl-CL1jfXXP.js} +2 -2
  47. package/dist/{TwinlistControlBase-zX1xvn_g.js → TwinlistControlBase-DvXv0Vo6.js} +3 -3
  48. package/dist/{TwinlistLoadingInfo-BvAdoVEn.js → TwinlistLoadingInfo-CcOQiBV3.js} +4 -4
  49. package/dist/{TypedStringFilter-BB6sVmHy.js → TypedStringFilter-CjW7XKo7.js} +1 -1
  50. package/dist/{ValueSwitch-3S2Nu9ZS.js → ValueSwitch-B-yL0b_A.js} +1 -1
  51. package/dist/{ValueSwitchControl-6q3W82hM.js → ValueSwitchControl-DeVtjzwE.js} +1 -1
  52. package/dist/{VerticalLayout-CBBHxO8C.js → VerticalLayout-c3McC0j1.js} +2 -2
  53. package/dist/{VerticalLayoutBase-CVLn39ym.js → VerticalLayoutBase-Dgnqavoq.js} +1 -1
  54. package/dist/{ZonedDateTimeControl-CygtuGpr.js → ZonedDateTimeControl-CkODiVzJ.js} +4 -4
  55. package/dist/{_baseEach-GQVf0Ty9.js → _baseEach-B-g2g11B.js} +2 -2
  56. package/dist/{_baseIteratee-CKbeXEkv.js → _baseIteratee-CHW73TMN.js} +3 -3
  57. package/dist/{_getTag-z0emSHjD.js → _getTag-BWiFGABh.js} +1 -1
  58. package/dist/knime-jsonforms.css +1 -1
  59. package/dist/knime-jsonforms.js +32 -31
  60. package/dist/{localTimeUtils-XmPMFHzY.js → localTimeUtils-DrKyGLv2.js} +1 -1
  61. package/dist/{magic-string.es-D4RJ2EtO.js → magic-string.es-DLCZ-p-e.js} +1 -1
  62. package/dist/src/JsonFormsDialog.vue.d.ts +7 -2
  63. package/dist/src/higherOrderComponents/control/types.d.ts +4 -0
  64. package/dist/src/higherOrderComponents/control/util.d.ts +4 -0
  65. package/dist/src/index.d.ts +2 -1
  66. package/dist/src/renderers/defaultRenderers.d.ts +24 -0
  67. package/dist/src/renderers/simpleButtonRenderer.d.ts +12 -0
  68. package/dist/src/renderers/sortListRenderer.d.ts +12 -0
  69. package/dist/src/types/ChoicesUiSchema.d.ts +8 -4
  70. package/dist/src/types/provided.d.ts +10 -1
  71. package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +12 -0
  72. package/dist/src/uiComponents/SortListControl.vue.d.ts +8 -0
  73. package/dist/src/uiComponents/composables/useBuiltinValidations.d.ts +3 -6
  74. package/dist/src/uiComponents/composables/useHideOnNull.d.ts +1 -1
  75. package/dist/src/uiComponents/composables/usePossibleValues.d.ts +2 -2
  76. package/dist/src/uiComponents/composables/useProvidedState.d.ts +17 -2
  77. package/dist/src/uiComponents/index.d.ts +2 -1
  78. package/dist/{svgWithTitle-DYafO7J6.js → svgWithTitle-C1XM8U1L.js} +1 -1
  79. package/dist/testUtils/component.d.ts +16 -0
  80. package/dist/testing.js +3 -3
  81. package/dist/{toString-DT2hRu3R.js → toString-DfO6VEzj.js} +1 -1
  82. package/dist/useBuiltinValidations-bc9asSxB.js +73 -0
  83. package/dist/usePossibleValues-NHPCKPdi.js +17 -0
  84. package/package.json +3 -3
  85. package/dist/DateTimeFormatPickerControl-CxtgFeZE.js +0 -47
  86. package/dist/SingleSelectControl-uzuCbiQm.js +0 -58
  87. package/dist/useBuiltinValidations-CITMY3lR.js +0 -52
  88. package/dist/usePossibleValues-1QcBlmBr.js +0 -26
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # @knime/json-forms
2
2
 
3
+ ## 1.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 64c9333: Adapt state provider logic to backend and change structure of validations
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [64c9333]
12
+ - @knime/components@1.28.5
13
+ - @knime/rich-text-editor@1.4.15
14
+
15
+ ## 1.11.4
16
+
17
+ ### Patch Changes
18
+
19
+ - 04ed897: Add disabled state for ComboBox and MultiSelect
20
+ - Updated dependencies [04ed897]
21
+ - @knime/components@1.28.4
22
+ - @knime/rich-text-editor@1.4.14
23
+
3
24
  ## 1.11.3
4
25
 
5
26
  ### Patch Changes
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as s, openBlock as t, createBlock as p, mergeProps as a, unref as l } from "vue";
2
2
  import { o as r } from "./index-Blg1O3Fz.js";
3
- import { T as i } from "./TwinlistControlBase-zX1xvn_g.js";
3
+ import { T as i } from "./TwinlistControlBase-DvXv0Vo6.js";
4
4
  const y = /* @__PURE__ */ s({
5
5
  __name: "AnyOfTwinlist",
6
6
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, resolveComponent as a, openBlock as s, createBlock as n, normalizeClass as r, withCtx as l, renderSlot as d } from "vue";
2
- import { B as i, _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-D4ZZu6Nr.js";
2
+ import { B as i, _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
3
3
  const c = o({
4
4
  name: "Button",
5
5
  components: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as a, ref as s, openBlock as r, createElementBlock as d, createVNode as u, unref as i, withCtx as p, createTextVNode as c, toDisplayString as f, renderSlot as t } from "vue";
2
- import { C as m, _ as v } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-D4ZZu6Nr.js";
2
+ import { C as m, _ as v } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
3
3
  const b = /* @__PURE__ */ a({
4
4
  __name: "CheckboxControl",
5
5
  props: {
@@ -1,4 +1,4 @@
1
- import { _ as c, C as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-D4ZZu6Nr.js";
1
+ import { _ as c, C as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
2
2
  import { resolveComponent as f, openBlock as o, createElementBlock as s, normalizeClass as h, Fragment as m, renderList as p, createBlock as x, withCtx as b, createTextVNode as V, toDisplayString as y } from "vue";
3
3
  const _ = {
4
4
  name: "Checkboxes",
@@ -1,8 +1,8 @@
1
1
  import { defineComponent as c, computed as n, ref as r, toRef as u, onMounted as p, openBlock as d, createBlock as m, unref as b, createCommentVNode as f } from "vue";
2
2
  import { o as h } from "./index-Blg1O3Fz.js";
3
- import { u as v } from "./usePossibleValues-1QcBlmBr.js";
4
- import { C as V } from "./Checkboxes-CyUc4Opz.js";
5
- import { _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-D4ZZu6Nr.js";
3
+ import { u as v } from "./usePossibleValues-NHPCKPdi.js";
4
+ import { C as V } from "./Checkboxes-BgwoEGV-.js";
5
+ import { _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
6
6
  const C = /* @__PURE__ */ c({
7
7
  __name: "CheckboxesControl",
8
8
  props: {
@@ -1,7 +1,7 @@
1
- import { resolveComponent as h, openBlock as d, createElementBlock as f, normalizeClass as w, withKeys as r, withModifiers as a, renderSlot as E, createElementVNode as m, toDisplayString as v, createVNode as c, withDirectives as I, normalizeStyle as N, Fragment as A, renderList as k, createBlock as S, withCtx as O, createTextVNode as T, vShow as D, defineComponent as P, vModelText as $, toRef as R, computed as B, unref as F } from "vue";
2
- import { u as z } from "./usePossibleValues-1QcBlmBr.js";
1
+ import { resolveComponent as h, openBlock as d, createElementBlock as f, normalizeClass as w, withKeys as r, withModifiers as a, renderSlot as E, createElementVNode as m, toDisplayString as v, createVNode as c, withDirectives as I, normalizeStyle as N, Fragment as A, renderList as k, createBlock as S, withCtx as O, createTextVNode as R, vShow as D, defineComponent as P, vModelText as $, toRef as x, computed as B, unref as F } from "vue";
2
+ import { u as z } from "./usePossibleValues-NHPCKPdi.js";
3
3
  import { C as U } from "./close-BuY4mhXV.js";
4
- import { _ as C, C as L, q as H } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-D4ZZu6Nr.js";
4
+ import { _ as C, C as L, q as H } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
5
5
  /* empty css */
6
6
  import { u as K } from "./index-Bf0xDq3g.js";
7
7
  import { A as j } from "./arrow-dropdown-DdgjzLAO.js";
@@ -118,6 +118,10 @@ const y = 1, q = 28.5, G = 8, X = {
118
118
  compact: {
119
119
  type: Boolean,
120
120
  default: !1
121
+ },
122
+ disabled: {
123
+ type: Boolean,
124
+ default: !1
121
125
  }
122
126
  },
123
127
  emits: ["update:modelValue", "focusOutside"],
@@ -170,7 +174,7 @@ const y = 1, q = 28.5, G = 8, X = {
170
174
  return this.focusOptions[this.focusOptions.indexOf(this.activeElement) + e] || (e < 0 ? this.focusOptions[this.focusOptions.length - 1] : this.focusOptions[0]);
171
175
  },
172
176
  onUpdateModelValue(e, t) {
173
- t ? this.modelValue.indexOf(e) === -1 && this.emitNewSelection([...this.modelValue, e]) : this.emitNewSelection(this.modelValue.filter((i) => i !== e)), this.closeDropdownOnSelection && this.closeOptions();
177
+ t ? this.modelValue.indexOf(e) === -1 && this.emitNewSelection([...this.modelValue, e]) : this.emitNewSelection(this.modelValue.filter((o) => o !== e)), this.closeDropdownOnSelection && this.closeOptions();
174
178
  },
175
179
  toggle() {
176
180
  this.collapsed = !this.collapsed, setTimeout(() => {
@@ -204,7 +208,7 @@ const y = 1, q = 28.5, G = 8, X = {
204
208
  },
205
209
  /* Handle arrow key "up" events. */
206
210
  onUp() {
207
- document.activeElement !== this.$refs.toggle && this.getNextElement(-1).focus();
211
+ this.activeElement !== this.$refs.toggle && this.getNextElement(-1).focus();
208
212
  },
209
213
  /* Handle arrow key "down" events. */
210
214
  onDown() {
@@ -216,7 +220,7 @@ const y = 1, q = 28.5, G = 8, X = {
216
220
  */
217
221
  onFocusOut() {
218
222
  setTimeout(() => {
219
- this.focusElements.includes(document.activeElement) || (this.closeOptions(!1), this.useCustomListBox && this.$emit("focusOutside"));
223
+ this.focusElements.includes(this.activeElement) || (this.closeOptions(!1), this.useCustomListBox && this.$emit("focusOutside"));
220
224
  }, y);
221
225
  },
222
226
  /*
@@ -237,47 +241,50 @@ const y = 1, q = 28.5, G = 8, X = {
237
241
  ).map((e) => e.$el && e.$el.firstChild));
238
242
  }
239
243
  }
240
- }, J = { key: 1 };
241
- function Q(e, t, i, n, V, s) {
244
+ }, J = { key: 1 }, Q = ["tabindex"];
245
+ function Y(e, t, o, n, b, s) {
242
246
  const p = h("DropdownIcon"), u = h("Checkbox");
243
247
  return d(), f("div", {
244
248
  ref: "multiselect",
245
- class: w(["multiselect", { collapsed: V.collapsed, invalid: !i.isValid, compact: i.compact }]),
249
+ class: w([
250
+ "multiselect",
251
+ { collapsed: b.collapsed, invalid: !o.isValid, compact: o.compact, disabled: o.disabled }
252
+ ]),
246
253
  onKeydown: [
247
- t[2] || (t[2] = r((...o) => s.closeOptionsAndStop && s.closeOptionsAndStop(...o), ["esc"])),
248
- t[3] || (t[3] = r(a((...o) => s.onUp && s.onUp(...o), ["stop", "prevent"]), ["up"])),
249
- t[4] || (t[4] = r(a((...o) => s.onDown && s.onDown(...o), ["stop", "prevent"]), ["down"]))
254
+ t[2] || (t[2] = r((...l) => s.closeOptionsAndStop && s.closeOptionsAndStop(...l), ["esc"])),
255
+ t[3] || (t[3] = r(a((...l) => s.onUp && s.onUp(...l), ["stop", "prevent"]), ["up"])),
256
+ t[4] || (t[4] = r(a((...l) => s.onDown && s.onDown(...l), ["stop", "prevent"]), ["down"]))
250
257
  ],
251
- onFocusout: t[5] || (t[5] = a((...o) => s.onFocusOut && s.onFocusOut(...o), ["stop"])),
252
- onMousedown: t[6] || (t[6] = (...o) => s.onMousedown && s.onMousedown(...o))
258
+ onFocusout: t[5] || (t[5] = a((...l) => s.onFocusOut && s.onFocusOut(...l), ["stop"])),
259
+ onMousedown: t[6] || (t[6] = (...l) => s.onMousedown && s.onMousedown(...l))
253
260
  }, [
254
- i.useCustomListBox ? E(e.$slots, "listBox", { key: 0 }, void 0, !0) : (d(), f("div", J, [
261
+ o.useCustomListBox ? E(e.$slots, "listBox", { key: 0 }, void 0, !0) : (d(), f("div", J, [
255
262
  m("div", {
256
263
  ref: "toggle",
257
264
  role: "button",
258
- tabindex: "0",
259
- class: w({ placeholder: !i.modelValue.length }),
260
- onClick: t[0] || (t[0] = (...o) => s.toggle && s.toggle(...o)),
261
- onKeydown: t[1] || (t[1] = r(a((...o) => s.toggle && s.toggle(...o), ["prevent"]), ["space"]))
262
- }, v(s.summary), 35),
265
+ tabindex: o.disabled ? -1 : 0,
266
+ class: w({ placeholder: !o.modelValue.length }),
267
+ onClick: t[0] || (t[0] = (...l) => s.toggle && s.toggle(...l)),
268
+ onKeydown: t[1] || (t[1] = r(a((...l) => s.toggle && s.toggle(...l), ["prevent"]), ["space"]))
269
+ }, v(s.summary), 43, Q),
263
270
  c(p, { class: "icon" })
264
271
  ])),
265
272
  I(m("div", {
266
273
  class: "options",
267
274
  style: N(s.optionsHeight)
268
275
  }, [
269
- (d(!0), f(A, null, k(i.possibleValues, (o, l) => (d(), S(u, {
276
+ (d(!0), f(A, null, k(o.possibleValues, (l, i) => (d(), S(u, {
270
277
  ref_for: !0,
271
278
  ref: "option",
272
- key: `multiselect-${o.id}`,
273
- "data-index": l,
274
- "model-value": s.isChecked(o.id),
275
- disabled: o.disabled,
279
+ key: `multiselect-${l.id}`,
280
+ "data-index": i,
281
+ "model-value": s.isChecked(l.id),
282
+ disabled: l.disabled,
276
283
  class: "boxes",
277
- "onUpdate:modelValue": (b) => s.onUpdateModelValue(o.id, b)
284
+ "onUpdate:modelValue": (V) => s.onUpdateModelValue(l.id, V)
278
285
  }, {
279
286
  default: O(() => [
280
- T(v(o.text), 1)
287
+ R(v(l.text), 1)
281
288
  ]),
282
289
  _: 2
283
290
  }, 1032, ["data-index", "model-value", "disabled", "onUpdate:modelValue"]))), 128)),
@@ -287,10 +294,10 @@ function Q(e, t, i, n, V, s) {
287
294
  ])
288
295
  ], 34);
289
296
  }
290
- const Y = /* @__PURE__ */ C(X, [["render", Q], ["__scopeId", "data-v-e722538a"]]), g = "draft-id-combobox-preview-item", Z = P({
297
+ const Z = /* @__PURE__ */ C(X, [["render", Y], ["__scopeId", "data-v-9da35036"]]), g = "draft-id-combobox-preview-item", _ = P({
291
298
  name: "ComboBox",
292
299
  components: {
293
- Multiselect: Y,
300
+ Multiselect: Z,
294
301
  FunctionButton: H,
295
302
  CloseIcon: U
296
303
  },
@@ -350,6 +357,10 @@ const Y = /* @__PURE__ */ C(X, [["render", Q], ["__scopeId", "data-v-e722538a"]]
350
357
  maxCharactersPerItem: {
351
358
  type: Number,
352
359
  default: null
360
+ },
361
+ disabled: {
362
+ type: Boolean,
363
+ default: !1
353
364
  }
354
365
  },
355
366
  emits: {
@@ -381,9 +392,9 @@ const Y = /* @__PURE__ */ C(X, [["render", Q], ["__scopeId", "data-v-e722538a"]]
381
392
  },
382
393
  searchResults() {
383
394
  const e = this.allPossibleItems.some(
384
- ({ id: i, text: n }) => i === this.trimmedSearchValue || n === this.trimmedSearchValue
395
+ ({ id: o, text: n }) => o === this.trimmedSearchValue || n === this.trimmedSearchValue
385
396
  ), t = this.allPossibleItems.filter(
386
- ({ id: i, text: n }) => n.toLowerCase().includes(this.trimmedLowerCasedSearchValue) || i === this.trimmedSearchValue
397
+ ({ id: o, text: n }) => n.toLowerCase().includes(this.trimmedLowerCasedSearchValue) || o === this.trimmedSearchValue
387
398
  );
388
399
  return this.allowNewValues && !e && !this.isSearchEmpty ? [
389
400
  { id: g, text: `${this.trimmedSearchValue} (new item)` },
@@ -444,12 +455,12 @@ const Y = /* @__PURE__ */ C(X, [["render", Q], ["__scopeId", "data-v-e722538a"]]
444
455
  this.emitNewSelection(e);
445
456
  return;
446
457
  }
447
- const i = {
458
+ const o = {
448
459
  id: this.trimmedSearchValue,
449
460
  text: this.trimmedSearchValue
450
461
  };
451
- this.allPossibleItems.push(i), this.emitNewSelection(
452
- e.map((n) => n === g ? i.id : n)
462
+ this.allPossibleItems.push(o), this.emitNewSelection(
463
+ e.map((n) => n === g ? o.id : n)
453
464
  );
454
465
  },
455
466
  removeTag(e) {
@@ -474,10 +485,10 @@ const Y = /* @__PURE__ */ C(X, [["render", Q], ["__scopeId", "data-v-e722538a"]]
474
485
  };
475
486
  }
476
487
  }
477
- }), _ = ["title"], ee = ["maxlength"], te = { class: "icon-right" };
478
- function se(e, t, i, n, V, s) {
479
- const p = h("CloseIcon"), u = h("FunctionButton"), o = h("Multiselect");
480
- return d(), S(o, {
488
+ }), ee = ["tabindex"], te = ["title"], se = ["maxlength", "disabled"], oe = { class: "icon-right" };
489
+ function le(e, t, o, n, b, s) {
490
+ const p = h("CloseIcon"), u = h("FunctionButton"), l = h("Multiselect");
491
+ return d(), S(l, {
481
492
  ref: "combobox",
482
493
  "model-value": e.modelValue,
483
494
  "possible-values": e.searchResults,
@@ -488,6 +499,7 @@ function se(e, t, i, n, V, s) {
488
499
  "close-dropdown-on-selection": e.closeDropdownOnSelection,
489
500
  "is-valid": e.isValid,
490
501
  compact: e.compact,
502
+ disabled: e.disabled,
491
503
  onFocusOutside: e.onFocusOutside,
492
504
  "onUpdate:modelValue": e.updateSelectedIds
493
505
  }, {
@@ -495,75 +507,78 @@ function se(e, t, i, n, V, s) {
495
507
  m("div", {
496
508
  ref: "listBox",
497
509
  class: "summary-input-icon-wrapper",
498
- tabindex: "0",
499
- onKeydown: t[8] || (t[8] = r(a((...l) => e.focusInput && e.focusInput(...l), ["prevent", "self"]), ["enter"]))
510
+ tabindex: e.disabled ? -1 : 0,
511
+ onKeydown: t[8] || (t[8] = r(a((...i) => e.focusInput && e.focusInput(...i), ["prevent", "self"]), ["enter"]))
500
512
  }, [
501
513
  m("div", {
502
514
  class: w([
503
515
  "summary-input-wrapper",
504
516
  { "with-icon-right": e.hasSelection, compact: e.compact }
505
517
  ]),
506
- onClick: t[7] || (t[7] = a((...l) => e.focusInput && e.focusInput(...l), ["stop"]))
518
+ onClick: t[7] || (t[7] = a((...i) => e.focusInput && e.focusInput(...i), ["stop"]))
507
519
  }, [
508
- (d(!0), f(A, null, k(e.selectedValues, ({ id: l, text: b, invalid: M }, x) => (d(), f("div", {
509
- key: `item.id${x}`,
520
+ (d(!0), f(A, null, k(e.selectedValues, ({ id: i, text: V, invalid: M }, T) => (d(), f("div", {
521
+ key: `item.id${T}`,
510
522
  class: "tag",
511
- title: b
523
+ title: V
512
524
  }, [
513
525
  m("span", {
514
526
  class: w(["text", { invalid: M }])
515
- }, v(b), 3),
527
+ }, v(V), 3),
516
528
  c(u, {
517
529
  class: "remove-tag-button",
518
530
  compact: e.compact,
519
- onClick: a((ie) => e.removeTag(l), ["stop"])
531
+ disabled: e.disabled,
532
+ onClick: a((ae) => e.removeTag(i), ["stop"])
520
533
  }, {
521
534
  default: O(() => [
522
535
  c(p, { class: "remove-tag-button-icon" })
523
536
  ]),
524
537
  _: 2
525
- }, 1032, ["compact", "onClick"])
526
- ], 8, _))), 128)),
538
+ }, 1032, ["compact", "disabled", "onClick"])
539
+ ], 8, te))), 128)),
527
540
  I(m("input", {
528
541
  ref: "searchInput",
529
- "onUpdate:modelValue": t[0] || (t[0] = (l) => e.searchValue = l),
542
+ "onUpdate:modelValue": t[0] || (t[0] = (i) => e.searchValue = i),
530
543
  class: "search-input",
531
544
  type: "text",
532
545
  style: N(e.inputWidth),
533
546
  maxlength: e.maxCharactersPerItem,
534
- onFocus: t[1] || (t[1] = (...l) => e.onInputFocus && e.onInputFocus(...l)),
535
- onInput: t[2] || (t[2] = (...l) => e.onInput && e.onInput(...l)),
547
+ disabled: e.disabled,
548
+ onFocus: t[1] || (t[1] = (...i) => e.onInputFocus && e.onInputFocus(...i)),
549
+ onInput: t[2] || (t[2] = (...i) => e.onInput && e.onInput(...i)),
536
550
  onKeydown: [
537
- t[3] || (t[3] = r(a((...l) => e.onEnter && e.onEnter(...l), ["prevent"]), ["enter"])),
538
- t[4] || (t[4] = r((...l) => e.onBackspace && e.onBackspace(...l), ["backspace"])),
539
- t[5] || (t[5] = r(a((...l) => e.onDown && e.onDown(...l), ["stop", "prevent"]), ["down"])),
540
- t[6] || (t[6] = r((...l) => e.closeOptionsAndStop && e.closeOptionsAndStop(...l), ["esc"]))
551
+ t[3] || (t[3] = r(a((...i) => e.onEnter && e.onEnter(...i), ["prevent"]), ["enter"])),
552
+ t[4] || (t[4] = r((...i) => e.onBackspace && e.onBackspace(...i), ["backspace"])),
553
+ t[5] || (t[5] = r(a((...i) => e.onDown && e.onDown(...i), ["stop", "prevent"]), ["down"])),
554
+ t[6] || (t[6] = r((...i) => e.closeOptionsAndStop && e.closeOptionsAndStop(...i), ["esc"]))
541
555
  ]
542
- }, null, 44, ee), [
556
+ }, null, 44, se), [
543
557
  [$, e.searchValue]
544
558
  ])
545
559
  ], 2),
546
- I(m("div", te, [
560
+ I(m("div", oe, [
547
561
  c(u, {
548
562
  ref: "removeAllTags",
549
563
  class: "remove-all-tags-button",
550
564
  compact: e.compact,
565
+ disabled: e.disabled,
551
566
  onClick: a(e.removeAllTags, ["stop"])
552
567
  }, {
553
568
  default: O(() => [
554
569
  c(p)
555
570
  ]),
556
571
  _: 1
557
- }, 8, ["compact", "onClick"])
572
+ }, 8, ["compact", "disabled", "onClick"])
558
573
  ], 512), [
559
574
  [D, e.hasSelection]
560
575
  ])
561
- ], 544)
576
+ ], 40, ee)
562
577
  ]),
563
578
  _: 1
564
- }, 8, ["model-value", "possible-values", "size-visible-options", "parent-focus-element", "parent-refocus-element-on-close", "close-dropdown-on-selection", "is-valid", "compact", "onFocusOutside", "onUpdate:modelValue"]);
579
+ }, 8, ["model-value", "possible-values", "size-visible-options", "parent-focus-element", "parent-refocus-element-on-close", "close-dropdown-on-selection", "is-valid", "compact", "disabled", "onFocusOutside", "onUpdate:modelValue"]);
565
580
  }
566
- const oe = /* @__PURE__ */ C(Z, [["render", se], ["__scopeId", "data-v-0451a29a"]]), le = /* @__PURE__ */ P({
581
+ const ie = /* @__PURE__ */ C(_, [["render", le], ["__scopeId", "data-v-71030406"]]), ne = /* @__PURE__ */ P({
567
582
  __name: "ComboBoxControl",
568
583
  props: {
569
584
  control: {},
@@ -575,24 +590,24 @@ const oe = /* @__PURE__ */ C(Z, [["render", se], ["__scopeId", "data-v-0451a29a"
575
590
  labelForId: {}
576
591
  },
577
592
  setup(e) {
578
- const t = e, { possibleValues: i } = z(R(t, "control")), n = B(
579
- () => i.value === null || i.value.length === 0
580
- ), V = B(
593
+ const t = e, { possibleValues: o } = z(x(t, "control")), n = B(
594
+ () => o.value === null || o.value.length === 0
595
+ ), b = B(
581
596
  () => t.disabled || n.value
582
597
  );
583
- return (s, p) => (d(), S(F(oe), {
598
+ return (s, p) => (d(), S(F(ie), {
584
599
  id: s.labelForId,
585
600
  "allow-new-values": n.value ? "" : !1,
586
601
  "aria-label": s.control.label,
587
- disabled: V.value,
588
- "possible-values": n.value ? s.control.data.map((u) => ({ id: u, text: u })) : F(i),
602
+ disabled: b.value,
603
+ "possible-values": n.value ? s.control.data.map((u) => ({ id: u, text: u })) : F(o),
589
604
  "model-value": s.control.data,
590
605
  "is-valid": s.isValid,
591
606
  compact: "",
592
607
  "onUpdate:modelValue": p[0] || (p[0] = (u) => s.changeValue(u))
593
608
  }, null, 8, ["id", "allow-new-values", "aria-label", "disabled", "possible-values", "model-value", "is-valid"]));
594
609
  }
595
- }), he = /* @__PURE__ */ C(le, [["__scopeId", "data-v-7d8de6e7"]]);
610
+ }), be = /* @__PURE__ */ C(ne, [["__scopeId", "data-v-7d8de6e7"]]);
596
611
  export {
597
- he as default
612
+ be as default
598
613
  };
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as o, openBlock as a, createBlock as l, unref as n } from "vue";
2
- import { D as t } from "./DateTimeInput-DGTh9X6u.js";
2
+ import { D as t } from "./DateTimeInput-BPaZ_pEv.js";
3
3
  const u = /* @__PURE__ */ o({
4
4
  __name: "DateControl",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as h, computed as a, openBlock as f, createBlock as w, unref as V } from "vue";
2
- import { D as T } from "./DateTimeInput-DGTh9X6u.js";
3
- import { t as i, f as b } from "./localTimeUtils-XmPMFHzY.js";
2
+ import { D as T } from "./DateTimeInput-BPaZ_pEv.js";
3
+ import { t as i, f as b } from "./localTimeUtils-DrKyGLv2.js";
4
4
  const y = /* @__PURE__ */ h({
5
5
  __name: "DateTimeControl",
6
6
  props: {
@@ -2,9 +2,9 @@ import { openBlock as p, createElementBlock as y, createElementVNode as v, defin
2
2
  import { o as se } from "./index-Bf0xDq3g.js";
3
3
  import { u as ne, o as ie, s as re, f as de, a as ce } from "./floating-ui.vue-B-MrqKCT.js";
4
4
  import { u as me, F as ue } from "./useDropdownNavigation-7o7SRJSo.js";
5
- import { L as pe } from "./svgWithTitle-DYafO7J6.js";
6
- import { V as $ } from "./ValueSwitch-3S2Nu9ZS.js";
7
- import { _ as L } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-D4ZZu6Nr.js";
5
+ import { L as pe } from "./svgWithTitle-C1XM8U1L.js";
6
+ import { V as $ } from "./ValueSwitch-B-yL0b_A.js";
7
+ import { _ as L } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
8
8
  const ve = {
9
9
  xmlns: "http://www.w3.org/2000/svg",
10
10
  fill: "none",
@@ -0,0 +1,43 @@
1
+ import { defineComponent as p, computed as o, openBlock as c, createBlock as f, unref as r } from "vue";
2
+ import { u as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
3
+ import { D as v } from "./DateTimeFormatInput-CTOVceJH.js";
4
+ const b = /* @__PURE__ */ p({
5
+ __name: "DateTimeFormatPickerControl",
6
+ props: {
7
+ control: {},
8
+ handleChange: { type: Function },
9
+ changeValue: { type: Function },
10
+ disabled: { type: Boolean },
11
+ isValid: { type: Boolean },
12
+ onRegisterValidation: { type: Function },
13
+ labelForId: {}
14
+ },
15
+ setup(s) {
16
+ const a = s, t = o(
17
+ () => a.control.uischema
18
+ ), d = o(() => t.value.options), m = o(() => {
19
+ var e;
20
+ return (e = d.value) == null ? void 0 : e.allowedFormats;
21
+ }), i = F(t, "dateTimeFormats"), l = o({
22
+ get: () => ({
23
+ format: a.control.data,
24
+ temporalType: "DATE"
25
+ }),
26
+ set: (e) => a.changeValue(e.format)
27
+ });
28
+ return (e, n) => (c(), f(r(v), {
29
+ id: e.labelForId,
30
+ modelValue: l.value,
31
+ "onUpdate:modelValue": n[0] || (n[0] = (u) => l.value = u),
32
+ compact: "",
33
+ disabled: e.disabled,
34
+ "show-type-switch-in-popover": !0,
35
+ "allowed-formats": m.value,
36
+ "all-default-formats": r(i),
37
+ "is-valid": !0
38
+ }, null, 8, ["id", "modelValue", "disabled", "allowed-formats", "all-default-formats"]));
39
+ }
40
+ });
41
+ export {
42
+ b as default
43
+ };
@@ -1,8 +1,8 @@
1
- import { defineComponent as f, computed as t, openBlock as v, createElementBlock as T, createVNode as r, unref as d } from "vue";
2
- import { u as V, _ as b } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-D4ZZu6Nr.js";
3
- import { V as y } from "./ValueSwitch-3S2Nu9ZS.js";
4
- import { D as F } from "./DateTimeFormatInput-Dzkch2dR.js";
5
- const h = ["id"], D = /* @__PURE__ */ f({
1
+ import { defineComponent as v, computed as t, openBlock as T, createElementBlock as V, createVNode as r, unref as d } from "vue";
2
+ import { u as F, _ as b } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
3
+ import { V as h } from "./ValueSwitch-B-yL0b_A.js";
4
+ import { D as y } from "./DateTimeFormatInput-CTOVceJH.js";
5
+ const D = ["id"], _ = /* @__PURE__ */ v({
6
6
  __name: "DateTimeFormatPickerWithTypeControl",
7
7
  props: {
8
8
  control: {},
@@ -14,16 +14,12 @@ const h = ["id"], D = /* @__PURE__ */ f({
14
14
  labelForId: {}
15
15
  },
16
16
  setup(m) {
17
- const l = m, i = t(() => l.control.uischema.options), u = t(() => {
17
+ const l = m, i = t(
18
+ () => l.control.uischema
19
+ ), u = t(() => i.value.options), p = t(() => {
18
20
  var e;
19
- return (e = i.value) == null ? void 0 : e.allowedFormats;
20
- }), p = V(
21
- t(() => {
22
- var e;
23
- return (e = i.value) == null ? void 0 : e.formatProvider;
24
- }),
25
- null
26
- ), c = [
21
+ return (e = u.value) == null ? void 0 : e.allowedFormats;
22
+ }), c = F(i, "dateTimeFormats"), f = [
27
23
  {
28
24
  id: "DATE",
29
25
  text: "Date"
@@ -54,30 +50,30 @@ const h = ["id"], D = /* @__PURE__ */ f({
54
50
  };
55
51
  }
56
52
  });
57
- return (e, a) => (v(), T("div", {
53
+ return (e, a) => (T(), V("div", {
58
54
  id: e.labelForId,
59
55
  class: "control-container"
60
56
  }, [
61
- r(d(y), {
57
+ r(d(h), {
62
58
  modelValue: n.value,
63
59
  "onUpdate:modelValue": a[0] || (a[0] = (s) => n.value = s),
64
60
  compact: "",
65
- "possible-values": c,
61
+ "possible-values": f,
66
62
  disabled: e.disabled
67
63
  }, null, 8, ["modelValue", "disabled"]),
68
- r(d(F), {
64
+ r(d(y), {
69
65
  modelValue: o.value,
70
66
  "onUpdate:modelValue": a[1] || (a[1] = (s) => o.value = s),
71
67
  compact: "",
72
68
  disabled: e.disabled,
73
69
  "show-type-switch-in-popover": !1,
74
- "allowed-formats": u.value,
75
- "all-default-formats": d(p),
70
+ "allowed-formats": p.value,
71
+ "all-default-formats": d(c),
76
72
  "is-valid": !0
77
73
  }, null, 8, ["modelValue", "disabled", "allowed-formats", "all-default-formats"])
78
- ], 8, h));
74
+ ], 8, D));
79
75
  }
80
- }), g = /* @__PURE__ */ b(D, [["__scopeId", "data-v-1e917bc2"]]);
76
+ }), B = /* @__PURE__ */ b(_, [["__scopeId", "data-v-8517cafd"]]);
81
77
  export {
82
- g as default
78
+ B as default
83
79
  };
@@ -1,13 +1,13 @@
1
1
  import { resolveComponent as je, openBlock as C, createElementBlock as E, normalizeClass as te, createElementVNode as j, createCommentVNode as ee, withModifiers as Nt, createVNode as z, reactive as Ia, computed as _, defineComponent as Oe, ref as we, watch as Ae, onMounted as rn, onUnmounted as Sa, toRefs as Iu, inject as wr, watchEffect as Ls, provide as br, nextTick as dr, unref as M, createBlock as Pe, resolveDynamicComponent as Ea, normalizeProps as hr, mergeProps as Mt, renderSlot as Dr, withCtx as Te, toDisplayString as Le, Fragment as Ce, renderList as Ge, normalizeStyle as mr, withKeys as Lr, withDirectives as Hs, toRef as Nr, guardReactiveProps as Un, createTextVNode as Na, isRef as ir, Transition as Rs, resolveDirective as Su, toHandlers as js } from "vue";
2
2
  import { c as Eu } from "./popper-CRR--9mA.js";
3
- import { _ as Vs, J as nn, K as Nu } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-D4ZZu6Nr.js";
4
- import { D as Au } from "./Dropdown-D696_0LD.js";
3
+ import { _ as Vs, J as nn, K as Nu } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
4
+ import { D as Au } from "./Dropdown-D6ytFIra.js";
5
5
  import { A as Wu } from "./arrow-dropdown-DdgjzLAO.js";
6
6
  /* empty css */
7
- import { a as Uu } from "./toString-DT2hRu3R.js";
8
- import { b as Fu } from "./_baseIteratee-CKbeXEkv.js";
9
- import { b as Lu } from "./_baseEach-GQVf0Ty9.js";
10
- import { c as Hu } from "./_getTag-z0emSHjD.js";
7
+ import { a as Uu } from "./toString-DfO6VEzj.js";
8
+ import { b as Fu } from "./_baseIteratee-CHW73TMN.js";
9
+ import { b as Lu } from "./_baseEach-B-g2g11B.js";
10
+ import { c as Hu } from "./_getTag-BWiFGABh.js";
11
11
  import { i as Ru } from "./isArray-WzO_os3q.js";
12
12
  function it(e) {
13
13
  "@babel/helpers - typeof";
@@ -4,8 +4,8 @@ import { A as ie } from "./arrow-dropdown-DdgjzLAO.js";
4
4
  import { C as oe } from "./close-BuY4mhXV.js";
5
5
  /* empty css */
6
6
  import { u as re } from "./useSearch-hpyYQ_6y.js";
7
- import { q as le, _ as ae } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-D4ZZu6Nr.js";
8
- import { c as de, a as ue, b as ce, i as he, e as pe, h as fe, d as me } from "./_getTag-z0emSHjD.js";
7
+ import { q as le, _ as ae } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
8
+ import { c as de, a as ue, b as ce, i as he, e as pe, h as fe, d as me } from "./_getTag-BWiFGABh.js";
9
9
  import { i as ge } from "./isArray-WzO_os3q.js";
10
10
  import { i as ye } from "./hotkeys-kwHHtFKz.js";
11
11
  var xe = "[object Map]", Ve = "[object Set]", we = Object.prototype, ve = we.hasOwnProperty;
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as n, toRef as i, openBlock as s, createBlock as d, unref as t } from "vue";
2
- import { u as r } from "./usePossibleValues-1QcBlmBr.js";
3
- import { L as p } from "./LoadingDropdown-BCdlu_g_.js";
2
+ import { u as r } from "./usePossibleValues-NHPCKPdi.js";
3
+ import { L as p } from "./LoadingDropdown-xAK7TsDc.js";
4
4
  const V = /* @__PURE__ */ n({
5
5
  __name: "DropdownControl",
6
6
  props: {
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as l, openBlock as a, createElementBlock as o, Fragment as s, renderList as n, createBlock as u, unref as c } from "vue";
2
- import { r as m, _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-D4ZZu6Nr.js";
2
+ import { r as m, _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
3
3
  const i = { class: "horizontal" }, d = /* @__PURE__ */ l({
4
4
  __name: "HorizontalLayout",
5
5
  props: {
@@ -1,6 +1,6 @@
1
1
  /* empty css */
2
2
  import { openBlock as i, createElementBlock as s, normalizeClass as r, renderSlot as u, createCommentVNode as o, createElementVNode as d, mergeProps as f } from "vue";
3
- import { _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-D4ZZu6Nr.js";
3
+ import { _ as p } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-DHWwwUrR.js";
4
4
  const c = {
5
5
  name: "InputField",
6
6
  props: {
@@ -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-D-MCddXs.js";
2
+ import { _ as a } from "./NumberControlBase.vue_vue_type_script_setup_true_lang-C0B7QKut.js";
3
3
  const s = /* @__PURE__ */ o({
4
4
  __name: "IntegerControl",
5
5
  props: {