x-next 0.0.0-alpha.74 → 0.0.0-alpha.75
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/_utils/config.d.ts +5 -0
- package/dist/_utils/date.d.ts +40 -0
- package/dist/_utils/pad.d.ts +2 -0
- package/dist/components/_components/render-function/index.d.ts +14 -0
- package/dist/components/button/Button.d.ts +2 -2
- package/dist/components/button/index.d.ts +4 -4
- package/dist/components/drawer/index.d.ts +8 -8
- package/dist/components/drawer/src/Drawer.vue.d.ts +4 -4
- package/dist/components/dropdown/DropdownButton.vue.d.ts +4 -4
- package/dist/components/dropdown/index.d.ts +8 -8
- package/dist/components/form-select/Select.d.ts +5 -5
- package/dist/components/form-select/SelectDropdown.vue.d.ts +11 -11
- package/dist/components/form-textarea/Textarea.vue.d.ts +390 -0
- package/dist/components/form-textarea/index.d.ts +525 -0
- package/dist/components/form-textarea/utils.d.ts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/popconfirm/src/popup.vue.d.ts +4 -4
- package/dist/icons/_ui/alone-left.d.ts +50 -0
- package/dist/icons/_ui/alone-margin-left.d.ts +50 -0
- package/dist/icons/_ui/alone-margin-right.d.ts +50 -0
- package/dist/icons/_ui/alone-right.d.ts +50 -0
- package/dist/icons/_ui/calendar.d.ts +50 -0
- package/dist/icons/_ui/time.d.ts +50 -0
- package/dist/index.es.js +5361 -5001
- package/dist/index.umd.js +3 -2
- package/dist/style.css +1 -1
- package/dist/types.d.ts +1 -0
- package/package.json +4 -3
- package/volar.d.ts +3 -0
- /package/dist/_container/{resize-observer-2.d.ts → resize-observer-v2.d.ts} +0 -0
package/dist/_utils/config.d.ts
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
export declare const COMPONENT_INSTALLED_KEY: unique symbol;
|
2
2
|
export declare const getClassPrefix: (name?: string) => string;
|
3
3
|
export declare const getComponentPrefix: (name: string) => `X${string}`;
|
4
|
+
/**
|
5
|
+
* 获取去除X前缀的组件名
|
6
|
+
* @param str
|
7
|
+
*/
|
8
|
+
export declare const getRemovePrefixComponentName: (str: string) => string;
|
4
9
|
export declare const getClassNameMixin: (name: string) => {
|
5
10
|
block: string;
|
6
11
|
element: (className: string) => string;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { default as originDayjs, Dayjs, OpUnitType, UnitType } from 'dayjs';
|
2
|
+
export declare const dayjs: typeof originDayjs;
|
3
|
+
export declare const methods: {
|
4
|
+
add(time: Dayjs, value: number, unit: UnitType): originDayjs.Dayjs;
|
5
|
+
subtract(time: Dayjs, value: number, unit: UnitType): originDayjs.Dayjs;
|
6
|
+
startOf(time: Dayjs, unit: OpUnitType): originDayjs.Dayjs;
|
7
|
+
/**
|
8
|
+
* Similar to `startOf`, returns start date of a week; used in week pickers
|
9
|
+
* @param time Selected date
|
10
|
+
* @param weekStart Start day of a week
|
11
|
+
* @returns Start date of the week containing the selected date
|
12
|
+
*/
|
13
|
+
startOfWeek(time: Dayjs, weekStart: number): originDayjs.Dayjs;
|
14
|
+
endOf(time: Dayjs, unit: OpUnitType): originDayjs.Dayjs;
|
15
|
+
set(time: Dayjs, unit: UnitType, value: number): originDayjs.Dayjs;
|
16
|
+
isSameWeek(date1: Dayjs, date2: Dayjs, weekStart: number): boolean;
|
17
|
+
};
|
18
|
+
export declare function getNow(): originDayjs.Dayjs;
|
19
|
+
export declare function getSortedDayjsArray(values: Dayjs[]): originDayjs.Dayjs[];
|
20
|
+
export declare function isValueChange(prevValue: Dayjs | (Dayjs | undefined)[] | undefined, currentValue: Dayjs | (Dayjs | undefined)[] | undefined): boolean;
|
21
|
+
type DateValue = Date | string | number;
|
22
|
+
export declare function getDayjsValue(time: DateValue, format: string): Dayjs;
|
23
|
+
export declare function getDayjsValue(time: DateValue | undefined, format: string): Dayjs | undefined;
|
24
|
+
export declare function getDayjsValue(time: DateValue[], format: string): Dayjs[];
|
25
|
+
export declare function getDayjsValue(time: DateValue[] | undefined, format: string): Dayjs[] | undefined;
|
26
|
+
export declare function getDayjsValue(time: (DateValue | undefined)[], format: string): (Dayjs | undefined)[];
|
27
|
+
export declare function getDayjsValue(time: (DateValue | undefined)[] | undefined, format: string): (Dayjs | undefined)[] | undefined;
|
28
|
+
export declare function getDayjsValue(time: DateValue | (DateValue | undefined)[] | undefined, format: string): Dayjs | (Dayjs | undefined)[] | undefined;
|
29
|
+
export declare function getDateValue(value: Dayjs): Date;
|
30
|
+
export declare function getDateValue(value: Dayjs | undefined): Date | undefined;
|
31
|
+
export declare function getDateValue(value: Dayjs[]): Date[];
|
32
|
+
export declare function getDateValue(value: (Dayjs | undefined)[]): (Date | undefined)[];
|
33
|
+
export declare function getDateValue(value: (Dayjs | undefined)[] | undefined): (Date | undefined)[] | undefined;
|
34
|
+
export declare function getDateValue(value: Dayjs | (Dayjs | undefined)[]): Date | (Date | undefined)[];
|
35
|
+
export declare function getDateValue(value: Dayjs | (Dayjs | undefined)[] | undefined): Date | (Date | undefined)[] | undefined;
|
36
|
+
export declare function initializeDateLocale(localeName: string, weekStart: number): void;
|
37
|
+
export declare function pickDataAttributes<T extends Record<string, any>, K extends keyof T>(obj: T): {
|
38
|
+
[key in K]: any;
|
39
|
+
};
|
40
|
+
export {};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { PropType, VNodeTypes } from 'vue';
|
2
|
+
export type RenderFunc = (props: Record<string, unknown>) => VNodeTypes;
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
4
|
+
renderFunc: {
|
5
|
+
type: PropType<RenderFunc>;
|
6
|
+
required: true;
|
7
|
+
};
|
8
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
9
|
+
renderFunc: {
|
10
|
+
type: PropType<RenderFunc>;
|
11
|
+
required: true;
|
12
|
+
};
|
13
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
14
|
+
export default _default;
|
@@ -111,8 +111,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
111
111
|
narrow: boolean;
|
112
112
|
}, SlotsType<{
|
113
113
|
default: () => any;
|
114
|
-
prefix: any;
|
115
|
-
suffix: any;
|
114
|
+
prefix: () => any;
|
115
|
+
suffix: () => any;
|
116
116
|
icon: any;
|
117
117
|
}>, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
118
118
|
export default _default;
|
@@ -65,8 +65,8 @@ export declare const Button: {
|
|
65
65
|
narrow: boolean;
|
66
66
|
}, true, {}, import('vue').SlotsType<{
|
67
67
|
default: () => any;
|
68
|
-
prefix: any;
|
69
|
-
suffix: any;
|
68
|
+
prefix: () => any;
|
69
|
+
suffix: () => any;
|
70
70
|
icon: any;
|
71
71
|
}>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
72
72
|
P: {};
|
@@ -207,8 +207,8 @@ export declare const Button: {
|
|
207
207
|
narrow: boolean;
|
208
208
|
}, {}, string, import('vue').SlotsType<{
|
209
209
|
default: () => any;
|
210
|
-
prefix: any;
|
211
|
-
suffix: any;
|
210
|
+
prefix: () => any;
|
211
|
+
suffix: () => any;
|
212
212
|
icon: any;
|
213
213
|
}>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
214
214
|
install(app: import('vue').App): void;
|
@@ -184,8 +184,8 @@ export declare const Drawer: {
|
|
184
184
|
narrow: boolean;
|
185
185
|
}, true, {}, import('vue').SlotsType<{
|
186
186
|
default: () => any;
|
187
|
-
prefix: any;
|
188
|
-
suffix: any;
|
187
|
+
prefix: () => any;
|
188
|
+
suffix: () => any;
|
189
189
|
icon: any;
|
190
190
|
}>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
191
191
|
P: {};
|
@@ -326,8 +326,8 @@ export declare const Drawer: {
|
|
326
326
|
narrow: boolean;
|
327
327
|
}, {}, string, import('vue').SlotsType<{
|
328
328
|
default: () => any;
|
329
|
-
prefix: any;
|
330
|
-
suffix: any;
|
329
|
+
prefix: () => any;
|
330
|
+
suffix: () => any;
|
331
331
|
icon: any;
|
332
332
|
}>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
333
333
|
install(app: import('vue').App): void;
|
@@ -1054,8 +1054,8 @@ export declare const Drawer: {
|
|
1054
1054
|
narrow: boolean;
|
1055
1055
|
}, true, {}, import('vue').SlotsType<{
|
1056
1056
|
default: () => any;
|
1057
|
-
prefix: any;
|
1058
|
-
suffix: any;
|
1057
|
+
prefix: () => any;
|
1058
|
+
suffix: () => any;
|
1059
1059
|
icon: any;
|
1060
1060
|
}>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
1061
1061
|
P: {};
|
@@ -1196,8 +1196,8 @@ export declare const Drawer: {
|
|
1196
1196
|
narrow: boolean;
|
1197
1197
|
}, {}, string, import('vue').SlotsType<{
|
1198
1198
|
default: () => any;
|
1199
|
-
prefix: any;
|
1200
|
-
suffix: any;
|
1199
|
+
prefix: () => any;
|
1200
|
+
suffix: () => any;
|
1201
1201
|
icon: any;
|
1202
1202
|
}>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
1203
1203
|
install(app: import('vue').App): void;
|
@@ -255,8 +255,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
255
255
|
narrow: boolean;
|
256
256
|
}, true, {}, import('vue').SlotsType<{
|
257
257
|
default: () => any;
|
258
|
-
prefix: any;
|
259
|
-
suffix: any;
|
258
|
+
prefix: () => any;
|
259
|
+
suffix: () => any;
|
260
260
|
icon: any;
|
261
261
|
}>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
262
262
|
P: {};
|
@@ -397,8 +397,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
397
397
|
narrow: boolean;
|
398
398
|
}, {}, string, import('vue').SlotsType<{
|
399
399
|
default: () => any;
|
400
|
-
prefix: any;
|
401
|
-
suffix: any;
|
400
|
+
prefix: () => any;
|
401
|
+
suffix: () => any;
|
402
402
|
icon: any;
|
403
403
|
}>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
404
404
|
install(app: import('vue').App): void;
|
@@ -323,8 +323,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
323
323
|
narrow: boolean;
|
324
324
|
}, true, {}, import('vue').SlotsType<{
|
325
325
|
default: () => any;
|
326
|
-
prefix: any;
|
327
|
-
suffix: any;
|
326
|
+
prefix: () => any;
|
327
|
+
suffix: () => any;
|
328
328
|
icon: any;
|
329
329
|
}>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
330
330
|
P: {};
|
@@ -465,8 +465,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
465
465
|
narrow: boolean;
|
466
466
|
}, {}, string, import('vue').SlotsType<{
|
467
467
|
default: () => any;
|
468
|
-
prefix: any;
|
469
|
-
suffix: any;
|
468
|
+
prefix: () => any;
|
469
|
+
suffix: () => any;
|
470
470
|
icon: any;
|
471
471
|
}>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
472
472
|
install(app: import('vue').App): void;
|
@@ -4814,8 +4814,8 @@ export declare const DropdownButton: {
|
|
4814
4814
|
narrow: boolean;
|
4815
4815
|
}, true, {}, import('vue').SlotsType<{
|
4816
4816
|
default: () => any;
|
4817
|
-
prefix: any;
|
4818
|
-
suffix: any;
|
4817
|
+
prefix: () => any;
|
4818
|
+
suffix: () => any;
|
4819
4819
|
icon: any;
|
4820
4820
|
}>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
4821
4821
|
P: {};
|
@@ -4956,8 +4956,8 @@ export declare const DropdownButton: {
|
|
4956
4956
|
narrow: boolean;
|
4957
4957
|
}, {}, string, import('vue').SlotsType<{
|
4958
4958
|
default: () => any;
|
4959
|
-
prefix: any;
|
4960
|
-
suffix: any;
|
4959
|
+
prefix: () => any;
|
4960
|
+
suffix: () => any;
|
4961
4961
|
icon: any;
|
4962
4962
|
}>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
4963
4963
|
install(app: import('vue').App): void;
|
@@ -6378,8 +6378,8 @@ export declare const DropdownButton: {
|
|
6378
6378
|
narrow: boolean;
|
6379
6379
|
}, true, {}, import('vue').SlotsType<{
|
6380
6380
|
default: () => any;
|
6381
|
-
prefix: any;
|
6382
|
-
suffix: any;
|
6381
|
+
prefix: () => any;
|
6382
|
+
suffix: () => any;
|
6383
6383
|
icon: any;
|
6384
6384
|
}>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
6385
6385
|
P: {};
|
@@ -6520,8 +6520,8 @@ export declare const DropdownButton: {
|
|
6520
6520
|
narrow: boolean;
|
6521
6521
|
}, {}, string, import('vue').SlotsType<{
|
6522
6522
|
default: () => any;
|
6523
|
-
prefix: any;
|
6524
|
-
suffix: any;
|
6523
|
+
prefix: () => any;
|
6524
|
+
suffix: () => any;
|
6525
6525
|
icon: any;
|
6526
6526
|
}>, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
6527
6527
|
install(app: import('vue').App): void;
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { PropType } from 'vue';
|
2
|
-
import { TriggerProps } from '../trigger
|
2
|
+
import { TriggerProps } from '../trigger';
|
3
3
|
import { Size } from '../../_utils/constant';
|
4
4
|
import { Data } from '../../_utils/types';
|
5
5
|
import { SelectFieldNames, SelectOptionData, SelectOptionGroup } from './interface';
|
6
6
|
import { VirtualListProps } from '../virtual-list-v2/interface';
|
7
7
|
import { SelectViewValue } from '../_components/select-view/interface';
|
8
|
-
import { ScrollbarProps } from '../scrollbar-v2
|
8
|
+
import { ScrollbarProps } from '../scrollbar-v2';
|
9
9
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
10
10
|
/**
|
11
11
|
* @zh 是否开启多选模式(多选模式默认开启搜索)
|
@@ -714,7 +714,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
714
714
|
default: number;
|
715
715
|
};
|
716
716
|
popupTranslate: {
|
717
|
-
type: PropType<import('../trigger/interface').TriggerPopupTranslate>;
|
717
|
+
type: PropType<import('../trigger/interface.ts').TriggerPopupTranslate>;
|
718
718
|
};
|
719
719
|
showArrow: {
|
720
720
|
type: BooleanConstructor;
|
@@ -908,7 +908,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
908
908
|
default: number;
|
909
909
|
};
|
910
910
|
popupTranslate: {
|
911
|
-
type: PropType<import('../trigger/interface').TriggerPopupTranslate>;
|
911
|
+
type: PropType<import('../trigger/interface.ts').TriggerPopupTranslate>;
|
912
912
|
};
|
913
913
|
showArrow: {
|
914
914
|
type: BooleanConstructor;
|
@@ -1090,7 +1090,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
1090
1090
|
default: number;
|
1091
1091
|
};
|
1092
1092
|
popupTranslate: {
|
1093
|
-
type: PropType<import('../trigger/interface').TriggerPopupTranslate>;
|
1093
|
+
type: PropType<import('../trigger/interface.ts').TriggerPopupTranslate>;
|
1094
1094
|
};
|
1095
1095
|
showArrow: {
|
1096
1096
|
type: BooleanConstructor;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { PropType } from 'vue';
|
2
2
|
import { EmitType } from '../../_hooks/_types.ts';
|
3
|
-
import { ScrollbarProps } from '../scrollbar-v2
|
3
|
+
import { ScrollbarProps } from '../scrollbar-v2';
|
4
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
5
5
|
loading: BooleanConstructor;
|
6
6
|
empty: BooleanConstructor;
|
@@ -116,8 +116,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
116
116
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
117
117
|
horizontalThumbRef: import('vue').Ref<any, any>;
|
118
118
|
verticalThumbRef: import('vue').Ref<any, any>;
|
119
|
-
horizontalData: import('vue').Ref<import('../scrollbar-v2/interface').ThumbData | undefined, import('../scrollbar-v2/interface').ThumbData | undefined>;
|
120
|
-
verticalData: import('vue').Ref<import('../scrollbar-v2/interface').ThumbData | undefined, import('../scrollbar-v2/interface').ThumbData | undefined>;
|
119
|
+
horizontalData: import('vue').Ref<import('../scrollbar-v2/interface.ts').ThumbData | undefined, import('../scrollbar-v2/interface.ts').ThumbData | undefined>;
|
120
|
+
verticalData: import('vue').Ref<import('../scrollbar-v2/interface.ts').ThumbData | undefined, import('../scrollbar-v2/interface.ts').ThumbData | undefined>;
|
121
121
|
isBoth: import('vue').Ref<boolean, boolean>;
|
122
122
|
hasHorizontalScrollbar: import('vue').ComputedRef<boolean>;
|
123
123
|
hasVerticalScrollbar: import('vue').ComputedRef<boolean>;
|
@@ -153,7 +153,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
153
153
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
154
154
|
Thumb: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
155
155
|
data: {
|
156
|
-
type: PropType<import('../scrollbar-v2/interface').ThumbData>;
|
156
|
+
type: PropType<import('../scrollbar-v2/interface.ts').ThumbData>;
|
157
157
|
};
|
158
158
|
direction: {
|
159
159
|
type: PropType<import('../../_utils/constant.ts').Direction>;
|
@@ -188,7 +188,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
188
188
|
setOffset: (_offset: number) => void;
|
189
189
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "scroll"[], "scroll", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
190
190
|
data: {
|
191
|
-
type: PropType<import('../scrollbar-v2/interface').ThumbData>;
|
191
|
+
type: PropType<import('../scrollbar-v2/interface.ts').ThumbData>;
|
192
192
|
};
|
193
193
|
direction: {
|
194
194
|
type: PropType<import('../../_utils/constant.ts').Direction>;
|
@@ -251,8 +251,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
251
251
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
252
252
|
horizontalThumbRef: import('vue').Ref<any, any>;
|
253
253
|
verticalThumbRef: import('vue').Ref<any, any>;
|
254
|
-
horizontalData: import('vue').Ref<import('../scrollbar-v2/interface').ThumbData | undefined, import('../scrollbar-v2/interface').ThumbData | undefined>;
|
255
|
-
verticalData: import('vue').Ref<import('../scrollbar-v2/interface').ThumbData | undefined, import('../scrollbar-v2/interface').ThumbData | undefined>;
|
254
|
+
horizontalData: import('vue').Ref<import('../scrollbar-v2/interface.ts').ThumbData | undefined, import('../scrollbar-v2/interface.ts').ThumbData | undefined>;
|
255
|
+
verticalData: import('vue').Ref<import('../scrollbar-v2/interface.ts').ThumbData | undefined, import('../scrollbar-v2/interface.ts').ThumbData | undefined>;
|
256
256
|
isBoth: import('vue').Ref<boolean, boolean>;
|
257
257
|
hasHorizontalScrollbar: import('vue').ComputedRef<boolean>;
|
258
258
|
hasVerticalScrollbar: import('vue').ComputedRef<boolean>;
|
@@ -311,8 +311,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
311
311
|
containerRef: import('vue').Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
312
312
|
horizontalThumbRef: import('vue').Ref<any, any>;
|
313
313
|
verticalThumbRef: import('vue').Ref<any, any>;
|
314
|
-
horizontalData: import('vue').Ref<import('../scrollbar-v2/interface').ThumbData | undefined, import('../scrollbar-v2/interface').ThumbData | undefined>;
|
315
|
-
verticalData: import('vue').Ref<import('../scrollbar-v2/interface').ThumbData | undefined, import('../scrollbar-v2/interface').ThumbData | undefined>;
|
314
|
+
horizontalData: import('vue').Ref<import('../scrollbar-v2/interface.ts').ThumbData | undefined, import('../scrollbar-v2/interface.ts').ThumbData | undefined>;
|
315
|
+
verticalData: import('vue').Ref<import('../scrollbar-v2/interface.ts').ThumbData | undefined, import('../scrollbar-v2/interface.ts').ThumbData | undefined>;
|
316
316
|
isBoth: import('vue').Ref<boolean, boolean>;
|
317
317
|
hasHorizontalScrollbar: import('vue').ComputedRef<boolean>;
|
318
318
|
hasVerticalScrollbar: import('vue').ComputedRef<boolean>;
|
@@ -348,7 +348,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
348
348
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
349
349
|
Thumb: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
350
350
|
data: {
|
351
|
-
type: PropType<import('../scrollbar-v2/interface').ThumbData>;
|
351
|
+
type: PropType<import('../scrollbar-v2/interface.ts').ThumbData>;
|
352
352
|
};
|
353
353
|
direction: {
|
354
354
|
type: PropType<import('../../_utils/constant.ts').Direction>;
|
@@ -383,7 +383,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
383
383
|
setOffset: (_offset: number) => void;
|
384
384
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "scroll"[], "scroll", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
385
385
|
data: {
|
386
|
-
type: PropType<import('../scrollbar-v2/interface').ThumbData>;
|
386
|
+
type: PropType<import('../scrollbar-v2/interface.ts').ThumbData>;
|
387
387
|
};
|
388
388
|
direction: {
|
389
389
|
type: PropType<import('../../_utils/constant.ts').Direction>;
|