riku
2026-04-02 3282e95db0207ee133d1e98d9771dec9d83b0fc4
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
import { SuperComponent } from '../../../common/src/index';
export default class QRCode extends SuperComponent {
    properties: {
        value: {
            type: StringConstructor;
            value: string;
        };
        icon: {
            type: StringConstructor;
            value: string;
        };
        size: {
            type: NumberConstructor;
            value: number;
        };
        iconSize: {
            type: any;
            value: null;
        };
        level: {
            type: StringConstructor;
            value: import("../../../common/shared/qrcode/types").ErrorCorrectionLevel;
        };
        bgColor: {
            type: StringConstructor;
            value: string;
        };
        color: {
            type: StringConstructor;
            value: string;
        };
        includeMargin: {
            type: BooleanConstructor;
            value: boolean;
        };
        marginSize: {
            type: NumberConstructor;
            value: number;
        };
    };
    lifetimes: {
        ready(): void;
    };
    observers: {
        '**': () => void;
    };
    methods: {
        initCanvas(): Promise<void>;
        drawQrcode(canvas: WechatMiniprogram.Canvas, ctx: WechatMiniprogram.CanvasContext): Promise<void>;
        getSizeProp(iconSize: number | {
            width: number;
            height: number;
        } | null | undefined): {
            width: number;
            height: number;
        };
        checkDefaultValue(): void;
        getCanvasNode(): Promise<unknown>;
    };
}