DocumentConfig: {
    config?: {
        accessType?: DocumentAccess;
        maxPage?: number;
        pageTitle: string;
        showDownload?: boolean;
        showMail?: boolean;
        showShare?: boolean;
        type: "book" | "fullPage";
        wmOptions?: Partial<{
            content: string;
            enabled: boolean;
            font: {
                color: string;
                lineHeight?: number;
                size: number;
                style: string;
                weight: string;
            };
            img: {
                placement: "tl" | "tr" | "center" | "bl" | "br";
                width: number;
            };
            multi: boolean;
            opacity: number;
            rotate: number;
            type?: "img" | "text";
        }>;
    };
    documentConfigDto?: {
        detail: {
            accessType: DocumentAccess;
            actions: ButtonActions;
            buttonIcons: {
                height: number;
                position: {
                    x: {
                        key: string;
                        value: number;
                    };
                    y: {
                        key: string;
                        value: number;
                    };
                };
                spacing: number;
                toggleFalseIcon: string;
                toggleTrueIcon: string;
                width: number;
            };
            maxPage: number;
            type: "vertical" | "horizontal";
        };
        isByDefault: boolean;
    };
    downloadUrl: string;
    hashId: string;
    name: string;
    pdfInfo?: {
        at: string;
        pageSize: number;
        pages: string[];
        status: number;
        totalSize: string;
    };
    pdfShare?: wx.ShareToUserConfig;
    source: string;
}

Type declaration

  • Optional config?: {
        accessType?: DocumentAccess;
        maxPage?: number;
        pageTitle: string;
        showDownload?: boolean;
        showMail?: boolean;
        showShare?: boolean;
        type: "book" | "fullPage";
        wmOptions?: Partial<{
            content: string;
            enabled: boolean;
            font: {
                color: string;
                lineHeight?: number;
                size: number;
                style: string;
                weight: string;
            };
            img: {
                placement: "tl" | "tr" | "center" | "bl" | "br";
                width: number;
            };
            multi: boolean;
            opacity: number;
            rotate: number;
            type?: "img" | "text";
        }>;
    }
    • Optional accessType?: DocumentAccess
    • Optional maxPage?: number
    • pageTitle: string
    • Optional showDownload?: boolean
    • Optional showMail?: boolean
    • Optional showShare?: boolean
    • type: "book" | "fullPage"
    • Optional wmOptions?: Partial<{
          content: string;
          enabled: boolean;
          font: {
              color: string;
              lineHeight?: number;
              size: number;
              style: string;
              weight: string;
          };
          img: {
              placement: "tl" | "tr" | "center" | "bl" | "br";
              width: number;
          };
          multi: boolean;
          opacity: number;
          rotate: number;
          type?: "img" | "text";
      }>
  • Optional documentConfigDto?: {
        detail: {
            accessType: DocumentAccess;
            actions: ButtonActions;
            buttonIcons: {
                height: number;
                position: {
                    x: {
                        key: string;
                        value: number;
                    };
                    y: {
                        key: string;
                        value: number;
                    };
                };
                spacing: number;
                toggleFalseIcon: string;
                toggleTrueIcon: string;
                width: number;
            };
            maxPage: number;
            type: "vertical" | "horizontal";
        };
        isByDefault: boolean;
    }
    • detail: {
          accessType: DocumentAccess;
          actions: ButtonActions;
          buttonIcons: {
              height: number;
              position: {
                  x: {
                      key: string;
                      value: number;
                  };
                  y: {
                      key: string;
                      value: number;
                  };
              };
              spacing: number;
              toggleFalseIcon: string;
              toggleTrueIcon: string;
              width: number;
          };
          maxPage: number;
          type: "vertical" | "horizontal";
      }
      • accessType: DocumentAccess
      • actions: ButtonActions
      • buttonIcons: {
            height: number;
            position: {
                x: {
                    key: string;
                    value: number;
                };
                y: {
                    key: string;
                    value: number;
                };
            };
            spacing: number;
            toggleFalseIcon: string;
            toggleTrueIcon: string;
            width: number;
        }
        • height: number
        • position: {
              x: {
                  key: string;
                  value: number;
              };
              y: {
                  key: string;
                  value: number;
              };
          }
          • x: {
                key: string;
                value: number;
            }
            • key: string
            • value: number
          • y: {
                key: string;
                value: number;
            }
            • key: string
            • value: number
        • spacing: number
        • toggleFalseIcon: string
        • toggleTrueIcon: string
        • width: number
      • maxPage: number
      • type: "vertical" | "horizontal"
    • isByDefault: boolean
  • downloadUrl: string
  • hashId: string
  • name: string
  • Optional pdfInfo?: {
        at: string;
        pageSize: number;
        pages: string[];
        status: number;
        totalSize: string;
    }
    • at: string
    • pageSize: number
    • pages: string[]
    • status: number
    • totalSize: string
  • Optional pdfShare?: wx.ShareToUserConfig
  • source: string

Generated using TypeDoc