@knime/jsonforms 1.21.0 → 1.21.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 (97) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/AnyOfTwinlist-UXM-U6hT.js +22 -0
  3. package/dist/{Checkbox-uBRF2ZKG.js → Checkbox-DiIYr1i-.js} +1 -1
  4. package/dist/{CheckboxControl-B9Sd2LLd.js → CheckboxControl-QBXVq5Tw.js} +1 -1
  5. package/dist/{CheckboxesControl-CTaoagZv.js → CheckboxesControl-2pd974_e.js} +2 -2
  6. package/dist/{ColorControl-DxCjpcHn.js → ColorControl-CDxRfPzc.js} +1 -1
  7. package/dist/{ColorPreviewControl-C7MmFIpq.js → ColorPreviewControl-Cg99cain.js} +1 -1
  8. package/dist/{ComboBoxControl-CV4SCOo7.js → ComboBoxControl-BoQyPwaV.js} +3 -3
  9. package/dist/{DateControl-9d_SPymX.js → DateControl-DqNL8rlX.js} +1 -1
  10. package/dist/{DateTimeControl-nxVjz31-.js → DateTimeControl-apf8S1y2.js} +1 -1
  11. package/dist/{DateTimeFormatPickerControl-CMgXr7tA.js → DateTimeFormatPickerControl-_4b5Jk3w.js} +1 -1
  12. package/dist/DateTimeFormatPickerWithTypeControl-B1jOpszt.js +464 -0
  13. package/dist/{DropdownControl-BXbRH5G-.js → DropdownControl-CesCAa-A.js} +2 -2
  14. package/dist/{ExecutorCoresControl-B04lAS0W.js → ExecutorCoresControl-ILXk2Hk6.js} +2 -2
  15. package/dist/{ExecutorMemoryControl-CraHGxVJ.js → ExecutorMemoryControl-De46Fxsm.js} +2 -2
  16. package/dist/{FileUploadControl-D3Awi7rK.js → FileUploadControl-CFQSJwkd.js} +3 -3
  17. package/dist/{GridSelectionControl-Cqrr0vTk.js → GridSelectionControl-CGspDoCC.js} +1 -1
  18. package/dist/{HorizontalLayout-BRxOESz6.js → HorizontalLayout-DPuI5hYY.js} +1 -1
  19. package/dist/{IntegerControl-BG7i8ix-.js → IntegerControl-BwGzlwkz.js} +1 -1
  20. package/dist/{IntervalControl-YdZin9Wi.js → IntervalControl-BHeKHuWm.js} +3 -3
  21. package/dist/{LinkControl-Ntwn3ko5.js → LinkControl-D_0AKRJz.js} +1 -1
  22. package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-CiYSPKlk.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-BHersnKa.js} +1 -1
  23. package/dist/ManualTwinlistControl-BMSgSIBJ.js +72 -0
  24. package/dist/{MultiSelectListBoxControl-yIxxGB8U.js → MultiSelectListBoxControl-DbJWOUtn.js} +2 -2
  25. package/dist/MultimodeTwinlistControl-DOJD7vUU.js +4 -0
  26. package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-BzIvunuA.js +157 -0
  27. package/dist/{MultiselectListBox-DE0QC--O.js → MultiselectListBox-DpL-Z03B.js} +2 -2
  28. package/dist/{NameFilter-dUTC31qA.js → NameFilter-B1LEenoh.js} +4 -4
  29. package/dist/{NumberControl-Bi9ixtTO.js → NumberControl-DVzhX3S9.js} +1 -1
  30. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-BkEh0Ykh.js → NumberControlBase.vue_vue_type_script_setup_true_lang-Bb4FK9RQ.js} +2 -2
  31. package/dist/{OneOfDropdown-BR4WCua4.js → OneOfDropdown-BFOyIhv6.js} +1 -1
  32. package/dist/{RadioButtonsWithDescriptionControl-C69ZDGN4.js → RadioButtonsWithDescriptionControl-oD8Zab-J.js} +6 -6
  33. package/dist/{RadioControl-DnF-ishb.js → RadioControl-D6Wm5j7g.js} +2 -2
  34. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-DvfaMgRR.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CsEFu5wd.js} +2 -2
  35. package/dist/{ResourceControlBase-OgchIcbA.js → ResourceControlBase-DRlen7vy.js} +2 -2
  36. package/dist/{RichTextControl-sy7UyTn8.js → RichTextControl-DPX_lxfc.js} +1629 -1488
  37. package/dist/{SectionHeading-Dfcyl0Yz.js → SectionHeading-DIs2yBVY.js} +1 -1
  38. package/dist/{SectionLayout-CqIHiM2R.js → SectionLayout-6ID4pFDm.js} +3 -3
  39. package/dist/{SettingsSubPanel-B5IVsvuc.js → SettingsSubPanel-BUVqvjIE.js} +1 -1
  40. package/dist/{SettingsSubPanelLayout-DNEqHncD.js → SettingsSubPanelLayout-bSgzF47m.js} +4 -4
  41. package/dist/{SimpleButtonControl-BKV86mQ0.js → SimpleButtonControl-CpO-Xbws.js} +1 -1
  42. package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-Ssy7Zaqp.js +27792 -0
  43. package/dist/SimpleTwinlistControl-BMKo3T2E.js +22 -0
  44. package/dist/{SingleSelectControl-CMEjgiNY.js → SingleSelectControl-IDX5QUdR.js} +2 -2
  45. package/dist/{SingleSelectListBoxControl-zUEWoGd8.js → SingleSelectListBoxControl-CYGArF9u.js} +3 -3
  46. package/dist/{SortListControl-Rh42JVSy.js → SortListControl-LWMW3lAc.js} +5 -5
  47. package/dist/{StyledListItem-Dmiasg50.js → StyledListItem-DA8cbCw1.js} +1 -1
  48. package/dist/{TeamAndSpacesControl-2B_pTWqM.js → TeamAndSpacesControl-BThkHK2b.js} +1 -1
  49. package/dist/{TeamResourceControl-BFCZeFBI.js → TeamResourceControl-CQgq2Bq5.js} +2 -2
  50. package/dist/{TextAreaControl-DWtOmv7O.js → TextAreaControl-ykGD_BnL.js} +1 -1
  51. package/dist/{TextControl-DwAc1Lgx.js → TextControl-QTuQZi2l.js} +1 -1
  52. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-BvSRuAqp.js → TextControl.vue_vue_type_script_setup_true_lang-C1Cs6NXf.js} +2 -2
  53. package/dist/{TimeControl-n4lsWwMk.js → TimeControl-W0VRENnH.js} +1 -1
  54. package/dist/{TimePartInput-DTxykHkb.js → TimePartInput-BHzqB1_B.js} +1 -1
  55. package/dist/{TimeframesControl-CPnnV-IY.js → TimeframesControl-C12gkBRu.js} +2 -2
  56. package/dist/{Tooltip-CQD85sdp.js → Tooltip-B0QEjsdY.js} +1 -1
  57. package/dist/TwinlistControlBase.vue_vue_type_script_setup_true_lang-BlaFr27R.js +42 -0
  58. package/dist/{TypedStringFilter-7TKnShae.js → TypedStringFilter-B-LUMedK.js} +8 -9
  59. package/dist/{ValueSwitch-BuQf-fpg.js → ValueSwitch-BBO_VXIM.js} +1 -1
  60. package/dist/{ValueSwitchControl-DUWpTxo1.js → ValueSwitchControl-Jz7xZfY-.js} +1 -1
  61. package/dist/{VerticalLayout-BR0nc-T3.js → VerticalLayout-CGtB4d8F.js} +2 -2
  62. package/dist/{VerticalLayoutBase-BmUvz2xm.js → VerticalLayoutBase-JY9q-FO2.js} +1 -1
  63. package/dist/{ZonedDateTimeControl-4Zlm92zJ.js → ZonedDateTimeControl-BatkUEiY.js} +2 -2
  64. package/dist/{_Uint8Array-CgOaNCk1.js → _Uint8Array-Bbzs2Ov4.js} +1 -1
  65. package/dist/{_baseAssignValue-DAm2gl_N.js → _baseAssignValue-DV_dpE4l.js} +1 -1
  66. package/dist/{_baseEach-CpynTt09.js → _baseEach-RTY-xHIc.js} +1 -1
  67. package/dist/{_baseIteratee-B7GNekaD.js → _baseIteratee-pNDg46VS.js} +3 -3
  68. package/dist/knime-jsonforms.css +1 -1
  69. package/dist/knime-jsonforms.js +7 -7
  70. package/dist/{localTimeUtils-GW01Jwt9.js → localTimeUtils-B5XTvulp.js} +1564 -1497
  71. package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +1 -1
  72. package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +2 -2
  73. package/dist/src/uiComponents/twinlist/MultimodeTwinlistControl.vue.d.ts +2 -8
  74. package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +1 -1
  75. package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +1 -1
  76. package/dist/src/uiComponents/twinlist/TwinlistControlBase.vue.d.ts +2 -5
  77. package/dist/src/uiComponents/twinlist/TypedStringFilter.vue.d.ts +1 -1
  78. package/dist/src/uiComponents/twinlist/toKdsPossibleValues.d.ts +9 -0
  79. package/dist/testing.js +2 -2
  80. package/dist/toKdsPossibleValues-BklBg3gG.js +14 -0
  81. package/dist/{toString-EJiXsCqP.js → toString-GoK24L1U.js} +1 -1
  82. package/dist/{useBuiltinValidations-C-jX-GU7.js → useBuiltinValidations-LGrGrHzT.js} +1 -1
  83. package/dist/{usePossibleValues-CdNvUspy.js → usePossibleValues-ItF87hxE.js} +1 -1
  84. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-De2_vatY.js → useUnknownValuesInTwinlist-B8gDSha9.js} +6 -7
  85. package/package.json +1 -1
  86. package/dist/AnyOfTwinlist-BXOiwhPe.js +0 -22
  87. package/dist/DateTimeFormatPickerWithTypeControl-TpmjEZVL.js +0 -442
  88. package/dist/InputField-BPW3gcOb.js +0 -148
  89. package/dist/LoadingIcon-DWlZH7u-.js +0 -29
  90. package/dist/ManualTwinlistControl-Ag2U5qFU.js +0 -79
  91. package/dist/MultimodeTwinlistControl-Cx8g1mbI.js +0 -598
  92. package/dist/SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-D4snRy74.js +0 -26292
  93. package/dist/SimpleTwinlistControl-5zMN3nHL.js +0 -25
  94. package/dist/TwinlistControlBase-DpODIPuw.js +0 -57
  95. package/dist/TwinlistLoadingInfo-BwuYp151.js +0 -956
  96. package/dist/src/uiComponents/loading/TwinlistLoadingInfo.vue.d.ts +0 -2
  97. package/dist/useSearch-hpyYQ_6y.js +0 -74
@@ -1,148 +0,0 @@
1
- /* empty css */
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 "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-D4snRy74.js";
4
- const c = {
5
- name: "InputField",
6
- props: {
7
- modelValue: {
8
- default: "",
9
- type: [Number, String, null]
10
- },
11
- id: {
12
- type: [String, null],
13
- default: null
14
- },
15
- name: {
16
- type: String,
17
- default: null
18
- },
19
- /**
20
- * Sets the error styling, validity needs to be controlled by the parent component to be flexible
21
- */
22
- isValid: {
23
- default: !0,
24
- type: Boolean
25
- },
26
- type: {
27
- default: "text",
28
- type: String
29
- },
30
- pattern: {
31
- default: null,
32
- type: String
33
- },
34
- placeholder: {
35
- default: null,
36
- type: String
37
- },
38
- autocomplete: {
39
- default: null,
40
- type: String
41
- },
42
- autofocus: {
43
- default: !1,
44
- type: Boolean
45
- },
46
- focusOnMount: {
47
- default: !1,
48
- type: Boolean
49
- },
50
- inputClasses: {
51
- default: "",
52
- type: String
53
- },
54
- disabled: {
55
- default: !1,
56
- type: Boolean
57
- },
58
- ariaActivedescendant: {
59
- type: String,
60
- default: null
61
- },
62
- ariaOwns: {
63
- type: String,
64
- default: null
65
- },
66
- compact: {
67
- type: Boolean,
68
- default: !1
69
- }
70
- },
71
- emits: ["update:modelValue", "focus", "keyup", "keypress", "keydown"],
72
- computed: {
73
- hasLeftIcon() {
74
- return this.$slots.icon && this.$slots.icon().length;
75
- },
76
- hasRightIcon() {
77
- return this.$slots.iconRight && this.$slots.iconRight().length;
78
- },
79
- inputClassList() {
80
- let e = this.inputClasses;
81
- return this.hasLeftIcon && (e += " with-icon"), this.hasRightIcon && (e += " with-icon-right"), this.isValid || (e += " invalid"), e;
82
- }
83
- },
84
- mounted() {
85
- this.focusOnMount && this.focus();
86
- },
87
- methods: {
88
- getValue() {
89
- return this.$refs.input.value;
90
- },
91
- onInput() {
92
- this.$emit("update:modelValue", this.getValue());
93
- },
94
- focus() {
95
- this.$refs.input.focus();
96
- },
97
- /*
98
- * checks if value matches the provided pattern
99
- */
100
- validate() {
101
- let e = !0, t = null;
102
- return typeof this.getValue() > "u" ? (e = !1, t = "Invalid input") : this.pattern && this.$refs.input.validity.patternMismatch && (e = !1, t = "Input does not match the expected pattern"), { isValid: e, errorMessage: t };
103
- }
104
- }
105
- }, m = {
106
- key: 0,
107
- class: "icon"
108
- }, h = ["id", "name", "value", "type", "pattern", "placeholder", "autofocus", "aria-activedescendant", "aria-owns", "autocomplete", "disabled"], y = {
109
- key: 1,
110
- class: "icon icon-right"
111
- };
112
- function g(e, t, n, v, I, l) {
113
- return i(), s("div", {
114
- class: r(["input-wrapper", { compact: n.compact }])
115
- }, [
116
- l.hasLeftIcon ? (i(), s("div", m, [
117
- u(e.$slots, "icon")
118
- ])) : o("", !0),
119
- d("input", f(e.$attrs, {
120
- id: n.id,
121
- ref: "input",
122
- name: n.name,
123
- value: n.modelValue,
124
- class: l.inputClassList,
125
- type: n.type,
126
- pattern: n.pattern,
127
- placeholder: n.placeholder,
128
- autofocus: n.autofocus,
129
- "aria-activedescendant": n.ariaActivedescendant,
130
- "aria-owns": n.ariaOwns,
131
- autocomplete: n.autocomplete,
132
- disabled: n.disabled,
133
- onInput: t[0] || (t[0] = (...a) => l.onInput && l.onInput(...a)),
134
- onFocus: t[1] || (t[1] = (a) => e.$emit("focus", a)),
135
- onKeyup: t[2] || (t[2] = (a) => e.$emit("keyup", a)),
136
- onKeypress: t[3] || (t[3] = (a) => e.$emit("keypress", a)),
137
- onKeydown: t[4] || (t[4] = (a) => e.$emit("keydown", a))
138
- }), null, 16, h),
139
- l.hasRightIcon ? (i(), s("div", y, [
140
- u(e.$slots, "iconRight")
141
- ])) : o("", !0),
142
- t[5] || (t[5] = d("span", { class: "invalid-marker" }, null, -1))
143
- ], 2);
144
- }
145
- const w = /* @__PURE__ */ p(c, [["render", g], ["__scopeId", "data-v-e4e1a696"]]);
146
- export {
147
- w as I
148
- };
@@ -1,29 +0,0 @@
1
- import { openBlock as r, createElementBlock as c, createElementVNode as s, h as i, defineComponent as l, createBlock as d, unref as a } from "vue";
2
- import { _ } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-D4snRy74.js";
3
- const m = {
4
- xmlns: "http://www.w3.org/2000/svg",
5
- fill: "none",
6
- stroke: "#000",
7
- "stroke-linejoin": "round",
8
- viewBox: "0 0 32 32"
9
- };
10
- function p(n, e) {
11
- return r(), c("svg", m, [...e[0] || (e[0] = [
12
- s("path", { d: "m11.9 22.3 2.7 4.4-4.5 2.8m4.5-2.8C9 26 4.7 21.7 4.7 16c0-5.1 3.4-9.4 8.1-10.8M20 9.7l-2.6-4.4 4.5-2.8m-4.5 2.8c5.6.7 9.9 5 9.9 10.7 0 5.1-3.4 9.4-8.1 10.8" }, null, -1)
13
- ])]);
14
- }
15
- const u = { render: p }, f = (n, e) => ({
16
- render() {
17
- const o = n.render({}, []), t = i("title", e);
18
- return t.ns = "svg", o.children.unshift(t), o;
19
- }
20
- }), g = /* @__PURE__ */ l({
21
- __name: "LoadingIcon",
22
- setup(n) {
23
- const e = f(u, "Loading…");
24
- return (o, t) => (r(), d(a(e)));
25
- }
26
- }), x = /* @__PURE__ */ _(g, [["__scopeId", "data-v-6b552b81"]]);
27
- export {
28
- x as L
29
- };
@@ -1,79 +0,0 @@
1
- import { defineComponent as C, toRef as c, computed as a, markRaw as I, openBlock as k, createBlock as F, unref as r, mergeProps as x } from "vue";
2
- import { m as T } from "./index-Blg1O3Fz.js";
3
- import { u as L, a as U } from "./usePossibleValues-CdNvUspy.js";
4
- import { T as z, a as M } from "./TwinlistLoadingInfo-BwuYp151.js";
5
- import { u as B } from "./MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-De2_vatY.js";
6
- import { _ as D } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-D4snRy74.js";
7
- const _ = /* @__PURE__ */ C({
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(t) {
19
- const n = t;
20
- let o;
21
- const s = (e) => {
22
- const l = T(n.control.data, e);
23
- n.changeValue(l), o?.(l);
24
- }, m = (e) => {
25
- if (e !== null)
26
- if ("includedValues" in e) {
27
- const { includedValues: l, excludedValues: d, includeUnknownValues: y } = e;
28
- if (!l || !d)
29
- return;
30
- s({
31
- manuallySelected: l,
32
- manuallyDeselected: d,
33
- includeUnknownColumns: y
34
- });
35
- } else
36
- s({ manuallySelected: e });
37
- }, { possibleValues: i } = L(
38
- c(n, "control")
39
- ), { selectedAndDeselected: u, setCurrentManualFilter: p } = B({
40
- data: a(() => ({ manualFilter: n.control.data })),
41
- possibleValueIds: a(
42
- () => i.value?.map(({ id: e }) => e) ?? null
43
- )
44
- });
45
- o = p;
46
- const f = a(() => {
47
- const { selected: e, deselected: l } = u.value;
48
- return {
49
- includedValues: e,
50
- excludedValues: l,
51
- includeUnknownValues: n.control.data.includeUnknownColumns
52
- };
53
- }), b = a(
54
- () => u.value.selected === null ? I(z) : null
55
- ), { excludedLabel: w, includedLabel: V } = U(
56
- c(n, "control")
57
- ), h = a(() => w ?? "Excludes"), v = a(() => V ?? "Includes"), g = a(
58
- () => n.control.uischema.options?.twinlistSize
59
- );
60
- return (e, l) => (k(), F(r(M), x(e.$attrs, {
61
- id: t.labelForId,
62
- "show-search": "",
63
- disabled: t.disabled,
64
- "empty-state-component": b.value,
65
- "model-value": f.value,
66
- "possible-values": r(i) ?? [],
67
- size: g.value,
68
- "left-label": h.value,
69
- "right-label": v.value,
70
- "is-valid": t.isValid,
71
- compact: "",
72
- "show-resize-handle": "",
73
- "onUpdate:modelValue": m
74
- }), null, 16, ["id", "disabled", "empty-state-component", "model-value", "possible-values", "size", "left-label", "right-label", "is-valid"]));
75
- }
76
- }), $ = /* @__PURE__ */ D(_, [["__scopeId", "data-v-91dc5cff"]]);
77
- export {
78
- $ as default
79
- };