@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,14 +1,10 @@
1
- declare function __VLS_template(): {
2
- attrs: Partial<{}>;
3
- slots: {
4
- bodyContent?(_: {}): any;
5
- belowBody?(_: {}): any;
6
- };
7
- refs: {};
8
- rootEl: HTMLTableSectionElement;
1
+ declare var __VLS_1: {}, __VLS_3: {};
2
+ type __VLS_Slots = {} & {
3
+ bodyContent?: (props: typeof __VLS_1) => any;
4
+ } & {
5
+ belowBody?: (props: typeof __VLS_3) => any;
9
6
  };
10
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
- declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
7
+ declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
8
  moveSelection: (horizontalMove: number, verticalMove: number, expandSelection: boolean) => any;
13
9
  clearSelection: () => any;
14
10
  expandSelectedCell: () => any;
@@ -22,10 +18,11 @@ declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {},
22
18
  onStartEditing?: ((initialValue?: string | undefined) => any) | undefined;
23
19
  onBodyFocusin?: (() => any) | undefined;
24
20
  onBodyFocusout?: (() => any) | undefined;
25
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLTableSectionElement>;
26
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
22
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
+ declare const _default: typeof __VLS_export;
27
24
  export default _default;
28
- type __VLS_WithTemplateSlots<T, S> = T & {
25
+ type __VLS_WithSlots<T, S> = T & {
29
26
  new (): {
30
27
  $slots: S;
31
28
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TableBodyNavigatable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TableBodyNavigatable.vue"],"names":[],"mappings":"AA0LA,iBAAS,cAAc;WAmCT,OAAO,IAA6B;;6BAXjB,GAAG;2BACL,GAAG;;;;EAejC;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;qGAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"TableBodyNavigatable.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TableBodyNavigatable.vue"],"names":[],"mappings":"AAgOA,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAChD;IAAE,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAKjD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;iFAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -18,139 +18,23 @@ type __VLS_Props = {
18
18
  };
19
19
  newColumnButtonWidth: number;
20
20
  };
21
- declare function __VLS_template(): {
22
- attrs: Partial<{}>;
23
- slots: {
24
- header?(_: {
25
- getDragHandleHeight: () => number;
26
- }): any;
27
- row?(_: {
28
- row: any;
29
- rowInd: number;
30
- groupInd: null;
31
- }): any;
32
- 'cell-selection-overlay'?(_: {}): any;
33
- belowBody?(_: {}): any;
34
- };
35
- refs: {
36
- tableCoreVirtual: ({
37
- $: import('vue').ComponentInternalInstance;
38
- $data: {};
39
- $props: {
40
- readonly scrollData: DataItem[];
41
- readonly scrollConfig: {
42
- numRowsAbove: number;
43
- numRowsBelow: number;
44
- itemSize: number;
45
- compact: boolean;
46
- };
47
- readonly specialColumnSizes: {
48
- selectionSize: number;
49
- deletionSize: number;
50
- rightSideSize: number;
51
- };
52
- readonly tableConfig: TableConfig;
53
- readonly columnResizeActive: boolean;
54
- readonly onMoveSelection?: ((horizontalMove: number, verticalMove: number, expandSelection: boolean) => any) | undefined;
55
- readonly onClearSelection?: (() => any) | undefined;
56
- readonly onExpandSelectedCell?: (() => any) | undefined;
57
- readonly onStartEditing?: ((initialValue?: string | undefined) => any) | undefined;
58
- readonly onBodyFocusin?: (() => any) | undefined;
59
- readonly onBodyFocusout?: (() => any) | undefined;
60
- readonly onScrollerUpdate?: ((startIndex: number, endIndex: number) => any) | undefined;
61
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
62
- $attrs: import('vue').Attrs;
63
- $refs: {
64
- [x: string]: unknown;
65
- } & {
66
- headerContainer: HTMLDivElement;
67
- };
68
- $slots: Readonly<{
69
- [name: string]: import('vue').Slot<any> | undefined;
70
- }>;
71
- $root: import('vue').ComponentPublicInstance | null;
72
- $parent: import('vue').ComponentPublicInstance | null;
73
- $host: Element | null;
74
- $emit: ((event: "moveSelection", horizontalMove: number, verticalMove: number, expandSelection: boolean) => void) & ((event: "clearSelection") => void) & ((event: "expandSelectedCell") => void) & ((event: "startEditing", initialValue?: string | undefined) => void) & ((event: "bodyFocusin") => void) & ((event: "bodyFocusout") => void) & ((event: "scrollerUpdate", startIndex: number, endIndex: number) => void);
75
- $el: any;
76
- $options: import('vue').ComponentOptionsBase<Readonly<import('./TableCoreVirtual.vue').Props> & Readonly<{
77
- onMoveSelection?: ((horizontalMove: number, verticalMove: number, expandSelection: boolean) => any) | undefined;
78
- onClearSelection?: (() => any) | undefined;
79
- onExpandSelectedCell?: (() => any) | undefined;
80
- onStartEditing?: ((initialValue?: string | undefined) => any) | undefined;
81
- onBodyFocusin?: (() => any) | undefined;
82
- onBodyFocusout?: (() => any) | undefined;
83
- onScrollerUpdate?: ((startIndex: number, endIndex: number) => any) | undefined;
84
- }>, {
85
- scrollToPosition: ({ top, left }: {
86
- top?: number;
87
- left?: number;
88
- }) => void;
89
- getScrollStart: () => number;
90
- getBody: () => HTMLTableSectionElement | null | undefined;
91
- getContainer: () => HTMLElement | null;
92
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
93
- moveSelection: (horizontalMove: number, verticalMove: number, expandSelection: boolean) => any;
94
- clearSelection: () => any;
95
- expandSelectedCell: () => any;
96
- startEditing: (initialValue?: string | undefined) => any;
97
- bodyFocusin: () => any;
98
- bodyFocusout: () => any;
99
- scrollerUpdate: (startIndex: number, endIndex: number) => any;
100
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
101
- beforeCreate?: (() => void) | (() => void)[];
102
- created?: (() => void) | (() => void)[];
103
- beforeMount?: (() => void) | (() => void)[];
104
- mounted?: (() => void) | (() => void)[];
105
- beforeUpdate?: (() => void) | (() => void)[];
106
- updated?: (() => void) | (() => void)[];
107
- activated?: (() => void) | (() => void)[];
108
- deactivated?: (() => void) | (() => void)[];
109
- beforeDestroy?: (() => void) | (() => void)[];
110
- beforeUnmount?: (() => void) | (() => void)[];
111
- destroyed?: (() => void) | (() => void)[];
112
- unmounted?: (() => void) | (() => void)[];
113
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
114
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
115
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
116
- };
117
- $forceUpdate: () => void;
118
- $nextTick: typeof import('vue').nextTick;
119
- $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;
120
- } & Readonly<{}> & Omit<Readonly<import('./TableCoreVirtual.vue').Props> & Readonly<{
121
- onMoveSelection?: ((horizontalMove: number, verticalMove: number, expandSelection: boolean) => any) | undefined;
122
- onClearSelection?: (() => any) | undefined;
123
- onExpandSelectedCell?: (() => any) | undefined;
124
- onStartEditing?: ((initialValue?: string | undefined) => any) | undefined;
125
- onBodyFocusin?: (() => any) | undefined;
126
- onBodyFocusout?: (() => any) | undefined;
127
- onScrollerUpdate?: ((startIndex: number, endIndex: number) => any) | undefined;
128
- }>, "getBody" | "scrollToPosition" | "getScrollStart" | "getContainer"> & {
129
- scrollToPosition: ({ top, left }: {
130
- top?: number;
131
- left?: number;
132
- }) => void;
133
- getScrollStart: () => number;
134
- getBody: () => HTMLTableSectionElement | null | undefined;
135
- getContainer: () => HTMLElement | null;
136
- } & {} & import('vue').ComponentCustomProperties & {} & {
137
- $slots: {
138
- header?(_: {
139
- getDragHandleHeight: () => number;
140
- }): any;
141
- 'cell-selection-overlay'?(_: {}): any;
142
- row?(_: {
143
- rowInd: number;
144
- row: any;
145
- }): any;
146
- belowBody?(_: {}): any;
147
- };
148
- }) | null;
149
- };
150
- rootEl: any;
21
+ declare var __VLS_16: {
22
+ getDragHandleHeight: () => number;
23
+ }, __VLS_19: {
24
+ row: any;
25
+ rowInd: number;
26
+ groupInd: null;
27
+ }, __VLS_22: {}, __VLS_25: {};
28
+ type __VLS_Slots = {} & {
29
+ header?: (props: typeof __VLS_16) => any;
30
+ } & {
31
+ row?: (props: typeof __VLS_19) => any;
32
+ } & {
33
+ 'cell-selection-overlay'?: (props: typeof __VLS_22) => any;
34
+ } & {
35
+ belowBody?: (props: typeof __VLS_25) => any;
151
36
  };
152
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
153
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
37
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {
154
38
  virtualScrollToPosition: (position: {
155
39
  top?: number;
156
40
  left?: number;
@@ -172,124 +56,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
172
56
  onBodyFocusout?: (() => any) | undefined;
173
57
  onScrollerUpdate?: ((startIndex: number, endIndex: number) => any) | undefined;
174
58
  "onUpdate:available-width"?: ((newAvailableWidth: number) => any) | undefined;
175
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
176
- tableCoreVirtual: ({
177
- $: import('vue').ComponentInternalInstance;
178
- $data: {};
179
- $props: {
180
- readonly scrollData: DataItem[];
181
- readonly scrollConfig: {
182
- numRowsAbove: number;
183
- numRowsBelow: number;
184
- itemSize: number;
185
- compact: boolean;
186
- };
187
- readonly specialColumnSizes: {
188
- selectionSize: number;
189
- deletionSize: number;
190
- rightSideSize: number;
191
- };
192
- readonly tableConfig: TableConfig;
193
- readonly columnResizeActive: boolean;
194
- readonly onMoveSelection?: ((horizontalMove: number, verticalMove: number, expandSelection: boolean) => any) | undefined;
195
- readonly onClearSelection?: (() => any) | undefined;
196
- readonly onExpandSelectedCell?: (() => any) | undefined;
197
- readonly onStartEditing?: ((initialValue?: string | undefined) => any) | undefined;
198
- readonly onBodyFocusin?: (() => any) | undefined;
199
- readonly onBodyFocusout?: (() => any) | undefined;
200
- readonly onScrollerUpdate?: ((startIndex: number, endIndex: number) => any) | undefined;
201
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
202
- $attrs: import('vue').Attrs;
203
- $refs: {
204
- [x: string]: unknown;
205
- } & {
206
- headerContainer: HTMLDivElement;
207
- };
208
- $slots: Readonly<{
209
- [name: string]: import('vue').Slot<any> | undefined;
210
- }>;
211
- $root: import('vue').ComponentPublicInstance | null;
212
- $parent: import('vue').ComponentPublicInstance | null;
213
- $host: Element | null;
214
- $emit: ((event: "moveSelection", horizontalMove: number, verticalMove: number, expandSelection: boolean) => void) & ((event: "clearSelection") => void) & ((event: "expandSelectedCell") => void) & ((event: "startEditing", initialValue?: string | undefined) => void) & ((event: "bodyFocusin") => void) & ((event: "bodyFocusout") => void) & ((event: "scrollerUpdate", startIndex: number, endIndex: number) => void);
215
- $el: any;
216
- $options: import('vue').ComponentOptionsBase<Readonly<import('./TableCoreVirtual.vue').Props> & Readonly<{
217
- onMoveSelection?: ((horizontalMove: number, verticalMove: number, expandSelection: boolean) => any) | undefined;
218
- onClearSelection?: (() => any) | undefined;
219
- onExpandSelectedCell?: (() => any) | undefined;
220
- onStartEditing?: ((initialValue?: string | undefined) => any) | undefined;
221
- onBodyFocusin?: (() => any) | undefined;
222
- onBodyFocusout?: (() => any) | undefined;
223
- onScrollerUpdate?: ((startIndex: number, endIndex: number) => any) | undefined;
224
- }>, {
225
- scrollToPosition: ({ top, left }: {
226
- top?: number;
227
- left?: number;
228
- }) => void;
229
- getScrollStart: () => number;
230
- getBody: () => HTMLTableSectionElement | null | undefined;
231
- getContainer: () => HTMLElement | null;
232
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
233
- moveSelection: (horizontalMove: number, verticalMove: number, expandSelection: boolean) => any;
234
- clearSelection: () => any;
235
- expandSelectedCell: () => any;
236
- startEditing: (initialValue?: string | undefined) => any;
237
- bodyFocusin: () => any;
238
- bodyFocusout: () => any;
239
- scrollerUpdate: (startIndex: number, endIndex: number) => any;
240
- }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
241
- beforeCreate?: (() => void) | (() => void)[];
242
- created?: (() => void) | (() => void)[];
243
- beforeMount?: (() => void) | (() => void)[];
244
- mounted?: (() => void) | (() => void)[];
245
- beforeUpdate?: (() => void) | (() => void)[];
246
- updated?: (() => void) | (() => void)[];
247
- activated?: (() => void) | (() => void)[];
248
- deactivated?: (() => void) | (() => void)[];
249
- beforeDestroy?: (() => void) | (() => void)[];
250
- beforeUnmount?: (() => void) | (() => void)[];
251
- destroyed?: (() => void) | (() => void)[];
252
- unmounted?: (() => void) | (() => void)[];
253
- renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
254
- renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
255
- errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
256
- };
257
- $forceUpdate: () => void;
258
- $nextTick: typeof import('vue').nextTick;
259
- $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;
260
- } & Readonly<{}> & Omit<Readonly<import('./TableCoreVirtual.vue').Props> & Readonly<{
261
- onMoveSelection?: ((horizontalMove: number, verticalMove: number, expandSelection: boolean) => any) | undefined;
262
- onClearSelection?: (() => any) | undefined;
263
- onExpandSelectedCell?: (() => any) | undefined;
264
- onStartEditing?: ((initialValue?: string | undefined) => any) | undefined;
265
- onBodyFocusin?: (() => any) | undefined;
266
- onBodyFocusout?: (() => any) | undefined;
267
- onScrollerUpdate?: ((startIndex: number, endIndex: number) => any) | undefined;
268
- }>, "getBody" | "scrollToPosition" | "getScrollStart" | "getContainer"> & {
269
- scrollToPosition: ({ top, left }: {
270
- top?: number;
271
- left?: number;
272
- }) => void;
273
- getScrollStart: () => number;
274
- getBody: () => HTMLTableSectionElement | null | undefined;
275
- getContainer: () => HTMLElement | null;
276
- } & {} & import('vue').ComponentCustomProperties & {} & {
277
- $slots: {
278
- header?(_: {
279
- getDragHandleHeight: () => number;
280
- }): any;
281
- 'cell-selection-overlay'?(_: {}): any;
282
- row?(_: {
283
- rowInd: number;
284
- row: any;
285
- }): any;
286
- belowBody?(_: {}): any;
287
- };
288
- }) | null;
289
- }, any>;
290
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
59
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
60
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
61
+ declare const _default: typeof __VLS_export;
291
62
  export default _default;
292
- type __VLS_WithTemplateSlots<T, S> = T & {
63
+ type __VLS_WithSlots<T, S> = T & {
293
64
  new (): {
294
65
  $slots: S;
295
66
  };
@@ -1 +1 @@
1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AAE,OAAO,CAAC;KACjB,CAAC;IACF,oBAAoB,EAAE,MAAM,CAAC;CAC9B,CAAC;AAiOF,QAAA,IAAyB,QAAQ;;CAAW,EAAE,QAAQ;;;;CAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC9G,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,GAAG,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACzC;IAAE,wBAAwB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC9D;IAAE,SAAS,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAOlD,QAAA,MAAM,UAAU;wCApNsB;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE;;;;;;;;;;;;;;;;;;kFAwNnE,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -16,26 +16,22 @@ export interface Props {
16
16
  tableConfig: TableConfig;
17
17
  columnResizeActive: boolean;
18
18
  }
19
- declare function __VLS_template(): {
20
- attrs: Partial<{}>;
21
- slots: {
22
- header?(_: {
23
- getDragHandleHeight: () => number;
24
- }): any;
25
- 'cell-selection-overlay'?(_: {}): any;
26
- row?(_: {
27
- rowInd: number;
28
- row: any;
29
- }): any;
30
- belowBody?(_: {}): any;
31
- };
32
- refs: {
33
- headerContainer: HTMLDivElement;
34
- };
35
- rootEl: any;
19
+ declare var __VLS_1: {
20
+ getDragHandleHeight: () => number;
21
+ }, __VLS_17: {}, __VLS_25: {
22
+ rowInd: number;
23
+ row: any;
24
+ }, __VLS_28: {};
25
+ type __VLS_Slots = {} & {
26
+ header?: (props: typeof __VLS_1) => any;
27
+ } & {
28
+ 'cell-selection-overlay'?: (props: typeof __VLS_17) => any;
29
+ } & {
30
+ row?: (props: typeof __VLS_25) => any;
31
+ } & {
32
+ belowBody?: (props: typeof __VLS_28) => any;
36
33
  };
37
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
38
- declare const __VLS_component: import('vue').DefineComponent<Props, {
34
+ declare const __VLS_base: import('vue').DefineComponent<Props, {
39
35
  scrollToPosition: ({ top, left }: {
40
36
  top?: number;
41
37
  left?: number;
@@ -59,12 +55,11 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {
59
55
  onBodyFocusin?: (() => any) | undefined;
60
56
  onBodyFocusout?: (() => any) | undefined;
61
57
  onScrollerUpdate?: ((startIndex: number, endIndex: number) => any) | undefined;
62
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
63
- headerContainer: HTMLDivElement;
64
- }, any>;
65
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
58
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
59
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
60
+ declare const _default: typeof __VLS_export;
66
61
  export default _default;
67
- type __VLS_WithTemplateSlots<T, S> = T & {
62
+ type __VLS_WithSlots<T, S> = T & {
68
63
  new (): {
69
64
  $slots: S;
70
65
  };
@@ -1 +1 @@
1
- {"version":3,"file":"TableCoreVirtual.vue.d.ts","sourceRoot":"","sources":["../../../src/components/TableCoreVirtual.vue"],"names":[],"mappings":"AAiWA,OAAO,gCAAgC,CAAC;AAWxC,OAAO,KAAK,EAAE,WA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