@knime/jsonforms 1.11.4 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/{AnyOfTwinlist-B8IWCQfI.js → AnyOfTwinlist-C2hopPFE.js} +1 -1
  3. package/dist/{Button-BIMifH4J.js → Button-a3DyR88M.js} +1 -1
  4. package/dist/{CheckboxControl-mUTfjUik.js → CheckboxControl-DoQCgnTf.js} +1 -1
  5. package/dist/{Checkboxes-C8MYjELb.js → Checkboxes-DNbu05C7.js} +1 -1
  6. package/dist/{CheckboxesControl-PnQ9Adbm.js → CheckboxesControl-DgwL4BAl.js} +3 -3
  7. package/dist/{ComboBoxControl-Bx9k_xcF.js → ComboBoxControl-DSSfSqIC.js} +5 -5
  8. package/dist/{DateControl-CFDyvByp.js → DateControl-DArS42tY.js} +1 -1
  9. package/dist/{DateTimeControl-6xLdTDKD.js → DateTimeControl-BuZ5D5EW.js} +2 -2
  10. package/dist/{DateTimeFormatInput-DN13KoIx.js → DateTimeFormatInput-BJepKEOT.js} +3 -3
  11. package/dist/DateTimeFormatPickerControl-YAKOrguY.js +43 -0
  12. package/dist/{DateTimeFormatPickerWithTypeControl-CK9zH_Pb.js → DateTimeFormatPickerWithTypeControl-CM2eu1Bq.js} +19 -23
  13. package/dist/{DateTimeInput-CDUSsfXW.js → DateTimeInput-B30lQ3sx.js} +6 -6
  14. package/dist/{Dropdown-VTgudgLJ.js → Dropdown-Cp5fC5vt.js} +5 -5
  15. package/dist/{DropdownControl-B8hshDBE.js → DropdownControl-DXtUnm7l.js} +2 -2
  16. package/dist/{HorizontalLayout-MsL7PmH3.js → HorizontalLayout-BTxnoo0O.js} +1 -1
  17. package/dist/{InputField-fNsY8a05.js → InputField-B2bBpIrm.js} +1 -1
  18. package/dist/{IntegerControl-ZSV_1jks.js → IntegerControl-CamhgT4b.js} +1 -1
  19. package/dist/{IntervalControl-BedfdbyZ.js → IntervalControl-Dhz8aY9W.js} +134 -135
  20. package/dist/{LoadingDropdown-DRC0PUle.js → LoadingDropdown-DFLGXxJe.js} +3 -3
  21. package/dist/ManualTwinlistControl-C1Bk354m.js +85 -0
  22. package/dist/{MultiSelectListBoxControl-lf35kyRi.js → MultiSelectListBoxControl-DiSPf1p7.js} +2 -2
  23. package/dist/MultimodeTwinlistControl-DnpmvhFB.js +469 -0
  24. package/dist/MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_ca157254_lang-DjGJNwBV.js +65 -0
  25. package/dist/{MultiselectListBox-DXD5CLCh.js → MultiselectListBox-DMZvKZT2.js} +2 -2
  26. package/dist/{NameFilter-ClFwXeRF.js → NameFilter-qYooMIRr.js} +1 -1
  27. package/dist/{NumberControl-Cr7IXjEm.js → NumberControl-mAvpRa8P.js} +1 -1
  28. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-ILIV8gqr.js → NumberControlBase.vue_vue_type_script_setup_true_lang-DsYiLVc0.js} +2 -2
  29. package/dist/{NumberInput-A5_w5ol4.js → NumberInput-DfYpYs35.js} +1 -1
  30. package/dist/{OneOfDropdown-DlhjZGFa.js → OneOfDropdown-Dx9oWy6Y.js} +1 -1
  31. package/dist/{RadioControl-ClX2lEwk.js → RadioControl-C0sZejgk.js} +2 -2
  32. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-Bv6jDZzK.js → RadioControlBase.vue_vue_type_script_setup_true_lang-BBZFZcBX.js} +3 -3
  33. package/dist/{RichTextControl-KJQSmoKv.js → RichTextControl-ikOmp5Zc.js} +4 -4
  34. package/dist/{SectionHeading-D1h8Hr3u.js → SectionHeading-DoKeahJG.js} +1 -1
  35. package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js} +1310 -1299
  36. package/dist/{SectionLayout-CVyuhnR5.js → SectionLayout-DqhrTk7G.js} +13 -13
  37. package/dist/SettingsSubPanel-BsP2TPpl.js +5 -0
  38. package/dist/{SettingsSubPanelLayout-DGhJS__O.js → SettingsSubPanelLayout-QgTIOWrJ.js} +6 -6
  39. package/dist/{SimpleButtonControl-CiUUyw8s.js → SimpleButtonControl-DWOwphdQ.js} +2 -2
  40. package/dist/{SimpleTwinlistControl-D22uc8-j.js → SimpleTwinlistControl-Bm8f15KT.js} +2 -2
  41. package/dist/SingleSelectControl-DzoiFSGp.js +55 -0
  42. package/dist/{SingleSelectListBoxControl-mafA0Or_.js → SingleSelectListBoxControl-COshImPF.js} +24 -23
  43. package/dist/{SortListControl-CjaScQzv.js → SortListControl-D5jBOA2x.js} +54 -50
  44. package/dist/{StyledListItem-BoF85YFQ.js → StyledListItem-DCmVSIus.js} +1 -1
  45. package/dist/{TextAreaControl-C5eo1xkd.js → TextAreaControl-ijQXrkd5.js} +1 -1
  46. package/dist/{TextControl-CcC2bMdB.js → TextControl-Di5u3kig.js} +1 -1
  47. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-JuMgL8lA.js → TextControl.vue_vue_type_script_setup_true_lang-DWUPaWoR.js} +12 -16
  48. package/dist/{TimeControl-CZIiQ1Iq.js → TimeControl-oa9oA0c7.js} +2 -2
  49. package/dist/{TwinlistControlBase-mEUGRSXm.js → TwinlistControlBase-Dm8KSJE0.js} +3 -3
  50. package/dist/{TwinlistLoadingInfo-D6z3t2c9.js → TwinlistLoadingInfo-Dcbz2hUN.js} +12 -12
  51. package/dist/{TypedStringFilter-LQdmf8v7.js → TypedStringFilter-DOox0S1z.js} +1 -1
  52. package/dist/{ValueSwitch-D6Wu1NDa.js → ValueSwitch-Ba0d4Jda.js} +1 -1
  53. package/dist/{ValueSwitchControl-BbarTqJt.js → ValueSwitchControl-BFY2YwjA.js} +1 -1
  54. package/dist/{VerticalLayout-KMe-3TA0.js → VerticalLayout-CdmecqY1.js} +5 -5
  55. package/dist/{VerticalLayoutBase-Bd2TMmEZ.js → VerticalLayoutBase-2Al6mtWQ.js} +1 -1
  56. package/dist/{ZonedDateTimeControl-Bs_bnndF.js → ZonedDateTimeControl-xwK_O0Ue.js} +4 -4
  57. package/dist/{_baseEach-CABMvL7j.js → _baseEach-kS6aH7yJ.js} +2 -2
  58. package/dist/{_baseIteratee-DItkztCj.js → _baseIteratee-CcwzbMbu.js} +13 -13
  59. package/dist/{_getTag-4mJMm5F3.js → _getTag-DpK8q53u.js} +1 -1
  60. package/dist/knime-jsonforms.css +1 -1
  61. package/dist/knime-jsonforms.js +36 -34
  62. package/dist/{localTimeUtils-DWYnLAB-.js → localTimeUtils-4g4u5t7X.js} +1 -1
  63. package/dist/{magic-string.es-Iz0jmxfz.js → magic-string.es-CWjITDzi.js} +1 -1
  64. package/dist/src/JsonFormsDialog.vue.d.ts +7 -2
  65. package/dist/src/constants/inputFormats.d.ts +1 -0
  66. package/dist/src/higherOrderComponents/control/LabeledControl.vue.d.ts +2 -0
  67. package/dist/src/higherOrderComponents/control/types.d.ts +4 -0
  68. package/dist/src/higherOrderComponents/control/util.d.ts +6 -0
  69. package/dist/src/index.d.ts +2 -1
  70. package/dist/src/renderers/defaultRenderers.d.ts +25 -0
  71. package/dist/src/renderers/simpleButtonRenderer.d.ts +12 -0
  72. package/dist/src/renderers/sortListRenderer.d.ts +12 -0
  73. package/dist/src/renderers/twinlistRenderer.d.ts +2 -0
  74. package/dist/src/types/ChoicesUiSchema.d.ts +8 -4
  75. package/dist/src/types/provided.d.ts +10 -1
  76. package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +12 -0
  77. package/dist/src/uiComponents/SortListControl.vue.d.ts +8 -0
  78. package/dist/src/uiComponents/composables/useBuiltinValidations.d.ts +3 -6
  79. package/dist/src/uiComponents/composables/useHideOnNull.d.ts +1 -1
  80. package/dist/src/uiComponents/composables/usePossibleValues.d.ts +2 -2
  81. package/dist/src/uiComponents/composables/useProvidedState.d.ts +17 -2
  82. package/dist/src/uiComponents/index.d.ts +2 -1
  83. package/dist/src/uiComponents/twinlist/ManualTwinlistControl.vue.d.ts +8 -0
  84. package/dist/src/uiComponents/twinlist/useUnknownValuesInTwinlist.d.ts +3 -1
  85. package/dist/{svgWithTitle-CJzZ_AF0.js → svgWithTitle-DGBkWQrO.js} +1 -1
  86. package/dist/testUtils/component.d.ts +20 -4
  87. package/dist/testing.js +3 -3
  88. package/dist/toString-ByDUn5bZ.js +25 -0
  89. package/dist/useBuiltinValidations-ChTFREt7.js +73 -0
  90. package/dist/usePossibleValues-BB4he0jT.js +17 -0
  91. package/package.json +3 -3
  92. package/dist/DateTimeFormatPickerControl-BEnoRr2q.js +0 -47
  93. package/dist/MultimodeTwinlistControl-CwPCFa9I.js +0 -526
  94. package/dist/SettingsSubPanel-CjuhpEr4.js +0 -5
  95. package/dist/SingleSelectControl-LrEUX41i.js +0 -58
  96. package/dist/toString-DzEZi8fD.js +0 -25
  97. package/dist/useBuiltinValidations-hN9BsKJH.js +0 -52
  98. package/dist/usePossibleValues-DY3q9YuR.js +0 -26
@@ -29,6 +29,10 @@ export declare const mountJsonFormsControl: <D>(component: VueControl<D>, { prop
29
29
  wrapper: import('@vue/test-utils').VueWrapper<({} | ({
30
30
  control: {
31
31
  data: D;
32
+ uischema: {
33
+ providedOptions?: string[] | undefined;
34
+ id?: string | undefined;
35
+ };
32
36
  } & Omit<{
33
37
  uischema: import('@jsonforms/core').ControlElement;
34
38
  schema: NonNullable<import('@jsonforms/core').JsonSchema>;
@@ -68,6 +72,10 @@ export declare const mountJsonFormsControl: <D>(component: VueControl<D>, { prop
68
72
  }, Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | VueControlProps<D>), import('vue').ComponentPublicInstance<{} | ({
69
73
  control: {
70
74
  data: D;
75
+ uischema: {
76
+ providedOptions?: string[] | undefined;
77
+ id?: string | undefined;
78
+ };
71
79
  } & Omit<{
72
80
  uischema: import('@jsonforms/core').ControlElement;
73
81
  schema: NonNullable<import('@jsonforms/core').JsonSchema>;
@@ -114,6 +122,10 @@ export declare const mountJsonFormsControl: <D>(component: VueControl<D>, { prop
114
122
  labelForId?: null | undefined;
115
123
  control: {
116
124
  data: D;
125
+ uischema: {
126
+ providedOptions?: string[] | undefined;
127
+ id?: string | undefined;
128
+ };
117
129
  } & Omit<{
118
130
  uischema: import('@jsonforms/core').ControlElement;
119
131
  schema: NonNullable<import('@jsonforms/core').JsonSchema>;
@@ -180,6 +192,10 @@ export declare const mountJsonFormsControlLabelContent: <D>(component: VueContro
180
192
  labelForId: string;
181
193
  control: {
182
194
  data: D;
195
+ uischema: {
196
+ providedOptions?: string[] | undefined;
197
+ id?: string | undefined;
198
+ };
183
199
  } & Omit<{
184
200
  uischema: import('@jsonforms/core').ControlElement;
185
201
  schema: NonNullable<import('@jsonforms/core').JsonSchema>;
@@ -215,25 +231,25 @@ export declare const mountJsonFormsLayout: (component: VueLayout, { props, provi
215
231
  [x: `on${Capitalize<any>}`]: ((...args: any[]) => any) | undefined;
216
232
  } | {
217
233
  [x: `on${Capitalize<string>}`]: ((...args: any[] | unknown[]) => any) | undefined;
218
- }))) & {} & ({} | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
234
+ }))) & {} & ({} | VueLayoutProps | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
219
235
  P: {};
220
236
  B: {};
221
237
  D: {};
222
238
  C: {};
223
239
  M: {};
224
240
  Defaults: {};
225
- }, Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | VueLayoutProps), import('vue').ComponentPublicInstance<{} | NonNullable<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>> | (VueLayoutProps & ({} | {
241
+ }, Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}>), import('vue').ComponentPublicInstance<{} | NonNullable<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>> | (VueLayoutProps & ({} | {
226
242
  [x: `on${Capitalize<any>}`]: ((...args: any[]) => any) | undefined;
227
243
  } | {
228
244
  [x: `on${Capitalize<string>}`]: ((...args: any[] | unknown[]) => any) | undefined;
229
- })), ({} | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
245
+ })), ({} | VueLayoutProps | import('vue').CreateComponentPublicInstanceWithMixins<Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
230
246
  P: {};
231
247
  B: {};
232
248
  D: {};
233
249
  C: {};
234
250
  M: {};
235
251
  Defaults: {};
236
- }, Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}> | VueLayoutProps) & Omit<VueLayoutProps, never>>>;
252
+ }, Readonly<ExtractPropTypes<{}>>, {}, {}, import('vue').ComputedOptions, import('vue').MethodOptions, {}>) & Omit<VueLayoutProps, never>>>;
237
253
  };
238
254
  export declare const mountJsonFormsRenderer: (component: Component, { props, provide, stubs, }: {
239
255
  props: {
package/dist/testing.js CHANGED
@@ -3,8 +3,8 @@ var L_ = (e, t, n) => t in e ? j_(e, t, { enumerable: !0, configurable: !0, writ
3
3
  var G = (e, t, n) => L_(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import * as nh from "vue";
5
5
  import { initDirectivesForSSR as F_, nextTick as fo, defineComponent as ui, computed as kr, h as xn, shallowReactive as B_, reactive as V_, ref as rh, createApp as q_, transformVNodeArgs as W_, setDevtoolsHook as U_, Transition as z_, BaseTransition as K_, TransitionGroup as X_, isRef as G_ } from "vue";
6
- import { n as J_, o as H_, b as Y_ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
7
- import { b as Q_ } from "./_baseIteratee-DItkztCj.js";
6
+ import { o as J_, q as H_, e as Y_ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
7
+ import { b as Q_ } from "./_baseIteratee-CcwzbMbu.js";
8
8
  function Z_(e, t) {
9
9
  return e > t;
10
10
  }
@@ -9512,7 +9512,7 @@ function Bw(e, t) {
9512
9512
  return s + 1;
9513
9513
  }
9514
9514
  async function Vw(e, t) {
9515
- const n = (await import("./magic-string.es-Iz0jmxfz.js")).default, r = new Set(t.map((i) => i.file));
9515
+ const n = (await import("./magic-string.es-CWjITDzi.js")).default, r = new Set(t.map((i) => i.file));
9516
9516
  await Promise.all(
9517
9517
  Array.from(r).map(async (i) => {
9518
9518
  const s = t.filter((c) => c.file === i), o = await e.readSnapshotFile(i), a = new n(o);
@@ -0,0 +1,25 @@
1
+ import { S as s, o as g } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
2
+ import { i as l } from "./isArray-WzO_os3q.js";
3
+ function p(r, t) {
4
+ for (var n = -1, i = r == null ? 0 : r.length, o = Array(i); ++n < i; )
5
+ o[n] = t(r[n], n, r);
6
+ return o;
7
+ }
8
+ var e = s ? s.prototype : void 0, f = e ? e.toString : void 0;
9
+ function m(r) {
10
+ if (typeof r == "string")
11
+ return r;
12
+ if (l(r))
13
+ return p(r, m) + "";
14
+ if (g(r))
15
+ return f ? f.call(r) : "";
16
+ var t = r + "";
17
+ return t == "0" && 1 / r == -1 / 0 ? "-0" : t;
18
+ }
19
+ function S(r) {
20
+ return r == null ? "" : m(r);
21
+ }
22
+ export {
23
+ p as a,
24
+ S as t
25
+ };
@@ -0,0 +1,73 @@
1
+ import { toRef as c, computed as d } from "vue";
2
+ import { u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
3
+ const v = (t = {}) => t.validation || null, f = (t) => t.replace(/^validation\./, ""), p = (t) => {
4
+ const i = (t.providedOptions ?? []).filter(
5
+ (n) => n.startsWith("validation.")
6
+ );
7
+ return i.length === 0 ? null : i.reduce(
8
+ (n, o) => ({
9
+ ...n,
10
+ [f(o)]: u(
11
+ c(t),
12
+ // @ts-expect-error - the valid provided options cannot be inferred
13
+ o
14
+ )
15
+ }),
16
+ {}
17
+ );
18
+ }, r = (t) => Object.entries(t), s = (t, i) => {
19
+ const n = r(t).map(
20
+ ([o, { parameters: e, errorMessage: a }]) => ({
21
+ validate: i[o](e),
22
+ errorMessage: a
23
+ })
24
+ );
25
+ return (o) => ({
26
+ errors: n.filter(({ validate: e }) => !e(o)).map(({ errorMessage: e }) => e)
27
+ });
28
+ }, m = (t, i, n) => t === null ? null : s(
29
+ {
30
+ [i]: t
31
+ },
32
+ n
33
+ ), h = (t, i, n, o) => {
34
+ if (t) {
35
+ const e = s(t, n);
36
+ o(e);
37
+ }
38
+ i && r(i).map(
39
+ ([a, l]) => d(
40
+ () => m(l.value, a, n)
41
+ )
42
+ ).forEach(o);
43
+ }, V = ({
44
+ validations: t,
45
+ providedValidations: i
46
+ }) => {
47
+ const n = r(t || {}).reduce(
48
+ (o, [e, { parameters: a }]) => ({ ...o, [e]: a }),
49
+ {}
50
+ );
51
+ return d(() => i === null ? n : r(i).map(([o, e]) => ({
52
+ key: o,
53
+ providedValidation: e.value
54
+ })).filter(({ providedValidation: o }) => o !== null).reduce(
55
+ (o, { key: e, providedValidation: a }) => ({
56
+ ...o,
57
+ // @ts-expect-error - we know that providedValidation is not null here
58
+ [e]: a.parameters
59
+ }),
60
+ n
61
+ ));
62
+ }, x = (t, i) => {
63
+ const { uischema: n } = i.control, { options: o } = n, e = v(o), a = p(n);
64
+ return h(
65
+ e,
66
+ a,
67
+ t,
68
+ i.onRegisterValidation
69
+ ), V({ validations: e, providedValidations: a });
70
+ };
71
+ export {
72
+ x as u
73
+ };
@@ -0,0 +1,17 @@
1
+ import { computed as a } from "vue";
2
+ import { u as o } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq3HWX2w.js";
3
+ const t = (s) => {
4
+ const e = a(() => s.value.uischema);
5
+ return { possibleValues: o(e, "possibleValues") };
6
+ }, i = (s) => {
7
+ var u, l;
8
+ const e = a(() => s.value.uischema.options);
9
+ return {
10
+ includedLabel: ((u = e.value) == null ? void 0 : u.includedLabel) ?? "Includes",
11
+ excludedLabel: ((l = e.value) == null ? void 0 : l.excludedLabel) ?? "Excludes"
12
+ };
13
+ };
14
+ export {
15
+ i as a,
16
+ t as u
17
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/jsonforms",
3
- "version": "1.11.4",
3
+ "version": "1.12.1",
4
4
  "description": "Internal JSON Forms integration for frontend KNIME projects",
5
5
  "homepage": "https://knime.github.io/webapps-common/",
6
6
  "license": "GPL 3 and Additional Permissions according to Sec. 7 (SEE the file LICENSE)",
@@ -15,8 +15,8 @@
15
15
  "focus-trap-vue": "4.0.3",
16
16
  "tabbable": "6.2.0",
17
17
  "uuid": "10.0.0",
18
- "@knime/components": "1.28.4",
19
- "@knime/rich-text-editor": "1.4.14",
18
+ "@knime/components": "1.28.6",
19
+ "@knime/rich-text-editor": "1.4.15",
20
20
  "@knime/styles": "1.4.0",
21
21
  "@knime/utils": "1.4.0"
22
22
  },
@@ -1,47 +0,0 @@
1
- import { defineComponent as m, computed as o, openBlock as p, createBlock as c, unref as n } from "vue";
2
- import { u as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CLPIgtdX.js";
3
- import { D as F } from "./DateTimeFormatInput-DN13KoIx.js";
4
- const b = /* @__PURE__ */ m({
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(() => a.control.uischema.options), d = o(() => {
17
- var e;
18
- return (e = t.value) == null ? void 0 : e.allowedFormats;
19
- }), u = f(
20
- o(() => {
21
- var e;
22
- return (e = t.value) == null ? void 0 : e.formatProvider;
23
- }),
24
- null
25
- ), l = o({
26
- get: () => ({
27
- format: a.control.data,
28
- temporalType: "DATE"
29
- }),
30
- set: (e) => a.changeValue(e.format)
31
- });
32
- return (e, r) => (p(), c(n(F), {
33
- id: e.labelForId,
34
- modelValue: l.value,
35
- "onUpdate:modelValue": r[0] || (r[0] = (i) => l.value = i),
36
- compact: "",
37
- disabled: e.disabled,
38
- "show-type-switch-in-popover": !0,
39
- "allowed-formats": d.value,
40
- "all-default-formats": n(u),
41
- "is-valid": !0
42
- }, null, 8, ["id", "modelValue", "disabled", "allowed-formats", "all-default-formats"]));
43
- }
44
- });
45
- export {
46
- b as default
47
- };