bilitoolkit-ui 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bilitoolkit-ui.css +1 -1
- package/dist/index.d.ts +107 -52
- package/dist/index.js +1785 -1671
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AllowedComponentProps } from 'vue';
|
|
2
2
|
import { App } from 'vue';
|
|
3
|
+
import { AppContext } from 'vue';
|
|
3
4
|
import { AppThemeBackgroundMode } from 'bilitoolkit-types';
|
|
4
5
|
import { AppThemeMode } from 'bilitoolkit-types';
|
|
5
6
|
import { AppThemeState } from 'bilitoolkit-types';
|
|
@@ -38,23 +39,23 @@ import { VNodeProps } from 'vue';
|
|
|
38
39
|
|
|
39
40
|
declare const __VLS_component: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
40
41
|
|
|
41
|
-
declare const __VLS_component_10: DefineComponent<
|
|
42
|
+
declare const __VLS_component_10: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
42
43
|
action: (action: DownloadTaskAction, task: DownloadTask) => any;
|
|
43
|
-
}, string, PublicProps, Readonly<
|
|
44
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
44
45
|
onAction?: ((action: DownloadTaskAction, task: DownloadTask) => any) | undefined;
|
|
45
46
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
46
47
|
|
|
47
|
-
declare const __VLS_component_11: DefineComponent<
|
|
48
|
+
declare const __VLS_component_11: DefineComponent<__VLS_Props_13, {
|
|
48
49
|
refresh: () => Promise<void>;
|
|
49
50
|
resetAndRefresh: () => Promise<void>;
|
|
50
|
-
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<
|
|
51
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {
|
|
51
52
|
pageSizes: number[];
|
|
52
53
|
showDefaultActions: boolean;
|
|
53
54
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
54
55
|
refList: HTMLDivElement;
|
|
55
56
|
}, any>;
|
|
56
57
|
|
|
57
|
-
declare const __VLS_component_12: DefineComponent<
|
|
58
|
+
declare const __VLS_component_12: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
58
59
|
|
|
59
60
|
declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
60
61
|
|
|
@@ -65,9 +66,9 @@ ellipsis: "right" | "left";
|
|
|
65
66
|
refContent: HTMLDivElement;
|
|
66
67
|
}, HTMLDivElement>;
|
|
67
68
|
|
|
68
|
-
declare const __VLS_component_4: DefineComponent<
|
|
69
|
+
declare const __VLS_component_4: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
69
70
|
|
|
70
|
-
declare const __VLS_component_5: DefineComponent<
|
|
71
|
+
declare const __VLS_component_5: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
71
72
|
|
|
72
73
|
declare const __VLS_component_6: DefineComponent<BiliUserCardProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<BiliUserCardProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
73
74
|
|
|
@@ -104,48 +105,52 @@ declare type __VLS_Props = {
|
|
|
104
105
|
};
|
|
105
106
|
|
|
106
107
|
declare type __VLS_Props_10 = {
|
|
107
|
-
|
|
108
|
+
visible: boolean;
|
|
109
|
+
title?: string;
|
|
110
|
+
message: string;
|
|
111
|
+
confirmButtonText?: string;
|
|
112
|
+
cancelButtonText?: string;
|
|
108
113
|
};
|
|
109
114
|
|
|
110
115
|
declare type __VLS_Props_11 = {
|
|
111
|
-
task
|
|
116
|
+
task?: DownloadTask;
|
|
112
117
|
};
|
|
113
118
|
|
|
114
119
|
declare type __VLS_Props_12 = {
|
|
120
|
+
task: DownloadTask;
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
declare type __VLS_Props_13 = {
|
|
115
124
|
showDefaultActions?: boolean;
|
|
116
125
|
pageSizes?: number[];
|
|
117
126
|
};
|
|
118
127
|
|
|
119
|
-
declare type
|
|
128
|
+
declare type __VLS_Props_14 = {
|
|
120
129
|
task: DownloadTask;
|
|
121
130
|
};
|
|
122
131
|
|
|
123
|
-
declare type
|
|
132
|
+
declare type __VLS_Props_15 = {
|
|
124
133
|
task: DownloadTask;
|
|
125
134
|
resourceCount: number;
|
|
126
135
|
isCompact?: boolean;
|
|
127
136
|
};
|
|
128
137
|
|
|
129
|
-
declare type
|
|
138
|
+
declare type __VLS_Props_16 = {
|
|
130
139
|
type: DownloadResourceType;
|
|
131
140
|
};
|
|
132
141
|
|
|
133
|
-
declare type
|
|
142
|
+
declare type __VLS_Props_17 = {
|
|
134
143
|
task: DownloadTask;
|
|
135
144
|
videoCount: number;
|
|
136
145
|
resourceCount: number;
|
|
137
146
|
};
|
|
138
147
|
|
|
139
|
-
declare type __VLS_Props_17 = {
|
|
140
|
-
task: DownloadTask;
|
|
141
|
-
};
|
|
142
|
-
|
|
143
148
|
declare type __VLS_Props_18 = {
|
|
144
|
-
|
|
149
|
+
task: DownloadTask;
|
|
145
150
|
};
|
|
146
151
|
|
|
147
152
|
declare type __VLS_Props_19 = {
|
|
148
|
-
|
|
153
|
+
video: DownloadVideo;
|
|
149
154
|
};
|
|
150
155
|
|
|
151
156
|
declare type __VLS_Props_2 = {
|
|
@@ -155,54 +160,54 @@ declare type __VLS_Props_2 = {
|
|
|
155
160
|
};
|
|
156
161
|
|
|
157
162
|
declare type __VLS_Props_20 = {
|
|
163
|
+
part: DownloadVideoPart;
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
declare type __VLS_Props_21 = {
|
|
158
167
|
stat: Omit<VideoStat, 'dislike'>;
|
|
159
168
|
fields?: AvailableStat[];
|
|
160
169
|
};
|
|
161
170
|
|
|
162
|
-
declare type
|
|
171
|
+
declare type __VLS_Props_22 = {
|
|
163
172
|
label: string;
|
|
164
173
|
value: string | number;
|
|
165
174
|
};
|
|
166
175
|
|
|
167
|
-
declare type
|
|
176
|
+
declare type __VLS_Props_23 = {
|
|
168
177
|
prefix: string;
|
|
169
178
|
small?: boolean;
|
|
170
179
|
};
|
|
171
180
|
|
|
172
|
-
declare type
|
|
181
|
+
declare type __VLS_Props_24 = {
|
|
173
182
|
content: string;
|
|
174
183
|
};
|
|
175
184
|
|
|
176
185
|
declare type __VLS_Props_3 = CountdownDialogProps;
|
|
177
186
|
|
|
178
|
-
declare type __VLS_Props_4 =
|
|
187
|
+
declare type __VLS_Props_4 = {
|
|
188
|
+
modelValue: boolean;
|
|
189
|
+
};
|
|
190
|
+
|
|
191
|
+
declare type __VLS_Props_5 = PageRangeDialogProps;
|
|
179
192
|
|
|
180
193
|
/**
|
|
181
194
|
* remix 图标
|
|
182
195
|
* 根据应用主题自动切换图标类型
|
|
183
196
|
*/
|
|
184
|
-
declare type __VLS_Props_5 = {
|
|
185
|
-
icon: string;
|
|
186
|
-
};
|
|
187
|
-
|
|
188
197
|
declare type __VLS_Props_6 = {
|
|
189
198
|
icon: string;
|
|
190
199
|
};
|
|
191
200
|
|
|
192
201
|
declare type __VLS_Props_7 = {
|
|
193
|
-
|
|
202
|
+
icon: string;
|
|
194
203
|
};
|
|
195
204
|
|
|
196
205
|
declare type __VLS_Props_8 = {
|
|
197
|
-
|
|
206
|
+
url: string;
|
|
198
207
|
};
|
|
199
208
|
|
|
200
209
|
declare type __VLS_Props_9 = {
|
|
201
|
-
|
|
202
|
-
title?: string;
|
|
203
|
-
message: string;
|
|
204
|
-
confirmButtonText?: string;
|
|
205
|
-
cancelButtonText?: string;
|
|
210
|
+
user: Pick<UserInfoWithCookie, 'mid' | 'face' | 'name'>;
|
|
206
211
|
};
|
|
207
212
|
|
|
208
213
|
declare type __VLS_PublicProps = {
|
|
@@ -211,11 +216,11 @@ declare type __VLS_PublicProps = {
|
|
|
211
216
|
|
|
212
217
|
declare type __VLS_PublicProps_2 = {
|
|
213
218
|
modelValue: boolean;
|
|
214
|
-
} &
|
|
219
|
+
} & __VLS_Props_5;
|
|
215
220
|
|
|
216
221
|
declare type __VLS_PublicProps_3 = {
|
|
217
222
|
modelValue: typeof visible['value'];
|
|
218
|
-
} &
|
|
223
|
+
} & __VLS_Props_11;
|
|
219
224
|
|
|
220
225
|
declare function __VLS_template(): {
|
|
221
226
|
attrs: Partial<{}>;
|
|
@@ -1320,7 +1325,7 @@ declare type __VLS_WithTemplateSlots_9<T, S> = T & {
|
|
|
1320
1325
|
|
|
1321
1326
|
declare function addLog(msg: string): void;
|
|
1322
1327
|
|
|
1323
|
-
declare const AppIcon_2: DefineComponent<
|
|
1328
|
+
declare const AppIcon_2: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
1324
1329
|
export { AppIcon_2 as AppIcon }
|
|
1325
1330
|
|
|
1326
1331
|
export declare type AppThemeCssVars = Record<string, string>;
|
|
@@ -1345,7 +1350,7 @@ export declare interface BiliUserCardProps {
|
|
|
1345
1350
|
user: UserInfo;
|
|
1346
1351
|
}
|
|
1347
1352
|
|
|
1348
|
-
declare const BiliUserInfo_2: DefineComponent<
|
|
1353
|
+
declare const BiliUserInfo_2: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1349
1354
|
export { BiliUserInfo_2 as BiliUserInfo }
|
|
1350
1355
|
|
|
1351
1356
|
export declare const blackColor = "#000000";
|
|
@@ -1380,10 +1385,15 @@ export declare interface CountdownDialogProps {
|
|
|
1380
1385
|
width?: number;
|
|
1381
1386
|
}
|
|
1382
1387
|
|
|
1383
|
-
declare
|
|
1388
|
+
declare interface DateTimeRangeResult {
|
|
1389
|
+
start: number;
|
|
1390
|
+
end: number;
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
declare const DeleteConfirmDialog_2: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1384
1394
|
confirm: (deleteSourceFile: boolean) => any;
|
|
1385
1395
|
cancel: () => any;
|
|
1386
|
-
}, string, PublicProps, Readonly<
|
|
1396
|
+
}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
|
|
1387
1397
|
onConfirm?: ((deleteSourceFile: boolean) => any) | undefined;
|
|
1388
1398
|
onCancel?: (() => any) | undefined;
|
|
1389
1399
|
}>, {
|
|
@@ -1413,31 +1423,31 @@ export { DownloadItem_2 as DownloadItem }
|
|
|
1413
1423
|
declare const DownloadManagePage_2: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
|
|
1414
1424
|
export { DownloadManagePage_2 as DownloadManagePage }
|
|
1415
1425
|
|
|
1416
|
-
declare const DownloadProgress_2: DefineComponent<
|
|
1426
|
+
declare const DownloadProgress_2: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1417
1427
|
export { DownloadProgress_2 as DownloadProgress }
|
|
1418
1428
|
|
|
1419
|
-
declare const DownloadProgressDetails_2: DefineComponent<
|
|
1429
|
+
declare const DownloadProgressDetails_2: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1420
1430
|
export { DownloadProgressDetails_2 as DownloadProgressDetails }
|
|
1421
1431
|
|
|
1422
|
-
declare const DownloadResourceTag_2: DefineComponent<
|
|
1432
|
+
declare const DownloadResourceTag_2: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1423
1433
|
export { DownloadResourceTag_2 as DownloadResourceTag }
|
|
1424
1434
|
|
|
1425
|
-
declare const DownloadResult_2: DefineComponent<
|
|
1435
|
+
declare const DownloadResult_2: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1426
1436
|
export { DownloadResult_2 as DownloadResult }
|
|
1427
1437
|
|
|
1428
|
-
declare const DownloadStatus_2: DefineComponent<
|
|
1438
|
+
declare const DownloadStatus_2: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1429
1439
|
export { DownloadStatus_2 as DownloadStatus }
|
|
1430
1440
|
|
|
1431
1441
|
declare type DownloadTaskAction = 'pause' | 'resume' | 'cancel' | 'delete' | 'open-folder' | 'show-details';
|
|
1432
1442
|
|
|
1433
|
-
declare const DownloadVideoCard_2: DefineComponent<
|
|
1443
|
+
declare const DownloadVideoCard_2: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
1434
1444
|
"open-folder": (partIndex: number) => any;
|
|
1435
|
-
}, string, PublicProps, Readonly<
|
|
1445
|
+
}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
|
|
1436
1446
|
"onOpen-folder"?: ((partIndex: number) => any) | undefined;
|
|
1437
1447
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1438
1448
|
export { DownloadVideoCard_2 as DownloadVideoCard }
|
|
1439
1449
|
|
|
1440
|
-
declare const DownloadVideoPartCard_2: DefineComponent<
|
|
1450
|
+
declare const DownloadVideoPartCard_2: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1441
1451
|
export { DownloadVideoPartCard_2 as DownloadVideoPartCard }
|
|
1442
1452
|
|
|
1443
1453
|
declare const ExternalLink_2: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
@@ -1519,7 +1529,7 @@ export declare const initTransparentColors: (primaryColor: string, vars: AppThem
|
|
|
1519
1529
|
*/
|
|
1520
1530
|
export declare const isDarkTheme: (themeMode?: AppThemeMode) => Promise<boolean>;
|
|
1521
1531
|
|
|
1522
|
-
declare const KeyValueTag_2: DefineComponent<
|
|
1532
|
+
declare const KeyValueTag_2: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1523
1533
|
export { KeyValueTag_2 as KeyValueTag }
|
|
1524
1534
|
|
|
1525
1535
|
/**
|
|
@@ -1561,7 +1571,7 @@ logBoxRef: HTMLDivElement;
|
|
|
1561
1571
|
}, HTMLDivElement>;
|
|
1562
1572
|
export { LogPrint_2 as LogPrint }
|
|
1563
1573
|
|
|
1564
|
-
declare const OverflowText_2: DefineComponent<
|
|
1574
|
+
declare const OverflowText_2: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
1565
1575
|
containerRef: HTMLDivElement;
|
|
1566
1576
|
textRef: HTMLSpanElement;
|
|
1567
1577
|
}, any>;
|
|
@@ -1748,6 +1758,38 @@ export declare type ProcessDialogStatus = 'loading' | 'success' | 'error';
|
|
|
1748
1758
|
declare const QueryFormItem_2: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
1749
1759
|
export { QueryFormItem_2 as QueryFormItem }
|
|
1750
1760
|
|
|
1761
|
+
export declare const selectDateTimeRange: (options?: SelectDateTimeRangeOptions) => Promise<DateTimeRangeResult | null>;
|
|
1762
|
+
|
|
1763
|
+
declare const SelectDateTimeRange_2: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1764
|
+
confirm: (value: [Date, Date]) => any;
|
|
1765
|
+
cancel: () => any;
|
|
1766
|
+
"update:modelValue": (value: boolean) => any;
|
|
1767
|
+
}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{
|
|
1768
|
+
onConfirm?: ((value: [Date, Date]) => any) | undefined;
|
|
1769
|
+
onCancel?: (() => any) | undefined;
|
|
1770
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1771
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
1772
|
+
export { SelectDateTimeRange_2 as SelectDateTimeRange }
|
|
1773
|
+
|
|
1774
|
+
declare interface SelectDateTimeRangeOptions {
|
|
1775
|
+
/**
|
|
1776
|
+
* 初始时间范围。
|
|
1777
|
+
*
|
|
1778
|
+
* 可以传:
|
|
1779
|
+
* - [Date, Date]
|
|
1780
|
+
* - [毫秒时间戳, 毫秒时间戳]
|
|
1781
|
+
* - [秒级时间戳, 秒级时间戳]
|
|
1782
|
+
*/
|
|
1783
|
+
defaultValue?: [Date | number, Date | number];
|
|
1784
|
+
/**
|
|
1785
|
+
* Vue appContext。
|
|
1786
|
+
*
|
|
1787
|
+
* 如果组件内部依赖全局 provide / plugin,
|
|
1788
|
+
* 建议传入当前 app._context。
|
|
1789
|
+
*/
|
|
1790
|
+
appContext?: AppContext;
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1751
1793
|
declare const SelectDialog_2: <T = unknown>(__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<{
|
|
1752
1794
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
1753
1795
|
readonly onConfirm?: ((list: T[]) => any) | undefined;
|
|
@@ -2041,7 +2083,7 @@ setUser: (user: UserInfoWithCookie) => void;
|
|
|
2041
2083
|
assertLoggedIn: () => void;
|
|
2042
2084
|
}, "init" | "deleteUser" | "setUser" | "assertLoggedIn">>;
|
|
2043
2085
|
|
|
2044
|
-
declare const VideoStatsInfo_2: DefineComponent<
|
|
2086
|
+
declare const VideoStatsInfo_2: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {
|
|
2045
2087
|
fields: AvailableStat[];
|
|
2046
2088
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
2047
2089
|
export { VideoStatsInfo_2 as VideoStatsInfo }
|
|
@@ -2053,7 +2095,12 @@ declare const VirtualSelectDialog_2: <DATA = unknown, ID_KEY extends keyof DATA
|
|
|
2053
2095
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>, "onConfirm" | "onUpdate:modelValue"> & ({
|
|
2054
2096
|
modelValue: boolean;
|
|
2055
2097
|
} & VirtualSelectDialogProps<DATA, ID_KEY>) & Partial<{}>> & PublicProps;
|
|
2056
|
-
expose(exposed: ShallowUnwrapRef< {
|
|
2098
|
+
expose(exposed: ShallowUnwrapRef< {
|
|
2099
|
+
clearSelection: () => Promise<void>;
|
|
2100
|
+
getSelectionIds: () => Set<DATA[ID_KEY]>;
|
|
2101
|
+
setSelectionIds: (ids: DATA[ID_KEY][]) => Promise<void>;
|
|
2102
|
+
toggleAllSelection: () => Promise<void>;
|
|
2103
|
+
}>): void;
|
|
2057
2104
|
attrs: any;
|
|
2058
2105
|
slots: {
|
|
2059
2106
|
list?(_: {}): any;
|
|
@@ -2068,6 +2115,14 @@ declare const VirtualSelectDialog_2: <DATA = unknown, ID_KEY extends keyof DATA
|
|
|
2068
2115
|
item: DATA;
|
|
2069
2116
|
index: number;
|
|
2070
2117
|
}): any;
|
|
2118
|
+
'footer-prepend'?(_: {
|
|
2119
|
+
allOptions: DATA[];
|
|
2120
|
+
selectOptionIds: Set<DATA[ID_KEY]>;
|
|
2121
|
+
}): any;
|
|
2122
|
+
'footer-append'?(_: {
|
|
2123
|
+
allOptions: DATA[];
|
|
2124
|
+
selectOptionIds: Set<DATA[ID_KEY]>;
|
|
2125
|
+
}): any;
|
|
2071
2126
|
};
|
|
2072
2127
|
emit: ((evt: "confirm", list: DATA[]) => void) & ((evt: "update:modelValue", value: boolean) => void);
|
|
2073
2128
|
}>) => VNode & {
|