@pantograph/pattern-vue 0.0.3 → 0.0.4
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/README.md +2 -2
- package/dist/ComponentMap-B17Koyjo.js +1 -0
- package/dist/ComponentMap-D-1MyYm9.js +21 -0
- package/dist/ComponentMap.d.ts +1 -1
- package/dist/components/CoachMark/CoachMark.d.ts +52 -0
- package/dist/components/CoachMark/constant.d.ts +72 -0
- package/dist/components/CoachMark/index.d.ts +5 -0
- package/dist/components/CoachMark/model.d.ts +8 -0
- package/dist/components/CoachMark/types.d.ts +105 -0
- package/dist/components/Comment/Comment.d.ts +28 -0
- package/dist/components/Comment/CommentAction.d.ts +17 -0
- package/dist/components/Comment/CommentActions.d.ts +431 -0
- package/dist/components/Comment/CommentEditor.d.ts +67 -0
- package/dist/components/Comment/CommentFileList.d.ts +2 -0
- package/dist/components/Comment/CommentMention.d.ts +639 -0
- package/dist/components/Comment/CommentReaction.d.ts +11 -0
- package/dist/components/Comment/CommentReactionHoverCard.d.ts +10 -0
- package/dist/components/Comment/CommentReactionList.d.ts +217 -0
- package/dist/components/Comment/CommentReactionListItem.d.ts +3 -0
- package/dist/components/Comment/CommentTrigger.d.ts +15 -0
- package/dist/components/Comment/constant.d.ts +59 -0
- package/dist/components/Comment/context.d.ts +3 -0
- package/dist/components/Comment/index.d.ts +13 -0
- package/dist/components/Comment/types.d.ts +563 -0
- package/dist/components/Comment/useComment.d.ts +49 -0
- package/dist/components/DataTable/DataTable.d.ts +99 -0
- package/dist/components/DataTable/components/DataTableBatchActions.d.ts +9 -0
- package/dist/components/DataTable/components/DataTableBatchActionsContent.d.ts +2 -0
- package/dist/components/DataTable/components/DataTableColGroup.d.ts +6 -0
- package/dist/components/DataTable/components/DataTableContent.d.ts +2 -0
- package/dist/components/DataTable/components/DataTableEmpty.d.ts +2 -0
- package/dist/components/DataTable/components/DataTableFooter.d.ts +2 -0
- package/dist/components/DataTable/components/DataTableHeader.d.ts +57 -0
- package/dist/components/DataTable/components/DataTableHeaderCell.d.ts +243 -0
- package/dist/components/DataTable/components/DataTableHeaderCellActionsPopover.d.ts +2 -0
- package/dist/components/DataTable/components/DataTableInsertBetween.d.ts +2 -0
- package/dist/components/DataTable/components/DataTableLazyLoading.d.ts +56 -0
- package/dist/components/DataTable/components/DataTableLoadingRow.d.ts +18 -0
- package/dist/components/DataTable/components/DataTableRow.d.ts +15 -0
- package/dist/components/DataTable/components/ThDragGhost.d.ts +16 -0
- package/dist/components/DataTable/constant.d.ts +20 -0
- package/dist/components/DataTable/context.d.ts +2 -0
- package/dist/components/DataTable/index.d.ts +5 -0
- package/dist/components/DataTable/types/cell.d.ts +15 -0
- package/dist/components/DataTable/types/column.d.ts +69 -0
- package/dist/components/DataTable/types/common.d.ts +18 -0
- package/dist/components/DataTable/types/context.d.ts +44 -0
- package/dist/components/DataTable/types/index.d.ts +139 -0
- package/dist/components/DataTable/types/select.d.ts +25 -0
- package/dist/components/DataTable/utils/index.d.ts +14 -0
- package/dist/components/DataTable/utils/useCell.d.ts +23 -0
- package/dist/components/DataTable/utils/useCol.d.ts +35 -0
- package/dist/components/DataTable/utils/useColumnFixed.d.ts +23 -0
- package/dist/components/DataTable/utils/useColumnOrder.d.ts +32 -0
- package/dist/components/DataTable/utils/useColumnPopover.d.ts +19 -0
- package/dist/components/DataTable/utils/useColumnSize.d.ts +14 -0
- package/dist/components/DataTable/utils/useColumnWrap.d.ts +7 -0
- package/dist/components/DataTable/utils/useFilter.d.ts +14 -0
- package/dist/components/DataTable/utils/useInsertBetween.d.ts +5 -0
- package/dist/components/DataTable/utils/useRow.d.ts +9 -0
- package/dist/components/DataTable/utils/useRowOrder.d.ts +114 -0
- package/dist/components/DataTable/utils/useRowVirtualizer.d.ts +12 -0
- package/dist/components/DataTable/utils/useSelection.d.ts +30 -0
- package/dist/components/DataTable/utils/useSort.d.ts +12 -0
- package/dist/components/Form/Form.d.ts +58 -0
- package/dist/components/Form/FormItem.d.ts +22 -0
- package/dist/components/Form/constant.d.ts +18 -0
- package/dist/components/Form/defineRules.d.ts +6 -0
- package/dist/components/Form/index.d.ts +5 -0
- package/dist/components/Form/types.d.ts +418 -0
- package/dist/components/GOPicker/GOItemSkeleton.d.ts +2 -0
- package/dist/components/GOPicker/GOPicker.d.ts +33 -0
- package/dist/components/GOPicker/constant.d.ts +40 -0
- package/dist/components/GOPicker/emojis.d.ts +24 -0
- package/dist/components/GOPicker/getEmojiList.d.ts +42 -0
- package/dist/components/GOPicker/icons.d.ts +9 -0
- package/dist/components/GOPicker/index.d.ts +6 -0
- package/dist/components/GOPicker/model.d.ts +16 -0
- package/dist/components/GOPicker/types.d.ts +353 -0
- package/dist/components/InputPassword/InputPassword.d.ts +4 -71
- package/dist/components/InputPassword/constant.d.ts +12 -0
- package/dist/components/InputPassword/index.d.ts +4 -8
- package/dist/components/InputPassword/types.d.ts +46 -0
- package/dist/components/ListView/ListView.d.ts +15 -0
- package/dist/components/ListView/ListViewItem.d.ts +10 -0
- package/dist/components/ListView/constant.d.ts +4 -0
- package/dist/components/ListView/index.d.ts +5 -0
- package/dist/components/ListView/types.d.ts +16 -0
- package/dist/index-D-WRsztv.js +3431 -0
- package/dist/index-DhcyeKI-.js +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +52 -4
- package/dist/index.umd.cjs +1 -1
- package/dist/nuxt/index.js +1 -1
- package/dist/nuxt/index.umd.cjs +1 -1
- package/dist/resolver/index.js +1 -1
- package/dist/resolver/index.umd.cjs +1 -1
- package/dist/use/index.js +24437 -100
- package/dist/use/index.umd.cjs +30 -1
- package/package.json +10 -6
- package/dist/ComponentMap-BDQ8ar3z.js +0 -6
- package/dist/ComponentMap-CTyWVtmA.js +0 -1
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { InsertBetweenState } from './types/context';
|
|
2
|
+
import { DataTableContext, DataTableProps, DataTableSlotProps, DataTableSlots, GetTableRowProps, TableCol, TableColExtra, TableColumn } from './types';
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<DataTableProps, {
|
|
4
|
+
props: DataTableProps;
|
|
5
|
+
emit: ((evt: "sort", column: TableColumn, order: false | "desc" | "asc", sorting: import('./types').SortItem[]) => void) & ((evt: "drop", params: import('./types').DataTableRowDropParams) => void) & ((evt: "resize", value: Record<string, number | undefined>) => void) & ((evt: "fetch", getIsVisible: () => Promise<boolean>) => void) & ((evt: "expand", id: string, value: boolean) => void) & ((evt: "update:filteredColumns", value: string[]) => void) & ((evt: "update:columnVisibility", value?: Record<string, boolean> | undefined) => void) & ((evt: "update:expanded", value?: true | Record<string, boolean> | undefined) => void) & ((evt: "update:columnOrder", value: string[]) => void) & ((evt: "reorder", value: string[]) => void) & ((evt: "rowClick", row: object, event: Event) => void) & ((evt: "insertBetweenRows", row: GetTableRowProps & {
|
|
6
|
+
position: "before" | "after";
|
|
7
|
+
}) => void) & ((evt: "columnWrap", wrapped: boolean, column: TableColumn) => void) & ((evt: "update:fixedColumn", value?: string | undefined) => void) & ((evt: "init", value?: DataTableContext | undefined) => void);
|
|
8
|
+
slots: DataTableSlots;
|
|
9
|
+
table: import('@tanstack/vue-table').Table<unknown>;
|
|
10
|
+
getRowProps: (params: GetTableRowProps) => Record<string, any>;
|
|
11
|
+
selectionId: string;
|
|
12
|
+
cell: import('./utils').CellActions;
|
|
13
|
+
selectState: import('./utils').SelectionState;
|
|
14
|
+
col: import('./utils').ColActions;
|
|
15
|
+
sort: import('./utils').SortActions;
|
|
16
|
+
getSlotProps: import('vue').ComputedRef<DataTableSlotProps>;
|
|
17
|
+
getTableLayout: import('vue').ComputedRef<"fixed" | "auto" | undefined>;
|
|
18
|
+
tableSelect: import('./utils').SelectionActions;
|
|
19
|
+
colWrap: import('./utils').ColumnWrapActions;
|
|
20
|
+
filter: import('./utils').FilterActions;
|
|
21
|
+
size: import('./utils').ColumnSizeActions;
|
|
22
|
+
fix: import('./utils').ColumnFixActions;
|
|
23
|
+
colOrder: import('./utils').ColumnOrderActions;
|
|
24
|
+
colPopover: import('./utils').ColumnPopoverActions;
|
|
25
|
+
row: import('./utils').RowActions;
|
|
26
|
+
getColDefByExtra: (col: TableCol) => TableColExtra & Omit<import('./types').TableCustomCellReturn, "rowSpan"> & import('./types').TableColumnBase<any> & {
|
|
27
|
+
customCell?: import('./types').TableCustomCell<any>;
|
|
28
|
+
} & {
|
|
29
|
+
[key: string]: unknown;
|
|
30
|
+
};
|
|
31
|
+
hasFooter: import('vue').Ref<boolean, boolean>;
|
|
32
|
+
onScroll: (e: Event) => void;
|
|
33
|
+
insertBetweenState: import('vue').Ref<InsertBetweenState, InsertBetweenState>;
|
|
34
|
+
hideShadowHeader: import('vue').Ref<boolean, boolean>;
|
|
35
|
+
hideShadowColumn: import('vue').Ref<boolean, boolean>;
|
|
36
|
+
headerRowCount: import('vue').Ref<number, number>;
|
|
37
|
+
tableRootRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
38
|
+
tableHeaderRef: import('vue').Ref<any, any>;
|
|
39
|
+
tableBodyRef: import('vue').Ref<any, any>;
|
|
40
|
+
getDragging: () => import('@pantograph/vue').ConfigProviderDraggingState;
|
|
41
|
+
setDragging: (value: import('@pantograph/vue').ConfigProviderDraggingState) => void;
|
|
42
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
43
|
+
sort: (column: TableColumn, order: false | "desc" | "asc", sorting: import('./types').SortItem[]) => any;
|
|
44
|
+
drop: (params: import('./types').DataTableRowDropParams) => any;
|
|
45
|
+
resize: (value: Record<string, number | undefined>) => any;
|
|
46
|
+
fetch: (getIsVisible: () => Promise<boolean>) => any;
|
|
47
|
+
expand: (id: string, value: boolean) => any;
|
|
48
|
+
"update:filteredColumns": (value: string[]) => any;
|
|
49
|
+
"update:columnVisibility": (value?: Record<string, boolean> | undefined) => any;
|
|
50
|
+
"update:expanded": (value?: true | Record<string, boolean> | undefined) => any;
|
|
51
|
+
"update:columnOrder": (value: string[]) => any;
|
|
52
|
+
reorder: (value: string[]) => any;
|
|
53
|
+
rowClick: (row: object, event: Event) => any;
|
|
54
|
+
insertBetweenRows: (row: GetTableRowProps & {
|
|
55
|
+
position: "before" | "after";
|
|
56
|
+
}) => any;
|
|
57
|
+
columnWrap: (wrapped: boolean, column: TableColumn) => any;
|
|
58
|
+
"update:fixedColumn": (value?: string | undefined) => any;
|
|
59
|
+
init: (value?: DataTableContext | undefined) => any;
|
|
60
|
+
}, string, import('vue').PublicProps, Readonly<DataTableProps> & Readonly<{
|
|
61
|
+
onSort?: ((column: TableColumn, order: false | "desc" | "asc", sorting: import('./types').SortItem[]) => any) | undefined;
|
|
62
|
+
onDrop?: ((params: import('./types').DataTableRowDropParams) => any) | undefined;
|
|
63
|
+
onResize?: ((value: Record<string, number | undefined>) => any) | undefined;
|
|
64
|
+
onFetch?: ((getIsVisible: () => Promise<boolean>) => any) | undefined;
|
|
65
|
+
onExpand?: ((id: string, value: boolean) => any) | undefined;
|
|
66
|
+
"onUpdate:filteredColumns"?: ((value: string[]) => any) | undefined;
|
|
67
|
+
"onUpdate:columnVisibility"?: ((value?: Record<string, boolean> | undefined) => any) | undefined;
|
|
68
|
+
"onUpdate:expanded"?: ((value?: true | Record<string, boolean> | undefined) => any) | undefined;
|
|
69
|
+
"onUpdate:columnOrder"?: ((value: string[]) => any) | undefined;
|
|
70
|
+
onReorder?: ((value: string[]) => any) | undefined;
|
|
71
|
+
onRowClick?: ((row: object, event: Event) => any) | undefined;
|
|
72
|
+
onInsertBetweenRows?: ((row: GetTableRowProps & {
|
|
73
|
+
position: "before" | "after";
|
|
74
|
+
}) => any) | undefined;
|
|
75
|
+
onColumnWrap?: ((wrapped: boolean, column: TableColumn) => any) | undefined;
|
|
76
|
+
"onUpdate:fixedColumn"?: ((value?: string | undefined) => any) | undefined;
|
|
77
|
+
onInit?: ((value?: DataTableContext | undefined) => any) | undefined;
|
|
78
|
+
}>, {
|
|
79
|
+
zebra: boolean;
|
|
80
|
+
bordered: boolean;
|
|
81
|
+
loadingRowCount: number;
|
|
82
|
+
minVisibleAreaOnFixColumns: string | number;
|
|
83
|
+
childrenRowName: string | ((row: Record<string, any>) => any);
|
|
84
|
+
childrenColumnName: string | ((row: any) => any);
|
|
85
|
+
rowKey: string | ((row: Record<string, any>, index: number) => string);
|
|
86
|
+
batchActionsTitle: string;
|
|
87
|
+
paginateExpandedRows: boolean;
|
|
88
|
+
tableLayout: "fixed" | "auto";
|
|
89
|
+
overflowScroll: string | boolean;
|
|
90
|
+
hideDataOnLoading: boolean;
|
|
91
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
92
|
+
tableRootRef: HTMLDivElement;
|
|
93
|
+
}, HTMLDivElement>, Readonly<DataTableSlots> & DataTableSlots>;
|
|
94
|
+
export default _default;
|
|
95
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
96
|
+
new (): {
|
|
97
|
+
$slots: S;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
default?(_: {}): any;
|
|
3
|
+
}>;
|
|
4
|
+
export default _default;
|
|
5
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
6
|
+
new (): {
|
|
7
|
+
$slots: S;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DataTableContext } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
getContext?: () => DataTableContext;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableColElement>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLTableRowElement>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
containers: ({
|
|
3
|
+
$: import('vue').ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: {
|
|
6
|
+
readonly class?: import('clsx').ClassValue;
|
|
7
|
+
readonly zebra?: boolean | undefined;
|
|
8
|
+
readonly empty?: boolean | undefined;
|
|
9
|
+
readonly checked?: boolean | undefined;
|
|
10
|
+
readonly lazyLoadObserver?: boolean | undefined;
|
|
11
|
+
readonly onClick?: ((event: MouseEvent) => void) | undefined;
|
|
12
|
+
readonly onDblclick?: ((event: MouseEvent) => void) | undefined;
|
|
13
|
+
readonly onContextmenu?: ((event: MouseEvent) => void) | undefined;
|
|
14
|
+
readonly onMouseenter?: ((event: MouseEvent) => void) | undefined;
|
|
15
|
+
readonly onMouseleave?: ((event: MouseEvent) => void) | undefined;
|
|
16
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
17
|
+
$attrs: {
|
|
18
|
+
[x: string]: unknown;
|
|
19
|
+
};
|
|
20
|
+
$refs: {
|
|
21
|
+
[x: string]: unknown;
|
|
22
|
+
};
|
|
23
|
+
$slots: Readonly<{
|
|
24
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
27
|
+
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
28
|
+
$host: Element | null;
|
|
29
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
30
|
+
$el: HTMLTableRowElement;
|
|
31
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('@pantograph/vue').TrProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
32
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
45
|
+
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
46
|
+
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
|
|
47
|
+
};
|
|
48
|
+
$forceUpdate: () => void;
|
|
49
|
+
$nextTick: typeof import('vue').nextTick;
|
|
50
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
51
|
+
} & Readonly<{}> & Omit<Readonly<import('@pantograph/vue').TrProps> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
52
|
+
$slots: {
|
|
53
|
+
default?(_: {}): any;
|
|
54
|
+
};
|
|
55
|
+
}) | null;
|
|
56
|
+
}, any>;
|
|
57
|
+
export default _default;
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import { Header } from '@tanstack/table-core';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
header: Header<unknown, unknown>;
|
|
4
|
+
cellProps: any;
|
|
5
|
+
draggable: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
8
|
+
filterRef: ({
|
|
9
|
+
$: import('vue').ComponentInternalInstance;
|
|
10
|
+
$data: {};
|
|
11
|
+
$props: {
|
|
12
|
+
readonly hover?: boolean | undefined;
|
|
13
|
+
readonly as?: ("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component | undefined;
|
|
14
|
+
readonly disabled?: boolean | undefined;
|
|
15
|
+
readonly class?: import('clsx').ClassValue;
|
|
16
|
+
readonly active?: boolean | undefined;
|
|
17
|
+
readonly badgeText?: string | undefined;
|
|
18
|
+
readonly badgeIcon?: string | undefined;
|
|
19
|
+
readonly icon?: string | undefined;
|
|
20
|
+
readonly flipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
21
|
+
readonly badgeIconFlipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
22
|
+
readonly dir?: import('@pantograph/vue').Direction | undefined;
|
|
23
|
+
readonly text?: string | number | undefined;
|
|
24
|
+
readonly size?: "md" | "sm" | "lg" | undefined;
|
|
25
|
+
readonly noRing?: boolean | undefined;
|
|
26
|
+
readonly loading?: boolean | undefined;
|
|
27
|
+
readonly preIcon?: string | undefined;
|
|
28
|
+
readonly postIcon?: string | undefined;
|
|
29
|
+
readonly customStroke?: boolean | undefined;
|
|
30
|
+
readonly preIconCustomStroke?: boolean | undefined;
|
|
31
|
+
readonly postIconCustomStroke?: boolean | undefined;
|
|
32
|
+
readonly preIconFlipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
33
|
+
readonly postIconFlipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
34
|
+
readonly htmlType?: "reset" | "submit" | "button" | undefined;
|
|
35
|
+
readonly block?: boolean | undefined;
|
|
36
|
+
readonly href?: string | undefined;
|
|
37
|
+
readonly target?: string | undefined;
|
|
38
|
+
readonly type?: "ghost" | "outline" | undefined;
|
|
39
|
+
readonly variant?: "icon" | "simple" | undefined;
|
|
40
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
41
|
+
$attrs: {
|
|
42
|
+
[x: string]: unknown;
|
|
43
|
+
};
|
|
44
|
+
$refs: {
|
|
45
|
+
[x: string]: unknown;
|
|
46
|
+
} & {
|
|
47
|
+
buttonRef: ({
|
|
48
|
+
$: import('vue').ComponentInternalInstance;
|
|
49
|
+
$data: {};
|
|
50
|
+
$props: {
|
|
51
|
+
readonly dir?: import('@pantograph/vue').Direction | undefined;
|
|
52
|
+
readonly as?: ("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component | undefined;
|
|
53
|
+
readonly class?: import('clsx').ClassValue;
|
|
54
|
+
readonly text?: string | number | undefined;
|
|
55
|
+
readonly size?: "md" | "sm" | "lg" | undefined;
|
|
56
|
+
readonly color?: "neutral" | "primary" | "danger" | "success" | "warning" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "gray" | undefined;
|
|
57
|
+
readonly noRing?: boolean | undefined;
|
|
58
|
+
readonly type?: "ghost" | "fill" | "outline" | undefined;
|
|
59
|
+
readonly variant?: "icon" | "simple" | "float" | undefined;
|
|
60
|
+
readonly loading?: boolean | undefined;
|
|
61
|
+
readonly action?: boolean | undefined;
|
|
62
|
+
readonly active?: boolean | undefined;
|
|
63
|
+
readonly badgeText?: string | undefined;
|
|
64
|
+
readonly badgeIcon?: string | undefined;
|
|
65
|
+
readonly icon?: string | undefined;
|
|
66
|
+
readonly preIcon?: string | undefined;
|
|
67
|
+
readonly postIcon?: string | undefined;
|
|
68
|
+
readonly customStroke?: boolean | undefined;
|
|
69
|
+
readonly preIconCustomStroke?: boolean | undefined;
|
|
70
|
+
readonly postIconCustomStroke?: boolean | undefined;
|
|
71
|
+
readonly flipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
72
|
+
readonly preIconFlipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
73
|
+
readonly postIconFlipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
74
|
+
readonly badgeIconFlipOnDir?: import('@pantograph/vue').FlipOnDir | undefined;
|
|
75
|
+
readonly htmlType?: "reset" | "submit" | "button" | undefined;
|
|
76
|
+
readonly block?: boolean | undefined;
|
|
77
|
+
readonly disabled?: boolean | undefined;
|
|
78
|
+
readonly hover?: boolean | undefined;
|
|
79
|
+
readonly href?: string | undefined;
|
|
80
|
+
readonly target?: string | undefined;
|
|
81
|
+
readonly onClick?: ((...args: any[]) => any) | undefined;
|
|
82
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
83
|
+
$attrs: {
|
|
84
|
+
[x: string]: unknown;
|
|
85
|
+
};
|
|
86
|
+
$refs: {
|
|
87
|
+
[x: string]: unknown;
|
|
88
|
+
} & {
|
|
89
|
+
buttonRef: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
90
|
+
asChild: {
|
|
91
|
+
type: BooleanConstructor;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
as: {
|
|
95
|
+
type: import('vue').PropType<("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component>;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
99
|
+
[key: string]: any;
|
|
100
|
+
}>, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
101
|
+
asChild: boolean;
|
|
102
|
+
as: ("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component;
|
|
103
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
104
|
+
P: {};
|
|
105
|
+
B: {};
|
|
106
|
+
D: {};
|
|
107
|
+
C: {};
|
|
108
|
+
M: {};
|
|
109
|
+
Defaults: {};
|
|
110
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
111
|
+
asChild: {
|
|
112
|
+
type: BooleanConstructor;
|
|
113
|
+
default: boolean;
|
|
114
|
+
};
|
|
115
|
+
as: {
|
|
116
|
+
type: import('vue').PropType<("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component>;
|
|
117
|
+
default: string;
|
|
118
|
+
};
|
|
119
|
+
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
120
|
+
[key: string]: any;
|
|
121
|
+
}>, {}, {}, {}, {
|
|
122
|
+
asChild: boolean;
|
|
123
|
+
as: ("svg" | "input" | "a" | "button" | "div" | "form" | "h2" | "h3" | "img" | "label" | "li" | "nav" | "ol" | "p" | "span" | "template" | "ul" | ({} & string)) | import('vue').Component;
|
|
124
|
+
}> | null;
|
|
125
|
+
};
|
|
126
|
+
$slots: Readonly<{
|
|
127
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
128
|
+
}>;
|
|
129
|
+
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
130
|
+
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
131
|
+
$host: Element | null;
|
|
132
|
+
$emit: (event: "click", ...args: any[]) => void;
|
|
133
|
+
$el: any;
|
|
134
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('@pantograph/vue').BaseButtonProps> & Readonly<{
|
|
135
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
136
|
+
}>, {
|
|
137
|
+
isFocused(): boolean;
|
|
138
|
+
focus(): void;
|
|
139
|
+
blur(): void;
|
|
140
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
141
|
+
click: (...args: any[]) => void;
|
|
142
|
+
}, string, {
|
|
143
|
+
type: "ghost" | "fill" | "outline";
|
|
144
|
+
disabled: boolean;
|
|
145
|
+
color: "neutral" | "primary" | "danger" | "success" | "warning" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "gray";
|
|
146
|
+
htmlType: "reset" | "submit" | "button";
|
|
147
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
148
|
+
beforeCreate?: (() => void) | (() => void)[] | undefined;
|
|
149
|
+
created?: (() => void) | (() => void)[] | undefined;
|
|
150
|
+
beforeMount?: (() => void) | (() => void)[] | undefined;
|
|
151
|
+
mounted?: (() => void) | (() => void)[] | undefined;
|
|
152
|
+
beforeUpdate?: (() => void) | (() => void)[] | undefined;
|
|
153
|
+
updated?: (() => void) | (() => void)[] | undefined;
|
|
154
|
+
activated?: (() => void) | (() => void)[] | undefined;
|
|
155
|
+
deactivated?: (() => void) | (() => void)[] | undefined;
|
|
156
|
+
beforeDestroy?: (() => void) | (() => void)[] | undefined;
|
|
157
|
+
beforeUnmount?: (() => void) | (() => void)[] | undefined;
|
|
158
|
+
destroyed?: (() => void) | (() => void)[] | undefined;
|
|
159
|
+
unmounted?: (() => void) | (() => void)[] | undefined;
|
|
160
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[] | undefined;
|
|
161
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[] | undefined;
|
|
162
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[] | undefined;
|
|
163
|
+
};
|
|
164
|
+
$forceUpdate: () => void;
|
|
165
|
+
$nextTick: nextTick;
|
|
166
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
167
|
+
} & Readonly<{
|
|
168
|
+
type: "ghost" | "fill" | "outline";
|
|
169
|
+
disabled: boolean;
|
|
170
|
+
color: "neutral" | "primary" | "danger" | "success" | "warning" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "teal" | "cyan" | "sky" | "blue" | "ocean" | "violet" | "amethyst" | "fuchsia" | "pink" | "mallard" | "gray";
|
|
171
|
+
htmlType: "reset" | "submit" | "button";
|
|
172
|
+
}> & Omit<Readonly<import('@pantograph/vue').BaseButtonProps> & Readonly<{
|
|
173
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
174
|
+
}>, "disabled" | "color" | "type" | "htmlType" | "blur" | "focus" | "isFocused"> & import('vue').ShallowUnwrapRef<{
|
|
175
|
+
isFocused(): boolean;
|
|
176
|
+
focus(): void;
|
|
177
|
+
blur(): void;
|
|
178
|
+
}> & import('vue').ComponentCustomProperties & {
|
|
179
|
+
$slots: Readonly<import('@pantograph/vue').BaseButtonSlots> & import('@pantograph/vue').BaseButtonSlots;
|
|
180
|
+
}) | null;
|
|
181
|
+
};
|
|
182
|
+
$slots: Readonly<{
|
|
183
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
184
|
+
}>;
|
|
185
|
+
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
186
|
+
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
187
|
+
$host: Element | null;
|
|
188
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
189
|
+
$el: any;
|
|
190
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('@pantograph/vue').ActionButtonProps> & Readonly<{}>, {
|
|
191
|
+
isFocused(): void;
|
|
192
|
+
focus(): void;
|
|
193
|
+
blur(): void;
|
|
194
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
195
|
+
type: "ghost" | "outline";
|
|
196
|
+
disabled: boolean;
|
|
197
|
+
htmlType: "reset" | "submit" | "button";
|
|
198
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
199
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
200
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
201
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
202
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
203
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
204
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
205
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
206
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
207
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
208
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
209
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
210
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
211
|
+
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
212
|
+
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
213
|
+
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
|
|
214
|
+
};
|
|
215
|
+
$forceUpdate: () => void;
|
|
216
|
+
$nextTick: typeof import('vue').nextTick;
|
|
217
|
+
$watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R_1 ? (args_0: R_1, args_1: R_1, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
218
|
+
} & Readonly<{
|
|
219
|
+
type: "ghost" | "outline";
|
|
220
|
+
disabled: boolean;
|
|
221
|
+
htmlType: "reset" | "submit" | "button";
|
|
222
|
+
}> & Omit<Readonly<import('@pantograph/vue').ActionButtonProps> & Readonly<{}>, "disabled" | "type" | "htmlType" | "blur" | "focus" | "isFocused"> & import('vue').ShallowUnwrapRef<{
|
|
223
|
+
isFocused(): void;
|
|
224
|
+
focus(): void;
|
|
225
|
+
blur(): void;
|
|
226
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
227
|
+
$slots: Readonly<import('@pantograph/vue').BaseButtonSlots> & import('@pantograph/vue').BaseButtonSlots;
|
|
228
|
+
}) | null;
|
|
229
|
+
}, HTMLTableCellElement>, {
|
|
230
|
+
headerCell?(_: {
|
|
231
|
+
column: import('../types').TableColExtra & Omit<import('../types').TableCustomCellReturn, "rowSpan"> & import('../types').TableColumnBase<any> & {
|
|
232
|
+
customCell?: import('../types').TableCustomCell<any>;
|
|
233
|
+
} & {
|
|
234
|
+
[key: string]: unknown;
|
|
235
|
+
};
|
|
236
|
+
}): any;
|
|
237
|
+
}>;
|
|
238
|
+
export default _default;
|
|
239
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
240
|
+
new (): {
|
|
241
|
+
$slots: S;
|
|
242
|
+
};
|
|
243
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
2
|
+
target: ({
|
|
3
|
+
$: import('vue').ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: {
|
|
6
|
+
readonly class?: import('clsx').ClassValue;
|
|
7
|
+
readonly size?: "lg" | "xlg" | undefined;
|
|
8
|
+
readonly empty?: boolean | undefined;
|
|
9
|
+
readonly wrap?: boolean | undefined;
|
|
10
|
+
readonly noContainer?: boolean | undefined;
|
|
11
|
+
readonly noPy?: boolean | undefined;
|
|
12
|
+
readonly noPx?: boolean | undefined;
|
|
13
|
+
readonly lazyLoadObserver?: boolean | undefined;
|
|
14
|
+
readonly fixed?: boolean | undefined;
|
|
15
|
+
readonly afterShadow?: boolean | undefined;
|
|
16
|
+
readonly ellipseHFull?: boolean | undefined;
|
|
17
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
18
|
+
$attrs: {
|
|
19
|
+
[x: string]: unknown;
|
|
20
|
+
};
|
|
21
|
+
$refs: {
|
|
22
|
+
[x: string]: unknown;
|
|
23
|
+
};
|
|
24
|
+
$slots: Readonly<{
|
|
25
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
28
|
+
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
29
|
+
$host: Element | null;
|
|
30
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
31
|
+
$el: HTMLTableCellElement;
|
|
32
|
+
$options: import('vue').ComponentOptionsBase<Readonly<import('@pantograph/vue').TdProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
33
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
+
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
46
|
+
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
47
|
+
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
|
|
48
|
+
};
|
|
49
|
+
$forceUpdate: () => void;
|
|
50
|
+
$nextTick: typeof import('vue').nextTick;
|
|
51
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import('@vue/reactivity').OnCleanup) => any : (args_0: any, args_1: any, args_2: import('@vue/reactivity').OnCleanup) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
52
|
+
} & Readonly<{}> & Omit<Readonly<import('@pantograph/vue').TdProps> & Readonly<{}>, never> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
53
|
+
$slots: Readonly<import('@pantograph/vue').TdSlots> & import('@pantograph/vue').TdSlots;
|
|
54
|
+
}) | null;
|
|
55
|
+
}, any>;
|
|
56
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TableColumn } from '../types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
index: number;
|
|
4
|
+
first: boolean;
|
|
5
|
+
last: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableRowElement>, {
|
|
8
|
+
skeleton?(_: {
|
|
9
|
+
index: number;
|
|
10
|
+
column: TableColumn;
|
|
11
|
+
}): any;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Row } from '@tanstack/table-core';
|
|
2
|
+
import { DataTableContext } from '../types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
row: Row<unknown> & {
|
|
5
|
+
fakeScroll?: boolean;
|
|
6
|
+
_dragging?: boolean;
|
|
7
|
+
};
|
|
8
|
+
first?: boolean;
|
|
9
|
+
last?: boolean;
|
|
10
|
+
hasSubRows: boolean;
|
|
11
|
+
collapseParent?: boolean;
|
|
12
|
+
getContext?: () => DataTableContext;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableRowElement>;
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ThProps } from '@pantograph/vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
size?: ThProps['size'];
|
|
4
|
+
prefix: string;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
7
|
+
size: "lg" | "xlg";
|
|
8
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>, {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
}>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const dataTablePrefix: string;
|
|
2
|
+
export declare const dataTableRowPrefix: string;
|
|
3
|
+
export declare const dataTableDragHandleCls: string;
|
|
4
|
+
/**
|
|
5
|
+
* Default props for the DataTable component
|
|
6
|
+
*/
|
|
7
|
+
export declare const DATA_TABLE_DEFAULT_PROPS: {
|
|
8
|
+
readonly childrenColumnName: "children";
|
|
9
|
+
readonly childrenRowName: "children";
|
|
10
|
+
readonly batchActionsTitle: "Records selected :";
|
|
11
|
+
readonly loadingRowCount: 5;
|
|
12
|
+
readonly tableLayout: "fixed";
|
|
13
|
+
readonly rowKey: "id";
|
|
14
|
+
readonly zebra: true;
|
|
15
|
+
readonly paginateExpandedRows: false;
|
|
16
|
+
readonly overflowScroll: true;
|
|
17
|
+
readonly bordered: true;
|
|
18
|
+
readonly hideDataOnLoading: false;
|
|
19
|
+
readonly minVisibleAreaOnFixColumns: 200;
|
|
20
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { DataTableContext } from './types';
|
|
2
|
+
export declare const injectDataTableContext: <T extends DataTableContext | null | undefined = DataTableContext>(fallback?: T | undefined) => T extends null ? DataTableContext | null : DataTableContext, provideDataTableContext: (contextValue: DataTableContext) => DataTableContext;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ClassValue } from 'clsx';
|
|
2
|
+
import { TableGetFunctionsProps } from './index';
|
|
3
|
+
export type TableCustomCellReturn = {
|
|
4
|
+
colSpan?: number;
|
|
5
|
+
rowSpan?: number;
|
|
6
|
+
class?: ClassValue;
|
|
7
|
+
wrap?: boolean;
|
|
8
|
+
editing?: boolean;
|
|
9
|
+
ellipseHFull?: boolean;
|
|
10
|
+
noContainer?: boolean;
|
|
11
|
+
noPy?: boolean;
|
|
12
|
+
noPx?: boolean;
|
|
13
|
+
enableResizing?: boolean;
|
|
14
|
+
};
|
|
15
|
+
export type TableCustomCell<T = any> = TableCustomCellReturn | ((props?: Partial<TableGetFunctionsProps<T>>) => TableCustomCellReturn | undefined) | undefined;
|