@knime/jsonforms 1.9.2 → 1.9.4

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 (69) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/{AnyOfTwinlist-BPOZOLti.js → AnyOfTwinlist-D1KycEHY.js} +1 -1
  3. package/dist/{Button-eJKYDCkd.js → Button-Dj1USqpr.js} +4 -5
  4. package/dist/{Checkbox-Cn75drbc.js → Checkbox-5l-7O-Rc.js} +1 -1
  5. package/dist/{CheckboxControl-CZI1ksFg.js → CheckboxControl-CcV_DXsi.js} +2 -2
  6. package/dist/{Checkboxes-DkHfcl3G.js → Checkboxes-TSVYIY6A.js} +2 -2
  7. package/dist/{CheckboxesControl-mDBFA4w8.js → CheckboxesControl-CEIBobjb.js} +2 -2
  8. package/dist/{ComboBoxControl-D21AHICP.js → ComboBoxControl-FTELjHzm.js} +20 -21
  9. package/dist/{DateControl-CoZARCXP.js → DateControl-CF5FYRLV.js} +1 -1
  10. package/dist/{DateTimeControl-Cy5gTvNj.js → DateTimeControl-D1B_TgdP.js} +2 -2
  11. package/dist/DateTimeFormatInput--ahcIWAg.js +381 -0
  12. package/dist/{DateTimeFormatPickerControl-tGAM1JkC.js → DateTimeFormatPickerControl-BliVRAB0.js} +2 -2
  13. package/dist/{DateTimeFormatPickerWithTypeControl-BclhGpyC.js → DateTimeFormatPickerWithTypeControl-CXseluiT.js} +3 -3
  14. package/dist/{DateTimeInput-DdlMeRDs.js → DateTimeInput-DqqCRfzR.js} +4 -5
  15. package/dist/{Dropdown-DXrbBJkL.js → Dropdown-BfqaIGuC.js} +27 -28
  16. package/dist/{DropdownControl-CCHrJ6le.js → DropdownControl-D8-qWkOR.js} +4 -4
  17. package/dist/{HorizontalLayout-DygZj0o9.js → HorizontalLayout-CWRVRpwR.js} +1 -1
  18. package/dist/{InputField-Bvyoaw2O.js → InputField-C2yLbANc.js} +1 -1
  19. package/dist/{IntegerControl-DsenUVe6.js → IntegerControl-Bz5KWKoG.js} +1 -1
  20. package/dist/{IntervalControl-DYdVuEIn.js → IntervalControl-B0CHqejJ.js} +16 -17
  21. package/dist/{LoadingDropdown-B04_zKDo.js → LoadingDropdown-fVxRhH6V.js} +3 -3
  22. package/dist/{MultimodeTwinlistControl-84S7d7BP.js → MultimodeTwinlistControl-DV_0SHHy.js} +5 -5
  23. package/dist/{MultiselectListBox-D1l5U70X.js → MultiselectListBox-Cn7ngRfj.js} +1 -1
  24. package/dist/{NameFilter-CxG07CNi.js → NameFilter-DTecZo_d.js} +1 -1
  25. package/dist/{NumberControl-Ds5fzpFG.js → NumberControl-Bv6y2n41.js} +1 -1
  26. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-Da027LaV.js → NumberControlBase.vue_vue_type_script_setup_true_lang-6m9utn_F.js} +2 -2
  27. package/dist/{NumberInput-DNVDyuiW.js → NumberInput-Ys4Hdd7b.js} +1 -1
  28. package/dist/{OneOfDropdown-CX5YhB5y.js → OneOfDropdown-CDAPUCNY.js} +1 -1
  29. package/dist/{RadioControl-2vz2SEnY.js → RadioControl-B2pjYv6_.js} +2 -2
  30. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-UGxGM4HJ.js → RadioControlBase.vue_vue_type_script_setup_true_lang-CclH-Wwk.js} +2 -2
  31. package/dist/{RichTextControl-C9zYte_e.js → RichTextControl-Cp-ZJ8Qo.js} +3341 -4054
  32. package/dist/{SectionHeading-D5VIHfZ6.js → SectionHeading-D0esbYSn.js} +1 -1
  33. package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-B3PkFXo7.js +13635 -0
  34. package/dist/{SectionLayout-FgUSzxvg.js → SectionLayout-lUG0FeYA.js} +3 -3
  35. package/dist/SettingsSubPanel-DlUlLFts.js +5 -0
  36. package/dist/{SettingsSubPanelLayout-CiSDF0QY.js → SettingsSubPanelLayout-BvbwLKfV.js} +20 -21
  37. package/dist/{SimpleButtonControl-E4YUEkFB.js → SimpleButtonControl-DWLU_5Ny.js} +8 -8
  38. package/dist/{SimpleTwinlistControl-BTXe7YwA.js → SimpleTwinlistControl-D6ORIuzH.js} +2 -2
  39. package/dist/{SingleSelectControl-Lr3z2PQP.js → SingleSelectControl-BKv71LA7.js} +2 -2
  40. package/dist/{SortListControl-D7yx8Zz-.js → SortListControl-B5N2Hqr2.js} +5 -6
  41. package/dist/{TextAreaControl-Dr7sr6e5.js → TextAreaControl-Bb1thkUU.js} +1 -1
  42. package/dist/{TextControl-CBgD2gmx.js → TextControl-CuiHsefr.js} +1 -1
  43. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Chd6nIT-.js → TextControl.vue_vue_type_script_setup_true_lang-DqaxrzeR.js} +4 -4
  44. package/dist/{TimeControl-Cm8yqjem.js → TimeControl-CfdGsohr.js} +2 -2
  45. package/dist/{TwinlistControlBase-D09CXwzh.js → TwinlistControlBase-CYNUKmVM.js} +3 -3
  46. package/dist/{TwinlistLoadingInfo-B_2E8y_B.js → TwinlistLoadingInfo-CPqVvWp4.js} +13 -14
  47. package/dist/{TypedStringFilter-BMlauzYE.js → TypedStringFilter-0MA1D7-X.js} +1 -1
  48. package/dist/{ValueSwitch-D1egJZr6.js → ValueSwitch-B6rM3Cb9.js} +1 -1
  49. package/dist/{ValueSwitchControl-CextiX-9.js → ValueSwitchControl-avfCCusm.js} +1 -1
  50. package/dist/{VerticalLayout-uvd7dU17.js → VerticalLayout-DXyKnMvI.js} +2 -2
  51. package/dist/{VerticalLayoutBase-CSnU3mLb.js → VerticalLayoutBase-D-TX7EUL.js} +1 -1
  52. package/dist/{ZonedDateTimeControl-CB0KZQXT.js → ZonedDateTimeControl-BNZ8YhWM.js} +4 -4
  53. package/dist/knime-jsonforms.css +1 -1
  54. package/dist/knime-jsonforms.js +42 -43
  55. package/dist/{localTimeUtils-DnV5kh7m.js → localTimeUtils-Bvx7vLrT.js} +1 -1
  56. package/dist/{magic-string.es-B5A5AF4s.js → magic-string.es-CvzN4vs8.js} +1 -1
  57. package/dist/{svgWithTitle-WX_pgBsG.js → svgWithTitle-DMRd3aDh.js} +1 -1
  58. package/dist/testUtils/component.d.ts +13 -0
  59. package/dist/testing.js +1503 -1501
  60. package/dist/{useBuiltinValidations-LNyl7q7j.js → useBuiltinValidations-iU8yJR-J.js} +1 -1
  61. package/dist/useDropdownNavigation-7o7SRJSo.js +781 -0
  62. package/dist/{usePossibleValues-CM2RTisz.js → usePossibleValues-CQWkZRBa.js} +1 -1
  63. package/package.json +3 -3
  64. package/dist/BaseButton-6PV3BYUQ.js +0 -112
  65. package/dist/DateTimeFormatInput-Btt_BLk-.js +0 -347
  66. package/dist/FunctionButton-QVrKdZdI.js +0 -75
  67. package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-hOcQ43HC.js +0 -13322
  68. package/dist/SettingsSubPanel-BZE2IRG9.js +0 -142
  69. package/dist/useDropdownNavigation-D6ZenVxz.js +0 -55
@@ -1,12 +1,11 @@
1
- import { defineComponent as p, ref as c, onMounted as k, openBlock as i, createElementBlock as v, createCommentVNode as x, pushScopeId as C, popScopeId as E, createElementVNode as S, provide as P, computed as w, watch as A, createBlock as I, Suspense as B, withCtx as d, createVNode as l, renderSlot as g, unref as j, nextTick as F } from "vue";
2
- import { _ as b, s as M, U as O, i as R } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-hOcQ43HC.js";
3
- import { E as re, L as ne, a as de, c as le, e as ce, b as ie, d as pe, g as ue, h as me, j as fe, l as _e, f as he, m as ge, p as De, t as ve, w as Se } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-hOcQ43HC.js";
4
- import { p as V, F as $ } from "./SettingsSubPanel-BZE2IRG9.js";
5
- import { S as ye } from "./SettingsSubPanel-BZE2IRG9.js";
6
- import { default as Te } from "./SimpleButtonControl-E4YUEkFB.js";
7
- import { _ as xe } from "./TextControl.vue_vue_type_script_setup_true_lang-Chd6nIT-.js";
8
- import { V as Ee } from "./VerticalLayoutBase-CSnU3mLb.js";
9
- import { S as we } from "./SectionHeading-D5VIHfZ6.js";
1
+ import { defineComponent as p, ref as c, onMounted as T, openBlock as i, createElementBlock as v, createCommentVNode as x, pushScopeId as C, popScopeId as E, createElementVNode as S, provide as P, computed as w, watch as A, createBlock as I, Suspense as B, withCtx as d, createVNode as l, renderSlot as g, unref as j, nextTick as F } from "vue";
2
+ import { _ as b, p as M, F as O, s as R, U as V, i as $ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-B3PkFXo7.js";
3
+ import { E as ae, L as re, a as ne, c as de, e as le, b as ce, d as ie, g as pe, h as ue, j as me, l as fe, f as _e, m as he, k as ge, t as De, w as ve } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-B3PkFXo7.js";
4
+ import { default as be } from "./SimpleButtonControl-DWLU_5Ny.js";
5
+ import { _ as Le } from "./TextControl.vue_vue_type_script_setup_true_lang-DqaxrzeR.js";
6
+ import { V as Te } from "./VerticalLayoutBase-D-TX7EUL.js";
7
+ import { S as Ce } from "./SectionHeading-D0esbYSn.js";
8
+ import { S as Pe } from "./SettingsSubPanel-DlUlLFts.js";
10
9
  const N = (o) => (C("data-v-7dabb11d"), o = o(), E(), o), U = {
11
10
  key: 0,
12
11
  class: "loading-dialog skeleton-wrapper"
@@ -16,7 +15,7 @@ const N = (o) => (C("data-v-7dabb11d"), o = o(), E(), o), U = {
16
15
  __name: "LoadingDialog",
17
16
  setup(o) {
18
17
  const a = c(!1);
19
- return k(() => {
18
+ return T(() => {
20
19
  setTimeout(() => {
21
20
  a.value = !0;
22
21
  }, H);
@@ -34,7 +33,7 @@ const N = (o) => (C("data-v-7dabb11d"), o = o(), E(), o), U = {
34
33
  setup(o, { expose: a, emit: u }) {
35
34
  const s = u, y = (e, t, n) => {
36
35
  var h;
37
- return t.type === O && ((h = t.context) == null ? void 0 : h.source) !== D && setTimeout(() => F(() => s("updateData", t.path))), n(e, t);
36
+ return t.type === V && ((h = t.context) == null ? void 0 : h.source) !== D && setTimeout(() => F(() => s("updateData", t.path))), n(e, t);
38
37
  }, L = (e) => {
39
38
  s("change", e);
40
39
  };
@@ -45,13 +44,13 @@ const N = (o) => (C("data-v-7dabb11d"), o = o(), E(), o), U = {
45
44
  }).forEach(([e, t]) => P(e, t));
46
45
  const r = c(null), m = [], f = (e, t) => {
47
46
  r.value.dispatch(
48
- R.update(e, () => t, {
47
+ $.update(e, () => t, {
49
48
  source: D
50
49
  })
51
50
  );
52
- }, T = w(() => r.value !== null);
51
+ }, k = w(() => r.value !== null);
53
52
  A(
54
- () => T.value,
53
+ () => k.value,
55
54
  (e) => e && m.forEach(
56
55
  ({ path: t, value: n }) => f(t, n)
57
56
  )
@@ -61,7 +60,7 @@ const N = (o) => (C("data-v-7dabb11d"), o = o(), E(), o), U = {
61
60
  }
62
61
  });
63
62
  const _ = c(null);
64
- return V(_), (e, t) => (i(), v("div", Y, [
63
+ return M(_), (e, t) => (i(), v("div", Y, [
65
64
  S("div", {
66
65
  ref_key: "subPanelTeleportDest",
67
66
  ref: _
@@ -71,10 +70,10 @@ const N = (o) => (C("data-v-7dabb11d"), o = o(), E(), o), U = {
71
70
  l(X)
72
71
  ]),
73
72
  default: d(() => [
74
- l($, null, {
73
+ l(O, null, {
75
74
  default: d(() => [
76
75
  g(e.$slots, "top", {}, void 0, !0),
77
- l(j(M), {
76
+ l(j(R), {
78
77
  ref_key: "jsonforms",
79
78
  ref: r,
80
79
  data: e.data,
@@ -93,38 +92,38 @@ const N = (o) => (C("data-v-7dabb11d"), o = o(), E(), o), U = {
93
92
  }))
94
93
  ]));
95
94
  }
96
- }), te = /* @__PURE__ */ b(z, [["__scopeId", "data-v-1a67a46b"]]), K = {
95
+ }), ee = /* @__PURE__ */ b(z, [["__scopeId", "data-v-1a67a46b"]]), K = {
97
96
  layout: {
98
97
  type: Object,
99
98
  required: !0
100
99
  }
101
- }, oe = (o) => p(o, {
100
+ }, te = (o) => p(o, {
102
101
  props: K
103
102
  });
104
103
  export {
105
- re as ErrorMessages,
106
- $ as Form,
107
- te as JsonFormsDialog,
108
- ne as LabeledControl,
109
- we as SectionHeading,
110
- ye as SettingsSubPanel,
111
- Te as SimpleButtonControl,
112
- xe as TextControl,
113
- Ee as VerticalLayoutBase,
114
- de as controlProps,
115
- le as controlToRenderer,
116
- ce as controls,
117
- ie as defaultRenderers,
118
- pe as defineControl,
119
- oe as defineLayout,
120
- ue as getAsyncSetupMethod,
121
- me as handleAsyncComponents,
122
- fe as inputFormats,
104
+ ae as ErrorMessages,
105
+ O as Form,
106
+ ee as JsonFormsDialog,
107
+ re as LabeledControl,
108
+ Ce as SectionHeading,
109
+ Pe as SettingsSubPanel,
110
+ be as SimpleButtonControl,
111
+ Le as TextControl,
112
+ Te as VerticalLayoutBase,
113
+ ne as controlProps,
114
+ de as controlToRenderer,
115
+ le as controls,
116
+ ce as defaultRenderers,
117
+ ie as defineControl,
118
+ te as defineLayout,
119
+ pe as getAsyncSetupMethod,
120
+ ue as handleAsyncComponents,
121
+ me as inputFormats,
123
122
  K as layoutProps,
124
- _e as layoutToRenderer,
125
- he as layouts,
126
- ge as mapControls,
127
- De as priorityRanks,
128
- ve as toRenderers,
129
- Se as withLabel
123
+ fe as layoutToRenderer,
124
+ _e as layouts,
125
+ he as mapControls,
126
+ ge as priorityRanks,
127
+ De as toRenderers,
128
+ ve as withLabel
130
129
  };
@@ -1,4 +1,4 @@
1
- import { r as q, t as k, g as F, a as Z, b as j, c as z, d as _, i as V, e as K, s as A, l as J, f as ee, h as L, j as te, k as re, m as ne, n as I, o as P, p as ae } from "./DateTimeInput-DdlMeRDs.js";
1
+ import { r as q, t as k, g as F, a as Z, b as j, c as z, d as _, i as V, e as K, s as A, l as J, f as ee, h as L, j as te, k as re, m as ne, n as I, o as P, p as ae } from "./DateTimeInput-DqqCRfzR.js";
2
2
  var ie = 864e5;
3
3
  function oe(a) {
4
4
  q(1, arguments);
@@ -1,4 +1,4 @@
1
- import { r as ht } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-hOcQ43HC.js";
1
+ import { A as ht } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-B3PkFXo7.js";
2
2
  var q = { exports: {} };
3
3
  (function(E, t) {
4
4
  (function(e, n) {
@@ -1,6 +1,6 @@
1
1
  import { defineComponent as r, openBlock as c, createBlock as s, unref as a, h as i } from "vue";
2
2
  import { R as d } from "./reload-BhzcZRFp.js";
3
- import { _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-hOcQ43HC.js";
3
+ import { _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-B3PkFXo7.js";
4
4
  const p = /* @__PURE__ */ r({
5
5
  __name: "LoadingIcon",
6
6
  setup(t) {
@@ -8,6 +8,19 @@ export type ProvidedMethods = {
8
8
  addStateProviderListener: Mock;
9
9
  };
10
10
  export type VueControlTestProps<C extends abstract new (...args: any) => any> = Omit<InstanceType<C>["$props"], "handleChange" | "changeValue" | "onRegisterValidation">;
11
+ export declare const getGlobal: ({ provide, stubs, }: {
12
+ provide?: Partial<ProvidedMethods>;
13
+ stubs?: Record<any, any>;
14
+ }) => {
15
+ provide: {
16
+ sendAlert: Mock;
17
+ trigger: Mock;
18
+ addStateProviderListener: Mock;
19
+ };
20
+ stubs: {
21
+ DispatchRenderer: boolean;
22
+ };
23
+ };
11
24
  export declare const mountJsonFormsControl: <D>(component: VueControl<D>, { props, provide, stubs, }: {
12
25
  props: NoInfer<Omit<VueControlProps<D>, "handleChange" | "changeValue" | "onRegisterValidation">>;
13
26
  provide?: Partial<ProvidedMethods>;