bilitoolkit-ui 0.0.8 → 0.1.0
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 +37 -0
- package/dist/index.js +488 -455
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -53,6 +53,8 @@ showDefaultActions: boolean;
|
|
|
53
53
|
refList: HTMLDivElement;
|
|
54
54
|
}, any>;
|
|
55
55
|
|
|
56
|
+
declare const __VLS_component_12: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
57
|
+
|
|
56
58
|
declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
57
59
|
|
|
58
60
|
declare const __VLS_component_3: DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {
|
|
@@ -152,6 +154,16 @@ declare type __VLS_Props_20 = {
|
|
|
152
154
|
fields?: AvailableStat[];
|
|
153
155
|
};
|
|
154
156
|
|
|
157
|
+
declare type __VLS_Props_21 = {
|
|
158
|
+
label: string;
|
|
159
|
+
value: string | number;
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
declare type __VLS_Props_22 = {
|
|
163
|
+
prefix: string;
|
|
164
|
+
small?: boolean;
|
|
165
|
+
};
|
|
166
|
+
|
|
155
167
|
declare type __VLS_Props_3 = CountdownDialogProps;
|
|
156
168
|
|
|
157
169
|
declare type __VLS_Props_4 = PageRangeDialogProps;
|
|
@@ -1112,6 +1124,15 @@ declare function __VLS_template_11(): {
|
|
|
1112
1124
|
rootEl: any;
|
|
1113
1125
|
};
|
|
1114
1126
|
|
|
1127
|
+
declare function __VLS_template_12(): {
|
|
1128
|
+
attrs: Partial<{}>;
|
|
1129
|
+
slots: {
|
|
1130
|
+
default?(_: {}): any;
|
|
1131
|
+
};
|
|
1132
|
+
refs: {};
|
|
1133
|
+
rootEl: HTMLDivElement;
|
|
1134
|
+
};
|
|
1135
|
+
|
|
1115
1136
|
declare function __VLS_template_2(): {
|
|
1116
1137
|
attrs: Partial<{}>;
|
|
1117
1138
|
slots: {
|
|
@@ -1198,6 +1219,8 @@ declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
|
|
|
1198
1219
|
|
|
1199
1220
|
declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
|
|
1200
1221
|
|
|
1222
|
+
declare type __VLS_TemplateResult_12 = ReturnType<typeof __VLS_template_12>;
|
|
1223
|
+
|
|
1201
1224
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
1202
1225
|
|
|
1203
1226
|
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
@@ -1232,6 +1255,12 @@ declare type __VLS_WithTemplateSlots_11<T, S> = T & {
|
|
|
1232
1255
|
};
|
|
1233
1256
|
};
|
|
1234
1257
|
|
|
1258
|
+
declare type __VLS_WithTemplateSlots_12<T, S> = T & {
|
|
1259
|
+
new (): {
|
|
1260
|
+
$slots: S;
|
|
1261
|
+
};
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1235
1264
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
1236
1265
|
new (): {
|
|
1237
1266
|
$slots: S;
|
|
@@ -1413,6 +1442,8 @@ export declare const formatSpeed: (speedKBps: number) => string;
|
|
|
1413
1442
|
|
|
1414
1443
|
export declare const formatStatCount: (viewCount: number) => string;
|
|
1415
1444
|
|
|
1445
|
+
export declare function getUserAvatarThumbnail(face: string): string;
|
|
1446
|
+
|
|
1416
1447
|
export declare const handleCancel: (task: DownloadTask) => Promise<void>;
|
|
1417
1448
|
|
|
1418
1449
|
export declare const handleDelete: (task: DownloadTask) => Promise<void>;
|
|
@@ -1477,6 +1508,9 @@ export declare const initTransparentColors: (primaryColor: string, vars: AppThem
|
|
|
1477
1508
|
*/
|
|
1478
1509
|
export declare const isDarkTheme: (themeMode?: AppThemeMode) => Promise<boolean>;
|
|
1479
1510
|
|
|
1511
|
+
declare const KeyValueTag_2: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
1512
|
+
export { KeyValueTag_2 as KeyValueTag }
|
|
1513
|
+
|
|
1480
1514
|
/**
|
|
1481
1515
|
* 全局加载框
|
|
1482
1516
|
*/
|
|
@@ -1689,6 +1723,9 @@ export declare interface ProcessDialogOptions {
|
|
|
1689
1723
|
|
|
1690
1724
|
export declare type ProcessDialogStatus = 'loading' | 'success' | 'error';
|
|
1691
1725
|
|
|
1726
|
+
declare const QueryFormItem_2: __VLS_WithTemplateSlots_12<typeof __VLS_component_12, __VLS_TemplateResult_12["slots"]>;
|
|
1727
|
+
export { QueryFormItem_2 as QueryFormItem }
|
|
1728
|
+
|
|
1692
1729
|
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<{
|
|
1693
1730
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
1694
1731
|
readonly onConfirm?: ((list: T[]) => any) | undefined;
|