@creatorsn/vfluent3 0.3.51 → 0.3.53
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/style.css +1 -1
- package/dist/types/packages/color-picker/index.d.ts +66 -3
- package/dist/types/packages/color-picker/source/index.vue.d.ts +66 -3
- package/dist/types/packages/index.d.ts +3 -0
- package/dist/types/packages/navigation-panel/index.d.ts +2 -0
- package/dist/types/packages/navigation-panel/source/index.vue.d.ts +2 -0
- package/dist/types/packages/navigation-view/index.d.ts +2 -0
- package/dist/types/packages/navigation-view/source/index.vue.d.ts +2 -0
- package/dist/types/packages/tab-view/index.d.ts +290 -0
- package/dist/types/packages/tab-view/source/index.vue.d.ts +289 -0
- package/dist/types/packages/tab-view/style/index.d.ts +3 -0
- package/dist/types/packages/verify-box/index.d.ts +3 -0
- package/dist/types/packages/verify-box/source/index.vue.d.ts +3 -0
- package/dist/vfluent3.js +3695 -3162
- package/dist/vfluent3.umd.cjs +9 -9
- package/package.json +1 -1
|
@@ -7,9 +7,13 @@ export declare const FvColorPicker: import("../../types/plugins/component-plugin
|
|
|
7
7
|
readonly disabled?: boolean | undefined;
|
|
8
8
|
readonly lang?: string | undefined;
|
|
9
9
|
readonly foreground?: string | undefined;
|
|
10
|
+
readonly showValueSlider?: boolean | undefined;
|
|
11
|
+
readonly showSaturationSlider?: boolean | undefined;
|
|
12
|
+
readonly showAlphaSlider?: boolean | undefined;
|
|
13
|
+
readonly hideFields?: boolean | undefined;
|
|
10
14
|
readonly modelValue?: string | undefined;
|
|
11
15
|
};
|
|
12
|
-
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
16
|
+
$emit: (event: "update:modelValue" | "color-info", ...args: any[]) => void;
|
|
13
17
|
}, {
|
|
14
18
|
colorModeOptions: {
|
|
15
19
|
key: string;
|
|
@@ -52,6 +56,7 @@ export declare const FvColorPicker: import("../../types/plugins/component-plugin
|
|
|
52
56
|
}, {
|
|
53
57
|
$theme(): string;
|
|
54
58
|
computedColorPickerClass(): string[];
|
|
59
|
+
hasVisibleControls(): any;
|
|
55
60
|
computedColorPickerStyle(): {
|
|
56
61
|
'--fv-color-picker--color-list': string;
|
|
57
62
|
'--fv-color-picker--color': string;
|
|
@@ -103,6 +108,22 @@ export declare const FvColorPicker: import("../../types/plugins/component-plugin
|
|
|
103
108
|
withSyncLock(task: any): void;
|
|
104
109
|
syncRGBFields(clr: any): void;
|
|
105
110
|
syncText(clr: any, emit?: boolean): void;
|
|
111
|
+
buildColorInfo(clr: any): {
|
|
112
|
+
hex: any;
|
|
113
|
+
rgba: {
|
|
114
|
+
r: any;
|
|
115
|
+
g: any;
|
|
116
|
+
b: any;
|
|
117
|
+
a: number;
|
|
118
|
+
};
|
|
119
|
+
hsla: {
|
|
120
|
+
h: number;
|
|
121
|
+
s: number;
|
|
122
|
+
l: number;
|
|
123
|
+
a: number;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
emitColorChange(clr: any): void;
|
|
106
127
|
syncStateFields(clr: any): void;
|
|
107
128
|
syncPointerFromState(): void;
|
|
108
129
|
syncValueSliderFromState(): void;
|
|
@@ -141,9 +162,13 @@ export declare const FvColorPicker: import("../../types/plugins/component-plugin
|
|
|
141
162
|
readonly disabled?: boolean | undefined;
|
|
142
163
|
readonly lang?: string | undefined;
|
|
143
164
|
readonly foreground?: string | undefined;
|
|
165
|
+
readonly showValueSlider?: boolean | undefined;
|
|
166
|
+
readonly showSaturationSlider?: boolean | undefined;
|
|
167
|
+
readonly showAlphaSlider?: boolean | undefined;
|
|
168
|
+
readonly hideFields?: boolean | undefined;
|
|
144
169
|
readonly modelValue?: string | undefined;
|
|
145
170
|
};
|
|
146
|
-
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
171
|
+
$emit: (event: "update:modelValue" | "color-info", ...args: any[]) => void;
|
|
147
172
|
}, {
|
|
148
173
|
colorModeOptions: {
|
|
149
174
|
key: string;
|
|
@@ -186,6 +211,7 @@ export declare const FvColorPicker: import("../../types/plugins/component-plugin
|
|
|
186
211
|
}, {
|
|
187
212
|
$theme(): string;
|
|
188
213
|
computedColorPickerClass(): string[];
|
|
214
|
+
hasVisibleControls(): any;
|
|
189
215
|
computedColorPickerStyle(): {
|
|
190
216
|
'--fv-color-picker--color-list': string;
|
|
191
217
|
'--fv-color-picker--color': string;
|
|
@@ -237,6 +263,22 @@ export declare const FvColorPicker: import("../../types/plugins/component-plugin
|
|
|
237
263
|
withSyncLock(task: any): void;
|
|
238
264
|
syncRGBFields(clr: any): void;
|
|
239
265
|
syncText(clr: any, emit?: boolean): void;
|
|
266
|
+
buildColorInfo(clr: any): {
|
|
267
|
+
hex: any;
|
|
268
|
+
rgba: {
|
|
269
|
+
r: any;
|
|
270
|
+
g: any;
|
|
271
|
+
b: any;
|
|
272
|
+
a: number;
|
|
273
|
+
};
|
|
274
|
+
hsla: {
|
|
275
|
+
h: number;
|
|
276
|
+
s: number;
|
|
277
|
+
l: number;
|
|
278
|
+
a: number;
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
emitColorChange(clr: any): void;
|
|
240
282
|
syncStateFields(clr: any): void;
|
|
241
283
|
syncPointerFromState(): void;
|
|
242
284
|
syncValueSliderFromState(): void;
|
|
@@ -272,9 +314,13 @@ export declare const FvColorPicker: import("../../types/plugins/component-plugin
|
|
|
272
314
|
readonly disabled?: boolean | undefined;
|
|
273
315
|
readonly lang?: string | undefined;
|
|
274
316
|
readonly foreground?: string | undefined;
|
|
317
|
+
readonly showValueSlider?: boolean | undefined;
|
|
318
|
+
readonly showSaturationSlider?: boolean | undefined;
|
|
319
|
+
readonly showAlphaSlider?: boolean | undefined;
|
|
320
|
+
readonly hideFields?: boolean | undefined;
|
|
275
321
|
readonly modelValue?: string | undefined;
|
|
276
322
|
};
|
|
277
|
-
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
323
|
+
$emit: (event: "update:modelValue" | "color-info", ...args: any[]) => void;
|
|
278
324
|
}, {
|
|
279
325
|
colorModeOptions: {
|
|
280
326
|
key: string;
|
|
@@ -317,6 +363,7 @@ export declare const FvColorPicker: import("../../types/plugins/component-plugin
|
|
|
317
363
|
}, {
|
|
318
364
|
$theme(): string;
|
|
319
365
|
computedColorPickerClass(): string[];
|
|
366
|
+
hasVisibleControls(): any;
|
|
320
367
|
computedColorPickerStyle(): {
|
|
321
368
|
'--fv-color-picker--color-list': string;
|
|
322
369
|
'--fv-color-picker--color': string;
|
|
@@ -368,6 +415,22 @@ export declare const FvColorPicker: import("../../types/plugins/component-plugin
|
|
|
368
415
|
withSyncLock(task: any): void;
|
|
369
416
|
syncRGBFields(clr: any): void;
|
|
370
417
|
syncText(clr: any, emit?: boolean): void;
|
|
418
|
+
buildColorInfo(clr: any): {
|
|
419
|
+
hex: any;
|
|
420
|
+
rgba: {
|
|
421
|
+
r: any;
|
|
422
|
+
g: any;
|
|
423
|
+
b: any;
|
|
424
|
+
a: number;
|
|
425
|
+
};
|
|
426
|
+
hsla: {
|
|
427
|
+
h: number;
|
|
428
|
+
s: number;
|
|
429
|
+
l: number;
|
|
430
|
+
a: number;
|
|
431
|
+
};
|
|
432
|
+
};
|
|
433
|
+
emitColorChange(clr: any): void;
|
|
371
434
|
syncStateFields(clr: any): void;
|
|
372
435
|
syncPointerFromState(): void;
|
|
373
436
|
syncValueSliderFromState(): void;
|
|
@@ -6,9 +6,13 @@ declare const _default: {
|
|
|
6
6
|
readonly disabled?: boolean | undefined;
|
|
7
7
|
readonly lang?: string | undefined;
|
|
8
8
|
readonly foreground?: string | undefined;
|
|
9
|
+
readonly showValueSlider?: boolean | undefined;
|
|
10
|
+
readonly showSaturationSlider?: boolean | undefined;
|
|
11
|
+
readonly showAlphaSlider?: boolean | undefined;
|
|
12
|
+
readonly hideFields?: boolean | undefined;
|
|
9
13
|
readonly modelValue?: string | undefined;
|
|
10
14
|
};
|
|
11
|
-
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
15
|
+
$emit: (event: "update:modelValue" | "color-info", ...args: any[]) => void;
|
|
12
16
|
}, {
|
|
13
17
|
colorModeOptions: {
|
|
14
18
|
key: string;
|
|
@@ -51,6 +55,7 @@ declare const _default: {
|
|
|
51
55
|
}, {
|
|
52
56
|
$theme(): string;
|
|
53
57
|
computedColorPickerClass(): string[];
|
|
58
|
+
hasVisibleControls(): any;
|
|
54
59
|
computedColorPickerStyle(): {
|
|
55
60
|
'--fv-color-picker--color-list': string;
|
|
56
61
|
'--fv-color-picker--color': string;
|
|
@@ -102,6 +107,22 @@ declare const _default: {
|
|
|
102
107
|
withSyncLock(task: any): void;
|
|
103
108
|
syncRGBFields(clr: any): void;
|
|
104
109
|
syncText(clr: any, emit?: boolean): void;
|
|
110
|
+
buildColorInfo(clr: any): {
|
|
111
|
+
hex: any;
|
|
112
|
+
rgba: {
|
|
113
|
+
r: any;
|
|
114
|
+
g: any;
|
|
115
|
+
b: any;
|
|
116
|
+
a: number;
|
|
117
|
+
};
|
|
118
|
+
hsla: {
|
|
119
|
+
h: number;
|
|
120
|
+
s: number;
|
|
121
|
+
l: number;
|
|
122
|
+
a: number;
|
|
123
|
+
};
|
|
124
|
+
};
|
|
125
|
+
emitColorChange(clr: any): void;
|
|
105
126
|
syncStateFields(clr: any): void;
|
|
106
127
|
syncPointerFromState(): void;
|
|
107
128
|
syncValueSliderFromState(): void;
|
|
@@ -140,9 +161,13 @@ declare const _default: {
|
|
|
140
161
|
readonly disabled?: boolean | undefined;
|
|
141
162
|
readonly lang?: string | undefined;
|
|
142
163
|
readonly foreground?: string | undefined;
|
|
164
|
+
readonly showValueSlider?: boolean | undefined;
|
|
165
|
+
readonly showSaturationSlider?: boolean | undefined;
|
|
166
|
+
readonly showAlphaSlider?: boolean | undefined;
|
|
167
|
+
readonly hideFields?: boolean | undefined;
|
|
143
168
|
readonly modelValue?: string | undefined;
|
|
144
169
|
};
|
|
145
|
-
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
170
|
+
$emit: (event: "update:modelValue" | "color-info", ...args: any[]) => void;
|
|
146
171
|
}, {
|
|
147
172
|
colorModeOptions: {
|
|
148
173
|
key: string;
|
|
@@ -185,6 +210,7 @@ declare const _default: {
|
|
|
185
210
|
}, {
|
|
186
211
|
$theme(): string;
|
|
187
212
|
computedColorPickerClass(): string[];
|
|
213
|
+
hasVisibleControls(): any;
|
|
188
214
|
computedColorPickerStyle(): {
|
|
189
215
|
'--fv-color-picker--color-list': string;
|
|
190
216
|
'--fv-color-picker--color': string;
|
|
@@ -236,6 +262,22 @@ declare const _default: {
|
|
|
236
262
|
withSyncLock(task: any): void;
|
|
237
263
|
syncRGBFields(clr: any): void;
|
|
238
264
|
syncText(clr: any, emit?: boolean): void;
|
|
265
|
+
buildColorInfo(clr: any): {
|
|
266
|
+
hex: any;
|
|
267
|
+
rgba: {
|
|
268
|
+
r: any;
|
|
269
|
+
g: any;
|
|
270
|
+
b: any;
|
|
271
|
+
a: number;
|
|
272
|
+
};
|
|
273
|
+
hsla: {
|
|
274
|
+
h: number;
|
|
275
|
+
s: number;
|
|
276
|
+
l: number;
|
|
277
|
+
a: number;
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
emitColorChange(clr: any): void;
|
|
239
281
|
syncStateFields(clr: any): void;
|
|
240
282
|
syncPointerFromState(): void;
|
|
241
283
|
syncValueSliderFromState(): void;
|
|
@@ -271,9 +313,13 @@ declare const _default: {
|
|
|
271
313
|
readonly disabled?: boolean | undefined;
|
|
272
314
|
readonly lang?: string | undefined;
|
|
273
315
|
readonly foreground?: string | undefined;
|
|
316
|
+
readonly showValueSlider?: boolean | undefined;
|
|
317
|
+
readonly showSaturationSlider?: boolean | undefined;
|
|
318
|
+
readonly showAlphaSlider?: boolean | undefined;
|
|
319
|
+
readonly hideFields?: boolean | undefined;
|
|
274
320
|
readonly modelValue?: string | undefined;
|
|
275
321
|
};
|
|
276
|
-
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
322
|
+
$emit: (event: "update:modelValue" | "color-info", ...args: any[]) => void;
|
|
277
323
|
}, {
|
|
278
324
|
colorModeOptions: {
|
|
279
325
|
key: string;
|
|
@@ -316,6 +362,7 @@ declare const _default: {
|
|
|
316
362
|
}, {
|
|
317
363
|
$theme(): string;
|
|
318
364
|
computedColorPickerClass(): string[];
|
|
365
|
+
hasVisibleControls(): any;
|
|
319
366
|
computedColorPickerStyle(): {
|
|
320
367
|
'--fv-color-picker--color-list': string;
|
|
321
368
|
'--fv-color-picker--color': string;
|
|
@@ -367,6 +414,22 @@ declare const _default: {
|
|
|
367
414
|
withSyncLock(task: any): void;
|
|
368
415
|
syncRGBFields(clr: any): void;
|
|
369
416
|
syncText(clr: any, emit?: boolean): void;
|
|
417
|
+
buildColorInfo(clr: any): {
|
|
418
|
+
hex: any;
|
|
419
|
+
rgba: {
|
|
420
|
+
r: any;
|
|
421
|
+
g: any;
|
|
422
|
+
b: any;
|
|
423
|
+
a: number;
|
|
424
|
+
};
|
|
425
|
+
hsla: {
|
|
426
|
+
h: number;
|
|
427
|
+
s: number;
|
|
428
|
+
l: number;
|
|
429
|
+
a: number;
|
|
430
|
+
};
|
|
431
|
+
};
|
|
432
|
+
emitColorChange(clr: any): void;
|
|
370
433
|
syncStateFields(clr: any): void;
|
|
371
434
|
syncPointerFromState(): void;
|
|
372
435
|
syncValueSliderFromState(): void;
|
|
@@ -46,6 +46,7 @@ export * from "./search-box";
|
|
|
46
46
|
export * from "./shimmer";
|
|
47
47
|
export * from "./slider";
|
|
48
48
|
export * from "./swipe-control";
|
|
49
|
+
export * from "./tab-view";
|
|
49
50
|
export * from "./table-view";
|
|
50
51
|
export * from "./table-view-cell-base";
|
|
51
52
|
export * from "./table-view-head-base";
|
|
@@ -105,6 +106,7 @@ import SearchBox from "./search-box";
|
|
|
105
106
|
import Shimmer from "./shimmer";
|
|
106
107
|
import Slider from "./slider";
|
|
107
108
|
import SwipeControl from "./swipe-control";
|
|
109
|
+
import TabView from "./tab-view";
|
|
108
110
|
import TableView from "./table-view";
|
|
109
111
|
import TableViewCellBase from "./table-view-cell-base";
|
|
110
112
|
import TableViewHeadBase from "./table-view-head-base";
|
|
@@ -165,6 +167,7 @@ declare module 'vue' {
|
|
|
165
167
|
FvShimmer: typeof Shimmer;
|
|
166
168
|
FvSlider: typeof Slider;
|
|
167
169
|
FvSwipeControl: typeof SwipeControl;
|
|
170
|
+
FvTabView: typeof TabView;
|
|
168
171
|
FvTableView: typeof TableView;
|
|
169
172
|
FvTableViewCellBase: typeof TableViewCellBase;
|
|
170
173
|
FvTableViewHeadBase: typeof TableViewHeadBase;
|
|
@@ -156,6 +156,8 @@ export declare const FvNavigationPanel: import("../../types/plugins/component-pl
|
|
|
156
156
|
navIcon: (_: {}) => any;
|
|
157
157
|
searchBlock: (_: {}) => any;
|
|
158
158
|
panel: (_: {}) => any;
|
|
159
|
+
setting: (_: {}) => any;
|
|
160
|
+
mask: (_: {}) => any;
|
|
159
161
|
};
|
|
160
162
|
})>;
|
|
161
163
|
export default FvNavigationPanel;
|
|
@@ -0,0 +1,290 @@
|
|
|
1
|
+
import "./style";
|
|
2
|
+
export declare const FvTabView: import("../../types/plugins/component-plugin").ComponentPlugin<{
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
4
|
+
$props: {
|
|
5
|
+
readonly fontSize?: number | undefined;
|
|
6
|
+
readonly background?: string | undefined;
|
|
7
|
+
readonly borderRadius?: number | undefined;
|
|
8
|
+
readonly padding?: string | undefined;
|
|
9
|
+
readonly theme?: string | undefined;
|
|
10
|
+
readonly disabled?: boolean | undefined;
|
|
11
|
+
readonly lang?: string | undefined;
|
|
12
|
+
readonly modelValue?: (() => null) | undefined;
|
|
13
|
+
readonly foreground?: string | undefined;
|
|
14
|
+
readonly hoverBackground?: string | undefined;
|
|
15
|
+
readonly itemHeight?: number | undefined;
|
|
16
|
+
readonly draggable?: boolean | undefined;
|
|
17
|
+
readonly items?: {
|
|
18
|
+
name: string;
|
|
19
|
+
}[] | undefined;
|
|
20
|
+
readonly choosenForeground?: string | undefined;
|
|
21
|
+
readonly itemWidth?: number | undefined;
|
|
22
|
+
readonly chooseBackground?: string | undefined;
|
|
23
|
+
readonly activeBackground?: string | undefined;
|
|
24
|
+
readonly imgBorderRadius?: number | undefined;
|
|
25
|
+
readonly closable?: boolean | undefined;
|
|
26
|
+
readonly showAddButton?: boolean | undefined;
|
|
27
|
+
readonly addButtonIcon?: string | undefined;
|
|
28
|
+
readonly addButtonBackground?: string | undefined;
|
|
29
|
+
readonly addButtonForeground?: string | undefined;
|
|
30
|
+
readonly closeButtonIcon?: string | undefined;
|
|
31
|
+
readonly closeIconSize?: number | undefined;
|
|
32
|
+
readonly closeButtonForeground?: string | undefined;
|
|
33
|
+
readonly overflowMode?: string | undefined;
|
|
34
|
+
};
|
|
35
|
+
$emit: (event: "add" | "change" | "close" | "update:modelValue" | "update:items" | "reorder", ...args: any[]) => void;
|
|
36
|
+
}, {
|
|
37
|
+
thisItems: never[];
|
|
38
|
+
thisValue: null;
|
|
39
|
+
itemKeySeed: number;
|
|
40
|
+
dragState: {
|
|
41
|
+
dragKey: null;
|
|
42
|
+
dragIndex: number;
|
|
43
|
+
dropKey: null;
|
|
44
|
+
dropPosition: string;
|
|
45
|
+
};
|
|
46
|
+
}, {
|
|
47
|
+
isDisabled(): boolean;
|
|
48
|
+
$theme(): string;
|
|
49
|
+
normalizedOverflowMode(): "scroll" | "shrink";
|
|
50
|
+
overflowClass(): string;
|
|
51
|
+
tabItemSizeStyle(): {
|
|
52
|
+
width: any;
|
|
53
|
+
minWidth: string;
|
|
54
|
+
maxWidth: string;
|
|
55
|
+
flex: string;
|
|
56
|
+
} | {
|
|
57
|
+
width: any;
|
|
58
|
+
minWidth: any;
|
|
59
|
+
maxWidth: any;
|
|
60
|
+
flex?: undefined;
|
|
61
|
+
};
|
|
62
|
+
}, {
|
|
63
|
+
itemsInit(): void;
|
|
64
|
+
generateItemKey(item: any): string;
|
|
65
|
+
findCurrentValue(): void;
|
|
66
|
+
defaultItemInit(): void;
|
|
67
|
+
sameItem(a: any, b: any): boolean;
|
|
68
|
+
itemClick(item: any): void;
|
|
69
|
+
tabDraggable(item: any): any;
|
|
70
|
+
tabClosable(item: any): any;
|
|
71
|
+
handleDragStart(event: any, index: any, item: any): void;
|
|
72
|
+
handleDragOver(event: any, index: any, item: any): void;
|
|
73
|
+
handleDrop(event: any, index: any, item: any): void;
|
|
74
|
+
canDrop(index: any, item: any): boolean;
|
|
75
|
+
computeDropPosition(event: any): "after" | "before";
|
|
76
|
+
reorderItems(targetIndex: any, dropPosition: any): void;
|
|
77
|
+
addClick(event: any): void;
|
|
78
|
+
closeItem(event: any, index: any, item: any): void;
|
|
79
|
+
isDragging(item: any): boolean;
|
|
80
|
+
isDropPosition(item: any, position: any): boolean;
|
|
81
|
+
itemImage(item: any): any;
|
|
82
|
+
itemTitle(item: any): any;
|
|
83
|
+
isURL(url: any): boolean;
|
|
84
|
+
publicItem(item: any): any;
|
|
85
|
+
publicItems(items?: any[]): any[];
|
|
86
|
+
eqal(item: any): boolean;
|
|
87
|
+
valueTrigger(val: any): any;
|
|
88
|
+
formatSize(value: any): any;
|
|
89
|
+
clearDragState(): void;
|
|
90
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
|
91
|
+
P: {};
|
|
92
|
+
B: {};
|
|
93
|
+
D: {};
|
|
94
|
+
C: {};
|
|
95
|
+
M: {};
|
|
96
|
+
Defaults: {};
|
|
97
|
+
}, Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
98
|
+
$props: {
|
|
99
|
+
readonly fontSize?: number | undefined;
|
|
100
|
+
readonly background?: string | undefined;
|
|
101
|
+
readonly borderRadius?: number | undefined;
|
|
102
|
+
readonly padding?: string | undefined;
|
|
103
|
+
readonly theme?: string | undefined;
|
|
104
|
+
readonly disabled?: boolean | undefined;
|
|
105
|
+
readonly lang?: string | undefined;
|
|
106
|
+
readonly modelValue?: (() => null) | undefined;
|
|
107
|
+
readonly foreground?: string | undefined;
|
|
108
|
+
readonly hoverBackground?: string | undefined;
|
|
109
|
+
readonly itemHeight?: number | undefined;
|
|
110
|
+
readonly draggable?: boolean | undefined;
|
|
111
|
+
readonly items?: {
|
|
112
|
+
name: string;
|
|
113
|
+
}[] | undefined;
|
|
114
|
+
readonly choosenForeground?: string | undefined;
|
|
115
|
+
readonly itemWidth?: number | undefined;
|
|
116
|
+
readonly chooseBackground?: string | undefined;
|
|
117
|
+
readonly activeBackground?: string | undefined;
|
|
118
|
+
readonly imgBorderRadius?: number | undefined;
|
|
119
|
+
readonly closable?: boolean | undefined;
|
|
120
|
+
readonly showAddButton?: boolean | undefined;
|
|
121
|
+
readonly addButtonIcon?: string | undefined;
|
|
122
|
+
readonly addButtonBackground?: string | undefined;
|
|
123
|
+
readonly addButtonForeground?: string | undefined;
|
|
124
|
+
readonly closeButtonIcon?: string | undefined;
|
|
125
|
+
readonly closeIconSize?: number | undefined;
|
|
126
|
+
readonly closeButtonForeground?: string | undefined;
|
|
127
|
+
readonly overflowMode?: string | undefined;
|
|
128
|
+
};
|
|
129
|
+
$emit: (event: "add" | "change" | "close" | "update:modelValue" | "update:items" | "reorder", ...args: any[]) => void;
|
|
130
|
+
}, {
|
|
131
|
+
thisItems: never[];
|
|
132
|
+
thisValue: null;
|
|
133
|
+
itemKeySeed: number;
|
|
134
|
+
dragState: {
|
|
135
|
+
dragKey: null;
|
|
136
|
+
dragIndex: number;
|
|
137
|
+
dropKey: null;
|
|
138
|
+
dropPosition: string;
|
|
139
|
+
};
|
|
140
|
+
}, {
|
|
141
|
+
isDisabled(): boolean;
|
|
142
|
+
$theme(): string;
|
|
143
|
+
normalizedOverflowMode(): "scroll" | "shrink";
|
|
144
|
+
overflowClass(): string;
|
|
145
|
+
tabItemSizeStyle(): {
|
|
146
|
+
width: any;
|
|
147
|
+
minWidth: string;
|
|
148
|
+
maxWidth: string;
|
|
149
|
+
flex: string;
|
|
150
|
+
} | {
|
|
151
|
+
width: any;
|
|
152
|
+
minWidth: any;
|
|
153
|
+
maxWidth: any;
|
|
154
|
+
flex?: undefined;
|
|
155
|
+
};
|
|
156
|
+
}, {
|
|
157
|
+
itemsInit(): void;
|
|
158
|
+
generateItemKey(item: any): string;
|
|
159
|
+
findCurrentValue(): void;
|
|
160
|
+
defaultItemInit(): void;
|
|
161
|
+
sameItem(a: any, b: any): boolean;
|
|
162
|
+
itemClick(item: any): void;
|
|
163
|
+
tabDraggable(item: any): any;
|
|
164
|
+
tabClosable(item: any): any;
|
|
165
|
+
handleDragStart(event: any, index: any, item: any): void;
|
|
166
|
+
handleDragOver(event: any, index: any, item: any): void;
|
|
167
|
+
handleDrop(event: any, index: any, item: any): void;
|
|
168
|
+
canDrop(index: any, item: any): boolean;
|
|
169
|
+
computeDropPosition(event: any): "after" | "before";
|
|
170
|
+
reorderItems(targetIndex: any, dropPosition: any): void;
|
|
171
|
+
addClick(event: any): void;
|
|
172
|
+
closeItem(event: any, index: any, item: any): void;
|
|
173
|
+
isDragging(item: any): boolean;
|
|
174
|
+
isDropPosition(item: any, position: any): boolean;
|
|
175
|
+
itemImage(item: any): any;
|
|
176
|
+
itemTitle(item: any): any;
|
|
177
|
+
isURL(url: any): boolean;
|
|
178
|
+
publicItem(item: any): any;
|
|
179
|
+
publicItems(items?: any[]): any[];
|
|
180
|
+
eqal(item: any): boolean;
|
|
181
|
+
valueTrigger(val: any): any;
|
|
182
|
+
formatSize(value: any): any;
|
|
183
|
+
clearDragState(): void;
|
|
184
|
+
}, {}>;
|
|
185
|
+
__isFragment?: undefined;
|
|
186
|
+
__isTeleport?: undefined;
|
|
187
|
+
__isSuspense?: undefined;
|
|
188
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {
|
|
189
|
+
$props: {
|
|
190
|
+
readonly fontSize?: number | undefined;
|
|
191
|
+
readonly background?: string | undefined;
|
|
192
|
+
readonly borderRadius?: number | undefined;
|
|
193
|
+
readonly padding?: string | undefined;
|
|
194
|
+
readonly theme?: string | undefined;
|
|
195
|
+
readonly disabled?: boolean | undefined;
|
|
196
|
+
readonly lang?: string | undefined;
|
|
197
|
+
readonly modelValue?: (() => null) | undefined;
|
|
198
|
+
readonly foreground?: string | undefined;
|
|
199
|
+
readonly hoverBackground?: string | undefined;
|
|
200
|
+
readonly itemHeight?: number | undefined;
|
|
201
|
+
readonly draggable?: boolean | undefined;
|
|
202
|
+
readonly items?: {
|
|
203
|
+
name: string;
|
|
204
|
+
}[] | undefined;
|
|
205
|
+
readonly choosenForeground?: string | undefined;
|
|
206
|
+
readonly itemWidth?: number | undefined;
|
|
207
|
+
readonly chooseBackground?: string | undefined;
|
|
208
|
+
readonly activeBackground?: string | undefined;
|
|
209
|
+
readonly imgBorderRadius?: number | undefined;
|
|
210
|
+
readonly closable?: boolean | undefined;
|
|
211
|
+
readonly showAddButton?: boolean | undefined;
|
|
212
|
+
readonly addButtonIcon?: string | undefined;
|
|
213
|
+
readonly addButtonBackground?: string | undefined;
|
|
214
|
+
readonly addButtonForeground?: string | undefined;
|
|
215
|
+
readonly closeButtonIcon?: string | undefined;
|
|
216
|
+
readonly closeIconSize?: number | undefined;
|
|
217
|
+
readonly closeButtonForeground?: string | undefined;
|
|
218
|
+
readonly overflowMode?: string | undefined;
|
|
219
|
+
};
|
|
220
|
+
$emit: (event: "add" | "change" | "close" | "update:modelValue" | "update:items" | "reorder", ...args: any[]) => void;
|
|
221
|
+
}, {
|
|
222
|
+
thisItems: never[];
|
|
223
|
+
thisValue: null;
|
|
224
|
+
itemKeySeed: number;
|
|
225
|
+
dragState: {
|
|
226
|
+
dragKey: null;
|
|
227
|
+
dragIndex: number;
|
|
228
|
+
dropKey: null;
|
|
229
|
+
dropPosition: string;
|
|
230
|
+
};
|
|
231
|
+
}, {
|
|
232
|
+
isDisabled(): boolean;
|
|
233
|
+
$theme(): string;
|
|
234
|
+
normalizedOverflowMode(): "scroll" | "shrink";
|
|
235
|
+
overflowClass(): string;
|
|
236
|
+
tabItemSizeStyle(): {
|
|
237
|
+
width: any;
|
|
238
|
+
minWidth: string;
|
|
239
|
+
maxWidth: string;
|
|
240
|
+
flex: string;
|
|
241
|
+
} | {
|
|
242
|
+
width: any;
|
|
243
|
+
minWidth: any;
|
|
244
|
+
maxWidth: any;
|
|
245
|
+
flex?: undefined;
|
|
246
|
+
};
|
|
247
|
+
}, {
|
|
248
|
+
itemsInit(): void;
|
|
249
|
+
generateItemKey(item: any): string;
|
|
250
|
+
findCurrentValue(): void;
|
|
251
|
+
defaultItemInit(): void;
|
|
252
|
+
sameItem(a: any, b: any): boolean;
|
|
253
|
+
itemClick(item: any): void;
|
|
254
|
+
tabDraggable(item: any): any;
|
|
255
|
+
tabClosable(item: any): any;
|
|
256
|
+
handleDragStart(event: any, index: any, item: any): void;
|
|
257
|
+
handleDragOver(event: any, index: any, item: any): void;
|
|
258
|
+
handleDrop(event: any, index: any, item: any): void;
|
|
259
|
+
canDrop(index: any, item: any): boolean;
|
|
260
|
+
computeDropPosition(event: any): "after" | "before";
|
|
261
|
+
reorderItems(targetIndex: any, dropPosition: any): void;
|
|
262
|
+
addClick(event: any): void;
|
|
263
|
+
closeItem(event: any, index: any, item: any): void;
|
|
264
|
+
isDragging(item: any): boolean;
|
|
265
|
+
isDropPosition(item: any, position: any): boolean;
|
|
266
|
+
itemImage(item: any): any;
|
|
267
|
+
itemTitle(item: any): any;
|
|
268
|
+
isURL(url: any): boolean;
|
|
269
|
+
publicItem(item: any): any;
|
|
270
|
+
publicItems(items?: any[]): any[];
|
|
271
|
+
eqal(item: any): boolean;
|
|
272
|
+
valueTrigger(val: any): any;
|
|
273
|
+
formatSize(value: any): any;
|
|
274
|
+
clearDragState(): void;
|
|
275
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
276
|
+
$slots: {
|
|
277
|
+
item: (_: {
|
|
278
|
+
item: never;
|
|
279
|
+
index: number;
|
|
280
|
+
eqal: (item: any) => boolean;
|
|
281
|
+
valueTrigger: (val: any) => any;
|
|
282
|
+
}) => any;
|
|
283
|
+
'close-button': (_: {
|
|
284
|
+
item: never;
|
|
285
|
+
index: number;
|
|
286
|
+
}) => any;
|
|
287
|
+
'add-button': (_: {}) => any;
|
|
288
|
+
};
|
|
289
|
+
})>;
|
|
290
|
+
export default FvTabView;
|