UNPKG

vue-files-preview-inno

Version:

A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.

1 lines 1.44 kB
{"version":3,"file":"epub.mjs","sources":["../../../../../node_modules/epubjs/src/epub.js"],"sourcesContent":["import Book from \"./book\";\nimport Rendition from \"./rendition\";\nimport CFI from \"./epubcfi\";\nimport Contents from \"./contents\";\nimport * as utils from \"./utils/core\";\nimport { EPUBJS_VERSION } from \"./utils/constants\";\n\nimport IframeView from \"./managers/views/iframe\";\nimport DefaultViewManager from \"./managers/default\";\nimport ContinuousViewManager from \"./managers/continuous\";\n\n/**\n * Creates a new Book\n * @param {string|ArrayBuffer} url URL, Path or ArrayBuffer\n * @param {object} options to pass to the book\n * @returns {Book} a new Book object\n * @example ePub(\"/path/to/book.epub\", {})\n */\nfunction ePub(url, options) {\n\treturn new Book(url, options);\n}\n\nePub.VERSION = EPUBJS_VERSION;\n\nif (typeof(global) !== \"undefined\") {\n\tglobal.EPUBJS_VERSION = EPUBJS_VERSION;\n}\n\nePub.Book = Book;\nePub.Rendition = Rendition;\nePub.Contents = Contents;\nePub.CFI = CFI;\nePub.utils = utils;\n\nexport default ePub;\n"],"names":["ePub","url","options","Book","EPUBJS_VERSION","Rendition","Contents","CFI","utils"],"mappings":";;;;;;;;;;;AAkBA,SAASA,EAAKC,GAAKC,GAAS;AAC3B,SAAO,IAAIC,EAAKF,GAAKC,CAAO;AAC7B;AAEAF,EAAK,UAAUI;AAEX,OAAO,SAAY,QACtB,OAAO,iBAAiBA;AAGzBJ,EAAK,OAAOG;AACZH,EAAK,YAAYK;AACjBL,EAAK,WAAWM;AAChBN,EAAK,MAAMO;AACXP,EAAK,QAAQQ;","x_google_ignoreList":[0]}