@knime/kds-table 0.6.4 → 0.8.0

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 (74) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +28 -1
  3. package/dist/index.css +55 -61
  4. package/dist/index.js +8215 -7899
  5. package/dist/index.js.map +1 -1
  6. package/dist/src/components/TableBodyNavigatable.vue.d.ts +10 -13
  7. package/dist/src/components/TableBodyNavigatable.vue.d.ts.map +1 -1
  8. package/dist/src/components/TableCore.vue.d.ts +20 -249
  9. package/dist/src/components/TableCore.vue.d.ts.map +1 -1
  10. package/dist/src/components/TableCoreVirtual.vue.d.ts +19 -24
  11. package/dist/src/components/TableCoreVirtual.vue.d.ts.map +1 -1
  12. package/dist/src/components/TableUI.vue.d.ts +346 -1349
  13. package/dist/src/components/TableUI.vue.d.ts.map +1 -1
  14. package/dist/src/components/TableUIWithAutoSizeCalculation.vue.d.ts +384 -2590
  15. package/dist/src/components/TableUIWithAutoSizeCalculation.vue.d.ts.map +1 -1
  16. package/dist/src/components/VirtualRow.vue.d.ts +9 -13
  17. package/dist/src/components/VirtualRow.vue.d.ts.map +1 -1
  18. package/dist/src/components/composables/useHeaderMenuItems.d.ts +2 -8
  19. package/dist/src/components/composables/useHeaderMenuItems.d.ts.map +1 -1
  20. package/dist/src/components/control/PageControls.vue.d.ts +65 -222
  21. package/dist/src/components/control/PageControls.vue.d.ts.map +1 -1
  22. package/dist/src/components/control/PageNavigation.vue.d.ts +3 -2
  23. package/dist/src/components/control/PageNavigation.vue.d.ts.map +1 -1
  24. package/dist/src/components/control/PageRowRange.vue.d.ts +2 -1
  25. package/dist/src/components/control/PageRowRange.vue.d.ts.map +1 -1
  26. package/dist/src/components/control/TableActionBar.vue.d.ts +14 -196
  27. package/dist/src/components/control/TableActionBar.vue.d.ts.map +1 -1
  28. package/dist/src/components/control/actionbar/PopoverContainer.vue.d.ts +9 -12
  29. package/dist/src/components/control/actionbar/PopoverContainer.vue.d.ts.map +1 -1
  30. package/dist/src/components/control/actionbar/SortControl.vue.d.ts +3 -139
  31. package/dist/src/components/control/actionbar/SortControl.vue.d.ts.map +1 -1
  32. package/dist/src/components/layout/Cell.vue.d.ts +6 -203
  33. package/dist/src/components/layout/Cell.vue.d.ts.map +1 -1
  34. package/dist/src/components/layout/CellRenderer.vue.d.ts +14 -21
  35. package/dist/src/components/layout/CellRenderer.vue.d.ts.map +1 -1
  36. package/dist/src/components/layout/CellRendererProps.d.ts +5 -0
  37. package/dist/src/components/layout/CellRendererProps.d.ts.map +1 -1
  38. package/dist/src/components/layout/Header.vue.d.ts +33 -106
  39. package/dist/src/components/layout/Header.vue.d.ts.map +1 -1
  40. package/dist/src/components/layout/HeaderCell.vue.d.ts +12 -138
  41. package/dist/src/components/layout/HeaderCell.vue.d.ts.map +1 -1
  42. package/dist/src/components/layout/NewRowButton.vue.d.ts +3 -2
  43. package/dist/src/components/layout/NewRowButton.vue.d.ts.map +1 -1
  44. package/dist/src/components/layout/Row.vue.d.ts +19 -241
  45. package/dist/src/components/layout/Row.vue.d.ts.map +1 -1
  46. package/dist/src/components/ui/CellExpandButton.vue.d.ts +3 -2
  47. package/dist/src/components/ui/CellExpandButton.vue.d.ts.map +1 -1
  48. package/dist/src/components/ui/CellSelectionOverlay.vue.d.ts +3 -4
  49. package/dist/src/components/ui/CellSelectionOverlay.vue.d.ts.map +1 -1
  50. package/dist/src/components/ui/EmptyRow.vue.d.ts +2 -1
  51. package/dist/src/components/ui/EmptyRow.vue.d.ts.map +1 -1
  52. package/dist/src/components/ui/PlaceholderRow.vue.d.ts +2 -1
  53. package/dist/src/components/ui/PlaceholderRow.vue.d.ts.map +1 -1
  54. package/dist/src/config/table.config.d.ts +0 -43
  55. package/dist/src/config/table.config.d.ts.map +1 -1
  56. package/dist/src/constants.d.ts +6 -6
  57. package/dist/src/constants.d.ts.map +1 -1
  58. package/dist/src/index.d.ts +10 -13
  59. package/dist/src/index.d.ts.map +1 -1
  60. package/dist/src/types/ActionConfig.d.ts +0 -2
  61. package/dist/src/types/ActionConfig.d.ts.map +1 -1
  62. package/dist/src/types/ColumnConfig.d.ts +8 -9
  63. package/dist/src/types/ColumnConfig.d.ts.map +1 -1
  64. package/dist/src/types/ColumnState.d.ts +0 -7
  65. package/dist/src/types/ColumnState.d.ts.map +1 -1
  66. package/package.json +7 -7
  67. package/dist/src/components/control/actionbar/FilterControl.vue.d.ts +0 -176
  68. package/dist/src/components/control/actionbar/FilterControl.vue.d.ts.map +0 -1
  69. package/dist/src/components/control/actionbar/FilterControlBody.vue.d.ts +0 -14
  70. package/dist/src/components/control/actionbar/FilterControlBody.vue.d.ts.map +0 -1
  71. package/dist/src/components/control/actionbar/filterConfigActive.d.ts +0 -6
  72. package/dist/src/components/control/actionbar/filterConfigActive.d.ts.map +0 -1
  73. package/dist/src/types/FilterConfig.d.ts +0 -37
  74. package/dist/src/types/FilterConfig.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"NewRowButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/NewRowButton.vue"],"names":[],"mappings":";;;;;;;;;AAkJA,wBAQG"}
1
+ {"version":3,"file":"NewRowButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/NewRowButton.vue"],"names":[],"mappings":"AA2IA,QAAA,MAAM,YAAY;;;;;;;;iFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -26,135 +26,22 @@ export interface RowProps {
26
26
  toBeEditedCellIndex?: number | null;
27
27
  newColumnButtonWidth?: number;
28
28
  }
29
- declare function __VLS_template(): {
30
- attrs: Partial<{}>;
31
- slots: Partial<Record<string, (_: {
32
- row: any[];
33
- cell: any;
34
- height: number | "dynamic";
35
- width: any;
36
- ind: number;
37
- }) => any>> & {
38
- 'editable-cell'?(_: {
39
- cellElement: any;
40
- ind: number;
41
- }): any;
42
- };
43
- refs: {
44
- rowElement: HTMLTableRowElement;
45
- deleteButton: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<(import('packages/components/dist/src/types/testId').WithTestId & {
46
- size?: import('@knime/kds-components').KdsButtonSize;
47
- disabled?: boolean;
48
- tooltip?: string;
49
- variant?: import('@knime/kds-components').KdsButtonVariant | undefined;
50
- } & {
51
- label: string;
52
- leadingIcon?: import('@knime/kds-components').KdsIconName;
53
- trailingIcon?: import('@knime/kds-components').KdsIconName;
54
- ariaLabel?: never;
55
- } & import('packages/components/dist/src/buttons/types').WithDestructive) | (import('packages/components/dist/src/types/testId').WithTestId & {
56
- size?: import('@knime/kds-components').KdsButtonSize;
57
- disabled?: boolean;
58
- tooltip?: string;
59
- variant?: import('@knime/kds-components').KdsButtonVariant | undefined;
60
- } & {
61
- label?: never;
62
- leadingIcon: import('@knime/kds-components').KdsIconName;
63
- trailingIcon?: never;
64
- ariaLabel: string;
65
- } & import('packages/components/dist/src/buttons/types').WithDestructive)> & Readonly<{
66
- onClick?: ((event: MouseEvent) => any) | undefined;
67
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
68
- click: (event: MouseEvent) => any;
69
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
70
- P: {};
71
- B: {};
72
- D: {};
73
- C: {};
74
- M: {};
75
- Defaults: {};
76
- }, {} & (Readonly<(import('packages/components/dist/src/types/testId').WithTestId & {
77
- size?: import('@knime/kds-components').KdsButtonSize;
78
- disabled?: boolean;
79
- tooltip?: string;
80
- variant?: import('@knime/kds-components').KdsButtonVariant | undefined;
81
- } & {
82
- label: string;
83
- leadingIcon?: import('@knime/kds-components').KdsIconName;
84
- trailingIcon?: import('@knime/kds-components').KdsIconName;
85
- ariaLabel?: never;
86
- } & import('packages/components/dist/src/buttons/types').WithDestructive) | (import('packages/components/dist/src/types/testId').WithTestId & {
87
- size?: import('@knime/kds-components').KdsButtonSize;
88
- disabled?: boolean;
89
- tooltip?: string;
90
- variant?: import('@knime/kds-components').KdsButtonVariant | undefined;
91
- } & {
92
- label?: never;
93
- leadingIcon: import('@knime/kds-components').KdsIconName;
94
- trailingIcon?: never;
95
- ariaLabel: string;
96
- } & import('packages/components/dist/src/buttons/types').WithDestructive)> & Readonly<{
97
- onClick?: ((event: MouseEvent) => any) | undefined;
98
- }>), {}, {}, {}, {}, {}> | null;
99
- selectionCheckbox: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<({
100
- modelValue?: import('@knime/kds-components').KdsCheckboxValue;
101
- } & {
102
- disabled?: boolean;
103
- error?: boolean;
104
- subText?: string;
105
- preserveSubTextSpace?: boolean;
106
- } & {
107
- label: string;
108
- tooltip?: never;
109
- }) | ({
110
- modelValue?: import('@knime/kds-components').KdsCheckboxValue;
111
- } & {
112
- disabled?: boolean;
113
- error?: boolean;
114
- subText?: string;
115
- preserveSubTextSpace?: boolean;
116
- } & {
117
- label?: never;
118
- tooltip: string;
119
- })> & Readonly<{
120
- "onUpdate:modelValue"?: ((value: import('@knime/kds-components').KdsCheckboxValue) => any) | undefined;
121
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
122
- "update:modelValue": (value: import('@knime/kds-components').KdsCheckboxValue) => any;
123
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
124
- P: {};
125
- B: {};
126
- D: {};
127
- C: {};
128
- M: {};
129
- Defaults: {};
130
- }, {} & (Readonly<({
131
- modelValue?: import('@knime/kds-components').KdsCheckboxValue;
132
- } & {
133
- disabled?: boolean;
134
- error?: boolean;
135
- subText?: string;
136
- preserveSubTextSpace?: boolean;
137
- } & {
138
- label: string;
139
- tooltip?: never;
140
- }) | ({
141
- modelValue?: import('@knime/kds-components').KdsCheckboxValue;
142
- } & {
143
- disabled?: boolean;
144
- error?: boolean;
145
- subText?: string;
146
- preserveSubTextSpace?: boolean;
147
- } & {
148
- label?: never;
149
- tooltip: string;
150
- })> & Readonly<{
151
- "onUpdate:modelValue"?: ((value: import('@knime/kds-components').KdsCheckboxValue) => any) | undefined;
152
- }>), {}, {}, {}, {}, {}> | null;
153
- };
154
- rootEl: any;
29
+ declare var __VLS_41: string, __VLS_42: {
30
+ row: any[];
31
+ cell: any;
32
+ height: number | "dynamic";
33
+ width: any;
34
+ ind: number;
35
+ }, __VLS_45: {
36
+ cellElement: any;
37
+ ind: number;
38
+ };
39
+ type __VLS_Slots = {} & {
40
+ [K in NonNullable<typeof __VLS_41>]?: (props: typeof __VLS_42) => any;
41
+ } & {
42
+ 'editable-cell'?: (props: typeof __VLS_45) => any;
155
43
  };
156
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
157
- declare const __VLS_component: import('vue').DefineComponent<RowProps, {
44
+ declare const __VLS_base: import('vue').DefineComponent<RowProps, {
158
45
  getCellComponents: () => any[];
159
46
  focusDeleteButton: () => void;
160
47
  focusSelectionCheckbox: () => void;
@@ -204,120 +91,11 @@ declare const __VLS_component: import('vue').DefineComponent<RowProps, {
204
91
  } | null;
205
92
  toBeExpandedCellIndex: number | null;
206
93
  toBeEditedCellIndex: number | null;
207
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
208
- rowElement: HTMLTableRowElement;
209
- deleteButton: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<(import('packages/components/dist/src/types/testId').WithTestId & {
210
- size?: import('@knime/kds-components').KdsButtonSize;
211
- disabled?: boolean;
212
- tooltip?: string;
213
- variant?: import('@knime/kds-components').KdsButtonVariant | undefined;
214
- } & {
215
- label: string;
216
- leadingIcon?: import('@knime/kds-components').KdsIconName;
217
- trailingIcon?: import('@knime/kds-components').KdsIconName;
218
- ariaLabel?: never;
219
- } & import('packages/components/dist/src/buttons/types').WithDestructive) | (import('packages/components/dist/src/types/testId').WithTestId & {
220
- size?: import('@knime/kds-components').KdsButtonSize;
221
- disabled?: boolean;
222
- tooltip?: string;
223
- variant?: import('@knime/kds-components').KdsButtonVariant | undefined;
224
- } & {
225
- label?: never;
226
- leadingIcon: import('@knime/kds-components').KdsIconName;
227
- trailingIcon?: never;
228
- ariaLabel: string;
229
- } & import('packages/components/dist/src/buttons/types').WithDestructive)> & Readonly<{
230
- onClick?: ((event: MouseEvent) => any) | undefined;
231
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
232
- click: (event: MouseEvent) => any;
233
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
234
- P: {};
235
- B: {};
236
- D: {};
237
- C: {};
238
- M: {};
239
- Defaults: {};
240
- }, {} & (Readonly<(import('packages/components/dist/src/types/testId').WithTestId & {
241
- size?: import('@knime/kds-components').KdsButtonSize;
242
- disabled?: boolean;
243
- tooltip?: string;
244
- variant?: import('@knime/kds-components').KdsButtonVariant | undefined;
245
- } & {
246
- label: string;
247
- leadingIcon?: import('@knime/kds-components').KdsIconName;
248
- trailingIcon?: import('@knime/kds-components').KdsIconName;
249
- ariaLabel?: never;
250
- } & import('packages/components/dist/src/buttons/types').WithDestructive) | (import('packages/components/dist/src/types/testId').WithTestId & {
251
- size?: import('@knime/kds-components').KdsButtonSize;
252
- disabled?: boolean;
253
- tooltip?: string;
254
- variant?: import('@knime/kds-components').KdsButtonVariant | undefined;
255
- } & {
256
- label?: never;
257
- leadingIcon: import('@knime/kds-components').KdsIconName;
258
- trailingIcon?: never;
259
- ariaLabel: string;
260
- } & import('packages/components/dist/src/buttons/types').WithDestructive)> & Readonly<{
261
- onClick?: ((event: MouseEvent) => any) | undefined;
262
- }>), {}, {}, {}, {}, {}> | null;
263
- selectionCheckbox: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<({
264
- modelValue?: import('@knime/kds-components').KdsCheckboxValue;
265
- } & {
266
- disabled?: boolean;
267
- error?: boolean;
268
- subText?: string;
269
- preserveSubTextSpace?: boolean;
270
- } & {
271
- label: string;
272
- tooltip?: never;
273
- }) | ({
274
- modelValue?: import('@knime/kds-components').KdsCheckboxValue;
275
- } & {
276
- disabled?: boolean;
277
- error?: boolean;
278
- subText?: string;
279
- preserveSubTextSpace?: boolean;
280
- } & {
281
- label?: never;
282
- tooltip: string;
283
- })> & Readonly<{
284
- "onUpdate:modelValue"?: ((value: import('@knime/kds-components').KdsCheckboxValue) => any) | undefined;
285
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
286
- "update:modelValue": (value: import('@knime/kds-components').KdsCheckboxValue) => any;
287
- }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
288
- P: {};
289
- B: {};
290
- D: {};
291
- C: {};
292
- M: {};
293
- Defaults: {};
294
- }, {} & (Readonly<({
295
- modelValue?: import('@knime/kds-components').KdsCheckboxValue;
296
- } & {
297
- disabled?: boolean;
298
- error?: boolean;
299
- subText?: string;
300
- preserveSubTextSpace?: boolean;
301
- } & {
302
- label: string;
303
- tooltip?: never;
304
- }) | ({
305
- modelValue?: import('@knime/kds-components').KdsCheckboxValue;
306
- } & {
307
- disabled?: boolean;
308
- error?: boolean;
309
- subText?: string;
310
- preserveSubTextSpace?: boolean;
311
- } & {
312
- label?: never;
313
- tooltip: string;
314
- })> & Readonly<{
315
- "onUpdate:modelValue"?: ((value: import('@knime/kds-components').KdsCheckboxValue) => any) | undefined;
316
- }>), {}, {}, {}, {}, {}> | null;
317
- }, any>;
318
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
94
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
95
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
96
+ declare const _default: typeof __VLS_export;
319
97
  export default _default;
320
- type __VLS_WithTemplateSlots<T, S> = T & {
98
+ type __VLS_WithSlots<T, S> = T & {
321
99
  new (): {
322
100
  $slots: S;
323
101
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Row.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Row.vue"],"names":[],"mappings":"AA6hBA,OAAO,EAIL,KAAK,WAAW,EACjB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAOpE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAW3D,MAAM,WAAW,QAAQ;IACvB,OAAO,CAAC,EAAE;QAAE,kBAAkB,CAAC,EAAE,WAAW,EAAE,CAAA;KAAE,CAAC;IACjD,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC;IACZ,WAAW,EAAE,WAAW,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,EAAE,YAAY,EAAE,CAAC;IACxB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,kBAAkB,CAAC,EAAE;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IACzD,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,oBAAoB,CAAC,EAAE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AAE,OAAO,QAAQ,KAAK,GAAG;CAAE,GACzE;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOxD,QAAA,MAAM,UAAU;;;;IAhcd;;OAEG;;;;;;;;;;;;;;;;;;;;;;;;;SAhPG,GAAG,EAAE;eAKC,MAAM,GAAG,SAAS;0BAUP,MAAM;gBAThB,OAAO;aAPV;QAAE,kBAAkB,CAAC,EAAE,WAAW,EAAE,CAAA;KAAE;eAKpC,SAAS;kBAGN,MAAM;oBACJ,OAAO;uBACJ,OAAO;gCACE,OAAO;uBAChB,MAAM,GAAG,IAAI;wBACZ;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI;2BAChC,MAAM,GAAG,IAAI;yBACf,MAAM,GAAG,IAAI;6EAqqBnC,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,10 +1,11 @@
1
1
  type __VLS_Props = {
2
2
  toggled?: boolean;
3
3
  };
4
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
4
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
5
  click: (event: MouseEvent) => any;
6
6
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
7
7
  onClick?: ((event: MouseEvent) => any) | undefined;
8
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
8
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
9
10
  export default _default;
10
11
  //# sourceMappingURL=CellExpandButton.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CellExpandButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/CellExpandButton.vue"],"names":[],"mappings":"AAkEA,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;;;;;;AAmEF,wBAQG"}
1
+ {"version":3,"file":"CellExpandButton.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/CellExpandButton.vue"],"names":[],"mappings":"AAmEA,KAAK,WAAW,GAAG;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AA2DF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,5 +1,5 @@
1
1
  import { CellSelectionOverlayProps } from './CellSelectionOverlayProps';
2
- declare const _default: import('vue').DefineComponent<CellSelectionOverlayProps, {
2
+ declare const __VLS_export: import('vue').DefineComponent<CellSelectionOverlayProps, {
3
3
  triggerCopied: () => void;
4
4
  focus: typeof focus;
5
5
  scrollFocusOverlayIntoView: (params: null | {
@@ -11,8 +11,7 @@ declare const _default: import('vue').DefineComponent<CellSelectionOverlayProps,
11
11
  }) => void | undefined;
12
12
  }) => Promise<void>;
13
13
  getFocusOverlayBoundingClientRect: () => DOMRect | undefined;
14
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CellSelectionOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
15
- virtualFocusOverlay: HTMLDivElement;
16
- }, any>;
14
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CellSelectionOverlayProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
17
16
  export default _default;
18
17
  //# sourceMappingURL=CellSelectionOverlay.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CellSelectionOverlay.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/CellSelectionOverlay.vue"],"names":[],"mappings":"AAuOA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;;;;yCA4HnE,IAAI,GAAG;QACb,YAAY,EAAE,OAAO,GAAG,IAAI,CAAC;QAC7B,YAAY,EAAE,MAAM,CAAC;QACrB,QAAQ,EAAE,CAAC,cAAc,EAAE;YACzB,GAAG,CAAC,EAAE,MAAM,CAAC;YACb,IAAI,CAAC,EAAE,MAAM,CAAC;SACf,KAAK,IAAI,GAAG,SAAS,CAAC;KACxB;;;;;AAmIH,wBAQG"}
1
+ {"version":3,"file":"CellSelectionOverlay.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/CellSelectionOverlay.vue"],"names":[],"mappings":"AAwOA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAoP7E,QAAA,MAAM,YAAY;;;yCAxHR,IAAI,GAAG;QACb,YAAY,EAAE,OAAO,GAAG,IAAI,CAAC;QAC7B,YAAY,EAAE,MAAM,CAAC;QACrB,QAAQ,EAAE,CAAC,cAAc,EAAE;YACzB,GAAG,CAAC,EAAE,MAAM,CAAC;YACb,IAAI,CAAC,EAAE,MAAM,CAAC;SACf,KAAK,IAAI,GAAG,SAAS,CAAC;KACxB;;kQAoHD,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -5,6 +5,7 @@ type __VLS_Props = {
5
5
  numColumns: number;
6
6
  tableConfig: TableConfig;
7
7
  };
8
- 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>;
8
+ declare const __VLS_export: 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>;
9
+ declare const _default: typeof __VLS_export;
9
10
  export default _default;
10
11
  //# sourceMappingURL=EmptyRow.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EmptyRow.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/EmptyRow.vue"],"names":[],"mappings":"AAyGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAI3D,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,WAAW,CAAC;CAC1B,CAAC;;AAkHF,wBAMG"}
1
+ {"version":3,"file":"EmptyRow.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/EmptyRow.vue"],"names":[],"mappings":"AA0GA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAI3D,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,WAAW,CAAC;CAC1B,CAAC;AA2GF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,6 +1,7 @@
1
1
  type __VLS_Props = {
2
2
  height: number;
3
3
  };
4
- 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>;
4
+ declare const __VLS_export: 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>;
5
+ declare const _default: typeof __VLS_export;
5
6
  export default _default;
6
7
  //# sourceMappingURL=PlaceholderRow.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlaceholderRow.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/PlaceholderRow.vue"],"names":[],"mappings":"AA4BA,KAAK,WAAW,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;;AA8CtC,wBAOG"}
1
+ {"version":3,"file":"PlaceholderRow.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/PlaceholderRow.vue"],"names":[],"mappings":"AA6BA,KAAK,WAAW,GAAG;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,CAAC;AA6BtC,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,9 +1,4 @@
1
- import { FilterComponent, FilterValue } from '../types/FilterConfig';
2
1
  export declare const defaultPageSize = 10;
3
- export declare const filterComponents: Record<string, {
4
- is: keyof typeof FilterComponent;
5
- getInitialValue: () => FilterValue;
6
- }>;
7
2
  export declare const columnTypes: {
8
3
  Nominal: "Nominal";
9
4
  String: "String";
@@ -17,44 +12,6 @@ export declare const columnTypes: {
17
12
  };
18
13
  type ValueOf<T> = T[keyof T];
19
14
  export type ColumnType = ValueOf<typeof columnTypes>;
20
- export declare const columnFilterConfigs: {
21
- Nominal: {
22
- is: keyof typeof FilterComponent;
23
- getInitialValue: () => FilterValue;
24
- };
25
- String: {
26
- is: keyof typeof FilterComponent;
27
- getInitialValue: () => FilterValue;
28
- };
29
- DateTime: {
30
- is: keyof typeof FilterComponent;
31
- getInitialValue: () => FilterValue;
32
- };
33
- Duration: {
34
- is: keyof typeof FilterComponent;
35
- getInitialValue: () => FilterValue;
36
- };
37
- Number: {
38
- is: keyof typeof FilterComponent;
39
- getInitialValue: () => FilterValue;
40
- };
41
- Boolean: {
42
- is: keyof typeof FilterComponent;
43
- getInitialValue: () => FilterValue;
44
- };
45
- Array: {
46
- is: keyof typeof FilterComponent;
47
- getInitialValue: () => FilterValue;
48
- };
49
- Object: {
50
- is: keyof typeof FilterComponent;
51
- getInitialValue: () => FilterValue;
52
- };
53
- Image: {
54
- is: keyof typeof FilterComponent;
55
- getInitialValue: () => FilterValue;
56
- };
57
- };
58
15
  export declare const columnSortText: Record<ColumnType | "default", {
59
16
  ascending: string;
60
17
  descending: string;
@@ -1 +1 @@
1
- {"version":3,"file":"table.config.d.ts","sourceRoot":"","sources":["../../../src/config/table.config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAE1E,eAAO,MAAM,eAAe,KAAK,CAAC;AAElC,eAAO,MAAM,gBAAgB,EAAE,MAAM,CACnC,MAAM,EACN;IAAE,EAAE,EAAE,MAAM,OAAO,eAAe,CAAC;IAAC,eAAe,EAAE,MAAM,WAAW,CAAA;CAAE,CAczE,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;;;;;;CAUvB,CAAC;AAEF,KAAK,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAE7B,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC;AAErD,eAAO,MAAM,mBAAmB;;YAhCxB,MAAM,OAAO,eAAe;yBAAmB,MAAM,WAAW;;;YAAhE,MAAM,OAAO,eAAe;yBAAmB,MAAM,WAAW;;;YAAhE,MAAM,OAAO,eAAe;yBAAmB,MAAM,WAAW;;;YAAhE,MAAM,OAAO,eAAe;yBAAmB,MAAM,WAAW;;;YAAhE,MAAM,OAAO,eAAe;yBAAmB,MAAM,WAAW;;;YAAhE,MAAM,OAAO,eAAe;yBAAmB,MAAM,WAAW;;;YAAhE,MAAM,OAAO,eAAe;yBAAmB,MAAM,WAAW;;;YAAhE,MAAM,OAAO,eAAe;yBAAmB,MAAM,WAAW;;;YAAhE,MAAM,OAAO,eAAe;yBAAmB,MAAM,WAAW;;CA6CvE,CAAC;AAEF,eAAO,MAAM,cAAc,EAyCtB,MAAM,CAAC,UAAU,GAAG,SAAS,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"table.config.d.ts","sourceRoot":"","sources":["../../../src/config/table.config.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe,KAAK,CAAC;AAElC,eAAO,MAAM,WAAW;;;;;;;;;;CAUvB,CAAC;AAEF,KAAK,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AAE7B,MAAM,MAAM,UAAU,GAAG,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC;AAErD,eAAO,MAAM,cAAc,EAyCtB,MAAM,CAAC,UAAU,GAAG,SAAS,EAAE;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC"}
@@ -1,18 +1,18 @@
1
1
  export declare const MIN_COLUMN_SIZE = 50;
2
2
  export declare const MAX_AUTO_COLUMN_SIZE = 960;
3
- export declare const SPECIAL_COLUMNS_SIZE = 32;
4
- export declare const ROW_BORDER_BOTTOM_WIDTH = 1;
3
+ export declare const SPECIAL_COLUMNS_SIZE: number;
4
+ export declare const ROW_BORDER_BOTTOM_WIDTH: number;
5
5
  export declare const DEFAULT_ROW_HEIGHT: number;
6
6
  export declare const COMPACT_ROW_HEIGHT: number;
7
- export declare const DEFAULT_ROW_PADDING_TOP_BOTTOM = 12;
8
- export declare const COMPACT_ROW_PADDING_TOP_BOTTOM = 6;
9
- export declare const CELL_PADDING_HORIZONTAL = 8;
7
+ export declare const DEFAULT_ROW_PADDING_TOP_BOTTOM: number;
8
+ export declare const COMPACT_ROW_PADDING_TOP_BOTTOM: number;
9
+ export declare const CELL_PADDING_HORIZONTAL: number;
10
10
  export declare const MIN_ROW_HEIGHT: number;
11
11
  export declare const HEADER_HEIGHT: number;
12
12
  export declare const MAX_SUB_MENU_WIDTH = 160;
13
13
  export declare const ENABLE_SCROLL_AFTER_ROW_RESIZE_DELAY = 100;
14
14
  export declare const COLUMN_RESIZE_DRAG_HANDLE_WIDTH = 5;
15
- export declare const EXPAND_BUTTON_WIDTH = 16;
15
+ export declare const EXPAND_BUTTON_WIDTH: number;
16
16
  declare const _default: {
17
17
  MIN_COLUMN_SIZE: number;
18
18
  SPECIAL_COLUMNS_SIZE: number;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,eAAe,KAAK,CAAC;AAGlC,eAAO,MAAM,oBAAoB,MAAM,CAAC;AAGxC,eAAO,MAAM,oBAAoB,KAA+B,CAAC;AAGjE,eAAO,MAAM,uBAAuB,IAAuB,CAAC;AAI5D,eAAO,MAAM,kBAAkB,QAC4B,CAAC;AAI5D,eAAO,MAAM,kBAAkB,QAC6B,CAAC;AAO7D,eAAO,MAAM,8BAA8B,KAA2B,CAAC;AAOvE,eAAO,MAAM,8BAA8B,IAA2B,CAAC;AAGvE,eAAO,MAAM,uBAAuB,IAA0B,CAAC;AAG/D,eAAO,MAAM,cAAc,QAAqB,CAAC;AAGjD,eAAO,MAAM,aAAa,QACkC,CAAC;AAG7D,eAAO,MAAM,kBAAkB,MAAM,CAAC;AAGtC,eAAO,MAAM,oCAAoC,MAAM,CAAC;AAGxD,eAAO,MAAM,+BAA+B,IAAI,CAAC;AAGjD,eAAO,MAAM,mBAAmB,KAA+B,CAAC;;;;;;;;;AAEhE,wBAOE"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe,KAAK,CAAC;AAGlC,eAAO,MAAM,oBAAoB,MAAM,CAAC;AAGxC,eAAO,MAAM,oBAAoB,QAAwC,CAAC;AAG1E,eAAO,MAAM,uBAAuB,QAAiC,CAAC;AAGtE,eAAO,MAAM,kBAAkB,QACqC,CAAC;AAGrE,eAAO,MAAM,kBAAkB,QACsC,CAAC;AAOtE,eAAO,MAAM,8BAA8B,QAAmC,CAAC;AAO/E,eAAO,MAAM,8BAA8B,QAAmC,CAAC;AAG/E,eAAO,MAAM,uBAAuB,QAAkC,CAAC;AAGvE,eAAO,MAAM,cAAc,QAAqB,CAAC;AAGjD,eAAO,MAAM,aAAa,QAC8C,CAAC;AAGzE,eAAO,MAAM,kBAAkB,MAAM,CAAC;AAGtC,eAAO,MAAM,oCAAoC,MAAM,CAAC;AAGxD,eAAO,MAAM,+BAA+B,IAAI,CAAC;AAGjD,eAAO,MAAM,mBAAmB,QAAwC,CAAC;;;;;;;;;AAEzE,wBAOE"}
@@ -2,22 +2,19 @@ import { default as TableUI } from './components/TableUI.vue';
2
2
  import { default as TableUIWithAutoSizeCalculation } from './components/TableUIWithAutoSizeCalculation.vue';
3
3
  import { default as TableActionBar } from './components/control/TableActionBar.vue';
4
4
  import { default as constants } from './constants';
5
- import { ActionBarViewType, ActionConfig, ActionState } from './types/ActionConfig';
6
- import { ColumnConfig, ColumnId } from './types/ColumnConfig';
7
- import { ColFilterValues, ColSortValue } from './types/ColumnState';
8
- import { FilterConfig, FilterValue } from './types/FilterConfig';
9
- import { PageConfig, PageState } from './types/PageConfig';
10
- import { PossibleValue } from './types/PossibleValue';
11
- import { RowConfig } from './types/RowConfig';
12
- import { SubMenuConfig } from './types/SubMenuConfig';
13
- import { TableConfig, TableState } from './types/TableConfig';
14
5
  export { TableUI, TableUIWithAutoSizeCalculation, TableActionBar, constants };
15
6
  export { useColumnSizes } from './components/useColumnSizes';
7
+ export { default as PopoverContainer } from './components/control/actionbar/PopoverContainer.vue';
8
+ export { useButtonPopoverInteraction } from './components/control/actionbar/useButtonPopoverInteraction';
16
9
  export * from './config/table.config';
17
10
  export { unpackObjectRepresentation, isMissingValue, getMissingValueMessage, } from './utils/index';
18
11
  export type { Rect } from './components/composables/useCellSelection';
19
- export type { PossibleValue, FilterConfig, FilterValue };
20
- export type { TableConfig, TableState, PageConfig, PageState, ActionBarViewType, ActionConfig, ActionState, SubMenuConfig, };
21
- export type { ColumnConfig, ColumnId, ColFilterValues, ColSortValue };
22
- export type { RowConfig };
12
+ export type { PossibleValue } from './types/PossibleValue';
13
+ export type { TableConfig, TableState } from './types/TableConfig';
14
+ export type { PageConfig, PageState } from './types/PageConfig';
15
+ export type { ActionBarViewType, ActionConfig, ActionState, } from './types/ActionConfig';
16
+ export type { SubMenuConfig } from './types/SubMenuConfig';
17
+ export type { ColumnConfig, ColumnId } from './types/ColumnConfig';
18
+ export type { ColSortValue } from './types/ColumnState';
19
+ export type { RowConfig } from './types/RowConfig';
23
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,0BAA0B,CAAC;AAC/C,OAAO,8BAA8B,MAAM,iDAAiD,CAAC;AAC7F,OAAO,cAAc,MAAM,yCAAyC,CAAC;AACrE,OAAO,SAAS,MAAM,aAAa,CAAC;AACpC,OAAO,KAAK,EACV,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,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Ac,EAAE,SAAS,EAAE,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AAClG,OAAO,EAAE,2BAA2B,EAAE,MAAM,4DAA4D,CAAC;AACzG,cAAc,uBAAuB,CAAC;AAEtC,OAAO,EACL,0BAA0B,EAC1B,cAAc,EACd,sBAAsB,GACvB,MAAM,eAAe,CAAC;AAEvB,YAAY,EAAE,IAAI,EAAE,MAAM,2CAA2C,CAAC;AACtE,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,YAAY,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACnE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAChE,YAAY,EACV,iBAAiB,EACjB,YAAY,EACZ,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACnE,YAAY,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,YAAY,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC"}
@@ -3,8 +3,6 @@ import { KdsMenuItem } from '@knime/kds-components';
3
3
  export interface ActionConfig {
4
4
  /** Enables the sorting controls in the action bar. */
5
5
  enableSorting?: boolean;
6
- /** Enables the filter controls in the action bar. */
7
- enableFilters?: boolean;
8
6
  /** Enables a search control in the action bar. */
9
7
  enableSearch?: boolean;
10
8
  /** Menu items offered in the action bar's settings menu. */
@@ -1 +1 @@
1
- {"version":3,"file":"ActionConfig.d.ts","sourceRoot":"","sources":["../../../src/types/ActionConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,wFAAwF;AACxF,MAAM,WAAW,YAAY;IAC3B,sDAAsD;IACtD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,qDAAqD;IACrD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kDAAkD;IAClD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,4DAA4D;IAC5D,aAAa,CAAC,EAAE,WAAW,EAAE,CAAC;IAC9B,yFAAyF;IACzF,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,2CAA2C;AAC3C,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;AAEpE,+CAA+C;AAC/C,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
1
+ {"version":3,"file":"ActionConfig.d.ts","sourceRoot":"","sources":["../../../src/types/ActionConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,wFAAwF;AACxF,MAAM,WAAW,YAAY;IAC3B,sDAAsD;IACtD,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,kDAAkD;IAClD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,4DAA4D;IAC5D,aAAa,CAAC,EAAE,WAAW,EAAE,CAAC;IAC9B,yFAAyF;IACzF,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,2CAA2C;AAC3C,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,CAAC;AAEpE,+CAA+C;AAC/C,MAAM,WAAW,WAAW;IAC1B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -1,13 +1,10 @@
1
- import { KdsMenuItem } from '@knime/kds-components';
2
1
  import { ColumnType } from '../config/table.config';
3
- import { FilterConfig } from './FilterConfig';
4
2
  export type ColumnId = string | number | symbol;
5
3
  /**
6
4
  * Stable definition of a single column. One entry per column, always present.
7
5
  *
8
- * Runtime-mutable per-column state (size, filter value, sort) is held
9
- * separately in id-keyed state records (`colSizes`, `colFilterValues`,
10
- * `colSortValues`).
6
+ * Runtime-mutable per-column state (size, sort) is held separately in
7
+ * id-keyed state records (`colSizes`, `colSortValues`).
11
8
  */
12
9
  export interface ColumnConfig {
13
10
  /** Stable identifier of the column; per-column state records are keyed by this. */
@@ -18,16 +15,18 @@ export interface ColumnConfig {
18
15
  header: string;
19
16
  /** Secondary text shown beneath the header. */
20
17
  subHeader?: string;
21
- /** Menu items offered in the header's submenu. */
22
- headerSubMenuItems?: KdsMenuItem[];
23
- /** Definition of the column's filter (which control, its options). */
24
- filterConfig?: FilterConfig;
25
18
  /** Data type of the column, driving default rendering and filtering. */
26
19
  type?: ColumnType;
27
20
  /** Whether cells render slot content instead of the formatted value. */
28
21
  hasSlotContent?: boolean;
29
22
  /** Whether cells can open a data value view. */
30
23
  hasDataValueView?: boolean;
24
+ /**
25
+ * Overlays the data value view button on top of the cell content instead of
26
+ * reserving space next to it, so the content does not shrink when the button
27
+ * appears on hover (e.g. for image content).
28
+ */
29
+ overlayDataValueViewButton?: boolean;
31
30
  /** Prevents this column from being sorted (sortable by default). */
32
31
  isNotSortable?: boolean;
33
32
  /** Accent color applied to the column header. */
@@ -1 +1 @@
1
- {"version":3,"file":"ColumnConfig.d.ts","sourceRoot":"","sources":["../../../src/types/ColumnConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,CAAC;AAEhD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AE,MAAM,CAAC;IACf,+CAA+C;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,wEAAwE;IACxE,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,gDAAgD;IAChD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;;OAIG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,oEAAoE;IACpE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4DAA4D;IAC5D,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,4DAA4D;IAC5D,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,gDAAgD;IAChD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yCAAyC;IACzC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB"}
@@ -1,11 +1,4 @@
1
1
  import { ColumnId } from './ColumnConfig';
2
- import { FilterValue } from './FilterConfig';
3
- /**
4
- * Per-column runtime state, keyed by column `id` so it survives column
5
- * removal and reordering and can be mutated one column at a time.
6
- */
7
- /** Current filter values, keyed by column `id`. */
8
- export type ColFilterValues = Record<ColumnId, FilterValue>;
9
2
  /**
10
3
  * Sort direction for a column identified by its `id`.
11
4
  * We use an array of these for multi-column sorting, since the order
@@ -1 +1 @@
1
- {"version":3,"file":"ColumnState.d.ts","sourceRoot":"","sources":["../../../src/types/ColumnState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC/C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;GAGG;AAEH,mDAAmD;AACnD,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;AAE5D;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG;IAAE,EAAE,EAAE,QAAQ,CAAC;IAAC,SAAS,EAAE,CAAC,GAAG,CAAC,CAAC,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"ColumnState.d.ts","sourceRoot":"","sources":["../../../src/types/ColumnState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE/C;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG;IAAE,EAAE,EAAE,QAAQ,CAAC;IAAC,SAAS,EAAE,CAAC,GAAG,CAAC,CAAC,CAAA;CAAE,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knime/kds-table",
3
3
  "type": "module",
4
- "version": "0.6.4",
4
+ "version": "0.8.0",
5
5
  "description": "Package containing the table component of the KNIME Design System",
6
6
  "license": "See LICENSE file",
7
7
  "author": "KNIME AG, Zurich, Switzerland",
@@ -14,9 +14,9 @@
14
14
  "fast-deep-equal": "3.1.3",
15
15
  "raf-throttle": "2.0.6",
16
16
  "uuid": "14.0.1",
17
- "@knime/kds-components": "^2.0.0",
18
- "@knime/kds-styles": "^2.0.0",
19
- "@knime/utils": "^1.12.0"
17
+ "@knime/kds-components": "^2.6.1",
18
+ "@knime/utils": "^1.12.1",
19
+ "@knime/kds-styles": "^2.6.1"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@storybook/vue3-vite": "^10.4.6",
@@ -25,9 +25,9 @@
25
25
  "@vue/test-utils": "^2.4.11",
26
26
  "consola": "^3.4.2",
27
27
  "storybook": "^10.4.6",
28
- "typescript": "^5.9.3",
29
- "vite": "^7.3.2",
30
- "vite-plugin-dts": "^4.5.4",
28
+ "typescript": "^6.0.3",
29
+ "vite": "^8.1.3",
30
+ "vite-plugin-dts": "^5.0.3",
31
31
  "vite-plugin-lib-inject-css": "^2.2.2",
32
32
  "vite-svg-loader": "^5.1.1",
33
33
  "vue": "3.5.39"