@knime/kds-table 0.2.2 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/index.css +440 -284
- package/dist/index.js +1154 -1769
- package/dist/index.js.map +1 -1
- package/dist/src/components/TableCore.vue.d.ts +5 -3
- package/dist/src/components/TableCore.vue.d.ts.map +1 -1
- package/dist/src/components/TableCoreVirtual.vue.d.ts +1 -1
- package/dist/src/components/TableCoreVirtual.vue.d.ts.map +1 -1
- package/dist/src/components/TableUI.vue.d.ts +1297 -1696
- package/dist/src/components/TableUI.vue.d.ts.map +1 -1
- package/dist/src/components/TableUIWithAutoSizeCalculation.vue.d.ts +2258 -8118
- package/dist/src/components/TableUIWithAutoSizeCalculation.vue.d.ts.map +1 -1
- package/dist/src/components/VirtualRow.vue.d.ts +1 -1
- package/dist/src/components/VirtualRow.vue.d.ts.map +1 -1
- package/dist/src/components/composables/useDataValueViews.d.ts +2 -2
- package/dist/src/components/composables/useDataValueViews.d.ts.map +1 -1
- package/dist/src/components/composables/useHeaderMenuItems.d.ts +4 -3
- package/dist/src/components/composables/useHeaderMenuItems.d.ts.map +1 -1
- package/dist/src/components/control/PageControls.vue.d.ts +29 -7
- package/dist/src/components/control/PageControls.vue.d.ts.map +1 -1
- package/dist/src/components/control/TableActionBar.vue.d.ts +24 -27
- package/dist/src/components/control/TableActionBar.vue.d.ts.map +1 -1
- package/dist/src/components/control/actionbar/FilterControl.vue.d.ts +12 -12
- package/dist/src/components/control/actionbar/FilterControl.vue.d.ts.map +1 -1
- package/dist/src/components/control/actionbar/FilterControlBody.vue.d.ts +5 -5
- package/dist/src/components/control/actionbar/FilterControlBody.vue.d.ts.map +1 -1
- package/dist/src/components/control/actionbar/SortControl.vue.d.ts +4 -4
- package/dist/src/components/control/actionbar/SortControl.vue.d.ts.map +1 -1
- package/dist/src/components/control/actionbar/filterConfigActive.d.ts +5 -5
- package/dist/src/components/control/actionbar/filterConfigActive.d.ts.map +1 -1
- package/dist/src/components/layout/Cell.vue.d.ts +0 -4
- package/dist/src/components/layout/Cell.vue.d.ts.map +1 -1
- package/dist/src/components/layout/CellProps.d.ts +3 -6
- package/dist/src/components/layout/CellProps.d.ts.map +1 -1
- package/dist/src/components/layout/CellRenderer.vue.d.ts.map +1 -1
- package/dist/src/components/layout/CellRendererProps.d.ts +0 -2
- package/dist/src/components/layout/CellRendererProps.d.ts.map +1 -1
- package/dist/src/components/layout/Header.vue.d.ts +252 -411
- package/dist/src/components/layout/Header.vue.d.ts.map +1 -1
- package/dist/src/components/layout/HeaderCell.vue.d.ts +190 -0
- package/dist/src/components/layout/HeaderCell.vue.d.ts.map +1 -0
- package/dist/src/components/layout/Row.vue.d.ts +4 -2
- package/dist/src/components/layout/Row.vue.d.ts.map +1 -1
- package/dist/src/components/ui/CellSelectionOverlay.vue.d.ts.map +1 -1
- package/dist/src/components/ui/CellSelectionOverlayProps.d.ts +1 -1
- package/dist/src/components/ui/CellSelectionOverlayProps.d.ts.map +1 -1
- package/dist/src/components/ui/EmptyRow.vue.d.ts +1 -1
- package/dist/src/components/ui/EmptyRow.vue.d.ts.map +1 -1
- package/dist/src/config/table.config.d.ts +11 -21
- package/dist/src/config/table.config.d.ts.map +1 -1
- package/dist/src/constants.d.ts.map +1 -0
- package/dist/src/index.d.ts +14 -17
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/types/ActionConfig.d.ts +16 -0
- package/dist/src/types/ActionConfig.d.ts.map +1 -0
- package/dist/src/types/ColumnConfig.d.ts +44 -0
- package/dist/src/types/ColumnConfig.d.ts.map +1 -0
- package/dist/src/types/ColumnState.d.ts +18 -0
- package/dist/src/types/ColumnState.d.ts.map +1 -0
- package/dist/src/types/FilterConfig.d.ts +10 -3
- package/dist/src/types/FilterConfig.d.ts.map +1 -1
- package/dist/src/types/PageConfig.d.ts +13 -0
- package/dist/src/types/PageConfig.d.ts.map +1 -0
- package/dist/src/types/RowConfig.d.ts +15 -0
- package/dist/src/types/RowConfig.d.ts.map +1 -0
- package/dist/src/types/SubMenuConfig.d.ts +11 -0
- package/dist/src/types/SubMenuConfig.d.ts.map +1 -0
- package/dist/src/types/TableConfig.d.ts +34 -39
- package/dist/src/types/TableConfig.d.ts.map +1 -1
- package/dist/src/{util → utils}/index.d.ts +1 -1
- package/dist/src/utils/index.d.ts.map +1 -0
- package/package.json +5 -5
- package/dist/src/config/time.config.d.ts +0 -53
- package/dist/src/config/time.config.d.ts.map +0 -1
- package/dist/src/types/DataConfig.d.ts +0 -40
- package/dist/src/types/DataConfig.d.ts.map +0 -1
- package/dist/src/util/constants.d.ts.map +0 -1
- package/dist/src/util/getColumnDomains.d.ts +0 -7
- package/dist/src/util/getColumnDomains.d.ts.map +0 -1
- package/dist/src/util/getFilterConfigs.d.ts +0 -11
- package/dist/src/util/getFilterConfigs.d.ts.map +0 -1
- package/dist/src/util/getNextPage.d.ts +0 -2
- package/dist/src/util/getNextPage.d.ts.map +0 -1
- package/dist/src/util/getWrappedArondNextElement.d.ts +0 -6
- package/dist/src/util/getWrappedArondNextElement.d.ts.map +0 -1
- package/dist/src/util/index.d.ts.map +0 -1
- package/dist/src/util/isSinglePage.d.ts +0 -3
- package/dist/src/util/isSinglePage.d.ts.map +0 -1
- package/dist/src/util/processSelection.d.ts +0 -2
- package/dist/src/util/processSelection.d.ts.map +0 -1
- package/dist/src/util/transform/filter.d.ts +0 -8
- package/dist/src/util/transform/filter.d.ts.map +0 -1
- package/dist/src/util/transform/group.d.ts +0 -7
- package/dist/src/util/transform/group.d.ts.map +0 -1
- package/dist/src/util/transform/paginate.d.ts +0 -4
- package/dist/src/util/transform/paginate.d.ts.map +0 -1
- package/dist/src/util/transform/search.d.ts +0 -3
- package/dist/src/util/transform/search.d.ts.map +0 -1
- package/dist/src/util/transform/sort.d.ts +0 -2
- package/dist/src/util/transform/sort.d.ts.map +0 -1
- /package/dist/src/{util/constants.d.ts → constants.d.ts} +0 -0
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
import { PropType, Ref, nextTick } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { ActionConfig, ActionState } from '../types/ActionConfig';
|
|
3
|
+
import { ColumnConfig } from '../types/ColumnConfig';
|
|
4
|
+
import { ColFilterValues, ColSortValue } from '../types/ColumnState';
|
|
3
5
|
import { VirtualElementAnchor } from '../types/DataValueView';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
+
import { FilterValue } from '../types/FilterConfig';
|
|
7
|
+
import { PageConfig, PageState } from '../types/PageConfig';
|
|
8
|
+
import { RowConfig } from '../types/RowConfig';
|
|
9
|
+
import { SubMenuConfig } from '../types/SubMenuConfig';
|
|
10
|
+
import { TableConfig, TableState } from '../types/TableConfig';
|
|
6
11
|
import { default as TableCore } from './TableCore.vue';
|
|
7
12
|
import { CellPosition, Rect, RectId } from './composables/useCellSelection';
|
|
8
13
|
import { default as Header } from './layout/Header.vue';
|
|
@@ -22,11 +27,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
22
27
|
*/
|
|
23
28
|
data: {
|
|
24
29
|
type: PropType<Array<Array<any>>>;
|
|
25
|
-
|
|
26
|
-
};
|
|
27
|
-
currentSelection: {
|
|
28
|
-
type: PropType<Array<Array<boolean>>>;
|
|
29
|
-
default: () => never[];
|
|
30
|
+
required: true;
|
|
30
31
|
};
|
|
31
32
|
/**
|
|
32
33
|
* It specifies how many (empty) rows should be simultated above the given rows in this.data[0]
|
|
@@ -50,6 +51,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
50
51
|
type: ArrayConstructor;
|
|
51
52
|
default: () => never[];
|
|
52
53
|
};
|
|
54
|
+
currentSelection: {
|
|
55
|
+
type: PropType<Array<Array<boolean>>>;
|
|
56
|
+
default: () => never[];
|
|
57
|
+
};
|
|
53
58
|
/**
|
|
54
59
|
* analogous to currentSelection but for the bottomData
|
|
55
60
|
*/
|
|
@@ -57,21 +62,66 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
57
62
|
type: PropType<boolean[]>;
|
|
58
63
|
default: () => never[];
|
|
59
64
|
};
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
65
|
+
/** Stable per-column definitions. */
|
|
66
|
+
columns: {
|
|
67
|
+
type: PropType<ColumnConfig[]>;
|
|
68
|
+
required: true;
|
|
63
69
|
};
|
|
64
|
-
/**
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
70
|
+
/** Per-column widths, keyed by column id. */
|
|
71
|
+
colSizes: {
|
|
72
|
+
type: PropType<number[]>;
|
|
73
|
+
default: () => never[];
|
|
74
|
+
};
|
|
75
|
+
/** Per-column filter values, keyed by column id. */
|
|
76
|
+
colFilterValues: {
|
|
77
|
+
type: PropType<ColFilterValues>;
|
|
69
78
|
default: () => {};
|
|
70
79
|
};
|
|
80
|
+
/** Active sorts, ordered by sort priority. */
|
|
81
|
+
colSortValues: {
|
|
82
|
+
type: PropType<ColSortValue[]>;
|
|
83
|
+
default: () => never[];
|
|
84
|
+
};
|
|
85
|
+
/** Feature switches for the table. */
|
|
71
86
|
tableConfig: {
|
|
72
87
|
type: PropType<TableConfig>;
|
|
73
88
|
default: () => {};
|
|
74
|
-
|
|
89
|
+
};
|
|
90
|
+
/** Runtime totals and flags for the table. */
|
|
91
|
+
tableState: {
|
|
92
|
+
type: PropType<TableState>;
|
|
93
|
+
default: () => {};
|
|
94
|
+
};
|
|
95
|
+
/** Pagination config; its presence enables pagination. */
|
|
96
|
+
pageConfig: {
|
|
97
|
+
type: PropType<PageConfig | undefined>;
|
|
98
|
+
default: undefined;
|
|
99
|
+
};
|
|
100
|
+
/** Runtime pagination state. */
|
|
101
|
+
pageState: {
|
|
102
|
+
type: PropType<PageState | undefined>;
|
|
103
|
+
default: undefined;
|
|
104
|
+
};
|
|
105
|
+
/** Action-bar config; its presence enables the action bar. */
|
|
106
|
+
actionConfig: {
|
|
107
|
+
type: PropType<ActionConfig | undefined>;
|
|
108
|
+
default: undefined;
|
|
109
|
+
};
|
|
110
|
+
/** Runtime state of the action bar. */
|
|
111
|
+
actionState: {
|
|
112
|
+
type: PropType<ActionState | undefined>;
|
|
113
|
+
default: undefined;
|
|
114
|
+
required: false;
|
|
115
|
+
};
|
|
116
|
+
/** Per-row and per-group submenu config. */
|
|
117
|
+
subMenuConfig: {
|
|
118
|
+
type: PropType<SubMenuConfig>;
|
|
119
|
+
default: () => {};
|
|
120
|
+
};
|
|
121
|
+
/** Appearance of the table's rows. */
|
|
122
|
+
rowConfig: {
|
|
123
|
+
type: PropType<RowConfig>;
|
|
124
|
+
default: () => {};
|
|
75
125
|
};
|
|
76
126
|
disableRowHeightTransition: {
|
|
77
127
|
type: BooleanConstructor;
|
|
@@ -92,8 +142,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
92
142
|
compact: boolean;
|
|
93
143
|
};
|
|
94
144
|
readonly tableConfig: TableConfig;
|
|
145
|
+
readonly subMenuConfig: SubMenuConfig;
|
|
95
146
|
readonly totalWidth: null | number;
|
|
96
|
-
readonly
|
|
147
|
+
readonly colSizes: number[];
|
|
97
148
|
readonly currentRowHeight: number | "dynamic";
|
|
98
149
|
readonly columnResize: {
|
|
99
150
|
active: boolean;
|
|
@@ -121,7 +172,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
121
172
|
itemSize: number;
|
|
122
173
|
compact: boolean;
|
|
123
174
|
};
|
|
124
|
-
readonly
|
|
175
|
+
readonly colSizes: number[];
|
|
125
176
|
readonly specialColumnSizes: {
|
|
126
177
|
selectionSize: number;
|
|
127
178
|
deletionSize: number;
|
|
@@ -243,8 +294,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
243
294
|
compact: boolean;
|
|
244
295
|
};
|
|
245
296
|
tableConfig: TableConfig;
|
|
297
|
+
subMenuConfig: SubMenuConfig;
|
|
246
298
|
totalWidth: null | number;
|
|
247
|
-
|
|
299
|
+
colSizes: number[];
|
|
248
300
|
currentRowHeight: number | "dynamic";
|
|
249
301
|
columnResize: {
|
|
250
302
|
active: boolean;
|
|
@@ -301,8 +353,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
301
353
|
compact: boolean;
|
|
302
354
|
};
|
|
303
355
|
tableConfig: TableConfig;
|
|
356
|
+
subMenuConfig: SubMenuConfig;
|
|
304
357
|
totalWidth: null | number;
|
|
305
|
-
|
|
358
|
+
colSizes: number[];
|
|
306
359
|
currentRowHeight: number | "dynamic";
|
|
307
360
|
columnResize: {
|
|
308
361
|
active: boolean;
|
|
@@ -349,8 +402,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
349
402
|
compact: boolean;
|
|
350
403
|
};
|
|
351
404
|
readonly tableConfig: TableConfig;
|
|
405
|
+
readonly subMenuConfig: SubMenuConfig;
|
|
352
406
|
readonly totalWidth: null | number;
|
|
353
|
-
readonly
|
|
407
|
+
readonly colSizes: number[];
|
|
354
408
|
readonly currentRowHeight: number | "dynamic";
|
|
355
409
|
readonly columnResize: {
|
|
356
410
|
active: boolean;
|
|
@@ -378,7 +432,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
378
432
|
itemSize: number;
|
|
379
433
|
compact: boolean;
|
|
380
434
|
};
|
|
381
|
-
readonly
|
|
435
|
+
readonly colSizes: number[];
|
|
382
436
|
readonly specialColumnSizes: {
|
|
383
437
|
selectionSize: number;
|
|
384
438
|
deletionSize: number;
|
|
@@ -500,8 +554,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
500
554
|
compact: boolean;
|
|
501
555
|
};
|
|
502
556
|
tableConfig: TableConfig;
|
|
557
|
+
subMenuConfig: SubMenuConfig;
|
|
503
558
|
totalWidth: null | number;
|
|
504
|
-
|
|
559
|
+
colSizes: number[];
|
|
505
560
|
currentRowHeight: number | "dynamic";
|
|
506
561
|
columnResize: {
|
|
507
562
|
active: boolean;
|
|
@@ -558,8 +613,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
558
613
|
compact: boolean;
|
|
559
614
|
};
|
|
560
615
|
tableConfig: TableConfig;
|
|
616
|
+
subMenuConfig: SubMenuConfig;
|
|
561
617
|
totalWidth: null | number;
|
|
562
|
-
|
|
618
|
+
colSizes: number[];
|
|
563
619
|
currentRowHeight: number | "dynamic";
|
|
564
620
|
columnResize: {
|
|
565
621
|
active: boolean;
|
|
@@ -600,32 +656,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
600
656
|
type: PropType<TableConfig>;
|
|
601
657
|
default: () => {};
|
|
602
658
|
};
|
|
603
|
-
|
|
604
|
-
type: PropType<
|
|
605
|
-
default: () =>
|
|
606
|
-
};
|
|
607
|
-
columnSubHeaders: {
|
|
608
|
-
type: PropType<Array<string | undefined>>;
|
|
609
|
-
default: () => never[];
|
|
610
|
-
};
|
|
611
|
-
columnSizes: {
|
|
612
|
-
type: PropType<Array<number>>;
|
|
613
|
-
default: () => never[];
|
|
659
|
+
actionConfig: {
|
|
660
|
+
type: PropType<ActionConfig>;
|
|
661
|
+
default: () => {};
|
|
614
662
|
};
|
|
615
|
-
|
|
616
|
-
type: PropType<
|
|
663
|
+
columns: {
|
|
664
|
+
type: PropType<ColumnConfig[]>;
|
|
617
665
|
default: () => never[];
|
|
618
666
|
};
|
|
619
|
-
|
|
620
|
-
type: PropType<
|
|
621
|
-
default: () =>
|
|
667
|
+
colFilterValues: {
|
|
668
|
+
type: PropType<ColFilterValues>;
|
|
669
|
+
default: () => {};
|
|
622
670
|
};
|
|
623
|
-
|
|
624
|
-
type: PropType<
|
|
671
|
+
colSizes: {
|
|
672
|
+
type: PropType<number[]>;
|
|
625
673
|
default: () => never[];
|
|
626
674
|
};
|
|
627
|
-
|
|
628
|
-
type: PropType<
|
|
675
|
+
colSortValues: {
|
|
676
|
+
type: PropType<ColSortValue[]>;
|
|
629
677
|
default: () => never[];
|
|
630
678
|
};
|
|
631
679
|
isSelected: {
|
|
@@ -633,7 +681,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
633
681
|
default: boolean;
|
|
634
682
|
};
|
|
635
683
|
getDragHandleHeight: {
|
|
636
|
-
type:
|
|
684
|
+
type: PropType<() => number>;
|
|
637
685
|
default: () => number;
|
|
638
686
|
};
|
|
639
687
|
showNewColumnButton: {
|
|
@@ -646,12 +694,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
646
694
|
};
|
|
647
695
|
}>> & Readonly<{
|
|
648
696
|
onColumnResize?: ((index: number, newSize: number) => any) | undefined;
|
|
697
|
+
onColumnSort?: ((index: number, direction: 0 | 1 | -1) => any) | undefined;
|
|
698
|
+
onOpenActionBarFilterControl?: ((index: number) => any) | undefined;
|
|
699
|
+
onClearColumnFilter?: ((index: number) => any) | undefined;
|
|
700
|
+
onColumnResizeStart?: (() => any) | undefined;
|
|
701
|
+
onColumnResizeEnd?: (() => any) | undefined;
|
|
702
|
+
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
649
703
|
onHeaderSelect?: ((selected: boolean) => any) | undefined;
|
|
650
704
|
onShowColumnBorder?: (() => any) | undefined;
|
|
651
705
|
onHideColumnBorder?: (() => any) | undefined;
|
|
652
|
-
onColumnResizeEnd?: (() => any) | undefined;
|
|
653
|
-
onColumnResizeStart?: (() => any) | undefined;
|
|
654
|
-
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
655
706
|
onMoveDownFromHeaderCell?: ((index: number) => any) | undefined;
|
|
656
707
|
onHeaderCellSelect?: ((index: number) => any) | undefined;
|
|
657
708
|
"onUpdate:newColumnButtonWidth"?: ((width: number) => any) | undefined;
|
|
@@ -662,49 +713,32 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
662
713
|
onHeaderCellStartEditing?: ((index: number, initialValue?: string | undefined) => any) | undefined;
|
|
663
714
|
onDeleteColumn?: ((index: number) => any) | undefined;
|
|
664
715
|
}>, {
|
|
665
|
-
|
|
716
|
+
indexedColumns: Ref<[ColumnConfig, number][], [ColumnConfig, number][]>;
|
|
666
717
|
headerStyles: import('vue').MaybeRef<import('vue').CSSProperties>;
|
|
667
718
|
onHeaderCellKeydown: (event: KeyboardEvent, columnIndex: number) => void;
|
|
668
|
-
scrollContainer: Ref<HTMLElement | null, HTMLElement | null>;
|
|
669
|
-
dragIndex: Ref<number | null, number | null>;
|
|
670
|
-
columnSizeOnDragStart: Ref<number, number>;
|
|
671
|
-
pageXOnDragStart: Ref<number, number>;
|
|
672
|
-
currentPageX: Ref<number, number>;
|
|
673
|
-
autoScrollOffset: Ref<number, number>;
|
|
674
|
-
emitColumnResize: () => void;
|
|
675
|
-
startAutoScroll: (clientX: number) => void;
|
|
676
|
-
updateAutoScroll: (clientX: number) => void;
|
|
677
|
-
stopAutoScroll: () => void;
|
|
678
719
|
}, {
|
|
679
|
-
hoverIndex: null | number;
|
|
680
720
|
minimumColumnWidth: number;
|
|
681
|
-
|
|
682
|
-
currentDragHandlerHeight: number;
|
|
683
|
-
borderTop: number;
|
|
721
|
+
resizingColumnIndex: null | number;
|
|
684
722
|
focusedHeaderIndex: null | number;
|
|
685
723
|
}, {
|
|
686
|
-
enableColumnResizing(): boolean;
|
|
687
|
-
hasSubHeaders(): boolean;
|
|
688
|
-
currentResizeDragHandleWidth(): 0 | 5;
|
|
689
724
|
headerSelectionOverlayStyle(): Record<string, string> | null;
|
|
690
725
|
}, {
|
|
726
|
+
columnSize(columnIndex: number): number;
|
|
727
|
+
sortDirection(columnIndex: number): -1 | 0 | 1;
|
|
691
728
|
onHeaderCellFocus(columnIndex: number): void;
|
|
692
729
|
onHeaderCellBlur(columnIndex: number): void;
|
|
693
730
|
emitNewColumnButtonWidth(): void;
|
|
694
731
|
onSelect(): void;
|
|
695
732
|
onHeaderClick(ind: number): void;
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
733
|
+
onColumnResizeStart(columnIndex: number): void;
|
|
734
|
+
onColumnResizeEnd(): void;
|
|
735
|
+
onColumnResize(columnIndex: number, newSize: number): void;
|
|
736
|
+
onAllColumnsResize(newSize: number): void;
|
|
737
|
+
onColumnSort(columnIndex: number, direction: -1 | 0 | 1): void;
|
|
738
|
+
onOpenActionBarFilterControl(columnIndex: number): void;
|
|
739
|
+
onClearColumnFilter(columnIndex: number): void;
|
|
703
740
|
onNewColumnButtonClick(event: MouseEvent): void;
|
|
704
741
|
onNewColumnButtonKeydownLeft(event: KeyboardEvent): void;
|
|
705
|
-
unthrottledOnPointerMove(event: PointerEvent): void;
|
|
706
|
-
onLostPointerCapture: import('raf-throttle').Throttled<(event: any) => void>;
|
|
707
|
-
dragHandleHeight(isDragging: boolean): number;
|
|
708
742
|
onDeleteColumn(ind: number): void;
|
|
709
743
|
getHeaderCellWidths(): number[];
|
|
710
744
|
onKeydownTab(): void;
|
|
@@ -712,6 +746,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
712
746
|
onKeydownRight(columnIndex: number): void;
|
|
713
747
|
onKeydownDown(columnIndex: number): void;
|
|
714
748
|
focusHeaderCell(cellInd: number): void;
|
|
749
|
+
isColumnHeaderFocusable(cellInd: number): boolean;
|
|
715
750
|
focusNewColumnButton(): void;
|
|
716
751
|
focusSelectionCheckbox(): void;
|
|
717
752
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -722,6 +757,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
722
757
|
columnResizeEnd: () => true;
|
|
723
758
|
columnResizeStart: () => true;
|
|
724
759
|
allColumnsResize: (newSize: number) => true;
|
|
760
|
+
columnSort: (index: number, direction: -1 | 0 | 1) => true;
|
|
761
|
+
openActionBarFilterControl: (index: number) => true;
|
|
762
|
+
clearColumnFilter: (index: number) => true;
|
|
725
763
|
moveDownFromHeaderCell: (index: number) => true;
|
|
726
764
|
headerCellSelect: (index: number) => true;
|
|
727
765
|
"update:newColumnButtonWidth": (width: number) => true;
|
|
@@ -732,15 +770,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
732
770
|
headerCellStartEditing: (index: number, initialValue?: string) => true;
|
|
733
771
|
deleteColumn: (index: number) => true;
|
|
734
772
|
}, import('vue').PublicProps, {
|
|
735
|
-
|
|
773
|
+
columns: ColumnConfig[];
|
|
774
|
+
colSizes: number[];
|
|
736
775
|
tableConfig: TableConfig;
|
|
737
|
-
getDragHandleHeight:
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
columnHeaderColors: (string | null)[];
|
|
742
|
-
columnDeletables: (boolean | undefined)[];
|
|
743
|
-
columnEditables: (boolean | undefined)[];
|
|
776
|
+
getDragHandleHeight: () => number;
|
|
777
|
+
colFilterValues: ColFilterValues;
|
|
778
|
+
colSortValues: ColSortValue[];
|
|
779
|
+
actionConfig: ActionConfig;
|
|
744
780
|
isSelected: boolean;
|
|
745
781
|
showNewColumnButton: boolean;
|
|
746
782
|
selectedHeaderIndex: number | null;
|
|
@@ -835,347 +871,214 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
835
871
|
} & import('packages/components/dist/src/buttons/types').WithDestructive)> & Readonly<{
|
|
836
872
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
837
873
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
874
|
+
HeaderCell: {
|
|
875
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
876
|
+
column: ColumnConfig;
|
|
877
|
+
colFilterValue?: FilterValue;
|
|
878
|
+
tableConfig: TableConfig;
|
|
879
|
+
actionConfig: ActionConfig;
|
|
880
|
+
sortDirection: -1 | 0 | 1;
|
|
881
|
+
columnSize?: number;
|
|
882
|
+
focused: boolean;
|
|
883
|
+
selected: boolean;
|
|
884
|
+
otherColumnResizing: boolean;
|
|
885
|
+
getDragHandleHeight: () => number;
|
|
886
|
+
}> & Readonly<{
|
|
887
|
+
onColumnResize?: ((newSize: number) => any) | undefined;
|
|
888
|
+
onOnColumnSort?: ((direction: 0 | 1 | -1) => any) | undefined;
|
|
889
|
+
onOpenActionBarFilterControl?: (() => any) | undefined;
|
|
890
|
+
onClearColumnFilter?: (() => any) | undefined;
|
|
891
|
+
onOnHeaderCellFocus?: (() => any) | undefined;
|
|
892
|
+
onOnHeaderCellBlur?: (() => any) | undefined;
|
|
893
|
+
onOnHeaderClick?: (() => any) | undefined;
|
|
894
|
+
onOnKeydownTab?: (() => any) | undefined;
|
|
895
|
+
onOnKeydownLeft?: (() => any) | undefined;
|
|
896
|
+
onOnKeydownRight?: (() => any) | undefined;
|
|
897
|
+
onOnKeydownDown?: (() => any) | undefined;
|
|
898
|
+
onOnHeaderCellKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
899
|
+
onOnDeleteColumn?: (() => any) | undefined;
|
|
900
|
+
onColumnResizeStart?: (() => any) | undefined;
|
|
901
|
+
onColumnResizeEnd?: (() => any) | undefined;
|
|
902
|
+
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
903
|
+
}>, {
|
|
904
|
+
getHeaderCellWidth: () => number;
|
|
905
|
+
focus: () => void;
|
|
906
|
+
isFocusable: () => boolean;
|
|
907
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
908
|
+
columnResize: (newSize: number) => any;
|
|
909
|
+
onColumnSort: (direction: 0 | 1 | -1) => any;
|
|
910
|
+
openActionBarFilterControl: () => any;
|
|
911
|
+
clearColumnFilter: () => any;
|
|
912
|
+
onHeaderCellFocus: () => any;
|
|
913
|
+
onHeaderCellBlur: () => any;
|
|
914
|
+
onHeaderClick: () => any;
|
|
915
|
+
onKeydownTab: () => any;
|
|
916
|
+
onKeydownLeft: () => any;
|
|
917
|
+
onKeydownRight: () => any;
|
|
918
|
+
onKeydownDown: () => any;
|
|
919
|
+
onHeaderCellKeydown: (event: KeyboardEvent) => any;
|
|
920
|
+
onDeleteColumn: () => any;
|
|
921
|
+
columnResizeStart: () => any;
|
|
922
|
+
columnResizeEnd: () => any;
|
|
923
|
+
allColumnsResize: (newSize: number) => any;
|
|
924
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
925
|
+
columnHeader: HTMLTableCellElement;
|
|
926
|
+
content: HTMLDivElement;
|
|
927
|
+
mainHeader: HTMLDivElement;
|
|
928
|
+
headerText: HTMLSpanElement;
|
|
929
|
+
columnDeleteButton: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<(import('packages/components/dist/src/types/testId').WithTestId & {
|
|
930
|
+
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
931
|
+
disabled?: boolean;
|
|
932
|
+
title?: string;
|
|
933
|
+
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
934
|
+
} & {
|
|
935
|
+
label: string;
|
|
936
|
+
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
937
|
+
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
938
|
+
ariaLabel?: never;
|
|
939
|
+
} & import('packages/components/dist/src/buttons/types').WithDestructive) | (import('packages/components/dist/src/types/testId').WithTestId & {
|
|
940
|
+
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
941
|
+
disabled?: boolean;
|
|
942
|
+
title?: string;
|
|
943
|
+
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
944
|
+
} & {
|
|
945
|
+
label?: never;
|
|
946
|
+
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
947
|
+
trailingIcon?: never;
|
|
948
|
+
ariaLabel: string;
|
|
949
|
+
} & import('packages/components/dist/src/buttons/types').WithDestructive)> & Readonly<{
|
|
950
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
951
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
952
|
+
click: (event: MouseEvent) => any;
|
|
953
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
954
|
+
P: {};
|
|
955
|
+
B: {};
|
|
956
|
+
D: {};
|
|
957
|
+
C: {};
|
|
958
|
+
M: {};
|
|
959
|
+
Defaults: {};
|
|
960
|
+
}, {} & (Readonly<(import('packages/components/dist/src/types/testId').WithTestId & {
|
|
961
|
+
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
962
|
+
disabled?: boolean;
|
|
963
|
+
title?: string;
|
|
964
|
+
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
965
|
+
} & {
|
|
966
|
+
label: string;
|
|
967
|
+
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
968
|
+
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
969
|
+
ariaLabel?: never;
|
|
970
|
+
} & import('packages/components/dist/src/buttons/types').WithDestructive) | (import('packages/components/dist/src/types/testId').WithTestId & {
|
|
971
|
+
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
972
|
+
disabled?: boolean;
|
|
973
|
+
title?: string;
|
|
974
|
+
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
975
|
+
} & {
|
|
976
|
+
label?: never;
|
|
977
|
+
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
978
|
+
trailingIcon?: never;
|
|
979
|
+
ariaLabel: string;
|
|
980
|
+
} & import('packages/components/dist/src/buttons/types').WithDestructive)> & Readonly<{
|
|
981
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
982
|
+
}>), {}, {}, {}, {}, {}> | null;
|
|
983
|
+
}, HTMLTableCellElement, import('vue').ComponentProvideOptions, {
|
|
898
984
|
P: {};
|
|
899
985
|
B: {};
|
|
900
986
|
D: {};
|
|
901
987
|
C: {};
|
|
902
988
|
M: {};
|
|
903
989
|
Defaults: {};
|
|
904
|
-
},
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
990
|
+
}, Readonly<{
|
|
991
|
+
column: ColumnConfig;
|
|
992
|
+
colFilterValue?: FilterValue;
|
|
993
|
+
tableConfig: TableConfig;
|
|
994
|
+
actionConfig: ActionConfig;
|
|
995
|
+
sortDirection: -1 | 0 | 1;
|
|
996
|
+
columnSize?: number;
|
|
997
|
+
focused: boolean;
|
|
998
|
+
selected: boolean;
|
|
999
|
+
otherColumnResizing: boolean;
|
|
1000
|
+
getDragHandleHeight: () => number;
|
|
1001
|
+
}> & Readonly<{
|
|
1002
|
+
onColumnResize?: ((newSize: number) => any) | undefined;
|
|
1003
|
+
onOnColumnSort?: ((direction: 0 | 1 | -1) => any) | undefined;
|
|
1004
|
+
onOpenActionBarFilterControl?: (() => any) | undefined;
|
|
1005
|
+
onClearColumnFilter?: (() => any) | undefined;
|
|
1006
|
+
onOnHeaderCellFocus?: (() => any) | undefined;
|
|
1007
|
+
onOnHeaderCellBlur?: (() => any) | undefined;
|
|
1008
|
+
onOnHeaderClick?: (() => any) | undefined;
|
|
1009
|
+
onOnKeydownTab?: (() => any) | undefined;
|
|
1010
|
+
onOnKeydownLeft?: (() => any) | undefined;
|
|
1011
|
+
onOnKeydownRight?: (() => any) | undefined;
|
|
1012
|
+
onOnKeydownDown?: (() => any) | undefined;
|
|
1013
|
+
onOnHeaderCellKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1014
|
+
onOnDeleteColumn?: (() => any) | undefined;
|
|
1015
|
+
onColumnResizeStart?: (() => any) | undefined;
|
|
1016
|
+
onColumnResizeEnd?: (() => any) | undefined;
|
|
1017
|
+
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
1018
|
+
}>, {
|
|
1019
|
+
getHeaderCellWidth: () => number;
|
|
1020
|
+
focus: () => void;
|
|
1021
|
+
isFocusable: () => boolean;
|
|
1022
|
+
}, {}, {}, {}, {}>;
|
|
1023
|
+
__isFragment?: never;
|
|
1024
|
+
__isTeleport?: never;
|
|
1025
|
+
__isSuspense?: never;
|
|
1026
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
1027
|
+
column: ColumnConfig;
|
|
1028
|
+
colFilterValue?: FilterValue;
|
|
1029
|
+
tableConfig: TableConfig;
|
|
1030
|
+
actionConfig: ActionConfig;
|
|
1031
|
+
sortDirection: -1 | 0 | 1;
|
|
1032
|
+
columnSize?: number;
|
|
1033
|
+
focused: boolean;
|
|
1034
|
+
selected: boolean;
|
|
1035
|
+
otherColumnResizing: boolean;
|
|
1036
|
+
getDragHandleHeight: () => number;
|
|
1037
|
+
}> & Readonly<{
|
|
1038
|
+
onColumnResize?: ((newSize: number) => any) | undefined;
|
|
1039
|
+
onOnColumnSort?: ((direction: 0 | 1 | -1) => any) | undefined;
|
|
1040
|
+
onOpenActionBarFilterControl?: (() => any) | undefined;
|
|
1041
|
+
onClearColumnFilter?: (() => any) | undefined;
|
|
1042
|
+
onOnHeaderCellFocus?: (() => any) | undefined;
|
|
1043
|
+
onOnHeaderCellBlur?: (() => any) | undefined;
|
|
1044
|
+
onOnHeaderClick?: (() => any) | undefined;
|
|
1045
|
+
onOnKeydownTab?: (() => any) | undefined;
|
|
1046
|
+
onOnKeydownLeft?: (() => any) | undefined;
|
|
1047
|
+
onOnKeydownRight?: (() => any) | undefined;
|
|
1048
|
+
onOnKeydownDown?: (() => any) | undefined;
|
|
1049
|
+
onOnHeaderCellKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1050
|
+
onOnDeleteColumn?: (() => any) | undefined;
|
|
1051
|
+
onColumnResizeStart?: (() => any) | undefined;
|
|
1052
|
+
onColumnResizeEnd?: (() => any) | undefined;
|
|
1053
|
+
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
1054
|
+
}>, {
|
|
1055
|
+
getHeaderCellWidth: () => number;
|
|
1056
|
+
focus: () => void;
|
|
1057
|
+
isFocusable: () => boolean;
|
|
931
1058
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
956
|
-
} & {
|
|
957
|
-
label?: never;
|
|
958
|
-
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
959
|
-
trailingIcon?: never;
|
|
960
|
-
ariaLabel: string;
|
|
961
|
-
} & {
|
|
962
|
-
items: import('packages/components/dist/src').KdsMenuItem[];
|
|
963
|
-
menuMaxHeight?: string;
|
|
964
|
-
})> & Readonly<{
|
|
965
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
966
|
-
onItemClick?: ((id: string) => any) | undefined;
|
|
967
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
968
|
-
menuButton: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<({
|
|
969
|
-
modelValue?: boolean;
|
|
970
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
971
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
972
|
-
disabled?: boolean;
|
|
973
|
-
title?: string;
|
|
974
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
975
|
-
} & {
|
|
976
|
-
label: string;
|
|
977
|
-
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
978
|
-
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
979
|
-
ariaLabel?: never;
|
|
980
|
-
}) | ({
|
|
981
|
-
modelValue?: boolean;
|
|
982
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
983
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
984
|
-
disabled?: boolean;
|
|
985
|
-
title?: string;
|
|
986
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
987
|
-
} & {
|
|
988
|
-
label?: never;
|
|
989
|
-
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
990
|
-
trailingIcon?: never;
|
|
991
|
-
ariaLabel: string;
|
|
992
|
-
})> & Readonly<{
|
|
993
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
994
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
995
|
-
"update:modelValue": (value: boolean) => any;
|
|
996
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
997
|
-
P: {};
|
|
998
|
-
B: {};
|
|
999
|
-
D: {};
|
|
1000
|
-
C: {};
|
|
1001
|
-
M: {};
|
|
1002
|
-
Defaults: {};
|
|
1003
|
-
}, {} & (Readonly<({
|
|
1004
|
-
modelValue?: boolean;
|
|
1005
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
1006
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
1007
|
-
disabled?: boolean;
|
|
1008
|
-
title?: string;
|
|
1009
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
1010
|
-
} & {
|
|
1011
|
-
label: string;
|
|
1012
|
-
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
1013
|
-
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
1014
|
-
ariaLabel?: never;
|
|
1015
|
-
}) | ({
|
|
1016
|
-
modelValue?: boolean;
|
|
1017
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
1018
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
1019
|
-
disabled?: boolean;
|
|
1020
|
-
title?: string;
|
|
1021
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
1022
|
-
} & {
|
|
1023
|
-
label?: never;
|
|
1024
|
-
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
1025
|
-
trailingIcon?: never;
|
|
1026
|
-
ariaLabel: string;
|
|
1027
|
-
})> & Readonly<{
|
|
1028
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1029
|
-
}>), {}, {}, {}, {}, {}> | null;
|
|
1030
|
-
popover: ({
|
|
1031
|
-
$: import('vue').ComponentInternalInstance;
|
|
1032
|
-
$data: {};
|
|
1033
|
-
$props: ({
|
|
1034
|
-
readonly modelValue?: boolean | undefined;
|
|
1035
|
-
readonly role?: import('packages/components/dist/src').KdsPopoverRole | undefined;
|
|
1036
|
-
readonly popoverType?: import('packages/components/dist/src').KdsPopoverType | undefined;
|
|
1037
|
-
readonly fullWidth?: boolean | undefined;
|
|
1038
|
-
readonly maxInlineSize?: string | undefined;
|
|
1039
|
-
readonly content?: string | undefined;
|
|
1040
|
-
readonly placement?: Exclude<import('packages/components/dist/src').KdsPopoverPlacement, "custom"> | undefined;
|
|
1041
|
-
readonly customPlacementPosition?: never | undefined;
|
|
1042
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1043
|
-
} | {
|
|
1044
|
-
readonly modelValue?: boolean | undefined;
|
|
1045
|
-
readonly role?: import('packages/components/dist/src').KdsPopoverRole | undefined;
|
|
1046
|
-
readonly popoverType?: import('packages/components/dist/src').KdsPopoverType | undefined;
|
|
1047
|
-
readonly fullWidth?: boolean | undefined;
|
|
1048
|
-
readonly maxInlineSize?: string | undefined;
|
|
1049
|
-
readonly content?: string | undefined;
|
|
1050
|
-
readonly placement: "custom";
|
|
1051
|
-
readonly customPlacementPosition: {
|
|
1052
|
-
x: number;
|
|
1053
|
-
y: number;
|
|
1054
|
-
};
|
|
1055
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1056
|
-
}) & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
1057
|
-
$attrs: import('vue').Attrs;
|
|
1058
|
-
$refs: {
|
|
1059
|
-
[x: string]: unknown;
|
|
1060
|
-
} & {
|
|
1061
|
-
popoverEl: HTMLDivElement;
|
|
1062
|
-
};
|
|
1063
|
-
$slots: Readonly<{
|
|
1064
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
1065
|
-
}>;
|
|
1066
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
1067
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
1068
|
-
$host: Element | null;
|
|
1069
|
-
$emit: (event: "update:modelValue", value: boolean) => void;
|
|
1070
|
-
$el: HTMLDivElement;
|
|
1071
|
-
$options: import('vue').ComponentOptionsBase<Readonly<({
|
|
1072
|
-
modelValue?: boolean;
|
|
1073
|
-
} & {
|
|
1074
|
-
role?: import('packages/components/dist/src').KdsPopoverRole;
|
|
1075
|
-
popoverType?: import('packages/components/dist/src').KdsPopoverType;
|
|
1076
|
-
fullWidth?: boolean;
|
|
1077
|
-
maxInlineSize?: string;
|
|
1078
|
-
content?: string;
|
|
1079
|
-
} & {
|
|
1080
|
-
placement?: Exclude<import('packages/components/dist/src').KdsPopoverPlacement, "custom">;
|
|
1081
|
-
customPlacementPosition?: never;
|
|
1082
|
-
}) | ({
|
|
1083
|
-
modelValue?: boolean;
|
|
1084
|
-
} & {
|
|
1085
|
-
role?: import('packages/components/dist/src').KdsPopoverRole;
|
|
1086
|
-
popoverType?: import('packages/components/dist/src').KdsPopoverType;
|
|
1087
|
-
fullWidth?: boolean;
|
|
1088
|
-
maxInlineSize?: string;
|
|
1089
|
-
content?: string;
|
|
1090
|
-
} & {
|
|
1091
|
-
placement: "custom";
|
|
1092
|
-
customPlacementPosition: {
|
|
1093
|
-
x: number;
|
|
1094
|
-
y: number;
|
|
1095
|
-
};
|
|
1096
|
-
})> & Readonly<{
|
|
1097
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1098
|
-
}>, {
|
|
1099
|
-
anchorStyle: Record<string, string>;
|
|
1100
|
-
popoverId: string;
|
|
1101
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1102
|
-
"update:modelValue": (value: boolean) => any;
|
|
1103
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1104
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
1105
|
-
created?: (() => void) | (() => void)[];
|
|
1106
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
1107
|
-
mounted?: (() => void) | (() => void)[];
|
|
1108
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
1109
|
-
updated?: (() => void) | (() => void)[];
|
|
1110
|
-
activated?: (() => void) | (() => void)[];
|
|
1111
|
-
deactivated?: (() => void) | (() => void)[];
|
|
1112
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
1113
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
1114
|
-
destroyed?: (() => void) | (() => void)[];
|
|
1115
|
-
unmounted?: (() => void) | (() => void)[];
|
|
1116
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1117
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1118
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1119
|
-
};
|
|
1120
|
-
$forceUpdate: () => void;
|
|
1121
|
-
$nextTick: typeof nextTick;
|
|
1122
|
-
$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;
|
|
1123
|
-
} & Readonly<{}> & Omit<{} & (Readonly<({
|
|
1124
|
-
modelValue?: boolean;
|
|
1125
|
-
} & {
|
|
1126
|
-
role?: import('packages/components/dist/src').KdsPopoverRole;
|
|
1127
|
-
popoverType?: import('packages/components/dist/src').KdsPopoverType;
|
|
1128
|
-
fullWidth?: boolean;
|
|
1129
|
-
maxInlineSize?: string;
|
|
1130
|
-
content?: string;
|
|
1131
|
-
} & {
|
|
1132
|
-
placement?: Exclude<import('packages/components/dist/src').KdsPopoverPlacement, "custom">;
|
|
1133
|
-
customPlacementPosition?: never;
|
|
1134
|
-
}) | ({
|
|
1135
|
-
modelValue?: boolean;
|
|
1136
|
-
} & {
|
|
1137
|
-
role?: import('packages/components/dist/src').KdsPopoverRole;
|
|
1138
|
-
popoverType?: import('packages/components/dist/src').KdsPopoverType;
|
|
1139
|
-
fullWidth?: boolean;
|
|
1140
|
-
maxInlineSize?: string;
|
|
1141
|
-
content?: string;
|
|
1142
|
-
} & {
|
|
1143
|
-
placement: "custom";
|
|
1144
|
-
customPlacementPosition: {
|
|
1145
|
-
x: number;
|
|
1146
|
-
y: number;
|
|
1147
|
-
};
|
|
1148
|
-
})> & Readonly<{
|
|
1149
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1150
|
-
}>), "anchorStyle" | "popoverId"> & {
|
|
1151
|
-
anchorStyle: Record<string, string>;
|
|
1152
|
-
popoverId: string;
|
|
1153
|
-
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1154
|
-
$slots: {
|
|
1155
|
-
default?(_: {}): any;
|
|
1156
|
-
};
|
|
1157
|
-
}) | null;
|
|
1158
|
-
menuContainer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('packages/components/dist/src/containers/MenuContainer').KdsMenuContainerProps> & Readonly<{
|
|
1159
|
-
onItemClick?: ((id: string) => any) | undefined;
|
|
1160
|
-
}>, {
|
|
1161
|
-
focus: () => void;
|
|
1162
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1163
|
-
itemClick: (id: string) => any;
|
|
1164
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
1165
|
-
containerEl: HTMLDivElement;
|
|
1166
|
-
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
1167
|
-
P: {};
|
|
1168
|
-
B: {};
|
|
1169
|
-
D: {};
|
|
1170
|
-
C: {};
|
|
1171
|
-
M: {};
|
|
1172
|
-
Defaults: {};
|
|
1173
|
-
}, Readonly<import('packages/components/dist/src/containers/MenuContainer').KdsMenuContainerProps> & Readonly<{
|
|
1174
|
-
onItemClick?: ((id: string) => any) | undefined;
|
|
1175
|
-
}>, {
|
|
1176
|
-
focus: () => void;
|
|
1177
|
-
}, {}, {}, {}, {}> | null;
|
|
1178
|
-
}, any>;
|
|
1059
|
+
columnResize: (newSize: number) => any;
|
|
1060
|
+
onColumnSort: (direction: 0 | 1 | -1) => any;
|
|
1061
|
+
openActionBarFilterControl: () => any;
|
|
1062
|
+
clearColumnFilter: () => any;
|
|
1063
|
+
onHeaderCellFocus: () => any;
|
|
1064
|
+
onHeaderCellBlur: () => any;
|
|
1065
|
+
onHeaderClick: () => any;
|
|
1066
|
+
onKeydownTab: () => any;
|
|
1067
|
+
onKeydownLeft: () => any;
|
|
1068
|
+
onKeydownRight: () => any;
|
|
1069
|
+
onKeydownDown: () => any;
|
|
1070
|
+
onHeaderCellKeydown: (event: KeyboardEvent) => any;
|
|
1071
|
+
onDeleteColumn: () => any;
|
|
1072
|
+
columnResizeStart: () => any;
|
|
1073
|
+
columnResizeEnd: () => any;
|
|
1074
|
+
allColumnsResize: (newSize: number) => any;
|
|
1075
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1076
|
+
$slots: {
|
|
1077
|
+
subHeader?(_: {
|
|
1078
|
+
subHeader: string;
|
|
1079
|
+
}): any;
|
|
1080
|
+
};
|
|
1081
|
+
});
|
|
1179
1082
|
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1180
1083
|
P: {};
|
|
1181
1084
|
B: {};
|
|
@@ -1188,32 +1091,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1188
1091
|
type: PropType<TableConfig>;
|
|
1189
1092
|
default: () => {};
|
|
1190
1093
|
};
|
|
1191
|
-
|
|
1192
|
-
type: PropType<
|
|
1193
|
-
default: () =>
|
|
1194
|
-
};
|
|
1195
|
-
columnSubHeaders: {
|
|
1196
|
-
type: PropType<Array<string | undefined>>;
|
|
1197
|
-
default: () => never[];
|
|
1198
|
-
};
|
|
1199
|
-
columnSizes: {
|
|
1200
|
-
type: PropType<Array<number>>;
|
|
1201
|
-
default: () => never[];
|
|
1094
|
+
actionConfig: {
|
|
1095
|
+
type: PropType<ActionConfig>;
|
|
1096
|
+
default: () => {};
|
|
1202
1097
|
};
|
|
1203
|
-
|
|
1204
|
-
type: PropType<
|
|
1098
|
+
columns: {
|
|
1099
|
+
type: PropType<ColumnConfig[]>;
|
|
1205
1100
|
default: () => never[];
|
|
1206
1101
|
};
|
|
1207
|
-
|
|
1208
|
-
type: PropType<
|
|
1209
|
-
default: () =>
|
|
1102
|
+
colFilterValues: {
|
|
1103
|
+
type: PropType<ColFilterValues>;
|
|
1104
|
+
default: () => {};
|
|
1210
1105
|
};
|
|
1211
|
-
|
|
1212
|
-
type: PropType<
|
|
1106
|
+
colSizes: {
|
|
1107
|
+
type: PropType<number[]>;
|
|
1213
1108
|
default: () => never[];
|
|
1214
1109
|
};
|
|
1215
|
-
|
|
1216
|
-
type: PropType<
|
|
1110
|
+
colSortValues: {
|
|
1111
|
+
type: PropType<ColSortValue[]>;
|
|
1217
1112
|
default: () => never[];
|
|
1218
1113
|
};
|
|
1219
1114
|
isSelected: {
|
|
@@ -1221,7 +1116,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1221
1116
|
default: boolean;
|
|
1222
1117
|
};
|
|
1223
1118
|
getDragHandleHeight: {
|
|
1224
|
-
type:
|
|
1119
|
+
type: PropType<() => number>;
|
|
1225
1120
|
default: () => number;
|
|
1226
1121
|
};
|
|
1227
1122
|
showNewColumnButton: {
|
|
@@ -1234,12 +1129,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1234
1129
|
};
|
|
1235
1130
|
}>> & Readonly<{
|
|
1236
1131
|
onColumnResize?: ((index: number, newSize: number) => any) | undefined;
|
|
1132
|
+
onColumnSort?: ((index: number, direction: 0 | 1 | -1) => any) | undefined;
|
|
1133
|
+
onOpenActionBarFilterControl?: ((index: number) => any) | undefined;
|
|
1134
|
+
onClearColumnFilter?: ((index: number) => any) | undefined;
|
|
1135
|
+
onColumnResizeStart?: (() => any) | undefined;
|
|
1136
|
+
onColumnResizeEnd?: (() => any) | undefined;
|
|
1137
|
+
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
1237
1138
|
onHeaderSelect?: ((selected: boolean) => any) | undefined;
|
|
1238
1139
|
onShowColumnBorder?: (() => any) | undefined;
|
|
1239
1140
|
onHideColumnBorder?: (() => any) | undefined;
|
|
1240
|
-
onColumnResizeEnd?: (() => any) | undefined;
|
|
1241
|
-
onColumnResizeStart?: (() => any) | undefined;
|
|
1242
|
-
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
1243
1141
|
onMoveDownFromHeaderCell?: ((index: number) => any) | undefined;
|
|
1244
1142
|
onHeaderCellSelect?: ((index: number) => any) | undefined;
|
|
1245
1143
|
"onUpdate:newColumnButtonWidth"?: ((width: number) => any) | undefined;
|
|
@@ -1250,49 +1148,32 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1250
1148
|
onHeaderCellStartEditing?: ((index: number, initialValue?: string | undefined) => any) | undefined;
|
|
1251
1149
|
onDeleteColumn?: ((index: number) => any) | undefined;
|
|
1252
1150
|
}>, {
|
|
1253
|
-
|
|
1151
|
+
indexedColumns: Ref<[ColumnConfig, number][], [ColumnConfig, number][]>;
|
|
1254
1152
|
headerStyles: import('vue').MaybeRef<import('vue').CSSProperties>;
|
|
1255
1153
|
onHeaderCellKeydown: (event: KeyboardEvent, columnIndex: number) => void;
|
|
1256
|
-
scrollContainer: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1257
|
-
dragIndex: Ref<number | null, number | null>;
|
|
1258
|
-
columnSizeOnDragStart: Ref<number, number>;
|
|
1259
|
-
pageXOnDragStart: Ref<number, number>;
|
|
1260
|
-
currentPageX: Ref<number, number>;
|
|
1261
|
-
autoScrollOffset: Ref<number, number>;
|
|
1262
|
-
emitColumnResize: () => void;
|
|
1263
|
-
startAutoScroll: (clientX: number) => void;
|
|
1264
|
-
updateAutoScroll: (clientX: number) => void;
|
|
1265
|
-
stopAutoScroll: () => void;
|
|
1266
1154
|
}, {
|
|
1267
|
-
hoverIndex: null | number;
|
|
1268
1155
|
minimumColumnWidth: number;
|
|
1269
|
-
|
|
1270
|
-
currentDragHandlerHeight: number;
|
|
1271
|
-
borderTop: number;
|
|
1156
|
+
resizingColumnIndex: null | number;
|
|
1272
1157
|
focusedHeaderIndex: null | number;
|
|
1273
1158
|
}, {
|
|
1274
|
-
enableColumnResizing(): boolean;
|
|
1275
|
-
hasSubHeaders(): boolean;
|
|
1276
|
-
currentResizeDragHandleWidth(): 0 | 5;
|
|
1277
1159
|
headerSelectionOverlayStyle(): Record<string, string> | null;
|
|
1278
1160
|
}, {
|
|
1161
|
+
columnSize(columnIndex: number): number;
|
|
1162
|
+
sortDirection(columnIndex: number): -1 | 0 | 1;
|
|
1279
1163
|
onHeaderCellFocus(columnIndex: number): void;
|
|
1280
1164
|
onHeaderCellBlur(columnIndex: number): void;
|
|
1281
1165
|
emitNewColumnButtonWidth(): void;
|
|
1282
1166
|
onSelect(): void;
|
|
1283
1167
|
onHeaderClick(ind: number): void;
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1168
|
+
onColumnResizeStart(columnIndex: number): void;
|
|
1169
|
+
onColumnResizeEnd(): void;
|
|
1170
|
+
onColumnResize(columnIndex: number, newSize: number): void;
|
|
1171
|
+
onAllColumnsResize(newSize: number): void;
|
|
1172
|
+
onColumnSort(columnIndex: number, direction: -1 | 0 | 1): void;
|
|
1173
|
+
onOpenActionBarFilterControl(columnIndex: number): void;
|
|
1174
|
+
onClearColumnFilter(columnIndex: number): void;
|
|
1291
1175
|
onNewColumnButtonClick(event: MouseEvent): void;
|
|
1292
1176
|
onNewColumnButtonKeydownLeft(event: KeyboardEvent): void;
|
|
1293
|
-
unthrottledOnPointerMove(event: PointerEvent): void;
|
|
1294
|
-
onLostPointerCapture: import('raf-throttle').Throttled<(event: any) => void>;
|
|
1295
|
-
dragHandleHeight(isDragging: boolean): number;
|
|
1296
1177
|
onDeleteColumn(ind: number): void;
|
|
1297
1178
|
getHeaderCellWidths(): number[];
|
|
1298
1179
|
onKeydownTab(): void;
|
|
@@ -1300,18 +1181,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1300
1181
|
onKeydownRight(columnIndex: number): void;
|
|
1301
1182
|
onKeydownDown(columnIndex: number): void;
|
|
1302
1183
|
focusHeaderCell(cellInd: number): void;
|
|
1184
|
+
isColumnHeaderFocusable(cellInd: number): boolean;
|
|
1303
1185
|
focusNewColumnButton(): void;
|
|
1304
1186
|
focusSelectionCheckbox(): void;
|
|
1305
1187
|
}, {
|
|
1306
|
-
|
|
1188
|
+
columns: ColumnConfig[];
|
|
1189
|
+
colSizes: number[];
|
|
1307
1190
|
tableConfig: TableConfig;
|
|
1308
|
-
getDragHandleHeight:
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
columnHeaderColors: (string | null)[];
|
|
1313
|
-
columnDeletables: (boolean | undefined)[];
|
|
1314
|
-
columnEditables: (boolean | undefined)[];
|
|
1191
|
+
getDragHandleHeight: () => number;
|
|
1192
|
+
colFilterValues: ColFilterValues;
|
|
1193
|
+
colSortValues: ColSortValue[];
|
|
1194
|
+
actionConfig: ActionConfig;
|
|
1315
1195
|
isSelected: boolean;
|
|
1316
1196
|
showNewColumnButton: boolean;
|
|
1317
1197
|
selectedHeaderIndex: number | null;
|
|
@@ -1320,32 +1200,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1320
1200
|
type: PropType<TableConfig>;
|
|
1321
1201
|
default: () => {};
|
|
1322
1202
|
};
|
|
1323
|
-
|
|
1324
|
-
type: PropType<
|
|
1325
|
-
default: () =>
|
|
1326
|
-
};
|
|
1327
|
-
columnSubHeaders: {
|
|
1328
|
-
type: PropType<Array<string | undefined>>;
|
|
1329
|
-
default: () => never[];
|
|
1330
|
-
};
|
|
1331
|
-
columnSizes: {
|
|
1332
|
-
type: PropType<Array<number>>;
|
|
1333
|
-
default: () => never[];
|
|
1203
|
+
actionConfig: {
|
|
1204
|
+
type: PropType<ActionConfig>;
|
|
1205
|
+
default: () => {};
|
|
1334
1206
|
};
|
|
1335
|
-
|
|
1336
|
-
type: PropType<
|
|
1207
|
+
columns: {
|
|
1208
|
+
type: PropType<ColumnConfig[]>;
|
|
1337
1209
|
default: () => never[];
|
|
1338
1210
|
};
|
|
1339
|
-
|
|
1340
|
-
type: PropType<
|
|
1341
|
-
default: () =>
|
|
1211
|
+
colFilterValues: {
|
|
1212
|
+
type: PropType<ColFilterValues>;
|
|
1213
|
+
default: () => {};
|
|
1342
1214
|
};
|
|
1343
|
-
|
|
1344
|
-
type: PropType<
|
|
1215
|
+
colSizes: {
|
|
1216
|
+
type: PropType<number[]>;
|
|
1345
1217
|
default: () => never[];
|
|
1346
1218
|
};
|
|
1347
|
-
|
|
1348
|
-
type: PropType<
|
|
1219
|
+
colSortValues: {
|
|
1220
|
+
type: PropType<ColSortValue[]>;
|
|
1349
1221
|
default: () => never[];
|
|
1350
1222
|
};
|
|
1351
1223
|
isSelected: {
|
|
@@ -1353,7 +1225,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1353
1225
|
default: boolean;
|
|
1354
1226
|
};
|
|
1355
1227
|
getDragHandleHeight: {
|
|
1356
|
-
type:
|
|
1228
|
+
type: PropType<() => number>;
|
|
1357
1229
|
default: () => number;
|
|
1358
1230
|
};
|
|
1359
1231
|
showNewColumnButton: {
|
|
@@ -1366,12 +1238,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1366
1238
|
};
|
|
1367
1239
|
}>> & Readonly<{
|
|
1368
1240
|
onColumnResize?: ((index: number, newSize: number) => any) | undefined;
|
|
1241
|
+
onColumnSort?: ((index: number, direction: 0 | 1 | -1) => any) | undefined;
|
|
1242
|
+
onOpenActionBarFilterControl?: ((index: number) => any) | undefined;
|
|
1243
|
+
onClearColumnFilter?: ((index: number) => any) | undefined;
|
|
1244
|
+
onColumnResizeStart?: (() => any) | undefined;
|
|
1245
|
+
onColumnResizeEnd?: (() => any) | undefined;
|
|
1246
|
+
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
1369
1247
|
onHeaderSelect?: ((selected: boolean) => any) | undefined;
|
|
1370
1248
|
onShowColumnBorder?: (() => any) | undefined;
|
|
1371
1249
|
onHideColumnBorder?: (() => any) | undefined;
|
|
1372
|
-
onColumnResizeEnd?: (() => any) | undefined;
|
|
1373
|
-
onColumnResizeStart?: (() => any) | undefined;
|
|
1374
|
-
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
1375
1250
|
onMoveDownFromHeaderCell?: ((index: number) => any) | undefined;
|
|
1376
1251
|
onHeaderCellSelect?: ((index: number) => any) | undefined;
|
|
1377
1252
|
"onUpdate:newColumnButtonWidth"?: ((width: number) => any) | undefined;
|
|
@@ -1382,49 +1257,32 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1382
1257
|
onHeaderCellStartEditing?: ((index: number, initialValue?: string | undefined) => any) | undefined;
|
|
1383
1258
|
onDeleteColumn?: ((index: number) => any) | undefined;
|
|
1384
1259
|
}>, {
|
|
1385
|
-
|
|
1260
|
+
indexedColumns: Ref<[ColumnConfig, number][], [ColumnConfig, number][]>;
|
|
1386
1261
|
headerStyles: import('vue').MaybeRef<import('vue').CSSProperties>;
|
|
1387
1262
|
onHeaderCellKeydown: (event: KeyboardEvent, columnIndex: number) => void;
|
|
1388
|
-
scrollContainer: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1389
|
-
dragIndex: Ref<number | null, number | null>;
|
|
1390
|
-
columnSizeOnDragStart: Ref<number, number>;
|
|
1391
|
-
pageXOnDragStart: Ref<number, number>;
|
|
1392
|
-
currentPageX: Ref<number, number>;
|
|
1393
|
-
autoScrollOffset: Ref<number, number>;
|
|
1394
|
-
emitColumnResize: () => void;
|
|
1395
|
-
startAutoScroll: (clientX: number) => void;
|
|
1396
|
-
updateAutoScroll: (clientX: number) => void;
|
|
1397
|
-
stopAutoScroll: () => void;
|
|
1398
1263
|
}, {
|
|
1399
|
-
hoverIndex: null | number;
|
|
1400
1264
|
minimumColumnWidth: number;
|
|
1401
|
-
|
|
1402
|
-
currentDragHandlerHeight: number;
|
|
1403
|
-
borderTop: number;
|
|
1265
|
+
resizingColumnIndex: null | number;
|
|
1404
1266
|
focusedHeaderIndex: null | number;
|
|
1405
1267
|
}, {
|
|
1406
|
-
enableColumnResizing(): boolean;
|
|
1407
|
-
hasSubHeaders(): boolean;
|
|
1408
|
-
currentResizeDragHandleWidth(): 0 | 5;
|
|
1409
1268
|
headerSelectionOverlayStyle(): Record<string, string> | null;
|
|
1410
1269
|
}, {
|
|
1270
|
+
columnSize(columnIndex: number): number;
|
|
1271
|
+
sortDirection(columnIndex: number): -1 | 0 | 1;
|
|
1411
1272
|
onHeaderCellFocus(columnIndex: number): void;
|
|
1412
1273
|
onHeaderCellBlur(columnIndex: number): void;
|
|
1413
1274
|
emitNewColumnButtonWidth(): void;
|
|
1414
1275
|
onSelect(): void;
|
|
1415
1276
|
onHeaderClick(ind: number): void;
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1277
|
+
onColumnResizeStart(columnIndex: number): void;
|
|
1278
|
+
onColumnResizeEnd(): void;
|
|
1279
|
+
onColumnResize(columnIndex: number, newSize: number): void;
|
|
1280
|
+
onAllColumnsResize(newSize: number): void;
|
|
1281
|
+
onColumnSort(columnIndex: number, direction: -1 | 0 | 1): void;
|
|
1282
|
+
onOpenActionBarFilterControl(columnIndex: number): void;
|
|
1283
|
+
onClearColumnFilter(columnIndex: number): void;
|
|
1423
1284
|
onNewColumnButtonClick(event: MouseEvent): void;
|
|
1424
1285
|
onNewColumnButtonKeydownLeft(event: KeyboardEvent): void;
|
|
1425
|
-
unthrottledOnPointerMove(event: PointerEvent): void;
|
|
1426
|
-
onLostPointerCapture: import('raf-throttle').Throttled<(event: any) => void>;
|
|
1427
|
-
dragHandleHeight(isDragging: boolean): number;
|
|
1428
1286
|
onDeleteColumn(ind: number): void;
|
|
1429
1287
|
getHeaderCellWidths(): number[];
|
|
1430
1288
|
onKeydownTab(): void;
|
|
@@ -1432,6 +1290,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1432
1290
|
onKeydownRight(columnIndex: number): void;
|
|
1433
1291
|
onKeydownDown(columnIndex: number): void;
|
|
1434
1292
|
focusHeaderCell(cellInd: number): void;
|
|
1293
|
+
isColumnHeaderFocusable(cellInd: number): boolean;
|
|
1435
1294
|
focusNewColumnButton(): void;
|
|
1436
1295
|
focusSelectionCheckbox(): void;
|
|
1437
1296
|
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -1442,6 +1301,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1442
1301
|
columnResizeEnd: () => true;
|
|
1443
1302
|
columnResizeStart: () => true;
|
|
1444
1303
|
allColumnsResize: (newSize: number) => true;
|
|
1304
|
+
columnSort: (index: number, direction: -1 | 0 | 1) => true;
|
|
1305
|
+
openActionBarFilterControl: (index: number) => true;
|
|
1306
|
+
clearColumnFilter: (index: number) => true;
|
|
1445
1307
|
moveDownFromHeaderCell: (index: number) => true;
|
|
1446
1308
|
headerCellSelect: (index: number) => true;
|
|
1447
1309
|
"update:newColumnButtonWidth": (width: number) => true;
|
|
@@ -1452,15 +1314,13 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1452
1314
|
headerCellStartEditing: (index: number, initialValue?: string) => true;
|
|
1453
1315
|
deleteColumn: (index: number) => true;
|
|
1454
1316
|
}, import('vue').PublicProps, {
|
|
1455
|
-
|
|
1317
|
+
columns: ColumnConfig[];
|
|
1318
|
+
colSizes: number[];
|
|
1456
1319
|
tableConfig: TableConfig;
|
|
1457
|
-
getDragHandleHeight:
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
columnHeaderColors: (string | null)[];
|
|
1462
|
-
columnDeletables: (boolean | undefined)[];
|
|
1463
|
-
columnEditables: (boolean | undefined)[];
|
|
1320
|
+
getDragHandleHeight: () => number;
|
|
1321
|
+
colFilterValues: ColFilterValues;
|
|
1322
|
+
colSortValues: ColSortValue[];
|
|
1323
|
+
actionConfig: ActionConfig;
|
|
1464
1324
|
isSelected: boolean;
|
|
1465
1325
|
showNewColumnButton: boolean;
|
|
1466
1326
|
selectedHeaderIndex: number | null;
|
|
@@ -1555,347 +1415,214 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1555
1415
|
} & import('packages/components/dist/src/buttons/types').WithDestructive)> & Readonly<{
|
|
1556
1416
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
1557
1417
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
}
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
}
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1418
|
+
HeaderCell: {
|
|
1419
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1420
|
+
column: ColumnConfig;
|
|
1421
|
+
colFilterValue?: FilterValue;
|
|
1422
|
+
tableConfig: TableConfig;
|
|
1423
|
+
actionConfig: ActionConfig;
|
|
1424
|
+
sortDirection: -1 | 0 | 1;
|
|
1425
|
+
columnSize?: number;
|
|
1426
|
+
focused: boolean;
|
|
1427
|
+
selected: boolean;
|
|
1428
|
+
otherColumnResizing: boolean;
|
|
1429
|
+
getDragHandleHeight: () => number;
|
|
1430
|
+
}> & Readonly<{
|
|
1431
|
+
onColumnResize?: ((newSize: number) => any) | undefined;
|
|
1432
|
+
onOnColumnSort?: ((direction: 0 | 1 | -1) => any) | undefined;
|
|
1433
|
+
onOpenActionBarFilterControl?: (() => any) | undefined;
|
|
1434
|
+
onClearColumnFilter?: (() => any) | undefined;
|
|
1435
|
+
onOnHeaderCellFocus?: (() => any) | undefined;
|
|
1436
|
+
onOnHeaderCellBlur?: (() => any) | undefined;
|
|
1437
|
+
onOnHeaderClick?: (() => any) | undefined;
|
|
1438
|
+
onOnKeydownTab?: (() => any) | undefined;
|
|
1439
|
+
onOnKeydownLeft?: (() => any) | undefined;
|
|
1440
|
+
onOnKeydownRight?: (() => any) | undefined;
|
|
1441
|
+
onOnKeydownDown?: (() => any) | undefined;
|
|
1442
|
+
onOnHeaderCellKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1443
|
+
onOnDeleteColumn?: (() => any) | undefined;
|
|
1444
|
+
onColumnResizeStart?: (() => any) | undefined;
|
|
1445
|
+
onColumnResizeEnd?: (() => any) | undefined;
|
|
1446
|
+
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
1447
|
+
}>, {
|
|
1448
|
+
getHeaderCellWidth: () => number;
|
|
1449
|
+
focus: () => void;
|
|
1450
|
+
isFocusable: () => boolean;
|
|
1451
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1452
|
+
columnResize: (newSize: number) => any;
|
|
1453
|
+
onColumnSort: (direction: 0 | 1 | -1) => any;
|
|
1454
|
+
openActionBarFilterControl: () => any;
|
|
1455
|
+
clearColumnFilter: () => any;
|
|
1456
|
+
onHeaderCellFocus: () => any;
|
|
1457
|
+
onHeaderCellBlur: () => any;
|
|
1458
|
+
onHeaderClick: () => any;
|
|
1459
|
+
onKeydownTab: () => any;
|
|
1460
|
+
onKeydownLeft: () => any;
|
|
1461
|
+
onKeydownRight: () => any;
|
|
1462
|
+
onKeydownDown: () => any;
|
|
1463
|
+
onHeaderCellKeydown: (event: KeyboardEvent) => any;
|
|
1464
|
+
onDeleteColumn: () => any;
|
|
1465
|
+
columnResizeStart: () => any;
|
|
1466
|
+
columnResizeEnd: () => any;
|
|
1467
|
+
allColumnsResize: (newSize: number) => any;
|
|
1468
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
1469
|
+
columnHeader: HTMLTableCellElement;
|
|
1470
|
+
content: HTMLDivElement;
|
|
1471
|
+
mainHeader: HTMLDivElement;
|
|
1472
|
+
headerText: HTMLSpanElement;
|
|
1473
|
+
columnDeleteButton: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<(import('packages/components/dist/src/types/testId').WithTestId & {
|
|
1474
|
+
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
1475
|
+
disabled?: boolean;
|
|
1476
|
+
title?: string;
|
|
1477
|
+
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
1478
|
+
} & {
|
|
1479
|
+
label: string;
|
|
1480
|
+
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
1481
|
+
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
1482
|
+
ariaLabel?: never;
|
|
1483
|
+
} & import('packages/components/dist/src/buttons/types').WithDestructive) | (import('packages/components/dist/src/types/testId').WithTestId & {
|
|
1484
|
+
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
1485
|
+
disabled?: boolean;
|
|
1486
|
+
title?: string;
|
|
1487
|
+
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
1488
|
+
} & {
|
|
1489
|
+
label?: never;
|
|
1490
|
+
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
1491
|
+
trailingIcon?: never;
|
|
1492
|
+
ariaLabel: string;
|
|
1493
|
+
} & import('packages/components/dist/src/buttons/types').WithDestructive)> & Readonly<{
|
|
1494
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
1495
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1496
|
+
click: (event: MouseEvent) => any;
|
|
1497
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1498
|
+
P: {};
|
|
1499
|
+
B: {};
|
|
1500
|
+
D: {};
|
|
1501
|
+
C: {};
|
|
1502
|
+
M: {};
|
|
1503
|
+
Defaults: {};
|
|
1504
|
+
}, {} & (Readonly<(import('packages/components/dist/src/types/testId').WithTestId & {
|
|
1505
|
+
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
1506
|
+
disabled?: boolean;
|
|
1507
|
+
title?: string;
|
|
1508
|
+
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
1509
|
+
} & {
|
|
1510
|
+
label: string;
|
|
1511
|
+
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
1512
|
+
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
1513
|
+
ariaLabel?: never;
|
|
1514
|
+
} & import('packages/components/dist/src/buttons/types').WithDestructive) | (import('packages/components/dist/src/types/testId').WithTestId & {
|
|
1515
|
+
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
1516
|
+
disabled?: boolean;
|
|
1517
|
+
title?: string;
|
|
1518
|
+
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
1519
|
+
} & {
|
|
1520
|
+
label?: never;
|
|
1521
|
+
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
1522
|
+
trailingIcon?: never;
|
|
1523
|
+
ariaLabel: string;
|
|
1524
|
+
} & import('packages/components/dist/src/buttons/types').WithDestructive)> & Readonly<{
|
|
1525
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
1526
|
+
}>), {}, {}, {}, {}, {}> | null;
|
|
1527
|
+
}, HTMLTableCellElement, import('vue').ComponentProvideOptions, {
|
|
1618
1528
|
P: {};
|
|
1619
1529
|
B: {};
|
|
1620
1530
|
D: {};
|
|
1621
1531
|
C: {};
|
|
1622
1532
|
M: {};
|
|
1623
1533
|
Defaults: {};
|
|
1624
|
-
},
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
"update:modelValue": (value: boolean) => any;
|
|
1653
|
-
itemClick: (id: string) => any;
|
|
1654
|
-
}, string, import('vue').PublicProps, Readonly<({
|
|
1655
|
-
modelValue?: boolean;
|
|
1656
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
1657
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
1658
|
-
disabled?: boolean;
|
|
1659
|
-
title?: string;
|
|
1660
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
1661
|
-
} & {
|
|
1662
|
-
label: string;
|
|
1663
|
-
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
1664
|
-
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
1665
|
-
ariaLabel?: never;
|
|
1666
|
-
} & {
|
|
1667
|
-
items: import('packages/components/dist/src').KdsMenuItem[];
|
|
1668
|
-
menuMaxHeight?: string;
|
|
1669
|
-
}) | ({
|
|
1670
|
-
modelValue?: boolean;
|
|
1671
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
1672
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
1673
|
-
disabled?: boolean;
|
|
1674
|
-
title?: string;
|
|
1675
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
1676
|
-
} & {
|
|
1677
|
-
label?: never;
|
|
1678
|
-
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
1679
|
-
trailingIcon?: never;
|
|
1680
|
-
ariaLabel: string;
|
|
1681
|
-
} & {
|
|
1682
|
-
items: import('packages/components/dist/src').KdsMenuItem[];
|
|
1683
|
-
menuMaxHeight?: string;
|
|
1684
|
-
})> & Readonly<{
|
|
1685
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1686
|
-
onItemClick?: ((id: string) => any) | undefined;
|
|
1687
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
1688
|
-
menuButton: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<({
|
|
1689
|
-
modelValue?: boolean;
|
|
1690
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
1691
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
1692
|
-
disabled?: boolean;
|
|
1693
|
-
title?: string;
|
|
1694
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
1695
|
-
} & {
|
|
1696
|
-
label: string;
|
|
1697
|
-
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
1698
|
-
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
1699
|
-
ariaLabel?: never;
|
|
1700
|
-
}) | ({
|
|
1701
|
-
modelValue?: boolean;
|
|
1702
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
1703
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
1704
|
-
disabled?: boolean;
|
|
1705
|
-
title?: string;
|
|
1706
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
1707
|
-
} & {
|
|
1708
|
-
label?: never;
|
|
1709
|
-
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
1710
|
-
trailingIcon?: never;
|
|
1711
|
-
ariaLabel: string;
|
|
1712
|
-
})> & Readonly<{
|
|
1713
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1714
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1715
|
-
"update:modelValue": (value: boolean) => any;
|
|
1716
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1717
|
-
P: {};
|
|
1718
|
-
B: {};
|
|
1719
|
-
D: {};
|
|
1720
|
-
C: {};
|
|
1721
|
-
M: {};
|
|
1722
|
-
Defaults: {};
|
|
1723
|
-
}, {} & (Readonly<({
|
|
1724
|
-
modelValue?: boolean;
|
|
1725
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
1726
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
1727
|
-
disabled?: boolean;
|
|
1728
|
-
title?: string;
|
|
1729
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
1730
|
-
} & {
|
|
1731
|
-
label: string;
|
|
1732
|
-
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
1733
|
-
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
1734
|
-
ariaLabel?: never;
|
|
1735
|
-
}) | ({
|
|
1736
|
-
modelValue?: boolean;
|
|
1737
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
1738
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
1739
|
-
disabled?: boolean;
|
|
1740
|
-
title?: string;
|
|
1741
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
1742
|
-
} & {
|
|
1743
|
-
label?: never;
|
|
1744
|
-
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
1745
|
-
trailingIcon?: never;
|
|
1746
|
-
ariaLabel: string;
|
|
1747
|
-
})> & Readonly<{
|
|
1748
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1749
|
-
}>), {}, {}, {}, {}, {}> | null;
|
|
1750
|
-
popover: ({
|
|
1751
|
-
$: import('vue').ComponentInternalInstance;
|
|
1752
|
-
$data: {};
|
|
1753
|
-
$props: ({
|
|
1754
|
-
readonly modelValue?: boolean | undefined;
|
|
1755
|
-
readonly role?: import('packages/components/dist/src').KdsPopoverRole | undefined;
|
|
1756
|
-
readonly popoverType?: import('packages/components/dist/src').KdsPopoverType | undefined;
|
|
1757
|
-
readonly fullWidth?: boolean | undefined;
|
|
1758
|
-
readonly maxInlineSize?: string | undefined;
|
|
1759
|
-
readonly content?: string | undefined;
|
|
1760
|
-
readonly placement?: Exclude<import('packages/components/dist/src').KdsPopoverPlacement, "custom"> | undefined;
|
|
1761
|
-
readonly customPlacementPosition?: never | undefined;
|
|
1762
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1763
|
-
} | {
|
|
1764
|
-
readonly modelValue?: boolean | undefined;
|
|
1765
|
-
readonly role?: import('packages/components/dist/src').KdsPopoverRole | undefined;
|
|
1766
|
-
readonly popoverType?: import('packages/components/dist/src').KdsPopoverType | undefined;
|
|
1767
|
-
readonly fullWidth?: boolean | undefined;
|
|
1768
|
-
readonly maxInlineSize?: string | undefined;
|
|
1769
|
-
readonly content?: string | undefined;
|
|
1770
|
-
readonly placement: "custom";
|
|
1771
|
-
readonly customPlacementPosition: {
|
|
1772
|
-
x: number;
|
|
1773
|
-
y: number;
|
|
1774
|
-
};
|
|
1775
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1776
|
-
}) & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
1777
|
-
$attrs: import('vue').Attrs;
|
|
1778
|
-
$refs: {
|
|
1779
|
-
[x: string]: unknown;
|
|
1780
|
-
} & {
|
|
1781
|
-
popoverEl: HTMLDivElement;
|
|
1782
|
-
};
|
|
1783
|
-
$slots: Readonly<{
|
|
1784
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
1785
|
-
}>;
|
|
1786
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
1787
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
1788
|
-
$host: Element | null;
|
|
1789
|
-
$emit: (event: "update:modelValue", value: boolean) => void;
|
|
1790
|
-
$el: HTMLDivElement;
|
|
1791
|
-
$options: import('vue').ComponentOptionsBase<Readonly<({
|
|
1792
|
-
modelValue?: boolean;
|
|
1793
|
-
} & {
|
|
1794
|
-
role?: import('packages/components/dist/src').KdsPopoverRole;
|
|
1795
|
-
popoverType?: import('packages/components/dist/src').KdsPopoverType;
|
|
1796
|
-
fullWidth?: boolean;
|
|
1797
|
-
maxInlineSize?: string;
|
|
1798
|
-
content?: string;
|
|
1799
|
-
} & {
|
|
1800
|
-
placement?: Exclude<import('packages/components/dist/src').KdsPopoverPlacement, "custom">;
|
|
1801
|
-
customPlacementPosition?: never;
|
|
1802
|
-
}) | ({
|
|
1803
|
-
modelValue?: boolean;
|
|
1804
|
-
} & {
|
|
1805
|
-
role?: import('packages/components/dist/src').KdsPopoverRole;
|
|
1806
|
-
popoverType?: import('packages/components/dist/src').KdsPopoverType;
|
|
1807
|
-
fullWidth?: boolean;
|
|
1808
|
-
maxInlineSize?: string;
|
|
1809
|
-
content?: string;
|
|
1810
|
-
} & {
|
|
1811
|
-
placement: "custom";
|
|
1812
|
-
customPlacementPosition: {
|
|
1813
|
-
x: number;
|
|
1814
|
-
y: number;
|
|
1815
|
-
};
|
|
1816
|
-
})> & Readonly<{
|
|
1817
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1818
|
-
}>, {
|
|
1819
|
-
anchorStyle: Record<string, string>;
|
|
1820
|
-
popoverId: string;
|
|
1821
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1822
|
-
"update:modelValue": (value: boolean) => any;
|
|
1823
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1824
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
1825
|
-
created?: (() => void) | (() => void)[];
|
|
1826
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
1827
|
-
mounted?: (() => void) | (() => void)[];
|
|
1828
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
1829
|
-
updated?: (() => void) | (() => void)[];
|
|
1830
|
-
activated?: (() => void) | (() => void)[];
|
|
1831
|
-
deactivated?: (() => void) | (() => void)[];
|
|
1832
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
1833
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
1834
|
-
destroyed?: (() => void) | (() => void)[];
|
|
1835
|
-
unmounted?: (() => void) | (() => void)[];
|
|
1836
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1837
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
1838
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1839
|
-
};
|
|
1840
|
-
$forceUpdate: () => void;
|
|
1841
|
-
$nextTick: typeof nextTick;
|
|
1842
|
-
$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;
|
|
1843
|
-
} & Readonly<{}> & Omit<{} & (Readonly<({
|
|
1844
|
-
modelValue?: boolean;
|
|
1845
|
-
} & {
|
|
1846
|
-
role?: import('packages/components/dist/src').KdsPopoverRole;
|
|
1847
|
-
popoverType?: import('packages/components/dist/src').KdsPopoverType;
|
|
1848
|
-
fullWidth?: boolean;
|
|
1849
|
-
maxInlineSize?: string;
|
|
1850
|
-
content?: string;
|
|
1851
|
-
} & {
|
|
1852
|
-
placement?: Exclude<import('packages/components/dist/src').KdsPopoverPlacement, "custom">;
|
|
1853
|
-
customPlacementPosition?: never;
|
|
1854
|
-
}) | ({
|
|
1855
|
-
modelValue?: boolean;
|
|
1856
|
-
} & {
|
|
1857
|
-
role?: import('packages/components/dist/src').KdsPopoverRole;
|
|
1858
|
-
popoverType?: import('packages/components/dist/src').KdsPopoverType;
|
|
1859
|
-
fullWidth?: boolean;
|
|
1860
|
-
maxInlineSize?: string;
|
|
1861
|
-
content?: string;
|
|
1862
|
-
} & {
|
|
1863
|
-
placement: "custom";
|
|
1864
|
-
customPlacementPosition: {
|
|
1865
|
-
x: number;
|
|
1866
|
-
y: number;
|
|
1867
|
-
};
|
|
1868
|
-
})> & Readonly<{
|
|
1869
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1870
|
-
}>), "anchorStyle" | "popoverId"> & {
|
|
1871
|
-
anchorStyle: Record<string, string>;
|
|
1872
|
-
popoverId: string;
|
|
1873
|
-
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1874
|
-
$slots: {
|
|
1875
|
-
default?(_: {}): any;
|
|
1876
|
-
};
|
|
1877
|
-
}) | null;
|
|
1878
|
-
menuContainer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('packages/components/dist/src/containers/MenuContainer').KdsMenuContainerProps> & Readonly<{
|
|
1879
|
-
onItemClick?: ((id: string) => any) | undefined;
|
|
1880
|
-
}>, {
|
|
1881
|
-
focus: () => void;
|
|
1882
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1883
|
-
itemClick: (id: string) => any;
|
|
1884
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
1885
|
-
containerEl: HTMLDivElement;
|
|
1886
|
-
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
1887
|
-
P: {};
|
|
1888
|
-
B: {};
|
|
1889
|
-
D: {};
|
|
1890
|
-
C: {};
|
|
1891
|
-
M: {};
|
|
1892
|
-
Defaults: {};
|
|
1893
|
-
}, Readonly<import('packages/components/dist/src/containers/MenuContainer').KdsMenuContainerProps> & Readonly<{
|
|
1894
|
-
onItemClick?: ((id: string) => any) | undefined;
|
|
1534
|
+
}, Readonly<{
|
|
1535
|
+
column: ColumnConfig;
|
|
1536
|
+
colFilterValue?: FilterValue;
|
|
1537
|
+
tableConfig: TableConfig;
|
|
1538
|
+
actionConfig: ActionConfig;
|
|
1539
|
+
sortDirection: -1 | 0 | 1;
|
|
1540
|
+
columnSize?: number;
|
|
1541
|
+
focused: boolean;
|
|
1542
|
+
selected: boolean;
|
|
1543
|
+
otherColumnResizing: boolean;
|
|
1544
|
+
getDragHandleHeight: () => number;
|
|
1545
|
+
}> & Readonly<{
|
|
1546
|
+
onColumnResize?: ((newSize: number) => any) | undefined;
|
|
1547
|
+
onOnColumnSort?: ((direction: 0 | 1 | -1) => any) | undefined;
|
|
1548
|
+
onOpenActionBarFilterControl?: (() => any) | undefined;
|
|
1549
|
+
onClearColumnFilter?: (() => any) | undefined;
|
|
1550
|
+
onOnHeaderCellFocus?: (() => any) | undefined;
|
|
1551
|
+
onOnHeaderCellBlur?: (() => any) | undefined;
|
|
1552
|
+
onOnHeaderClick?: (() => any) | undefined;
|
|
1553
|
+
onOnKeydownTab?: (() => any) | undefined;
|
|
1554
|
+
onOnKeydownLeft?: (() => any) | undefined;
|
|
1555
|
+
onOnKeydownRight?: (() => any) | undefined;
|
|
1556
|
+
onOnKeydownDown?: (() => any) | undefined;
|
|
1557
|
+
onOnHeaderCellKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1558
|
+
onOnDeleteColumn?: (() => any) | undefined;
|
|
1559
|
+
onColumnResizeStart?: (() => any) | undefined;
|
|
1560
|
+
onColumnResizeEnd?: (() => any) | undefined;
|
|
1561
|
+
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
1895
1562
|
}>, {
|
|
1563
|
+
getHeaderCellWidth: () => number;
|
|
1896
1564
|
focus: () => void;
|
|
1897
|
-
|
|
1898
|
-
|
|
1565
|
+
isFocusable: () => boolean;
|
|
1566
|
+
}, {}, {}, {}, {}>;
|
|
1567
|
+
__isFragment?: never;
|
|
1568
|
+
__isTeleport?: never;
|
|
1569
|
+
__isSuspense?: never;
|
|
1570
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
1571
|
+
column: ColumnConfig;
|
|
1572
|
+
colFilterValue?: FilterValue;
|
|
1573
|
+
tableConfig: TableConfig;
|
|
1574
|
+
actionConfig: ActionConfig;
|
|
1575
|
+
sortDirection: -1 | 0 | 1;
|
|
1576
|
+
columnSize?: number;
|
|
1577
|
+
focused: boolean;
|
|
1578
|
+
selected: boolean;
|
|
1579
|
+
otherColumnResizing: boolean;
|
|
1580
|
+
getDragHandleHeight: () => number;
|
|
1581
|
+
}> & Readonly<{
|
|
1582
|
+
onColumnResize?: ((newSize: number) => any) | undefined;
|
|
1583
|
+
onOnColumnSort?: ((direction: 0 | 1 | -1) => any) | undefined;
|
|
1584
|
+
onOpenActionBarFilterControl?: (() => any) | undefined;
|
|
1585
|
+
onClearColumnFilter?: (() => any) | undefined;
|
|
1586
|
+
onOnHeaderCellFocus?: (() => any) | undefined;
|
|
1587
|
+
onOnHeaderCellBlur?: (() => any) | undefined;
|
|
1588
|
+
onOnHeaderClick?: (() => any) | undefined;
|
|
1589
|
+
onOnKeydownTab?: (() => any) | undefined;
|
|
1590
|
+
onOnKeydownLeft?: (() => any) | undefined;
|
|
1591
|
+
onOnKeydownRight?: (() => any) | undefined;
|
|
1592
|
+
onOnKeydownDown?: (() => any) | undefined;
|
|
1593
|
+
onOnHeaderCellKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
1594
|
+
onOnDeleteColumn?: (() => any) | undefined;
|
|
1595
|
+
onColumnResizeStart?: (() => any) | undefined;
|
|
1596
|
+
onColumnResizeEnd?: (() => any) | undefined;
|
|
1597
|
+
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
1598
|
+
}>, {
|
|
1599
|
+
getHeaderCellWidth: () => number;
|
|
1600
|
+
focus: () => void;
|
|
1601
|
+
isFocusable: () => boolean;
|
|
1602
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1603
|
+
columnResize: (newSize: number) => any;
|
|
1604
|
+
onColumnSort: (direction: 0 | 1 | -1) => any;
|
|
1605
|
+
openActionBarFilterControl: () => any;
|
|
1606
|
+
clearColumnFilter: () => any;
|
|
1607
|
+
onHeaderCellFocus: () => any;
|
|
1608
|
+
onHeaderCellBlur: () => any;
|
|
1609
|
+
onHeaderClick: () => any;
|
|
1610
|
+
onKeydownTab: () => any;
|
|
1611
|
+
onKeydownLeft: () => any;
|
|
1612
|
+
onKeydownRight: () => any;
|
|
1613
|
+
onKeydownDown: () => any;
|
|
1614
|
+
onHeaderCellKeydown: (event: KeyboardEvent) => any;
|
|
1615
|
+
onDeleteColumn: () => any;
|
|
1616
|
+
columnResizeStart: () => any;
|
|
1617
|
+
columnResizeEnd: () => any;
|
|
1618
|
+
allColumnsResize: (newSize: number) => any;
|
|
1619
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1620
|
+
$slots: {
|
|
1621
|
+
subHeader?(_: {
|
|
1622
|
+
subHeader: string;
|
|
1623
|
+
}): any;
|
|
1624
|
+
};
|
|
1625
|
+
});
|
|
1899
1626
|
} & import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
1900
1627
|
P: {};
|
|
1901
1628
|
B: {};
|
|
@@ -1908,32 +1635,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1908
1635
|
type: PropType<TableConfig>;
|
|
1909
1636
|
default: () => {};
|
|
1910
1637
|
};
|
|
1911
|
-
|
|
1912
|
-
type: PropType<
|
|
1913
|
-
default: () =>
|
|
1914
|
-
};
|
|
1915
|
-
columnSubHeaders: {
|
|
1916
|
-
type: PropType<Array<string | undefined>>;
|
|
1917
|
-
default: () => never[];
|
|
1918
|
-
};
|
|
1919
|
-
columnSizes: {
|
|
1920
|
-
type: PropType<Array<number>>;
|
|
1921
|
-
default: () => never[];
|
|
1638
|
+
actionConfig: {
|
|
1639
|
+
type: PropType<ActionConfig>;
|
|
1640
|
+
default: () => {};
|
|
1922
1641
|
};
|
|
1923
|
-
|
|
1924
|
-
type: PropType<
|
|
1642
|
+
columns: {
|
|
1643
|
+
type: PropType<ColumnConfig[]>;
|
|
1925
1644
|
default: () => never[];
|
|
1926
1645
|
};
|
|
1927
|
-
|
|
1928
|
-
type: PropType<
|
|
1929
|
-
default: () =>
|
|
1646
|
+
colFilterValues: {
|
|
1647
|
+
type: PropType<ColFilterValues>;
|
|
1648
|
+
default: () => {};
|
|
1930
1649
|
};
|
|
1931
|
-
|
|
1932
|
-
type: PropType<
|
|
1650
|
+
colSizes: {
|
|
1651
|
+
type: PropType<number[]>;
|
|
1933
1652
|
default: () => never[];
|
|
1934
1653
|
};
|
|
1935
|
-
|
|
1936
|
-
type: PropType<
|
|
1654
|
+
colSortValues: {
|
|
1655
|
+
type: PropType<ColSortValue[]>;
|
|
1937
1656
|
default: () => never[];
|
|
1938
1657
|
};
|
|
1939
1658
|
isSelected: {
|
|
@@ -1941,7 +1660,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1941
1660
|
default: boolean;
|
|
1942
1661
|
};
|
|
1943
1662
|
getDragHandleHeight: {
|
|
1944
|
-
type:
|
|
1663
|
+
type: PropType<() => number>;
|
|
1945
1664
|
default: () => number;
|
|
1946
1665
|
};
|
|
1947
1666
|
showNewColumnButton: {
|
|
@@ -1954,12 +1673,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1954
1673
|
};
|
|
1955
1674
|
}>> & Readonly<{
|
|
1956
1675
|
onColumnResize?: ((index: number, newSize: number) => any) | undefined;
|
|
1676
|
+
onColumnSort?: ((index: number, direction: 0 | 1 | -1) => any) | undefined;
|
|
1677
|
+
onOpenActionBarFilterControl?: ((index: number) => any) | undefined;
|
|
1678
|
+
onClearColumnFilter?: ((index: number) => any) | undefined;
|
|
1679
|
+
onColumnResizeStart?: (() => any) | undefined;
|
|
1680
|
+
onColumnResizeEnd?: (() => any) | undefined;
|
|
1681
|
+
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
1957
1682
|
onHeaderSelect?: ((selected: boolean) => any) | undefined;
|
|
1958
1683
|
onShowColumnBorder?: (() => any) | undefined;
|
|
1959
1684
|
onHideColumnBorder?: (() => any) | undefined;
|
|
1960
|
-
onColumnResizeEnd?: (() => any) | undefined;
|
|
1961
|
-
onColumnResizeStart?: (() => any) | undefined;
|
|
1962
|
-
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
1963
1685
|
onMoveDownFromHeaderCell?: ((index: number) => any) | undefined;
|
|
1964
1686
|
onHeaderCellSelect?: ((index: number) => any) | undefined;
|
|
1965
1687
|
"onUpdate:newColumnButtonWidth"?: ((width: number) => any) | undefined;
|
|
@@ -1970,49 +1692,32 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1970
1692
|
onHeaderCellStartEditing?: ((index: number, initialValue?: string | undefined) => any) | undefined;
|
|
1971
1693
|
onDeleteColumn?: ((index: number) => any) | undefined;
|
|
1972
1694
|
}>, {
|
|
1973
|
-
|
|
1695
|
+
indexedColumns: Ref<[ColumnConfig, number][], [ColumnConfig, number][]>;
|
|
1974
1696
|
headerStyles: import('vue').MaybeRef<import('vue').CSSProperties>;
|
|
1975
1697
|
onHeaderCellKeydown: (event: KeyboardEvent, columnIndex: number) => void;
|
|
1976
|
-
scrollContainer: Ref<HTMLElement | null, HTMLElement | null>;
|
|
1977
|
-
dragIndex: Ref<number | null, number | null>;
|
|
1978
|
-
columnSizeOnDragStart: Ref<number, number>;
|
|
1979
|
-
pageXOnDragStart: Ref<number, number>;
|
|
1980
|
-
currentPageX: Ref<number, number>;
|
|
1981
|
-
autoScrollOffset: Ref<number, number>;
|
|
1982
|
-
emitColumnResize: () => void;
|
|
1983
|
-
startAutoScroll: (clientX: number) => void;
|
|
1984
|
-
updateAutoScroll: (clientX: number) => void;
|
|
1985
|
-
stopAutoScroll: () => void;
|
|
1986
1698
|
}, {
|
|
1987
|
-
hoverIndex: null | number;
|
|
1988
1699
|
minimumColumnWidth: number;
|
|
1989
|
-
|
|
1990
|
-
currentDragHandlerHeight: number;
|
|
1991
|
-
borderTop: number;
|
|
1700
|
+
resizingColumnIndex: null | number;
|
|
1992
1701
|
focusedHeaderIndex: null | number;
|
|
1993
1702
|
}, {
|
|
1994
|
-
enableColumnResizing(): boolean;
|
|
1995
|
-
hasSubHeaders(): boolean;
|
|
1996
|
-
currentResizeDragHandleWidth(): 0 | 5;
|
|
1997
1703
|
headerSelectionOverlayStyle(): Record<string, string> | null;
|
|
1998
1704
|
}, {
|
|
1705
|
+
columnSize(columnIndex: number): number;
|
|
1706
|
+
sortDirection(columnIndex: number): -1 | 0 | 1;
|
|
1999
1707
|
onHeaderCellFocus(columnIndex: number): void;
|
|
2000
1708
|
onHeaderCellBlur(columnIndex: number): void;
|
|
2001
1709
|
emitNewColumnButtonWidth(): void;
|
|
2002
1710
|
onSelect(): void;
|
|
2003
1711
|
onHeaderClick(ind: number): void;
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
1712
|
+
onColumnResizeStart(columnIndex: number): void;
|
|
1713
|
+
onColumnResizeEnd(): void;
|
|
1714
|
+
onColumnResize(columnIndex: number, newSize: number): void;
|
|
1715
|
+
onAllColumnsResize(newSize: number): void;
|
|
1716
|
+
onColumnSort(columnIndex: number, direction: -1 | 0 | 1): void;
|
|
1717
|
+
onOpenActionBarFilterControl(columnIndex: number): void;
|
|
1718
|
+
onClearColumnFilter(columnIndex: number): void;
|
|
2011
1719
|
onNewColumnButtonClick(event: MouseEvent): void;
|
|
2012
1720
|
onNewColumnButtonKeydownLeft(event: KeyboardEvent): void;
|
|
2013
|
-
unthrottledOnPointerMove(event: PointerEvent): void;
|
|
2014
|
-
onLostPointerCapture: import('raf-throttle').Throttled<(event: any) => void>;
|
|
2015
|
-
dragHandleHeight(isDragging: boolean): number;
|
|
2016
1721
|
onDeleteColumn(ind: number): void;
|
|
2017
1722
|
getHeaderCellWidths(): number[];
|
|
2018
1723
|
onKeydownTab(): void;
|
|
@@ -2020,18 +1725,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2020
1725
|
onKeydownRight(columnIndex: number): void;
|
|
2021
1726
|
onKeydownDown(columnIndex: number): void;
|
|
2022
1727
|
focusHeaderCell(cellInd: number): void;
|
|
1728
|
+
isColumnHeaderFocusable(cellInd: number): boolean;
|
|
2023
1729
|
focusNewColumnButton(): void;
|
|
2024
1730
|
focusSelectionCheckbox(): void;
|
|
2025
1731
|
}, {
|
|
2026
|
-
|
|
1732
|
+
columns: ColumnConfig[];
|
|
1733
|
+
colSizes: number[];
|
|
2027
1734
|
tableConfig: TableConfig;
|
|
2028
|
-
getDragHandleHeight:
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
columnHeaderColors: (string | null)[];
|
|
2033
|
-
columnDeletables: (boolean | undefined)[];
|
|
2034
|
-
columnEditables: (boolean | undefined)[];
|
|
1735
|
+
getDragHandleHeight: () => number;
|
|
1736
|
+
colFilterValues: ColFilterValues;
|
|
1737
|
+
colSortValues: ColSortValue[];
|
|
1738
|
+
actionConfig: ActionConfig;
|
|
2035
1739
|
isSelected: boolean;
|
|
2036
1740
|
showNewColumnButton: boolean;
|
|
2037
1741
|
selectedHeaderIndex: number | null;
|
|
@@ -2176,29 +1880,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2176
1880
|
minRowHeight(): number;
|
|
2177
1881
|
initialRowHeight(): number | "dynamic";
|
|
2178
1882
|
currentRowHeight(): number | "dynamic";
|
|
2179
|
-
columnHeaders(): string[];
|
|
2180
|
-
columnSubHeaders(): (string | undefined)[];
|
|
2181
|
-
columnHeaderSubMenuItems(): (import('packages/components/dist/src').KdsMenuItem[] | undefined)[];
|
|
2182
|
-
columnSizes(): number[];
|
|
2183
|
-
columnTypes(): (import('..').ColumnType | undefined)[];
|
|
2184
1883
|
selectedHeaderIndex(): number | null;
|
|
2185
|
-
columnKeys(): (string | number | symbol)[];
|
|
2186
|
-
columnSortConfigs(): boolean[];
|
|
2187
|
-
columnFilterConfigs(): (FilterConfig | undefined)[];
|
|
2188
|
-
columnHeaderColors(): (string | null)[];
|
|
2189
|
-
columnDeletables(): (boolean | undefined)[];
|
|
2190
|
-
columnEditables(): (boolean | undefined)[];
|
|
2191
1884
|
slottedColumns(): any[];
|
|
2192
|
-
tableHeaderClass(): (string | {
|
|
2193
|
-
"sub-menu-active": number | undefined;
|
|
2194
|
-
})[];
|
|
2195
1885
|
topDataLength(): number;
|
|
2196
1886
|
totalTableLength(): number;
|
|
2197
1887
|
numPlaceholderRows(): 1 | 0;
|
|
2198
1888
|
placeholderRowRowIndex(): number;
|
|
2199
1889
|
scrollData(): DataItem[][];
|
|
2200
1890
|
currentSelectionMap(): (rowInd: number, groupInd: number) => boolean;
|
|
2201
|
-
enableRowResize(): boolean | undefined;
|
|
2202
1891
|
scrollerItemSize(): number;
|
|
2203
1892
|
sortControlOptions(): {
|
|
2204
1893
|
selectableColumns: {
|
|
@@ -2227,6 +1916,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2227
1916
|
onDeleteColumn(colInd: number): void;
|
|
2228
1917
|
onDeleteRow(rowInd: number): void;
|
|
2229
1918
|
onColumnSort(colInd: number | undefined, sortDirection: -1 | 0 | 1): void;
|
|
1919
|
+
onActionBarColumnSort(columnId: string | undefined, sortDirection: -1 | 0 | 1): void;
|
|
2230
1920
|
onSelectAll(selected: boolean): void;
|
|
2231
1921
|
onDataValueView(cellInd: number, rowInd: number, anchor: VirtualElementAnchor): void;
|
|
2232
1922
|
onRowSelect(selected: boolean, rowInd: number, groupInd: number): void;
|
|
@@ -2277,7 +1967,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2277
1967
|
onAllColumnsResize(newColumnSize: number): void;
|
|
2278
1968
|
onColumnResizeStart(): void;
|
|
2279
1969
|
onColumnResizeEnd(): void;
|
|
2280
|
-
getCellContentSlotName(
|
|
1970
|
+
getCellContentSlotName(columns: ColumnConfig[], columnId: number): string;
|
|
2281
1971
|
getHeaderComponent(): InstanceType<typeof Header>;
|
|
2282
1972
|
getTableCoreComponent(): InstanceType<typeof TableCore>;
|
|
2283
1973
|
getSelectionOverlayComponent(): InstanceType<typeof CellSelectionOverlay>;
|
|
@@ -2301,7 +1991,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2301
1991
|
pageChange: (newPageNumber: number) => true;
|
|
2302
1992
|
pageSizeUpdate: (newPageSize: number) => true;
|
|
2303
1993
|
columnSort: (colInd: number | undefined, sortDirection: -1 | 0 | 1) => true;
|
|
2304
|
-
columnFilter: (colInd: number, value:
|
|
1994
|
+
columnFilter: (colInd: number, value: FilterValue) => true;
|
|
2305
1995
|
selectAll: (selected: boolean) => true;
|
|
2306
1996
|
rowSelect: (selected: boolean, rowInd: number, groupInd: number, isTop: boolean) => true;
|
|
2307
1997
|
tableInput: (event: any) => true;
|
|
@@ -2360,11 +2050,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2360
2050
|
*/
|
|
2361
2051
|
data: {
|
|
2362
2052
|
type: PropType<Array<Array<any>>>;
|
|
2363
|
-
|
|
2364
|
-
};
|
|
2365
|
-
currentSelection: {
|
|
2366
|
-
type: PropType<Array<Array<boolean>>>;
|
|
2367
|
-
default: () => never[];
|
|
2053
|
+
required: true;
|
|
2368
2054
|
};
|
|
2369
2055
|
/**
|
|
2370
2056
|
* It specifies how many (empty) rows should be simultated above the given rows in this.data[0]
|
|
@@ -2388,6 +2074,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2388
2074
|
type: ArrayConstructor;
|
|
2389
2075
|
default: () => never[];
|
|
2390
2076
|
};
|
|
2077
|
+
currentSelection: {
|
|
2078
|
+
type: PropType<Array<Array<boolean>>>;
|
|
2079
|
+
default: () => never[];
|
|
2080
|
+
};
|
|
2391
2081
|
/**
|
|
2392
2082
|
* analogous to currentSelection but for the bottomData
|
|
2393
2083
|
*/
|
|
@@ -2395,21 +2085,66 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2395
2085
|
type: PropType<boolean[]>;
|
|
2396
2086
|
default: () => never[];
|
|
2397
2087
|
};
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2088
|
+
/** Stable per-column definitions. */
|
|
2089
|
+
columns: {
|
|
2090
|
+
type: PropType<ColumnConfig[]>;
|
|
2091
|
+
required: true;
|
|
2401
2092
|
};
|
|
2402
|
-
/**
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2093
|
+
/** Per-column widths, keyed by column id. */
|
|
2094
|
+
colSizes: {
|
|
2095
|
+
type: PropType<number[]>;
|
|
2096
|
+
default: () => never[];
|
|
2097
|
+
};
|
|
2098
|
+
/** Per-column filter values, keyed by column id. */
|
|
2099
|
+
colFilterValues: {
|
|
2100
|
+
type: PropType<ColFilterValues>;
|
|
2407
2101
|
default: () => {};
|
|
2408
2102
|
};
|
|
2103
|
+
/** Active sorts, ordered by sort priority. */
|
|
2104
|
+
colSortValues: {
|
|
2105
|
+
type: PropType<ColSortValue[]>;
|
|
2106
|
+
default: () => never[];
|
|
2107
|
+
};
|
|
2108
|
+
/** Feature switches for the table. */
|
|
2409
2109
|
tableConfig: {
|
|
2410
2110
|
type: PropType<TableConfig>;
|
|
2411
2111
|
default: () => {};
|
|
2412
|
-
|
|
2112
|
+
};
|
|
2113
|
+
/** Runtime totals and flags for the table. */
|
|
2114
|
+
tableState: {
|
|
2115
|
+
type: PropType<TableState>;
|
|
2116
|
+
default: () => {};
|
|
2117
|
+
};
|
|
2118
|
+
/** Pagination config; its presence enables pagination. */
|
|
2119
|
+
pageConfig: {
|
|
2120
|
+
type: PropType<PageConfig | undefined>;
|
|
2121
|
+
default: undefined;
|
|
2122
|
+
};
|
|
2123
|
+
/** Runtime pagination state. */
|
|
2124
|
+
pageState: {
|
|
2125
|
+
type: PropType<PageState | undefined>;
|
|
2126
|
+
default: undefined;
|
|
2127
|
+
};
|
|
2128
|
+
/** Action-bar config; its presence enables the action bar. */
|
|
2129
|
+
actionConfig: {
|
|
2130
|
+
type: PropType<ActionConfig | undefined>;
|
|
2131
|
+
default: undefined;
|
|
2132
|
+
};
|
|
2133
|
+
/** Runtime state of the action bar. */
|
|
2134
|
+
actionState: {
|
|
2135
|
+
type: PropType<ActionState | undefined>;
|
|
2136
|
+
default: undefined;
|
|
2137
|
+
required: false;
|
|
2138
|
+
};
|
|
2139
|
+
/** Per-row and per-group submenu config. */
|
|
2140
|
+
subMenuConfig: {
|
|
2141
|
+
type: PropType<SubMenuConfig>;
|
|
2142
|
+
default: () => {};
|
|
2143
|
+
};
|
|
2144
|
+
/** Appearance of the table's rows. */
|
|
2145
|
+
rowConfig: {
|
|
2146
|
+
type: PropType<RowConfig>;
|
|
2147
|
+
default: () => {};
|
|
2413
2148
|
};
|
|
2414
2149
|
disableRowHeightTransition: {
|
|
2415
2150
|
type: BooleanConstructor;
|
|
@@ -2420,11 +2155,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2420
2155
|
"onUpdate:available-width"?: ((newAvailableWidth: number) => any) | undefined;
|
|
2421
2156
|
onPageChange?: ((newPageNumber: number) => any) | undefined;
|
|
2422
2157
|
onPageSizeUpdate?: ((newPageSize: number) => any) | undefined;
|
|
2423
|
-
onColumnFilter?: ((colInd: number, value:
|
|
2158
|
+
onColumnFilter?: ((colInd: number, value: FilterValue) => any) | undefined;
|
|
2424
2159
|
onColumnSort?: ((colInd: number | undefined, sortDirection: 0 | 1 | -1) => any) | undefined;
|
|
2425
2160
|
onResetTemporaryView?: (() => any) | undefined;
|
|
2426
|
-
onColumnResizeEnd?: (() => any) | undefined;
|
|
2427
2161
|
onColumnResizeStart?: (() => any) | undefined;
|
|
2162
|
+
onColumnResizeEnd?: (() => any) | undefined;
|
|
2428
2163
|
onAllColumnsResize?: ((newColumnSize: number) => any) | undefined;
|
|
2429
2164
|
onNewColumnButtonClick?: (() => any) | undefined;
|
|
2430
2165
|
onHeaderCellStartEditing?: ((columnIndex: number, initialValue?: string | undefined) => any) | undefined;
|
|
@@ -2460,714 +2195,111 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2460
2195
|
maxY: number;
|
|
2461
2196
|
}) => void;
|
|
2462
2197
|
}) => any) | undefined;
|
|
2463
|
-
onCutSelection?: ((cutSelectionParams: {
|
|
2464
|
-
rect: Rect;
|
|
2465
|
-
id: RectId | null;
|
|
2466
|
-
}) => any) | undefined;
|
|
2467
|
-
onDeleteSelection?: ((deleteSelectionParams: {
|
|
2468
|
-
rect: Rect;
|
|
2469
|
-
id: RectId | null;
|
|
2470
|
-
}) => any) | undefined;
|
|
2471
|
-
onCellSelectionChange?: ((cellPosition: CellPosition | null) => any) | undefined;
|
|
2472
|
-
onCloseDataValueView?: (() => any) | undefined;
|
|
2473
|
-
onNewRowButtonClick?: ((lastPosition: {
|
|
2474
|
-
columnInd: number;
|
|
2475
|
-
rectId: number | null;
|
|
2476
|
-
} | null) => any) | undefined;
|
|
2477
|
-
}>, {
|
|
2478
|
-
|
|
2479
|
-
tableConfig: TableConfig;
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
id: string;
|
|
2498
|
-
text: string;
|
|
2499
|
-
}[];
|
|
2500
|
-
}, {
|
|
2501
|
-
createText(size: number): string;
|
|
2502
|
-
onPageSizeSelect(newPageSize: string): void;
|
|
2503
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("pageChange" | "pageSizeUpdate")[], "pageChange" | "pageSizeUpdate", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2504
|
-
pageConfig: {
|
|
2505
|
-
type: PropType<import('..').PageConfig>;
|
|
2506
|
-
default: () => {};
|
|
2507
|
-
};
|
|
2508
|
-
}>> & Readonly<{
|
|
2509
|
-
onPageChange?: ((...args: any[]) => any) | undefined;
|
|
2510
|
-
onPageSizeUpdate?: ((...args: any[]) => any) | undefined;
|
|
2511
|
-
}>, {
|
|
2512
|
-
pageConfig: import('..').PageConfig;
|
|
2513
|
-
}, {}, {
|
|
2514
|
-
PageNavigation: import('vue').DefineComponent<{
|
|
2515
|
-
currentItems?: number;
|
|
2516
|
-
pageSize?: number;
|
|
2517
|
-
currentPage?: number;
|
|
2518
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2519
|
-
pageChange: (newPageNumber: number) => any;
|
|
2520
|
-
}, string, import('vue').PublicProps, Readonly<{
|
|
2521
|
-
currentItems?: number;
|
|
2522
|
-
pageSize?: number;
|
|
2523
|
-
currentPage?: number;
|
|
2524
|
-
}> & Readonly<{
|
|
2525
|
-
onPageChange?: ((newPageNumber: number) => any) | undefined;
|
|
2526
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
2527
|
-
PageRowRange: import('vue').DefineComponent<{
|
|
2528
|
-
currentItems?: number;
|
|
2529
|
-
pageSize?: number;
|
|
2530
|
-
currentPage?: number;
|
|
2531
|
-
showTableSize?: boolean;
|
|
2532
|
-
rowLabel?: string;
|
|
2533
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
2534
|
-
currentItems?: number;
|
|
2535
|
-
pageSize?: number;
|
|
2536
|
-
currentPage?: number;
|
|
2537
|
-
showTableSize?: boolean;
|
|
2538
|
-
rowLabel?: string;
|
|
2539
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
2540
|
-
KdsMenuButton: import('vue').DefineComponent<({
|
|
2541
|
-
modelValue?: boolean;
|
|
2542
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2543
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2544
|
-
disabled?: boolean;
|
|
2545
|
-
title?: string;
|
|
2546
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
2547
|
-
} & {
|
|
2548
|
-
label: string;
|
|
2549
|
-
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2550
|
-
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2551
|
-
ariaLabel?: never;
|
|
2552
|
-
} & {
|
|
2553
|
-
items: import('packages/components/dist/src').KdsMenuItem[];
|
|
2554
|
-
menuMaxHeight?: string;
|
|
2555
|
-
}) | ({
|
|
2556
|
-
modelValue?: boolean;
|
|
2557
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2558
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2559
|
-
disabled?: boolean;
|
|
2560
|
-
title?: string;
|
|
2561
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
2562
|
-
} & {
|
|
2563
|
-
label?: never;
|
|
2564
|
-
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
2565
|
-
trailingIcon?: never;
|
|
2566
|
-
ariaLabel: string;
|
|
2567
|
-
} & {
|
|
2568
|
-
items: import('packages/components/dist/src').KdsMenuItem[];
|
|
2569
|
-
menuMaxHeight?: string;
|
|
2570
|
-
}), {
|
|
2571
|
-
menuButtonEl: Readonly<import('vue').ShallowRef<import('vue').CreateComponentPublicInstanceWithMixins<Readonly<({
|
|
2572
|
-
modelValue?: boolean;
|
|
2573
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2574
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2575
|
-
disabled?: boolean;
|
|
2576
|
-
title?: string;
|
|
2577
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
2578
|
-
} & {
|
|
2579
|
-
label: string;
|
|
2580
|
-
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2581
|
-
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2582
|
-
ariaLabel?: never;
|
|
2583
|
-
}) | ({
|
|
2584
|
-
modelValue?: boolean;
|
|
2585
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2586
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2587
|
-
disabled?: boolean;
|
|
2588
|
-
title?: string;
|
|
2589
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
2590
|
-
} & {
|
|
2591
|
-
label?: never;
|
|
2592
|
-
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
2593
|
-
trailingIcon?: never;
|
|
2594
|
-
ariaLabel: string;
|
|
2595
|
-
})> & Readonly<{
|
|
2596
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2597
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2598
|
-
"update:modelValue": (value: boolean) => any;
|
|
2599
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
2600
|
-
P: {};
|
|
2601
|
-
B: {};
|
|
2602
|
-
D: {};
|
|
2603
|
-
C: {};
|
|
2604
|
-
M: {};
|
|
2605
|
-
Defaults: {};
|
|
2606
|
-
}, {} & (Readonly<({
|
|
2607
|
-
modelValue?: boolean;
|
|
2608
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2609
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2610
|
-
disabled?: boolean;
|
|
2611
|
-
title?: string;
|
|
2612
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
2613
|
-
} & {
|
|
2614
|
-
label: string;
|
|
2615
|
-
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2616
|
-
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2617
|
-
ariaLabel?: never;
|
|
2618
|
-
}) | ({
|
|
2619
|
-
modelValue?: boolean;
|
|
2620
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2621
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2622
|
-
disabled?: boolean;
|
|
2623
|
-
title?: string;
|
|
2624
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
2625
|
-
} & {
|
|
2626
|
-
label?: never;
|
|
2627
|
-
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
2628
|
-
trailingIcon?: never;
|
|
2629
|
-
ariaLabel: string;
|
|
2630
|
-
})> & Readonly<{
|
|
2631
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2632
|
-
}>), {}, {}, {}, {}, {}> | null>>;
|
|
2633
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2634
|
-
"update:modelValue": (value: boolean) => any;
|
|
2635
|
-
itemClick: (id: string) => any;
|
|
2636
|
-
}, string, import('vue').PublicProps, Readonly<({
|
|
2637
|
-
modelValue?: boolean;
|
|
2638
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2639
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2640
|
-
disabled?: boolean;
|
|
2641
|
-
title?: string;
|
|
2642
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
2643
|
-
} & {
|
|
2644
|
-
label: string;
|
|
2645
|
-
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2646
|
-
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2647
|
-
ariaLabel?: never;
|
|
2648
|
-
} & {
|
|
2649
|
-
items: import('packages/components/dist/src').KdsMenuItem[];
|
|
2650
|
-
menuMaxHeight?: string;
|
|
2651
|
-
}) | ({
|
|
2652
|
-
modelValue?: boolean;
|
|
2653
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2654
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2655
|
-
disabled?: boolean;
|
|
2656
|
-
title?: string;
|
|
2657
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
2658
|
-
} & {
|
|
2659
|
-
label?: never;
|
|
2660
|
-
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
2661
|
-
trailingIcon?: never;
|
|
2662
|
-
ariaLabel: string;
|
|
2663
|
-
} & {
|
|
2664
|
-
items: import('packages/components/dist/src').KdsMenuItem[];
|
|
2665
|
-
menuMaxHeight?: string;
|
|
2666
|
-
})> & Readonly<{
|
|
2667
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2668
|
-
onItemClick?: ((id: string) => any) | undefined;
|
|
2669
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
2670
|
-
menuButton: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<({
|
|
2671
|
-
modelValue?: boolean;
|
|
2672
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2673
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2674
|
-
disabled?: boolean;
|
|
2675
|
-
title?: string;
|
|
2676
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
2677
|
-
} & {
|
|
2678
|
-
label: string;
|
|
2679
|
-
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2680
|
-
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2681
|
-
ariaLabel?: never;
|
|
2682
|
-
}) | ({
|
|
2683
|
-
modelValue?: boolean;
|
|
2684
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2685
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2686
|
-
disabled?: boolean;
|
|
2687
|
-
title?: string;
|
|
2688
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
2689
|
-
} & {
|
|
2690
|
-
label?: never;
|
|
2691
|
-
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
2692
|
-
trailingIcon?: never;
|
|
2693
|
-
ariaLabel: string;
|
|
2694
|
-
})> & Readonly<{
|
|
2695
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2696
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2697
|
-
"update:modelValue": (value: boolean) => any;
|
|
2698
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
2699
|
-
P: {};
|
|
2700
|
-
B: {};
|
|
2701
|
-
D: {};
|
|
2702
|
-
C: {};
|
|
2703
|
-
M: {};
|
|
2704
|
-
Defaults: {};
|
|
2705
|
-
}, {} & (Readonly<({
|
|
2706
|
-
modelValue?: boolean;
|
|
2707
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2708
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2709
|
-
disabled?: boolean;
|
|
2710
|
-
title?: string;
|
|
2711
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
2712
|
-
} & {
|
|
2713
|
-
label: string;
|
|
2714
|
-
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2715
|
-
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2716
|
-
ariaLabel?: never;
|
|
2717
|
-
}) | ({
|
|
2718
|
-
modelValue?: boolean;
|
|
2719
|
-
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2720
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2721
|
-
disabled?: boolean;
|
|
2722
|
-
title?: string;
|
|
2723
|
-
variant?: import('packages/components/dist/src').KdsToggleButtonVariant | undefined;
|
|
2724
|
-
} & {
|
|
2725
|
-
label?: never;
|
|
2726
|
-
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
2727
|
-
trailingIcon?: never;
|
|
2728
|
-
ariaLabel: string;
|
|
2729
|
-
})> & Readonly<{
|
|
2730
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2731
|
-
}>), {}, {}, {}, {}, {}> | null;
|
|
2732
|
-
popover: ({
|
|
2733
|
-
$: import('vue').ComponentInternalInstance;
|
|
2734
|
-
$data: {};
|
|
2735
|
-
$props: ({
|
|
2736
|
-
readonly modelValue?: boolean | undefined;
|
|
2737
|
-
readonly role?: import('packages/components/dist/src').KdsPopoverRole | undefined;
|
|
2738
|
-
readonly popoverType?: import('packages/components/dist/src').KdsPopoverType | undefined;
|
|
2739
|
-
readonly fullWidth?: boolean | undefined;
|
|
2740
|
-
readonly maxInlineSize?: string | undefined;
|
|
2741
|
-
readonly content?: string | undefined;
|
|
2742
|
-
readonly placement?: Exclude<import('packages/components/dist/src').KdsPopoverPlacement, "custom"> | undefined;
|
|
2743
|
-
readonly customPlacementPosition?: never | undefined;
|
|
2744
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2745
|
-
} | {
|
|
2746
|
-
readonly modelValue?: boolean | undefined;
|
|
2747
|
-
readonly role?: import('packages/components/dist/src').KdsPopoverRole | undefined;
|
|
2748
|
-
readonly popoverType?: import('packages/components/dist/src').KdsPopoverType | undefined;
|
|
2749
|
-
readonly fullWidth?: boolean | undefined;
|
|
2750
|
-
readonly maxInlineSize?: string | undefined;
|
|
2751
|
-
readonly content?: string | undefined;
|
|
2752
|
-
readonly placement: "custom";
|
|
2753
|
-
readonly customPlacementPosition: {
|
|
2754
|
-
x: number;
|
|
2755
|
-
y: number;
|
|
2756
|
-
};
|
|
2757
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2758
|
-
}) & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
2759
|
-
$attrs: import('vue').Attrs;
|
|
2760
|
-
$refs: {
|
|
2761
|
-
[x: string]: unknown;
|
|
2762
|
-
} & {
|
|
2763
|
-
popoverEl: HTMLDivElement;
|
|
2764
|
-
};
|
|
2765
|
-
$slots: Readonly<{
|
|
2766
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
2767
|
-
}>;
|
|
2768
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
2769
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
2770
|
-
$host: Element | null;
|
|
2771
|
-
$emit: (event: "update:modelValue", value: boolean) => void;
|
|
2772
|
-
$el: HTMLDivElement;
|
|
2773
|
-
$options: import('vue').ComponentOptionsBase<Readonly<({
|
|
2774
|
-
modelValue?: boolean;
|
|
2775
|
-
} & {
|
|
2776
|
-
role?: import('packages/components/dist/src').KdsPopoverRole;
|
|
2777
|
-
popoverType?: import('packages/components/dist/src').KdsPopoverType;
|
|
2778
|
-
fullWidth?: boolean;
|
|
2779
|
-
maxInlineSize?: string;
|
|
2780
|
-
content?: string;
|
|
2781
|
-
} & {
|
|
2782
|
-
placement?: Exclude<import('packages/components/dist/src').KdsPopoverPlacement, "custom">;
|
|
2783
|
-
customPlacementPosition?: never;
|
|
2784
|
-
}) | ({
|
|
2785
|
-
modelValue?: boolean;
|
|
2786
|
-
} & {
|
|
2787
|
-
role?: import('packages/components/dist/src').KdsPopoverRole;
|
|
2788
|
-
popoverType?: import('packages/components/dist/src').KdsPopoverType;
|
|
2789
|
-
fullWidth?: boolean;
|
|
2790
|
-
maxInlineSize?: string;
|
|
2791
|
-
content?: string;
|
|
2792
|
-
} & {
|
|
2793
|
-
placement: "custom";
|
|
2794
|
-
customPlacementPosition: {
|
|
2795
|
-
x: number;
|
|
2796
|
-
y: number;
|
|
2797
|
-
};
|
|
2798
|
-
})> & Readonly<{
|
|
2799
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2800
|
-
}>, {
|
|
2801
|
-
anchorStyle: Record<string, string>;
|
|
2802
|
-
popoverId: string;
|
|
2803
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2804
|
-
"update:modelValue": (value: boolean) => any;
|
|
2805
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
2806
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
2807
|
-
created?: (() => void) | (() => void)[];
|
|
2808
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
2809
|
-
mounted?: (() => void) | (() => void)[];
|
|
2810
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
2811
|
-
updated?: (() => void) | (() => void)[];
|
|
2812
|
-
activated?: (() => void) | (() => void)[];
|
|
2813
|
-
deactivated?: (() => void) | (() => void)[];
|
|
2814
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
2815
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
2816
|
-
destroyed?: (() => void) | (() => void)[];
|
|
2817
|
-
unmounted?: (() => void) | (() => void)[];
|
|
2818
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
2819
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
2820
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2821
|
-
};
|
|
2822
|
-
$forceUpdate: () => void;
|
|
2823
|
-
$nextTick: typeof nextTick;
|
|
2824
|
-
$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;
|
|
2825
|
-
} & Readonly<{}> & Omit<{} & (Readonly<({
|
|
2826
|
-
modelValue?: boolean;
|
|
2827
|
-
} & {
|
|
2828
|
-
role?: import('packages/components/dist/src').KdsPopoverRole;
|
|
2829
|
-
popoverType?: import('packages/components/dist/src').KdsPopoverType;
|
|
2830
|
-
fullWidth?: boolean;
|
|
2831
|
-
maxInlineSize?: string;
|
|
2832
|
-
content?: string;
|
|
2833
|
-
} & {
|
|
2834
|
-
placement?: Exclude<import('packages/components/dist/src').KdsPopoverPlacement, "custom">;
|
|
2835
|
-
customPlacementPosition?: never;
|
|
2836
|
-
}) | ({
|
|
2837
|
-
modelValue?: boolean;
|
|
2838
|
-
} & {
|
|
2839
|
-
role?: import('packages/components/dist/src').KdsPopoverRole;
|
|
2840
|
-
popoverType?: import('packages/components/dist/src').KdsPopoverType;
|
|
2841
|
-
fullWidth?: boolean;
|
|
2842
|
-
maxInlineSize?: string;
|
|
2843
|
-
content?: string;
|
|
2844
|
-
} & {
|
|
2845
|
-
placement: "custom";
|
|
2846
|
-
customPlacementPosition: {
|
|
2847
|
-
x: number;
|
|
2848
|
-
y: number;
|
|
2849
|
-
};
|
|
2850
|
-
})> & Readonly<{
|
|
2851
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2852
|
-
}>), "anchorStyle" | "popoverId"> & {
|
|
2853
|
-
anchorStyle: Record<string, string>;
|
|
2854
|
-
popoverId: string;
|
|
2855
|
-
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
2856
|
-
$slots: {
|
|
2857
|
-
default?(_: {}): any;
|
|
2858
|
-
};
|
|
2859
|
-
}) | null;
|
|
2860
|
-
menuContainer: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('packages/components/dist/src/containers/MenuContainer').KdsMenuContainerProps> & Readonly<{
|
|
2861
|
-
onItemClick?: ((id: string) => any) | undefined;
|
|
2862
|
-
}>, {
|
|
2863
|
-
focus: () => void;
|
|
2864
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2865
|
-
itemClick: (id: string) => any;
|
|
2866
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
2867
|
-
containerEl: HTMLDivElement;
|
|
2868
|
-
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
2869
|
-
P: {};
|
|
2870
|
-
B: {};
|
|
2871
|
-
D: {};
|
|
2872
|
-
C: {};
|
|
2873
|
-
M: {};
|
|
2874
|
-
Defaults: {};
|
|
2875
|
-
}, Readonly<import('packages/components/dist/src/containers/MenuContainer').KdsMenuContainerProps> & Readonly<{
|
|
2876
|
-
onItemClick?: ((id: string) => any) | undefined;
|
|
2877
|
-
}>, {
|
|
2878
|
-
focus: () => void;
|
|
2879
|
-
}, {}, {}, {}, {}> | null;
|
|
2880
|
-
}, any>;
|
|
2881
|
-
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2882
|
-
Header: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2198
|
+
onCutSelection?: ((cutSelectionParams: {
|
|
2199
|
+
rect: Rect;
|
|
2200
|
+
id: RectId | null;
|
|
2201
|
+
}) => any) | undefined;
|
|
2202
|
+
onDeleteSelection?: ((deleteSelectionParams: {
|
|
2203
|
+
rect: Rect;
|
|
2204
|
+
id: RectId | null;
|
|
2205
|
+
}) => any) | undefined;
|
|
2206
|
+
onCellSelectionChange?: ((cellPosition: CellPosition | null) => any) | undefined;
|
|
2207
|
+
onCloseDataValueView?: (() => any) | undefined;
|
|
2208
|
+
onNewRowButtonClick?: ((lastPosition: {
|
|
2209
|
+
columnInd: number;
|
|
2210
|
+
rectId: number | null;
|
|
2211
|
+
} | null) => any) | undefined;
|
|
2212
|
+
}>, {
|
|
2213
|
+
colSizes: number[];
|
|
2214
|
+
tableConfig: TableConfig;
|
|
2215
|
+
subMenuConfig: SubMenuConfig;
|
|
2216
|
+
pageConfig: PageConfig | undefined;
|
|
2217
|
+
tableState: TableState;
|
|
2218
|
+
pageState: PageState | undefined;
|
|
2219
|
+
colFilterValues: ColFilterValues;
|
|
2220
|
+
colSortValues: ColSortValue[];
|
|
2221
|
+
actionConfig: ActionConfig | undefined;
|
|
2222
|
+
rowConfig: RowConfig;
|
|
2223
|
+
disableRowHeightTransition: boolean;
|
|
2224
|
+
numRowsAbove: number;
|
|
2225
|
+
numRowsBelow: number;
|
|
2226
|
+
bottomData: unknown[];
|
|
2227
|
+
currentSelection: boolean[][];
|
|
2228
|
+
currentBottomSelection: boolean[];
|
|
2229
|
+
actionState: ActionState | undefined;
|
|
2230
|
+
}, {}, {
|
|
2231
|
+
PageControls: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2883
2232
|
tableConfig: {
|
|
2884
2233
|
type: PropType<TableConfig>;
|
|
2885
|
-
|
|
2886
|
-
};
|
|
2887
|
-
columnHeaders: {
|
|
2888
|
-
type: PropType<Array<string>>;
|
|
2889
|
-
default: () => never[];
|
|
2890
|
-
};
|
|
2891
|
-
columnSubHeaders: {
|
|
2892
|
-
type: PropType<Array<string | undefined>>;
|
|
2893
|
-
default: () => never[];
|
|
2894
|
-
};
|
|
2895
|
-
columnSizes: {
|
|
2896
|
-
type: PropType<Array<number>>;
|
|
2897
|
-
default: () => never[];
|
|
2898
|
-
};
|
|
2899
|
-
columnSubMenuItems: {
|
|
2900
|
-
type: PropType<Array<import('packages/components/dist/src').KdsMenuItem[] | undefined>>;
|
|
2901
|
-
default: () => never[];
|
|
2902
|
-
};
|
|
2903
|
-
columnHeaderColors: {
|
|
2904
|
-
type: PropType<Array<string | null>>;
|
|
2905
|
-
default: () => never[];
|
|
2906
|
-
};
|
|
2907
|
-
columnDeletables: {
|
|
2908
|
-
type: PropType<Array<boolean | undefined>>;
|
|
2909
|
-
default: () => never[];
|
|
2910
|
-
};
|
|
2911
|
-
columnEditables: {
|
|
2912
|
-
type: PropType<Array<boolean | undefined>>;
|
|
2913
|
-
default: () => never[];
|
|
2914
|
-
};
|
|
2915
|
-
isSelected: {
|
|
2916
|
-
type: BooleanConstructor;
|
|
2917
|
-
default: boolean;
|
|
2234
|
+
required: true;
|
|
2918
2235
|
};
|
|
2919
|
-
|
|
2920
|
-
type:
|
|
2921
|
-
|
|
2236
|
+
pageConfig: {
|
|
2237
|
+
type: PropType<PageConfig>;
|
|
2238
|
+
required: true;
|
|
2922
2239
|
};
|
|
2923
|
-
|
|
2924
|
-
type:
|
|
2925
|
-
|
|
2240
|
+
tableState: {
|
|
2241
|
+
type: PropType<TableState>;
|
|
2242
|
+
required: true;
|
|
2926
2243
|
};
|
|
2927
|
-
|
|
2928
|
-
type: PropType<
|
|
2929
|
-
|
|
2244
|
+
pageState: {
|
|
2245
|
+
type: PropType<PageState>;
|
|
2246
|
+
required: true;
|
|
2930
2247
|
};
|
|
2931
|
-
}>, {
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
|
|
2936
|
-
dragIndex: Ref<number | null, number | null>;
|
|
2937
|
-
columnSizeOnDragStart: Ref<number, number>;
|
|
2938
|
-
pageXOnDragStart: Ref<number, number>;
|
|
2939
|
-
currentPageX: Ref<number, number>;
|
|
2940
|
-
autoScrollOffset: Ref<number, number>;
|
|
2941
|
-
emitColumnResize: () => void;
|
|
2942
|
-
startAutoScroll: (clientX: number) => void;
|
|
2943
|
-
updateAutoScroll: (clientX: number) => void;
|
|
2944
|
-
stopAutoScroll: () => void;
|
|
2945
|
-
}, {
|
|
2946
|
-
hoverIndex: null | number;
|
|
2947
|
-
minimumColumnWidth: number;
|
|
2948
|
-
maximumSubMenuWidth: number;
|
|
2949
|
-
currentDragHandlerHeight: number;
|
|
2950
|
-
borderTop: number;
|
|
2951
|
-
focusedHeaderIndex: null | number;
|
|
2952
|
-
}, {
|
|
2953
|
-
enableColumnResizing(): boolean;
|
|
2954
|
-
hasSubHeaders(): boolean;
|
|
2955
|
-
currentResizeDragHandleWidth(): 0 | 5;
|
|
2956
|
-
headerSelectionOverlayStyle(): Record<string, string> | null;
|
|
2248
|
+
}>, {}, {}, {
|
|
2249
|
+
pageSizeItems(): {
|
|
2250
|
+
id: string;
|
|
2251
|
+
text: string;
|
|
2252
|
+
}[];
|
|
2957
2253
|
}, {
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
onSelect(): void;
|
|
2962
|
-
onHeaderClick(ind: number): void;
|
|
2963
|
-
onPointerOver(event: PointerEvent, columnIndex: number): void;
|
|
2964
|
-
onPointerLeave(event: Event): void;
|
|
2965
|
-
onPointerDown(event: PointerEvent & {
|
|
2966
|
-
target: HTMLElement;
|
|
2967
|
-
}, columnIndex: number): void;
|
|
2968
|
-
onPointerUp(event: PointerEvent): void;
|
|
2969
|
-
onPointerMove: import('raf-throttle').Throttled<(event: PointerEvent) => void>;
|
|
2970
|
-
onNewColumnButtonClick(event: MouseEvent): void;
|
|
2971
|
-
onNewColumnButtonKeydownLeft(event: KeyboardEvent): void;
|
|
2972
|
-
unthrottledOnPointerMove(event: PointerEvent): void;
|
|
2973
|
-
onLostPointerCapture: import('raf-throttle').Throttled<(event: any) => void>;
|
|
2974
|
-
dragHandleHeight(isDragging: boolean): number;
|
|
2975
|
-
onDeleteColumn(ind: number): void;
|
|
2976
|
-
getHeaderCellWidths(): number[];
|
|
2977
|
-
onKeydownTab(): void;
|
|
2978
|
-
onKeydownLeft(columnIndex: number): void;
|
|
2979
|
-
onKeydownRight(columnIndex: number): void;
|
|
2980
|
-
onKeydownDown(columnIndex: number): void;
|
|
2981
|
-
focusHeaderCell(cellInd: number): void;
|
|
2982
|
-
focusNewColumnButton(): void;
|
|
2983
|
-
focusSelectionCheckbox(): void;
|
|
2984
|
-
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2985
|
-
headerSelect: (selected: boolean) => true;
|
|
2986
|
-
showColumnBorder: () => true;
|
|
2987
|
-
columnResize: (index: number, newSize: number) => true;
|
|
2988
|
-
hideColumnBorder: () => true;
|
|
2989
|
-
columnResizeEnd: () => true;
|
|
2990
|
-
columnResizeStart: () => true;
|
|
2991
|
-
allColumnsResize: (newSize: number) => true;
|
|
2992
|
-
moveDownFromHeaderCell: (index: number) => true;
|
|
2993
|
-
headerCellSelect: (index: number) => true;
|
|
2994
|
-
"update:newColumnButtonWidth": (width: number) => true;
|
|
2995
|
-
newColumnButtonClick: (event: MouseEvent) => true;
|
|
2996
|
-
newColumnButtonKeydownLeft: (event: KeyboardEvent) => true;
|
|
2997
|
-
selectionKeydownDown: () => true;
|
|
2998
|
-
headerCellDeselect: () => true;
|
|
2999
|
-
headerCellStartEditing: (index: number, initialValue?: string) => true;
|
|
3000
|
-
deleteColumn: (index: number) => true;
|
|
3001
|
-
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2254
|
+
createText(size: number): string;
|
|
2255
|
+
onPageSizeSelect(newPageSize: string): void;
|
|
2256
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("pageChange" | "pageSizeUpdate")[], "pageChange" | "pageSizeUpdate", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
3002
2257
|
tableConfig: {
|
|
3003
2258
|
type: PropType<TableConfig>;
|
|
3004
|
-
|
|
3005
|
-
};
|
|
3006
|
-
columnHeaders: {
|
|
3007
|
-
type: PropType<Array<string>>;
|
|
3008
|
-
default: () => never[];
|
|
3009
|
-
};
|
|
3010
|
-
columnSubHeaders: {
|
|
3011
|
-
type: PropType<Array<string | undefined>>;
|
|
3012
|
-
default: () => never[];
|
|
3013
|
-
};
|
|
3014
|
-
columnSizes: {
|
|
3015
|
-
type: PropType<Array<number>>;
|
|
3016
|
-
default: () => never[];
|
|
3017
|
-
};
|
|
3018
|
-
columnSubMenuItems: {
|
|
3019
|
-
type: PropType<Array<import('packages/components/dist/src').KdsMenuItem[] | undefined>>;
|
|
3020
|
-
default: () => never[];
|
|
3021
|
-
};
|
|
3022
|
-
columnHeaderColors: {
|
|
3023
|
-
type: PropType<Array<string | null>>;
|
|
3024
|
-
default: () => never[];
|
|
3025
|
-
};
|
|
3026
|
-
columnDeletables: {
|
|
3027
|
-
type: PropType<Array<boolean | undefined>>;
|
|
3028
|
-
default: () => never[];
|
|
3029
|
-
};
|
|
3030
|
-
columnEditables: {
|
|
3031
|
-
type: PropType<Array<boolean | undefined>>;
|
|
3032
|
-
default: () => never[];
|
|
3033
|
-
};
|
|
3034
|
-
isSelected: {
|
|
3035
|
-
type: BooleanConstructor;
|
|
3036
|
-
default: boolean;
|
|
2259
|
+
required: true;
|
|
3037
2260
|
};
|
|
3038
|
-
|
|
3039
|
-
type:
|
|
3040
|
-
|
|
2261
|
+
pageConfig: {
|
|
2262
|
+
type: PropType<PageConfig>;
|
|
2263
|
+
required: true;
|
|
3041
2264
|
};
|
|
3042
|
-
|
|
3043
|
-
type:
|
|
3044
|
-
|
|
2265
|
+
tableState: {
|
|
2266
|
+
type: PropType<TableState>;
|
|
2267
|
+
required: true;
|
|
3045
2268
|
};
|
|
3046
|
-
|
|
3047
|
-
type: PropType<
|
|
3048
|
-
|
|
2269
|
+
pageState: {
|
|
2270
|
+
type: PropType<PageState>;
|
|
2271
|
+
required: true;
|
|
3049
2272
|
};
|
|
3050
2273
|
}>> & Readonly<{
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
onDeleteColumn?: ((index: number) => any) | undefined;
|
|
3067
|
-
}>, {
|
|
3068
|
-
columnSizes: number[];
|
|
3069
|
-
tableConfig: TableConfig;
|
|
3070
|
-
getDragHandleHeight: Function;
|
|
3071
|
-
columnHeaders: string[];
|
|
3072
|
-
columnSubHeaders: (string | undefined)[];
|
|
3073
|
-
columnSubMenuItems: (import('packages/components/dist/src').KdsMenuItem[] | undefined)[];
|
|
3074
|
-
columnHeaderColors: (string | null)[];
|
|
3075
|
-
columnDeletables: (boolean | undefined)[];
|
|
3076
|
-
columnEditables: (boolean | undefined)[];
|
|
3077
|
-
isSelected: boolean;
|
|
3078
|
-
showNewColumnButton: boolean;
|
|
3079
|
-
selectedHeaderIndex: number | null;
|
|
3080
|
-
}, {}, {
|
|
3081
|
-
KdsCheckbox: import('vue').DefineComponent<({
|
|
3082
|
-
modelValue?: import('packages/components/dist/src').KdsCheckboxValue;
|
|
3083
|
-
} & {
|
|
3084
|
-
disabled?: boolean;
|
|
3085
|
-
error?: boolean;
|
|
3086
|
-
subText?: string;
|
|
3087
|
-
preserveSubTextSpace?: boolean;
|
|
3088
|
-
} & {
|
|
3089
|
-
label: string;
|
|
3090
|
-
title?: never;
|
|
3091
|
-
}) | ({
|
|
3092
|
-
modelValue?: import('packages/components/dist/src').KdsCheckboxValue;
|
|
3093
|
-
} & {
|
|
3094
|
-
disabled?: boolean;
|
|
3095
|
-
error?: boolean;
|
|
3096
|
-
subText?: string;
|
|
3097
|
-
preserveSubTextSpace?: boolean;
|
|
3098
|
-
} & {
|
|
3099
|
-
label?: never;
|
|
3100
|
-
title: string;
|
|
3101
|
-
}), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3102
|
-
"update:modelValue": (value: import('packages/components/dist/src').KdsCheckboxValue) => any;
|
|
3103
|
-
}, string, import('vue').PublicProps, Readonly<({
|
|
3104
|
-
modelValue?: import('packages/components/dist/src').KdsCheckboxValue;
|
|
3105
|
-
} & {
|
|
3106
|
-
disabled?: boolean;
|
|
3107
|
-
error?: boolean;
|
|
3108
|
-
subText?: string;
|
|
3109
|
-
preserveSubTextSpace?: boolean;
|
|
3110
|
-
} & {
|
|
3111
|
-
label: string;
|
|
3112
|
-
title?: never;
|
|
3113
|
-
}) | ({
|
|
3114
|
-
modelValue?: import('packages/components/dist/src').KdsCheckboxValue;
|
|
3115
|
-
} & {
|
|
3116
|
-
disabled?: boolean;
|
|
3117
|
-
error?: boolean;
|
|
3118
|
-
subText?: string;
|
|
3119
|
-
preserveSubTextSpace?: boolean;
|
|
3120
|
-
} & {
|
|
3121
|
-
label?: never;
|
|
3122
|
-
title: string;
|
|
3123
|
-
})> & Readonly<{
|
|
3124
|
-
"onUpdate:modelValue"?: ((value: import('packages/components/dist/src').KdsCheckboxValue) => any) | undefined;
|
|
3125
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
3126
|
-
KdsButton: import('vue').DefineComponent<(import('packages/components/dist/src/types/testId').WithTestId & {
|
|
3127
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
3128
|
-
disabled?: boolean;
|
|
3129
|
-
title?: string;
|
|
3130
|
-
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
3131
|
-
} & {
|
|
3132
|
-
label: string;
|
|
3133
|
-
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
3134
|
-
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
3135
|
-
ariaLabel?: never;
|
|
3136
|
-
} & import('packages/components/dist/src/buttons/types').WithDestructive) | (import('packages/components/dist/src/types/testId').WithTestId & {
|
|
3137
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
3138
|
-
disabled?: boolean;
|
|
3139
|
-
title?: string;
|
|
3140
|
-
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
3141
|
-
} & {
|
|
3142
|
-
label?: never;
|
|
3143
|
-
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
3144
|
-
trailingIcon?: never;
|
|
3145
|
-
ariaLabel: string;
|
|
3146
|
-
} & import('packages/components/dist/src/buttons/types').WithDestructive), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3147
|
-
click: (event: MouseEvent) => any;
|
|
3148
|
-
}, string, import('vue').PublicProps, Readonly<(import('packages/components/dist/src/types/testId').WithTestId & {
|
|
3149
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
3150
|
-
disabled?: boolean;
|
|
3151
|
-
title?: string;
|
|
3152
|
-
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
3153
|
-
} & {
|
|
3154
|
-
label: string;
|
|
3155
|
-
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
3156
|
-
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
3157
|
-
ariaLabel?: never;
|
|
3158
|
-
} & import('packages/components/dist/src/buttons/types').WithDestructive) | (import('packages/components/dist/src/types/testId').WithTestId & {
|
|
3159
|
-
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
3160
|
-
disabled?: boolean;
|
|
3161
|
-
title?: string;
|
|
3162
|
-
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
3163
|
-
} & {
|
|
3164
|
-
label?: never;
|
|
3165
|
-
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
3166
|
-
trailingIcon?: never;
|
|
3167
|
-
ariaLabel: string;
|
|
3168
|
-
} & import('packages/components/dist/src/buttons/types').WithDestructive)> & Readonly<{
|
|
3169
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
2274
|
+
onPageChange?: ((...args: any[]) => any) | undefined;
|
|
2275
|
+
onPageSizeUpdate?: ((...args: any[]) => any) | undefined;
|
|
2276
|
+
}>, {}, {}, {
|
|
2277
|
+
PageNavigation: import('vue').DefineComponent<{
|
|
2278
|
+
currentItems?: number;
|
|
2279
|
+
pageSize?: number;
|
|
2280
|
+
currentPage?: number;
|
|
2281
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2282
|
+
pageChange: (newPageNumber: number) => any;
|
|
2283
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
2284
|
+
currentItems?: number;
|
|
2285
|
+
pageSize?: number;
|
|
2286
|
+
currentPage?: number;
|
|
2287
|
+
}> & Readonly<{
|
|
2288
|
+
onPageChange?: ((newPageNumber: number) => any) | undefined;
|
|
3170
2289
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
2290
|
+
PageRowRange: import('vue').DefineComponent<{
|
|
2291
|
+
currentItems?: number;
|
|
2292
|
+
pageSize?: number;
|
|
2293
|
+
currentPage?: number;
|
|
2294
|
+
showTableSize?: boolean;
|
|
2295
|
+
rowLabel?: string;
|
|
2296
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
2297
|
+
currentItems?: number;
|
|
2298
|
+
pageSize?: number;
|
|
2299
|
+
currentPage?: number;
|
|
2300
|
+
showTableSize?: boolean;
|
|
2301
|
+
rowLabel?: string;
|
|
2302
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
3171
2303
|
KdsMenuButton: import('vue').DefineComponent<({
|
|
3172
2304
|
modelValue?: boolean;
|
|
3173
2305
|
} & import('packages/components/dist/src/types/testId').WithTestId & {
|
|
@@ -3451,7 +2583,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3451
2583
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
3452
2584
|
};
|
|
3453
2585
|
$forceUpdate: () => void;
|
|
3454
|
-
$nextTick: typeof nextTick;
|
|
2586
|
+
$nextTick: typeof import('vue').nextTick;
|
|
3455
2587
|
$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;
|
|
3456
2588
|
} & Readonly<{}> & Omit<{} & (Readonly<({
|
|
3457
2589
|
modelValue?: boolean;
|
|
@@ -3510,6 +2642,476 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3510
2642
|
}, {}, {}, {}, {}> | null;
|
|
3511
2643
|
}, any>;
|
|
3512
2644
|
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2645
|
+
Header: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2646
|
+
tableConfig: {
|
|
2647
|
+
type: PropType<TableConfig>;
|
|
2648
|
+
default: () => {};
|
|
2649
|
+
};
|
|
2650
|
+
actionConfig: {
|
|
2651
|
+
type: PropType<ActionConfig>;
|
|
2652
|
+
default: () => {};
|
|
2653
|
+
};
|
|
2654
|
+
columns: {
|
|
2655
|
+
type: PropType<ColumnConfig[]>;
|
|
2656
|
+
default: () => never[];
|
|
2657
|
+
};
|
|
2658
|
+
colFilterValues: {
|
|
2659
|
+
type: PropType<ColFilterValues>;
|
|
2660
|
+
default: () => {};
|
|
2661
|
+
};
|
|
2662
|
+
colSizes: {
|
|
2663
|
+
type: PropType<number[]>;
|
|
2664
|
+
default: () => never[];
|
|
2665
|
+
};
|
|
2666
|
+
colSortValues: {
|
|
2667
|
+
type: PropType<ColSortValue[]>;
|
|
2668
|
+
default: () => never[];
|
|
2669
|
+
};
|
|
2670
|
+
isSelected: {
|
|
2671
|
+
type: BooleanConstructor;
|
|
2672
|
+
default: boolean;
|
|
2673
|
+
};
|
|
2674
|
+
getDragHandleHeight: {
|
|
2675
|
+
type: PropType<() => number>;
|
|
2676
|
+
default: () => number;
|
|
2677
|
+
};
|
|
2678
|
+
showNewColumnButton: {
|
|
2679
|
+
type: BooleanConstructor;
|
|
2680
|
+
default: boolean;
|
|
2681
|
+
};
|
|
2682
|
+
selectedHeaderIndex: {
|
|
2683
|
+
type: PropType<number | null>;
|
|
2684
|
+
default: null;
|
|
2685
|
+
};
|
|
2686
|
+
}>, {
|
|
2687
|
+
indexedColumns: Ref<[ColumnConfig, number][], [ColumnConfig, number][]>;
|
|
2688
|
+
headerStyles: import('vue').MaybeRef<import('vue').CSSProperties>;
|
|
2689
|
+
onHeaderCellKeydown: (event: KeyboardEvent, columnIndex: number) => void;
|
|
2690
|
+
}, {
|
|
2691
|
+
minimumColumnWidth: number;
|
|
2692
|
+
resizingColumnIndex: null | number;
|
|
2693
|
+
focusedHeaderIndex: null | number;
|
|
2694
|
+
}, {
|
|
2695
|
+
headerSelectionOverlayStyle(): Record<string, string> | null;
|
|
2696
|
+
}, {
|
|
2697
|
+
columnSize(columnIndex: number): number;
|
|
2698
|
+
sortDirection(columnIndex: number): -1 | 0 | 1;
|
|
2699
|
+
onHeaderCellFocus(columnIndex: number): void;
|
|
2700
|
+
onHeaderCellBlur(columnIndex: number): void;
|
|
2701
|
+
emitNewColumnButtonWidth(): void;
|
|
2702
|
+
onSelect(): void;
|
|
2703
|
+
onHeaderClick(ind: number): void;
|
|
2704
|
+
onColumnResizeStart(columnIndex: number): void;
|
|
2705
|
+
onColumnResizeEnd(): void;
|
|
2706
|
+
onColumnResize(columnIndex: number, newSize: number): void;
|
|
2707
|
+
onAllColumnsResize(newSize: number): void;
|
|
2708
|
+
onColumnSort(columnIndex: number, direction: -1 | 0 | 1): void;
|
|
2709
|
+
onOpenActionBarFilterControl(columnIndex: number): void;
|
|
2710
|
+
onClearColumnFilter(columnIndex: number): void;
|
|
2711
|
+
onNewColumnButtonClick(event: MouseEvent): void;
|
|
2712
|
+
onNewColumnButtonKeydownLeft(event: KeyboardEvent): void;
|
|
2713
|
+
onDeleteColumn(ind: number): void;
|
|
2714
|
+
getHeaderCellWidths(): number[];
|
|
2715
|
+
onKeydownTab(): void;
|
|
2716
|
+
onKeydownLeft(columnIndex: number): void;
|
|
2717
|
+
onKeydownRight(columnIndex: number): void;
|
|
2718
|
+
onKeydownDown(columnIndex: number): void;
|
|
2719
|
+
focusHeaderCell(cellInd: number): void;
|
|
2720
|
+
isColumnHeaderFocusable(cellInd: number): boolean;
|
|
2721
|
+
focusNewColumnButton(): void;
|
|
2722
|
+
focusSelectionCheckbox(): void;
|
|
2723
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2724
|
+
headerSelect: (selected: boolean) => true;
|
|
2725
|
+
showColumnBorder: () => true;
|
|
2726
|
+
columnResize: (index: number, newSize: number) => true;
|
|
2727
|
+
hideColumnBorder: () => true;
|
|
2728
|
+
columnResizeEnd: () => true;
|
|
2729
|
+
columnResizeStart: () => true;
|
|
2730
|
+
allColumnsResize: (newSize: number) => true;
|
|
2731
|
+
columnSort: (index: number, direction: -1 | 0 | 1) => true;
|
|
2732
|
+
openActionBarFilterControl: (index: number) => true;
|
|
2733
|
+
clearColumnFilter: (index: number) => true;
|
|
2734
|
+
moveDownFromHeaderCell: (index: number) => true;
|
|
2735
|
+
headerCellSelect: (index: number) => true;
|
|
2736
|
+
"update:newColumnButtonWidth": (width: number) => true;
|
|
2737
|
+
newColumnButtonClick: (event: MouseEvent) => true;
|
|
2738
|
+
newColumnButtonKeydownLeft: (event: KeyboardEvent) => true;
|
|
2739
|
+
selectionKeydownDown: () => true;
|
|
2740
|
+
headerCellDeselect: () => true;
|
|
2741
|
+
headerCellStartEditing: (index: number, initialValue?: string) => true;
|
|
2742
|
+
deleteColumn: (index: number) => true;
|
|
2743
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
2744
|
+
tableConfig: {
|
|
2745
|
+
type: PropType<TableConfig>;
|
|
2746
|
+
default: () => {};
|
|
2747
|
+
};
|
|
2748
|
+
actionConfig: {
|
|
2749
|
+
type: PropType<ActionConfig>;
|
|
2750
|
+
default: () => {};
|
|
2751
|
+
};
|
|
2752
|
+
columns: {
|
|
2753
|
+
type: PropType<ColumnConfig[]>;
|
|
2754
|
+
default: () => never[];
|
|
2755
|
+
};
|
|
2756
|
+
colFilterValues: {
|
|
2757
|
+
type: PropType<ColFilterValues>;
|
|
2758
|
+
default: () => {};
|
|
2759
|
+
};
|
|
2760
|
+
colSizes: {
|
|
2761
|
+
type: PropType<number[]>;
|
|
2762
|
+
default: () => never[];
|
|
2763
|
+
};
|
|
2764
|
+
colSortValues: {
|
|
2765
|
+
type: PropType<ColSortValue[]>;
|
|
2766
|
+
default: () => never[];
|
|
2767
|
+
};
|
|
2768
|
+
isSelected: {
|
|
2769
|
+
type: BooleanConstructor;
|
|
2770
|
+
default: boolean;
|
|
2771
|
+
};
|
|
2772
|
+
getDragHandleHeight: {
|
|
2773
|
+
type: PropType<() => number>;
|
|
2774
|
+
default: () => number;
|
|
2775
|
+
};
|
|
2776
|
+
showNewColumnButton: {
|
|
2777
|
+
type: BooleanConstructor;
|
|
2778
|
+
default: boolean;
|
|
2779
|
+
};
|
|
2780
|
+
selectedHeaderIndex: {
|
|
2781
|
+
type: PropType<number | null>;
|
|
2782
|
+
default: null;
|
|
2783
|
+
};
|
|
2784
|
+
}>> & Readonly<{
|
|
2785
|
+
onColumnResize?: ((index: number, newSize: number) => any) | undefined;
|
|
2786
|
+
onColumnSort?: ((index: number, direction: 0 | 1 | -1) => any) | undefined;
|
|
2787
|
+
onOpenActionBarFilterControl?: ((index: number) => any) | undefined;
|
|
2788
|
+
onClearColumnFilter?: ((index: number) => any) | undefined;
|
|
2789
|
+
onColumnResizeStart?: (() => any) | undefined;
|
|
2790
|
+
onColumnResizeEnd?: (() => any) | undefined;
|
|
2791
|
+
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
2792
|
+
onHeaderSelect?: ((selected: boolean) => any) | undefined;
|
|
2793
|
+
onShowColumnBorder?: (() => any) | undefined;
|
|
2794
|
+
onHideColumnBorder?: (() => any) | undefined;
|
|
2795
|
+
onMoveDownFromHeaderCell?: ((index: number) => any) | undefined;
|
|
2796
|
+
onHeaderCellSelect?: ((index: number) => any) | undefined;
|
|
2797
|
+
"onUpdate:newColumnButtonWidth"?: ((width: number) => any) | undefined;
|
|
2798
|
+
onNewColumnButtonClick?: ((event: MouseEvent) => any) | undefined;
|
|
2799
|
+
onNewColumnButtonKeydownLeft?: ((event: KeyboardEvent) => any) | undefined;
|
|
2800
|
+
onSelectionKeydownDown?: (() => any) | undefined;
|
|
2801
|
+
onHeaderCellDeselect?: (() => any) | undefined;
|
|
2802
|
+
onHeaderCellStartEditing?: ((index: number, initialValue?: string | undefined) => any) | undefined;
|
|
2803
|
+
onDeleteColumn?: ((index: number) => any) | undefined;
|
|
2804
|
+
}>, {
|
|
2805
|
+
columns: ColumnConfig[];
|
|
2806
|
+
colSizes: number[];
|
|
2807
|
+
tableConfig: TableConfig;
|
|
2808
|
+
getDragHandleHeight: () => number;
|
|
2809
|
+
colFilterValues: ColFilterValues;
|
|
2810
|
+
colSortValues: ColSortValue[];
|
|
2811
|
+
actionConfig: ActionConfig;
|
|
2812
|
+
isSelected: boolean;
|
|
2813
|
+
showNewColumnButton: boolean;
|
|
2814
|
+
selectedHeaderIndex: number | null;
|
|
2815
|
+
}, {}, {
|
|
2816
|
+
KdsCheckbox: import('vue').DefineComponent<({
|
|
2817
|
+
modelValue?: import('packages/components/dist/src').KdsCheckboxValue;
|
|
2818
|
+
} & {
|
|
2819
|
+
disabled?: boolean;
|
|
2820
|
+
error?: boolean;
|
|
2821
|
+
subText?: string;
|
|
2822
|
+
preserveSubTextSpace?: boolean;
|
|
2823
|
+
} & {
|
|
2824
|
+
label: string;
|
|
2825
|
+
title?: never;
|
|
2826
|
+
}) | ({
|
|
2827
|
+
modelValue?: import('packages/components/dist/src').KdsCheckboxValue;
|
|
2828
|
+
} & {
|
|
2829
|
+
disabled?: boolean;
|
|
2830
|
+
error?: boolean;
|
|
2831
|
+
subText?: string;
|
|
2832
|
+
preserveSubTextSpace?: boolean;
|
|
2833
|
+
} & {
|
|
2834
|
+
label?: never;
|
|
2835
|
+
title: string;
|
|
2836
|
+
}), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2837
|
+
"update:modelValue": (value: import('packages/components/dist/src').KdsCheckboxValue) => any;
|
|
2838
|
+
}, string, import('vue').PublicProps, Readonly<({
|
|
2839
|
+
modelValue?: import('packages/components/dist/src').KdsCheckboxValue;
|
|
2840
|
+
} & {
|
|
2841
|
+
disabled?: boolean;
|
|
2842
|
+
error?: boolean;
|
|
2843
|
+
subText?: string;
|
|
2844
|
+
preserveSubTextSpace?: boolean;
|
|
2845
|
+
} & {
|
|
2846
|
+
label: string;
|
|
2847
|
+
title?: never;
|
|
2848
|
+
}) | ({
|
|
2849
|
+
modelValue?: import('packages/components/dist/src').KdsCheckboxValue;
|
|
2850
|
+
} & {
|
|
2851
|
+
disabled?: boolean;
|
|
2852
|
+
error?: boolean;
|
|
2853
|
+
subText?: string;
|
|
2854
|
+
preserveSubTextSpace?: boolean;
|
|
2855
|
+
} & {
|
|
2856
|
+
label?: never;
|
|
2857
|
+
title: string;
|
|
2858
|
+
})> & Readonly<{
|
|
2859
|
+
"onUpdate:modelValue"?: ((value: import('packages/components/dist/src').KdsCheckboxValue) => any) | undefined;
|
|
2860
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2861
|
+
KdsButton: import('vue').DefineComponent<(import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2862
|
+
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2863
|
+
disabled?: boolean;
|
|
2864
|
+
title?: string;
|
|
2865
|
+
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
2866
|
+
} & {
|
|
2867
|
+
label: string;
|
|
2868
|
+
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2869
|
+
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2870
|
+
ariaLabel?: never;
|
|
2871
|
+
} & import('packages/components/dist/src/buttons/types').WithDestructive) | (import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2872
|
+
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2873
|
+
disabled?: boolean;
|
|
2874
|
+
title?: string;
|
|
2875
|
+
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
2876
|
+
} & {
|
|
2877
|
+
label?: never;
|
|
2878
|
+
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
2879
|
+
trailingIcon?: never;
|
|
2880
|
+
ariaLabel: string;
|
|
2881
|
+
} & import('packages/components/dist/src/buttons/types').WithDestructive), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2882
|
+
click: (event: MouseEvent) => any;
|
|
2883
|
+
}, string, import('vue').PublicProps, Readonly<(import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2884
|
+
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2885
|
+
disabled?: boolean;
|
|
2886
|
+
title?: string;
|
|
2887
|
+
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
2888
|
+
} & {
|
|
2889
|
+
label: string;
|
|
2890
|
+
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2891
|
+
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2892
|
+
ariaLabel?: never;
|
|
2893
|
+
} & import('packages/components/dist/src/buttons/types').WithDestructive) | (import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2894
|
+
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2895
|
+
disabled?: boolean;
|
|
2896
|
+
title?: string;
|
|
2897
|
+
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
2898
|
+
} & {
|
|
2899
|
+
label?: never;
|
|
2900
|
+
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
2901
|
+
trailingIcon?: never;
|
|
2902
|
+
ariaLabel: string;
|
|
2903
|
+
} & import('packages/components/dist/src/buttons/types').WithDestructive)> & Readonly<{
|
|
2904
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
2905
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
2906
|
+
HeaderCell: {
|
|
2907
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
2908
|
+
column: ColumnConfig;
|
|
2909
|
+
colFilterValue?: FilterValue;
|
|
2910
|
+
tableConfig: TableConfig;
|
|
2911
|
+
actionConfig: ActionConfig;
|
|
2912
|
+
sortDirection: -1 | 0 | 1;
|
|
2913
|
+
columnSize?: number;
|
|
2914
|
+
focused: boolean;
|
|
2915
|
+
selected: boolean;
|
|
2916
|
+
otherColumnResizing: boolean;
|
|
2917
|
+
getDragHandleHeight: () => number;
|
|
2918
|
+
}> & Readonly<{
|
|
2919
|
+
onColumnResize?: ((newSize: number) => any) | undefined;
|
|
2920
|
+
onOnColumnSort?: ((direction: 0 | 1 | -1) => any) | undefined;
|
|
2921
|
+
onOpenActionBarFilterControl?: (() => any) | undefined;
|
|
2922
|
+
onClearColumnFilter?: (() => any) | undefined;
|
|
2923
|
+
onOnHeaderCellFocus?: (() => any) | undefined;
|
|
2924
|
+
onOnHeaderCellBlur?: (() => any) | undefined;
|
|
2925
|
+
onOnHeaderClick?: (() => any) | undefined;
|
|
2926
|
+
onOnKeydownTab?: (() => any) | undefined;
|
|
2927
|
+
onOnKeydownLeft?: (() => any) | undefined;
|
|
2928
|
+
onOnKeydownRight?: (() => any) | undefined;
|
|
2929
|
+
onOnKeydownDown?: (() => any) | undefined;
|
|
2930
|
+
onOnHeaderCellKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
2931
|
+
onOnDeleteColumn?: (() => any) | undefined;
|
|
2932
|
+
onColumnResizeStart?: (() => any) | undefined;
|
|
2933
|
+
onColumnResizeEnd?: (() => any) | undefined;
|
|
2934
|
+
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
2935
|
+
}>, {
|
|
2936
|
+
getHeaderCellWidth: () => number;
|
|
2937
|
+
focus: () => void;
|
|
2938
|
+
isFocusable: () => boolean;
|
|
2939
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2940
|
+
columnResize: (newSize: number) => any;
|
|
2941
|
+
onColumnSort: (direction: 0 | 1 | -1) => any;
|
|
2942
|
+
openActionBarFilterControl: () => any;
|
|
2943
|
+
clearColumnFilter: () => any;
|
|
2944
|
+
onHeaderCellFocus: () => any;
|
|
2945
|
+
onHeaderCellBlur: () => any;
|
|
2946
|
+
onHeaderClick: () => any;
|
|
2947
|
+
onKeydownTab: () => any;
|
|
2948
|
+
onKeydownLeft: () => any;
|
|
2949
|
+
onKeydownRight: () => any;
|
|
2950
|
+
onKeydownDown: () => any;
|
|
2951
|
+
onHeaderCellKeydown: (event: KeyboardEvent) => any;
|
|
2952
|
+
onDeleteColumn: () => any;
|
|
2953
|
+
columnResizeStart: () => any;
|
|
2954
|
+
columnResizeEnd: () => any;
|
|
2955
|
+
allColumnsResize: (newSize: number) => any;
|
|
2956
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
2957
|
+
columnHeader: HTMLTableCellElement;
|
|
2958
|
+
content: HTMLDivElement;
|
|
2959
|
+
mainHeader: HTMLDivElement;
|
|
2960
|
+
headerText: HTMLSpanElement;
|
|
2961
|
+
columnDeleteButton: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<(import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2962
|
+
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2963
|
+
disabled?: boolean;
|
|
2964
|
+
title?: string;
|
|
2965
|
+
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
2966
|
+
} & {
|
|
2967
|
+
label: string;
|
|
2968
|
+
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2969
|
+
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
2970
|
+
ariaLabel?: never;
|
|
2971
|
+
} & import('packages/components/dist/src/buttons/types').WithDestructive) | (import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2972
|
+
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2973
|
+
disabled?: boolean;
|
|
2974
|
+
title?: string;
|
|
2975
|
+
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
2976
|
+
} & {
|
|
2977
|
+
label?: never;
|
|
2978
|
+
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
2979
|
+
trailingIcon?: never;
|
|
2980
|
+
ariaLabel: string;
|
|
2981
|
+
} & import('packages/components/dist/src/buttons/types').WithDestructive)> & Readonly<{
|
|
2982
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
2983
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2984
|
+
click: (event: MouseEvent) => any;
|
|
2985
|
+
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
2986
|
+
P: {};
|
|
2987
|
+
B: {};
|
|
2988
|
+
D: {};
|
|
2989
|
+
C: {};
|
|
2990
|
+
M: {};
|
|
2991
|
+
Defaults: {};
|
|
2992
|
+
}, {} & (Readonly<(import('packages/components/dist/src/types/testId').WithTestId & {
|
|
2993
|
+
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
2994
|
+
disabled?: boolean;
|
|
2995
|
+
title?: string;
|
|
2996
|
+
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
2997
|
+
} & {
|
|
2998
|
+
label: string;
|
|
2999
|
+
leadingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
3000
|
+
trailingIcon?: import('packages/components/dist/src').KdsIconName;
|
|
3001
|
+
ariaLabel?: never;
|
|
3002
|
+
} & import('packages/components/dist/src/buttons/types').WithDestructive) | (import('packages/components/dist/src/types/testId').WithTestId & {
|
|
3003
|
+
size?: import('packages/components/dist/src').KdsButtonSize;
|
|
3004
|
+
disabled?: boolean;
|
|
3005
|
+
title?: string;
|
|
3006
|
+
variant?: import('packages/components/dist/src').KdsButtonVariant | undefined;
|
|
3007
|
+
} & {
|
|
3008
|
+
label?: never;
|
|
3009
|
+
leadingIcon: import('packages/components/dist/src').KdsIconName;
|
|
3010
|
+
trailingIcon?: never;
|
|
3011
|
+
ariaLabel: string;
|
|
3012
|
+
} & import('packages/components/dist/src/buttons/types').WithDestructive)> & Readonly<{
|
|
3013
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
3014
|
+
}>), {}, {}, {}, {}, {}> | null;
|
|
3015
|
+
}, HTMLTableCellElement, import('vue').ComponentProvideOptions, {
|
|
3016
|
+
P: {};
|
|
3017
|
+
B: {};
|
|
3018
|
+
D: {};
|
|
3019
|
+
C: {};
|
|
3020
|
+
M: {};
|
|
3021
|
+
Defaults: {};
|
|
3022
|
+
}, Readonly<{
|
|
3023
|
+
column: ColumnConfig;
|
|
3024
|
+
colFilterValue?: FilterValue;
|
|
3025
|
+
tableConfig: TableConfig;
|
|
3026
|
+
actionConfig: ActionConfig;
|
|
3027
|
+
sortDirection: -1 | 0 | 1;
|
|
3028
|
+
columnSize?: number;
|
|
3029
|
+
focused: boolean;
|
|
3030
|
+
selected: boolean;
|
|
3031
|
+
otherColumnResizing: boolean;
|
|
3032
|
+
getDragHandleHeight: () => number;
|
|
3033
|
+
}> & Readonly<{
|
|
3034
|
+
onColumnResize?: ((newSize: number) => any) | undefined;
|
|
3035
|
+
onOnColumnSort?: ((direction: 0 | 1 | -1) => any) | undefined;
|
|
3036
|
+
onOpenActionBarFilterControl?: (() => any) | undefined;
|
|
3037
|
+
onClearColumnFilter?: (() => any) | undefined;
|
|
3038
|
+
onOnHeaderCellFocus?: (() => any) | undefined;
|
|
3039
|
+
onOnHeaderCellBlur?: (() => any) | undefined;
|
|
3040
|
+
onOnHeaderClick?: (() => any) | undefined;
|
|
3041
|
+
onOnKeydownTab?: (() => any) | undefined;
|
|
3042
|
+
onOnKeydownLeft?: (() => any) | undefined;
|
|
3043
|
+
onOnKeydownRight?: (() => any) | undefined;
|
|
3044
|
+
onOnKeydownDown?: (() => any) | undefined;
|
|
3045
|
+
onOnHeaderCellKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
3046
|
+
onOnDeleteColumn?: (() => any) | undefined;
|
|
3047
|
+
onColumnResizeStart?: (() => any) | undefined;
|
|
3048
|
+
onColumnResizeEnd?: (() => any) | undefined;
|
|
3049
|
+
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
3050
|
+
}>, {
|
|
3051
|
+
getHeaderCellWidth: () => number;
|
|
3052
|
+
focus: () => void;
|
|
3053
|
+
isFocusable: () => boolean;
|
|
3054
|
+
}, {}, {}, {}, {}>;
|
|
3055
|
+
__isFragment?: never;
|
|
3056
|
+
__isTeleport?: never;
|
|
3057
|
+
__isSuspense?: never;
|
|
3058
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
3059
|
+
column: ColumnConfig;
|
|
3060
|
+
colFilterValue?: FilterValue;
|
|
3061
|
+
tableConfig: TableConfig;
|
|
3062
|
+
actionConfig: ActionConfig;
|
|
3063
|
+
sortDirection: -1 | 0 | 1;
|
|
3064
|
+
columnSize?: number;
|
|
3065
|
+
focused: boolean;
|
|
3066
|
+
selected: boolean;
|
|
3067
|
+
otherColumnResizing: boolean;
|
|
3068
|
+
getDragHandleHeight: () => number;
|
|
3069
|
+
}> & Readonly<{
|
|
3070
|
+
onColumnResize?: ((newSize: number) => any) | undefined;
|
|
3071
|
+
onOnColumnSort?: ((direction: 0 | 1 | -1) => any) | undefined;
|
|
3072
|
+
onOpenActionBarFilterControl?: (() => any) | undefined;
|
|
3073
|
+
onClearColumnFilter?: (() => any) | undefined;
|
|
3074
|
+
onOnHeaderCellFocus?: (() => any) | undefined;
|
|
3075
|
+
onOnHeaderCellBlur?: (() => any) | undefined;
|
|
3076
|
+
onOnHeaderClick?: (() => any) | undefined;
|
|
3077
|
+
onOnKeydownTab?: (() => any) | undefined;
|
|
3078
|
+
onOnKeydownLeft?: (() => any) | undefined;
|
|
3079
|
+
onOnKeydownRight?: (() => any) | undefined;
|
|
3080
|
+
onOnKeydownDown?: (() => any) | undefined;
|
|
3081
|
+
onOnHeaderCellKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
3082
|
+
onOnDeleteColumn?: (() => any) | undefined;
|
|
3083
|
+
onColumnResizeStart?: (() => any) | undefined;
|
|
3084
|
+
onColumnResizeEnd?: (() => any) | undefined;
|
|
3085
|
+
onAllColumnsResize?: ((newSize: number) => any) | undefined;
|
|
3086
|
+
}>, {
|
|
3087
|
+
getHeaderCellWidth: () => number;
|
|
3088
|
+
focus: () => void;
|
|
3089
|
+
isFocusable: () => boolean;
|
|
3090
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3091
|
+
columnResize: (newSize: number) => any;
|
|
3092
|
+
onColumnSort: (direction: 0 | 1 | -1) => any;
|
|
3093
|
+
openActionBarFilterControl: () => any;
|
|
3094
|
+
clearColumnFilter: () => any;
|
|
3095
|
+
onHeaderCellFocus: () => any;
|
|
3096
|
+
onHeaderCellBlur: () => any;
|
|
3097
|
+
onHeaderClick: () => any;
|
|
3098
|
+
onKeydownTab: () => any;
|
|
3099
|
+
onKeydownLeft: () => any;
|
|
3100
|
+
onKeydownRight: () => any;
|
|
3101
|
+
onKeydownDown: () => any;
|
|
3102
|
+
onHeaderCellKeydown: (event: KeyboardEvent) => any;
|
|
3103
|
+
onDeleteColumn: () => any;
|
|
3104
|
+
columnResizeStart: () => any;
|
|
3105
|
+
columnResizeEnd: () => any;
|
|
3106
|
+
allColumnsResize: (newSize: number) => any;
|
|
3107
|
+
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
3108
|
+
$slots: {
|
|
3109
|
+
subHeader?(_: {
|
|
3110
|
+
subHeader: string;
|
|
3111
|
+
}): any;
|
|
3112
|
+
};
|
|
3113
|
+
});
|
|
3114
|
+
}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
3513
3115
|
Row: {
|
|
3514
3116
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./layout/Row.vue').RowProps> & Readonly<{
|
|
3515
3117
|
onDataValueView?: ((index: number, anchor: VirtualElementAnchor) => any) | undefined;
|
|
@@ -3546,7 +3148,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3546
3148
|
rowData: {
|
|
3547
3149
|
subMenuItemsForRow?: import('packages/components/dist/src').KdsMenuItem[];
|
|
3548
3150
|
};
|
|
3549
|
-
rowConfig:
|
|
3151
|
+
rowConfig: RowConfig;
|
|
3550
3152
|
minRowHeight: number;
|
|
3551
3153
|
showDragHandle: boolean;
|
|
3552
3154
|
selectCellsOnMove: boolean;
|
|
@@ -3699,7 +3301,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3699
3301
|
rowData: {
|
|
3700
3302
|
subMenuItemsForRow?: import('packages/components/dist/src').KdsMenuItem[];
|
|
3701
3303
|
};
|
|
3702
|
-
rowConfig:
|
|
3304
|
+
rowConfig: RowConfig;
|
|
3703
3305
|
minRowHeight: number;
|
|
3704
3306
|
showDragHandle: boolean;
|
|
3705
3307
|
selectCellsOnMove: boolean;
|
|
@@ -3750,7 +3352,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3750
3352
|
rowData: {
|
|
3751
3353
|
subMenuItemsForRow?: import('packages/components/dist/src').KdsMenuItem[];
|
|
3752
3354
|
};
|
|
3753
|
-
rowConfig:
|
|
3355
|
+
rowConfig: RowConfig;
|
|
3754
3356
|
minRowHeight: number;
|
|
3755
3357
|
showDragHandle: boolean;
|
|
3756
3358
|
selectCellsOnMove: boolean;
|
|
@@ -3801,8 +3403,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3801
3403
|
compact: boolean;
|
|
3802
3404
|
};
|
|
3803
3405
|
tableConfig: TableConfig;
|
|
3406
|
+
subMenuConfig: SubMenuConfig;
|
|
3804
3407
|
totalWidth: null | number;
|
|
3805
|
-
|
|
3408
|
+
colSizes: number[];
|
|
3806
3409
|
currentRowHeight: number | "dynamic";
|
|
3807
3410
|
columnResize: {
|
|
3808
3411
|
active: boolean;
|
|
@@ -3842,7 +3445,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3842
3445
|
itemSize: number;
|
|
3843
3446
|
compact: boolean;
|
|
3844
3447
|
};
|
|
3845
|
-
readonly
|
|
3448
|
+
readonly colSizes: number[];
|
|
3846
3449
|
readonly specialColumnSizes: {
|
|
3847
3450
|
selectionSize: number;
|
|
3848
3451
|
deletionSize: number;
|
|
@@ -3962,8 +3565,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3962
3565
|
compact: boolean;
|
|
3963
3566
|
};
|
|
3964
3567
|
tableConfig: TableConfig;
|
|
3568
|
+
subMenuConfig: SubMenuConfig;
|
|
3965
3569
|
totalWidth: null | number;
|
|
3966
|
-
|
|
3570
|
+
colSizes: number[];
|
|
3967
3571
|
currentRowHeight: number | "dynamic";
|
|
3968
3572
|
columnResize: {
|
|
3969
3573
|
active: boolean;
|
|
@@ -3997,8 +3601,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
3997
3601
|
compact: boolean;
|
|
3998
3602
|
};
|
|
3999
3603
|
tableConfig: TableConfig;
|
|
3604
|
+
subMenuConfig: SubMenuConfig;
|
|
4000
3605
|
totalWidth: null | number;
|
|
4001
|
-
|
|
3606
|
+
colSizes: number[];
|
|
4002
3607
|
currentRowHeight: number | "dynamic";
|
|
4003
3608
|
columnResize: {
|
|
4004
3609
|
active: boolean;
|
|
@@ -4058,18 +3663,16 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4058
3663
|
rowLabel?: string;
|
|
4059
3664
|
title?: "Temporary view" | "Output";
|
|
4060
3665
|
showTableSize?: boolean;
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
3666
|
+
actionConfig: ActionConfig;
|
|
3667
|
+
colSortValues?: ColSortValue[];
|
|
3668
|
+
colFilterValues: ColFilterValues;
|
|
4064
3669
|
sortControlOptions: import('./control/actionbar/SortControl.vue').SortControlOptions;
|
|
4065
|
-
|
|
4066
|
-
columnHeaders: string[];
|
|
4067
|
-
settingsItems?: import('packages/components/dist/src').KdsMenuItem[];
|
|
3670
|
+
columns: ColumnConfig[];
|
|
4068
3671
|
}, {
|
|
4069
3672
|
openFilterControl: (columnIndex?: number) => void;
|
|
4070
3673
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4071
|
-
|
|
4072
|
-
|
|
3674
|
+
columnFilter: (colInd: number, value: FilterValue) => any;
|
|
3675
|
+
onColumnSort: (columnId: string | undefined, direction: 0 | 1 | -1) => any;
|
|
4073
3676
|
resetTemporaryView: () => any;
|
|
4074
3677
|
}, string, import('vue').PublicProps, Readonly<{
|
|
4075
3678
|
allRowsCount?: number;
|
|
@@ -4079,27 +3682,25 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4079
3682
|
rowLabel?: string;
|
|
4080
3683
|
title?: "Temporary view" | "Output";
|
|
4081
3684
|
showTableSize?: boolean;
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
3685
|
+
actionConfig: ActionConfig;
|
|
3686
|
+
colSortValues?: ColSortValue[];
|
|
3687
|
+
colFilterValues: ColFilterValues;
|
|
4085
3688
|
sortControlOptions: import('./control/actionbar/SortControl.vue').SortControlOptions;
|
|
4086
|
-
|
|
4087
|
-
columnHeaders: string[];
|
|
4088
|
-
settingsItems?: import('packages/components/dist/src').KdsMenuItem[];
|
|
3689
|
+
columns: ColumnConfig[];
|
|
4089
3690
|
}> & Readonly<{
|
|
4090
|
-
|
|
4091
|
-
|
|
3691
|
+
onColumnFilter?: ((colInd: number, value: FilterValue) => any) | undefined;
|
|
3692
|
+
onOnColumnSort?: ((columnId: string | undefined, direction: 0 | 1 | -1) => any) | undefined;
|
|
4092
3693
|
onResetTemporaryView?: (() => any) | undefined;
|
|
4093
3694
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
4094
3695
|
filterControlRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4095
|
-
|
|
4096
|
-
|
|
3696
|
+
columns: ColumnConfig[];
|
|
3697
|
+
colFilterValues: ColFilterValues;
|
|
4097
3698
|
}> & Readonly<{
|
|
4098
|
-
onColumnFilter?: ((colInd: number, value:
|
|
3699
|
+
onColumnFilter?: ((colInd: number, value: FilterValue) => any) | undefined;
|
|
4099
3700
|
}>, {
|
|
4100
3701
|
openPopover: (columnIndex?: number) => Promise<void>;
|
|
4101
3702
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4102
|
-
columnFilter: (colInd: number, value:
|
|
3703
|
+
columnFilter: (colInd: number, value: FilterValue) => any;
|
|
4103
3704
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
4104
3705
|
filterPopoverRef: ({
|
|
4105
3706
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -4230,14 +3831,14 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4230
3831
|
};
|
|
4231
3832
|
}) | null;
|
|
4232
3833
|
filterBodyRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
4233
|
-
|
|
4234
|
-
|
|
3834
|
+
columns: ColumnConfig[];
|
|
3835
|
+
colFilterValues: ColFilterValues;
|
|
4235
3836
|
}> & Readonly<{
|
|
4236
|
-
onColumnFilter?: ((colInd: number, value:
|
|
3837
|
+
onColumnFilter?: ((colInd: number, value: FilterValue) => any) | undefined;
|
|
4237
3838
|
}>, {
|
|
4238
3839
|
addAndFocusColumn: (columnIndex: number) => Promise<void>;
|
|
4239
3840
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4240
|
-
columnFilter: (colInd: number, value:
|
|
3841
|
+
columnFilter: (colInd: number, value: FilterValue) => any;
|
|
4241
3842
|
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
4242
3843
|
P: {};
|
|
4243
3844
|
B: {};
|
|
@@ -4246,10 +3847,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4246
3847
|
M: {};
|
|
4247
3848
|
Defaults: {};
|
|
4248
3849
|
}, Readonly<{
|
|
4249
|
-
|
|
4250
|
-
|
|
3850
|
+
columns: ColumnConfig[];
|
|
3851
|
+
colFilterValues: ColFilterValues;
|
|
4251
3852
|
}> & Readonly<{
|
|
4252
|
-
onColumnFilter?: ((colInd: number, value:
|
|
3853
|
+
onColumnFilter?: ((colInd: number, value: FilterValue) => any) | undefined;
|
|
4253
3854
|
}>, {
|
|
4254
3855
|
addAndFocusColumn: (columnIndex: number) => Promise<void>;
|
|
4255
3856
|
}, {}, {}, {}, {}> | null;
|
|
@@ -4261,10 +3862,10 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
4261
3862
|
M: {};
|
|
4262
3863
|
Defaults: {};
|
|
4263
3864
|
}, Readonly<{
|
|
4264
|
-
|
|
4265
|
-
|
|
3865
|
+
columns: ColumnConfig[];
|
|
3866
|
+
colFilterValues: ColFilterValues;
|
|
4266
3867
|
}> & Readonly<{
|
|
4267
|
-
onColumnFilter?: ((colInd: number, value:
|
|
3868
|
+
onColumnFilter?: ((colInd: number, value: FilterValue) => any) | undefined;
|
|
4268
3869
|
}>, {
|
|
4269
3870
|
openPopover: (columnIndex?: number) => Promise<void>;
|
|
4270
3871
|
}, {}, {}, {}, {}> | null;
|