@knime/kds-table 0.7.0 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +28 -1
- package/dist/index.css +19 -8
- package/dist/index.js +8217 -7454
- package/dist/index.js.map +1 -1
- package/dist/src/components/TableBodyNavigatable.vue.d.ts +10 -13
- package/dist/src/components/TableBodyNavigatable.vue.d.ts.map +1 -1
- package/dist/src/components/TableCore.vue.d.ts +20 -249
- package/dist/src/components/TableCore.vue.d.ts.map +1 -1
- package/dist/src/components/TableCoreVirtual.vue.d.ts +19 -24
- package/dist/src/components/TableCoreVirtual.vue.d.ts.map +1 -1
- package/dist/src/components/TableUI.vue.d.ts +168 -953
- package/dist/src/components/TableUI.vue.d.ts.map +1 -1
- package/dist/src/components/TableUIWithAutoSizeCalculation.vue.d.ts +203 -2192
- package/dist/src/components/TableUIWithAutoSizeCalculation.vue.d.ts.map +1 -1
- package/dist/src/components/VirtualRow.vue.d.ts +9 -13
- package/dist/src/components/VirtualRow.vue.d.ts.map +1 -1
- package/dist/src/components/control/PageControls.vue.d.ts +65 -222
- package/dist/src/components/control/PageControls.vue.d.ts.map +1 -1
- package/dist/src/components/control/PageNavigation.vue.d.ts +3 -2
- package/dist/src/components/control/PageNavigation.vue.d.ts.map +1 -1
- package/dist/src/components/control/PageRowRange.vue.d.ts +2 -1
- package/dist/src/components/control/PageRowRange.vue.d.ts.map +1 -1
- package/dist/src/components/control/TableActionBar.vue.d.ts +7 -11
- package/dist/src/components/control/TableActionBar.vue.d.ts.map +1 -1
- package/dist/src/components/control/actionbar/PopoverContainer.vue.d.ts +9 -12
- package/dist/src/components/control/actionbar/PopoverContainer.vue.d.ts.map +1 -1
- package/dist/src/components/control/actionbar/SortControl.vue.d.ts +3 -139
- package/dist/src/components/control/actionbar/SortControl.vue.d.ts.map +1 -1
- package/dist/src/components/layout/Cell.vue.d.ts +6 -203
- package/dist/src/components/layout/Cell.vue.d.ts.map +1 -1
- package/dist/src/components/layout/CellRenderer.vue.d.ts +14 -21
- package/dist/src/components/layout/CellRenderer.vue.d.ts.map +1 -1
- package/dist/src/components/layout/CellRendererProps.d.ts +5 -0
- package/dist/src/components/layout/CellRendererProps.d.ts.map +1 -1
- package/dist/src/components/layout/Header.vue.d.ts +21 -79
- package/dist/src/components/layout/Header.vue.d.ts.map +1 -1
- package/dist/src/components/layout/HeaderCell.vue.d.ts +10 -132
- package/dist/src/components/layout/HeaderCell.vue.d.ts.map +1 -1
- package/dist/src/components/layout/NewRowButton.vue.d.ts +3 -2
- package/dist/src/components/layout/NewRowButton.vue.d.ts.map +1 -1
- package/dist/src/components/layout/Row.vue.d.ts +19 -241
- package/dist/src/components/layout/Row.vue.d.ts.map +1 -1
- package/dist/src/components/ui/CellExpandButton.vue.d.ts +3 -2
- package/dist/src/components/ui/CellExpandButton.vue.d.ts.map +1 -1
- package/dist/src/components/ui/CellSelectionOverlay.vue.d.ts +3 -4
- package/dist/src/components/ui/CellSelectionOverlay.vue.d.ts.map +1 -1
- package/dist/src/components/ui/EmptyRow.vue.d.ts +2 -1
- package/dist/src/components/ui/EmptyRow.vue.d.ts.map +1 -1
- package/dist/src/components/ui/PlaceholderRow.vue.d.ts +2 -1
- package/dist/src/components/ui/PlaceholderRow.vue.d.ts.map +1 -1
- package/dist/src/constants.d.ts +6 -6
- package/dist/src/constants.d.ts.map +1 -1
- package/dist/src/types/ColumnConfig.d.ts +6 -0
- package/dist/src/types/ColumnConfig.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverContainer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/control/actionbar/PopoverContainer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PopoverContainer.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/control/actionbar/PopoverContainer.vue"],"names":[],"mappings":"AAiEA,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC3C;IAAE,IAAI,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAG5C,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -8,147 +8,11 @@ type __VLS_Props = {
|
|
|
8
8
|
colSortValues?: ColSortValue[];
|
|
9
9
|
sortControlOptions: SortControlOptions;
|
|
10
10
|
};
|
|
11
|
-
declare const
|
|
11
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
12
|
columnSort: (columnId: string | undefined, direction: 0 | 1 | -1) => any;
|
|
13
13
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
14
|
onColumnSort?: ((columnId: string | undefined, direction: 0 | 1 | -1) => any) | undefined;
|
|
15
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
16
|
-
|
|
17
|
-
$: import('vue').ComponentInternalInstance;
|
|
18
|
-
$data: {};
|
|
19
|
-
$props: ({
|
|
20
|
-
readonly modelValue?: boolean | undefined;
|
|
21
|
-
readonly role?: import('@knime/kds-components').KdsPopoverRole | undefined;
|
|
22
|
-
readonly popoverType?: import('@knime/kds-components').KdsPopoverType | undefined;
|
|
23
|
-
readonly fullWidth?: boolean | undefined;
|
|
24
|
-
readonly maxInlineSize?: string | undefined;
|
|
25
|
-
readonly stretchInline?: boolean | undefined;
|
|
26
|
-
readonly content?: string | undefined;
|
|
27
|
-
readonly placement?: Exclude<import('@knime/kds-components').KdsPopoverPlacement, "custom"> | undefined;
|
|
28
|
-
readonly customPlacementPosition?: never | undefined;
|
|
29
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined | undefined;
|
|
30
|
-
} | {
|
|
31
|
-
readonly modelValue?: boolean | undefined;
|
|
32
|
-
readonly role?: import('@knime/kds-components').KdsPopoverRole | undefined;
|
|
33
|
-
readonly popoverType?: import('@knime/kds-components').KdsPopoverType | undefined;
|
|
34
|
-
readonly fullWidth?: boolean | undefined;
|
|
35
|
-
readonly maxInlineSize?: string | undefined;
|
|
36
|
-
readonly stretchInline?: boolean | undefined;
|
|
37
|
-
readonly content?: string | undefined;
|
|
38
|
-
readonly placement: "custom";
|
|
39
|
-
readonly customPlacementPosition: {
|
|
40
|
-
x: number;
|
|
41
|
-
y: number;
|
|
42
|
-
};
|
|
43
|
-
readonly "onUpdate:modelValue"?: ((value: boolean) => any) | undefined | undefined;
|
|
44
|
-
}) & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
45
|
-
$attrs: import('vue').Attrs;
|
|
46
|
-
$refs: {
|
|
47
|
-
[x: string]: unknown;
|
|
48
|
-
} & {
|
|
49
|
-
popoverEl: HTMLDivElement;
|
|
50
|
-
};
|
|
51
|
-
$slots: Readonly<{
|
|
52
|
-
[name: string]: import('vue').Slot<any> | undefined;
|
|
53
|
-
}>;
|
|
54
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
55
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
56
|
-
$host: Element | null;
|
|
57
|
-
$emit: (event: "update:modelValue", value: boolean) => void;
|
|
58
|
-
$el: HTMLDivElement;
|
|
59
|
-
$options: import('vue').ComponentOptionsBase<Readonly<({
|
|
60
|
-
modelValue?: boolean;
|
|
61
|
-
} & {
|
|
62
|
-
role?: import('@knime/kds-components').KdsPopoverRole;
|
|
63
|
-
popoverType?: import('@knime/kds-components').KdsPopoverType;
|
|
64
|
-
fullWidth?: boolean;
|
|
65
|
-
maxInlineSize?: string;
|
|
66
|
-
stretchInline?: boolean;
|
|
67
|
-
content?: string;
|
|
68
|
-
} & {
|
|
69
|
-
placement?: Exclude<import('@knime/kds-components').KdsPopoverPlacement, "custom">;
|
|
70
|
-
customPlacementPosition?: never;
|
|
71
|
-
}) | ({
|
|
72
|
-
modelValue?: boolean;
|
|
73
|
-
} & {
|
|
74
|
-
role?: import('@knime/kds-components').KdsPopoverRole;
|
|
75
|
-
popoverType?: import('@knime/kds-components').KdsPopoverType;
|
|
76
|
-
fullWidth?: boolean;
|
|
77
|
-
maxInlineSize?: string;
|
|
78
|
-
stretchInline?: boolean;
|
|
79
|
-
content?: string;
|
|
80
|
-
} & {
|
|
81
|
-
placement: "custom";
|
|
82
|
-
customPlacementPosition: {
|
|
83
|
-
x: number;
|
|
84
|
-
y: number;
|
|
85
|
-
};
|
|
86
|
-
})> & Readonly<{
|
|
87
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
88
|
-
}>, {
|
|
89
|
-
anchorStyle: Record<string, string>;
|
|
90
|
-
popoverId: string;
|
|
91
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
92
|
-
"update:modelValue": (value: boolean) => any;
|
|
93
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
94
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
95
|
-
created?: (() => void) | (() => void)[];
|
|
96
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
97
|
-
mounted?: (() => void) | (() => void)[];
|
|
98
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
99
|
-
updated?: (() => void) | (() => void)[];
|
|
100
|
-
activated?: (() => void) | (() => void)[];
|
|
101
|
-
deactivated?: (() => void) | (() => void)[];
|
|
102
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
103
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
104
|
-
destroyed?: (() => void) | (() => void)[];
|
|
105
|
-
unmounted?: (() => void) | (() => void)[];
|
|
106
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
107
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
108
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
109
|
-
};
|
|
110
|
-
$forceUpdate: () => void;
|
|
111
|
-
$nextTick: typeof import('vue').nextTick;
|
|
112
|
-
$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;
|
|
113
|
-
} & Readonly<{}> & Omit<{} & (Readonly<({
|
|
114
|
-
modelValue?: boolean;
|
|
115
|
-
} & {
|
|
116
|
-
role?: import('@knime/kds-components').KdsPopoverRole;
|
|
117
|
-
popoverType?: import('@knime/kds-components').KdsPopoverType;
|
|
118
|
-
fullWidth?: boolean;
|
|
119
|
-
maxInlineSize?: string;
|
|
120
|
-
stretchInline?: boolean;
|
|
121
|
-
content?: string;
|
|
122
|
-
} & {
|
|
123
|
-
placement?: Exclude<import('@knime/kds-components').KdsPopoverPlacement, "custom">;
|
|
124
|
-
customPlacementPosition?: never;
|
|
125
|
-
}) | ({
|
|
126
|
-
modelValue?: boolean;
|
|
127
|
-
} & {
|
|
128
|
-
role?: import('@knime/kds-components').KdsPopoverRole;
|
|
129
|
-
popoverType?: import('@knime/kds-components').KdsPopoverType;
|
|
130
|
-
fullWidth?: boolean;
|
|
131
|
-
maxInlineSize?: string;
|
|
132
|
-
stretchInline?: boolean;
|
|
133
|
-
content?: string;
|
|
134
|
-
} & {
|
|
135
|
-
placement: "custom";
|
|
136
|
-
customPlacementPosition: {
|
|
137
|
-
x: number;
|
|
138
|
-
y: number;
|
|
139
|
-
};
|
|
140
|
-
})> & Readonly<{
|
|
141
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
142
|
-
}>), "anchorStyle" | "popoverId"> & {
|
|
143
|
-
anchorStyle: Record<string, string>;
|
|
144
|
-
popoverId: string;
|
|
145
|
-
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
146
|
-
$slots: Readonly<{
|
|
147
|
-
default(): unknown;
|
|
148
|
-
}> & {
|
|
149
|
-
default(): unknown;
|
|
150
|
-
};
|
|
151
|
-
}) | null;
|
|
152
|
-
}, any>;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
153
17
|
export default _default;
|
|
154
18
|
//# sourceMappingURL=SortControl.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SortControl.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/control/actionbar/SortControl.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SortControl.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/control/actionbar/SortControl.vue"],"names":[],"mappings":"AA8KA,OAAO,EAEL,KAAK,iBAAiB,EAIvB,MAAM,uBAAuB,CAAC;AAG/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAO7C,MAAM,MAAM,kBAAkB,GAAG;IAC/B,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;IACvC,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,EAAE,CAAC,CAAC;CAC3D,CAAC;AAIF,KAAK,WAAW,GAAG;IACjB,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;IAC/B,kBAAkB,EAAE,kBAAkB,CAAC;CACxC,CAAC;AAuRF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,109 +1,7 @@
|
|
|
1
1
|
import { Slot } from 'vue';
|
|
2
2
|
import { CellProps } from './CellProps';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
slots: Readonly<Record<string, Slot>> & Record<string, Slot>;
|
|
6
|
-
refs: {
|
|
7
|
-
cellRenderer: ({
|
|
8
|
-
$: import('vue').ComponentInternalInstance;
|
|
9
|
-
$data: {};
|
|
10
|
-
$props: {
|
|
11
|
-
readonly isMissing: boolean;
|
|
12
|
-
readonly isSlotted: boolean;
|
|
13
|
-
readonly isSelected: boolean;
|
|
14
|
-
readonly isInCellSelection: boolean;
|
|
15
|
-
readonly isToBeExpanded: boolean;
|
|
16
|
-
readonly noPaddingTopBottom?: boolean | undefined;
|
|
17
|
-
readonly noPaddingLeftRight?: boolean | undefined;
|
|
18
|
-
readonly text: string | undefined;
|
|
19
|
-
readonly tooltip: string | null;
|
|
20
|
-
readonly color: string | null;
|
|
21
|
-
readonly selectOnMove: boolean;
|
|
22
|
-
readonly colSizeCssVar: string;
|
|
23
|
-
readonly size: number;
|
|
24
|
-
readonly defaultTopBottomPadding: number;
|
|
25
|
-
readonly defaultLeftRightPadding: number;
|
|
26
|
-
readonly enableExpand?: boolean | undefined;
|
|
27
|
-
readonly isEditing?: boolean | undefined;
|
|
28
|
-
readonly onInput?: ((...args: any[]) => any) | undefined;
|
|
29
|
-
readonly onSelect?: ((...args: any[]) => any) | undefined;
|
|
30
|
-
readonly onClick?: ((...args: any[]) => any) | undefined;
|
|
31
|
-
readonly onExpand?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
33
|
-
$attrs: import('vue').Attrs;
|
|
34
|
-
$refs: {
|
|
35
|
-
[x: string]: unknown;
|
|
36
|
-
} & {
|
|
37
|
-
'cell-content': HTMLDivElement;
|
|
38
|
-
};
|
|
39
|
-
$slots: Readonly<{
|
|
40
|
-
[name: string]: Slot<any> | undefined;
|
|
41
|
-
}>;
|
|
42
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
43
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
44
|
-
$host: Element | null;
|
|
45
|
-
$emit: ((event: "input", ...args: any[]) => void) & ((event: "select", ...args: any[]) => void) & ((event: "click", ...args: any[]) => void) & ((event: "expand", ...args: any[]) => void);
|
|
46
|
-
$el: HTMLTableCellElement;
|
|
47
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('./CellRendererProps').CellRendererProps> & Readonly<{
|
|
48
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
49
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
50
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
51
|
-
onExpand?: ((...args: any[]) => any) | undefined;
|
|
52
|
-
}>, {
|
|
53
|
-
getCellContentDimensions: () => {
|
|
54
|
-
width: number;
|
|
55
|
-
height: number;
|
|
56
|
-
};
|
|
57
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
58
|
-
input: (...args: any[]) => void;
|
|
59
|
-
select: (...args: any[]) => void;
|
|
60
|
-
click: (...args: any[]) => void;
|
|
61
|
-
expand: (...args: any[]) => void;
|
|
62
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
63
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
64
|
-
created?: (() => void) | (() => void)[];
|
|
65
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
66
|
-
mounted?: (() => void) | (() => void)[];
|
|
67
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
68
|
-
updated?: (() => void) | (() => void)[];
|
|
69
|
-
activated?: (() => void) | (() => void)[];
|
|
70
|
-
deactivated?: (() => void) | (() => void)[];
|
|
71
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
72
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
73
|
-
destroyed?: (() => void) | (() => void)[];
|
|
74
|
-
unmounted?: (() => void) | (() => void)[];
|
|
75
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
76
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
77
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
78
|
-
};
|
|
79
|
-
$forceUpdate: () => void;
|
|
80
|
-
$nextTick: typeof import('vue').nextTick;
|
|
81
|
-
$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;
|
|
82
|
-
} & Readonly<{}> & Omit<Readonly<import('./CellRendererProps').CellRendererProps> & Readonly<{
|
|
83
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
84
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
85
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
86
|
-
onExpand?: ((...args: any[]) => any) | undefined;
|
|
87
|
-
}>, "getCellContentDimensions"> & {
|
|
88
|
-
getCellContentDimensions: () => {
|
|
89
|
-
width: number;
|
|
90
|
-
height: number;
|
|
91
|
-
};
|
|
92
|
-
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
93
|
-
$slots: {
|
|
94
|
-
'editable-cell'?(_: {
|
|
95
|
-
cellElement: HTMLTableCellElement;
|
|
96
|
-
}): any;
|
|
97
|
-
default?(_: {
|
|
98
|
-
width: number;
|
|
99
|
-
}): any;
|
|
100
|
-
};
|
|
101
|
-
}) | null;
|
|
102
|
-
};
|
|
103
|
-
rootEl: HTMLTableCellElement;
|
|
104
|
-
};
|
|
105
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
106
|
-
declare const __VLS_component: import('vue').DefineComponent<CellProps, {
|
|
3
|
+
type __VLS_Slots = Record<string, Slot>;
|
|
4
|
+
declare const __VLS_base: import('vue').DefineComponent<CellProps, {
|
|
107
5
|
getCellContentDimensions: () => {
|
|
108
6
|
width: number;
|
|
109
7
|
height: number;
|
|
@@ -118,106 +16,11 @@ declare const __VLS_component: import('vue').DefineComponent<CellProps, {
|
|
|
118
16
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
119
17
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
120
18
|
onDataValueView?: ((...args: any[]) => any) | undefined;
|
|
121
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
$data: {};
|
|
125
|
-
$props: {
|
|
126
|
-
readonly isMissing: boolean;
|
|
127
|
-
readonly isSlotted: boolean;
|
|
128
|
-
readonly isSelected: boolean;
|
|
129
|
-
readonly isInCellSelection: boolean;
|
|
130
|
-
readonly isToBeExpanded: boolean;
|
|
131
|
-
readonly noPaddingTopBottom?: boolean | undefined;
|
|
132
|
-
readonly noPaddingLeftRight?: boolean | undefined;
|
|
133
|
-
readonly text: string | undefined;
|
|
134
|
-
readonly tooltip: string | null;
|
|
135
|
-
readonly color: string | null;
|
|
136
|
-
readonly selectOnMove: boolean;
|
|
137
|
-
readonly colSizeCssVar: string;
|
|
138
|
-
readonly size: number;
|
|
139
|
-
readonly defaultTopBottomPadding: number;
|
|
140
|
-
readonly defaultLeftRightPadding: number;
|
|
141
|
-
readonly enableExpand?: boolean | undefined;
|
|
142
|
-
readonly isEditing?: boolean | undefined;
|
|
143
|
-
readonly onInput?: ((...args: any[]) => any) | undefined;
|
|
144
|
-
readonly onSelect?: ((...args: any[]) => any) | undefined;
|
|
145
|
-
readonly onClick?: ((...args: any[]) => any) | undefined;
|
|
146
|
-
readonly onExpand?: ((...args: any[]) => any) | undefined;
|
|
147
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
148
|
-
$attrs: import('vue').Attrs;
|
|
149
|
-
$refs: {
|
|
150
|
-
[x: string]: unknown;
|
|
151
|
-
} & {
|
|
152
|
-
'cell-content': HTMLDivElement;
|
|
153
|
-
};
|
|
154
|
-
$slots: Readonly<{
|
|
155
|
-
[name: string]: Slot<any> | undefined;
|
|
156
|
-
}>;
|
|
157
|
-
$root: import('vue').ComponentPublicInstance | null;
|
|
158
|
-
$parent: import('vue').ComponentPublicInstance | null;
|
|
159
|
-
$host: Element | null;
|
|
160
|
-
$emit: ((event: "input", ...args: any[]) => void) & ((event: "select", ...args: any[]) => void) & ((event: "click", ...args: any[]) => void) & ((event: "expand", ...args: any[]) => void);
|
|
161
|
-
$el: HTMLTableCellElement;
|
|
162
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import('./CellRendererProps').CellRendererProps> & Readonly<{
|
|
163
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
164
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
165
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
166
|
-
onExpand?: ((...args: any[]) => any) | undefined;
|
|
167
|
-
}>, {
|
|
168
|
-
getCellContentDimensions: () => {
|
|
169
|
-
width: number;
|
|
170
|
-
height: number;
|
|
171
|
-
};
|
|
172
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
173
|
-
input: (...args: any[]) => void;
|
|
174
|
-
select: (...args: any[]) => void;
|
|
175
|
-
click: (...args: any[]) => void;
|
|
176
|
-
expand: (...args: any[]) => void;
|
|
177
|
-
}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
178
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
179
|
-
created?: (() => void) | (() => void)[];
|
|
180
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
181
|
-
mounted?: (() => void) | (() => void)[];
|
|
182
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
183
|
-
updated?: (() => void) | (() => void)[];
|
|
184
|
-
activated?: (() => void) | (() => void)[];
|
|
185
|
-
deactivated?: (() => void) | (() => void)[];
|
|
186
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
187
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
188
|
-
destroyed?: (() => void) | (() => void)[];
|
|
189
|
-
unmounted?: (() => void) | (() => void)[];
|
|
190
|
-
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
191
|
-
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
192
|
-
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
193
|
-
};
|
|
194
|
-
$forceUpdate: () => void;
|
|
195
|
-
$nextTick: typeof import('vue').nextTick;
|
|
196
|
-
$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;
|
|
197
|
-
} & Readonly<{}> & Omit<Readonly<import('./CellRendererProps').CellRendererProps> & Readonly<{
|
|
198
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
199
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
200
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
201
|
-
onExpand?: ((...args: any[]) => any) | undefined;
|
|
202
|
-
}>, "getCellContentDimensions"> & {
|
|
203
|
-
getCellContentDimensions: () => {
|
|
204
|
-
width: number;
|
|
205
|
-
height: number;
|
|
206
|
-
};
|
|
207
|
-
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
208
|
-
$slots: {
|
|
209
|
-
'editable-cell'?(_: {
|
|
210
|
-
cellElement: HTMLTableCellElement;
|
|
211
|
-
}): any;
|
|
212
|
-
default?(_: {
|
|
213
|
-
width: number;
|
|
214
|
-
}): any;
|
|
215
|
-
};
|
|
216
|
-
}) | null;
|
|
217
|
-
}, HTMLTableCellElement>;
|
|
218
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
21
|
+
declare const _default: typeof __VLS_export;
|
|
219
22
|
export default _default;
|
|
220
|
-
type
|
|
23
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
221
24
|
new (): {
|
|
222
25
|
$slots: S;
|
|
223
26
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Cell.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Cell.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Cell.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/Cell.vue"],"names":[],"mappings":"AA8FA,OAAO,EAAY,KAAK,IAAI,EAAiB,MAAM,KAAK,CAAC;AASzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAyC7C,KAAK,WAAW,GAAG,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AAiIxC,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;kFAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
import { CellRendererProps } from './CellRendererProps';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
};
|
|
12
|
-
refs: {
|
|
13
|
-
'cell-content': HTMLDivElement;
|
|
14
|
-
};
|
|
15
|
-
rootEl: HTMLTableCellElement;
|
|
2
|
+
declare var __VLS_1: {
|
|
3
|
+
cellElement: any;
|
|
4
|
+
}, __VLS_8: {
|
|
5
|
+
width: number;
|
|
6
|
+
};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
'editable-cell'?: (props: typeof __VLS_1) => any;
|
|
9
|
+
} & {
|
|
10
|
+
default?: (props: typeof __VLS_8) => any;
|
|
16
11
|
};
|
|
17
|
-
|
|
18
|
-
declare const __VLS_component: import('vue').DefineComponent<CellRendererProps, {
|
|
12
|
+
declare const __VLS_base: import('vue').DefineComponent<CellRendererProps, {
|
|
19
13
|
getCellContentDimensions: () => {
|
|
20
14
|
width: number;
|
|
21
15
|
height: number;
|
|
@@ -30,12 +24,11 @@ declare const __VLS_component: import('vue').DefineComponent<CellRendererProps,
|
|
|
30
24
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
31
25
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
32
26
|
onExpand?: ((...args: any[]) => any) | undefined;
|
|
33
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
27
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
28
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
|
+
declare const _default: typeof __VLS_export;
|
|
37
30
|
export default _default;
|
|
38
|
-
type
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
39
32
|
new (): {
|
|
40
33
|
$slots: S;
|
|
41
34
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CellRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/CellRenderer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CellRenderer.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/CellRenderer.vue"],"names":[],"mappings":"AA8QA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAsS7D,QAAA,IAAI,OAAO;;CAAU,EAAE,OAAO;;CAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GACpD;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAO/C,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;kFAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -21,6 +21,11 @@ interface CellRendererProps {
|
|
|
21
21
|
*/
|
|
22
22
|
defaultLeftRightPadding: number;
|
|
23
23
|
enableExpand?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Overlays the expand button on top of the cell content instead of reserving
|
|
26
|
+
* space next to it, so the content does not shrink when the button appears.
|
|
27
|
+
*/
|
|
28
|
+
overlayExpandButton?: boolean;
|
|
24
29
|
isEditing?: boolean;
|
|
25
30
|
}
|
|
26
31
|
export type { CellRendererProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CellRendererProps.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/CellRendererProps.ts"],"names":[],"mappings":"AAAA,UAAU,iBAAiB;IAEzB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,cAAc,EAAE,OAAO,CAAC;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
|
|
1
|
+
{"version":3,"file":"CellRendererProps.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/CellRendererProps.ts"],"names":[],"mappings":"AAAA,UAAU,iBAAiB;IAEzB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,OAAO,CAAC;IACpB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,cAAc,EAAE,OAAO,CAAC;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,IAAI,EAAE,MAAM,GAAG,SAAS,CAAC;IACzB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC;;OAEG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAChC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,YAAY,EAAE,iBAAiB,EAAE,CAAC"}
|