riku
2026-01-16 1f9e43b7bbb848c7ee2aaa89ffece17002b2c915
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
import { SuperComponent } from '../common/src/index';
export default class QRCode extends SuperComponent {
    externalClasses: string[];
    options: {
        multipleSlots: boolean;
        virtualHost: boolean;
    };
    properties: {
        statusRender: {
            type: BooleanConstructor;
            value: boolean;
        };
        style: {
            type: StringConstructor;
            value: string;
        };
        customStyle: {
            type: StringConstructor;
            value: string;
        };
        bgColor?: {
            type: StringConstructor;
            value?: string;
        };
        borderless?: {
            type: BooleanConstructor;
            value?: boolean;
        };
        color?: {
            type: StringConstructor;
            value?: string;
        };
        icon?: {
            type: StringConstructor;
            value?: string;
        };
        iconSize?: {
            type: null;
            value?: number | {
                width: number;
                height: number;
            };
        };
        level?: {
            type: StringConstructor;
            value?: "M" | "L" | "Q" | "H";
        };
        size?: {
            type: NumberConstructor;
            value?: number;
        };
        status?: {
            type: StringConstructor;
            value?: import("./type").QRStatus;
        };
        value?: {
            type: StringConstructor;
            value?: string;
        };
    };
    data: {
        prefix: string;
        showMask: boolean;
        classPrefix: string;
        canvasReady: boolean;
    };
    lifetimes: {
        ready(): Promise<void>;
        attached(): void;
    };
    observers: {
        status: (newVal: string) => void;
    };
    methods: {
        handleDrawCompleted(): void;
        handleDrawError(err: any): void;
        handleRefresh(): void;
        handleDownload(): Promise<void>;
    };
}