@delta-comic/ui 2.1.0 → 3.0.0-next.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.
Files changed (57) hide show
  1. package/dist/core-NNJn692v.js +27 -0
  2. package/dist/core-NNJn692v.js.map +1 -0
  3. package/dist/dist-js-X_dgLCzM.js +12 -0
  4. package/dist/dist-js-X_dgLCzM.js.map +1 -0
  5. package/dist/index.css +2 -2
  6. package/dist/index.d.ts +1557 -0
  7. package/dist/index.d.ts.map +1 -0
  8. package/dist/index.js +7645 -6764
  9. package/dist/index.js.map +1 -1
  10. package/dist-vite/index.d.mts +7 -0
  11. package/dist-vite/index.mjs +19 -0
  12. package/dist-vite/index.mjs.map +1 -0
  13. package/package.json +40 -41
  14. package/README.md +0 -42
  15. package/dist/index2.js +0 -16
  16. package/dist/index2.js.map +0 -1
  17. package/dist/lib/components/DcAuthorIcon.vue.d.ts +0 -10
  18. package/dist/lib/components/DcAwait.vue.d.ts +0 -26
  19. package/dist/lib/components/DcContent.vue.d.ts +0 -47
  20. package/dist/lib/components/DcFloatPopup.vue.d.ts +0 -39
  21. package/dist/lib/components/DcImage.vue.d.ts +0 -1158
  22. package/dist/lib/components/DcImagedIcon.vue.d.ts +0 -10
  23. package/dist/lib/components/DcList.vue.d.ts +0 -61
  24. package/dist/lib/components/DcLoading.vue.d.ts +0 -18
  25. package/dist/lib/components/DcMarkdown/index.vue.d.ts +0 -14
  26. package/dist/lib/components/DcPopup.vue.d.ts +0 -39
  27. package/dist/lib/components/DcRouterTab.vue.d.ts +0 -33
  28. package/dist/lib/components/DcState.vue.d.ts +0 -27
  29. package/dist/lib/components/DcText.vue.d.ts +0 -8
  30. package/dist/lib/components/DcToggleIcon.vue.d.ts +0 -43
  31. package/dist/lib/components/DcVar.vue.d.ts +0 -23
  32. package/dist/lib/components/DcWaterfall.vue.d.ts +0 -61
  33. package/dist/lib/components/icons.d.ts +0 -6
  34. package/dist/lib/form/components/DcForm.vue.d.ts +0 -40
  35. package/dist/lib/form/components/DcFormCheckbox.vue.d.ts +0 -13
  36. package/dist/lib/form/components/DcFormDate.vue.d.ts +0 -13
  37. package/dist/lib/form/components/DcFormDateRange.vue.d.ts +0 -13
  38. package/dist/lib/form/components/DcFormItem.vue.d.ts +0 -21
  39. package/dist/lib/form/components/DcFormNumber.vue.d.ts +0 -13
  40. package/dist/lib/form/components/DcFormPairs.vue.d.ts +0 -19
  41. package/dist/lib/form/components/DcFormRadio.vue.d.ts +0 -13
  42. package/dist/lib/form/components/DcFormString.vue.d.ts +0 -13
  43. package/dist/lib/form/components/DcFormSwitch.vue.d.ts +0 -13
  44. package/dist/lib/form/functional.d.ts +0 -5
  45. package/dist/lib/form/row.d.ts +0 -73
  46. package/dist/lib/form/type.d.ts +0 -16
  47. package/dist/lib/index.d.ts +0 -45
  48. package/dist/lib/message/dialog.d.ts +0 -9
  49. package/dist/lib/message/download.d.ts +0 -13
  50. package/dist/lib/message/index.d.ts +0 -3
  51. package/dist/lib/message/loading.d.ts +0 -14
  52. package/dist/lib/utils/image.d.ts +0 -5
  53. package/dist/lib/utils/index.d.ts +0 -4
  54. package/dist/lib/utils/layout.d.ts +0 -18
  55. package/dist/lib/utils/type.d.ts +0 -6
  56. package/dist/pack.tgz +0 -0
  57. package/dist/vite/index.d.ts +0 -2
@@ -0,0 +1,1557 @@
1
+ import { Component, ImgHTMLAttributes, MaybeRefOrGetter, Raw, Reactive, Ref, StyleValue } from "vue";
2
+ import { FormCheckbox, FormConfigure, FormDate, FormDateRange, FormNumber, FormPairs, FormRadio, FormResult, FormSingleConfigure, FormSingleResult, FormString, FormSwitch, StreamQuery, uni } from "@delta-comic/model";
3
+ import { ImageProps } from "naive-ui";
4
+ import { RouteLocationRaw } from "vue-router";
5
+ import { DataState, UseInfiniteQueryReturn, UseQueryReturn } from "@pinia/colada";
6
+ import MarkdownIt, { Options } from "markdown-it";
7
+
8
+ //#region lib/components/DcAuthorIcon.vue.d.ts
9
+ type __VLS_Props$17 = {
10
+ author: {
11
+ $$plugin: string;
12
+ icon: string | uni.resource.RawResource | uni.image.RawImage;
13
+ };
14
+ sizeSpacing: number;
15
+ };
16
+ declare const __VLS_export$27: import("vue").DefineComponent<__VLS_Props$17, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$17> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const _default: typeof __VLS_export$27;
18
+ //#endregion
19
+ //#region lib/components/DcAwait.vue.d.ts
20
+ declare const __VLS_export$26: <T extends PromiseLike<unknown>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$9<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
21
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$9<{
22
+ promise: () => T;
23
+ autoLoad?: boolean;
24
+ }> & (typeof globalThis extends {
25
+ __VLS_PROPS_FALLBACK: infer P;
26
+ } ? P : {});
27
+ expose: (exposed: {}) => void;
28
+ attrs: any;
29
+ slots: {
30
+ default(arg: {
31
+ result: Awaited<T> | undefined;
32
+ load: () => Promise<T>;
33
+ }): any;
34
+ };
35
+ emit: {};
36
+ }>) => import("vue").VNode & {
37
+ __ctx?: Awaited<typeof __VLS_setup>;
38
+ };
39
+ declare const _default$1: typeof __VLS_export$26;
40
+ type __VLS_PrettifyLocal$9<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=DcAwait.vue.d.ts.map
41
+ //#endregion
42
+ //#region lib/components/DcCell.vue.d.ts
43
+ type __VLS_Props$16 = {
44
+ tag?: string;
45
+ icon?: string;
46
+ size?: 'normal' | 'large';
47
+ title?: string | number;
48
+ value?: string | number;
49
+ label?: string | number;
50
+ center?: boolean;
51
+ isLink?: boolean;
52
+ border?: boolean;
53
+ iconPrefix?: string;
54
+ valueClass?: any;
55
+ labelClass?: any;
56
+ titleClass?: any;
57
+ titleStyle?: string | Record<string, any>;
58
+ arrowDirection?: 'up' | 'down' | 'left' | 'right';
59
+ required?: boolean | 'auto';
60
+ clickable?: boolean | null; /** vue-router 路由跳转 */
61
+ to?: any;
62
+ url?: string;
63
+ replace?: boolean;
64
+ class?: any;
65
+ style?: any;
66
+ };
67
+ declare var __VLS_10: {}, __VLS_12$1: {}, __VLS_14: {}, __VLS_16: {}, __VLS_18: {}, __VLS_20: {}, __VLS_22: {};
68
+ type __VLS_Slots$5 = {} & {
69
+ icon?: (props: typeof __VLS_10) => any;
70
+ } & {
71
+ title?: (props: typeof __VLS_12$1) => any;
72
+ } & {
73
+ label?: (props: typeof __VLS_14) => any;
74
+ } & {
75
+ value?: (props: typeof __VLS_16) => any;
76
+ } & {
77
+ default?: (props: typeof __VLS_18) => any;
78
+ } & {
79
+ 'right-icon'?: (props: typeof __VLS_20) => any;
80
+ } & {
81
+ extra?: (props: typeof __VLS_22) => any;
82
+ };
83
+ declare const __VLS_base$5: import("vue").DefineComponent<__VLS_Props$16, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
84
+ click: (event: MouseEvent) => any;
85
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props$16> & Readonly<{
86
+ onClick?: ((event: MouseEvent) => any) | undefined;
87
+ }>, {
88
+ required: boolean | "auto";
89
+ tag: string;
90
+ border: boolean;
91
+ clickable: boolean | null;
92
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
93
+ declare const __VLS_export$25: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
94
+ declare const _default$2: typeof __VLS_export$25;
95
+ type __VLS_WithSlots$5<T, S> = T & {
96
+ new (): {
97
+ $slots: S;
98
+ };
99
+ }; //# sourceMappingURL=DcCell.vue.d.ts.map
100
+ //#endregion
101
+ //#region lib/components/DcCellGroup.vue.d.ts
102
+ type __VLS_Props$15 = {
103
+ title?: string;
104
+ inset?: boolean;
105
+ border?: boolean;
106
+ };
107
+ type __VLS_Slots$4 = {
108
+ title(): any;
109
+ default(): any;
110
+ };
111
+ declare const __VLS_base$4: import("vue").DefineComponent<__VLS_Props$15, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$15> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
112
+ declare const __VLS_export$24: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
113
+ declare const _default$3: typeof __VLS_export$24;
114
+ type __VLS_WithSlots$4<T, S> = T & {
115
+ new (): {
116
+ $slots: S;
117
+ };
118
+ }; //# sourceMappingURL=DcCellGroup.vue.d.ts.map
119
+ //#endregion
120
+ //#region lib/utils/layout.d.ts
121
+ /**
122
+ * @description
123
+ * isShow为真时会阻止替换路由返回。
124
+ * 同时还会自动处理force路由
125
+ */
126
+ declare const usePreventBack: (isShow: Ref<boolean>) => () => void;
127
+ //#endregion
128
+ //#region lib/utils/type.d.ts
129
+ type StyleProps = {
130
+ style?: StyleValue;
131
+ class?: any;
132
+ };
133
+ declare function cn(...args: any[]): string;
134
+ //#endregion
135
+ //#region lib/utils/index.d.ts
136
+ type RawSource<T> = {
137
+ type: 'query';
138
+ value: UseQueryReturn<T[]>;
139
+ next?: () => any;
140
+ } | {
141
+ type: 'infinite';
142
+ value: UseInfiniteQueryReturn<T[]>;
143
+ } | {
144
+ type: 'stream';
145
+ value: UseInfiniteQueryReturn<Awaited<ReturnType<StreamQuery<T>['query']>>>;
146
+ } | {
147
+ type: 'array';
148
+ value: Array<T>;
149
+ refetch?: () => any;
150
+ refresh?: () => any;
151
+ next?: () => any;
152
+ };
153
+ interface UnionSource<T> {
154
+ data: T[];
155
+ isDone: boolean;
156
+ isLoading: boolean;
157
+ error: Error | null;
158
+ refetch(): Promise<any>;
159
+ refresh(): Promise<any>;
160
+ next(): Promise<any>;
161
+ }
162
+ declare const toUnionSource: <T>(source: RawSource<T>) => UnionSource<T>;
163
+ //#endregion
164
+ //#region lib/components/DcContent.vue.d.ts
165
+ declare const __VLS_export$23: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$8<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
166
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$8<{
167
+ hideError?: boolean;
168
+ hideEmpty?: boolean;
169
+ hideLoading?: boolean;
170
+ source: {
171
+ type: "query";
172
+ query: UseQueryReturn<T, any, any>;
173
+ } | {
174
+ type: "infinite";
175
+ stream: UseInfiniteQueryReturn<T, any, any>;
176
+ } | {
177
+ type: "raw";
178
+ data: T;
179
+ isLoading: boolean;
180
+ error?: Error | null;
181
+ refetch?: () => any;
182
+ };
183
+ classError?: any;
184
+ classEmpty?: any;
185
+ classLoading?: any;
186
+ styleError?: StyleValue;
187
+ styleEmpty?: StyleValue;
188
+ styleLoading?: any;
189
+ } & StyleProps> & (typeof globalThis extends {
190
+ __VLS_PROPS_FALLBACK: infer P;
191
+ } ? P : {});
192
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
193
+ cont: Readonly<import("vue").ShallowRef<HTMLDivElement | null, HTMLDivElement | null>>;
194
+ }>) => void;
195
+ attrs: any;
196
+ slots: {
197
+ default(data: {
198
+ data?: T;
199
+ }): any;
200
+ };
201
+ emit: {};
202
+ }>) => import("vue").VNode & {
203
+ __ctx?: Awaited<typeof __VLS_setup>;
204
+ };
205
+ declare const _default$4: typeof __VLS_export$23;
206
+ type __VLS_PrettifyLocal$8<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=DcContent.vue.d.ts.map
207
+ //#endregion
208
+ //#region lib/components/DcImage.vue.d.ts
209
+ type __VLS_Props$14 = {
210
+ src?: uni.image.Image_;
211
+ alt?: string;
212
+ previewable?: boolean;
213
+ retryMax?: number;
214
+ round?: boolean;
215
+ fit?: ImageProps['objectFit'];
216
+ class?: any;
217
+ hideLoading?: boolean;
218
+ hideError?: boolean;
219
+ inline?: boolean;
220
+ style?: StyleValue;
221
+ imgProp?: ImgHTMLAttributes;
222
+ cacheList?: {
223
+ loaded: Set<string>;
224
+ error: Set<string>;
225
+ };
226
+ fetchpriority?: 'high' | 'low' | 'auto';
227
+ fallback?: uni.image.Image_;
228
+ };
229
+ type __VLS_Slots$3 = {
230
+ loading?(): any;
231
+ fail?(): any;
232
+ };
233
+ declare const __VLS_base$3: import("vue").DefineComponent<__VLS_Props$14, {
234
+ isLoaded: import("vue").ComputedRef<boolean>;
235
+ imageEl: import("vue").ComputedRef<HTMLImageElement | null | undefined>;
236
+ imageIns: Readonly<import("vue").ShallowRef<import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
237
+ onPreviewPrev: import("vue").PropType<() => void>;
238
+ onPreviewNext: import("vue").PropType<() => void>;
239
+ showToolbar: {
240
+ type: BooleanConstructor;
241
+ default: boolean;
242
+ };
243
+ showToolbarTooltip: BooleanConstructor;
244
+ renderToolbar: import("vue").PropType<import("naive-ui").ImageRenderToolbar>;
245
+ theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Image", {
246
+ toolbarIconColor: string;
247
+ toolbarColor: string;
248
+ toolbarBoxShadow: string;
249
+ toolbarBorderRadius: string;
250
+ }, {
251
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
252
+ borderRadius: string;
253
+ boxShadow: string;
254
+ color: string;
255
+ textColor: string;
256
+ padding: string;
257
+ }, {
258
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
259
+ fontSize: string;
260
+ borderRadius: string;
261
+ color: string;
262
+ dividerColor: string;
263
+ textColor: string;
264
+ boxShadow: string;
265
+ space: string;
266
+ spaceArrow: string;
267
+ arrowOffset: string;
268
+ arrowOffsetVertical: string;
269
+ arrowHeight: string;
270
+ padding: string;
271
+ }, {
272
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
273
+ height: string;
274
+ width: string;
275
+ borderRadius: string;
276
+ color: string;
277
+ colorHover: string;
278
+ railInsetHorizontalBottom: string;
279
+ railInsetHorizontalTop: string;
280
+ railInsetVerticalRight: string;
281
+ railInsetVerticalLeft: string;
282
+ railColor: string;
283
+ }, any>;
284
+ }>;
285
+ }>;
286
+ }>>;
287
+ themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Image", {
288
+ toolbarIconColor: string;
289
+ toolbarColor: string;
290
+ toolbarBoxShadow: string;
291
+ toolbarBorderRadius: string;
292
+ }, {
293
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
294
+ borderRadius: string;
295
+ boxShadow: string;
296
+ color: string;
297
+ textColor: string;
298
+ padding: string;
299
+ }, {
300
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
301
+ fontSize: string;
302
+ borderRadius: string;
303
+ color: string;
304
+ dividerColor: string;
305
+ textColor: string;
306
+ boxShadow: string;
307
+ space: string;
308
+ spaceArrow: string;
309
+ arrowOffset: string;
310
+ arrowOffsetVertical: string;
311
+ arrowHeight: string;
312
+ padding: string;
313
+ }, {
314
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
315
+ height: string;
316
+ width: string;
317
+ borderRadius: string;
318
+ color: string;
319
+ colorHover: string;
320
+ railInsetHorizontalBottom: string;
321
+ railInsetHorizontalTop: string;
322
+ railInsetVerticalRight: string;
323
+ railInsetVerticalLeft: string;
324
+ railColor: string;
325
+ }, any>;
326
+ }>;
327
+ }>;
328
+ }>>>;
329
+ builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Image", {
330
+ toolbarIconColor: string;
331
+ toolbarColor: string;
332
+ toolbarBoxShadow: string;
333
+ toolbarBorderRadius: string;
334
+ }, {
335
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
336
+ borderRadius: string;
337
+ boxShadow: string;
338
+ color: string;
339
+ textColor: string;
340
+ padding: string;
341
+ }, {
342
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
343
+ fontSize: string;
344
+ borderRadius: string;
345
+ color: string;
346
+ dividerColor: string;
347
+ textColor: string;
348
+ boxShadow: string;
349
+ space: string;
350
+ spaceArrow: string;
351
+ arrowOffset: string;
352
+ arrowOffsetVertical: string;
353
+ arrowHeight: string;
354
+ padding: string;
355
+ }, {
356
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
357
+ height: string;
358
+ width: string;
359
+ borderRadius: string;
360
+ color: string;
361
+ colorHover: string;
362
+ railInsetHorizontalBottom: string;
363
+ railInsetHorizontalTop: string;
364
+ railInsetVerticalRight: string;
365
+ railInsetVerticalLeft: string;
366
+ railColor: string;
367
+ }, any>;
368
+ }>;
369
+ }>;
370
+ }>>>;
371
+ alt: StringConstructor;
372
+ height: import("vue").PropType<string | number>;
373
+ imgProps: import("vue").PropType<ImgHTMLAttributes>;
374
+ previewedImgProps: import("vue").PropType<ImgHTMLAttributes>;
375
+ lazy: BooleanConstructor;
376
+ intersectionObserverOptions: import("vue").PropType<import("naive-ui/es/image/src/utils").IntersectionObserverOptions>;
377
+ objectFit: {
378
+ type: import("vue").PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
379
+ default: string;
380
+ };
381
+ previewSrc: StringConstructor;
382
+ fallbackSrc: StringConstructor;
383
+ width: import("vue").PropType<string | number>;
384
+ src: StringConstructor;
385
+ previewDisabled: BooleanConstructor;
386
+ loadDescription: StringConstructor;
387
+ onError: import("vue").PropType<(e: Event) => void>;
388
+ onLoad: import("vue").PropType<(e: Event) => void>;
389
+ }>> & Readonly<{}>, {
390
+ click: () => void;
391
+ showPreview: () => void;
392
+ mergedClsPrefix: import("vue").Ref<string, string>;
393
+ groupId: string | undefined;
394
+ previewInstRef: import("vue").Ref<{
395
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
396
+ } | null, import("naive-ui").ImagePreviewInst | {
397
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
398
+ } | null>;
399
+ imageRef: import("vue").Ref<HTMLImageElement | null, HTMLImageElement | null>;
400
+ mergedPreviewSrc: import("vue").ComputedRef<string | undefined>;
401
+ showError: import("vue").Ref<boolean, boolean>;
402
+ shouldStartLoading: import("vue").Ref<boolean, boolean>;
403
+ loaded: import("vue").Ref<boolean, boolean>;
404
+ mergedOnClick: (e: PointerEvent) => void;
405
+ onPreviewClose: () => void;
406
+ mergedOnError: (e: Event) => void;
407
+ mergedOnLoad: (e: Event) => void;
408
+ previewShow: import("vue").Ref<boolean, boolean>;
409
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
410
+ objectFit: "none" | "fill" | "contain" | "cover" | "scale-down";
411
+ lazy: boolean;
412
+ showToolbar: boolean;
413
+ showToolbarTooltip: boolean;
414
+ previewDisabled: boolean;
415
+ }, true, {}, import("vue").SlotsType<import("naive-ui").ImageSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
416
+ P: {};
417
+ B: {};
418
+ D: {};
419
+ C: {};
420
+ M: {};
421
+ Defaults: {};
422
+ }, Readonly<import("vue").ExtractPropTypes<{
423
+ onPreviewPrev: import("vue").PropType<() => void>;
424
+ onPreviewNext: import("vue").PropType<() => void>;
425
+ showToolbar: {
426
+ type: BooleanConstructor;
427
+ default: boolean;
428
+ };
429
+ showToolbarTooltip: BooleanConstructor;
430
+ renderToolbar: import("vue").PropType<import("naive-ui").ImageRenderToolbar>;
431
+ theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Image", {
432
+ toolbarIconColor: string;
433
+ toolbarColor: string;
434
+ toolbarBoxShadow: string;
435
+ toolbarBorderRadius: string;
436
+ }, {
437
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
438
+ borderRadius: string;
439
+ boxShadow: string;
440
+ color: string;
441
+ textColor: string;
442
+ padding: string;
443
+ }, {
444
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
445
+ fontSize: string;
446
+ borderRadius: string;
447
+ color: string;
448
+ dividerColor: string;
449
+ textColor: string;
450
+ boxShadow: string;
451
+ space: string;
452
+ spaceArrow: string;
453
+ arrowOffset: string;
454
+ arrowOffsetVertical: string;
455
+ arrowHeight: string;
456
+ padding: string;
457
+ }, {
458
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
459
+ height: string;
460
+ width: string;
461
+ borderRadius: string;
462
+ color: string;
463
+ colorHover: string;
464
+ railInsetHorizontalBottom: string;
465
+ railInsetHorizontalTop: string;
466
+ railInsetVerticalRight: string;
467
+ railInsetVerticalLeft: string;
468
+ railColor: string;
469
+ }, any>;
470
+ }>;
471
+ }>;
472
+ }>>;
473
+ themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Image", {
474
+ toolbarIconColor: string;
475
+ toolbarColor: string;
476
+ toolbarBoxShadow: string;
477
+ toolbarBorderRadius: string;
478
+ }, {
479
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
480
+ borderRadius: string;
481
+ boxShadow: string;
482
+ color: string;
483
+ textColor: string;
484
+ padding: string;
485
+ }, {
486
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
487
+ fontSize: string;
488
+ borderRadius: string;
489
+ color: string;
490
+ dividerColor: string;
491
+ textColor: string;
492
+ boxShadow: string;
493
+ space: string;
494
+ spaceArrow: string;
495
+ arrowOffset: string;
496
+ arrowOffsetVertical: string;
497
+ arrowHeight: string;
498
+ padding: string;
499
+ }, {
500
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
501
+ height: string;
502
+ width: string;
503
+ borderRadius: string;
504
+ color: string;
505
+ colorHover: string;
506
+ railInsetHorizontalBottom: string;
507
+ railInsetHorizontalTop: string;
508
+ railInsetVerticalRight: string;
509
+ railInsetVerticalLeft: string;
510
+ railColor: string;
511
+ }, any>;
512
+ }>;
513
+ }>;
514
+ }>>>;
515
+ builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Image", {
516
+ toolbarIconColor: string;
517
+ toolbarColor: string;
518
+ toolbarBoxShadow: string;
519
+ toolbarBorderRadius: string;
520
+ }, {
521
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
522
+ borderRadius: string;
523
+ boxShadow: string;
524
+ color: string;
525
+ textColor: string;
526
+ padding: string;
527
+ }, {
528
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
529
+ fontSize: string;
530
+ borderRadius: string;
531
+ color: string;
532
+ dividerColor: string;
533
+ textColor: string;
534
+ boxShadow: string;
535
+ space: string;
536
+ spaceArrow: string;
537
+ arrowOffset: string;
538
+ arrowOffsetVertical: string;
539
+ arrowHeight: string;
540
+ padding: string;
541
+ }, {
542
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
543
+ height: string;
544
+ width: string;
545
+ borderRadius: string;
546
+ color: string;
547
+ colorHover: string;
548
+ railInsetHorizontalBottom: string;
549
+ railInsetHorizontalTop: string;
550
+ railInsetVerticalRight: string;
551
+ railInsetVerticalLeft: string;
552
+ railColor: string;
553
+ }, any>;
554
+ }>;
555
+ }>;
556
+ }>>>;
557
+ alt: StringConstructor;
558
+ height: import("vue").PropType<string | number>;
559
+ imgProps: import("vue").PropType<ImgHTMLAttributes>;
560
+ previewedImgProps: import("vue").PropType<ImgHTMLAttributes>;
561
+ lazy: BooleanConstructor;
562
+ intersectionObserverOptions: import("vue").PropType<import("naive-ui/es/image/src/utils").IntersectionObserverOptions>;
563
+ objectFit: {
564
+ type: import("vue").PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
565
+ default: string;
566
+ };
567
+ previewSrc: StringConstructor;
568
+ fallbackSrc: StringConstructor;
569
+ width: import("vue").PropType<string | number>;
570
+ src: StringConstructor;
571
+ previewDisabled: BooleanConstructor;
572
+ loadDescription: StringConstructor;
573
+ onError: import("vue").PropType<(e: Event) => void>;
574
+ onLoad: import("vue").PropType<(e: Event) => void>;
575
+ }>> & Readonly<{}>, {
576
+ click: () => void;
577
+ showPreview: () => void;
578
+ mergedClsPrefix: import("vue").Ref<string, string>;
579
+ groupId: string | undefined;
580
+ previewInstRef: import("vue").Ref<{
581
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
582
+ } | null, import("naive-ui").ImagePreviewInst | {
583
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
584
+ } | null>;
585
+ imageRef: import("vue").Ref<HTMLImageElement | null, HTMLImageElement | null>;
586
+ mergedPreviewSrc: import("vue").ComputedRef<string | undefined>;
587
+ showError: import("vue").Ref<boolean, boolean>;
588
+ shouldStartLoading: import("vue").Ref<boolean, boolean>;
589
+ loaded: import("vue").Ref<boolean, boolean>;
590
+ mergedOnClick: (e: PointerEvent) => void;
591
+ onPreviewClose: () => void;
592
+ mergedOnError: (e: Event) => void;
593
+ mergedOnLoad: (e: Event) => void;
594
+ previewShow: import("vue").Ref<boolean, boolean>;
595
+ }, {}, {}, {}, {
596
+ objectFit: "none" | "fill" | "contain" | "cover" | "scale-down";
597
+ lazy: boolean;
598
+ showToolbar: boolean;
599
+ showToolbarTooltip: boolean;
600
+ previewDisabled: boolean;
601
+ }> | null, import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
602
+ onPreviewPrev: import("vue").PropType<() => void>;
603
+ onPreviewNext: import("vue").PropType<() => void>;
604
+ showToolbar: {
605
+ type: BooleanConstructor;
606
+ default: boolean;
607
+ };
608
+ showToolbarTooltip: BooleanConstructor;
609
+ renderToolbar: import("vue").PropType<import("naive-ui").ImageRenderToolbar>;
610
+ theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Image", {
611
+ toolbarIconColor: string;
612
+ toolbarColor: string;
613
+ toolbarBoxShadow: string;
614
+ toolbarBorderRadius: string;
615
+ }, {
616
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
617
+ borderRadius: string;
618
+ boxShadow: string;
619
+ color: string;
620
+ textColor: string;
621
+ padding: string;
622
+ }, {
623
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
624
+ fontSize: string;
625
+ borderRadius: string;
626
+ color: string;
627
+ dividerColor: string;
628
+ textColor: string;
629
+ boxShadow: string;
630
+ space: string;
631
+ spaceArrow: string;
632
+ arrowOffset: string;
633
+ arrowOffsetVertical: string;
634
+ arrowHeight: string;
635
+ padding: string;
636
+ }, {
637
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
638
+ height: string;
639
+ width: string;
640
+ borderRadius: string;
641
+ color: string;
642
+ colorHover: string;
643
+ railInsetHorizontalBottom: string;
644
+ railInsetHorizontalTop: string;
645
+ railInsetVerticalRight: string;
646
+ railInsetVerticalLeft: string;
647
+ railColor: string;
648
+ }, any>;
649
+ }>;
650
+ }>;
651
+ }>>;
652
+ themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Image", {
653
+ toolbarIconColor: string;
654
+ toolbarColor: string;
655
+ toolbarBoxShadow: string;
656
+ toolbarBorderRadius: string;
657
+ }, {
658
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
659
+ borderRadius: string;
660
+ boxShadow: string;
661
+ color: string;
662
+ textColor: string;
663
+ padding: string;
664
+ }, {
665
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
666
+ fontSize: string;
667
+ borderRadius: string;
668
+ color: string;
669
+ dividerColor: string;
670
+ textColor: string;
671
+ boxShadow: string;
672
+ space: string;
673
+ spaceArrow: string;
674
+ arrowOffset: string;
675
+ arrowOffsetVertical: string;
676
+ arrowHeight: string;
677
+ padding: string;
678
+ }, {
679
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
680
+ height: string;
681
+ width: string;
682
+ borderRadius: string;
683
+ color: string;
684
+ colorHover: string;
685
+ railInsetHorizontalBottom: string;
686
+ railInsetHorizontalTop: string;
687
+ railInsetVerticalRight: string;
688
+ railInsetVerticalLeft: string;
689
+ railColor: string;
690
+ }, any>;
691
+ }>;
692
+ }>;
693
+ }>>>;
694
+ builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Image", {
695
+ toolbarIconColor: string;
696
+ toolbarColor: string;
697
+ toolbarBoxShadow: string;
698
+ toolbarBorderRadius: string;
699
+ }, {
700
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
701
+ borderRadius: string;
702
+ boxShadow: string;
703
+ color: string;
704
+ textColor: string;
705
+ padding: string;
706
+ }, {
707
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
708
+ fontSize: string;
709
+ borderRadius: string;
710
+ color: string;
711
+ dividerColor: string;
712
+ textColor: string;
713
+ boxShadow: string;
714
+ space: string;
715
+ spaceArrow: string;
716
+ arrowOffset: string;
717
+ arrowOffsetVertical: string;
718
+ arrowHeight: string;
719
+ padding: string;
720
+ }, {
721
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
722
+ height: string;
723
+ width: string;
724
+ borderRadius: string;
725
+ color: string;
726
+ colorHover: string;
727
+ railInsetHorizontalBottom: string;
728
+ railInsetHorizontalTop: string;
729
+ railInsetVerticalRight: string;
730
+ railInsetVerticalLeft: string;
731
+ railColor: string;
732
+ }, any>;
733
+ }>;
734
+ }>;
735
+ }>>>;
736
+ alt: StringConstructor;
737
+ height: import("vue").PropType<string | number>;
738
+ imgProps: import("vue").PropType<ImgHTMLAttributes>;
739
+ previewedImgProps: import("vue").PropType<ImgHTMLAttributes>;
740
+ lazy: BooleanConstructor;
741
+ intersectionObserverOptions: import("vue").PropType<import("naive-ui/es/image/src/utils").IntersectionObserverOptions>;
742
+ objectFit: {
743
+ type: import("vue").PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
744
+ default: string;
745
+ };
746
+ previewSrc: StringConstructor;
747
+ fallbackSrc: StringConstructor;
748
+ width: import("vue").PropType<string | number>;
749
+ src: StringConstructor;
750
+ previewDisabled: BooleanConstructor;
751
+ loadDescription: StringConstructor;
752
+ onError: import("vue").PropType<(e: Event) => void>;
753
+ onLoad: import("vue").PropType<(e: Event) => void>;
754
+ }>> & Readonly<{}>, {
755
+ click: () => void;
756
+ showPreview: () => void;
757
+ mergedClsPrefix: import("vue").Ref<string, string>;
758
+ groupId: string | undefined;
759
+ previewInstRef: import("vue").Ref<{
760
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
761
+ } | null, import("naive-ui").ImagePreviewInst | {
762
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
763
+ } | null>;
764
+ imageRef: import("vue").Ref<HTMLImageElement | null, HTMLImageElement | null>;
765
+ mergedPreviewSrc: import("vue").ComputedRef<string | undefined>;
766
+ showError: import("vue").Ref<boolean, boolean>;
767
+ shouldStartLoading: import("vue").Ref<boolean, boolean>;
768
+ loaded: import("vue").Ref<boolean, boolean>;
769
+ mergedOnClick: (e: PointerEvent) => void;
770
+ onPreviewClose: () => void;
771
+ mergedOnError: (e: Event) => void;
772
+ mergedOnLoad: (e: Event) => void;
773
+ previewShow: import("vue").Ref<boolean, boolean>;
774
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
775
+ objectFit: "none" | "fill" | "contain" | "cover" | "scale-down";
776
+ lazy: boolean;
777
+ showToolbar: boolean;
778
+ showToolbarTooltip: boolean;
779
+ previewDisabled: boolean;
780
+ }, true, {}, import("vue").SlotsType<import("naive-ui").ImageSlots>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
781
+ P: {};
782
+ B: {};
783
+ D: {};
784
+ C: {};
785
+ M: {};
786
+ Defaults: {};
787
+ }, Readonly<import("vue").ExtractPropTypes<{
788
+ onPreviewPrev: import("vue").PropType<() => void>;
789
+ onPreviewNext: import("vue").PropType<() => void>;
790
+ showToolbar: {
791
+ type: BooleanConstructor;
792
+ default: boolean;
793
+ };
794
+ showToolbarTooltip: BooleanConstructor;
795
+ renderToolbar: import("vue").PropType<import("naive-ui").ImageRenderToolbar>;
796
+ theme: import("vue").PropType<import("naive-ui/es/_mixins").Theme<"Image", {
797
+ toolbarIconColor: string;
798
+ toolbarColor: string;
799
+ toolbarBoxShadow: string;
800
+ toolbarBorderRadius: string;
801
+ }, {
802
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
803
+ borderRadius: string;
804
+ boxShadow: string;
805
+ color: string;
806
+ textColor: string;
807
+ padding: string;
808
+ }, {
809
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
810
+ fontSize: string;
811
+ borderRadius: string;
812
+ color: string;
813
+ dividerColor: string;
814
+ textColor: string;
815
+ boxShadow: string;
816
+ space: string;
817
+ spaceArrow: string;
818
+ arrowOffset: string;
819
+ arrowOffsetVertical: string;
820
+ arrowHeight: string;
821
+ padding: string;
822
+ }, {
823
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
824
+ height: string;
825
+ width: string;
826
+ borderRadius: string;
827
+ color: string;
828
+ colorHover: string;
829
+ railInsetHorizontalBottom: string;
830
+ railInsetHorizontalTop: string;
831
+ railInsetVerticalRight: string;
832
+ railInsetVerticalLeft: string;
833
+ railColor: string;
834
+ }, any>;
835
+ }>;
836
+ }>;
837
+ }>>;
838
+ themeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Image", {
839
+ toolbarIconColor: string;
840
+ toolbarColor: string;
841
+ toolbarBoxShadow: string;
842
+ toolbarBorderRadius: string;
843
+ }, {
844
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
845
+ borderRadius: string;
846
+ boxShadow: string;
847
+ color: string;
848
+ textColor: string;
849
+ padding: string;
850
+ }, {
851
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
852
+ fontSize: string;
853
+ borderRadius: string;
854
+ color: string;
855
+ dividerColor: string;
856
+ textColor: string;
857
+ boxShadow: string;
858
+ space: string;
859
+ spaceArrow: string;
860
+ arrowOffset: string;
861
+ arrowOffsetVertical: string;
862
+ arrowHeight: string;
863
+ padding: string;
864
+ }, {
865
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
866
+ height: string;
867
+ width: string;
868
+ borderRadius: string;
869
+ color: string;
870
+ colorHover: string;
871
+ railInsetHorizontalBottom: string;
872
+ railInsetHorizontalTop: string;
873
+ railInsetVerticalRight: string;
874
+ railInsetVerticalLeft: string;
875
+ railColor: string;
876
+ }, any>;
877
+ }>;
878
+ }>;
879
+ }>>>;
880
+ builtinThemeOverrides: import("vue").PropType<import("naive-ui/es/_mixins/use-theme").ExtractThemeOverrides<import("naive-ui/es/_mixins").Theme<"Image", {
881
+ toolbarIconColor: string;
882
+ toolbarColor: string;
883
+ toolbarBoxShadow: string;
884
+ toolbarBorderRadius: string;
885
+ }, {
886
+ Tooltip: import("naive-ui/es/_mixins").Theme<"Tooltip", {
887
+ borderRadius: string;
888
+ boxShadow: string;
889
+ color: string;
890
+ textColor: string;
891
+ padding: string;
892
+ }, {
893
+ Popover: import("naive-ui/es/_mixins").Theme<"Popover", {
894
+ fontSize: string;
895
+ borderRadius: string;
896
+ color: string;
897
+ dividerColor: string;
898
+ textColor: string;
899
+ boxShadow: string;
900
+ space: string;
901
+ spaceArrow: string;
902
+ arrowOffset: string;
903
+ arrowOffsetVertical: string;
904
+ arrowHeight: string;
905
+ padding: string;
906
+ }, {
907
+ Scrollbar: import("naive-ui/es/_mixins").Theme<"Scrollbar", {
908
+ height: string;
909
+ width: string;
910
+ borderRadius: string;
911
+ color: string;
912
+ colorHover: string;
913
+ railInsetHorizontalBottom: string;
914
+ railInsetHorizontalTop: string;
915
+ railInsetVerticalRight: string;
916
+ railInsetVerticalLeft: string;
917
+ railColor: string;
918
+ }, any>;
919
+ }>;
920
+ }>;
921
+ }>>>;
922
+ alt: StringConstructor;
923
+ height: import("vue").PropType<string | number>;
924
+ imgProps: import("vue").PropType<ImgHTMLAttributes>;
925
+ previewedImgProps: import("vue").PropType<ImgHTMLAttributes>;
926
+ lazy: BooleanConstructor;
927
+ intersectionObserverOptions: import("vue").PropType<import("naive-ui/es/image/src/utils").IntersectionObserverOptions>;
928
+ objectFit: {
929
+ type: import("vue").PropType<"fill" | "contain" | "cover" | "none" | "scale-down">;
930
+ default: string;
931
+ };
932
+ previewSrc: StringConstructor;
933
+ fallbackSrc: StringConstructor;
934
+ width: import("vue").PropType<string | number>;
935
+ src: StringConstructor;
936
+ previewDisabled: BooleanConstructor;
937
+ loadDescription: StringConstructor;
938
+ onError: import("vue").PropType<(e: Event) => void>;
939
+ onLoad: import("vue").PropType<(e: Event) => void>;
940
+ }>> & Readonly<{}>, {
941
+ click: () => void;
942
+ showPreview: () => void;
943
+ mergedClsPrefix: import("vue").Ref<string, string>;
944
+ groupId: string | undefined;
945
+ previewInstRef: import("vue").Ref<{
946
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
947
+ } | null, import("naive-ui").ImagePreviewInst | {
948
+ setThumbnailEl: (e: HTMLImageElement | null) => void;
949
+ } | null>;
950
+ imageRef: import("vue").Ref<HTMLImageElement | null, HTMLImageElement | null>;
951
+ mergedPreviewSrc: import("vue").ComputedRef<string | undefined>;
952
+ showError: import("vue").Ref<boolean, boolean>;
953
+ shouldStartLoading: import("vue").Ref<boolean, boolean>;
954
+ loaded: import("vue").Ref<boolean, boolean>;
955
+ mergedOnClick: (e: PointerEvent) => void;
956
+ onPreviewClose: () => void;
957
+ mergedOnError: (e: Event) => void;
958
+ mergedOnLoad: (e: Event) => void;
959
+ previewShow: import("vue").Ref<boolean, boolean>;
960
+ }, {}, {}, {}, {
961
+ objectFit: "none" | "fill" | "contain" | "cover" | "scale-down";
962
+ lazy: boolean;
963
+ showToolbar: boolean;
964
+ showToolbarTooltip: boolean;
965
+ previewDisabled: boolean;
966
+ }> | null>>;
967
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
968
+ click: (e: Event) => any;
969
+ error: () => any;
970
+ load: (...args: any[]) => any;
971
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props$14> & Readonly<{
972
+ onClick?: ((e: Event) => any) | undefined;
973
+ onError?: (() => any) | undefined;
974
+ onLoad?: ((...args: any[]) => any) | undefined;
975
+ }>, {
976
+ retryMax: number;
977
+ fetchpriority: "high" | "low" | "auto";
978
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
979
+ declare const __VLS_export$22: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
980
+ declare const _default$16: typeof __VLS_export$22;
981
+ type __VLS_WithSlots$3<T, S> = T & {
982
+ new (): {
983
+ $slots: S;
984
+ };
985
+ }; //# sourceMappingURL=DcImage.vue.d.ts.map
986
+ //#endregion
987
+ //#region lib/components/DcImagedIcon.vue.d.ts
988
+ type __VLS_Props$13 = {
989
+ icon: Component | uni.image.Image | uni.resource.Resource;
990
+ bgColor?: string;
991
+ sizeSpacing: number;
992
+ } & StyleProps;
993
+ declare const __VLS_export$21: import("vue").DefineComponent<__VLS_Props$13, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$13> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
994
+ declare const _default$17: typeof __VLS_export$21;
995
+ //#endregion
996
+ //#region lib/components/DcList.vue.d.ts
997
+ declare const __VLS_export$20: <T extends object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$7<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
998
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$7<{
999
+ source: RawSource<T>;
1000
+ minHeight: number;
1001
+ unReloadable?: boolean;
1002
+ } & StyleProps> & (typeof globalThis extends {
1003
+ __VLS_PROPS_FALLBACK: infer P;
1004
+ } ? P : {});
1005
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
1006
+ /** 当前滚动位置 */readonly scrollTop: number | undefined; /** 滚动容器元素引用 */
1007
+ readonly scrollParent: HTMLElement | undefined; /** 重置瀑布流列表 */
1008
+ reloadList(): Promise<void> | undefined;
1009
+ }>) => void;
1010
+ attrs: any;
1011
+ slots: {
1012
+ default(props: {
1013
+ item: T;
1014
+ index: number;
1015
+ height?: number;
1016
+ minHeight: number;
1017
+ length: number;
1018
+ }): any;
1019
+ };
1020
+ emit: {};
1021
+ }>) => import("vue").VNode & {
1022
+ __ctx?: Awaited<typeof __VLS_setup>;
1023
+ };
1024
+ declare const _default$18: typeof __VLS_export$20;
1025
+ type __VLS_PrettifyLocal$7<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=DcList.vue.d.ts.map
1026
+ //#endregion
1027
+ //#region lib/components/DcLoading.vue.d.ts
1028
+ type __VLS_Props$12 = {
1029
+ size?: string | number;
1030
+ color?: string;
1031
+ textSize?: string | number;
1032
+ vertical?: boolean;
1033
+ spinning?: boolean;
1034
+ strokeWidth?: string | number;
1035
+ };
1036
+ declare var __VLS_1: {};
1037
+ type __VLS_Slots$2 = {} & {
1038
+ default?: (props: typeof __VLS_1) => any;
1039
+ };
1040
+ declare const __VLS_base$2: import("vue").DefineComponent<__VLS_Props$12, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$12> & Readonly<{}>, {
1041
+ strokeWidth: string | number;
1042
+ spinning: boolean;
1043
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1044
+ declare const __VLS_export$19: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
1045
+ declare const _default$19: typeof __VLS_export$19;
1046
+ type __VLS_WithSlots$2<T, S> = T & {
1047
+ new (): {
1048
+ $slots: S;
1049
+ };
1050
+ }; //# sourceMappingURL=DcLoading.vue.d.ts.map
1051
+ //#endregion
1052
+ //#region lib/components/DcMarkdown/index.vue.d.ts
1053
+ type __VLS_Props$11 = {
1054
+ markdown: string;
1055
+ plugins?: Parameters<MarkdownIt['use']>[];
1056
+ config?: Options;
1057
+ env?: object;
1058
+ isDarkMode?: boolean;
1059
+ } & StyleProps;
1060
+ declare const __VLS_export$18: import("vue").DefineComponent<__VLS_Props$11, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$11> & Readonly<{}>, {
1061
+ plugins: Parameters<MarkdownIt["use"]>[];
1062
+ config: Options;
1063
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1064
+ declare const _default$20: typeof __VLS_export$18;
1065
+ //#endregion
1066
+ //#region lib/components/DcPullRefresh.vue.d.ts
1067
+ type __VLS_Props$10 = {
1068
+ disabled: boolean;
1069
+ refresher: () => Promise<any>;
1070
+ pullDistance?: number;
1071
+ contentClass?: any;
1072
+ contentStyle?: StyleValue;
1073
+ } & StyleProps;
1074
+ type __VLS_Slots$1 = {
1075
+ default(): any;
1076
+ };
1077
+ type __VLS_ModelProps$9 = {
1078
+ 'refreshing'?: boolean;
1079
+ 'pulling'?: boolean;
1080
+ };
1081
+ type __VLS_PublicProps$9 = __VLS_Props$10 & __VLS_ModelProps$9;
1082
+ declare const __VLS_base$1: import("vue").DefineComponent<__VLS_PublicProps$9, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1083
+ "update:refreshing": (value: boolean) => any;
1084
+ "update:pulling": (value: boolean) => any;
1085
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$9> & Readonly<{
1086
+ "onUpdate:refreshing"?: ((value: boolean) => any) | undefined;
1087
+ "onUpdate:pulling"?: ((value: boolean) => any) | undefined;
1088
+ }>, {
1089
+ disabled: boolean;
1090
+ pullDistance: number;
1091
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1092
+ declare const __VLS_export$17: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
1093
+ declare const _default$21: typeof __VLS_export$17;
1094
+ type __VLS_WithSlots$1<T, S> = T & {
1095
+ new (): {
1096
+ $slots: S;
1097
+ };
1098
+ }; //# sourceMappingURL=DcPullRefresh.vue.d.ts.map
1099
+ //#endregion
1100
+ //#region ../../node_modules/.pnpm/tailwind-merge@3.6.0/node_modules/tailwind-merge/dist/types.d.ts
1101
+ /**
1102
+ * The code in this file is copied from https://github.com/lukeed/clsx and modified to suit the needs of tailwind-merge better.
1103
+ *
1104
+ * Specifically:
1105
+ * - Runtime code from https://github.com/lukeed/clsx/blob/v1.2.1/src/index.js
1106
+ * - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
1107
+ *
1108
+ * Original code has MIT license: Copyright (c) Luke Edwards <luke.edwards05@gmail.com> (lukeed.com)
1109
+ */
1110
+ type ClassNameValue = ClassNameArray | string | null | undefined | 0 | 0n | false;
1111
+ type ClassNameArray = readonly ClassNameValue[];
1112
+ //#endregion
1113
+ //#region lib/components/DcState.vue.d.ts
1114
+ declare const __VLS_export$16: <T extends DataState<any, any, any>>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$6<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1115
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$6<{
1116
+ state: T;
1117
+ contentClass?: ClassNameValue;
1118
+ } & StyleProps> & (typeof globalThis extends {
1119
+ __VLS_PROPS_FALLBACK: infer P;
1120
+ } ? P : {});
1121
+ expose: (exposed: {}) => void;
1122
+ attrs: any;
1123
+ slots: {
1124
+ default(args: {
1125
+ data: T["data"];
1126
+ }): any;
1127
+ };
1128
+ emit: {};
1129
+ }>) => import("vue").VNode & {
1130
+ __ctx?: Awaited<typeof __VLS_setup>;
1131
+ };
1132
+ declare const _default$22: typeof __VLS_export$16;
1133
+ type __VLS_PrettifyLocal$6<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=DcState.vue.d.ts.map
1134
+ //#endregion
1135
+ //#region lib/components/DcTab.vue.d.ts
1136
+ declare const __VLS_export$15: <T extends {
1137
+ name: string;
1138
+ title: string;
1139
+ route?: RouteLocationRaw;
1140
+ }>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$5<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1141
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$5<({
1142
+ /**
1143
+ * 基于路由的name匹配
1144
+ */
1145
+ items: T[];
1146
+ mode?: "replace" | "push"; /** 是否使用路由模式,为 false 时使用 v-model 控制选中项 */
1147
+ router?: boolean; /** 标签宽度自适应内容 */
1148
+ shrink?: boolean; /** 是否启用手势滑动切换 */
1149
+ swipeable?: boolean;
1150
+ } & StyleProps & {
1151
+ modelValue?: string;
1152
+ }) & {
1153
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
1154
+ }> & (typeof globalThis extends {
1155
+ __VLS_PROPS_FALLBACK: infer P;
1156
+ } ? P : {});
1157
+ expose: (exposed: {}) => void;
1158
+ attrs: any;
1159
+ slots: {
1160
+ left(): any;
1161
+ right(): any;
1162
+ bottom(): any;
1163
+ };
1164
+ emit: (event: "update:modelValue", value: string | undefined) => void;
1165
+ }>) => import("vue").VNode & {
1166
+ __ctx?: Awaited<typeof __VLS_setup>;
1167
+ };
1168
+ declare const _default$23: typeof __VLS_export$15;
1169
+ type __VLS_PrettifyLocal$5<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=DcTab.vue.d.ts.map
1170
+ //#endregion
1171
+ //#region lib/components/DcText.vue.d.ts
1172
+ type __VLS_Props$9 = {
1173
+ text?: string;
1174
+ } & StyleProps;
1175
+ declare const __VLS_export$14: import("vue").DefineComponent<__VLS_Props$9, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$9> & Readonly<{}>, {
1176
+ text: string;
1177
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1178
+ declare const _default$24: typeof __VLS_export$14;
1179
+ //#endregion
1180
+ //#region lib/components/DcToggleIcon.vue.d.ts
1181
+ type __VLS_Props$8 = {
1182
+ icon: Component;
1183
+ size?: string | number;
1184
+ disChanged?: boolean;
1185
+ rowMode?: boolean;
1186
+ padding?: boolean;
1187
+ } & StyleProps;
1188
+ type __VLS_ModelProps$8 = {
1189
+ modelValue?: boolean;
1190
+ };
1191
+ type __VLS_PublicProps$8 = __VLS_Props$8 & __VLS_ModelProps$8;
1192
+ declare var __VLS_12: {};
1193
+ type __VLS_Slots = {} & {
1194
+ default?: (props: typeof __VLS_12) => any;
1195
+ };
1196
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps$8, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1197
+ click: (to: boolean) => any;
1198
+ "update:modelValue": (value: boolean) => any;
1199
+ change: (mode: boolean) => any;
1200
+ longClick: () => any;
1201
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$8> & Readonly<{
1202
+ onClick?: ((to: boolean) => any) | undefined;
1203
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1204
+ onChange?: ((mode: boolean) => any) | undefined;
1205
+ onLongClick?: (() => any) | undefined;
1206
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1207
+ declare const __VLS_export$13: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
1208
+ declare const _default$25: typeof __VLS_export$13;
1209
+ type __VLS_WithSlots<T, S> = T & {
1210
+ new (): {
1211
+ $slots: S;
1212
+ };
1213
+ }; //# sourceMappingURL=DcToggleIcon.vue.d.ts.map
1214
+ //#endregion
1215
+ //#region lib/components/DcVar.vue.d.ts
1216
+ declare const __VLS_export$12: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$4<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1217
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$4<{
1218
+ value: T;
1219
+ }> & (typeof globalThis extends {
1220
+ __VLS_PROPS_FALLBACK: infer P;
1221
+ } ? P : {});
1222
+ expose: (exposed: {}) => void;
1223
+ attrs: any;
1224
+ slots: {
1225
+ default(arg: {
1226
+ value: T;
1227
+ }): any;
1228
+ };
1229
+ emit: {};
1230
+ }>) => import("vue").VNode & {
1231
+ __ctx?: Awaited<typeof __VLS_setup>;
1232
+ };
1233
+ declare const _default$26: typeof __VLS_export$12;
1234
+ type __VLS_PrettifyLocal$4<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=DcVar.vue.d.ts.map
1235
+ //#endregion
1236
+ //#region lib/components/DcWaterfall.vue.d.ts
1237
+ declare const __VLS_export$11: <T extends object>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$3<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1238
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$3<{
1239
+ source: RawSource<T>;
1240
+ col?: [min: number, max: number] | number;
1241
+ padding?: number;
1242
+ gap?: number;
1243
+ minHeight?: number;
1244
+ unReloadable?: boolean;
1245
+ } & StyleProps> & (typeof globalThis extends {
1246
+ __VLS_PROPS_FALLBACK: infer P;
1247
+ } ? P : {});
1248
+ expose: (exposed: import("vue").ShallowUnwrapRef<{
1249
+ scrollTop: import("vue").WritableComputedRef<number, number>;
1250
+ scrollParent: import("vue").ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
1251
+ reloadList: () => Promise<void>;
1252
+ }>) => void;
1253
+ attrs: any;
1254
+ slots: {
1255
+ default(props: {
1256
+ item: T;
1257
+ index: number;
1258
+ height?: number;
1259
+ minHeight: number;
1260
+ length: number;
1261
+ }): any;
1262
+ };
1263
+ emit: {};
1264
+ }>) => import("vue").VNode & {
1265
+ __ctx?: Awaited<typeof __VLS_setup>;
1266
+ };
1267
+ declare const _default$27: typeof __VLS_export$11;
1268
+ type __VLS_PrettifyLocal$3<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=DcWaterfall.vue.d.ts.map
1269
+ //#endregion
1270
+ //#region ../../node_modules/.pnpm/vue-component-type-helpers@3.3.7/node_modules/vue-component-type-helpers/index.d.ts
1271
+ type ComponentProps<T> = T extends (new (...args: any) => {
1272
+ $props: infer P;
1273
+ }) ? NonNullable<P> : T extends ((props: infer P, ...args: any) => any) ? P : {};
1274
+ //#endregion
1275
+ //#region lib/environment/registry.d.ts
1276
+ interface GlobalEnvironments extends Record<string, Component> {}
1277
+ type EnvironmentKey = Extract<keyof GlobalEnvironments, string>;
1278
+ interface EnvironmentRegistration<TKey extends EnvironmentKey = EnvironmentKey, TComponent extends GlobalEnvironments[TKey] = GlobalEnvironments[TKey]> {
1279
+ readonly component: Raw<TComponent>;
1280
+ readonly condition: (args: ComponentProps<TComponent>) => boolean | Promise<boolean>;
1281
+ readonly id: symbol;
1282
+ readonly key: TKey;
1283
+ }
1284
+ declare class EnvironmentRegistry {
1285
+ private readonly entries;
1286
+ private readonly owners;
1287
+ register<TKey extends EnvironmentKey, TComponent extends GlobalEnvironments[TKey] = GlobalEnvironments[TKey]>(key: TKey, component: Raw<TComponent>, condition?: EnvironmentRegistration<TKey, TComponent>['condition'], owner?: string | undefined): () => void;
1288
+ forKey<TKey extends EnvironmentKey>(key: TKey): EnvironmentRegistration<TKey, Component>[];
1289
+ removeOwner(owner: string): void;
1290
+ withOwner<T>(owner: string, action: () => Promise<T>): Promise<T>;
1291
+ }
1292
+ declare const environmentRegistry: EnvironmentRegistry;
1293
+ declare const addEnvironment: <TKey extends EnvironmentKey, TComponent extends GlobalEnvironments[TKey] = GlobalEnvironments[TKey]>(key: TKey, component: Raw<TComponent>, condition?: EnvironmentRegistration<TKey, TComponent>["condition"], owner?: string) => () => void;
1294
+ //#endregion
1295
+ //#region lib/environment/DcEnvironment.vue.d.ts
1296
+ declare const __VLS_export$10: <TKey extends EnvironmentKey, TComponent extends GlobalEnvironments[TKey] = GlobalEnvironments[TKey]>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$2<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1297
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$2<{
1298
+ args: ComponentProps<TComponent>;
1299
+ name: TKey;
1300
+ }> & (typeof globalThis extends {
1301
+ __VLS_PROPS_FALLBACK: infer P;
1302
+ } ? P : {});
1303
+ expose: (exposed: {}) => void;
1304
+ attrs: any;
1305
+ slots: {};
1306
+ emit: {};
1307
+ }>) => import("vue").VNode & {
1308
+ __ctx?: Awaited<typeof __VLS_setup>;
1309
+ };
1310
+ declare const _default$5: typeof __VLS_export$10;
1311
+ type __VLS_PrettifyLocal$2<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=DcEnvironment.vue.d.ts.map
1312
+ //#endregion
1313
+ //#region lib/components/form/type.d.ts
1314
+ interface FormRowSlot<T extends FormConfigure, O extends (keyof T)[], K extends O[number]> {
1315
+ config: T[K];
1316
+ path: K;
1317
+ modelValue: FormSingleResult<T[K]>;
1318
+ setModelValue(value: FormSingleResult<T[K]>): void;
1319
+ }
1320
+ //#endregion
1321
+ //#region lib/components/form/components/DcForm.vue.d.ts
1322
+ declare const __VLS_export$9: <T extends FormConfigure, O extends (keyof T)[] = (keyof T)[]>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal$1<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1323
+ props: import("vue").PublicProps & __VLS_PrettifyLocal$1<({
1324
+ configs: T;
1325
+ /**
1326
+ * 设置为`true`,则所有的`DcFormItem`都会替换;如果是数组,则它仅替换数组内包含的`key`的`DcFormItem`
1327
+ */
1328
+ overrideRow?: boolean | O;
1329
+ } & {
1330
+ modelValue: FormResult<T>;
1331
+ }) & {
1332
+ "onUpdate:modelValue"?: ((value: FormResult<T>) => any) | undefined;
1333
+ }> & (typeof globalThis extends {
1334
+ __VLS_PROPS_FALLBACK: infer P;
1335
+ } ? P : {});
1336
+ expose: (exposed: {}) => void;
1337
+ attrs: any;
1338
+ slots: {
1339
+ row?<K extends O[number]>(args: FormRowSlot<T, O, K>): any;
1340
+ top?(args: {
1341
+ config: T;
1342
+ }): any;
1343
+ bottom?(args: {
1344
+ config: T;
1345
+ }): any;
1346
+ };
1347
+ emit: (event: "update:modelValue", value: FormResult<T>) => void;
1348
+ }>) => import("vue").VNode & {
1349
+ __ctx?: Awaited<typeof __VLS_setup>;
1350
+ };
1351
+ declare const _default$6: typeof __VLS_export$9;
1352
+ type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=DcForm.vue.d.ts.map
1353
+ //#endregion
1354
+ //#region lib/components/form/components/DcFormCheckbox.vue.d.ts
1355
+ type __VLS_Props$7 = {
1356
+ config: FormCheckbox;
1357
+ };
1358
+ type __VLS_ModelProps$7 = {
1359
+ modelValue: FormSingleResult<FormCheckbox>;
1360
+ };
1361
+ type __VLS_PublicProps$7 = __VLS_Props$7 & __VLS_ModelProps$7;
1362
+ declare const __VLS_export$8: import("vue").DefineComponent<__VLS_PublicProps$7, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1363
+ "update:modelValue": (value: string[]) => any;
1364
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$7> & Readonly<{
1365
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
1366
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1367
+ declare const _default$7: typeof __VLS_export$8;
1368
+ //#endregion
1369
+ //#region lib/components/form/components/DcFormDate.vue.d.ts
1370
+ type __VLS_Props$6 = {
1371
+ config: FormDate;
1372
+ };
1373
+ type __VLS_ModelProps$6 = {
1374
+ modelValue: FormSingleResult<FormDate>;
1375
+ };
1376
+ type __VLS_PublicProps$6 = __VLS_Props$6 & __VLS_ModelProps$6;
1377
+ declare const __VLS_export$7: import("vue").DefineComponent<__VLS_PublicProps$6, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1378
+ "update:modelValue": (value: string) => any;
1379
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$6> & Readonly<{
1380
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1381
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1382
+ declare const _default$8: typeof __VLS_export$7;
1383
+ //#endregion
1384
+ //#region lib/components/form/components/DcFormDateRange.vue.d.ts
1385
+ type __VLS_Props$5 = {
1386
+ config: FormDateRange;
1387
+ };
1388
+ type __VLS_ModelProps$5 = {
1389
+ modelValue: FormSingleResult<FormDateRange>;
1390
+ };
1391
+ type __VLS_PublicProps$5 = __VLS_Props$5 & __VLS_ModelProps$5;
1392
+ declare const __VLS_export$6: import("vue").DefineComponent<__VLS_PublicProps$5, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1393
+ "update:modelValue": (value: [Form: string, to: string]) => any;
1394
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$5> & Readonly<{
1395
+ "onUpdate:modelValue"?: ((value: [Form: string, to: string]) => any) | undefined;
1396
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1397
+ declare const _default$9: typeof __VLS_export$6;
1398
+ //#endregion
1399
+ //#region lib/components/form/components/DcFormItem.vue.d.ts
1400
+ declare const __VLS_export$5: <T extends FormSingleConfigure>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1401
+ props: import("vue").PublicProps & __VLS_PrettifyLocal<({
1402
+ config: T;
1403
+ path: string;
1404
+ } & {
1405
+ modelValue: FormSingleResult<T>;
1406
+ }) & {
1407
+ "onUpdate:modelValue"?: ((value: FormSingleResult<T>) => any) | undefined;
1408
+ }> & (typeof globalThis extends {
1409
+ __VLS_PROPS_FALLBACK: infer P;
1410
+ } ? P : {});
1411
+ expose: (exposed: {}) => void;
1412
+ attrs: any;
1413
+ slots: {};
1414
+ emit: (event: "update:modelValue", value: FormSingleResult<T>) => void;
1415
+ }>) => import("vue").VNode & {
1416
+ __ctx?: Awaited<typeof __VLS_setup>;
1417
+ };
1418
+ declare const _default$10: typeof __VLS_export$5;
1419
+ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {}; //# sourceMappingURL=DcFormItem.vue.d.ts.map
1420
+ //#endregion
1421
+ //#region lib/components/form/components/DcFormNumber.vue.d.ts
1422
+ type __VLS_Props$4 = {
1423
+ config: FormNumber;
1424
+ };
1425
+ type __VLS_ModelProps$4 = {
1426
+ modelValue: FormSingleResult<FormNumber>;
1427
+ };
1428
+ type __VLS_PublicProps$4 = __VLS_Props$4 & __VLS_ModelProps$4;
1429
+ declare const __VLS_export$4: import("vue").DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1430
+ "update:modelValue": (value: number) => any;
1431
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$4> & Readonly<{
1432
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
1433
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1434
+ declare const _default$11: typeof __VLS_export$4;
1435
+ //#endregion
1436
+ //#region lib/components/form/components/DcFormPairs.vue.d.ts
1437
+ type __VLS_Props$3 = {
1438
+ config: FormPairs;
1439
+ };
1440
+ type __VLS_ModelProps$3 = {
1441
+ modelValue: FormSingleResult<FormPairs>;
1442
+ };
1443
+ type __VLS_PublicProps$3 = __VLS_Props$3 & __VLS_ModelProps$3;
1444
+ declare const __VLS_export$3: import("vue").DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1445
+ "update:modelValue": (value: {
1446
+ key: string;
1447
+ value: string;
1448
+ }[]) => any;
1449
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
1450
+ "onUpdate:modelValue"?: ((value: {
1451
+ key: string;
1452
+ value: string;
1453
+ }[]) => any) | undefined;
1454
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1455
+ declare const _default$12: typeof __VLS_export$3;
1456
+ //#endregion
1457
+ //#region lib/components/form/components/DcFormRadio.vue.d.ts
1458
+ type __VLS_Props$2 = {
1459
+ config: FormRadio;
1460
+ };
1461
+ type __VLS_ModelProps$2 = {
1462
+ modelValue: FormSingleResult<FormRadio>;
1463
+ };
1464
+ type __VLS_PublicProps$2 = __VLS_Props$2 & __VLS_ModelProps$2;
1465
+ declare const __VLS_export$2: import("vue").DefineComponent<__VLS_PublicProps$2, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1466
+ "update:modelValue": (value: string) => any;
1467
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$2> & Readonly<{
1468
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1469
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1470
+ declare const _default$13: typeof __VLS_export$2;
1471
+ //#endregion
1472
+ //#region lib/components/form/components/DcFormString.vue.d.ts
1473
+ type __VLS_Props$1 = {
1474
+ config: FormString;
1475
+ };
1476
+ type __VLS_ModelProps$1 = {
1477
+ modelValue: FormSingleResult<FormString>;
1478
+ };
1479
+ type __VLS_PublicProps$1 = __VLS_Props$1 & __VLS_ModelProps$1;
1480
+ declare const __VLS_export$1: import("vue").DefineComponent<__VLS_PublicProps$1, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1481
+ "update:modelValue": (value: string) => any;
1482
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{
1483
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1484
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1485
+ declare const _default$14: typeof __VLS_export$1;
1486
+ //#endregion
1487
+ //#region lib/components/form/components/DcFormSwitch.vue.d.ts
1488
+ type __VLS_Props = {
1489
+ config: FormSwitch;
1490
+ };
1491
+ type __VLS_ModelProps = {
1492
+ modelValue: FormSingleResult<FormSwitch>;
1493
+ };
1494
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
1495
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1496
+ "update:modelValue": (value: boolean) => any;
1497
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
1498
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
1499
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1500
+ declare const _default$15: typeof __VLS_export;
1501
+ //#endregion
1502
+ //#region lib/components/form/functional.d.ts
1503
+ declare const createForm: <T extends FormConfigure>(configs: T) => {
1504
+ comp: import("vue/jsx-runtime").JSX.Element;
1505
+ data: Promise<FormResult<T>>;
1506
+ };
1507
+ //#endregion
1508
+ //#region lib/i18n.d.ts
1509
+ type UiMessageKey = 'actions.retry' | 'actions.submit' | 'feedback.failed' | 'feedback.success' | 'form.pairs.keyPlaceholder' | 'form.pairs.valuePlaceholder' | 'image.retry' | 'status.loading' | 'status.networkError' | 'status.noResults' | 'status.unknownReason';
1510
+ type UiMessageParams = Record<string, number | string>;
1511
+ type UiMessageResolver = (key: UiMessageKey, params?: UiMessageParams) => string;
1512
+ declare const configureUiI18n: (nextResolver?: UiMessageResolver) => void;
1513
+ declare const translateUi: (key: UiMessageKey, params?: UiMessageParams) => string;
1514
+ //#endregion
1515
+ //#region lib/message/download.d.ts
1516
+ interface DownloadMessageProgress extends DownloadMessageLoading {
1517
+ /** 0~100 */
1518
+ progress: number;
1519
+ }
1520
+ interface DownloadMessageLoading {
1521
+ description: string;
1522
+ retryable: boolean;
1523
+ }
1524
+ interface DownloadMessageBind {
1525
+ createProgress<TResult>(title: string, fn: (ins: Reactive<DownloadMessageProgress>) => Promise<TResult>): Promise<TResult>;
1526
+ createLoading<TResult>(title: string, fn: (ins: Reactive<DownloadMessageLoading>) => Promise<TResult>): Promise<TResult>;
1527
+ }
1528
+ declare const createDownloadMessage: <T>(title: string, bind: (method: DownloadMessageBind) => Promise<T>) => Promise<T>;
1529
+ //#endregion
1530
+ //#region lib/message/loading.d.ts
1531
+ type LoadingMessageReactive = {
1532
+ content?: any;
1533
+ type: 'default' | 'error' | 'info' | 'loading' | 'success' | 'warning';
1534
+ destroy(): void;
1535
+ };
1536
+ type LoadingMessageApi = {
1537
+ loading(content: any, options?: {
1538
+ duration?: number;
1539
+ }): LoadingMessageReactive;
1540
+ };
1541
+ type LoadingBind = {
1542
+ <T extends PromiseLike<any>>(promise?: T, throwError?: true, successText?: string, failText?: string): Promise<Awaited<T>>;
1543
+ <T extends PromiseLike<any>>(promise: T | undefined, throwError: false, successText?: string, failText?: string): Promise<Awaited<T> | undefined>;
1544
+ };
1545
+ type LoadingInstance = {
1546
+ bind: LoadingBind;
1547
+ success(text?: string, delayTime?: number): Promise<void>;
1548
+ fail(text?: string, delayTime?: number): Promise<void>;
1549
+ info(text: string, delayTime?: number): Promise<void>;
1550
+ destroy(): void;
1551
+ [Symbol.dispose](): void;
1552
+ instance: LoadingMessageReactive;
1553
+ };
1554
+ declare const createLoadingMessage: (text?: MaybeRefOrGetter<string>, api?: LoadingMessageApi) => LoadingInstance;
1555
+ //#endregion
1556
+ export { _default as DcAuthorIcon, _default$1 as DcAwait, _default$2 as DcCell, _default$3 as DcCellGroup, _default$4 as DcContent, _default$5 as DcEnvironment, _default$6 as DcForm, _default$7 as DcFormCheckbox, _default$8 as DcFormDate, _default$9 as DcFormDateRange, _default$10 as DcFormItem, _default$11 as DcFormNumber, _default$12 as DcFormPairs, _default$13 as DcFormRadio, _default$14 as DcFormString, _default$15 as DcFormSwitch, _default$16 as DcImage, _default$17 as DcImagedIcon, _default$18 as DcList, _default$19 as DcLoading, _default$20 as DcMarkdown, _default$21 as DcPullRefresh, _default$22 as DcState, _default$23 as DcTab, _default$24 as DcText, _default$25 as DcToggleIcon, _default$26 as DcVar, _default$27 as DcWaterfall, DownloadMessageBind, DownloadMessageLoading, DownloadMessageProgress, EnvironmentKey, EnvironmentRegistration, EnvironmentRegistry, GlobalEnvironments, LoadingInstance, RawSource, StyleProps, UiMessageKey, UiMessageParams, UiMessageResolver, UnionSource, addEnvironment, cn, configureUiI18n, createDownloadMessage, createForm, createLoadingMessage, environmentRegistry, toUnionSource, translateUi, usePreventBack };
1557
+ //# sourceMappingURL=index.d.ts.map