sprintify-ui 0.10.14 → 0.10.16
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 +4 -2
- package/dist/BaseCkeditor-C9d4NSCx.js +113 -0
- package/dist/sprintify-ui.es.js +14283 -81751
- package/dist/style.css +3 -3
- package/dist/types/components/BaseActionButtons.vue.d.ts +1 -1
- package/dist/types/components/BaseActionItem.vue.d.ts +7 -10
- package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
- package/dist/types/components/BaseAlert.vue.d.ts +24 -11
- package/dist/types/components/BaseApp.vue.d.ts +14 -12
- package/dist/types/components/BaseAssign.vue.d.ts +1 -1
- package/dist/types/components/BaseAutocomplete.vue.d.ts +642 -452
- package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +117 -22
- package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +1029 -410
- package/dist/types/components/BaseAvatar.vue.d.ts +1 -1
- package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
- package/dist/types/components/BaseBadge.vue.d.ts +23 -11
- package/dist/types/components/BaseBelongsTo.vue.d.ts +985 -409
- package/dist/types/components/BaseBelongsToFetch.vue.d.ts +750 -369
- package/dist/types/components/BaseBoolean.vue.d.ts +1 -1
- package/dist/types/components/BaseBreadcrumbs.vue.d.ts +1 -1
- package/dist/types/components/BaseButton.vue.d.ts +57 -13
- package/dist/types/components/BaseButtonGroup.vue.d.ts +166 -15
- package/dist/types/components/BaseCard.vue.d.ts +26 -12
- package/dist/types/components/BaseCardRow.vue.d.ts +20 -11
- package/dist/types/components/BaseCharacterCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseCkeditor.vue.d.ts +32 -0
- package/dist/types/components/BaseClipboard.vue.d.ts +45 -13
- package/dist/types/components/BaseCollapse.vue.d.ts +41 -20
- package/dist/types/components/BaseContainer.vue.d.ts +16 -11
- package/dist/types/components/BaseCounter.vue.d.ts +1 -1
- package/dist/types/components/BaseCropper.vue.d.ts +55 -30
- package/dist/types/components/BaseDataIterator.vue.d.ts +43 -42
- package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +15 -12
- package/dist/types/components/BaseDataIteratorSectionColumns.vue.d.ts +1 -1
- package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +19 -10
- package/dist/types/components/BaseDataTable.vue.d.ts +2045 -735
- package/dist/types/components/BaseDataTableTemplate.vue.d.ts +563 -100
- package/dist/types/components/BaseDatePicker.vue.d.ts +1 -1
- package/dist/types/components/BaseDateSelect.vue.d.ts +1 -1
- package/dist/types/components/BaseDescriptionList.vue.d.ts +12 -12
- package/dist/types/components/BaseDescriptionListItem.vue.d.ts +16 -15
- package/dist/types/components/BaseDialog.vue.d.ts +114 -407
- package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +55 -13
- package/dist/types/components/BaseDraggable.vue.d.ts +21 -17
- package/dist/types/components/BaseDropdown.vue.d.ts +155 -17
- package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +134 -19
- package/dist/types/components/BaseField.vue.d.ts +103 -12
- package/dist/types/components/BaseFieldI18n.vue.d.ts +1 -1
- package/dist/types/components/BaseFilePicker.vue.d.ts +35 -16
- package/dist/types/components/BaseFilePickerCrop.vue.d.ts +87 -42
- package/dist/types/components/BaseFileUploader.vue.d.ts +195 -29
- package/dist/types/components/BaseForm.vue.d.ts +161 -20
- package/dist/types/components/BaseGantt.vue.d.ts +1130 -409
- package/dist/types/components/BaseHasMany.vue.d.ts +586 -345
- package/dist/types/components/BaseHasManyFetch.vue.d.ts +598 -249
- package/dist/types/components/BaseHeader.vue.d.ts +1 -1
- package/dist/types/components/BaseIconPicker.vue.d.ts +1 -1
- package/dist/types/components/BaseInputError.vue.d.ts +23 -11
- package/dist/types/components/BaseJsonReaderItem.vue.d.ts +1 -1
- package/dist/types/components/BaseLayoutNotificationItemContent.vue.d.ts +1 -1
- package/dist/types/components/BaseLayoutSidebar.vue.d.ts +127 -16
- package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +115 -13
- package/dist/types/components/BaseLayoutStacked.vue.d.ts +69 -22
- package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +120 -10
- package/dist/types/components/BaseLazy.vue.d.ts +20 -15
- package/dist/types/components/BaseMediaGallery.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaLibrary.vue.d.ts +234 -34
- package/dist/types/components/BaseMediaList.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaPictures.vue.d.ts +1 -1
- package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
- package/dist/types/components/BaseMenu.vue.d.ts +233 -30
- package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
- package/dist/types/components/BaseModalCenter.vue.d.ts +88 -12
- package/dist/types/components/BaseModalSide.vue.d.ts +72 -12
- package/dist/types/components/BaseNavbar.vue.d.ts +88 -22
- package/dist/types/components/BaseNavbarItem.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarItemContent.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarSideItem.vue.d.ts +1 -1
- package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +1 -1
- package/dist/types/components/BasePagination.vue.d.ts +1 -1
- package/dist/types/components/BaseRadioGroup.vue.d.ts +113 -13
- package/dist/types/components/BaseReadMore.vue.d.ts +31 -12
- package/dist/types/components/BaseRichText.vue.d.ts +1 -1
- package/dist/types/components/BaseSelect.vue.d.ts +149 -12
- package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
- package/dist/types/components/BaseSideNavigation.vue.d.ts +11 -12
- package/dist/types/components/BaseSideNavigationItem.vue.d.ts +22 -13
- package/dist/types/components/BaseSkeleton.vue.d.ts +3 -3
- package/dist/types/components/BaseStepper.vue.d.ts +1 -1
- package/dist/types/components/BaseSwitch.vue.d.ts +118 -10
- package/dist/types/components/BaseSystemAlert.vue.d.ts +58 -11
- package/dist/types/components/BaseTabItem.vue.d.ts +25 -16
- package/dist/types/components/BaseTable.vue.d.ts +29 -14
- package/dist/types/components/BaseTableBody.vue.d.ts +9 -12
- package/dist/types/components/BaseTableCell.vue.d.ts +40 -15
- package/dist/types/components/BaseTableColumn.vue.d.ts +2 -2
- package/dist/types/components/BaseTableHead.vue.d.ts +14 -12
- package/dist/types/components/BaseTableHeader.vue.d.ts +25 -14
- package/dist/types/components/BaseTableRow.vue.d.ts +40 -13
- package/dist/types/components/BaseTabs.vue.d.ts +16 -15
- package/dist/types/components/BaseTagAutocomplete.vue.d.ts +578 -199
- package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +803 -346
- package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
- package/dist/types/components/BaseTimeline.vue.d.ts +1 -1
- package/dist/types/components/BaseTimelineItem.vue.d.ts +1 -1
- package/dist/types/components/BaseToast.vue.d.ts +1 -1
- package/dist/types/components/BaseTooltip.vue.d.ts +41 -15
- package/dist/types/components/BaseUniqueCode.vue.d.ts +1 -1
- package/dist/types/stories/PageInputSizes.vue.d.ts +1 -1
- package/dist/types/stories/PageShow.vue.d.ts +1 -1
- package/dist/types/svg/BaseEmptyState.vue.d.ts +1 -1
- package/dist/types/svg/BaseSpinnerSmall.vue.d.ts +1 -1
- package/package.json +5 -4
- package/src/components/BaseCkeditor.vue +137 -0
- package/src/components/BaseDraggable.vue +1 -1
- package/src/components/BaseRichText.vue +10 -100
|
@@ -1,108 +1,571 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { BaseTableColumnData, CollectionItem, Row } from '@/types';
|
|
3
|
+
import SlotComponent from './SlotComponent';
|
|
3
4
|
import { Size } from '@/utils/sizes';
|
|
5
|
+
import BaseTable from './BaseTable.vue';
|
|
6
|
+
import BaseTableHead from './BaseTableHead.vue';
|
|
7
|
+
import BaseTableHeader from './BaseTableHeader.vue';
|
|
8
|
+
import BaseTableBody from './BaseTableBody.vue';
|
|
9
|
+
import BaseTableRow from './BaseTableRow.vue';
|
|
10
|
+
import BaseTableCell from './BaseTableCell.vue';
|
|
4
11
|
import { RouteLocationRaw } from 'vue-router';
|
|
12
|
+
declare const checkboxStyle = "disabled:bg-slate-100 group-hover:shadow-md disabled:border-slate-300 disabled:cursor-not-allowed duration-300 cursor-pointer focus:ring-blue-300 border border-slate-300 shadow h-[18px] w-[18px] rounded";
|
|
13
|
+
declare const currentSortColumn: import("vue").Ref<{
|
|
14
|
+
id: string;
|
|
15
|
+
label: string;
|
|
16
|
+
field: string;
|
|
17
|
+
meta: undefined | Record<string, any>;
|
|
18
|
+
newKey: string;
|
|
19
|
+
numeric: boolean;
|
|
20
|
+
align: "left" | "center" | "right";
|
|
21
|
+
searchable: boolean;
|
|
22
|
+
sortable: boolean;
|
|
23
|
+
ignoreRowInteractions: boolean;
|
|
24
|
+
toggle: boolean;
|
|
25
|
+
toggleDefault: boolean;
|
|
26
|
+
width: number;
|
|
27
|
+
class?: string | string[] | undefined;
|
|
28
|
+
to?: ((row: Row) => RouteLocationRaw) | undefined;
|
|
29
|
+
href?: ((row: Row) => string) | undefined;
|
|
30
|
+
target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
|
|
31
|
+
onClick?: ((row: Row, index: number, column: BaseTableColumnData, colIndex: number, event: MouseEvent) => void) | undefined;
|
|
32
|
+
style: {
|
|
33
|
+
width: undefined | number;
|
|
34
|
+
};
|
|
35
|
+
} | null, BaseTableColumnData | {
|
|
36
|
+
id: string;
|
|
37
|
+
label: string;
|
|
38
|
+
field: string;
|
|
39
|
+
meta: undefined | Record<string, any>;
|
|
40
|
+
newKey: string;
|
|
41
|
+
numeric: boolean;
|
|
42
|
+
align: "left" | "center" | "right";
|
|
43
|
+
searchable: boolean;
|
|
44
|
+
sortable: boolean;
|
|
45
|
+
ignoreRowInteractions: boolean;
|
|
46
|
+
toggle: boolean;
|
|
47
|
+
toggleDefault: boolean;
|
|
48
|
+
width: number;
|
|
49
|
+
class?: string | string[] | undefined;
|
|
50
|
+
to?: ((row: Row) => RouteLocationRaw) | undefined;
|
|
51
|
+
href?: ((row: Row) => string) | undefined;
|
|
52
|
+
target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
|
|
53
|
+
onClick?: ((row: Row, index: number, column: BaseTableColumnData, colIndex: number, event: MouseEvent) => void) | undefined;
|
|
54
|
+
style: {
|
|
55
|
+
width: undefined | number;
|
|
56
|
+
};
|
|
57
|
+
} | null>;
|
|
58
|
+
declare const isAsc: import("vue").Ref<boolean, boolean>;
|
|
59
|
+
declare const slot: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
|
|
60
|
+
declare const newColumns: import("vue").ComputedRef<{
|
|
61
|
+
id: string;
|
|
62
|
+
label: string;
|
|
63
|
+
field: string;
|
|
64
|
+
meta: undefined | Record<string, any>;
|
|
65
|
+
newKey: string;
|
|
66
|
+
numeric: boolean;
|
|
67
|
+
align: "left" | "center" | "right";
|
|
68
|
+
searchable: boolean;
|
|
69
|
+
sortable: boolean;
|
|
70
|
+
ignoreRowInteractions: boolean;
|
|
71
|
+
toggle: boolean;
|
|
72
|
+
toggleDefault: boolean;
|
|
73
|
+
width: number;
|
|
74
|
+
class?: string | string[] | undefined;
|
|
75
|
+
to?: ((row: Row) => RouteLocationRaw) | undefined;
|
|
76
|
+
href?: ((row: Row) => string) | undefined;
|
|
77
|
+
target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
|
|
78
|
+
onClick?: ((row: Row, index: number, column: BaseTableColumnData, colIndex: number, event: MouseEvent) => void) | undefined;
|
|
79
|
+
style: {
|
|
80
|
+
width: undefined | number;
|
|
81
|
+
};
|
|
82
|
+
}[]>;
|
|
83
|
+
declare const visibleColumnsInternal: import("vue").ComputedRef<{
|
|
84
|
+
id: string;
|
|
85
|
+
label: string;
|
|
86
|
+
field: string;
|
|
87
|
+
meta: undefined | Record<string, any>;
|
|
88
|
+
newKey: string;
|
|
89
|
+
numeric: boolean;
|
|
90
|
+
align: "left" | "center" | "right";
|
|
91
|
+
searchable: boolean;
|
|
92
|
+
sortable: boolean;
|
|
93
|
+
ignoreRowInteractions: boolean;
|
|
94
|
+
toggle: boolean;
|
|
95
|
+
toggleDefault: boolean;
|
|
96
|
+
width: number;
|
|
97
|
+
class?: string | string[] | undefined;
|
|
98
|
+
to?: ((row: Row) => RouteLocationRaw) | undefined;
|
|
99
|
+
href?: ((row: Row) => string) | undefined;
|
|
100
|
+
target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
|
|
101
|
+
onClick?: ((row: Row, index: number, column: BaseTableColumnData, colIndex: number, event: MouseEvent) => void) | undefined;
|
|
102
|
+
style: {
|
|
103
|
+
width: undefined | number;
|
|
104
|
+
};
|
|
105
|
+
}[]>;
|
|
106
|
+
/**
|
|
107
|
+
* Return total column count based if it's checkable or expanded
|
|
108
|
+
*/
|
|
109
|
+
declare const columnCount: import("vue").ComputedRef<number>;
|
|
110
|
+
/**
|
|
111
|
+
* Return if detailed row tabled
|
|
112
|
+
* will be with chevron column & icon or not
|
|
113
|
+
*/
|
|
114
|
+
declare const showDetailRowIcon: import("vue").ComputedRef<boolean>;
|
|
115
|
+
/**
|
|
116
|
+
* Sort the column.
|
|
117
|
+
* Toggle current direction on column if it's sortable
|
|
118
|
+
* and not just updating the prop.
|
|
119
|
+
*/
|
|
120
|
+
declare function sort(column: BaseTableColumnData, updatingData?: boolean, event?: null): void;
|
|
121
|
+
/**
|
|
122
|
+
* Check if the row is checked (is added to the array).
|
|
123
|
+
*/
|
|
124
|
+
declare function isRowChecked(row: Row): boolean;
|
|
125
|
+
/**
|
|
126
|
+
* Check if all rows in the page are checkable.
|
|
127
|
+
*/
|
|
128
|
+
declare const isAllUncheckable: import("vue").ComputedRef<boolean>;
|
|
129
|
+
/**
|
|
130
|
+
* Check if all rows in the page are checked.
|
|
131
|
+
*/
|
|
132
|
+
declare const isAllChecked: import("vue").ComputedRef<boolean>;
|
|
133
|
+
/**
|
|
134
|
+
* Header checkbox click listener.
|
|
135
|
+
* Add or remove all rows in current page.
|
|
136
|
+
*/
|
|
137
|
+
declare function checkAll(): void;
|
|
5
138
|
/**
|
|
6
139
|
* Remove all rows in current page.
|
|
7
140
|
*/
|
|
8
141
|
declare function uncheckAll(): void;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
baseTableRef: ({
|
|
22
|
-
$: import("vue").ComponentInternalInstance;
|
|
23
|
-
$data: {};
|
|
24
|
-
$props: {
|
|
25
|
-
readonly size?: import("../services/table/types").CellSize | undefined;
|
|
26
|
-
readonly fixedHeader?: boolean | undefined;
|
|
27
|
-
readonly fixedColumn?: boolean | undefined;
|
|
28
|
-
readonly grid?: boolean | undefined;
|
|
29
|
-
readonly striped?: boolean | undefined;
|
|
30
|
-
readonly flush?: boolean | undefined;
|
|
31
|
-
readonly class?: import("tailwind-merge").ClassNameValue;
|
|
32
|
-
readonly maxHeight?: number | undefined;
|
|
33
|
-
readonly loading?: boolean | undefined;
|
|
34
|
-
readonly virtualScrolling?: boolean | undefined;
|
|
35
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
36
|
-
$attrs: {
|
|
37
|
-
[x: string]: unknown;
|
|
38
|
-
};
|
|
39
|
-
$refs: {
|
|
40
|
-
[x: string]: unknown;
|
|
41
|
-
};
|
|
42
|
-
$slots: Readonly<{
|
|
43
|
-
[name: string]: import("vue").Slot<any> | undefined;
|
|
44
|
-
}>;
|
|
45
|
-
$root: import("vue").ComponentPublicInstance | null;
|
|
46
|
-
$parent: import("vue").ComponentPublicInstance | null;
|
|
47
|
-
$host: Element | null;
|
|
48
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
49
|
-
$el: any;
|
|
50
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("../services/table/types").TableProps> & Readonly<{}>, {
|
|
51
|
-
scrollTop: () => void;
|
|
52
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
53
|
-
class: string | false | 0 | 0n | import("tailwind-merge").ClassNameValue[] | null;
|
|
54
|
-
size: import("../services/table/types").CellSize;
|
|
55
|
-
grid: boolean;
|
|
56
|
-
loading: boolean;
|
|
57
|
-
fixedHeader: boolean;
|
|
58
|
-
fixedColumn: boolean;
|
|
59
|
-
striped: boolean;
|
|
60
|
-
flush: boolean;
|
|
61
|
-
maxHeight: number;
|
|
62
|
-
virtualScrolling: boolean;
|
|
63
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
64
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
65
|
-
created?: (() => void) | (() => void)[];
|
|
66
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
67
|
-
mounted?: (() => void) | (() => void)[];
|
|
68
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
69
|
-
updated?: (() => void) | (() => void)[];
|
|
70
|
-
activated?: (() => void) | (() => void)[];
|
|
71
|
-
deactivated?: (() => void) | (() => void)[];
|
|
72
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
73
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
74
|
-
destroyed?: (() => void) | (() => void)[];
|
|
75
|
-
unmounted?: (() => void) | (() => void)[];
|
|
76
|
-
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
77
|
-
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
78
|
-
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
79
|
-
};
|
|
80
|
-
$forceUpdate: () => void;
|
|
81
|
-
$nextTick: typeof import("vue").nextTick;
|
|
82
|
-
$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;
|
|
83
|
-
} & Readonly<{
|
|
84
|
-
class: string | false | 0 | 0n | import("tailwind-merge").ClassNameValue[] | null;
|
|
85
|
-
size: import("../services/table/types").CellSize;
|
|
86
|
-
grid: boolean;
|
|
87
|
-
loading: boolean;
|
|
88
|
-
fixedHeader: boolean;
|
|
89
|
-
fixedColumn: boolean;
|
|
90
|
-
striped: boolean;
|
|
91
|
-
flush: boolean;
|
|
92
|
-
maxHeight: number;
|
|
93
|
-
virtualScrolling: boolean;
|
|
94
|
-
}> & Omit<Readonly<import("../services/table/types").TableProps> & Readonly<{}>, "scrollTop" | ("class" | "size" | "grid" | "loading" | "fixedHeader" | "fixedColumn" | "striped" | "flush" | "maxHeight" | "virtualScrolling")> & import("vue").ShallowUnwrapRef<{
|
|
95
|
-
scrollTop: () => void;
|
|
96
|
-
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
97
|
-
$slots: {
|
|
98
|
-
default?(_: {}): any;
|
|
99
|
-
loading?(_: {}): any;
|
|
100
|
-
};
|
|
101
|
-
}) | null;
|
|
102
|
-
};
|
|
103
|
-
rootEl: any;
|
|
142
|
+
/**
|
|
143
|
+
* Row checkbox click listener.
|
|
144
|
+
*/
|
|
145
|
+
declare function checkRow(row: Row, index: number, event: MouseEvent): void;
|
|
146
|
+
/**
|
|
147
|
+
* Toggle to show/hide details slot
|
|
148
|
+
*/
|
|
149
|
+
declare function toggleDetails(row: Row): void;
|
|
150
|
+
declare function isVisibleDetailRow(row: Row): boolean;
|
|
151
|
+
declare function isActiveDetailRow(row: Row): boolean;
|
|
152
|
+
declare function rowBindings(row: CollectionItem, index: number): {
|
|
153
|
+
onClick: ((event: MouseEvent) => void | undefined) | undefined;
|
|
104
154
|
};
|
|
105
|
-
|
|
155
|
+
declare function onCellClick(row: CollectionItem, index: number, column: BaseTableColumnData, columnIndex: number): ((event: MouseEvent) => void) | undefined;
|
|
156
|
+
declare function getRowKey(row: Row): string;
|
|
157
|
+
declare const baseTableRef: import("vue").Ref<({
|
|
158
|
+
$: import("vue").ComponentInternalInstance;
|
|
159
|
+
$data: {};
|
|
160
|
+
$props: {
|
|
161
|
+
readonly size?: import("../services/table/types").CellSize | undefined;
|
|
162
|
+
readonly fixedHeader?: boolean | undefined;
|
|
163
|
+
readonly fixedColumn?: boolean | undefined;
|
|
164
|
+
readonly grid?: boolean | undefined;
|
|
165
|
+
readonly striped?: boolean | undefined;
|
|
166
|
+
readonly flush?: boolean | undefined;
|
|
167
|
+
readonly class?: import("tailwind-merge").ClassNameValue;
|
|
168
|
+
readonly maxHeight?: number | undefined;
|
|
169
|
+
readonly loading?: boolean | undefined;
|
|
170
|
+
readonly virtualScrolling?: boolean | undefined;
|
|
171
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
172
|
+
$attrs: {
|
|
173
|
+
[x: string]: unknown;
|
|
174
|
+
};
|
|
175
|
+
$refs: {
|
|
176
|
+
[x: string]: unknown;
|
|
177
|
+
};
|
|
178
|
+
$slots: Readonly<{
|
|
179
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
180
|
+
}>;
|
|
181
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
182
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
183
|
+
$host: Element | null;
|
|
184
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
185
|
+
$el: any;
|
|
186
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("../services/table/types").TableProps> & Readonly<{}>, {
|
|
187
|
+
scrollTop: () => void;
|
|
188
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
189
|
+
class: string | false | 0 | 0n | import("tailwind-merge").ClassNameValue[] | null;
|
|
190
|
+
size: import("../services/table/types").CellSize;
|
|
191
|
+
grid: boolean;
|
|
192
|
+
loading: boolean;
|
|
193
|
+
fixedHeader: boolean;
|
|
194
|
+
fixedColumn: boolean;
|
|
195
|
+
striped: boolean;
|
|
196
|
+
flush: boolean;
|
|
197
|
+
maxHeight: number;
|
|
198
|
+
virtualScrolling: boolean;
|
|
199
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
200
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
201
|
+
created?: (() => void) | (() => void)[];
|
|
202
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
203
|
+
mounted?: (() => void) | (() => void)[];
|
|
204
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
205
|
+
updated?: (() => void) | (() => void)[];
|
|
206
|
+
activated?: (() => void) | (() => void)[];
|
|
207
|
+
deactivated?: (() => void) | (() => void)[];
|
|
208
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
209
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
210
|
+
destroyed?: (() => void) | (() => void)[];
|
|
211
|
+
unmounted?: (() => void) | (() => void)[];
|
|
212
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
213
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
214
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
215
|
+
};
|
|
216
|
+
$forceUpdate: () => void;
|
|
217
|
+
$nextTick: typeof import("vue").nextTick;
|
|
218
|
+
$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;
|
|
219
|
+
} & Readonly<{
|
|
220
|
+
class: string | false | 0 | 0n | import("tailwind-merge").ClassNameValue[] | null;
|
|
221
|
+
size: import("../services/table/types").CellSize;
|
|
222
|
+
grid: boolean;
|
|
223
|
+
loading: boolean;
|
|
224
|
+
fixedHeader: boolean;
|
|
225
|
+
fixedColumn: boolean;
|
|
226
|
+
striped: boolean;
|
|
227
|
+
flush: boolean;
|
|
228
|
+
maxHeight: number;
|
|
229
|
+
virtualScrolling: boolean;
|
|
230
|
+
}> & Omit<Readonly<import("../services/table/types").TableProps> & Readonly<{}>, ("class" | "size" | "grid" | "loading" | "fixedHeader" | "fixedColumn" | "striped" | "flush" | "maxHeight" | "virtualScrolling") | "scrollTop"> & import("vue").ShallowUnwrapRef<{
|
|
231
|
+
scrollTop: () => void;
|
|
232
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
233
|
+
$slots: {
|
|
234
|
+
default?: ((props: {}) => any) | undefined;
|
|
235
|
+
loading?: ((props: {}) => any) | undefined;
|
|
236
|
+
};
|
|
237
|
+
}) | null, ({
|
|
238
|
+
$: import("vue").ComponentInternalInstance;
|
|
239
|
+
$data: {};
|
|
240
|
+
$props: {
|
|
241
|
+
readonly size?: import("../services/table/types").CellSize | undefined;
|
|
242
|
+
readonly fixedHeader?: boolean | undefined;
|
|
243
|
+
readonly fixedColumn?: boolean | undefined;
|
|
244
|
+
readonly grid?: boolean | undefined;
|
|
245
|
+
readonly striped?: boolean | undefined;
|
|
246
|
+
readonly flush?: boolean | undefined;
|
|
247
|
+
readonly class?: import("tailwind-merge").ClassNameValue;
|
|
248
|
+
readonly maxHeight?: number | undefined;
|
|
249
|
+
readonly loading?: boolean | undefined;
|
|
250
|
+
readonly virtualScrolling?: boolean | undefined;
|
|
251
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
252
|
+
$attrs: {
|
|
253
|
+
[x: string]: unknown;
|
|
254
|
+
};
|
|
255
|
+
$refs: {
|
|
256
|
+
[x: string]: unknown;
|
|
257
|
+
};
|
|
258
|
+
$slots: Readonly<{
|
|
259
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
260
|
+
}>;
|
|
261
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
262
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
263
|
+
$host: Element | null;
|
|
264
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
265
|
+
$el: any;
|
|
266
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("../services/table/types").TableProps> & Readonly<{}>, {
|
|
267
|
+
scrollTop: () => void;
|
|
268
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
269
|
+
class: string | false | 0 | 0n | import("tailwind-merge").ClassNameValue[] | null;
|
|
270
|
+
size: import("../services/table/types").CellSize;
|
|
271
|
+
grid: boolean;
|
|
272
|
+
loading: boolean;
|
|
273
|
+
fixedHeader: boolean;
|
|
274
|
+
fixedColumn: boolean;
|
|
275
|
+
striped: boolean;
|
|
276
|
+
flush: boolean;
|
|
277
|
+
maxHeight: number;
|
|
278
|
+
virtualScrolling: boolean;
|
|
279
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
280
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
281
|
+
created?: (() => void) | (() => void)[];
|
|
282
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
283
|
+
mounted?: (() => void) | (() => void)[];
|
|
284
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
285
|
+
updated?: (() => void) | (() => void)[];
|
|
286
|
+
activated?: (() => void) | (() => void)[];
|
|
287
|
+
deactivated?: (() => void) | (() => void)[];
|
|
288
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
289
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
290
|
+
destroyed?: (() => void) | (() => void)[];
|
|
291
|
+
unmounted?: (() => void) | (() => void)[];
|
|
292
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
293
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
294
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
295
|
+
};
|
|
296
|
+
$forceUpdate: () => void;
|
|
297
|
+
$nextTick: typeof import("vue").nextTick;
|
|
298
|
+
$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;
|
|
299
|
+
} & Readonly<{
|
|
300
|
+
class: string | false | 0 | 0n | import("tailwind-merge").ClassNameValue[] | null;
|
|
301
|
+
size: import("../services/table/types").CellSize;
|
|
302
|
+
grid: boolean;
|
|
303
|
+
loading: boolean;
|
|
304
|
+
fixedHeader: boolean;
|
|
305
|
+
fixedColumn: boolean;
|
|
306
|
+
striped: boolean;
|
|
307
|
+
flush: boolean;
|
|
308
|
+
maxHeight: number;
|
|
309
|
+
virtualScrolling: boolean;
|
|
310
|
+
}> & Omit<Readonly<import("../services/table/types").TableProps> & Readonly<{}>, ("class" | "size" | "grid" | "loading" | "fixedHeader" | "fixedColumn" | "striped" | "flush" | "maxHeight" | "virtualScrolling") | "scrollTop"> & import("vue").ShallowUnwrapRef<{
|
|
311
|
+
scrollTop: () => void;
|
|
312
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
313
|
+
$slots: {
|
|
314
|
+
default?: ((props: {}) => any) | undefined;
|
|
315
|
+
loading?: ((props: {}) => any) | undefined;
|
|
316
|
+
};
|
|
317
|
+
}) | null>;
|
|
318
|
+
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
319
|
+
declare var __VLS_1: {}, __VLS_40: {
|
|
320
|
+
row: Row;
|
|
321
|
+
index: number;
|
|
322
|
+
}, __VLS_48: {};
|
|
323
|
+
type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
|
|
324
|
+
default?: (props: typeof __VLS_1) => any;
|
|
325
|
+
} & {
|
|
326
|
+
detail?: (props: typeof __VLS_40) => any;
|
|
327
|
+
} & {
|
|
328
|
+
empty?: (props: typeof __VLS_48) => any;
|
|
329
|
+
}>;
|
|
330
|
+
declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
331
|
+
/** Table data */
|
|
332
|
+
data: {
|
|
333
|
+
type: PropType<Row[]>;
|
|
334
|
+
default: () => never[];
|
|
335
|
+
};
|
|
336
|
+
/** Loading state */
|
|
337
|
+
loading: {
|
|
338
|
+
default: boolean;
|
|
339
|
+
type: BooleanConstructor;
|
|
340
|
+
};
|
|
341
|
+
visibleColumns: {
|
|
342
|
+
default: undefined;
|
|
343
|
+
type: PropType<string[]>;
|
|
344
|
+
};
|
|
345
|
+
columnOrder: {
|
|
346
|
+
default: undefined;
|
|
347
|
+
type: PropType<string[]>;
|
|
348
|
+
};
|
|
349
|
+
/** Allow row details */
|
|
350
|
+
detailed: {
|
|
351
|
+
default: boolean;
|
|
352
|
+
type: BooleanConstructor;
|
|
353
|
+
};
|
|
354
|
+
/** Rows can be checked (multiple) */
|
|
355
|
+
checkable: {
|
|
356
|
+
default: boolean;
|
|
357
|
+
type: BooleanConstructor;
|
|
358
|
+
};
|
|
359
|
+
/** Custom method to verify if a row is checkable, works when is checkable */
|
|
360
|
+
isRowCheckable: {
|
|
361
|
+
type: FunctionConstructor;
|
|
362
|
+
default: () => boolean;
|
|
363
|
+
};
|
|
364
|
+
/** Set which rows are checked, use v-model:checkedRows to make it two-way binding */
|
|
365
|
+
checkedRows: {
|
|
366
|
+
default: () => never[];
|
|
367
|
+
type: PropType<Row[]>;
|
|
368
|
+
};
|
|
369
|
+
/** Sets the default sort column field */
|
|
370
|
+
sortField: {
|
|
371
|
+
type: StringConstructor;
|
|
372
|
+
default: string;
|
|
373
|
+
};
|
|
374
|
+
/**
|
|
375
|
+
* Sets the default sort column direction
|
|
376
|
+
* @values asc, desc
|
|
377
|
+
*/
|
|
378
|
+
sortDirection: {
|
|
379
|
+
type: StringConstructor;
|
|
380
|
+
default: string;
|
|
381
|
+
};
|
|
382
|
+
/** Controls the visibility of the trigger that toggles the detailed rows. */
|
|
383
|
+
hasDetailedVisible: {
|
|
384
|
+
type: FunctionConstructor;
|
|
385
|
+
default: () => boolean;
|
|
386
|
+
};
|
|
387
|
+
maxHeight: {
|
|
388
|
+
default: undefined;
|
|
389
|
+
type: NumberConstructor;
|
|
390
|
+
};
|
|
391
|
+
size: {
|
|
392
|
+
type: PropType<Size>;
|
|
393
|
+
default: string;
|
|
394
|
+
};
|
|
395
|
+
rowTo: {
|
|
396
|
+
default: undefined;
|
|
397
|
+
type: PropType<((row: CollectionItem) => RouteLocationRaw) | undefined>;
|
|
398
|
+
};
|
|
399
|
+
rowHref: {
|
|
400
|
+
default: undefined;
|
|
401
|
+
type: PropType<((row: CollectionItem) => string) | undefined>;
|
|
402
|
+
};
|
|
403
|
+
onRowClick: {
|
|
404
|
+
default: undefined;
|
|
405
|
+
type: PropType<((row: CollectionItem, index: number, event: MouseEvent) => void) | undefined>;
|
|
406
|
+
};
|
|
407
|
+
rowKey: {
|
|
408
|
+
default: undefined;
|
|
409
|
+
type: PropType<((row: CollectionItem) => string | number) | undefined>;
|
|
410
|
+
};
|
|
411
|
+
virtualScrolling: {
|
|
412
|
+
default: boolean;
|
|
413
|
+
type: BooleanConstructor;
|
|
414
|
+
};
|
|
415
|
+
}>, {
|
|
416
|
+
SlotComponent: typeof SlotComponent;
|
|
417
|
+
BaseTable: typeof BaseTable;
|
|
418
|
+
BaseTableHead: typeof BaseTableHead;
|
|
419
|
+
BaseTableHeader: typeof BaseTableHeader;
|
|
420
|
+
BaseTableBody: typeof BaseTableBody;
|
|
421
|
+
BaseTableRow: typeof BaseTableRow;
|
|
422
|
+
BaseTableCell: typeof BaseTableCell;
|
|
423
|
+
checkboxStyle: typeof checkboxStyle;
|
|
424
|
+
currentSortColumn: typeof currentSortColumn;
|
|
425
|
+
isAsc: typeof isAsc;
|
|
426
|
+
slot: typeof slot;
|
|
427
|
+
newColumns: typeof newColumns;
|
|
428
|
+
visibleColumnsInternal: typeof visibleColumnsInternal;
|
|
429
|
+
columnCount: typeof columnCount;
|
|
430
|
+
showDetailRowIcon: typeof showDetailRowIcon;
|
|
431
|
+
sort: typeof sort;
|
|
432
|
+
isRowChecked: typeof isRowChecked;
|
|
433
|
+
isAllUncheckable: typeof isAllUncheckable;
|
|
434
|
+
isAllChecked: typeof isAllChecked;
|
|
435
|
+
checkAll: typeof checkAll;
|
|
436
|
+
checkRow: typeof checkRow;
|
|
437
|
+
toggleDetails: typeof toggleDetails;
|
|
438
|
+
isVisibleDetailRow: typeof isVisibleDetailRow;
|
|
439
|
+
isActiveDetailRow: typeof isActiveDetailRow;
|
|
440
|
+
rowBindings: typeof rowBindings;
|
|
441
|
+
onCellClick: typeof onCellClick;
|
|
442
|
+
getRowKey: typeof getRowKey;
|
|
443
|
+
baseTableRef: typeof baseTableRef;
|
|
444
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
445
|
+
sort: (...args: any[]) => void;
|
|
446
|
+
check: (...args: any[]) => void;
|
|
447
|
+
"check-all": (...args: any[]) => void;
|
|
448
|
+
"update:checkedRows": (...args: any[]) => void;
|
|
449
|
+
"details-open": (...args: any[]) => void;
|
|
450
|
+
"details-close": (...args: any[]) => void;
|
|
451
|
+
"update:openedDetailed": (...args: any[]) => void;
|
|
452
|
+
"cell-click": (...args: any[]) => void;
|
|
453
|
+
"row-click": (...args: any[]) => void;
|
|
454
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
455
|
+
/** Table data */
|
|
456
|
+
data: {
|
|
457
|
+
type: PropType<Row[]>;
|
|
458
|
+
default: () => never[];
|
|
459
|
+
};
|
|
460
|
+
/** Loading state */
|
|
461
|
+
loading: {
|
|
462
|
+
default: boolean;
|
|
463
|
+
type: BooleanConstructor;
|
|
464
|
+
};
|
|
465
|
+
visibleColumns: {
|
|
466
|
+
default: undefined;
|
|
467
|
+
type: PropType<string[]>;
|
|
468
|
+
};
|
|
469
|
+
columnOrder: {
|
|
470
|
+
default: undefined;
|
|
471
|
+
type: PropType<string[]>;
|
|
472
|
+
};
|
|
473
|
+
/** Allow row details */
|
|
474
|
+
detailed: {
|
|
475
|
+
default: boolean;
|
|
476
|
+
type: BooleanConstructor;
|
|
477
|
+
};
|
|
478
|
+
/** Rows can be checked (multiple) */
|
|
479
|
+
checkable: {
|
|
480
|
+
default: boolean;
|
|
481
|
+
type: BooleanConstructor;
|
|
482
|
+
};
|
|
483
|
+
/** Custom method to verify if a row is checkable, works when is checkable */
|
|
484
|
+
isRowCheckable: {
|
|
485
|
+
type: FunctionConstructor;
|
|
486
|
+
default: () => boolean;
|
|
487
|
+
};
|
|
488
|
+
/** Set which rows are checked, use v-model:checkedRows to make it two-way binding */
|
|
489
|
+
checkedRows: {
|
|
490
|
+
default: () => never[];
|
|
491
|
+
type: PropType<Row[]>;
|
|
492
|
+
};
|
|
493
|
+
/** Sets the default sort column field */
|
|
494
|
+
sortField: {
|
|
495
|
+
type: StringConstructor;
|
|
496
|
+
default: string;
|
|
497
|
+
};
|
|
498
|
+
/**
|
|
499
|
+
* Sets the default sort column direction
|
|
500
|
+
* @values asc, desc
|
|
501
|
+
*/
|
|
502
|
+
sortDirection: {
|
|
503
|
+
type: StringConstructor;
|
|
504
|
+
default: string;
|
|
505
|
+
};
|
|
506
|
+
/** Controls the visibility of the trigger that toggles the detailed rows. */
|
|
507
|
+
hasDetailedVisible: {
|
|
508
|
+
type: FunctionConstructor;
|
|
509
|
+
default: () => boolean;
|
|
510
|
+
};
|
|
511
|
+
maxHeight: {
|
|
512
|
+
default: undefined;
|
|
513
|
+
type: NumberConstructor;
|
|
514
|
+
};
|
|
515
|
+
size: {
|
|
516
|
+
type: PropType<Size>;
|
|
517
|
+
default: string;
|
|
518
|
+
};
|
|
519
|
+
rowTo: {
|
|
520
|
+
default: undefined;
|
|
521
|
+
type: PropType<((row: CollectionItem) => RouteLocationRaw) | undefined>;
|
|
522
|
+
};
|
|
523
|
+
rowHref: {
|
|
524
|
+
default: undefined;
|
|
525
|
+
type: PropType<((row: CollectionItem) => string) | undefined>;
|
|
526
|
+
};
|
|
527
|
+
onRowClick: {
|
|
528
|
+
default: undefined;
|
|
529
|
+
type: PropType<((row: CollectionItem, index: number, event: MouseEvent) => void) | undefined>;
|
|
530
|
+
};
|
|
531
|
+
rowKey: {
|
|
532
|
+
default: undefined;
|
|
533
|
+
type: PropType<((row: CollectionItem) => string | number) | undefined>;
|
|
534
|
+
};
|
|
535
|
+
virtualScrolling: {
|
|
536
|
+
default: boolean;
|
|
537
|
+
type: BooleanConstructor;
|
|
538
|
+
};
|
|
539
|
+
}>> & Readonly<{
|
|
540
|
+
onSort?: ((...args: any[]) => any) | undefined;
|
|
541
|
+
onCheck?: ((...args: any[]) => any) | undefined;
|
|
542
|
+
"onCheck-all"?: ((...args: any[]) => any) | undefined;
|
|
543
|
+
"onUpdate:checkedRows"?: ((...args: any[]) => any) | undefined;
|
|
544
|
+
"onDetails-open"?: ((...args: any[]) => any) | undefined;
|
|
545
|
+
"onDetails-close"?: ((...args: any[]) => any) | undefined;
|
|
546
|
+
"onUpdate:openedDetailed"?: ((...args: any[]) => any) | undefined;
|
|
547
|
+
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
548
|
+
"onRow-click"?: ((...args: any[]) => any) | undefined;
|
|
549
|
+
}>, {
|
|
550
|
+
data: Row[];
|
|
551
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
552
|
+
loading: boolean;
|
|
553
|
+
sortField: string;
|
|
554
|
+
sortDirection: string;
|
|
555
|
+
maxHeight: number;
|
|
556
|
+
virtualScrolling: boolean;
|
|
557
|
+
visibleColumns: string[];
|
|
558
|
+
columnOrder: string[];
|
|
559
|
+
detailed: boolean;
|
|
560
|
+
checkable: boolean;
|
|
561
|
+
isRowCheckable: Function;
|
|
562
|
+
checkedRows: Row[];
|
|
563
|
+
hasDetailedVisible: Function;
|
|
564
|
+
rowTo: ((row: CollectionItem) => RouteLocationRaw) | undefined;
|
|
565
|
+
rowHref: ((row: CollectionItem) => string) | undefined;
|
|
566
|
+
onRowClick: ((row: CollectionItem, index: number, event: MouseEvent) => void) | undefined;
|
|
567
|
+
rowKey: ((row: CollectionItem) => string | number) | undefined;
|
|
568
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
106
569
|
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
107
570
|
/** Table data */
|
|
108
571
|
data: {
|
|
@@ -203,10 +666,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
203
666
|
toggle: boolean;
|
|
204
667
|
toggleDefault: boolean;
|
|
205
668
|
width: number;
|
|
206
|
-
class?:
|
|
669
|
+
class?: string | string[] | undefined;
|
|
207
670
|
to?: ((row: Row) => RouteLocationRaw) | undefined;
|
|
208
671
|
href?: ((row: Row) => string) | undefined;
|
|
209
|
-
target?:
|
|
672
|
+
target?: "_blank" | "_self" | "_parent" | "_top" | undefined;
|
|
210
673
|
onClick?: ((row: Row, index: number, column: BaseTableColumnData, colIndex: number, event: MouseEvent) => void) | undefined;
|
|
211
674
|
style: {
|
|
212
675
|
width: undefined | number;
|
|
@@ -339,9 +802,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
339
802
|
onRowClick: ((row: CollectionItem, index: number, event: MouseEvent) => void) | undefined;
|
|
340
803
|
rowKey: ((row: CollectionItem) => string | number) | undefined;
|
|
341
804
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
342
|
-
declare const _default:
|
|
805
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
343
806
|
export default _default;
|
|
344
|
-
type
|
|
807
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
345
808
|
new (): {
|
|
346
809
|
$slots: S;
|
|
347
810
|
};
|