@soft-stech/bootsman-ui-shadcn 2.0.20 → 2.0.22
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/dist/BuiPaginationCommon.vue_vue_type_script_setup_true_lang-BOuWIF4c.js +179 -0
- package/dist/BuiScrollArea.vue_vue_type_script_setup_true_lang-lyWD8KAT.js +144 -0
- package/dist/{BuiScrollBar.vue_vue_type_script_setup_true_lang-cV0od8j0.js → BuiScrollBar.vue_vue_type_script_setup_true_lang-BCvjzEmb.js} +4 -4
- package/dist/BuiTable.vue_vue_type_script_setup_true_lang-BQRl7YR1.js +37 -0
- package/dist/{BuiTableEmpty.vue_vue_type_script_setup_true_lang-Da4qHIWo.js → BuiTableEmpty.vue_vue_type_script_setup_true_lang-CuffOAuP.js} +1 -1
- package/dist/BuiTableRow.vue_vue_type_script_setup_true_lang-BQnadEa7.js +51 -0
- package/dist/components/input/index.js +22 -22
- package/dist/components/pagination/BuiPaginationCommon.js +1 -1
- package/dist/components/pagination/BuiPaginationCommon.vue.d.ts +4 -0
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/scroll-area/BuiScrollArea.js +1 -1
- package/dist/components/scroll-area/BuiScrollArea.vue.d.ts +256 -2
- package/dist/components/scroll-area/BuiScrollBar.js +1 -1
- package/dist/components/scroll-area/index.js +2 -2
- package/dist/components/table/BuiDataTable.vue.d.ts +9 -4
- package/dist/components/table/BuiTable.js +1 -1
- package/dist/components/table/BuiTable.vue.d.ts +1487 -2
- package/dist/components/table/BuiTableEmpty.js +1 -1
- package/dist/components/table/BuiTableRow.js +1 -1
- package/dist/components/table/index.d.ts +1 -0
- package/dist/components/table/index.js +726 -663
- package/dist/index.js +6 -6
- package/dist/lib/useGlobalCursor.d.ts +4 -0
- package/dist/lib/useGlobalCursor.js +15 -0
- package/dist/lib/useResizeColumns.d.ts +3812 -0
- package/dist/lib/useResizeColumns.js +97 -79
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/input/BuiInput.vue +1 -1
- package/src/components/pagination/BuiPaginationCommon.vue +16 -4
- package/src/components/scroll-area/BuiScrollArea.vue +9 -2
- package/src/components/scroll-area/BuiScrollBar.vue +4 -4
- package/src/components/table/BuiDataTable.vue +152 -34
- package/src/components/table/BuiTable.vue +12 -3
- package/src/components/table/BuiTableRow.vue +6 -0
- package/src/components/table/index.ts +2 -0
- package/src/lib/useGlobalCursor.ts +17 -0
- package/src/lib/useResizeColumns.ts +151 -42
- package/src/stories/BuiDataTable.stories.ts +13 -0
- package/src/stories/components/BuiDataTableStory.vue +4 -4
- package/src/stories/components/BuiDataTableWithScrollStory.vue +292 -0
- package/dist/BuiPaginationCommon.vue_vue_type_script_setup_true_lang-DhSRYKth.js +0 -170
- package/dist/BuiScrollArea.vue_vue_type_script_setup_true_lang-XkIzRs-G.js +0 -141
- package/dist/BuiTable.vue_vue_type_script_setup_true_lang-Dd_dkcy4.js +0 -30
- package/dist/BuiTableRow.vue_vue_type_script_setup_true_lang-BJk8Yk1B.js +0 -54
|
@@ -8,11 +8,265 @@ declare function __VLS_template(): {
|
|
|
8
8
|
slots: {
|
|
9
9
|
default?(_: {}): any;
|
|
10
10
|
};
|
|
11
|
-
refs: {
|
|
11
|
+
refs: {
|
|
12
|
+
tableWrapperRef: ({
|
|
13
|
+
$: import('vue').ComponentInternalInstance;
|
|
14
|
+
$data: {};
|
|
15
|
+
$props: {
|
|
16
|
+
readonly type?: ("scroll" | "always" | "auto" | "hover") | undefined;
|
|
17
|
+
readonly dir?: ("ltr" | "rtl") | undefined;
|
|
18
|
+
readonly scrollHideDelay?: number | undefined;
|
|
19
|
+
readonly asChild?: boolean | undefined;
|
|
20
|
+
readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
|
|
21
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
22
|
+
$attrs: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
};
|
|
25
|
+
$refs: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
};
|
|
28
|
+
$slots: Readonly<{
|
|
29
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
30
|
+
}>;
|
|
31
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
32
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
33
|
+
$host: Element | null;
|
|
34
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
35
|
+
$el: any;
|
|
36
|
+
$options: import('vue').ComponentOptionsBase<Readonly<ScrollAreaRootProps> & Readonly<{}>, {
|
|
37
|
+
viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
38
|
+
scrollTop: () => void;
|
|
39
|
+
scrollTopLeft: () => void;
|
|
40
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
41
|
+
type: "scroll" | "always" | "auto" | "hover";
|
|
42
|
+
scrollHideDelay: number;
|
|
43
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
44
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
45
|
+
created?: (() => void) | (() => void)[];
|
|
46
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
47
|
+
mounted?: (() => void) | (() => void)[];
|
|
48
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
49
|
+
updated?: (() => void) | (() => void)[];
|
|
50
|
+
activated?: (() => void) | (() => void)[];
|
|
51
|
+
deactivated?: (() => void) | (() => void)[];
|
|
52
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
53
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
54
|
+
destroyed?: (() => void) | (() => void)[];
|
|
55
|
+
unmounted?: (() => void) | (() => void)[];
|
|
56
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
57
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
58
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
59
|
+
};
|
|
60
|
+
$forceUpdate: () => void;
|
|
61
|
+
$nextTick: typeof import('vue').nextTick;
|
|
62
|
+
$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;
|
|
63
|
+
} & Readonly<{
|
|
64
|
+
type: "scroll" | "always" | "auto" | "hover";
|
|
65
|
+
scrollHideDelay: number;
|
|
66
|
+
}> & Omit<Readonly<ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "viewport" | "scrollTop" | "scrollTopLeft"> & import('vue').ShallowUnwrapRef<{
|
|
67
|
+
viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
68
|
+
scrollTop: () => void;
|
|
69
|
+
scrollTopLeft: () => void;
|
|
70
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
71
|
+
$slots: {
|
|
72
|
+
default?: (props: {}) => any;
|
|
73
|
+
};
|
|
74
|
+
}) | null;
|
|
75
|
+
};
|
|
12
76
|
rootEl: any;
|
|
13
77
|
};
|
|
14
78
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
79
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
80
|
+
tableWrapperRef: import('vue').Ref<({
|
|
81
|
+
$: import('vue').ComponentInternalInstance;
|
|
82
|
+
$data: {};
|
|
83
|
+
$props: {
|
|
84
|
+
readonly type?: ("scroll" | "always" | "auto" | "hover") | undefined;
|
|
85
|
+
readonly dir?: ("ltr" | "rtl") | undefined;
|
|
86
|
+
readonly scrollHideDelay?: number | undefined;
|
|
87
|
+
readonly asChild?: boolean | undefined;
|
|
88
|
+
readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
|
|
89
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
90
|
+
$attrs: {
|
|
91
|
+
[x: string]: unknown;
|
|
92
|
+
};
|
|
93
|
+
$refs: {
|
|
94
|
+
[x: string]: unknown;
|
|
95
|
+
};
|
|
96
|
+
$slots: Readonly<{
|
|
97
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
98
|
+
}>;
|
|
99
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
100
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
101
|
+
$host: Element | null;
|
|
102
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
103
|
+
$el: any;
|
|
104
|
+
$options: import('vue').ComponentOptionsBase<Readonly<ScrollAreaRootProps> & Readonly<{}>, {
|
|
105
|
+
viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
106
|
+
scrollTop: () => void;
|
|
107
|
+
scrollTopLeft: () => void;
|
|
108
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
109
|
+
type: "scroll" | "always" | "auto" | "hover";
|
|
110
|
+
scrollHideDelay: number;
|
|
111
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
112
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
113
|
+
created?: (() => void) | (() => void)[];
|
|
114
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
115
|
+
mounted?: (() => void) | (() => void)[];
|
|
116
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
117
|
+
updated?: (() => void) | (() => void)[];
|
|
118
|
+
activated?: (() => void) | (() => void)[];
|
|
119
|
+
deactivated?: (() => void) | (() => void)[];
|
|
120
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
121
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
122
|
+
destroyed?: (() => void) | (() => void)[];
|
|
123
|
+
unmounted?: (() => void) | (() => void)[];
|
|
124
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
125
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
126
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
127
|
+
};
|
|
128
|
+
$forceUpdate: () => void;
|
|
129
|
+
$nextTick: typeof import('vue').nextTick;
|
|
130
|
+
$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;
|
|
131
|
+
} & Readonly<{
|
|
132
|
+
type: "scroll" | "always" | "auto" | "hover";
|
|
133
|
+
scrollHideDelay: number;
|
|
134
|
+
}> & Omit<Readonly<ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "viewport" | "scrollTop" | "scrollTopLeft"> & import('vue').ShallowUnwrapRef<{
|
|
135
|
+
viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
136
|
+
scrollTop: () => void;
|
|
137
|
+
scrollTopLeft: () => void;
|
|
138
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
139
|
+
$slots: {
|
|
140
|
+
default?: (props: {}) => any;
|
|
141
|
+
};
|
|
142
|
+
}) | null, ({
|
|
143
|
+
$: import('vue').ComponentInternalInstance;
|
|
144
|
+
$data: {};
|
|
145
|
+
$props: {
|
|
146
|
+
readonly type?: ("scroll" | "always" | "auto" | "hover") | undefined;
|
|
147
|
+
readonly dir?: ("ltr" | "rtl") | undefined;
|
|
148
|
+
readonly scrollHideDelay?: number | undefined;
|
|
149
|
+
readonly asChild?: boolean | undefined;
|
|
150
|
+
readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
|
|
151
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
152
|
+
$attrs: {
|
|
153
|
+
[x: string]: unknown;
|
|
154
|
+
};
|
|
155
|
+
$refs: {
|
|
156
|
+
[x: string]: unknown;
|
|
157
|
+
};
|
|
158
|
+
$slots: Readonly<{
|
|
159
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
160
|
+
}>;
|
|
161
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
162
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
163
|
+
$host: Element | null;
|
|
164
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
165
|
+
$el: any;
|
|
166
|
+
$options: import('vue').ComponentOptionsBase<Readonly<ScrollAreaRootProps> & Readonly<{}>, {
|
|
167
|
+
viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
168
|
+
scrollTop: () => void;
|
|
169
|
+
scrollTopLeft: () => void;
|
|
170
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
171
|
+
type: "scroll" | "always" | "auto" | "hover";
|
|
172
|
+
scrollHideDelay: number;
|
|
173
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
174
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
175
|
+
created?: (() => void) | (() => void)[];
|
|
176
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
177
|
+
mounted?: (() => void) | (() => void)[];
|
|
178
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
179
|
+
updated?: (() => void) | (() => void)[];
|
|
180
|
+
activated?: (() => void) | (() => void)[];
|
|
181
|
+
deactivated?: (() => void) | (() => void)[];
|
|
182
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
183
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
184
|
+
destroyed?: (() => void) | (() => void)[];
|
|
185
|
+
unmounted?: (() => void) | (() => void)[];
|
|
186
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
187
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
188
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
189
|
+
};
|
|
190
|
+
$forceUpdate: () => void;
|
|
191
|
+
$nextTick: typeof import('vue').nextTick;
|
|
192
|
+
$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;
|
|
193
|
+
} & Readonly<{
|
|
194
|
+
type: "scroll" | "always" | "auto" | "hover";
|
|
195
|
+
scrollHideDelay: number;
|
|
196
|
+
}> & Omit<Readonly<ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "viewport" | "scrollTop" | "scrollTopLeft"> & import('vue').ShallowUnwrapRef<{
|
|
197
|
+
viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
198
|
+
scrollTop: () => void;
|
|
199
|
+
scrollTopLeft: () => void;
|
|
200
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
201
|
+
$slots: {
|
|
202
|
+
default?: (props: {}) => any;
|
|
203
|
+
};
|
|
204
|
+
}) | null>;
|
|
205
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
206
|
+
tableWrapperRef: ({
|
|
207
|
+
$: import('vue').ComponentInternalInstance;
|
|
208
|
+
$data: {};
|
|
209
|
+
$props: {
|
|
210
|
+
readonly type?: ("scroll" | "always" | "auto" | "hover") | undefined;
|
|
211
|
+
readonly dir?: ("ltr" | "rtl") | undefined;
|
|
212
|
+
readonly scrollHideDelay?: number | undefined;
|
|
213
|
+
readonly asChild?: boolean | undefined;
|
|
214
|
+
readonly as?: (import('reka-ui').AsTag | import('vue').Component) | undefined;
|
|
215
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
|
|
216
|
+
$attrs: {
|
|
217
|
+
[x: string]: unknown;
|
|
218
|
+
};
|
|
219
|
+
$refs: {
|
|
220
|
+
[x: string]: unknown;
|
|
221
|
+
};
|
|
222
|
+
$slots: Readonly<{
|
|
223
|
+
[name: string]: import('vue').Slot<any> | undefined;
|
|
224
|
+
}>;
|
|
225
|
+
$root: import('vue').ComponentPublicInstance | null;
|
|
226
|
+
$parent: import('vue').ComponentPublicInstance | null;
|
|
227
|
+
$host: Element | null;
|
|
228
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
229
|
+
$el: any;
|
|
230
|
+
$options: import('vue').ComponentOptionsBase<Readonly<ScrollAreaRootProps> & Readonly<{}>, {
|
|
231
|
+
viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
232
|
+
scrollTop: () => void;
|
|
233
|
+
scrollTopLeft: () => void;
|
|
234
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
235
|
+
type: "scroll" | "always" | "auto" | "hover";
|
|
236
|
+
scrollHideDelay: number;
|
|
237
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
238
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
239
|
+
created?: (() => void) | (() => void)[];
|
|
240
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
241
|
+
mounted?: (() => void) | (() => void)[];
|
|
242
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
243
|
+
updated?: (() => void) | (() => void)[];
|
|
244
|
+
activated?: (() => void) | (() => void)[];
|
|
245
|
+
deactivated?: (() => void) | (() => void)[];
|
|
246
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
247
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
248
|
+
destroyed?: (() => void) | (() => void)[];
|
|
249
|
+
unmounted?: (() => void) | (() => void)[];
|
|
250
|
+
renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
251
|
+
renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
|
|
252
|
+
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
253
|
+
};
|
|
254
|
+
$forceUpdate: () => void;
|
|
255
|
+
$nextTick: typeof import('vue').nextTick;
|
|
256
|
+
$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;
|
|
257
|
+
} & Readonly<{
|
|
258
|
+
type: "scroll" | "always" | "auto" | "hover";
|
|
259
|
+
scrollHideDelay: number;
|
|
260
|
+
}> & Omit<Readonly<ScrollAreaRootProps> & Readonly<{}>, "type" | "scrollHideDelay" | "viewport" | "scrollTop" | "scrollTopLeft"> & import('vue').ShallowUnwrapRef<{
|
|
261
|
+
viewport: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
262
|
+
scrollTop: () => void;
|
|
263
|
+
scrollTopLeft: () => void;
|
|
264
|
+
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
265
|
+
$slots: {
|
|
266
|
+
default?: (props: {}) => any;
|
|
267
|
+
};
|
|
268
|
+
}) | null;
|
|
269
|
+
}, any>;
|
|
16
270
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
17
271
|
export default _default;
|
|
18
272
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as a } from "../../BuiScrollArea.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { _ as e } from "../../BuiScrollBar.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { _ as a } from "../../BuiScrollArea.vue_vue_type_script_setup_true_lang-lyWD8KAT.js";
|
|
2
|
+
import { _ as e } from "../../BuiScrollBar.vue_vue_type_script_setup_true_lang-BCvjzEmb.js";
|
|
3
3
|
export {
|
|
4
4
|
a as BuiScrollArea,
|
|
5
5
|
e as BuiScrollBar
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
import { ColumnDef, ColumnOrderState,
|
|
1
|
+
import { ColumnDef, ColumnOrderState, Row, RowSelectionState, SortingState, VisibilityState, PaginationState } from '@tanstack/vue-table';
|
|
2
|
+
export type PaginationAutoState = PaginationState & {
|
|
3
|
+
pageAuto?: boolean;
|
|
4
|
+
};
|
|
2
5
|
declare const _default: <TData, TValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
3
6
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
7
|
readonly "onUpdate:sorting"?: ((value: SortingState) => any) | undefined;
|
|
5
|
-
readonly "onUpdate:pagination"?: ((value:
|
|
8
|
+
readonly "onUpdate:pagination"?: ((value: PaginationAutoState) => any) | undefined;
|
|
6
9
|
readonly "onUpdate:selection"?: ((value: RowSelectionState) => any) | undefined;
|
|
7
10
|
readonly "onUpdate:columnVisibility"?: ((value: VisibilityState) => any) | undefined;
|
|
8
11
|
readonly "onUpdate:columnOrder"?: ((value: ColumnOrderState) => any) | undefined;
|
|
9
12
|
readonly "onUpdate:columnSizing"?: ((value: Record<string, number>) => any) | undefined;
|
|
10
13
|
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, never>, "onUpdate:sorting" | "onUpdate:pagination" | "onUpdate:selection" | "onUpdate:columnVisibility" | "onUpdate:columnOrder" | "onUpdate:columnSizing"> & ({
|
|
11
14
|
sorting?: SortingState;
|
|
12
|
-
pagination?:
|
|
15
|
+
pagination?: PaginationAutoState;
|
|
13
16
|
selection?: RowSelectionState;
|
|
14
17
|
columnVisibility?: VisibilityState;
|
|
15
18
|
columnOrder?: ColumnOrderState;
|
|
@@ -35,11 +38,13 @@ declare const _default: <TData, TValue>(__VLS_props: NonNullable<Awaited<typeof
|
|
|
35
38
|
columnResetVisibility?: string;
|
|
36
39
|
paginationTranslations?: {
|
|
37
40
|
itemsPerPage: string;
|
|
41
|
+
itemsPerPageAuto: string;
|
|
38
42
|
page: string;
|
|
39
43
|
of: string;
|
|
40
44
|
};
|
|
41
45
|
headerContextMenuTranslations?: {
|
|
42
46
|
hideColumn?: string;
|
|
47
|
+
resetThisSize?: string;
|
|
43
48
|
resetSize?: string;
|
|
44
49
|
sortAsc?: string;
|
|
45
50
|
sortDesc?: string;
|
|
@@ -69,7 +74,7 @@ declare const _default: <TData, TValue>(__VLS_props: NonNullable<Awaited<typeof
|
|
|
69
74
|
nodata?(_: {}): any;
|
|
70
75
|
numberOfItems?(_: {}): any;
|
|
71
76
|
};
|
|
72
|
-
emit: ((evt: "update:sorting", value: SortingState) => void) & ((evt: "update:pagination", value:
|
|
77
|
+
emit: ((evt: "update:sorting", value: SortingState) => void) & ((evt: "update:pagination", value: PaginationAutoState) => void) & ((evt: "update:selection", value: RowSelectionState) => void) & ((evt: "update:columnVisibility", value: VisibilityState) => void) & ((evt: "update:columnOrder", value: ColumnOrderState) => void) & ((evt: "update:columnSizing", value: Record<string, number>) => void);
|
|
73
78
|
}>) => import('vue').VNode & {
|
|
74
79
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
75
80
|
};
|