@knime/jsonforms 1.19.2 → 1.19.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 (91) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/{AnyOfTwinlist-DbIxFGCg.js → AnyOfTwinlist-gIm_R7yi.js} +1 -1
  3. package/dist/{Checkbox-DHrRt49x.js → Checkbox-D1QZ8D8U.js} +1 -1
  4. package/dist/{CheckboxControl-D0b--DXW.js → CheckboxControl-DitntAd8.js} +1 -1
  5. package/dist/{CheckboxesControl-D2UmK0cM.js → CheckboxesControl-C_Wwb06j.js} +2 -2
  6. package/dist/{ColorControl-BWQGbfC0.js → ColorControl-86_aeUMf.js} +1 -1
  7. package/dist/ColorPreviewControl-HgbFwMCE.js +89 -0
  8. package/dist/{ComboBoxControl-CL4v2Sgq.js → ComboBoxControl-CGwWGyDl.js} +8 -8
  9. package/dist/{DateControl-BwCKXxzH.js → DateControl-BofbO5lM.js} +8 -7
  10. package/dist/{DateTimeControl-DIHNi8gS.js → DateTimeControl-BzWk51J8.js} +1 -1
  11. package/dist/DateTimeFormatPickerControl-7KTdYrMN.js +31 -0
  12. package/dist/DateTimeFormatPickerWithTypeControl-DmevlqK8.js +442 -0
  13. package/dist/{DropdownControl-DIr6VLc6.js → DropdownControl-XAeknlV2.js} +3 -3
  14. package/dist/{HorizontalLayout-y52FdHPr.js → HorizontalLayout-BQFvLK2X.js} +1 -1
  15. package/dist/{IntegerControl-Bk-MII8Z.js → IntegerControl-XNoJU3s2.js} +1 -1
  16. package/dist/{IntervalControl-C7rHNjU3.js → IntervalControl-DaQTfsx8.js} +2 -2
  17. package/dist/{Label-4eQvTocI.js → Label-BckcZVsr.js} +1 -1
  18. package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-BohYhBbA.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-M581gyEa.js} +1 -1
  19. package/dist/LoadingIcon-D3kls_iA.js +29 -0
  20. package/dist/{ManualTwinlistControl-Cymjfy5p.js → ManualTwinlistControl-BCgJbfp5.js} +4 -4
  21. package/dist/{MultiSelectListBoxControl-xAD6kXMK.js → MultiSelectListBoxControl-B6tvY3Al.js} +2 -2
  22. package/dist/{MultimodeTwinlistControl-BumsqGUV.js → MultimodeTwinlistControl-CUWzYCUm.js} +14 -14
  23. package/dist/{MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-KKPjcj4X.js → MultimodeTwinlistControl.vue_vue_type_style_index_0_scoped_0aa76d2b_lang-C8itN9TE.js} +2 -2
  24. package/dist/{MultiselectListBox-ZX6212Yu.js → MultiselectListBox-C1rI0rOG.js} +4 -4
  25. package/dist/{NameFilter-FSgsA62B.js → NameFilter-CaPBJKzh.js} +1 -1
  26. package/dist/{NumberControl-BqoqHwEO.js → NumberControl-DOnwoK8Z.js} +1 -1
  27. package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-BncdSveV.js → NumberControlBase.vue_vue_type_script_setup_true_lang-IP3X2jko.js} +4 -4
  28. package/dist/{OneOfDropdown-B_2tiTwi.js → OneOfDropdown-CHt7_dgU.js} +9 -9
  29. package/dist/{RadioControl-BFhCpO9D.js → RadioControl-CP7QiYX1.js} +2 -2
  30. package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-CaIHPPJ6.js → RadioControlBase.vue_vue_type_script_setup_true_lang-qv1xOkqz.js} +2 -2
  31. package/dist/{RichTextControl-CdhHDOWn.js → RichTextControl-DKlFtbdd.js} +1535 -1461
  32. package/dist/{SectionHeading-DZCr2UJ-.js → SectionHeading-DbcAkyOk.js} +1 -1
  33. package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js +25430 -0
  34. package/dist/{SectionLayout-C-8MnV5C.js → SectionLayout-BRfbEX0H.js} +3 -3
  35. package/dist/SettingsSubPanel-Bw-wC4JV.js +5 -0
  36. package/dist/{SettingsSubPanelLayout-BYZgAnN7.js → SettingsSubPanelLayout-nMEM9Js5.js} +6 -6
  37. package/dist/SimpleButtonControl-Cs9fDA9V.js +49 -0
  38. package/dist/{SimpleTwinlistControl-BCZ8bawe.js → SimpleTwinlistControl-CMJCJOPx.js} +2 -2
  39. package/dist/{SingleSelectControl-Dej4aS7t.js → SingleSelectControl-DrqxOX0c.js} +2 -2
  40. package/dist/{SingleSelectListBoxControl-BfJjjRQn.js → SingleSelectListBoxControl-2ORQoAtg.js} +5 -5
  41. package/dist/{SortListControl-BzZCSfie.js → SortListControl-BLWFLyUn.js} +35 -36
  42. package/dist/{StyledListItem-BSq6JKC8.js → StyledListItem-DhsQSwUn.js} +1 -1
  43. package/dist/{TextAreaControl-jzV7HC6S.js → TextAreaControl-v3fhzCGm.js} +1 -1
  44. package/dist/{TextControl-1b_uj1FP.js → TextControl-CNlNwI8q.js} +1 -1
  45. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-BoZDe5bd.js → TextControl.vue_vue_type_script_setup_true_lang-BQReBqLi.js} +5 -5
  46. package/dist/{TimeControl-BYogu7kA.js → TimeControl-uBNUovJi.js} +1 -1
  47. package/dist/{TwinlistControlBase-Bd5_Uuq-.js → TwinlistControlBase-BfsU0lp4.js} +3 -3
  48. package/dist/{TwinlistLoadingInfo-3TeV4Gdp.js → TwinlistLoadingInfo-CZpH6CqT.js} +4 -4
  49. package/dist/{TypedStringFilter-CU8Og0OV.js → TypedStringFilter-ElEPYctF.js} +1 -1
  50. package/dist/{ValueSwitch-DjDuJdNN.js → ValueSwitch-BfYlPI2B.js} +4 -4
  51. package/dist/{ValueSwitchControl-D1saOV7r.js → ValueSwitchControl-DyV85jLv.js} +1 -1
  52. package/dist/{VerticalLayout-g5Won-Pb.js → VerticalLayout-CFGNNSaB.js} +2 -2
  53. package/dist/{VerticalLayoutBase-CGb9hUYx.js → VerticalLayoutBase-CCtK1J1U.js} +1 -1
  54. package/dist/{ZonedDateTimeControl-CtgGTCQc.js → ZonedDateTimeControl-BtPeUK4M.js} +17 -19
  55. package/dist/{_baseEach-GM1_9gpl.js → _baseEach-DR1qyPMo.js} +7 -8
  56. package/dist/_baseIteratee-DrBvc1GG.js +640 -0
  57. package/dist/knime-jsonforms.css +1 -1
  58. package/dist/knime-jsonforms.js +7 -7
  59. package/dist/{localTimeUtils-5E_obOH5.js → localTimeUtils-C1z-tWPY.js} +3934 -3328
  60. package/dist/{popper-LGjf7Wza.js → popper-D54JdmBM.js} +212 -208
  61. package/dist/src/constants/inputFormats.d.ts +1 -0
  62. package/dist/src/renderers/colorPreviewRenderer.d.ts +69 -0
  63. package/dist/src/renderers/defaultRenderers.d.ts +150 -22
  64. package/dist/src/renderers/simpleButtonRenderer.d.ts +81 -22
  65. package/dist/src/uiComponents/ColorPreviewControl.vue.d.ts +11 -0
  66. package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +1 -1
  67. package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +14 -11
  68. package/dist/src/uiComponents/colorPreview/ColorPreviewEmptyState.vue.d.ts +2 -0
  69. package/dist/src/uiComponents/colorPreview/GradientPreview.vue.d.ts +6 -0
  70. package/dist/src/uiComponents/colorPreview/PalettePreview.vue.d.ts +6 -0
  71. package/dist/testing.js +2 -2
  72. package/dist/toString-lufkO4XX.js +25 -0
  73. package/dist/{useBuiltinValidations-V_W_S2ya.js → useBuiltinValidations-CXYzLTj1.js} +1 -1
  74. package/dist/{usePossibleValues-CcLAFNOh.js → usePossibleValues-BGGWIVzM.js} +1 -1
  75. package/package.json +4 -4
  76. package/dist/Button-DPBuV8Ju.js +0 -82
  77. package/dist/DateTimeFormatInput-BjdyxUQY.js +0 -374
  78. package/dist/DateTimeFormatPickerControl-CV6pc2KZ.js +0 -40
  79. package/dist/DateTimeFormatPickerWithTypeControl-DyGt-WGp.js +0 -76
  80. package/dist/Dropdown-DlCk3K9Y.js +0 -620
  81. package/dist/LoadingIcon-Br99Lv_8.js +0 -18
  82. package/dist/SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-BYoCo820.js +0 -18542
  83. package/dist/SettingsSubPanel-DLmH_M05.js +0 -5
  84. package/dist/SimpleButtonControl-CdMqbvzO.js +0 -68
  85. package/dist/_baseIteratee-CHnCehKu.js +0 -516
  86. package/dist/_getTag-D-KT4MkB.js +0 -131
  87. package/dist/hotkeys-rxnt4egK.js +0 -6
  88. package/dist/isArray-WzO_os3q.js +0 -4
  89. package/dist/reload-DjY4GPvr.js +0 -17
  90. package/dist/src/uiComponents/DynamicIcon.vue.d.ts +0 -7
  91. package/dist/toString-D64mIKfx.js +0 -25
@@ -25,6 +25,7 @@ export declare const inputFormats: {
25
25
  readonly dateTimeFormatWithType: "dateTimeFormatWithType";
26
26
  readonly dateTimeFormat: "dateTimeFormat";
27
27
  readonly color: "color";
28
+ readonly colorPreview: "colorPreview";
28
29
  readonly multiSelectListBox: "multiSelectListBox";
29
30
  readonly singleSelectListBox: "singleSelectListBox";
30
31
  };
@@ -0,0 +1,69 @@
1
+ export declare const colorPreviewRenderer: {
2
+ name: string;
3
+ control: import('vue').DefineComponent<{
4
+ control: {
5
+ data: undefined;
6
+ uischema: {
7
+ providedOptions?: string[];
8
+ id?: string;
9
+ };
10
+ } & Omit<{
11
+ uischema: import('@jsonforms/core').ControlElement;
12
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
13
+ path: string;
14
+ enabled: boolean;
15
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
16
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
17
+ tester: import('@jsonforms/core').RankedTester;
18
+ cell: any;
19
+ }[];
20
+ config: any;
21
+ label: string;
22
+ description: string;
23
+ required: NonNullable<boolean | undefined>;
24
+ i18nKeyPrefix: string;
25
+ errors: string;
26
+ data: any;
27
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
28
+ id: string;
29
+ visible: boolean;
30
+ }, "data">;
31
+ handleChange: (path: string, value: unknown) => void;
32
+ changeValue: (newValue: undefined) => void;
33
+ disabled: boolean;
34
+ labelForId?: null;
35
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<undefined>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
36
+ control: {
37
+ data: undefined;
38
+ uischema: {
39
+ providedOptions?: string[];
40
+ id?: string;
41
+ };
42
+ } & Omit<{
43
+ uischema: import('@jsonforms/core').ControlElement;
44
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
45
+ path: string;
46
+ enabled: boolean;
47
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
48
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
49
+ tester: import('@jsonforms/core').RankedTester;
50
+ cell: any;
51
+ }[];
52
+ config: any;
53
+ label: string;
54
+ description: string;
55
+ required: NonNullable<boolean | undefined>;
56
+ i18nKeyPrefix: string;
57
+ errors: string;
58
+ data: any;
59
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
60
+ id: string;
61
+ visible: boolean;
62
+ }, "data">;
63
+ handleChange: (path: string, value: unknown) => void;
64
+ changeValue: (newValue: undefined) => void;
65
+ disabled: boolean;
66
+ labelForId?: null;
67
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<undefined>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
68
+ tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
69
+ };
@@ -26,6 +26,75 @@ export declare const controls: {
26
26
  control: import('..').VueControl<number>;
27
27
  };
28
28
  checkboxesRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string[]>>;
29
+ colorPreviewRenderer: {
30
+ name: string;
31
+ control: import('vue').DefineComponent<{
32
+ control: {
33
+ data: undefined;
34
+ uischema: {
35
+ providedOptions?: string[];
36
+ id?: string;
37
+ };
38
+ } & Omit<{
39
+ uischema: import('@jsonforms/core').ControlElement;
40
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
41
+ path: string;
42
+ enabled: boolean;
43
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
44
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
45
+ tester: import('@jsonforms/core').RankedTester;
46
+ cell: any;
47
+ }[];
48
+ config: any;
49
+ label: string;
50
+ description: string;
51
+ required: NonNullable<boolean | undefined>;
52
+ i18nKeyPrefix: string;
53
+ errors: string;
54
+ data: any;
55
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
56
+ id: string;
57
+ visible: boolean;
58
+ }, "data">;
59
+ handleChange: (path: string, value: unknown) => void;
60
+ changeValue: (newValue: undefined) => void;
61
+ disabled: boolean;
62
+ labelForId?: null;
63
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<undefined>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
64
+ control: {
65
+ data: undefined;
66
+ uischema: {
67
+ providedOptions?: string[];
68
+ id?: string;
69
+ };
70
+ } & Omit<{
71
+ uischema: import('@jsonforms/core').ControlElement;
72
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
73
+ path: string;
74
+ enabled: boolean;
75
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
76
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
77
+ tester: import('@jsonforms/core').RankedTester;
78
+ cell: any;
79
+ }[];
80
+ config: any;
81
+ label: string;
82
+ description: string;
83
+ required: NonNullable<boolean | undefined>;
84
+ i18nKeyPrefix: string;
85
+ errors: string;
86
+ data: any;
87
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
88
+ id: string;
89
+ visible: boolean;
90
+ }, "data">;
91
+ handleChange: (path: string, value: unknown) => void;
92
+ changeValue: (newValue: undefined) => void;
93
+ disabled: boolean;
94
+ labelForId?: null;
95
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<undefined>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
96
+ tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
97
+ };
29
98
  colorRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string | null>>;
30
99
  typedStringFilterRenderer: import('..').SpecialControlRenderer<import('..').VueControl<import('../uiComponents/twinlist/MultimodeTwinlistControl.vue').TwinlistData>>;
31
100
  comboBoxRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string[]>>;
@@ -993,16 +1062,8 @@ export declare const controls: {
993
1062
  } | null | undefined>>;
994
1063
  simpleButtonRenderer: {
995
1064
  name: string;
996
- control: <SettingValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
997
- slots: {
998
- buttons?(_: {
999
- hover: boolean;
1000
- }): any;
1001
- };
1002
- attrs: any;
1003
- emit: {};
1004
- }, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1005
- props: {
1065
+ control: {
1066
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
1006
1067
  control: {
1007
1068
  data: undefined;
1008
1069
  uischema: {
@@ -1033,22 +1094,89 @@ export declare const controls: {
1033
1094
  handleChange: (path: string, value: unknown) => void;
1034
1095
  changeValue: (newValue: undefined) => void;
1035
1096
  disabled: boolean;
1036
- labelForId?: null | undefined;
1037
- isValid: boolean;
1038
- messages: import('../higherOrderComponents/control/validation/types').Messages;
1039
- onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => () => void;
1040
- } & import('vue').PublicProps;
1041
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
1042
- attrs: any;
1043
- slots: {
1097
+ labelForId?: null;
1098
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<undefined>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
1099
+ P: {};
1100
+ B: {};
1101
+ D: {};
1102
+ C: {};
1103
+ M: {};
1104
+ Defaults: {};
1105
+ }, Readonly<{
1106
+ control: {
1107
+ data: undefined;
1108
+ uischema: {
1109
+ providedOptions?: string[];
1110
+ id?: string;
1111
+ };
1112
+ } & Omit<{
1113
+ uischema: import('@jsonforms/core').ControlElement;
1114
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
1115
+ path: string;
1116
+ enabled: boolean;
1117
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
1118
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
1119
+ tester: import('@jsonforms/core').RankedTester;
1120
+ cell: any;
1121
+ }[];
1122
+ config: any;
1123
+ label: string;
1124
+ description: string;
1125
+ required: NonNullable<boolean | undefined>;
1126
+ i18nKeyPrefix: string;
1127
+ errors: string;
1128
+ data: any;
1129
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
1130
+ id: string;
1131
+ visible: boolean;
1132
+ }, "data">;
1133
+ handleChange: (path: string, value: unknown) => void;
1134
+ changeValue: (newValue: undefined) => void;
1135
+ disabled: boolean;
1136
+ labelForId?: null;
1137
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<undefined>> & Readonly<{}>, {}, {}, {}, {}, {}>;
1138
+ __isFragment?: never;
1139
+ __isTeleport?: never;
1140
+ __isSuspense?: never;
1141
+ } & import('vue').ComponentOptionsBase<Readonly<{
1142
+ control: {
1143
+ data: undefined;
1144
+ uischema: {
1145
+ providedOptions?: string[];
1146
+ id?: string;
1147
+ };
1148
+ } & Omit<{
1149
+ uischema: import('@jsonforms/core').ControlElement;
1150
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
1151
+ path: string;
1152
+ enabled: boolean;
1153
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
1154
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
1155
+ tester: import('@jsonforms/core').RankedTester;
1156
+ cell: any;
1157
+ }[];
1158
+ config: any;
1159
+ label: string;
1160
+ description: string;
1161
+ required: NonNullable<boolean | undefined>;
1162
+ i18nKeyPrefix: string;
1163
+ errors: string;
1164
+ data: any;
1165
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
1166
+ id: string;
1167
+ visible: boolean;
1168
+ }, "data">;
1169
+ handleChange: (path: string, value: unknown) => void;
1170
+ changeValue: (newValue: undefined) => void;
1171
+ disabled: boolean;
1172
+ labelForId?: null;
1173
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<undefined>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
1174
+ $slots: {
1044
1175
  buttons?(_: {
1045
1176
  hover: boolean;
1046
1177
  }): any;
1047
1178
  };
1048
- emit: {};
1049
- }>) => import('vue').VNode & {
1050
- __ctx?: Awaited<typeof __VLS_setup>;
1051
- };
1179
+ });
1052
1180
  tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
1053
1181
  };
1054
1182
  textMessageRenderer: {
@@ -1,15 +1,46 @@
1
1
  export declare const simpleButtonRenderer: {
2
2
  name: string;
3
- control: <SettingValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: {
4
- slots: {
5
- buttons?(_: {
6
- hover: boolean;
7
- }): any;
8
- };
9
- attrs: any;
10
- emit: {};
11
- }, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
12
- props: {
3
+ control: {
4
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
5
+ control: {
6
+ data: undefined;
7
+ uischema: {
8
+ providedOptions?: string[];
9
+ id?: string;
10
+ };
11
+ } & Omit<{
12
+ uischema: import('@jsonforms/core').ControlElement;
13
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
14
+ path: string;
15
+ enabled: boolean;
16
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
17
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
18
+ tester: import('@jsonforms/core').RankedTester;
19
+ cell: any;
20
+ }[];
21
+ config: any;
22
+ label: string;
23
+ description: string;
24
+ required: NonNullable<boolean | undefined>;
25
+ i18nKeyPrefix: string;
26
+ errors: string;
27
+ data: any;
28
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
29
+ id: string;
30
+ visible: boolean;
31
+ }, "data">;
32
+ handleChange: (path: string, value: unknown) => void;
33
+ changeValue: (newValue: undefined) => void;
34
+ disabled: boolean;
35
+ labelForId?: null;
36
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<undefined>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
37
+ P: {};
38
+ B: {};
39
+ D: {};
40
+ C: {};
41
+ M: {};
42
+ Defaults: {};
43
+ }, Readonly<{
13
44
  control: {
14
45
  data: undefined;
15
46
  uischema: {
@@ -40,21 +71,49 @@ export declare const simpleButtonRenderer: {
40
71
  handleChange: (path: string, value: unknown) => void;
41
72
  changeValue: (newValue: undefined) => void;
42
73
  disabled: boolean;
43
- labelForId?: null | undefined;
44
- isValid: boolean;
45
- messages: import('../higherOrderComponents/control/validation/types').Messages;
46
- onRegisterValidation: (validation: import('../higherOrderComponents/control/validation/types').ValidationMethod<undefined>) => () => void;
47
- } & import('vue').PublicProps;
48
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
49
- attrs: any;
50
- slots: {
74
+ labelForId?: null;
75
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<undefined>> & Readonly<{}>, {}, {}, {}, {}, {}>;
76
+ __isFragment?: never;
77
+ __isTeleport?: never;
78
+ __isSuspense?: never;
79
+ } & import('vue').ComponentOptionsBase<Readonly<{
80
+ control: {
81
+ data: undefined;
82
+ uischema: {
83
+ providedOptions?: string[];
84
+ id?: string;
85
+ };
86
+ } & Omit<{
87
+ uischema: import('@jsonforms/core').ControlElement;
88
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
89
+ path: string;
90
+ enabled: boolean;
91
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
92
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
93
+ tester: import('@jsonforms/core').RankedTester;
94
+ cell: any;
95
+ }[];
96
+ config: any;
97
+ label: string;
98
+ description: string;
99
+ required: NonNullable<boolean | undefined>;
100
+ i18nKeyPrefix: string;
101
+ errors: string;
102
+ data: any;
103
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
104
+ id: string;
105
+ visible: boolean;
106
+ }, "data">;
107
+ handleChange: (path: string, value: unknown) => void;
108
+ changeValue: (newValue: undefined) => void;
109
+ disabled: boolean;
110
+ labelForId?: null;
111
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<undefined>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
112
+ $slots: {
51
113
  buttons?(_: {
52
114
  hover: boolean;
53
115
  }): any;
54
116
  };
55
- emit: {};
56
- }>) => import('vue').VNode & {
57
- __ctx?: Awaited<typeof __VLS_setup>;
58
- };
117
+ });
59
118
  tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
60
119
  };
@@ -0,0 +1,11 @@
1
+ import { VueControlProps } from '../higherOrderComponents/control/types';
2
+ export type Palette = {
3
+ colors: string[];
4
+ };
5
+ export type Gradient = {
6
+ colors: string[];
7
+ stops: number[] | null;
8
+ };
9
+ type __VLS_Props = VueControlProps<undefined>;
10
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
11
+ export default _default;
@@ -1,4 +1,4 @@
1
1
  import { VueControlPropsForLabelContent } from '../higherOrderComponents/control/withLabel';
2
2
  type __VLS_Props = VueControlPropsForLabelContent<string>;
3
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
3
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
4
4
  export default _default;
@@ -1,18 +1,21 @@
1
- import { VueControlProps } from '../higherOrderComponents/control/types';
2
- declare const _default: <SettingValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
3
- props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, never> & VueControlProps<undefined> & Partial<{}>> & import('vue').PublicProps;
4
- expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
5
- attrs: any;
1
+ import { VueControlProps } from '../higherOrderComponents';
2
+ type __VLS_Props = VueControlProps<undefined>;
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
6
5
  slots: {
7
6
  buttons?(_: {
8
7
  hover: boolean;
9
8
  }): any;
10
9
  };
11
- emit: {};
12
- }>) => import('vue').VNode & {
13
- __ctx?: Awaited<typeof __VLS_setup>;
10
+ refs: {};
11
+ rootEl: HTMLDivElement;
14
12
  };
13
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
15
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
15
16
  export default _default;
16
- type __VLS_PrettifyLocal<T> = {
17
- [K in keyof T]: T[K];
18
- } & {};
17
+ type __VLS_WithTemplateSlots<T, S> = T & {
18
+ new (): {
19
+ $slots: S;
20
+ };
21
+ };
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { Gradient } from '../ColorPreviewControl.vue';
2
+ type Props = {
3
+ gradient: Gradient;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
@@ -0,0 +1,6 @@
1
+ import { Palette } from '../ColorPreviewControl.vue';
2
+ type Props = {
3
+ palette: Palette;
4
+ };
5
+ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ export default _default;
package/dist/testing.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as th from "vue";
2
2
  import { ssrUtils as Pi, initDirectivesForSSR as U_, nextTick as ho, defineComponent as fi, computed as Cr, h as wn, shallowReactive as W_, reactive as z_, ref as nh, createApp as K_, transformVNodeArgs as G_, setDevtoolsHook as H_, isRef as X_, TransitionGroup as Y_, Transition as J_, BaseTransition as Q_ } from "vue";
3
- import { q as Z_, r as em, e as tm } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-BYoCo820.js";
4
- import { b as nm } from "./_baseIteratee-CHnCehKu.js";
3
+ import { q as Z_, r as em, e as tm } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
4
+ import { b as nm } from "./_baseIteratee-DrBvc1GG.js";
5
5
  function rm(e, t) {
6
6
  return e > t;
7
7
  }
@@ -0,0 +1,25 @@
1
+ import { q as g, S as s } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
2
+ function l(r, n) {
3
+ for (var t = -1, i = r == null ? 0 : r.length, o = Array(i); ++t < i; )
4
+ o[t] = n(r[t], t, r);
5
+ return o;
6
+ }
7
+ var u = Array.isArray, e = s ? s.prototype : void 0, f = e ? e.toString : void 0;
8
+ function y(r) {
9
+ if (typeof r == "string")
10
+ return r;
11
+ if (u(r))
12
+ return l(r, y) + "";
13
+ if (g(r))
14
+ return f ? f.call(r) : "";
15
+ var n = r + "";
16
+ return n == "0" && 1 / r == -1 / 0 ? "-0" : n;
17
+ }
18
+ function m(r) {
19
+ return r == null ? "" : y(r);
20
+ }
21
+ export {
22
+ l as a,
23
+ u as i,
24
+ m as t
25
+ };
@@ -1,5 +1,5 @@
1
1
  import { onUnmounted as u, toRef as p, computed as d } from "vue";
2
- import { u as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-BYoCo820.js";
2
+ import { u as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
3
3
  const h = (t = {}) => t.validation || null, m = (t) => t.replace(/^validation\./, ""), v = (t) => {
4
4
  const a = (t.providedOptions ?? []).filter(
5
5
  (e) => e.startsWith("validation.")
@@ -1,5 +1,5 @@
1
1
  import { computed as l } from "vue";
2
- import { u as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-BYoCo820.js";
2
+ import { u as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-B1Ey6pj2.js";
3
3
  const t = (s, e) => {
4
4
  const u = l(() => s.value.uischema), o = d(u, "possibleValues");
5
5
  return { possibleValues: l(() => u.value.providedOptions?.includes("possibleValues") ? o.value : u.value.options?.possibleValues ?? (typeof e?.defaultOnNonProvided > "u" ? [] : e?.defaultOnNonProvided)) };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/jsonforms",
3
- "version": "1.19.2",
3
+ "version": "1.19.4",
4
4
  "description": "Internal JSON Forms integration for frontend KNIME projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,15 +16,15 @@
16
16
  "@jsonforms/core": "3.4.0",
17
17
  "@jsonforms/vue": "3.4.0",
18
18
  "@jsonforms/vue-vanilla": "3.4.0",
19
- "@knime/kds-components": "0.16.0",
19
+ "@knime/kds-components": "0.17.2",
20
20
  "ajv": "8.18.0",
21
21
  "date-fns": "2.30.0",
22
22
  "focus-trap-vue": "4.0.3",
23
23
  "tabbable": "6.2.0",
24
24
  "uuid": "13.0.0",
25
- "@knime/styles": "1.15.0",
26
- "@knime/rich-text-editor": "1.8.15",
27
25
  "@knime/components": "1.45.9",
26
+ "@knime/rich-text-editor": "1.8.15",
27
+ "@knime/styles": "1.15.0",
28
28
  "@knime/utils": "1.10.1"
29
29
  },
30
30
  "peerDependencies": {
@@ -1,82 +0,0 @@
1
- import { defineComponent as o, resolveComponent as a, openBlock as s, createBlock as n, normalizeClass as r, withCtx as l, renderSlot as i } from "vue";
2
- import { B as p, _ as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_2310b6b8_lang-BYoCo820.js";
3
- const c = o({
4
- name: "Button",
5
- components: {
6
- BaseButton: p
7
- },
8
- props: {
9
- /**
10
- * @see {@link BaseButton.vue}
11
- */
12
- /**
13
- * show button with border
14
- */
15
- withBorder: {
16
- type: Boolean,
17
- default: !1
18
- },
19
- /**
20
- * switches colors to use button on a dark background
21
- */
22
- onDark: {
23
- type: Boolean,
24
- default: !1
25
- },
26
- /**
27
- * switches colors
28
- */
29
- primary: {
30
- type: Boolean,
31
- default: !1
32
- },
33
- /**
34
- * smaller font size and padding
35
- */
36
- compact: {
37
- type: Boolean,
38
- default: !1
39
- },
40
- /**
41
- * show button in an error state
42
- * - requires withBorder
43
- * - doesnt work onDark
44
- */
45
- withWarning: {
46
- type: Boolean,
47
- default: !1
48
- },
49
- disabled: {
50
- type: Boolean,
51
- default: !1
52
- }
53
- },
54
- computed: {
55
- classes() {
56
- return [
57
- "button",
58
- { primary: this.primary },
59
- { "with-border": this.withBorder },
60
- { "with-warning": this.withWarning },
61
- { "on-dark": this.onDark },
62
- { compact: this.compact }
63
- ];
64
- }
65
- }
66
- });
67
- function f(e, B, u, m, h, _) {
68
- const t = a("BaseButton");
69
- return s(), n(t, {
70
- class: r(e.classes),
71
- disabled: e.disabled
72
- }, {
73
- default: l(() => [
74
- i(e.$slots, "default")
75
- ]),
76
- _: 3
77
- }, 8, ["class", "disabled"]);
78
- }
79
- const b = /* @__PURE__ */ d(c, [["render", f], ["__scopeId", "data-v-497027a0"]]);
80
- export {
81
- b as B
82
- };