@knime/jsonforms 1.21.16 → 1.21.19

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 (105) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/AnyOfTwinlist-Chx0nmt3.js +23 -0
  3. package/dist/CheckboxControl-B8b1Di4k.js +40 -0
  4. package/dist/CheckboxesControl-DWUnPGdN.js +39 -0
  5. package/dist/{ColorControl-wEr-pQ4g.js → ColorControl-ByE5ku7u.js} +10 -8
  6. package/dist/{ColorPreviewControl-B7aXaak-.js → ColorPreviewControl-XiKZ4jfn.js} +28 -28
  7. package/dist/ComboBoxControl-zSceYlyZ.js +39 -0
  8. package/dist/DateControl-BBGpEVpr.js +44 -0
  9. package/dist/DateTimeControl-CymOURq5.js +80 -0
  10. package/dist/DateTimeFormatPickerControl-Bx19jwpr.js +34 -0
  11. package/dist/{DateTimeFormatPickerWithTypeControl-BVG_BSaN.js → DateTimeFormatPickerWithTypeControl-Byo_0cTq.js} +30 -29
  12. package/dist/DropdownControl-C6ffVYyf.js +32 -0
  13. package/dist/{ExecutorCoresControl-Cphh4q2c.js → ExecutorCoresControl-D9FZ-g9O.js} +10 -9
  14. package/dist/{ExecutorMemoryControl-BQDSkKjf.js → ExecutorMemoryControl-__P80Lkb.js} +9 -8
  15. package/dist/{FileUploadControl-CnPXEafs.js → FileUploadControl-DWs4PhOj.js} +53 -52
  16. package/dist/{GridSelectionControl-093qWj_x.js → GridSelectionControl-WcJ4y6Fs.js} +27 -26
  17. package/dist/{HorizontalLayout-D07DfljM.js → HorizontalLayout-ByB5A7X3.js} +6 -6
  18. package/dist/{IntegerControl-D0qSSA_X.js → IntegerControl-aveswmbr.js} +5 -4
  19. package/dist/IntervalControl-B4Eqs1Jf.js +51 -0
  20. package/dist/LinkControl-DD56lOiw.js +35 -0
  21. package/dist/{LoadingDropdown.vue_vue_type_script_setup_true_lang-B4K9Nnse.js → LoadingDropdown.vue_vue_type_script_setup_true_lang-CscatDmg.js} +5 -5
  22. package/dist/ManualTwinlistControl-DBZ5RZgW.js +74 -0
  23. package/dist/{MultiSelectListBoxControl-qdxrfyqT.js → MultiSelectListBoxControl-BMsPvxGQ.js} +53 -52
  24. package/dist/{MultimodeTwinlistControl-DKNf9s6C.js → MultimodeTwinlistControl-thO1be1r.js} +1 -1
  25. package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-CKcpm_I1.js +159 -0
  26. package/dist/{NameFilter-DxsfvMYP.js → NameFilter-DBMVmZmk.js} +7 -6
  27. package/dist/{NumberControl-gRIAl0Xw.js → NumberControl-BPVO5l6t.js} +7 -6
  28. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-CR61f6d6.js +52 -0
  29. package/dist/{OneOfDropdown-6EW73QQp.js → OneOfDropdown-DBG8ZcpV.js} +13 -11
  30. package/dist/{RadioButtonsWithDescriptionControl-DDdnwXUW.js → RadioButtonsWithDescriptionControl-BsqMTEB5.js} +15 -15
  31. package/dist/{RadioControl-BOGJkSzd.js → RadioControl-ClJmr0EQ.js} +5 -4
  32. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-Bm4EUEvw.js +57 -0
  33. package/dist/{ResourceControlBase-D-oG-tP4.js → ResourceControlBase-CeXYJeR1.js} +21 -18
  34. package/dist/{RichTextControl-FgGsWYtG.js → RichTextControl-DvYkBpzH.js} +2796 -2626
  35. package/dist/SectionHeading-7KVIxCGG.js +61 -0
  36. package/dist/{SectionLayout-Bo11XVly.js → SectionLayout-CwRO3UXc.js} +3 -3
  37. package/dist/SettingsSubPanel-i2sjXJXx.js +5 -0
  38. package/dist/SettingsSubPanelLayout-CV6y2bcX.js +67 -0
  39. package/dist/{SimpleButtonControl-QdWssOCJ.js → SimpleButtonControl-D58aXnm7.js} +14 -14
  40. package/dist/{SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js → SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.js} +9583 -9612
  41. package/dist/{SimpleTwinlistControl-CAaKpaUA.js → SimpleTwinlistControl-BSON5VYy.js} +6 -5
  42. package/dist/{SingleSelectControl-D7D5AanU.js → SingleSelectControl-BSqORMYm.js} +21 -19
  43. package/dist/{SingleSelectListBoxControl-XeWCleLY.js → SingleSelectListBoxControl-CFdKzbOK.js} +18 -17
  44. package/dist/SortListControl-DZIHeQmn.js +105 -0
  45. package/dist/{StyledListItem-CjOv-VlL.js → StyledListItem--sgmJ3W_.js} +1 -1
  46. package/dist/{TeamAndSpacesControl-DFrotXG1.js → TeamAndSpacesControl-DiMyDT-5.js} +16 -15
  47. package/dist/{TeamResourceControl-BnBXHcn9.js → TeamResourceControl-Bag_dwA1.js} +12 -11
  48. package/dist/{TextAreaControl-9YsuIVg_.js → TextAreaControl-B52P0DAa.js} +10 -8
  49. package/dist/{TextControl-BrUMvx4G.js → TextControl-52n-sttB.js} +1 -1
  50. package/dist/{TextControl.vue_vue_type_script_setup_true_lang-4BT0xCnX.js → TextControl.vue_vue_type_script_setup_true_lang-DrD-RvHO.js} +16 -14
  51. package/dist/{TimeControl-DvzIDb-2.js → TimeControl-Cu12_qpz.js} +26 -24
  52. package/dist/{TimeframesControl-2GAc0ndD.js → TimeframesControl-DhdC8OS1.js} +7 -6
  53. package/dist/{TwinlistControlBase.vue_vue_type_script_setup_true_lang-Chqnf11f.js → TwinlistControlBase.vue_vue_type_script_setup_true_lang-t1I2qxJz.js} +14 -11
  54. package/dist/{TypedStringFilter-mklK-qwG.js → TypedStringFilter-zJOICQei.js} +5 -4
  55. package/dist/{ValueSwitchControl-BOUlFthR.js → ValueSwitchControl-CEVWJH7z.js} +6 -5
  56. package/dist/{VerticalLayout-u04mODMq.js → VerticalLayout-D_13xb_m.js} +2 -2
  57. package/dist/{VerticalLayoutBase-rWbtLYJT.js → VerticalLayoutBase-CYfG9KqS.js} +2 -2
  58. package/dist/ZonedDateTimeControl-C-vO6fC1.js +79 -0
  59. package/dist/{_Uint8Array-S1XaShiS.js → _Uint8Array-DdGQvEX6.js} +27 -27
  60. package/dist/collection-BBXRVj4b-DzRZ2FYd.js +22 -0
  61. package/dist/knime-jsonforms.css +1 -1
  62. package/dist/knime-jsonforms.js +107 -99
  63. package/dist/src/JsonFormsDialog.vue.d.ts +6 -6
  64. package/dist/src/higherOrderComponents/control/index.d.ts +1 -2
  65. package/dist/src/higherOrderComponents/control/util.d.ts +4 -5
  66. package/dist/src/higherOrderComponents/control/validation/types.d.ts +2 -2
  67. package/dist/src/higherOrderComponents/control/withLabel.d.ts +1 -1
  68. package/dist/src/layoutComponents/section/SectionHeading.vue.d.ts +7 -3
  69. package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanel.vue.d.ts +0 -1
  70. package/dist/src/layoutComponents/simpleArrayLayout/SimpleArrayLayout.vue.d.ts +1 -1
  71. package/dist/src/renderers/checkboxRenderer.d.ts +120 -1
  72. package/dist/src/renderers/defaultRenderers.d.ts +120 -1
  73. package/dist/src/renderers/fallbackRenderers.d.ts +120 -1
  74. package/dist/src/renderers/simpleArrayLayoutRenderer.d.ts +1 -1
  75. package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +3 -3
  76. package/dist/testing.js +3 -3
  77. package/dist/{toString-DXjInt1t.js → toString-f8odPeFb.js} +1 -1
  78. package/dist/{useBuiltinValidations-CFNcCpco.js → useBuiltinValidations-KbChI8vv.js} +1 -1
  79. package/dist/{usePossibleValues-yDswh8Qc.js → usePossibleValues-DiYOmnZW.js} +1 -1
  80. package/dist/{useUnknownValuesInTwinlist-BSnLQI_Q.js → useUnknownValuesInTwinlist-BhhirtmX.js} +1 -1
  81. package/package.json +2 -2
  82. package/dist/AnyOfTwinlist-BCIsT83q.js +0 -22
  83. package/dist/CheckboxControl-CjiUwvWU.js +0 -38
  84. package/dist/CheckboxesControl-CAHj0UnX.js +0 -37
  85. package/dist/ComboBoxControl-hveFsDLi.js +0 -37
  86. package/dist/DateControl-BtCCimuA.js +0 -42
  87. package/dist/DateTimeControl-Bll2rZlX.js +0 -78
  88. package/dist/DateTimeFormatPickerControl-CsKD9vWJ.js +0 -32
  89. package/dist/DropdownControl-DA8lNfVk.js +0 -30
  90. package/dist/IntervalControl-vOi33CZB.js +0 -48
  91. package/dist/LinkControl-D5t3awqb.js +0 -35
  92. package/dist/ManualTwinlistControl-BQ4H-fRR.js +0 -72
  93. package/dist/MultimodeTwinlistControl.vue_vue_type_script_setup_true_lang-DHx6nrqi.js +0 -157
  94. package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-DEG90Gdx.js +0 -50
  95. package/dist/RadioControlBase.vue_vue_type_script_setup_true_lang-BOuoChe1.js +0 -52
  96. package/dist/SectionHeading-xMNeMcnS.js +0 -19
  97. package/dist/SettingsSubPanel-D_FDP5Zc.js +0 -5
  98. package/dist/SettingsSubPanelLayout-Dp_jLbsR.js +0 -73
  99. package/dist/SortListControl-kjhkdRwC.js +0 -103
  100. package/dist/ZonedDateTimeControl-BzV5ZuYf.js +0 -77
  101. package/dist/arrow-next-BQULX8HT.js +0 -17
  102. package/dist/src/higherOrderComponents/control/errorMessage/ErrorLine.vue.d.ts +0 -5
  103. package/dist/src/higherOrderComponents/control/errorMessage/ErrorMessages.vue.d.ts +0 -23
  104. package/dist/src/higherOrderComponents/control/errorMessage/withErrorMessage.d.ts +0 -11
  105. package/dist/src/layoutComponents/settingsSubPanel/SettingsSubPanelBackArrow.vue.d.ts +0 -10
@@ -11,7 +11,126 @@ export declare const controls: {
11
11
  control: import('..').VueControl<string>;
12
12
  };
13
13
  textRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string | null>>;
14
- checkboxRenderer: import('..').SpecialControlRenderer<import('..').VueControl<boolean>>;
14
+ checkboxRenderer: {
15
+ name: string;
16
+ control: {
17
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
18
+ control: {
19
+ data: boolean;
20
+ uischema: {
21
+ providedOptions?: string[];
22
+ id?: string;
23
+ };
24
+ } & Omit<{
25
+ uischema: import('@jsonforms/core').ControlElement;
26
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
27
+ path: string;
28
+ enabled: boolean;
29
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
30
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
31
+ tester: import('@jsonforms/core').RankedTester;
32
+ cell: any;
33
+ }[];
34
+ config: any;
35
+ label: string;
36
+ description: string;
37
+ required: NonNullable<boolean | undefined>;
38
+ i18nKeyPrefix: string;
39
+ errors: string;
40
+ data: any;
41
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
42
+ id: string;
43
+ visible: boolean;
44
+ }, "data">;
45
+ handleChange: (path: string, value: unknown) => void;
46
+ changeValue: (newValue: boolean) => void;
47
+ disabled: boolean;
48
+ labelForId?: null;
49
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
50
+ P: {};
51
+ B: {};
52
+ D: {};
53
+ C: {};
54
+ M: {};
55
+ Defaults: {};
56
+ }, Readonly<{
57
+ control: {
58
+ data: boolean;
59
+ uischema: {
60
+ providedOptions?: string[];
61
+ id?: string;
62
+ };
63
+ } & Omit<{
64
+ uischema: import('@jsonforms/core').ControlElement;
65
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
66
+ path: string;
67
+ enabled: boolean;
68
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
69
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
70
+ tester: import('@jsonforms/core').RankedTester;
71
+ cell: any;
72
+ }[];
73
+ config: any;
74
+ label: string;
75
+ description: string;
76
+ required: NonNullable<boolean | undefined>;
77
+ i18nKeyPrefix: string;
78
+ errors: string;
79
+ data: any;
80
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
81
+ id: string;
82
+ visible: boolean;
83
+ }, "data">;
84
+ handleChange: (path: string, value: unknown) => void;
85
+ changeValue: (newValue: boolean) => void;
86
+ disabled: boolean;
87
+ labelForId?: null;
88
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & Readonly<{}>, {}, {}, {}, {}, {}>;
89
+ __isFragment?: never;
90
+ __isTeleport?: never;
91
+ __isSuspense?: never;
92
+ } & import('vue').ComponentOptionsBase<Readonly<{
93
+ control: {
94
+ data: boolean;
95
+ uischema: {
96
+ providedOptions?: string[];
97
+ id?: string;
98
+ };
99
+ } & Omit<{
100
+ uischema: import('@jsonforms/core').ControlElement;
101
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
102
+ path: string;
103
+ enabled: boolean;
104
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
105
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
106
+ tester: import('@jsonforms/core').RankedTester;
107
+ cell: any;
108
+ }[];
109
+ config: any;
110
+ label: string;
111
+ description: string;
112
+ required: NonNullable<boolean | undefined>;
113
+ i18nKeyPrefix: string;
114
+ errors: string;
115
+ data: any;
116
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
117
+ id: string;
118
+ visible: boolean;
119
+ }, "data">;
120
+ handleChange: (path: string, value: unknown) => void;
121
+ changeValue: (newValue: boolean) => void;
122
+ disabled: boolean;
123
+ labelForId?: null;
124
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & 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 () => {
125
+ $slots: {
126
+ icon?(_: {}): any;
127
+ buttons?(_: {
128
+ hover: boolean;
129
+ }): any;
130
+ };
131
+ });
132
+ tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
133
+ };
15
134
  anyOfTwinlistRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string[]>>;
16
135
  numberFallbackRenderer: {
17
136
  tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
@@ -7,7 +7,126 @@ export declare const fallbackControlRenderers: {
7
7
  control: import('..').VueControl<string>;
8
8
  };
9
9
  textRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string | null>>;
10
- checkboxRenderer: import('..').SpecialControlRenderer<import('..').VueControl<boolean>>;
10
+ checkboxRenderer: {
11
+ name: string;
12
+ control: {
13
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
14
+ control: {
15
+ data: boolean;
16
+ uischema: {
17
+ providedOptions?: string[];
18
+ id?: string;
19
+ };
20
+ } & Omit<{
21
+ uischema: import('@jsonforms/core').ControlElement;
22
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
23
+ path: string;
24
+ enabled: boolean;
25
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
26
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
27
+ tester: import('@jsonforms/core').RankedTester;
28
+ cell: any;
29
+ }[];
30
+ config: any;
31
+ label: string;
32
+ description: string;
33
+ required: NonNullable<boolean | undefined>;
34
+ i18nKeyPrefix: string;
35
+ errors: string;
36
+ data: any;
37
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
38
+ id: string;
39
+ visible: boolean;
40
+ }, "data">;
41
+ handleChange: (path: string, value: unknown) => void;
42
+ changeValue: (newValue: boolean) => void;
43
+ disabled: boolean;
44
+ labelForId?: null;
45
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
46
+ P: {};
47
+ B: {};
48
+ D: {};
49
+ C: {};
50
+ M: {};
51
+ Defaults: {};
52
+ }, Readonly<{
53
+ control: {
54
+ data: boolean;
55
+ uischema: {
56
+ providedOptions?: string[];
57
+ id?: string;
58
+ };
59
+ } & Omit<{
60
+ uischema: import('@jsonforms/core').ControlElement;
61
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
62
+ path: string;
63
+ enabled: boolean;
64
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
65
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
66
+ tester: import('@jsonforms/core').RankedTester;
67
+ cell: any;
68
+ }[];
69
+ config: any;
70
+ label: string;
71
+ description: string;
72
+ required: NonNullable<boolean | undefined>;
73
+ i18nKeyPrefix: string;
74
+ errors: string;
75
+ data: any;
76
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
77
+ id: string;
78
+ visible: boolean;
79
+ }, "data">;
80
+ handleChange: (path: string, value: unknown) => void;
81
+ changeValue: (newValue: boolean) => void;
82
+ disabled: boolean;
83
+ labelForId?: null;
84
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & Readonly<{}>, {}, {}, {}, {}, {}>;
85
+ __isFragment?: never;
86
+ __isTeleport?: never;
87
+ __isSuspense?: never;
88
+ } & import('vue').ComponentOptionsBase<Readonly<{
89
+ control: {
90
+ data: boolean;
91
+ uischema: {
92
+ providedOptions?: string[];
93
+ id?: string;
94
+ };
95
+ } & Omit<{
96
+ uischema: import('@jsonforms/core').ControlElement;
97
+ schema: NonNullable<import('@jsonforms/core').JsonSchema>;
98
+ path: string;
99
+ enabled: boolean;
100
+ renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
101
+ cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[] & {
102
+ tester: import('@jsonforms/core').RankedTester;
103
+ cell: any;
104
+ }[];
105
+ config: any;
106
+ label: string;
107
+ description: string;
108
+ required: NonNullable<boolean | undefined>;
109
+ i18nKeyPrefix: string;
110
+ errors: string;
111
+ data: any;
112
+ rootSchema: NonNullable<import('@jsonforms/core').JsonSchema>;
113
+ id: string;
114
+ visible: boolean;
115
+ }, "data">;
116
+ handleChange: (path: string, value: unknown) => void;
117
+ changeValue: (newValue: boolean) => void;
118
+ disabled: boolean;
119
+ labelForId?: null;
120
+ } & import('../higherOrderComponents/control/validation/types').ValidationSettings<boolean>> & 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 () => {
121
+ $slots: {
122
+ icon?(_: {}): any;
123
+ buttons?(_: {
124
+ hover: boolean;
125
+ }): any;
126
+ };
127
+ });
128
+ tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
129
+ };
11
130
  anyOfTwinlistRenderer: import('..').SpecialControlRenderer<import('..').VueControl<string[]>>;
12
131
  numberFallbackRenderer: {
13
132
  tester: (uischema: import('@jsonforms/core').UISchemaElement, schema: import('@jsonforms/core').JsonSchema, context: import('@jsonforms/core').TesterContext) => number;
@@ -68,9 +68,9 @@ export declare const simpleArrayLayoutRenderer: {
68
68
  default: undefined;
69
69
  };
70
70
  }>> & Readonly<{}>, {
71
- enabled: boolean;
72
71
  renderers: import('@jsonforms/core').JsonFormsRendererRegistryEntry[];
73
72
  cells: import('@jsonforms/core').JsonFormsCellRendererRegistryEntry[];
74
73
  config: Record<string, any>;
74
+ enabled: boolean;
75
75
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
76
76
  };
@@ -88,8 +88,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
88
88
  blur: () => any;
89
89
  "update:modelValue": (content: string) => any;
90
90
  }, string, {
91
- withBorder: boolean;
92
91
  disabled: boolean;
92
+ withBorder: boolean;
93
93
  maxHeight: number | null;
94
94
  minHeight: number | null;
95
95
  autofocus: boolean;
@@ -137,8 +137,8 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
137
137
  $nextTick: typeof import('vue').nextTick;
138
138
  $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
139
139
  } & Readonly<{
140
- withBorder: boolean;
141
140
  disabled: boolean;
141
+ withBorder: boolean;
142
142
  maxHeight: number | null;
143
143
  minHeight: number | null;
144
144
  autofocus: boolean;
@@ -198,7 +198,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
198
198
  }> & Readonly<{
199
199
  onBlur?: (() => any) | undefined;
200
200
  "onUpdate:modelValue"?: ((content: string) => any) | undefined;
201
- }>, "focus" | ("withBorder" | "disabled" | "maxHeight" | "minHeight" | "autofocus" | "linkToolOptions" | "baseExtensions" | "hotkeyFormatter" | "editable" | "customExtensions" | "characterLimit")> & {
201
+ }>, "focus" | ("disabled" | "withBorder" | "maxHeight" | "minHeight" | "autofocus" | "linkToolOptions" | "baseExtensions" | "hotkeyFormatter" | "editable" | "customExtensions" | "characterLimit")> & {
202
202
  focus: () => void;
203
203
  } & {} & import('vue').ComponentCustomProperties & {} & {
204
204
  $slots: {
package/dist/testing.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as Hh from "vue";
2
2
  import { ssrUtils as Zi, initDirectivesForSSR as ng, nextTick as $o, defineComponent as Ni, computed as Vr, h as In, shallowReactive as rg, reactive as ig, ref as Yh, createApp as sg, transformVNodeArgs as og, setDevtoolsHook as ag, isRef as cg, TransitionGroup as lg, Transition as ug, BaseTransition as fg } from "vue";
3
- import { r as Na, v as Cl, x as Il, y as hg, z as pg, e as dg } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
4
- import { M as Aa, e as _g, U as Ml, g as $l, a as Pl, i as Rl, S as fi, b as mg, k as gg, c as bg, d as yg, f as vg } from "./_Uint8Array-S1XaShiS.js";
3
+ import { r as Na, v as Cl, x as Il, y as hg, z as pg, e as dg } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.js";
4
+ import { M as Aa, e as _g, U as Ml, g as $l, a as Pl, i as Rl, S as fi, b as mg, k as gg, c as bg, d as yg, f as vg } from "./_Uint8Array-DdGQvEX6.js";
5
5
  import { i as Rn } from "./isArray-WzO_os3q.js";
6
- import { t as wg } from "./toString-DXjInt1t.js";
6
+ import { t as wg } from "./toString-f8odPeFb.js";
7
7
  function Eg(e) {
8
8
  return e;
9
9
  }
@@ -1,4 +1,4 @@
1
- import { r as g, v as e } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
1
+ import { r as g, v as e } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.js";
2
2
  import { i as l } from "./isArray-WzO_os3q.js";
3
3
  function p(r, t) {
4
4
  for (var n = -1, i = r == null ? 0 : r.length, o = Array(i); ++n < i; )
@@ -1,5 +1,5 @@
1
1
  import { onUnmounted as u, toRef as p, computed as d } from "vue";
2
- import { u as f } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
2
+ import { u as f } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.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 "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
2
+ import { u as d } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.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)) };
@@ -1,6 +1,6 @@
1
1
  import { ref as v, watch as m } from "vue";
2
2
  import { g as S, a as g } from "./index-Blg1O3Fz.js";
3
- import "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
3
+ import "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BseRdW9f.js";
4
4
  const w = ({
5
5
  knownValuesSide: s,
6
6
  possibleValueIds: l,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/jsonforms",
3
- "version": "1.21.16",
3
+ "version": "1.21.19",
4
4
  "description": "Internal JSON Forms integration for frontend KNIME projects",
5
5
  "repository": {
6
6
  "type": "git",
@@ -16,7 +16,7 @@
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.25.1",
19
+ "@knime/kds-components": "0.27.0",
20
20
  "ajv": "8.18.0",
21
21
  "temporal-polyfill": "^0.3.2",
22
22
  "uuid": "14.0.0",
@@ -1,22 +0,0 @@
1
- import { defineComponent as s, openBlock as p, createBlock as a, mergeProps as t, unref as r } from "vue";
2
- import { o as l } from "./index-Blg1O3Fz.js";
3
- import { _ as i } from "./TwinlistControlBase.vue_vue_type_script_setup_true_lang-Chqnf11f.js";
4
- const _ = /* @__PURE__ */ s({
5
- __name: "AnyOfTwinlist",
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(o) {
16
- const e = o.control.schema.anyOf.map(l);
17
- return (n, m) => (p(), a(i, t(n.$props, { "possible-values": r(e) }), null, 16, ["possible-values"]));
18
- }
19
- });
20
- export {
21
- _ as default
22
- };
@@ -1,38 +0,0 @@
1
- import { defineComponent as s, ref as d, openBlock as r, createElementBlock as i, createElementVNode as u, createVNode as c, unref as v, renderSlot as a } from "vue";
2
- import { a0 as b, _ as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
3
- const f = { class: "checkbox-container" }, p = /* @__PURE__ */ s({
4
- __name: "CheckboxControl",
5
- props: {
6
- control: {},
7
- handleChange: { type: Function },
8
- changeValue: { type: Function },
9
- disabled: { type: Boolean },
10
- labelForId: {},
11
- isValid: { type: Boolean },
12
- messages: {},
13
- onRegisterValidation: { type: Function }
14
- },
15
- setup(o) {
16
- const l = d(!1);
17
- return (n, e) => (r(), i("div", {
18
- class: "checkbox-input",
19
- onMouseover: e[1] || (e[1] = (t) => l.value = !0),
20
- onMouseleave: e[2] || (e[2] = (t) => l.value = !1)
21
- }, [
22
- u("div", f, [
23
- c(v(b), {
24
- class: "checkbox",
25
- disabled: o.disabled,
26
- "model-value": o.control.data,
27
- label: o.control.label,
28
- "onUpdate:modelValue": e[0] || (e[0] = (t) => o.changeValue(t === !0))
29
- }, null, 8, ["disabled", "model-value", "label"]),
30
- a(n.$slots, "icon", {}, void 0, !0)
31
- ]),
32
- a(n.$slots, "buttons", { hover: l.value }, void 0, !0)
33
- ], 32));
34
- }
35
- }), V = /* @__PURE__ */ m(p, [["__scopeId", "data-v-cd984837"]]);
36
- export {
37
- V as default
38
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as c, computed as n, ref as i, toRef as r, onMounted as u, openBlock as d, createBlock as m, unref as p, createCommentVNode as b } from "vue";
2
- import { J as f, _ as h } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
3
- import { o as v } from "./index-Blg1O3Fz.js";
4
- import { u as V } from "./usePossibleValues-yDswh8Qc.js";
5
- const y = /* @__PURE__ */ c({
6
- __name: "CheckboxesControl",
7
- props: {
8
- control: {},
9
- handleChange: { type: Function },
10
- changeValue: { type: Function },
11
- disabled: { type: Boolean },
12
- isValid: { type: Boolean },
13
- onRegisterValidation: { type: Function },
14
- labelForId: {}
15
- },
16
- setup(e) {
17
- const o = e, t = n(
18
- () => o.control.uischema.options?.checkboxLayout
19
- ), a = i(null), { possibleValues: s } = V(r(o, "control")), l = n(() => a.value ?? s.value);
20
- return u(() => {
21
- a.value = o.control.schema.anyOf ? o.control.schema.anyOf.map(v) : null;
22
- }), (k, x) => l.value ? (d(), m(p(f), {
23
- key: 0,
24
- id: e.labelForId,
25
- class: "checkboxes",
26
- "possible-values": l.value,
27
- alignment: t.value,
28
- disabled: e.disabled,
29
- "model-value": e.control.data,
30
- error: !e.isValid,
31
- "onUpdate:modelValue": e.changeValue
32
- }, null, 8, ["id", "possible-values", "alignment", "disabled", "model-value", "error", "onUpdate:modelValue"])) : b("", !0);
33
- }
34
- }), I = /* @__PURE__ */ h(y, [["__scopeId", "data-v-67afa686"]]);
35
- export {
36
- I as default
37
- };
@@ -1,37 +0,0 @@
1
- import { defineComponent as d, toRef as c, computed as a, openBlock as r, createBlock as b, unref as i } from "vue";
2
- import { O as m } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
3
- import { u as p } from "./usePossibleValues-yDswh8Qc.js";
4
- const w = /* @__PURE__ */ d({
5
- __name: "ComboBoxControl",
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(e) {
16
- const l = e, { possibleValues: o } = p(c(l, "control")), n = a(
17
- () => o.value === null || o.value.length === 0
18
- ), s = a(
19
- () => l.control.uischema.providedOptions?.includes("possibleValues") || l.control.uischema.options?.possibleValues !== void 0
20
- ), u = a(
21
- () => l.disabled || n.value && s.value
22
- );
23
- return (v, V) => (r(), b(i(m), {
24
- id: e.labelForId,
25
- "model-value": e.control.data,
26
- "allow-new-values": !s.value,
27
- ariaLabel: e.control.label,
28
- disabled: u.value,
29
- "possible-values": n.value ? e.control.data.map((t) => ({ id: t, text: t })) : i(o),
30
- error: !e.isValid,
31
- "onUpdate:modelValue": e.changeValue
32
- }, null, 8, ["id", "model-value", "allow-new-values", "ariaLabel", "disabled", "possible-values", "error", "onUpdate:modelValue"]));
33
- }
34
- });
35
- export {
36
- w as default
37
- };
@@ -1,42 +0,0 @@
1
- import { defineComponent as r, computed as i, openBlock as d, createBlock as c, unref as m } from "vue";
2
- import { T as s } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
3
- import { p as u } from "./plainDateTimeUtils-CR0UhpkD.js";
4
- import { U as p } from "./classApi-CHpAZrj3.js";
5
- const y = /* @__PURE__ */ r({
6
- __name: "DateControl",
7
- props: {
8
- control: {},
9
- handleChange: { type: Function },
10
- changeValue: { type: Function },
11
- disabled: { type: Boolean },
12
- isValid: { type: Boolean },
13
- onRegisterValidation: { type: Function },
14
- labelForId: {}
15
- },
16
- setup(a) {
17
- const o = a, t = (e) => {
18
- if (!e)
19
- return null;
20
- try {
21
- return p.PlainDate.from(e);
22
- } catch {
23
- return u.fromString(e).date;
24
- }
25
- }, n = i(
26
- () => t(o.control.data)
27
- ), l = (e) => {
28
- o.changeValue(e?.toString() ?? "");
29
- };
30
- return (e, f) => (d(), c(m(s), {
31
- id: a.labelForId,
32
- ariaLabel: o.control.label,
33
- "model-value": n.value,
34
- disabled: a.disabled,
35
- error: !a.isValid,
36
- "onUpdate:modelValue": l
37
- }, null, 8, ["id", "ariaLabel", "model-value", "disabled", "error"]));
38
- }
39
- });
40
- export {
41
- y as default
42
- };
@@ -1,78 +0,0 @@
1
- import { defineComponent as x, computed as o, openBlock as u, createElementBlock as D, normalizeClass as C, createVNode as T, unref as e, createBlock as U, createCommentVNode as B } from "vue";
2
- import { T as F, V as _, _ as k } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
3
- import { u as w } from "./usePlainDateTimeBatch-Bd2G-GY9.js";
4
- import { p as i } from "./plainDateTimeUtils-CR0UhpkD.js";
5
- import { U as L } from "./classApi-CHpAZrj3.js";
6
- const P = /* @__PURE__ */ x({
7
- __name: "DateTimeControl",
8
- props: {
9
- control: {},
10
- handleChange: { type: Function },
11
- changeValue: { type: Function },
12
- disabled: { type: Boolean },
13
- isValid: { type: Boolean },
14
- onRegisterValidation: { type: Function },
15
- labelForId: {}
16
- },
17
- setup(t) {
18
- const n = t, l = o(() => n.control.uischema.options), r = o(() => l.value?.showTime ?? !0), c = o(
19
- () => i.getMaxGranularity(l.value)
20
- ), m = (a) => {
21
- if (typeof a != "string" || a === "")
22
- return null;
23
- try {
24
- return L.PlainDate.from(a);
25
- } catch {
26
- return i.fromString(a).date;
27
- }
28
- }, s = o(
29
- () => m(l.value?.minimum)
30
- ), p = o(
31
- () => m(l.value?.maximum)
32
- ), {
33
- datePart: g,
34
- timePart: y,
35
- granularity: f,
36
- onDateChange: b,
37
- onTimeChange: h,
38
- onGranularityChange: V
39
- } = w({
40
- getDateTime: () => n.control.data,
41
- commit: (a, d, v) => {
42
- if (!r.value) {
43
- n.changeValue(a === null ? "" : a.toString());
44
- return;
45
- }
46
- n.changeValue(i.toString(a, d, v));
47
- }
48
- });
49
- return (a, d) => (u(), D("div", {
50
- class: C(["date-time-row", { "date-only": !r.value }])
51
- }, [
52
- T(e(F), {
53
- id: t.labelForId,
54
- ariaLabel: `${n.control.label} date`,
55
- "model-value": e(g),
56
- disabled: t.disabled,
57
- error: !t.isValid,
58
- "min-date": s.value,
59
- "max-date": p.value,
60
- "onUpdate:modelValue": e(b)
61
- }, null, 8, ["id", "ariaLabel", "model-value", "disabled", "error", "min-date", "max-date", "onUpdate:modelValue"]),
62
- r.value ? (u(), U(e(_), {
63
- key: 0,
64
- ariaLabel: `${n.control.label} time`,
65
- "model-value": e(y),
66
- granularity: e(f),
67
- "max-granularity": c.value,
68
- disabled: t.disabled,
69
- error: !t.isValid,
70
- "onUpdate:modelValue": e(h),
71
- "onUpdate:granularity": e(V)
72
- }, null, 8, ["ariaLabel", "model-value", "granularity", "max-granularity", "disabled", "error", "onUpdate:modelValue", "onUpdate:granularity"])) : B("", !0)
73
- ], 2));
74
- }
75
- }), z = /* @__PURE__ */ k(P, [["__scopeId", "data-v-73451c7b"]]);
76
- export {
77
- z as default
78
- };
@@ -1,32 +0,0 @@
1
- import { defineComponent as i, computed as a, openBlock as s, createBlock as c, unref as t } from "vue";
2
- import { u as m, P as u } from "./SimpleButtonControl.vue_vue_type_style_index_0_scoped_17a4a240_lang-BwXsSmUx.js";
3
- const h = /* @__PURE__ */ i({
4
- __name: "DateTimeFormatPickerControl",
5
- props: {
6
- control: {},
7
- handleChange: { type: Function },
8
- changeValue: { type: Function },
9
- disabled: { type: Boolean },
10
- isValid: { type: Boolean },
11
- onRegisterValidation: { type: Function },
12
- labelForId: {}
13
- },
14
- setup(e) {
15
- const o = e, l = a(
16
- () => o.control.uischema
17
- ), n = a(() => l.value.options), d = a(() => n.value?.allowedFormats), r = m(l, "dateTimeFormats", []);
18
- return (f, p) => (s(), c(t(u), {
19
- id: e.labelForId,
20
- ariaLabel: e.control.label,
21
- "model-value": o.control.data,
22
- disabled: e.disabled,
23
- "allowed-formats": d.value,
24
- "all-default-formats": t(r) ?? [],
25
- error: !e.isValid,
26
- "onUpdate:modelValue": e.changeValue
27
- }, null, 8, ["id", "ariaLabel", "model-value", "disabled", "allowed-formats", "all-default-formats", "error", "onUpdate:modelValue"]));
28
- }
29
- });
30
- export {
31
- h as default
32
- };