From 8944cf67c7d5c5b03c595b1c0028557d90310608 Mon Sep 17 00:00:00 2001 From: Each Chen Date: Mon, 19 Aug 2024 07:31:07 +0800 Subject: [PATCH 01/11] zh-hant init --- i18n/zh-Hant/code.json | 265 ++++++++++++ .../options.json | 14 + .../current.json | 34 ++ .../current/apis/_category_.json | 7 + .../current/apis/classes/Html5Qrcode.md | 386 ++++++++++++++++++ .../apis/classes/Html5QrcodeScanner.md | 261 ++++++++++++ .../current/apis/classes/_category_.json | 8 + .../current/apis/enums/Html5QrcodeScanType.md | 36 ++ .../apis/enums/Html5QrcodeScannerState.md | 58 +++ .../apis/enums/Html5QrcodeSupportedFormats.md | 201 +++++++++ .../current/apis/enums/_category_.json | 8 + .../apis/interfaces/CameraCapabilities.md | 48 +++ .../current/apis/interfaces/CameraDevice.md | 36 ++ .../interfaces/Html5QrcodeCameraScanConfig.md | 113 +++++ .../apis/interfaces/Html5QrcodeFullConfig.md | 106 +++++ .../apis/interfaces/Html5QrcodeResult.md | 36 ++ .../current/apis/interfaces/_category_.json | 8 + .../current/apis/readme.md | 38 ++ .../current/intro.md | 257 ++++++++++++ .../current/supported_code_formats.md | 32 ++ .../current/supported_frameworks.md | 41 ++ .../markdown-page.md | 7 + .../docusaurus-theme-classic/footer.json | 46 +++ .../docusaurus-theme-classic/navbar.json | 30 ++ 24 files changed, 2076 insertions(+) create mode 100644 i18n/zh-Hant/code.json create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-blog/options.json create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current.json create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/_category_.json create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5QrcodeScanner.md create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/_category_.json create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeScanType.md create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeScannerState.md create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeSupportedFormats.md create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/_category_.json create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/CameraCapabilities.md create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/CameraDevice.md create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeCameraScanConfig.md create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeFullConfig.md create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeResult.md create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/_category_.json create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/readme.md create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/intro.md create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/supported_code_formats.md create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-docs/current/supported_frameworks.md create mode 100644 i18n/zh-Hant/docusaurus-plugin-content-pages/markdown-page.md create mode 100644 i18n/zh-Hant/docusaurus-theme-classic/footer.json create mode 100644 i18n/zh-Hant/docusaurus-theme-classic/navbar.json diff --git a/i18n/zh-Hant/code.json b/i18n/zh-Hant/code.json new file mode 100644 index 0000000..d26778b --- /dev/null +++ b/i18n/zh-Hant/code.json @@ -0,0 +1,265 @@ +{ + "theme.ErrorPageContent.title": { + "message": "此頁已當機。", + "description": "The title of the fallback page when the page crashed" + }, + "theme.ErrorPageContent.tryAgain": { + "message": "重試", + "description": "The label of the button to try again when the page crashed" + }, + "theme.NotFound.title": { + "message": "找不到頁面", + "description": "The title of the 404 page" + }, + "theme.NotFound.p1": { + "message": "我們沒有您要找的頁面。", + "description": "The first paragraph of the 404 page" + }, + "theme.NotFound.p2": { + "message": "請聯絡原始連結來源網站的所有者,並通知他們連結已毀損。", + "description": "The 2nd paragraph of the 404 page" + }, + "theme.BackToTopButton.buttonAriaLabel": { + "message": "回到頂部", + "description": "The ARIA label for the back to top button" + }, + "theme.blog.archive.title": { + "message": "歷史文章", + "description": "The page & hero title of the blog archive page" + }, + "theme.blog.archive.description": { + "message": "歷史文章", + "description": "The page & hero description of the blog archive page" + }, + "theme.admonition.note": { + "message": "備註", + "description": "The default label used for the Note admonition (:::note)" + }, + "theme.admonition.tip": { + "message": "提示", + "description": "The default label used for the Tip admonition (:::tip)" + }, + "theme.admonition.danger": { + "message": "危險", + "description": "The default label used for the Danger admonition (:::danger)" + }, + "theme.admonition.info": { + "message": "信息", + "description": "The default label used for the Info admonition (:::info)" + }, + "theme.admonition.caution": { + "message": "警告", + "description": "The default label used for the Caution admonition (:::caution)" + }, + "theme.blog.paginator.navAriaLabel": { + "message": "部落格文章列表分頁導覽", + "description": "The ARIA label for the blog pagination" + }, + "theme.blog.paginator.newerEntries": { + "message": "較新的文章", + "description": "The label used to navigate to the newer blog posts page (previous page)" + }, + "theme.blog.paginator.olderEntries": { + "message": "較舊的文章", + "description": "The label used to navigate to the older blog posts page (next page)" + }, + "theme.blog.post.paginator.navAriaLabel": { + "message": "部落格文章分頁導覽", + "description": "The ARIA label for the blog posts pagination" + }, + "theme.blog.post.paginator.newerPost": { + "message": "較新一篇", + "description": "The blog post button label to navigate to the newer/previous post" + }, + "theme.blog.post.paginator.olderPost": { + "message": "較舊一篇", + "description": "The blog post button label to navigate to the older/next post" + }, + "theme.blog.post.plurals": { + "message": "{count} 篇文章", + "description": "Pluralized label for \"{count} posts\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.blog.tagTitle": { + "message": "{nPosts} 含有標籤「{tagName}」", + "description": "The title of the page for a blog tag" + }, + "theme.tags.tagsPageLink": { + "message": "檢視所有標籤", + "description": "The label of the link targeting the tag list page" + }, + "theme.docs.breadcrumbs.home": { + "message": "主頁面", + "description": "The ARIA label for the home page in the breadcrumbs" + }, + "theme.docs.breadcrumbs.navAriaLabel": { + "message": "頁面路徑", + "description": "The ARIA label for the breadcrumbs" + }, + "theme.colorToggle.ariaLabel": { + "message": "切換淺色/暗黑模式(當前為{mode})", + "description": "The ARIA label for the navbar color mode toggle" + }, + "theme.colorToggle.ariaLabel.mode.dark": { + "message": "暗黑模式", + "description": "The name for the dark color mode" + }, + "theme.colorToggle.ariaLabel.mode.light": { + "message": "淺色模式", + "description": "The name for the light color mode" + }, + "theme.docs.DocCard.categoryDescription": { + "message": "{count} 個項目", + "description": "The default description for a category card in the generated index about how many items this category includes" + }, + "theme.docs.paginator.navAriaLabel": { + "message": "文件分頁導覽", + "description": "The ARIA label for the docs pagination" + }, + "theme.docs.paginator.previous": { + "message": "上一頁", + "description": "The label used to navigate to the previous doc" + }, + "theme.docs.paginator.next": { + "message": "下一頁", + "description": "The label used to navigate to the next doc" + }, + "theme.docs.tagDocListPageTitle.nDocsTagged": { + "message": "{count} 篇文件帶有標籤", + "description": "Pluralized label for \"{count} docs tagged\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.docs.tagDocListPageTitle": { + "message": "{nDocsTagged}「{tagName}」", + "description": "The title of the page for a docs tag" + }, + "theme.docs.versions.unreleasedVersionLabel": { + "message": "此為 {siteTitle} {versionLabel} 版尚未發行的文件。", + "description": "The label used to tell the user that he's browsing an unreleased doc version" + }, + "theme.docs.versions.unmaintainedVersionLabel": { + "message": "此為 {siteTitle} {versionLabel} 版的文件,現已不再積極維護。", + "description": "The label used to tell the user that he's browsing an unmaintained doc version" + }, + "theme.docs.versions.latestVersionSuggestionLabel": { + "message": "最新的文件請參閱 {latestVersionLink} ({versionLabel})。", + "description": "The label used to tell the user to check the latest version" + }, + "theme.docs.versions.latestVersionLinkLabel": { + "message": "最新版本", + "description": "The label used for the latest version suggestion link label" + }, + "theme.common.editThisPage": { + "message": "編輯此頁", + "description": "The link label to edit the current page" + }, + "theme.common.headingLinkTitle": { + "message": "標題的直接連結", + "description": "Title for link to heading" + }, + "theme.docs.versionBadge.label": { + "message": "版本:{versionLabel}" + }, + "theme.lastUpdated.atDate": { + "message": "於 {date} ", + "description": "The words used to describe on which date a page has been last updated" + }, + "theme.lastUpdated.byUser": { + "message": "由 {user} ", + "description": "The words used to describe by who the page has been last updated" + }, + "theme.lastUpdated.lastUpdatedAtBy": { + "message": "最後{byUser}{atDate}更新", + "description": "The sentence used to display when a page has been last updated, and by who" + }, + "theme.navbar.mobileVersionsDropdown.label": { + "message": "選擇版本", + "description": "The label for the navbar versions dropdown on mobile view" + }, + "theme.tags.tagsListLabel": { + "message": "標籤:", + "description": "The label alongside a tag list" + }, + "theme.AnnouncementBar.closeButtonAriaLabel": { + "message": "關閉", + "description": "The ARIA label for close button of announcement bar" + }, + "theme.blog.sidebar.navAriaLabel": { + "message": "最近部落格文章導覽", + "description": "The ARIA label for recent posts in the blog sidebar" + }, + "theme.CodeBlock.copied": { + "message": "複製成功", + "description": "The copied button label on code blocks" + }, + "theme.CodeBlock.copyButtonAriaLabel": { + "message": "複製代碼至剪貼簿", + "description": "The ARIA label for copy code blocks button" + }, + "theme.CodeBlock.copy": { + "message": "複製", + "description": "The copy button label on code blocks" + }, + "theme.CodeBlock.wordWrapToggle": { + "message": "切換自動換行", + "description": "The title attribute for toggle word wrapping button of code block lines" + }, + "theme.DocSidebarItem.toggleCollapsedCategoryAriaLabel": { + "message": "打開/收起側邊欄選單「{label}」", + "description": "The ARIA label to toggle the collapsible sidebar category" + }, + "theme.navbar.mobileLanguageDropdown.label": { + "message": "選擇語言", + "description": "The label for the mobile language switcher dropdown" + }, + "theme.blog.post.readMore": { + "message": "閱讀更多", + "description": "The label used in blog post item excerpts to link to full blog posts" + }, + "theme.blog.post.readMoreLabel": { + "message": "閱讀 {title} 全文", + "description": "The ARIA label for the link to full blog posts from excerpts" + }, + "theme.TOCCollapsible.toggleButtonLabel": { + "message": "本頁導覽", + "description": "The label used by the button on the collapsible TOC component" + }, + "theme.blog.post.readingTime.plurals": { + "message": "閱讀時間約 {readingTime} 分鐘", + "description": "Pluralized label for \"{readingTime} min read\". Use as much plural forms (separated by \"|\") as your language support (see https://www.unicode.org/cldr/cldr-aux/charts/34/supplemental/language_plural_rules.html)" + }, + "theme.docs.sidebar.collapseButtonTitle": { + "message": "收起側邊欄", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.collapseButtonAriaLabel": { + "message": "收起側邊欄", + "description": "The title attribute for collapse button of doc sidebar" + }, + "theme.docs.sidebar.closeSidebarButtonAriaLabel": { + "message": "Close navigation bar", + "description": "The ARIA label for close button of mobile sidebar" + }, + "theme.navbar.mobileSidebarSecondaryMenu.backButtonLabel": { + "message": "← 回到主選單", + "description": "The label of the back button to return to main menu, inside the mobile navbar sidebar secondary menu (notably used to display the docs sidebar)" + }, + "theme.docs.sidebar.toggleSidebarButtonAriaLabel": { + "message": "Toggle navigation bar", + "description": "The ARIA label for hamburger menu button of mobile navigation" + }, + "theme.docs.sidebar.expandButtonTitle": { + "message": "展開側邊欄", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.docs.sidebar.expandButtonAriaLabel": { + "message": "展開側邊欄", + "description": "The ARIA label and title attribute for expand button of doc sidebar" + }, + "theme.common.skipToMainContent": { + "message": "跳至主要内容", + "description": "The skip to content label used for accessibility, allowing to rapidly navigate to main content with keyboard tab/enter navigation" + }, + "theme.tags.tagsPageTitle": { + "message": "標籤", + "description": "The title of the tag list page" + } +} diff --git a/i18n/zh-Hant/docusaurus-plugin-content-blog/options.json b/i18n/zh-Hant/docusaurus-plugin-content-blog/options.json new file mode 100644 index 0000000..9239ff7 --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-blog/options.json @@ -0,0 +1,14 @@ +{ + "title": { + "message": "Blog", + "description": "The title for the blog used in SEO" + }, + "description": { + "message": "Blog", + "description": "The description for the blog used in SEO" + }, + "sidebar.title": { + "message": "Recent posts", + "description": "The label for the left sidebar" + } +} diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current.json b/i18n/zh-Hant/docusaurus-plugin-content-docs/current.json new file mode 100644 index 0000000..740380b --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current.json @@ -0,0 +1,34 @@ +{ + "version.label": { + "message": "Next", + "description": "The label for version current" + }, + "sidebar.tutorialSidebar.category.APIs": { + "message": "APIs", + "description": "The label for category APIs in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.Classes": { + "message": "Classes", + "description": "The label for category Classes in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.Classes.link.generated-index.description": { + "message": "html5-qrcode classes", + "description": "The generated-index page description for category Classes in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.Enums": { + "message": "Enums", + "description": "The label for category Enums in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.Enums.link.generated-index.description": { + "message": "html5-qrcode enumerators", + "description": "The generated-index page description for category Enums in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.Interfaces": { + "message": "Interfaces", + "description": "The label for category Interfaces in sidebar tutorialSidebar" + }, + "sidebar.tutorialSidebar.category.Interfaces.link.generated-index.description": { + "message": "html5-qrcode interfaces", + "description": "The generated-index page description for category Interfaces in sidebar tutorialSidebar" + } +} diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/_category_.json b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/_category_.json new file mode 100644 index 0000000..dbc9515 --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/_category_.json @@ -0,0 +1,7 @@ +{ + "label": "APIs", + "position": 4, + "link": { + "type": "generated-index" + } +} diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md new file mode 100644 index 0000000..4dda59f --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md @@ -0,0 +1,386 @@ +--- +sidebar_position: 1 +--- + +[html5-qrcode](../) / Html5Qrcode + +# Class: Html5Qrcode + +Low level APIs for building web based QR and Barcode Scanner. + +Supports APIs for camera as well as file based scanning. + +Depending of the configuration, the class will help render code +scanning UI on the provided parent HTML container. + +## Table of contents + +### Constructors + +- [constructor](Html5Qrcode.md#constructor) + +### Methods + +- [applyVideoConstraints](Html5Qrcode.md#applyvideoconstraints) +- [clear](Html5Qrcode.md#clear) +- [getRunningTrackCameraCapabilities](Html5Qrcode.md#getrunningtrackcameracapabilities) +- [getRunningTrackCapabilities](Html5Qrcode.md#getrunningtrackcapabilities) +- [getRunningTrackSettings](Html5Qrcode.md#getrunningtracksettings) +- [getState](Html5Qrcode.md#getstate) +- [pause](Html5Qrcode.md#pause) +- [resume](Html5Qrcode.md#resume) +- [scanFile](Html5Qrcode.md#scanfile) +- [scanFileV2](Html5Qrcode.md#scanfilev2) +- [start](Html5Qrcode.md#start) +- [stop](Html5Qrcode.md#stop) +- [getCameras](Html5Qrcode.md#getcameras) + +## Constructors + +### constructor + +• **new Html5Qrcode**(`elementId`, `configOrVerbosityFlag?`) + +Initialize the code scanner. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `elementId` | `string` | Id of the HTML element. | +| `configOrVerbosityFlag?` | `boolean` \| [`Html5QrcodeFullConfig`](../interfaces/Html5QrcodeFullConfig.md) | optional, config object of type [Html5QrcodeFullConfig](../interfaces/Html5QrcodeFullConfig.md) or a boolean verbosity flag (to maintain backward compatibility). If nothing is passed, default values would be used. If a boolean value is used, it'll be used to set verbosity. Pass a config value to configure the Html5Qrcode scanner as per needs. Use of `configOrVerbosityFlag` as a boolean value is being deprecated since version 2.0.7. TODO(mebjas): Deprecate the verbosity boolean flag completely. | + +#### Defined in + +[html5-qrcode.ts:313](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L313) + +## Methods + +### applyVideoConstraints + +▸ **applyVideoConstraints**(`videoConstaints`): `Promise`<`void`\> + +Apply a video constraints on running video track from camera. + +Important: + 1. Must be called only if the camera based scanning is in progress. + 2. Changing aspectRatio while scanner is running is not yet supported. + +**`Throws`** + +error if the scanning is not in running state. + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `videoConstaints` | `MediaTrackConstraints` | + +#### Returns + +`Promise`<`void`\> + +a Promise which succeeds if the passed constraints are applied, + fails otherwise. + +#### Defined in + +[html5-qrcode.ts:829](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L829) + +___ + +### clear + +▸ **clear**(): `void` + +Clears the existing canvas. + +Note: in case of ongoing web cam based scan, it needs to be explicitly +closed before calling this method, else it will throw exception. + +#### Returns + +`void` + +#### Defined in + +[html5-qrcode.ts:758](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L758) + +___ + +### getRunningTrackCameraCapabilities + +▸ **getRunningTrackCameraCapabilities**(): [`CameraCapabilities`](../interfaces/CameraCapabilities.md) + +Returns [CameraCapabilities](../interfaces/CameraCapabilities.md) of the running video track. + +TODO(minhazav): Document this API, currently hidden. + +**`Throws`** + +error if the scanning is not in running state. + +#### Returns + +[`CameraCapabilities`](../interfaces/CameraCapabilities.md) + +capabilities of the running camera. + +#### Defined in + +[html5-qrcode.ts:811](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L811) + +___ + +### getRunningTrackCapabilities + +▸ **getRunningTrackCapabilities**(): `MediaTrackCapabilities` + +Returns the capabilities of the running video track. + +Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getConstraints + +Important: + 1. Must be called only if the camera based scanning is in progress. + +**`Throws`** + +error if the scanning is not in running state. + +#### Returns + +`MediaTrackCapabilities` + +capabilities of the running camera. + +#### Defined in + +[html5-qrcode.ts:782](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L782) + +___ + +### getRunningTrackSettings + +▸ **getRunningTrackSettings**(): `MediaTrackSettings` + +Returns the object containing the current values of each constrainable +property of the running video track. + +Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getSettings + +Important: + 1. Must be called only if the camera based scanning is in progress. + +**`Throws`** + +error if the scanning is not in running state. + +#### Returns + +`MediaTrackSettings` + +settings of the running media track. + +#### Defined in + +[html5-qrcode.ts:799](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L799) + +___ + +### getState + +▸ **getState**(): [`Html5QrcodeScannerState`](../enums/Html5QrcodeScannerState.md) + +Gets state of the camera scan. + +#### Returns + +[`Html5QrcodeScannerState`](../enums/Html5QrcodeScannerState.md) + +state of type ScannerState. + +#### Defined in + +[html5-qrcode.ts:539](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L539) + +___ + +### pause + +▸ **pause**(`shouldPauseVideo?`): `void` + +Pauses the ongoing scan. + +**`Throws`** + +error if method is called when scanner is not in scanning state. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `shouldPauseVideo?` | `boolean` | (Optional, default = false) If true the video will be paused. | + +#### Returns + +`void` + +#### Defined in + +[html5-qrcode.ts:480](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L480) + +___ + +### resume + +▸ **resume**(): `void` + +Resumes the paused scan. + +If the video was previously paused by setting `shouldPauseVideo`` +to `true` in [(shouldPauseVideo)](Html5Qrcode.md#pause), calling +this method will resume the video. + +Note: with this caller will start getting results in success and error +callbacks. + +**`Throws`** + +error if method is called when scanner is not in paused state. + +#### Returns + +`void` + +#### Defined in + +[html5-qrcode.ts:508](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L508) + +___ + +### scanFile + +▸ **scanFile**(`imageFile`, `showImage?`): `Promise`<`string`\> + +Scans an Image File for QR Code. + +This feature is mutually exclusive to camera-based scanning, you should +call stop() if the camera-based scanning was ongoing. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `imageFile` | `File` | a local file with Image content. | +| `showImage?` | `boolean` | if true the Image will be rendered on given element. | + +#### Returns + +`Promise`<`string`\> + +Promise with decoded QR code string on success and error message +on failure. Failure could happen due to different reasons: + 1. QR Code decode failed because enough patterns not found in image. + 2. Input file was not image or unable to load the image or other image + load errors. + +#### Defined in + +[html5-qrcode.ts:615](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L615) + +___ + +### scanFileV2 + +▸ **scanFileV2**(`imageFile`, `showImage?`): `Promise`<[`Html5QrcodeResult`](../interfaces/Html5QrcodeResult.md)\> + +Scans an Image File for QR Code & returns [Html5QrcodeResult](../interfaces/Html5QrcodeResult.md). + +This feature is mutually exclusive to camera-based scanning, you should +call stop() if the camera-based scanning was ongoing. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `imageFile` | `File` | a local file with Image content. | +| `showImage?` | `boolean` | if true the Image will be rendered on given element. | + +#### Returns + +`Promise`<[`Html5QrcodeResult`](../interfaces/Html5QrcodeResult.md)\> + +Promise which resolves with result of type +[Html5QrcodeResult](../interfaces/Html5QrcodeResult.md). + + This is a WIP method, it's available as a public method but not +documented. +TODO(mebjas): Replace scanFile with ScanFileV2 + +#### Defined in + +[html5-qrcode.ts:638](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L638) + +___ + +### start + +▸ **start**(`cameraIdOrConfig`, `configuration`, `qrCodeSuccessCallback`, `qrCodeErrorCallback`): `Promise`<``null``\> + +Start scanning QR codes or bar codes for a given camera. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `cameraIdOrConfig` | `string` \| `MediaTrackConstraints` | Identifier of the camera, it can either be the camera id retrieved from Html5Qrcode#getCameras() method or object with facing mode constraint. | +| `configuration` | `undefined` \| [`Html5QrcodeCameraScanConfig`](../interfaces/Html5QrcodeCameraScanConfig.md) | Extra configurations to tune the code scanner. | +| `qrCodeSuccessCallback` | `undefined` \| `QrcodeSuccessCallback` | Callback called when an instance of a QR code or any other supported bar code is found. | +| `qrCodeErrorCallback` | `undefined` \| `QrcodeErrorCallback` | Callback called in cases where no instance of QR code or any other supported bar code is found. | + +#### Returns + +`Promise`<``null``\> + +Promise for starting the scan. The Promise can fail if the user +doesn't grant permission or some API is not supported by the browser. + +#### Defined in + +[html5-qrcode.ts:360](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L360) + +___ + +### stop + +▸ **stop**(): `Promise`<`void`\> + +Stops streaming QR Code video and scanning. + +#### Returns + +`Promise`<`void`\> + +Promise for safely closing the video stream. + +#### Defined in + +[html5-qrcode.ts:548](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L548) + +___ + +### getCameras + +▸ `Static` **getCameras**(): `Promise`<[`CameraDevice`](../interfaces/CameraDevice.md)[]\> + +Returns list of [CameraDevice](../interfaces/CameraDevice.md) supported by the device. + +#### Returns + +`Promise`<[`CameraDevice`](../interfaces/CameraDevice.md)[]\> + +array of camera devices on success. + +#### Defined in + +[html5-qrcode.ts:767](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L767) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5QrcodeScanner.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5QrcodeScanner.md new file mode 100644 index 0000000..03dbe42 --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5QrcodeScanner.md @@ -0,0 +1,261 @@ +--- +sidebar_position: 2 +--- + +[html5-qrcode](../) / Html5QrcodeScanner + +# Class: Html5QrcodeScanner + +End to end web based QR and Barcode Scanner. + +Use this class for setting up QR scanner in your web application with +few lines of codes. + +- Supports camera as well as file based scanning. +- Depending on device supports camera selection, zoom and torch features. +- Supports different kind of 2D and 1D codes [Html5QrcodeSupportedFormats](../enums/Html5QrcodeSupportedFormats.md). + +## Table of contents + +### Constructors + +- [constructor](Html5QrcodeScanner.md#constructor) + +### Methods + +- [applyVideoConstraints](Html5QrcodeScanner.md#applyvideoconstraints) +- [clear](Html5QrcodeScanner.md#clear) +- [getRunningTrackCapabilities](Html5QrcodeScanner.md#getrunningtrackcapabilities) +- [getRunningTrackSettings](Html5QrcodeScanner.md#getrunningtracksettings) +- [getState](Html5QrcodeScanner.md#getstate) +- [pause](Html5QrcodeScanner.md#pause) +- [render](Html5QrcodeScanner.md#render) +- [resume](Html5QrcodeScanner.md#resume) + +## Constructors + +### constructor + +• **new Html5QrcodeScanner**(`elementId`, `config`, `verbose`) + +Creates instance of this class. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `elementId` | `string` | Id of the HTML element. | +| `config` | `undefined` \| `Html5QrcodeScannerConfig` | Extra configurations to tune the code scanner. | +| `verbose` | `undefined` \| `boolean` | If true, all logs would be printed to console. | + +#### Defined in + +[html5-qrcode-scanner.ts:208](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L208) + +## Methods + +### applyVideoConstraints + +▸ **applyVideoConstraints**(`videoConstaints`): `Promise`<`void`\> + +Apply a video constraints on running video track from camera. + +Note: Should only be called if [()](Html5QrcodeScanner.md#getstate) + returns [SCANNING](../enums/Html5QrcodeScannerState.md#scanning) or + [PAUSED](../enums/Html5QrcodeScannerState.md#paused). + +**`Throws`** + +error if the scanning is not in running state. + +#### Parameters + +| Name | Type | +| :------ | :------ | +| `videoConstaints` | `MediaTrackConstraints` | + +#### Returns + +`Promise`<`void`\> + +a Promise which succeeds if the passed constraints are applied, + fails otherwise. + +#### Defined in + +[html5-qrcode-scanner.ts:428](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L428) + +___ + +### clear + +▸ **clear**(): `Promise`<`void`\> + +Removes the QR Code scanner UI. + +#### Returns + +`Promise`<`void`\> + +Promise which succeeds if the cleanup is complete successfully, + fails otherwise. + +#### Defined in + +[html5-qrcode-scanner.ts:335](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L335) + +___ + +### getRunningTrackCapabilities + +▸ **getRunningTrackCapabilities**(): `MediaTrackCapabilities` + +Returns the capabilities of the running video track. + +Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getConstraints + +Note: Should only be called if [()](Html5QrcodeScanner.md#getstate) + returns [SCANNING](../enums/Html5QrcodeScannerState.md#scanning) or + [PAUSED](../enums/Html5QrcodeScannerState.md#paused). + +**`Throws`** + +error if the scanning is not in running state. + +#### Returns + +`MediaTrackCapabilities` + +the capabilities of a running video track. + +#### Defined in + +[html5-qrcode-scanner.ts:393](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L393) + +___ + +### getRunningTrackSettings + +▸ **getRunningTrackSettings**(): `MediaTrackSettings` + +Returns the object containing the current values of each constrainable +property of the running video track. + +Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getSettings + +Note: Should only be called if [()](Html5QrcodeScanner.md#getstate) + returns [SCANNING](../enums/Html5QrcodeScannerState.md#scanning) or + [PAUSED](../enums/Html5QrcodeScannerState.md#paused). + +**`Throws`** + +error if the scanning is not in running state. + +#### Returns + +`MediaTrackSettings` + +the supported settings of the running video track. + +#### Defined in + +[html5-qrcode-scanner.ts:410](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L410) + +___ + +### getState + +▸ **getState**(): [`Html5QrcodeScannerState`](../enums/Html5QrcodeScannerState.md) + +Gets state of the camera scan. + +#### Returns + +[`Html5QrcodeScannerState`](../enums/Html5QrcodeScannerState.md) + +state of type [Html5QrcodeScannerState](../enums/Html5QrcodeScannerState.md). + +#### Defined in + +[html5-qrcode-scanner.ts:325](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L325) + +___ + +### pause + +▸ **pause**(`shouldPauseVideo?`): `void` + +Pauses the ongoing scan. + +Notes: +- Should only be called if camera scan is ongoing. + +**`Throws`** + +error if method is called when scanner is not in scanning state. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `shouldPauseVideo?` | `boolean` | (Optional, default = false) If `true` the video will be paused. | + +#### Returns + +`void` + +#### Defined in + +[html5-qrcode-scanner.ts:294](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L294) + +___ + +### render + +▸ **render**(`qrCodeSuccessCallback`, `qrCodeErrorCallback`): `void` + +Renders the User Interface. + +#### Parameters + +| Name | Type | Description | +| :------ | :------ | :------ | +| `qrCodeSuccessCallback` | `QrcodeSuccessCallback` | Callback called when an instance of a QR code or any other supported bar code is found. | +| `qrCodeErrorCallback` | `undefined` \| `QrcodeErrorCallback` | optional, callback called in cases where no instance of QR code or any other supported bar code is found. | + +#### Returns + +`void` + +#### Defined in + +[html5-qrcode-scanner.ts:241](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L241) + +___ + +### resume + +▸ **resume**(): `void` + +Resumes the paused scan. + +If the video was previously paused by setting `shouldPauseVideo` +to `true` in [(shouldPauseVideo)](Html5QrcodeScanner.md#pause), +calling this method will resume the video. + +Notes: +- Should only be called if camera scan is ongoing. +- With this caller will start getting results in success and error +callbacks. + +**`Throws`** + +error if method is called when scanner is not in paused state. + +#### Returns + +`void` + +#### Defined in + +[html5-qrcode-scanner.ts:316](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L316) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/_category_.json b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/_category_.json new file mode 100644 index 0000000..e9d2d7e --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "Classes", + "position": 2, + "link": { + "type": "generated-index", + "description": "html5-qrcode classes" + } +} diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeScanType.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeScanType.md new file mode 100644 index 0000000..c1c5fb7 --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeScanType.md @@ -0,0 +1,36 @@ +--- +sidebar_position: 2 +--- + +[html5-qrcode](../) / Html5QrcodeScanType + +# Enumeration: Html5QrcodeScanType + +Types of scans supported by the library + +## Table of contents + +### Enumeration Members + +- [SCAN\_TYPE\_CAMERA](Html5QrcodeScanType.md#scan_type_camera) +- [SCAN\_TYPE\_FILE](Html5QrcodeScanType.md#scan_type_file) + +## Enumeration Members + +### SCAN\_TYPE\_CAMERA + +• **SCAN\_TYPE\_CAMERA** = ``0`` + +#### Defined in + +[core.ts:77](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L77) + +___ + +### SCAN\_TYPE\_FILE + +• **SCAN\_TYPE\_FILE** = ``1`` + +#### Defined in + +[core.ts:78](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L78) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeScannerState.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeScannerState.md new file mode 100644 index 0000000..411061f --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeScannerState.md @@ -0,0 +1,58 @@ +--- +sidebar_position: 1 +--- + +[html5-qrcode](../) / Html5QrcodeScannerState + +# Enumeration: Html5QrcodeScannerState + +Different states of scanner + +## Table of contents + +### Enumeration Members + +- [NOT\_STARTED](Html5QrcodeScannerState.md#not_started) +- [PAUSED](Html5QrcodeScannerState.md#paused) +- [SCANNING](Html5QrcodeScannerState.md#scanning) +- [UNKNOWN](Html5QrcodeScannerState.md#unknown) + +## Enumeration Members + +### NOT\_STARTED + +• **NOT\_STARTED** = ``1`` + +#### Defined in + +[state-manager.ts:14](https://github.com/mebjas/html5-qrcode/blob/600717e/src/state-manager.ts#L14) + +___ + +### PAUSED + +• **PAUSED** = ``3`` + +#### Defined in + +[state-manager.ts:18](https://github.com/mebjas/html5-qrcode/blob/600717e/src/state-manager.ts#L18) + +___ + +### SCANNING + +• **SCANNING** = ``2`` + +#### Defined in + +[state-manager.ts:16](https://github.com/mebjas/html5-qrcode/blob/600717e/src/state-manager.ts#L16) + +___ + +### UNKNOWN + +• **UNKNOWN** = ``0`` + +#### Defined in + +[state-manager.ts:11](https://github.com/mebjas/html5-qrcode/blob/600717e/src/state-manager.ts#L11) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeSupportedFormats.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeSupportedFormats.md new file mode 100644 index 0000000..90d07e2 --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeSupportedFormats.md @@ -0,0 +1,201 @@ +--- +sidebar_position: 3 +--- + +[html5-qrcode](../) / Html5QrcodeSupportedFormats + +# Enumeration: Html5QrcodeSupportedFormats + +Code formats supported by this library. + +## Table of contents + +### Enumeration Members + +- [AZTEC](Html5QrcodeSupportedFormats.md#aztec) +- [CODABAR](Html5QrcodeSupportedFormats.md#codabar) +- [CODE\_128](Html5QrcodeSupportedFormats.md#code_128) +- [CODE\_39](Html5QrcodeSupportedFormats.md#code_39) +- [CODE\_93](Html5QrcodeSupportedFormats.md#code_93) +- [DATA\_MATRIX](Html5QrcodeSupportedFormats.md#data_matrix) +- [EAN\_13](Html5QrcodeSupportedFormats.md#ean_13) +- [EAN\_8](Html5QrcodeSupportedFormats.md#ean_8) +- [ITF](Html5QrcodeSupportedFormats.md#itf) +- [MAXICODE](Html5QrcodeSupportedFormats.md#maxicode) +- [PDF\_417](Html5QrcodeSupportedFormats.md#pdf_417) +- [QR\_CODE](Html5QrcodeSupportedFormats.md#qr_code) +- [RSS\_14](Html5QrcodeSupportedFormats.md#rss_14) +- [RSS\_EXPANDED](Html5QrcodeSupportedFormats.md#rss_expanded) +- [UPC\_A](Html5QrcodeSupportedFormats.md#upc_a) +- [UPC\_E](Html5QrcodeSupportedFormats.md#upc_e) +- [UPC\_EAN\_EXTENSION](Html5QrcodeSupportedFormats.md#upc_ean_extension) + +## Enumeration Members + +### AZTEC + +• **AZTEC** = ``1`` + +#### Defined in + +[core.ts:16](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L16) + +___ + +### CODABAR + +• **CODABAR** = ``2`` + +#### Defined in + +[core.ts:17](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L17) + +___ + +### CODE\_128 + +• **CODE\_128** = ``5`` + +#### Defined in + +[core.ts:20](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L20) + +___ + +### CODE\_39 + +• **CODE\_39** = ``3`` + +#### Defined in + +[core.ts:18](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L18) + +___ + +### CODE\_93 + +• **CODE\_93** = ``4`` + +#### Defined in + +[core.ts:19](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L19) + +___ + +### DATA\_MATRIX + +• **DATA\_MATRIX** = ``6`` + +#### Defined in + +[core.ts:21](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L21) + +___ + +### EAN\_13 + +• **EAN\_13** = ``9`` + +#### Defined in + +[core.ts:24](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L24) + +___ + +### EAN\_8 + +• **EAN\_8** = ``10`` + +#### Defined in + +[core.ts:25](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L25) + +___ + +### ITF + +• **ITF** = ``8`` + +#### Defined in + +[core.ts:23](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L23) + +___ + +### MAXICODE + +• **MAXICODE** = ``7`` + +#### Defined in + +[core.ts:22](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L22) + +___ + +### PDF\_417 + +• **PDF\_417** = ``11`` + +#### Defined in + +[core.ts:26](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L26) + +___ + +### QR\_CODE + +• **QR\_CODE** = ``0`` + +#### Defined in + +[core.ts:15](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L15) + +___ + +### RSS\_14 + +• **RSS\_14** = ``12`` + +#### Defined in + +[core.ts:27](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L27) + +___ + +### RSS\_EXPANDED + +• **RSS\_EXPANDED** = ``13`` + +#### Defined in + +[core.ts:28](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L28) + +___ + +### UPC\_A + +• **UPC\_A** = ``14`` + +#### Defined in + +[core.ts:29](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L29) + +___ + +### UPC\_E + +• **UPC\_E** = ``15`` + +#### Defined in + +[core.ts:30](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L30) + +___ + +### UPC\_EAN\_EXTENSION + +• **UPC\_EAN\_EXTENSION** = ``16`` + +#### Defined in + +[core.ts:31](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L31) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/_category_.json b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/_category_.json new file mode 100644 index 0000000..685670e --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "Enums", + "position": 3, + "link": { + "type": "generated-index", + "description": "html5-qrcode enumerators" + } +} diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/CameraCapabilities.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/CameraCapabilities.md new file mode 100644 index 0000000..82f43b0 --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/CameraCapabilities.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 5 +--- + +[html5-qrcode](../) / CameraCapabilities + +# Interface: CameraCapabilities + +Class exposing different capabilities of camera. + +## Table of contents + +### Methods + +- [torchFeature](CameraCapabilities.md#torchfeature) +- [zoomFeature](CameraCapabilities.md#zoomfeature) + +## Methods + +### torchFeature + +▸ **torchFeature**(): `BooleanCameraCapability` + +Torch capability of the camera. + +#### Returns + +`BooleanCameraCapability` + +#### Defined in + +[camera/core.ts:49](https://github.com/mebjas/html5-qrcode/blob/600717e/src/camera/core.ts#L49) + +___ + +### zoomFeature + +▸ **zoomFeature**(): `RangeCameraCapability` + +Zoom capability of the camera. + +#### Returns + +`RangeCameraCapability` + +#### Defined in + +[camera/core.ts:46](https://github.com/mebjas/html5-qrcode/blob/600717e/src/camera/core.ts#L46) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/CameraDevice.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/CameraDevice.md new file mode 100644 index 0000000..2865b36 --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/CameraDevice.md @@ -0,0 +1,36 @@ +--- +sidebar_position: 4 +--- + +[html5-qrcode](../) / CameraDevice + +# Interface: CameraDevice + +Camera device interface. + +## Table of contents + +### Properties + +- [id](CameraDevice.md#id) +- [label](CameraDevice.md#label) + +## Properties + +### id + +• **id**: `string` + +#### Defined in + +[camera/core.ts:10](https://github.com/mebjas/html5-qrcode/blob/600717e/src/camera/core.ts#L10) + +___ + +### label + +• **label**: `string` + +#### Defined in + +[camera/core.ts:11](https://github.com/mebjas/html5-qrcode/blob/600717e/src/camera/core.ts#L11) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeCameraScanConfig.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeCameraScanConfig.md new file mode 100644 index 0000000..c0bbcd7 --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeCameraScanConfig.md @@ -0,0 +1,113 @@ +--- +sidebar_position: 3 +--- + +[html5-qrcode](../) / Html5QrcodeCameraScanConfig + +# Interface: Html5QrcodeCameraScanConfig + +Configuration type for scanning QR code with camera. + +## Table of contents + +### Properties + +- [aspectRatio](Html5QrcodeCameraScanConfig.md#aspectratio) +- [disableFlip](Html5QrcodeCameraScanConfig.md#disableflip) +- [fps](Html5QrcodeCameraScanConfig.md#fps) +- [qrbox](Html5QrcodeCameraScanConfig.md#qrbox) +- [videoConstraints](Html5QrcodeCameraScanConfig.md#videoconstraints) + +## Properties + +### aspectRatio + +• `Optional` **aspectRatio**: `number` + +Optional, Desired aspect ratio for the video feed. Ideal aspect ratios +are 4:3 or 16:9. Passing very wrong aspect ratio could lead to video feed +not showing up. + +#### Defined in + +[html5-qrcode.ts:164](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L164) + +___ + +### disableFlip + +• `Optional` **disableFlip**: `boolean` + +Optional, if `true` flipped QR Code won't be scanned. Only use this +if you are sure the camera cannot give mirrored feed if you are facing +performance constraints. + +#### Defined in + +[html5-qrcode.ts:171](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L171) + +___ + +### fps + +• **fps**: `undefined` \| `number` + +Optional, Expected framerate of qr code scanning. example `{ fps: 2 }` means the +scanning would be done every `500 ms`. + +#### Defined in + +[html5-qrcode.ts:131](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L131) + +___ + +### qrbox + +• `Optional` **qrbox**: `number` \| `QrDimensions` \| `QrDimensionFunction` + +Optional, edge size, dimension or calculator function for QR scanning +box, the value or computed value should be smaller than the width and +height of the full region. + +This would make the scanner look like this: + ---------------------- + |********************| + |******,,,,,,,,,*****| <--- shaded region + |******| |*****| <--- non shaded region would be + |******| |*****| used for QR code scanning. + |******|_______|*****| + |********************| + |********************| + ---------------------- + +Instance of QrDimensions can be passed to construct a non +square rendering of scanner box. You can also pass in a function of type +QrDimensionFunction that takes in the width and height of the +video stream and return QR box size of type QrDimensions. + +If this value is not set, no shaded QR box will be rendered and the +scanner will scan the entire area of video stream. + +#### Defined in + +[html5-qrcode.ts:157](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L157) + +___ + +### videoConstraints + +• `Optional` **videoConstraints**: `MediaTrackConstraints` + +Optional, @beta(this config is not well supported yet). + +Important: When passed this will override other parameters like +'cameraIdOrConfig' or configurations like 'aspectRatio'. +'videoConstraints' should be of type MediaTrackConstraints as +defined in +https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints +and is used to specify a variety of video or camera controls like: +aspectRatio, facingMode, frameRate, etc. + +#### Defined in + +[html5-qrcode.ts:184](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L184) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeFullConfig.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeFullConfig.md new file mode 100644 index 0000000..f7d26fc --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeFullConfig.md @@ -0,0 +1,106 @@ +--- +sidebar_position: 2 +--- + +[html5-qrcode](../) / Html5QrcodeFullConfig + +# Interface: Html5QrcodeFullConfig + +Interface for full configuration of [Html5Qrcode](../classes/Html5Qrcode.md). + +Notes: Ideally we don't need to have two interfaces for this purpose, but +since the public APIs before version 2.0.8 allowed passing a boolean verbose +flag to constructor we need to allow users to pass Html5QrcodeFullConfig or +boolean flag to be backward compatible. +In future versions these two interfaces can be merged. + +## Hierarchy + +- `Html5QrcodeConfigs` + + ↳ **`Html5QrcodeFullConfig`** + +## Table of contents + +### Properties + +- [experimentalFeatures](Html5QrcodeFullConfig.md#experimentalfeatures) +- [formatsToSupport](Html5QrcodeFullConfig.md#formatstosupport) +- [useBarCodeDetectorIfSupported](Html5QrcodeFullConfig.md#usebarcodedetectorifsupported) +- [verbose](Html5QrcodeFullConfig.md#verbose) + +## Properties + +### experimentalFeatures + +• `Optional` **experimentalFeatures**: `ExperimentalFeaturesConfig` + +Config for experimental features. + +Everything is false by default. + +#### Inherited from + +Html5QrcodeConfigs.experimentalFeatures + +#### Defined in + +[html5-qrcode.ts:104](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L104) + +___ + +### formatsToSupport + +• `Optional` **formatsToSupport**: [`Html5QrcodeSupportedFormats`](../enums/Html5QrcodeSupportedFormats.md)[] + +Array of formats to support of type [Html5QrcodeSupportedFormats](../enums/Html5QrcodeSupportedFormats.md). + +All invalid values would be ignored. If null or underfined all supported +formats will be used for scanning. Unless you want to limit the scan to +only certain formats or want to improve performance, you should not set +this value. + +#### Inherited from + +Html5QrcodeConfigs.formatsToSupport + +#### Defined in + +[html5-qrcode.ts:83](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L83) + +___ + +### useBarCodeDetectorIfSupported + +• `Optional` **useBarCodeDetectorIfSupported**: `boolean` + +BarcodeDetector is being implemented by browsers at the moment. +It has very limited browser support but as it gets available it could +enable faster native code scanning experience. + +Set this flag to true, to enable using BarcodeDetector if +supported. This is true by default. + +Documentations: + - https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector + - https://web.dev/shape-detection/#barcodedetector + +#### Inherited from + +Html5QrcodeConfigs.useBarCodeDetectorIfSupported + +#### Defined in + +[html5-qrcode.ts:97](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L97) + +___ + +### verbose + +• **verbose**: `undefined` \| `boolean` + +If true, all logs would be printed to console. False by default. + +#### Defined in + +[html5-qrcode.ts:120](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L120) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeResult.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeResult.md new file mode 100644 index 0000000..e6e6527 --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeResult.md @@ -0,0 +1,36 @@ +--- +sidebar_position: 1 +--- + +[html5-qrcode](../) / Html5QrcodeResult + +# Interface: Html5QrcodeResult + +QrCode result object. + +## Table of contents + +### Properties + +- [decodedText](Html5QrcodeResult.md#decodedtext) +- [result](Html5QrcodeResult.md#result) + +## Properties + +### decodedText + +• **decodedText**: `string` + +#### Defined in + +[core.ts:184](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L184) + +___ + +### result + +• **result**: `QrcodeResult` + +#### Defined in + +[core.ts:185](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L185) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/_category_.json b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/_category_.json new file mode 100644 index 0000000..d2940b4 --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "Interfaces", + "position": 4, + "link": { + "type": "generated-index", + "description": "html5-qrcode interfaces" + } +} diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/readme.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/readme.md new file mode 100644 index 0000000..574b538 --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/readme.md @@ -0,0 +1,38 @@ +--- +sidebar_position: 1 +--- +# html5-qrcode + +[mebjas/html5-qrcode](https://github.com/mebjas/html5-qrcode) is an open source web based QR code and barcode scanning library built by [mebjas@](https://github.com/mebjas) under [Apache License 2.0](https://github.com/mebjas/html5-qrcode/blob/master/LICENSE) license. + +> Lightweight & cross-platform QR Code and Bar code scanning library for the web +> +> Use this lightweight library to easily / quickly integrate QR code, bar code, and other common code scanning capabilities to your web application. + +Supports two kinds of APIs + +- [Html5QrcodeScanner](classes/Html5QrcodeScanner.md) — End-to-end scanner with UI, integrate with less than ten lines of code. + +- [Html5Qrcode](classes/Html5Qrcode.md) — Powerful set of APIs you can use to build your UI without worrying about camera setup, handling permissions, reading codes, etc. + +## Table of contents + +### Interfaces + +- [Html5QrcodeResult](./apis/interfaces/Html5QrcodeResult) + +### Classes + +- [Html5Qrcode](classes/Html5Qrcode.md) +- [Html5QrcodeScanner](classes/Html5QrcodeScanner.md) + +### Enumerations + +- [Html5QrcodeScanType](enums/Html5QrcodeScanType.md) +- [Html5QrcodeScannerState](enums/Html5QrcodeScannerState.md) +- [Html5QrcodeSupportedFormats](enums/Html5QrcodeSupportedFormats.md) + + + + + diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/intro.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/intro.md new file mode 100644 index 0000000..5e1aab7 --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/intro.md @@ -0,0 +1,257 @@ +--- +sidebar_position: 1 +--- + +# Getting started + +Let's discover **html5-qrcode in less than 5 minutes**. + +## Setup the library +You can get started using `npm`, if you don't use `npm` in your project checkout the next section. + +### Install using npm + +``` +npm install --save-dev html5-qrcode +``` + +### Include minified Javascript directly + +If you are not using any loader, you can get the latest UMD javascript code in production from [https://unpkg.com/html5-qrcode](https://unpkg.com/html5-qrcode). + +```html + +``` +> It's not mandatory to set the height and width of the HTML element. If provided, the library would try to honor it. If it's not set, the library would set a default width and derive the height based on the input image's aspect ratio. + +Add an `Input` element for supporting file selection like this: +```html + + + + +``` +Find more information about this at [developers.google.com](https://developers.google.com/web/fundamentals/media/capturing-images). + +And in JavaScript code initialize the object and attach listener like this: +```js +const html5QrCode = new Html5Qrcode(/* element id */ "reader"); +// File based scanning +const fileinput = document.getElementById('qr-input-file'); +fileinput.addEventListener('change', e => { + if (e.target.files.length == 0) { + // No file selected, ignore + return; + } + + const imageFile = e.target.files[0]; + // Scan QR Code + html5QrCode.scanFile(imageFile, true) + .then(decodedText => { + // success, use decodedText + console.log(decodedText); + }) + .catch(err => { + // failure, handle it. + console.log(`Error scanning file. Reason: ${err}`) + }); +}); + +// Note: Current public API `scanFile` only returns the decoded text. There is +// another work in progress API (in beta) which returns a full decoded result of +// type `QrcodeResult` (check interface in src/core.ts) which contains the +// decoded text, code format, code bounds, etc. +// Eventually, this beta API will be migrated to the public API. +``` + +> Note that inline scanning and file-based scanning are mutually exclusive at the moment. This means you can only use one of them at a time. I'll soon be adding support for the option to have both if the requirement comes in. If you want to use both, use `html5QrCode#clear()` method to clear the canvas. + + +## Demo +
+ +_Scan this image or visit [blog.minhazav.dev/research/html5-qrcode.html](https://blog.minhazav.dev/research/html5-qrcode.html)_ + +## For more information + +### If you are on Medium +[![](https://img.shields.io/badge/Medium-12100E?style=for-the-badge&logo=medium&logoColor=white)](https://bit.ly/3CZiASv) + +[Thorough documentation on Html5-qrcode library on Medium](https://bit.ly/3CZiASv). + +### Otherwise + +Check these articles on how to use this library: + +- [QR and barcode scanner using HTML and JavaScript](https://minhazav.medium.com/qr-and-barcode-scanner-using-html-and-javascript-2cdc937f793d) +- [HTML5 QR Code scanning — launched v1.0.1 without jQuery dependency and refactored Promise based APIs](https://blog.minhazav.dev/HTML5-QR-Code-scanning-launched-v1.0.1/). +- [HTML5 QR Code scanning with JavaScript — Support for scanning the local file and using default camera added (v1.0.5)](https://blog.minhazav.dev/HTML5-QR-Code-scanning-support-for-local-file-and-default-camera/) + +## Screenshots +![screenshot](https://scanapp.org/assets/github_assets/screen.gif)
+_Figure: Screenshot from Google Chrome running on MacBook Pro_ + +## Documentation +Checkout [API documentation](category/apis) for more information on individual components. + + diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/supported_code_formats.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/supported_code_formats.md new file mode 100644 index 0000000..5820318 --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/supported_code_formats.md @@ -0,0 +1,32 @@ +--- +sidebar_position: 3 +--- + +# Supported code formats + +The library supports a variety of 2D and 1D code formats. + + +| Code | Example | +| ---- | ----- | +| QR Code | | +| AZTEC | | +| CODE_39| | +| CODE_93| | +| CODE_128| | +| ITF| | +| EAN_13| | +| EAN_8| | +| PDF_417| | +| UPC_A| | +| UPC_E| | +| DATA_MATRIX| | +| MAXICODE*| | +| RSS_14*| | +| RSS_EXPANDED*| | + +Code scanning is dependent on Javascript [BarcodeDetector](https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector) APIs and [Zxing-js](https://github.com/zxing-js/library) library. + +It's important to note that +- [BarcodeDetector](https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector) may not be supported on all platforms. The supports is not so good on Windows platform. +- [Zxing-js](https://github.com/zxing-js/library) also have some implementation issues as raised in several issues. The authors of the [html5-qrcode](https://github.com/mebjas/html5-qrcode) are working hard to address those issues and improve scanning capability. diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/supported_frameworks.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/supported_frameworks.md new file mode 100644 index 0000000..a562b13 --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/supported_frameworks.md @@ -0,0 +1,41 @@ +--- +sidebar_position: 2 +--- + +# Supported frameworks + +We are working continuously on adding support for more and more platforms. If you find a platform or a browser where the library is not working, please feel free to file an issue. Check the [demo link](https://blog.minhazav.dev/research/html5-qrcode.html) to test it out. + +**Legends** +- ![](https://scanapp.org/assets/github_assets/done.png) Means full support — inline webcam and file based. +- ![](https://scanapp.org/assets/github_assets/partial.png) Means partial support — only file based, webcam in progress. + +### PC / Mac + +| Firefox
Firefox | Chrome
Chrome | Safari
Safari | Opera
Opera | Edge
Edge +| --------- | --------- | --------- | --------- | ------- | +|![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/done.png) | ![](https://scanapp.org/assets/github_assets/done.png) + +### Android + +| Chrome
Chrome | Firefox
Firefox | Edge
Edge | Opera
Opera | Opera-Mini
Opera Mini | UC
UC +| --------- | --------- | --------- | --------- | --------- | --------- | +|![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/partial.png) | ![](https://scanapp.org/assets/github_assets/partial.png) + +### IOS + +| Safari
Safari | Chrome
Chrome | Firefox
Firefox | Edge
Edge +| --------- | --------- | --------- | --------- | +|![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/done.png)* | ![](https://scanapp.org/assets/github_assets/done.png)* | ![](https://scanapp.org/assets/github_assets/partial.png) + + +> \* Supported for IOS versions >= 15.1 +> +> Before version 15.1, Webkit for IOS is used by Chrome, Firefox, and other browsers in IOS and they do not have webcam permissions yet. There is an ongoing issue on fixing the support for iOS - [issue/14](https://github.com/mebjas/html5-qrcode/issues/14) + +### Framework support +The library can be easily used with several other frameworks, I have been adding examples for a few of them and would continue to add more. + +|| | | | +| -------- | -------- | -------- | -------- | -------- | +| [Html5](https://github.com/mebjas/html5-qrcode/tree/master/examples/html5) | [VueJs](https://github.com/mebjas/html5-qrcode/tree/master/examples/vuejs) | [ElectronJs](https://github.com/mebjas/html5-qrcode/tree/master/examples/electron) | [React](https://github.com/scanapp-org/html5-qrcode-react) | [Lit](https://github.com/mebjas/html5-qrcode/tree/master/examples/lit) \ No newline at end of file diff --git a/i18n/zh-Hant/docusaurus-plugin-content-pages/markdown-page.md b/i18n/zh-Hant/docusaurus-plugin-content-pages/markdown-page.md new file mode 100644 index 0000000..9756c5b --- /dev/null +++ b/i18n/zh-Hant/docusaurus-plugin-content-pages/markdown-page.md @@ -0,0 +1,7 @@ +--- +title: Markdown page example +--- + +# Markdown page example + +You don't need React to write simple standalone pages. diff --git a/i18n/zh-Hant/docusaurus-theme-classic/footer.json b/i18n/zh-Hant/docusaurus-theme-classic/footer.json new file mode 100644 index 0000000..e07da67 --- /dev/null +++ b/i18n/zh-Hant/docusaurus-theme-classic/footer.json @@ -0,0 +1,46 @@ +{ + "link.title.Docs": { + "message": "文檔", + "description": "The title of the footer links column with title=Docs in the footer" + }, + "link.title.Community": { + "message": "開發社群", + "description": "The title of the footer links column with title=Community in the footer" + }, + "link.title.More": { + "message": "相關連結", + "description": "The title of the footer links column with title=More in the footer" + }, + "link.item.label.Tutorial": { + "message": "使用教學", + "description": "The label of footer link with label=Tutorial linking to /docs/intro" + }, + "link.item.label.Demo": { + "message": "實際展示", + "description": "The label of footer link with label=Demo linking to https://qrcode.minhazav.dev/" + }, + "link.item.label.Stack Overflow": { + "message": "Stack Overflow", + "description": "The label of footer link with label=Stack Overflow linking to https://stackoverflow.com/questions/tagged/html5-qrcode" + }, + "link.item.label.Twitter": { + "message": "Twitter", + "description": "The label of footer link with label=Twitter linking to https://twitter.com/minhazav" + }, + "link.item.label.Blog": { + "message": "Blog", + "description": "The label of footer link with label=Blog linking to https://scanapp.org/blog/" + }, + "link.item.label.Support articles": { + "message": "Q&A", + "description": "The label of footer link with label=Support articles linking to https://scanapp.org/support/" + }, + "link.item.label.GitHub": { + "message": "GitHub", + "description": "The label of footer link with label=GitHub linking to https://github.com/scanapp-org" + }, + "copyright": { + "message": "Copyright © 2024 ScanApp.", + "description": "The footer copyright" + } +} diff --git a/i18n/zh-Hant/docusaurus-theme-classic/navbar.json b/i18n/zh-Hant/docusaurus-theme-classic/navbar.json new file mode 100644 index 0000000..05db41b --- /dev/null +++ b/i18n/zh-Hant/docusaurus-theme-classic/navbar.json @@ -0,0 +1,30 @@ +{ + "title": { + "message": "ScanApp", + "description": "The title in the navbar" + }, + "item.label.API": { + "message": "API", + "description": "Navbar item with label API" + }, + "item.label.ScanApp": { + "message": "ScanApp", + "description": "Navbar item with label ScanApp" + }, + "item.label.Demo": { + "message": "實際展示", + "description": "Navbar item with label Demo" + }, + "item.label.Blog": { + "message": "部落格", + "description": "Navbar item with label Blog" + }, + "item.label.Support articles": { + "message": "Q&A", + "description": "Navbar item with label Support articles" + }, + "item.label.GitHub": { + "message": "GitHub", + "description": "Navbar item with label GitHub" + } +} From 8989663f78d111b98e8b64851dbcd7c0a65cb0a8 Mon Sep 17 00:00:00 2001 From: Each Chen Date: Mon, 19 Aug 2024 14:35:31 +0800 Subject: [PATCH 02/11] intro --- docusaurus.config.js | 15 ++++ .../current/intro.md | 86 ++++++++++--------- 2 files changed, 60 insertions(+), 41 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 0c4de99..07529f9 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -26,6 +26,16 @@ const config = { i18n: { defaultLocale: 'en', locales: ['en'], + localeConfigs:{ + 'en': { + label: 'English', + direction: 'ltr', + }, + 'zh-Hant': { + label: '繁體中文', + direction: 'ltr', + } + } }, presets: [ @@ -110,6 +120,11 @@ const config = { label: 'GitHub', position: 'right', target: '', + + }, + { + type: 'localeDropdown', // switch language dropdown + position: 'right', }, ], }, diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/intro.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/intro.md index 5e1aab7..532fc5e 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/intro.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/intro.md @@ -1,33 +1,31 @@ ---- +--- sidebar_position: 1 --- -# Getting started +# 入門指南 -Let's discover **html5-qrcode in less than 5 minutes**. +在不到 5 分鐘內探索 **html5-qrcode**。 -## Setup the library -You can get started using `npm`, if you don't use `npm` in your project checkout the next section. +## 設定必要函式庫 +如果你使用 `npm`,便可以直接開始使用。如果你的專案中沒有使用 `npm`,請參閱下一節。 -### Install using npm +### 使用 npm 安裝 ``` npm install --save-dev html5-qrcode ``` -### Include minified Javascript directly - -If you are not using any loader, you can get the latest UMD javascript code in production from [https://unpkg.com/html5-qrcode](https://unpkg.com/html5-qrcode). +### 直接包含壓縮後的 JavaScript +如果你沒有使用任何 loader ,可以從[https://unpkg.com/html5-qrcode](https://unpkg.com/html5-qrcode) 下載最新的 UMD JavaScript 程式碼以在你的系統中使用。 ```html From d4e4ac8384280b60e122ab02c493c7bdf4c492ac Mon Sep 17 00:00:00 2001 From: Each Chen Date: Mon, 19 Aug 2024 15:07:47 +0800 Subject: [PATCH 03/11] chore: Remove unnecessary files and update docusaurus configuration --- .docusaurus/DONT-EDIT-THIS-FOLDER | 5 - .docusaurus/client-manifest.json | 411 -- .docusaurus/client-modules.js | 6 - .docusaurus/codeTranslations.json | 1 - .../default/blog-archive-80c.json | 218 - .../default/blog-c06.json | 9 - .../default/blog-post-list-prop-default.json | 4 - .../blog-tags-docusaurus-0e0-list.json | 9 - .../default/blog-tags-docusaurus-0e0.json | 6 - .../default/blog-tags-facebook-038-list.json | 9 - .../default/blog-tags-facebook-038.json | 6 - .../default/blog-tags-hello-039-list.json | 9 - .../default/blog-tags-hello-039.json | 6 - .../default/blog-tags-hola-ea2-list.json | 9 - .../default/blog-tags-hola-ea2.json | 6 - .../default/blog-tags-tags-4c2.json | 22 - .../default/html-5-qrcode-docs-blog-65a.json | 9 - .../html-5-qrcode-docs-blog-archive-e66.json | 214 - ...de-docs-blog-tags-docusaurus-bf2-list.json | 9 - ...-qrcode-docs-blog-tags-docusaurus-bf2.json | 6 - ...code-docs-blog-tags-facebook-c8f-list.json | 9 - ...-5-qrcode-docs-blog-tags-facebook-c8f.json | 6 - ...-qrcode-docs-blog-tags-hello-47b-list.json | 9 - ...tml-5-qrcode-docs-blog-tags-hello-47b.json | 6 - ...5-qrcode-docs-blog-tags-hola-515-list.json | 9 - ...html-5-qrcode-docs-blog-tags-hola-515.json | 6 - ...html-5-qrcode-docs-blog-tags-tags-033.json | 22 - .../plugin-route-context-module-100.json | 4 - ...log-2019-05-28-first-blog-post-md-e27.json | 48 - ...blog-2019-05-29-long-blog-post-md-736.json | 46 - ...blog-2021-08-01-mdx-blog-post-mdx-593.json | 43 - ...-blog-2021-08-26-welcome-index-md-d9f.json | 57 - ...lsidebar-category-tutorial-basics-918.json | 16 - ...lsidebar-category-tutorial-extras-3e4.json | 15 - ...ocs-tutorialsidebar-category-apis-daf.json | 15 - ...utorialsidebar-category-classes-1-dc0.json | 16 - ...-tutorialsidebar-category-classes-367.json | 16 - ...cs-tutorialsidebar-category-enums-8e9.json | 16 - ...rialsidebar-category-interfaces-1-816.json | 16 - ...torialsidebar-category-interfaces-62e.json | 16 - ...lsidebar-category-tutorial-basics-0b6.json | 16 - ...idebar-category-tutorial-basics-1-f2d.json | 16 - ...idebar-category-tutorial-extras-1-8f9.json | 15 - ...lsidebar-category-tutorial-extras-590.json | 15 - .../plugin-route-context-module-100.json | 4 - ...ocs-apis-classes-html-5-qrcode-md-ed6.json | 27 - ...-classes-html-5-qrcode-scanner-md-96e.json | 27 - ...-enums-html-5-qrcode-scan-type-md-b31.json | 27 - ...ms-html-5-qrcode-scanner-state-md-400.json | 27 - ...tml-5-qrcode-supported-formats-md-09e.json | 27 - ...docs-apis-html-5-qrcode-result-md-216.json | 24 - ...interfaces-camera-capabilities-md-459.json | 23 - ...-apis-interfaces-camera-device-md-8df.json | 27 - ...ml-5-qrcode-camera-scan-config-md-66b.json | 27 - ...aces-html-5-qrcode-full-config-md-4cb.json | 27 - ...aces-html-5-qrcode-result-copy-md-4d6.json | 24 - ...nterfaces-html-5-qrcode-result-md-9f2.json | 27 - .../site-docs-apis-intro-copy-md-c90.json | 27 - .../default/site-docs-apis-intro-md-5a0.json | 27 - .../site-docs-apis-modules-md-a1a.json | 27 - .../default/site-docs-apis-readme-md-5c0.json | 27 - .../default/site-docs-apis-readme-md-fcc.json | 27 - .../default/site-docs-intro-copy-md-9af.json | 23 - .../default/site-docs-intro-md-0e3.json | 23 - ...te-docs-supported-code-formats-md-3db.json | 27 - ...site-docs-supported-frameworks-md-16b.json | 27 - ...utorial-basics-congratulations-md-822.json | 23 - ...rial-basics-create-a-blog-post-md-533.json | 27 - ...orial-basics-create-a-document-md-1e4.json | 27 - ...-tutorial-basics-create-a-page-md-5c8.json | 27 - ...torial-basics-deploy-your-site-md-f55.json | 27 - ...rial-basics-markdown-features-mdx-18c.json | 27 - ...al-extras-manage-docs-versions-md-dff.json | 27 - ...ial-extras-translate-your-site-md-e44.json | 27 - .../version-current-metadata-prop-751.json | 220 - .../plugin-route-context-module-100.json | 4 - .../site-src-pages-markdown-page-md-393.json | 10 - .../docusaurus-debug-all-content-673.json | 546 --- .../plugin-route-context-module-100.json | 4 - .docusaurus/docusaurus.config.mjs | 386 -- .docusaurus/globalData.json | 118 - .docusaurus/i18n.json | 17 - .docusaurus/registry.js | 29 - .docusaurus/routes.js | 133 - .docusaurus/routesChunkNames.json | 95 - .docusaurus/site-metadata.json | 31 - .gitignore | 2 + README.md | 8 +- build/.nojekyll | 0 build/404.html | 16 - build/assets/css/styles.bf154a13.css | 1 - build/assets/js/09ed057f.e429c541.js | 1 - build/assets/js/0e384e19.54dbdace.js | 1 - build/assets/js/14eb3368.6a8e3910.js | 1 - build/assets/js/16b1ba9a.75996fd5.js | 1 - build/assets/js/17896441.b930c9d6.js | 1 - build/assets/js/1be78505.103218c1.js | 1 - build/assets/js/1f391b9e.0ef5a693.js | 1 - build/assets/js/3465fda5.c2bd7eb2.js | 1 - build/assets/js/393be207.a7f7690e.js | 1 - build/assets/js/3dba6d51.032ba7f0.js | 1 - build/assets/js/400c29a4.6b9ea345.js | 1 - build/assets/js/45997a4e.f7829e6a.js | 1 - build/assets/js/4cbca2df.ad63544c.js | 1 - build/assets/js/666.1ded9964.js | 1 - build/assets/js/66b2fd2e.f723323d.js | 1 - build/assets/js/7bcefba3.423baae0.js | 1 - build/assets/js/8df42017.0004343b.js | 1 - build/assets/js/935f2afb.3928e6c5.js | 1 - build/assets/js/96e362d3.a256378d.js | 1 - build/assets/js/972.a31909e6.js | 1 - build/assets/js/9f26801e.1f7f5ee5.js | 1 - build/assets/js/a9f6ab03.82fdb6be.js | 1 - build/assets/js/ac242a77.6b0d5d3f.js | 1 - build/assets/js/b3177f51.54521c08.js | 1 - build/assets/js/b5f4f4f4.f494e7fb.js | 1 - build/assets/js/bd01d857.6c2f4288.js | 1 - build/assets/js/c4f5d8e4.7955c46a.js | 1 - build/assets/js/ed62b22e.e5edddc1.js | 1 - build/assets/js/fcc98648.c9fbad99.js | 1 - build/assets/js/main.b9d15276.js | 2 - build/assets/js/main.b9d15276.js.LICENSE.txt | 53 - build/assets/js/runtime~main.41deffac.js | 1 - build/docs/apis.html | 16 - build/docs/apis/classes/Html5Qrcode.html | 31 - .../docs/apis/classes/Html5QrcodeScanner.html | 29 - .../docs/apis/enums/Html5QrcodeScanType.html | 16 - .../apis/enums/Html5QrcodeScannerState.html | 16 - .../enums/Html5QrcodeSupportedFormats.html | 16 - .../apis/interfaces/CameraCapabilities.html | 16 - build/docs/apis/interfaces/CameraDevice.html | 16 - .../Html5QrcodeCameraScanConfig.html | 33 - .../interfaces/Html5QrcodeFullConfig.html | 26 - .../apis/interfaces/Html5QrcodeResult.html | 16 - build/docs/category/apis.html | 16 - build/docs/category/classes.html | 16 - build/docs/category/enums.html | 16 - build/docs/category/interfaces.html | 16 - build/docs/intro.html | 17 - build/docs/supported_code_formats.html | 16 - build/docs/supported_frameworks.html | 16 - build/img/19362653-ai.svg | 810 ---- build/img/Wavy_Tech-30_Single-02-ai.svg | 692 --- build/img/Wavy_Tech-30_Single-02.svg | 3911 ----------------- build/img/docusaurus.png | Bin 5142 -> 0 bytes build/img/favicon.ico | Bin 3626 -> 0 bytes build/img/logo.svg | 1 - build/img/undraw_docusaurus_mountain.svg | 171 - build/img/undraw_docusaurus_react.svg | 170 - build/img/undraw_docusaurus_tree.svg | 40 - build/index.html | 16 - build/markdown-page.html | 16 - build/sitemap.xml | 1 - docusaurus.config.js | 2 +- .../current/supported_frameworks.md | 22 +- 155 files changed, 21 insertions(+), 10072 deletions(-) delete mode 100644 .docusaurus/DONT-EDIT-THIS-FOLDER delete mode 100644 .docusaurus/client-manifest.json delete mode 100644 .docusaurus/client-modules.js delete mode 100644 .docusaurus/codeTranslations.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/blog-archive-80c.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/blog-c06.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/blog-post-list-prop-default.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/blog-tags-docusaurus-0e0-list.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/blog-tags-docusaurus-0e0.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/blog-tags-facebook-038-list.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/blog-tags-facebook-038.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/blog-tags-hello-039-list.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/blog-tags-hello-039.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/blog-tags-hola-ea2-list.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/blog-tags-hola-ea2.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/blog-tags-tags-4c2.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-65a.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-archive-e66.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-docusaurus-bf2-list.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-docusaurus-bf2.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-facebook-c8f-list.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-facebook-c8f.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-hello-47b-list.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-hello-47b.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-hola-515-list.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-hola-515.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-tags-033.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/site-blog-2019-05-28-first-blog-post-md-e27.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/site-blog-2019-05-29-long-blog-post-md-736.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/site-blog-2021-08-01-mdx-blog-post-mdx-593.json delete mode 100644 .docusaurus/docusaurus-plugin-content-blog/default/site-blog-2021-08-26-welcome-index-md-d9f.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/category-docs-tutorialsidebar-category-tutorial-basics-918.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/category-docs-tutorialsidebar-category-tutorial-extras-3e4.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-apis-daf.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-classes-1-dc0.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-classes-367.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-enums-8e9.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-interfaces-1-816.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-interfaces-62e.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-tutorial-basics-0b6.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-tutorial-basics-1-f2d.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-tutorial-extras-1-8f9.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-tutorial-extras-590.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-classes-html-5-qrcode-md-ed6.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-classes-html-5-qrcode-scanner-md-96e.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-enums-html-5-qrcode-scan-type-md-b31.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-enums-html-5-qrcode-scanner-state-md-400.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-enums-html-5-qrcode-supported-formats-md-09e.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-html-5-qrcode-result-md-216.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-camera-capabilities-md-459.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-camera-device-md-8df.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-html-5-qrcode-camera-scan-config-md-66b.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-html-5-qrcode-full-config-md-4cb.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-html-5-qrcode-result-copy-md-4d6.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-html-5-qrcode-result-md-9f2.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-intro-copy-md-c90.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-intro-md-5a0.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-modules-md-a1a.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-readme-md-5c0.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-readme-md-fcc.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-intro-copy-md-9af.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-intro-md-0e3.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-supported-code-formats-md-3db.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-supported-frameworks-md-16b.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-congratulations-md-822.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-create-a-blog-post-md-533.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-create-a-document-md-1e4.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-create-a-page-md-5c8.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-deploy-your-site-md-f55.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-markdown-features-mdx-18c.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-extras-manage-docs-versions-md-dff.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-extras-translate-your-site-md-e44.json delete mode 100644 .docusaurus/docusaurus-plugin-content-docs/default/version-current-metadata-prop-751.json delete mode 100644 .docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json delete mode 100644 .docusaurus/docusaurus-plugin-content-pages/default/site-src-pages-markdown-page-md-393.json delete mode 100644 .docusaurus/docusaurus-plugin-debug/default/docusaurus-debug-all-content-673.json delete mode 100644 .docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json delete mode 100644 .docusaurus/docusaurus.config.mjs delete mode 100644 .docusaurus/globalData.json delete mode 100644 .docusaurus/i18n.json delete mode 100644 .docusaurus/registry.js delete mode 100644 .docusaurus/routes.js delete mode 100644 .docusaurus/routesChunkNames.json delete mode 100644 .docusaurus/site-metadata.json delete mode 100644 build/.nojekyll delete mode 100644 build/404.html delete mode 100644 build/assets/css/styles.bf154a13.css delete mode 100644 build/assets/js/09ed057f.e429c541.js delete mode 100644 build/assets/js/0e384e19.54dbdace.js delete mode 100644 build/assets/js/14eb3368.6a8e3910.js delete mode 100644 build/assets/js/16b1ba9a.75996fd5.js delete mode 100644 build/assets/js/17896441.b930c9d6.js delete mode 100644 build/assets/js/1be78505.103218c1.js delete mode 100644 build/assets/js/1f391b9e.0ef5a693.js delete mode 100644 build/assets/js/3465fda5.c2bd7eb2.js delete mode 100644 build/assets/js/393be207.a7f7690e.js delete mode 100644 build/assets/js/3dba6d51.032ba7f0.js delete mode 100644 build/assets/js/400c29a4.6b9ea345.js delete mode 100644 build/assets/js/45997a4e.f7829e6a.js delete mode 100644 build/assets/js/4cbca2df.ad63544c.js delete mode 100644 build/assets/js/666.1ded9964.js delete mode 100644 build/assets/js/66b2fd2e.f723323d.js delete mode 100644 build/assets/js/7bcefba3.423baae0.js delete mode 100644 build/assets/js/8df42017.0004343b.js delete mode 100644 build/assets/js/935f2afb.3928e6c5.js delete mode 100644 build/assets/js/96e362d3.a256378d.js delete mode 100644 build/assets/js/972.a31909e6.js delete mode 100644 build/assets/js/9f26801e.1f7f5ee5.js delete mode 100644 build/assets/js/a9f6ab03.82fdb6be.js delete mode 100644 build/assets/js/ac242a77.6b0d5d3f.js delete mode 100644 build/assets/js/b3177f51.54521c08.js delete mode 100644 build/assets/js/b5f4f4f4.f494e7fb.js delete mode 100644 build/assets/js/bd01d857.6c2f4288.js delete mode 100644 build/assets/js/c4f5d8e4.7955c46a.js delete mode 100644 build/assets/js/ed62b22e.e5edddc1.js delete mode 100644 build/assets/js/fcc98648.c9fbad99.js delete mode 100644 build/assets/js/main.b9d15276.js delete mode 100644 build/assets/js/main.b9d15276.js.LICENSE.txt delete mode 100644 build/assets/js/runtime~main.41deffac.js delete mode 100644 build/docs/apis.html delete mode 100644 build/docs/apis/classes/Html5Qrcode.html delete mode 100644 build/docs/apis/classes/Html5QrcodeScanner.html delete mode 100644 build/docs/apis/enums/Html5QrcodeScanType.html delete mode 100644 build/docs/apis/enums/Html5QrcodeScannerState.html delete mode 100644 build/docs/apis/enums/Html5QrcodeSupportedFormats.html delete mode 100644 build/docs/apis/interfaces/CameraCapabilities.html delete mode 100644 build/docs/apis/interfaces/CameraDevice.html delete mode 100644 build/docs/apis/interfaces/Html5QrcodeCameraScanConfig.html delete mode 100644 build/docs/apis/interfaces/Html5QrcodeFullConfig.html delete mode 100644 build/docs/apis/interfaces/Html5QrcodeResult.html delete mode 100644 build/docs/category/apis.html delete mode 100644 build/docs/category/classes.html delete mode 100644 build/docs/category/enums.html delete mode 100644 build/docs/category/interfaces.html delete mode 100644 build/docs/intro.html delete mode 100644 build/docs/supported_code_formats.html delete mode 100644 build/docs/supported_frameworks.html delete mode 100644 build/img/19362653-ai.svg delete mode 100644 build/img/Wavy_Tech-30_Single-02-ai.svg delete mode 100644 build/img/Wavy_Tech-30_Single-02.svg delete mode 100644 build/img/docusaurus.png delete mode 100644 build/img/favicon.ico delete mode 100644 build/img/logo.svg delete mode 100644 build/img/undraw_docusaurus_mountain.svg delete mode 100644 build/img/undraw_docusaurus_react.svg delete mode 100644 build/img/undraw_docusaurus_tree.svg delete mode 100644 build/index.html delete mode 100644 build/markdown-page.html delete mode 100644 build/sitemap.xml diff --git a/.docusaurus/DONT-EDIT-THIS-FOLDER b/.docusaurus/DONT-EDIT-THIS-FOLDER deleted file mode 100644 index 6c06ae8..0000000 --- a/.docusaurus/DONT-EDIT-THIS-FOLDER +++ /dev/null @@ -1,5 +0,0 @@ -This folder stores temp files that Docusaurus' client bundler accesses. - -DO NOT hand-modify files in this folder because they will be overwritten in the -next build. You can clear all build artifacts (including this folder) with the -`docusaurus clear` command. diff --git a/.docusaurus/client-manifest.json b/.docusaurus/client-manifest.json deleted file mode 100644 index f6343fa..0000000 --- a/.docusaurus/client-manifest.json +++ /dev/null @@ -1,411 +0,0 @@ -{ - "entrypoints": [ - "main" - ], - "origins": { - "666": [ - 85, - 532, - 918, - 666 - ], - "972": [ - 972 - ], - "17896441": [ - 532, - 666, - 918 - ], - "main": [ - 303, - 532, - 179 - ], - "runtime~main": [ - 179, - 532, - 303 - ], - "09ed057f": [ - 500 - ], - "0e384e19": [ - 671 - ], - "14eb3368": [ - 532, - 817 - ], - "16b1ba9a": [ - 842 - ], - "1be78505": [ - 532, - 972 - ], - "1f391b9e": [ - 532, - 666, - 85 - ], - "3465fda5": [ - 192 - ], - "393be207": [ - 414 - ], - "3dba6d51": [ - 14 - ], - "400c29a4": [ - 629 - ], - "45997a4e": [ - 342 - ], - "4cbca2df": [ - 879 - ], - "66b2fd2e": [ - 78 - ], - "7bcefba3": [ - 686 - ], - "8df42017": [ - 52 - ], - "935f2afb": [ - 53 - ], - "96e362d3": [ - 38 - ], - "9f26801e": [ - 733 - ], - "a9f6ab03": [ - 416 - ], - "ac242a77": [ - 590 - ], - "b3177f51": [ - 750 - ], - "b5f4f4f4": [ - 80 - ], - "bd01d857": [ - 554 - ], - "c4f5d8e4": [ - 532, - 195 - ], - "ed62b22e": [ - 283 - ], - "fcc98648": [ - 433 - ], - "styles": [ - 85, - 179, - 195, - 303, - 514, - 666, - 817, - 918, - 532 - ] - }, - "assets": { - "14": { - "js": [ - { - "file": "assets/js/3dba6d51.032ba7f0.js", - "hash": "4e3c2d11737f08e6", - "publicPath": "/html5-qrcode-docs/assets/js/3dba6d51.032ba7f0.js" - } - ] - }, - "38": { - "js": [ - { - "file": "assets/js/96e362d3.a256378d.js", - "hash": "44a5e9685e4c5267", - "publicPath": "/html5-qrcode-docs/assets/js/96e362d3.a256378d.js" - } - ] - }, - "52": { - "js": [ - { - "file": "assets/js/8df42017.0004343b.js", - "hash": "1495e749c6e0bab8", - "publicPath": "/html5-qrcode-docs/assets/js/8df42017.0004343b.js" - } - ] - }, - "53": { - "js": [ - { - "file": "assets/js/935f2afb.3928e6c5.js", - "hash": "a9f23968fcdbb5b3", - "publicPath": "/html5-qrcode-docs/assets/js/935f2afb.3928e6c5.js" - } - ] - }, - "78": { - "js": [ - { - "file": "assets/js/66b2fd2e.f723323d.js", - "hash": "f7b0b69de887a05c", - "publicPath": "/html5-qrcode-docs/assets/js/66b2fd2e.f723323d.js" - } - ] - }, - "80": { - "js": [ - { - "file": "assets/js/b5f4f4f4.f494e7fb.js", - "hash": "11e80306802825d9", - "publicPath": "/html5-qrcode-docs/assets/js/b5f4f4f4.f494e7fb.js" - } - ] - }, - "85": { - "js": [ - { - "file": "assets/js/1f391b9e.0ef5a693.js", - "hash": "233103ac337ecb7b", - "publicPath": "/html5-qrcode-docs/assets/js/1f391b9e.0ef5a693.js" - } - ] - }, - "179": { - "js": [ - { - "file": "assets/js/main.b9d15276.js", - "hash": "8aeffd22d3313de7", - "publicPath": "/html5-qrcode-docs/assets/js/main.b9d15276.js" - } - ] - }, - "192": { - "js": [ - { - "file": "assets/js/3465fda5.c2bd7eb2.js", - "hash": "fbbae97c1f123725", - "publicPath": "/html5-qrcode-docs/assets/js/3465fda5.c2bd7eb2.js" - } - ] - }, - "195": { - "js": [ - { - "file": "assets/js/c4f5d8e4.7955c46a.js", - "hash": "61c6cdfd9d36db2f", - "publicPath": "/html5-qrcode-docs/assets/js/c4f5d8e4.7955c46a.js" - } - ] - }, - "283": { - "js": [ - { - "file": "assets/js/ed62b22e.e5edddc1.js", - "hash": "f3aaf5688d9714af", - "publicPath": "/html5-qrcode-docs/assets/js/ed62b22e.e5edddc1.js" - } - ] - }, - "303": { - "js": [ - { - "file": "assets/js/runtime~main.41deffac.js", - "hash": "f92f0f39b22060fe", - "publicPath": "/html5-qrcode-docs/assets/js/runtime~main.41deffac.js" - } - ] - }, - "342": { - "js": [ - { - "file": "assets/js/45997a4e.f7829e6a.js", - "hash": "7a31a74909bbd8dd", - "publicPath": "/html5-qrcode-docs/assets/js/45997a4e.f7829e6a.js" - } - ] - }, - "414": { - "js": [ - { - "file": "assets/js/393be207.a7f7690e.js", - "hash": "2e3a09bd1fb0f422", - "publicPath": "/html5-qrcode-docs/assets/js/393be207.a7f7690e.js" - } - ] - }, - "416": { - "js": [ - { - "file": "assets/js/a9f6ab03.82fdb6be.js", - "hash": "4ac90755a99252f6", - "publicPath": "/html5-qrcode-docs/assets/js/a9f6ab03.82fdb6be.js" - } - ] - }, - "433": { - "js": [ - { - "file": "assets/js/fcc98648.c9fbad99.js", - "hash": "4d417e19d4adba43", - "publicPath": "/html5-qrcode-docs/assets/js/fcc98648.c9fbad99.js" - } - ] - }, - "500": { - "js": [ - { - "file": "assets/js/09ed057f.e429c541.js", - "hash": "720dfef4d6268b48", - "publicPath": "/html5-qrcode-docs/assets/js/09ed057f.e429c541.js" - } - ] - }, - "532": { - "css": [ - { - "file": "assets/css/styles.bf154a13.css", - "hash": "693f6c7082c81a12", - "publicPath": "/html5-qrcode-docs/assets/css/styles.bf154a13.css" - } - ] - }, - "554": { - "js": [ - { - "file": "assets/js/bd01d857.6c2f4288.js", - "hash": "d4faf5a34fdef419", - "publicPath": "/html5-qrcode-docs/assets/js/bd01d857.6c2f4288.js" - } - ] - }, - "590": { - "js": [ - { - "file": "assets/js/ac242a77.6b0d5d3f.js", - "hash": "3a37281d2b6e54e1", - "publicPath": "/html5-qrcode-docs/assets/js/ac242a77.6b0d5d3f.js" - } - ] - }, - "629": { - "js": [ - { - "file": "assets/js/400c29a4.6b9ea345.js", - "hash": "09b3b0f4a267d5f9", - "publicPath": "/html5-qrcode-docs/assets/js/400c29a4.6b9ea345.js" - } - ] - }, - "666": { - "js": [ - { - "file": "assets/js/666.1ded9964.js", - "hash": "dfd0a94e5c913bd3", - "publicPath": "/html5-qrcode-docs/assets/js/666.1ded9964.js" - } - ] - }, - "671": { - "js": [ - { - "file": "assets/js/0e384e19.54dbdace.js", - "hash": "20cd3432a35bdd82", - "publicPath": "/html5-qrcode-docs/assets/js/0e384e19.54dbdace.js" - } - ] - }, - "686": { - "js": [ - { - "file": "assets/js/7bcefba3.423baae0.js", - "hash": "e0d8481009caec87", - "publicPath": "/html5-qrcode-docs/assets/js/7bcefba3.423baae0.js" - } - ] - }, - "733": { - "js": [ - { - "file": "assets/js/9f26801e.1f7f5ee5.js", - "hash": "7279d391f02abbff", - "publicPath": "/html5-qrcode-docs/assets/js/9f26801e.1f7f5ee5.js" - } - ] - }, - "750": { - "js": [ - { - "file": "assets/js/b3177f51.54521c08.js", - "hash": "d2c7388037823765", - "publicPath": "/html5-qrcode-docs/assets/js/b3177f51.54521c08.js" - } - ] - }, - "817": { - "js": [ - { - "file": "assets/js/14eb3368.6a8e3910.js", - "hash": "ba41fc00eab124c8", - "publicPath": "/html5-qrcode-docs/assets/js/14eb3368.6a8e3910.js" - } - ] - }, - "842": { - "js": [ - { - "file": "assets/js/16b1ba9a.75996fd5.js", - "hash": "677d723229754fbd", - "publicPath": "/html5-qrcode-docs/assets/js/16b1ba9a.75996fd5.js" - } - ] - }, - "879": { - "js": [ - { - "file": "assets/js/4cbca2df.ad63544c.js", - "hash": "b091c3d664cf45ab", - "publicPath": "/html5-qrcode-docs/assets/js/4cbca2df.ad63544c.js" - } - ] - }, - "918": { - "js": [ - { - "file": "assets/js/17896441.b930c9d6.js", - "hash": "a0f38e86a8643e82", - "publicPath": "/html5-qrcode-docs/assets/js/17896441.b930c9d6.js" - } - ] - }, - "972": { - "js": [ - { - "file": "assets/js/972.a31909e6.js", - "hash": "ea71c2278c4b1b68", - "publicPath": "/html5-qrcode-docs/assets/js/972.a31909e6.js" - }, - { - "file": "assets/js/1be78505.103218c1.js", - "hash": "79a2569534e450ce", - "publicPath": "/html5-qrcode-docs/assets/js/1be78505.103218c1.js" - } - ] - } - } -} \ No newline at end of file diff --git a/.docusaurus/client-modules.js b/.docusaurus/client-modules.js deleted file mode 100644 index 28d36ec..0000000 --- a/.docusaurus/client-modules.js +++ /dev/null @@ -1,6 +0,0 @@ -export default [ - require('/Users/minhazav/Documents/github/scanapp/html5-qrcode-docs/node_modules/infima/dist/css/default/default.css'), - require('/Users/minhazav/Documents/github/scanapp/html5-qrcode-docs/node_modules/@docusaurus/theme-classic/lib/prism-include-languages'), - require('/Users/minhazav/Documents/github/scanapp/html5-qrcode-docs/node_modules/@docusaurus/theme-classic/lib/nprogress'), - require('/Users/minhazav/Documents/github/scanapp/html5-qrcode-docs/src/css/custom.css'), -]; diff --git a/.docusaurus/codeTranslations.json b/.docusaurus/codeTranslations.json deleted file mode 100644 index 9e26dfe..0000000 --- a/.docusaurus/codeTranslations.json +++ /dev/null @@ -1 +0,0 @@ -{} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/blog-archive-80c.json b/.docusaurus/docusaurus-plugin-content-blog/default/blog-archive-80c.json deleted file mode 100644 index 27e9b9a..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/blog-archive-80c.json +++ /dev/null @@ -1,218 +0,0 @@ -{ - "blogPosts": [ - { - "id": "welcome", - "metadata": { - "permalink": "/blog/welcome", - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2021-08-26-welcome/index.md", - "source": "@site/blog/2021-08-26-welcome/index.md", - "title": "Welcome", - "description": "Docusaurus blogging features are powered by the blog plugin.", - "date": "2021-08-26T00:00:00.000Z", - "formattedDate": "August 26, 2021", - "tags": [ - { - "label": "facebook", - "permalink": "/blog/tags/facebook" - }, - { - "label": "hello", - "permalink": "/blog/tags/hello" - }, - { - "label": "docusaurus", - "permalink": "/blog/tags/docusaurus" - } - ], - "readingTime": 0.405, - "hasTruncateMarker": false, - "authors": [ - { - "name": "Sébastien Lorber", - "title": "Docusaurus maintainer", - "url": "https://sebastienlorber.com", - "imageURL": "https://github.com/slorber.png", - "key": "slorber" - }, - { - "name": "Yangshun Tay", - "title": "Front End Engineer @ Facebook", - "url": "https://github.com/yangshun", - "imageURL": "https://github.com/yangshun.png", - "key": "yangshun" - } - ], - "frontMatter": { - "slug": "welcome", - "title": "Welcome", - "authors": [ - "slorber", - "yangshun" - ], - "tags": [ - "facebook", - "hello", - "docusaurus" - ] - }, - "nextItem": { - "title": "MDX Blog Post", - "permalink": "/blog/mdx-blog-post" - } - }, - "content": "[Docusaurus blogging features](https://docusaurus.io/docs/blog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog).\n\nSimply add Markdown files (or folders) to the `blog` directory.\n\nRegular blog authors can be added to `authors.yml`.\n\nThe blog post date can be extracted from filenames, such as:\n\n- `2019-05-30-welcome.md`\n- `2019-05-30-welcome/index.md`\n\nA blog post folder can be convenient to co-locate blog post images:\n\n![Docusaurus Plushie](./docusaurus-plushie-banner.jpeg)\n\nThe blog supports tags as well!\n\n**And if you don't want a blog**: just delete this directory, and use `blog: false` in your Docusaurus config." - }, - { - "id": "mdx-blog-post", - "metadata": { - "permalink": "/blog/mdx-blog-post", - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2021-08-01-mdx-blog-post.mdx", - "source": "@site/blog/2021-08-01-mdx-blog-post.mdx", - "title": "MDX Blog Post", - "description": "Blog posts support Docusaurus Markdown features, such as MDX.", - "date": "2021-08-01T00:00:00.000Z", - "formattedDate": "August 1, 2021", - "tags": [ - { - "label": "docusaurus", - "permalink": "/blog/tags/docusaurus" - } - ], - "readingTime": 0.175, - "hasTruncateMarker": false, - "authors": [ - { - "name": "Sébastien Lorber", - "title": "Docusaurus maintainer", - "url": "https://sebastienlorber.com", - "imageURL": "https://github.com/slorber.png", - "key": "slorber" - } - ], - "frontMatter": { - "slug": "mdx-blog-post", - "title": "MDX Blog Post", - "authors": [ - "slorber" - ], - "tags": [ - "docusaurus" - ] - }, - "prevItem": { - "title": "Welcome", - "permalink": "/blog/welcome" - }, - "nextItem": { - "title": "Long Blog Post", - "permalink": "/blog/long-blog-post" - } - }, - "content": "Blog posts support [Docusaurus Markdown features](https://docusaurus.io/docs/markdown-features), such as [MDX](https://mdxjs.com/).\n\n:::tip\n\nUse the power of React to create interactive blog posts.\n\n```js\n\n```\n\n\n\n:::" - }, - { - "id": "long-blog-post", - "metadata": { - "permalink": "/blog/long-blog-post", - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2019-05-29-long-blog-post.md", - "source": "@site/blog/2019-05-29-long-blog-post.md", - "title": "Long Blog Post", - "description": "This is the summary of a very long blog post,", - "date": "2019-05-29T00:00:00.000Z", - "formattedDate": "May 29, 2019", - "tags": [ - { - "label": "hello", - "permalink": "/blog/tags/hello" - }, - { - "label": "docusaurus", - "permalink": "/blog/tags/docusaurus" - } - ], - "readingTime": 2.05, - "hasTruncateMarker": true, - "authors": [ - { - "name": "Endilie Yacop Sucipto", - "title": "Maintainer of Docusaurus", - "url": "https://github.com/endiliey", - "imageURL": "https://github.com/endiliey.png", - "key": "endi" - } - ], - "frontMatter": { - "slug": "long-blog-post", - "title": "Long Blog Post", - "authors": "endi", - "tags": [ - "hello", - "docusaurus" - ] - }, - "prevItem": { - "title": "MDX Blog Post", - "permalink": "/blog/mdx-blog-post" - }, - "nextItem": { - "title": "First Blog Post", - "permalink": "/blog/first-blog-post" - } - }, - "content": "This is the summary of a very long blog post,\n\nUse a `` comment to limit blog post size in the list view.\n\n\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" - }, - { - "id": "first-blog-post", - "metadata": { - "permalink": "/blog/first-blog-post", - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/blog/2019-05-28-first-blog-post.md", - "source": "@site/blog/2019-05-28-first-blog-post.md", - "title": "First Blog Post", - "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet", - "date": "2019-05-28T00:00:00.000Z", - "formattedDate": "May 28, 2019", - "tags": [ - { - "label": "hola", - "permalink": "/blog/tags/hola" - }, - { - "label": "docusaurus", - "permalink": "/blog/tags/docusaurus" - } - ], - "readingTime": 0.12, - "hasTruncateMarker": false, - "authors": [ - { - "name": "Gao Wei", - "title": "Docusaurus Core Team", - "url": "https://github.com/wgao19", - "image_url": "https://github.com/wgao19.png", - "imageURL": "https://github.com/wgao19.png" - } - ], - "frontMatter": { - "slug": "first-blog-post", - "title": "First Blog Post", - "authors": { - "name": "Gao Wei", - "title": "Docusaurus Core Team", - "url": "https://github.com/wgao19", - "image_url": "https://github.com/wgao19.png", - "imageURL": "https://github.com/wgao19.png" - }, - "tags": [ - "hola", - "docusaurus" - ] - }, - "prevItem": { - "title": "Long Blog Post", - "permalink": "/blog/long-blog-post" - } - }, - "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" - } - ] -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/blog-c06.json b/.docusaurus/docusaurus-plugin-content-blog/default/blog-c06.json deleted file mode 100644 index af451bd..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/blog-c06.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "permalink": "/blog", - "page": 1, - "postsPerPage": 10, - "totalPages": 1, - "totalCount": 4, - "blogDescription": "Blog", - "blogTitle": "Blog" -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/blog-post-list-prop-default.json b/.docusaurus/docusaurus-plugin-content-blog/default/blog-post-list-prop-default.json deleted file mode 100644 index fb396f1..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/blog-post-list-prop-default.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "title": "Recent posts", - "items": [] -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-docusaurus-0e0-list.json b/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-docusaurus-0e0-list.json deleted file mode 100644 index 4e1f0ec..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-docusaurus-0e0-list.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "permalink": "/blog/tags/docusaurus", - "page": 1, - "postsPerPage": 10, - "totalPages": 1, - "totalCount": 4, - "blogDescription": "Blog", - "blogTitle": "Blog" -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-docusaurus-0e0.json b/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-docusaurus-0e0.json deleted file mode 100644 index 29e52ef..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-docusaurus-0e0.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "docusaurus", - "permalink": "/blog/tags/docusaurus", - "allTagsPath": "/blog/tags", - "count": 4 -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-facebook-038-list.json b/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-facebook-038-list.json deleted file mode 100644 index aee990e..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-facebook-038-list.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "permalink": "/blog/tags/facebook", - "page": 1, - "postsPerPage": 10, - "totalPages": 1, - "totalCount": 1, - "blogDescription": "Blog", - "blogTitle": "Blog" -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-facebook-038.json b/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-facebook-038.json deleted file mode 100644 index 290234e..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-facebook-038.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "facebook", - "permalink": "/blog/tags/facebook", - "allTagsPath": "/blog/tags", - "count": 1 -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-hello-039-list.json b/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-hello-039-list.json deleted file mode 100644 index 11281f3..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-hello-039-list.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "permalink": "/blog/tags/hello", - "page": 1, - "postsPerPage": 10, - "totalPages": 1, - "totalCount": 2, - "blogDescription": "Blog", - "blogTitle": "Blog" -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-hello-039.json b/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-hello-039.json deleted file mode 100644 index c57cf17..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-hello-039.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "hello", - "permalink": "/blog/tags/hello", - "allTagsPath": "/blog/tags", - "count": 2 -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-hola-ea2-list.json b/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-hola-ea2-list.json deleted file mode 100644 index 5fa7ea7..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-hola-ea2-list.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "permalink": "/blog/tags/hola", - "page": 1, - "postsPerPage": 10, - "totalPages": 1, - "totalCount": 1, - "blogDescription": "Blog", - "blogTitle": "Blog" -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-hola-ea2.json b/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-hola-ea2.json deleted file mode 100644 index 6026a60..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-hola-ea2.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "hola", - "permalink": "/blog/tags/hola", - "allTagsPath": "/blog/tags", - "count": 1 -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-tags-4c2.json b/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-tags-4c2.json deleted file mode 100644 index a694b98..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/blog-tags-tags-4c2.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "label": "facebook", - "permalink": "/blog/tags/facebook", - "count": 1 - }, - { - "label": "hello", - "permalink": "/blog/tags/hello", - "count": 2 - }, - { - "label": "docusaurus", - "permalink": "/blog/tags/docusaurus", - "count": 4 - }, - { - "label": "hola", - "permalink": "/blog/tags/hola", - "count": 1 - } -] \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-65a.json b/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-65a.json deleted file mode 100644 index 3e1531f..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-65a.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "permalink": "/html5-qrcode-docs/blog", - "page": 1, - "postsPerPage": 10, - "totalPages": 1, - "totalCount": 4, - "blogDescription": "Blog", - "blogTitle": "Blog" -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-archive-e66.json b/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-archive-e66.json deleted file mode 100644 index b8dd916..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-archive-e66.json +++ /dev/null @@ -1,214 +0,0 @@ -{ - "blogPosts": [ - { - "id": "welcome", - "metadata": { - "permalink": "/html5-qrcode-docs/blog/welcome", - "source": "@site/blog/2021-08-26-welcome/index.md", - "title": "Welcome", - "description": "Docusaurus blogging features are powered by the blog plugin.", - "date": "2021-08-26T00:00:00.000Z", - "formattedDate": "August 26, 2021", - "tags": [ - { - "label": "facebook", - "permalink": "/html5-qrcode-docs/blog/tags/facebook" - }, - { - "label": "hello", - "permalink": "/html5-qrcode-docs/blog/tags/hello" - }, - { - "label": "docusaurus", - "permalink": "/html5-qrcode-docs/blog/tags/docusaurus" - } - ], - "readingTime": 0.405, - "hasTruncateMarker": false, - "authors": [ - { - "name": "Sébastien Lorber", - "title": "Docusaurus maintainer", - "url": "https://sebastienlorber.com", - "imageURL": "https://github.com/slorber.png", - "key": "slorber" - }, - { - "name": "Yangshun Tay", - "title": "Front End Engineer @ Facebook", - "url": "https://github.com/yangshun", - "imageURL": "https://github.com/yangshun.png", - "key": "yangshun" - } - ], - "frontMatter": { - "slug": "welcome", - "title": "Welcome", - "authors": [ - "slorber", - "yangshun" - ], - "tags": [ - "facebook", - "hello", - "docusaurus" - ] - }, - "nextItem": { - "title": "MDX Blog Post", - "permalink": "/html5-qrcode-docs/blog/mdx-blog-post" - } - }, - "content": "[Docusaurus blogging features](https://docusaurus.io/docs/blog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog).\n\nSimply add Markdown files (or folders) to the `blog` directory.\n\nRegular blog authors can be added to `authors.yml`.\n\nThe blog post date can be extracted from filenames, such as:\n\n- `2019-05-30-welcome.md`\n- `2019-05-30-welcome/index.md`\n\nA blog post folder can be convenient to co-locate blog post images:\n\n![Docusaurus Plushie](./docusaurus-plushie-banner.jpeg)\n\nThe blog supports tags as well!\n\n**And if you don't want a blog**: just delete this directory, and use `blog: false` in your Docusaurus config." - }, - { - "id": "mdx-blog-post", - "metadata": { - "permalink": "/html5-qrcode-docs/blog/mdx-blog-post", - "source": "@site/blog/2021-08-01-mdx-blog-post.mdx", - "title": "MDX Blog Post", - "description": "Blog posts support Docusaurus Markdown features, such as MDX.", - "date": "2021-08-01T00:00:00.000Z", - "formattedDate": "August 1, 2021", - "tags": [ - { - "label": "docusaurus", - "permalink": "/html5-qrcode-docs/blog/tags/docusaurus" - } - ], - "readingTime": 0.175, - "hasTruncateMarker": false, - "authors": [ - { - "name": "Sébastien Lorber", - "title": "Docusaurus maintainer", - "url": "https://sebastienlorber.com", - "imageURL": "https://github.com/slorber.png", - "key": "slorber" - } - ], - "frontMatter": { - "slug": "mdx-blog-post", - "title": "MDX Blog Post", - "authors": [ - "slorber" - ], - "tags": [ - "docusaurus" - ] - }, - "prevItem": { - "title": "Welcome", - "permalink": "/html5-qrcode-docs/blog/welcome" - }, - "nextItem": { - "title": "Long Blog Post", - "permalink": "/html5-qrcode-docs/blog/long-blog-post" - } - }, - "content": "Blog posts support [Docusaurus Markdown features](https://docusaurus.io/docs/markdown-features), such as [MDX](https://mdxjs.com/).\n\n:::tip\n\nUse the power of React to create interactive blog posts.\n\n```js\n\n```\n\n\n\n:::" - }, - { - "id": "long-blog-post", - "metadata": { - "permalink": "/html5-qrcode-docs/blog/long-blog-post", - "source": "@site/blog/2019-05-29-long-blog-post.md", - "title": "Long Blog Post", - "description": "This is the summary of a very long blog post,", - "date": "2019-05-29T00:00:00.000Z", - "formattedDate": "May 29, 2019", - "tags": [ - { - "label": "hello", - "permalink": "/html5-qrcode-docs/blog/tags/hello" - }, - { - "label": "docusaurus", - "permalink": "/html5-qrcode-docs/blog/tags/docusaurus" - } - ], - "readingTime": 2.05, - "hasTruncateMarker": true, - "authors": [ - { - "name": "Endilie Yacop Sucipto", - "title": "Maintainer of Docusaurus", - "url": "https://github.com/endiliey", - "imageURL": "https://github.com/endiliey.png", - "key": "endi" - } - ], - "frontMatter": { - "slug": "long-blog-post", - "title": "Long Blog Post", - "authors": "endi", - "tags": [ - "hello", - "docusaurus" - ] - }, - "prevItem": { - "title": "MDX Blog Post", - "permalink": "/html5-qrcode-docs/blog/mdx-blog-post" - }, - "nextItem": { - "title": "First Blog Post", - "permalink": "/html5-qrcode-docs/blog/first-blog-post" - } - }, - "content": "This is the summary of a very long blog post,\n\nUse a `` comment to limit blog post size in the list view.\n\n\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet\n\nLorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" - }, - { - "id": "first-blog-post", - "metadata": { - "permalink": "/html5-qrcode-docs/blog/first-blog-post", - "source": "@site/blog/2019-05-28-first-blog-post.md", - "title": "First Blog Post", - "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet", - "date": "2019-05-28T00:00:00.000Z", - "formattedDate": "May 28, 2019", - "tags": [ - { - "label": "hola", - "permalink": "/html5-qrcode-docs/blog/tags/hola" - }, - { - "label": "docusaurus", - "permalink": "/html5-qrcode-docs/blog/tags/docusaurus" - } - ], - "readingTime": 0.12, - "hasTruncateMarker": false, - "authors": [ - { - "name": "Gao Wei", - "title": "Docusaurus Core Team", - "url": "https://github.com/wgao19", - "image_url": "https://github.com/wgao19.png", - "imageURL": "https://github.com/wgao19.png" - } - ], - "frontMatter": { - "slug": "first-blog-post", - "title": "First Blog Post", - "authors": { - "name": "Gao Wei", - "title": "Docusaurus Core Team", - "url": "https://github.com/wgao19", - "image_url": "https://github.com/wgao19.png", - "imageURL": "https://github.com/wgao19.png" - }, - "tags": [ - "hola", - "docusaurus" - ] - }, - "prevItem": { - "title": "Long Blog Post", - "permalink": "/html5-qrcode-docs/blog/long-blog-post" - } - }, - "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet" - } - ] -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-docusaurus-bf2-list.json b/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-docusaurus-bf2-list.json deleted file mode 100644 index e40d46d..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-docusaurus-bf2-list.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "permalink": "/html5-qrcode-docs/blog/tags/docusaurus", - "page": 1, - "postsPerPage": 10, - "totalPages": 1, - "totalCount": 4, - "blogDescription": "Blog", - "blogTitle": "Blog" -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-docusaurus-bf2.json b/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-docusaurus-bf2.json deleted file mode 100644 index f363afe..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-docusaurus-bf2.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "docusaurus", - "permalink": "/html5-qrcode-docs/blog/tags/docusaurus", - "allTagsPath": "/html5-qrcode-docs/blog/tags", - "count": 4 -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-facebook-c8f-list.json b/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-facebook-c8f-list.json deleted file mode 100644 index 34273ab..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-facebook-c8f-list.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "permalink": "/html5-qrcode-docs/blog/tags/facebook", - "page": 1, - "postsPerPage": 10, - "totalPages": 1, - "totalCount": 1, - "blogDescription": "Blog", - "blogTitle": "Blog" -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-facebook-c8f.json b/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-facebook-c8f.json deleted file mode 100644 index 83915c6..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-facebook-c8f.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "facebook", - "permalink": "/html5-qrcode-docs/blog/tags/facebook", - "allTagsPath": "/html5-qrcode-docs/blog/tags", - "count": 1 -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-hello-47b-list.json b/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-hello-47b-list.json deleted file mode 100644 index 8b41d38..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-hello-47b-list.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "permalink": "/html5-qrcode-docs/blog/tags/hello", - "page": 1, - "postsPerPage": 10, - "totalPages": 1, - "totalCount": 2, - "blogDescription": "Blog", - "blogTitle": "Blog" -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-hello-47b.json b/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-hello-47b.json deleted file mode 100644 index b9893b7..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-hello-47b.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "hello", - "permalink": "/html5-qrcode-docs/blog/tags/hello", - "allTagsPath": "/html5-qrcode-docs/blog/tags", - "count": 2 -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-hola-515-list.json b/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-hola-515-list.json deleted file mode 100644 index 0b1b6d0..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-hola-515-list.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "permalink": "/html5-qrcode-docs/blog/tags/hola", - "page": 1, - "postsPerPage": 10, - "totalPages": 1, - "totalCount": 1, - "blogDescription": "Blog", - "blogTitle": "Blog" -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-hola-515.json b/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-hola-515.json deleted file mode 100644 index 24bc717..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-hola-515.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "label": "hola", - "permalink": "/html5-qrcode-docs/blog/tags/hola", - "allTagsPath": "/html5-qrcode-docs/blog/tags", - "count": 1 -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-tags-033.json b/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-tags-033.json deleted file mode 100644 index 9edd6a4..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/html-5-qrcode-docs-blog-tags-tags-033.json +++ /dev/null @@ -1,22 +0,0 @@ -[ - { - "label": "facebook", - "permalink": "/html5-qrcode-docs/blog/tags/facebook", - "count": 1 - }, - { - "label": "hello", - "permalink": "/html5-qrcode-docs/blog/tags/hello", - "count": 2 - }, - { - "label": "docusaurus", - "permalink": "/html5-qrcode-docs/blog/tags/docusaurus", - "count": 4 - }, - { - "label": "hola", - "permalink": "/html5-qrcode-docs/blog/tags/hola", - "count": 1 - } -] \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json b/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json deleted file mode 100644 index 3206737..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/plugin-route-context-module-100.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "docusaurus-plugin-content-blog", - "id": "default" -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/site-blog-2019-05-28-first-blog-post-md-e27.json b/.docusaurus/docusaurus-plugin-content-blog/default/site-blog-2019-05-28-first-blog-post-md-e27.json deleted file mode 100644 index 439daa2..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/site-blog-2019-05-28-first-blog-post-md-e27.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "permalink": "/html5-qrcode-docs/blog/first-blog-post", - "source": "@site/blog/2019-05-28-first-blog-post.md", - "title": "First Blog Post", - "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet", - "date": "2019-05-28T00:00:00.000Z", - "formattedDate": "May 28, 2019", - "tags": [ - { - "label": "hola", - "permalink": "/html5-qrcode-docs/blog/tags/hola" - }, - { - "label": "docusaurus", - "permalink": "/html5-qrcode-docs/blog/tags/docusaurus" - } - ], - "readingTime": 0.12, - "hasTruncateMarker": false, - "authors": [ - { - "name": "Gao Wei", - "title": "Docusaurus Core Team", - "url": "https://github.com/wgao19", - "image_url": "https://github.com/wgao19.png", - "imageURL": "https://github.com/wgao19.png" - } - ], - "frontMatter": { - "slug": "first-blog-post", - "title": "First Blog Post", - "authors": { - "name": "Gao Wei", - "title": "Docusaurus Core Team", - "url": "https://github.com/wgao19", - "image_url": "https://github.com/wgao19.png", - "imageURL": "https://github.com/wgao19.png" - }, - "tags": [ - "hola", - "docusaurus" - ] - }, - "prevItem": { - "title": "Long Blog Post", - "permalink": "/html5-qrcode-docs/blog/long-blog-post" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/site-blog-2019-05-29-long-blog-post-md-736.json b/.docusaurus/docusaurus-plugin-content-blog/default/site-blog-2019-05-29-long-blog-post-md-736.json deleted file mode 100644 index 065928c..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/site-blog-2019-05-29-long-blog-post-md-736.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "permalink": "/html5-qrcode-docs/blog/long-blog-post", - "source": "@site/blog/2019-05-29-long-blog-post.md", - "title": "Long Blog Post", - "description": "This is the summary of a very long blog post,", - "date": "2019-05-29T00:00:00.000Z", - "formattedDate": "May 29, 2019", - "tags": [ - { - "label": "hello", - "permalink": "/html5-qrcode-docs/blog/tags/hello" - }, - { - "label": "docusaurus", - "permalink": "/html5-qrcode-docs/blog/tags/docusaurus" - } - ], - "readingTime": 2.05, - "hasTruncateMarker": true, - "authors": [ - { - "name": "Endilie Yacop Sucipto", - "title": "Maintainer of Docusaurus", - "url": "https://github.com/endiliey", - "imageURL": "https://github.com/endiliey.png", - "key": "endi" - } - ], - "frontMatter": { - "slug": "long-blog-post", - "title": "Long Blog Post", - "authors": "endi", - "tags": [ - "hello", - "docusaurus" - ] - }, - "prevItem": { - "title": "MDX Blog Post", - "permalink": "/html5-qrcode-docs/blog/mdx-blog-post" - }, - "nextItem": { - "title": "First Blog Post", - "permalink": "/html5-qrcode-docs/blog/first-blog-post" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/site-blog-2021-08-01-mdx-blog-post-mdx-593.json b/.docusaurus/docusaurus-plugin-content-blog/default/site-blog-2021-08-01-mdx-blog-post-mdx-593.json deleted file mode 100644 index 8934e3b..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/site-blog-2021-08-01-mdx-blog-post-mdx-593.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "permalink": "/html5-qrcode-docs/blog/mdx-blog-post", - "source": "@site/blog/2021-08-01-mdx-blog-post.mdx", - "title": "MDX Blog Post", - "description": "Blog posts support Docusaurus Markdown features, such as MDX.", - "date": "2021-08-01T00:00:00.000Z", - "formattedDate": "August 1, 2021", - "tags": [ - { - "label": "docusaurus", - "permalink": "/html5-qrcode-docs/blog/tags/docusaurus" - } - ], - "readingTime": 0.175, - "hasTruncateMarker": false, - "authors": [ - { - "name": "Sébastien Lorber", - "title": "Docusaurus maintainer", - "url": "https://sebastienlorber.com", - "imageURL": "https://github.com/slorber.png", - "key": "slorber" - } - ], - "frontMatter": { - "slug": "mdx-blog-post", - "title": "MDX Blog Post", - "authors": [ - "slorber" - ], - "tags": [ - "docusaurus" - ] - }, - "prevItem": { - "title": "Welcome", - "permalink": "/html5-qrcode-docs/blog/welcome" - }, - "nextItem": { - "title": "Long Blog Post", - "permalink": "/html5-qrcode-docs/blog/long-blog-post" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-blog/default/site-blog-2021-08-26-welcome-index-md-d9f.json b/.docusaurus/docusaurus-plugin-content-blog/default/site-blog-2021-08-26-welcome-index-md-d9f.json deleted file mode 100644 index 48a9b53..0000000 --- a/.docusaurus/docusaurus-plugin-content-blog/default/site-blog-2021-08-26-welcome-index-md-d9f.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "permalink": "/html5-qrcode-docs/blog/welcome", - "source": "@site/blog/2021-08-26-welcome/index.md", - "title": "Welcome", - "description": "Docusaurus blogging features are powered by the blog plugin.", - "date": "2021-08-26T00:00:00.000Z", - "formattedDate": "August 26, 2021", - "tags": [ - { - "label": "facebook", - "permalink": "/html5-qrcode-docs/blog/tags/facebook" - }, - { - "label": "hello", - "permalink": "/html5-qrcode-docs/blog/tags/hello" - }, - { - "label": "docusaurus", - "permalink": "/html5-qrcode-docs/blog/tags/docusaurus" - } - ], - "readingTime": 0.405, - "hasTruncateMarker": false, - "authors": [ - { - "name": "Sébastien Lorber", - "title": "Docusaurus maintainer", - "url": "https://sebastienlorber.com", - "imageURL": "https://github.com/slorber.png", - "key": "slorber" - }, - { - "name": "Yangshun Tay", - "title": "Front End Engineer @ Facebook", - "url": "https://github.com/yangshun", - "imageURL": "https://github.com/yangshun.png", - "key": "yangshun" - } - ], - "frontMatter": { - "slug": "welcome", - "title": "Welcome", - "authors": [ - "slorber", - "yangshun" - ], - "tags": [ - "facebook", - "hello", - "docusaurus" - ] - }, - "nextItem": { - "title": "MDX Blog Post", - "permalink": "/html5-qrcode-docs/blog/mdx-blog-post" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/category-docs-tutorialsidebar-category-tutorial-basics-918.json b/.docusaurus/docusaurus-plugin-content-docs/default/category-docs-tutorialsidebar-category-tutorial-basics-918.json deleted file mode 100644 index 2d01044..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/category-docs-tutorialsidebar-category-tutorial-basics-918.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "title": "Tutorial - Basics", - "description": "5 minutes to learn the most important Docusaurus concepts.", - "slug": "/category/tutorial---basics", - "permalink": "/docs/category/tutorial---basics", - "navigation": { - "previous": { - "title": "Getting started", - "permalink": "/docs/intro" - }, - "next": { - "title": "Create a Page", - "permalink": "/docs/tutorial-basics/create-a-page" - } - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/category-docs-tutorialsidebar-category-tutorial-extras-3e4.json b/.docusaurus/docusaurus-plugin-content-docs/default/category-docs-tutorialsidebar-category-tutorial-extras-3e4.json deleted file mode 100644 index 806a952..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/category-docs-tutorialsidebar-category-tutorial-extras-3e4.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "title": "Tutorial - Extras", - "slug": "/category/tutorial---extras", - "permalink": "/docs/category/tutorial---extras", - "navigation": { - "previous": { - "title": "Congratulations!", - "permalink": "/docs/tutorial-basics/congratulations" - }, - "next": { - "title": "Manage Docs Versions", - "permalink": "/docs/tutorial-extras/manage-docs-versions" - } - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-apis-daf.json b/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-apis-daf.json deleted file mode 100644 index baa8f63..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-apis-daf.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "title": "APIs", - "slug": "/category/apis", - "permalink": "/html5-qrcode-docs/docs/category/apis", - "navigation": { - "previous": { - "title": "Supported code formats", - "permalink": "/html5-qrcode-docs/docs/supported_code_formats" - }, - "next": { - "title": "html5-qrcode", - "permalink": "/html5-qrcode-docs/docs/apis/" - } - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-classes-1-dc0.json b/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-classes-1-dc0.json deleted file mode 100644 index 065cba4..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-classes-1-dc0.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "title": "Classes", - "description": "html5-qrcode classes", - "slug": "/category/classes-1", - "permalink": "/html5-qrcode-docs/docs/category/classes-1", - "navigation": { - "previous": { - "title": "Html5QrcodeScanner", - "permalink": "/html5-qrcode-docs/docs/apis/classes/Html5QrcodeScanner" - }, - "next": { - "title": "Html5QrcodeResult", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeResult" - } - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-classes-367.json b/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-classes-367.json deleted file mode 100644 index a2649ee..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-classes-367.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "title": "Classes", - "description": "html5-qrcode classes", - "slug": "/category/classes", - "permalink": "/html5-qrcode-docs/docs/category/classes", - "navigation": { - "previous": { - "title": "html5-qrcode", - "permalink": "/html5-qrcode-docs/docs/apis/" - }, - "next": { - "title": "Html5Qrcode", - "permalink": "/html5-qrcode-docs/docs/apis/classes/Html5Qrcode" - } - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-enums-8e9.json b/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-enums-8e9.json deleted file mode 100644 index 7237409..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-enums-8e9.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "title": "Enums", - "description": "html5-qrcode enumerators", - "slug": "/category/enums", - "permalink": "/html5-qrcode-docs/docs/category/enums", - "navigation": { - "previous": { - "title": "Html5QrcodeScanner", - "permalink": "/html5-qrcode-docs/docs/apis/classes/Html5QrcodeScanner" - }, - "next": { - "title": "Html5QrcodeScannerState", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScannerState" - } - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-interfaces-1-816.json b/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-interfaces-1-816.json deleted file mode 100644 index f73319b..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-interfaces-1-816.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "title": "Interfaces", - "description": "html5-qrcode interfaces", - "slug": "/category/interfaces-1", - "permalink": "/html5-qrcode-docs/docs/category/interfaces-1", - "navigation": { - "previous": { - "title": "Html5QrcodeSupportedFormats", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats" - }, - "next": { - "title": "Html5QrcodeResult", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeResult" - } - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-interfaces-62e.json b/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-interfaces-62e.json deleted file mode 100644 index 1790f38..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-interfaces-62e.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "title": "Interfaces", - "description": "html5-qrcode interfaces", - "slug": "/category/interfaces", - "permalink": "/html5-qrcode-docs/docs/category/interfaces", - "navigation": { - "previous": { - "title": "Html5QrcodeSupportedFormats", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats" - }, - "next": { - "title": "Html5QrcodeResult", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeResult" - } - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-tutorial-basics-0b6.json b/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-tutorial-basics-0b6.json deleted file mode 100644 index 18d5d8f..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-tutorial-basics-0b6.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "title": "Tutorial - Basics", - "description": "5 minutes to learn the most important Docusaurus concepts.", - "slug": "/category/tutorial---basics", - "permalink": "/html5-qrcode-docs/docs/category/tutorial---basics", - "navigation": { - "previous": { - "title": "Translate your site", - "permalink": "/html5-qrcode-docs/docs/tutorial-extras/translate-your-site" - }, - "next": { - "title": "Create a Page", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/create-a-page" - } - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-tutorial-basics-1-f2d.json b/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-tutorial-basics-1-f2d.json deleted file mode 100644 index 65d35e7..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-tutorial-basics-1-f2d.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "title": "Tutorial - Basics", - "description": "5 minutes to learn the most important Docusaurus concepts.", - "slug": "/category/tutorial---basics-1", - "permalink": "/html5-qrcode-docs/docs/category/tutorial---basics-1", - "navigation": { - "previous": { - "title": "Getting started", - "permalink": "/html5-qrcode-docs/docs/apis/intro" - }, - "next": { - "title": "Html5Qrcode", - "permalink": "/html5-qrcode-docs/docs/apis/classes/Html5Qrcode" - } - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-tutorial-extras-1-8f9.json b/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-tutorial-extras-1-8f9.json deleted file mode 100644 index 6bb94dd..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-tutorial-extras-1-8f9.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "title": "Tutorial - Extras", - "slug": "/category/tutorial---extras-1", - "permalink": "/html5-qrcode-docs/docs/category/tutorial---extras-1", - "navigation": { - "previous": { - "title": "Html5QrcodeSupportedFormats", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats" - }, - "next": { - "title": "Manage Docs Versions", - "permalink": "/html5-qrcode-docs/docs/tutorial-extras/manage-docs-versions" - } - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-tutorial-extras-590.json b/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-tutorial-extras-590.json deleted file mode 100644 index 73856da..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-tutorial-extras-590.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "title": "Tutorial - Extras", - "slug": "/category/tutorial---extras", - "permalink": "/html5-qrcode-docs/docs/category/tutorial---extras", - "navigation": { - "previous": { - "title": "Supported code formats", - "permalink": "/html5-qrcode-docs/docs/supported_code_formats" - }, - "next": { - "title": "Manage Docs Versions", - "permalink": "/html5-qrcode-docs/docs/tutorial-extras/manage-docs-versions" - } - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json b/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json deleted file mode 100644 index 3818ad0..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "docusaurus-plugin-content-docs", - "id": "default" -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-classes-html-5-qrcode-md-ed6.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-classes-html-5-qrcode-md-ed6.json deleted file mode 100644 index a4b6a3c..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-classes-html-5-qrcode-md-ed6.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "apis/classes/Html5Qrcode", - "id": "apis/classes/Html5Qrcode", - "title": "Html5Qrcode", - "description": "html5-qrcode / Html5Qrcode", - "source": "@site/docs/apis/classes/Html5Qrcode.md", - "sourceDirName": "apis/classes", - "slug": "/apis/classes/Html5Qrcode", - "permalink": "/html5-qrcode-docs/docs/apis/classes/Html5Qrcode", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/classes/Html5Qrcode.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Classes", - "permalink": "/html5-qrcode-docs/docs/category/classes" - }, - "next": { - "title": "Html5QrcodeScanner", - "permalink": "/html5-qrcode-docs/docs/apis/classes/Html5QrcodeScanner" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-classes-html-5-qrcode-scanner-md-96e.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-classes-html-5-qrcode-scanner-md-96e.json deleted file mode 100644 index 99d017d..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-classes-html-5-qrcode-scanner-md-96e.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "apis/classes/Html5QrcodeScanner", - "id": "apis/classes/Html5QrcodeScanner", - "title": "Html5QrcodeScanner", - "description": "html5-qrcode / Html5QrcodeScanner", - "source": "@site/docs/apis/classes/Html5QrcodeScanner.md", - "sourceDirName": "apis/classes", - "slug": "/apis/classes/Html5QrcodeScanner", - "permalink": "/html5-qrcode-docs/docs/apis/classes/Html5QrcodeScanner", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/classes/Html5QrcodeScanner.md", - "tags": [], - "version": "current", - "sidebarPosition": 2, - "frontMatter": { - "sidebar_position": 2 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Html5Qrcode", - "permalink": "/html5-qrcode-docs/docs/apis/classes/Html5Qrcode" - }, - "next": { - "title": "Enums", - "permalink": "/html5-qrcode-docs/docs/category/enums" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-enums-html-5-qrcode-scan-type-md-b31.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-enums-html-5-qrcode-scan-type-md-b31.json deleted file mode 100644 index 9002bd0..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-enums-html-5-qrcode-scan-type-md-b31.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "apis/enums/Html5QrcodeScanType", - "id": "apis/enums/Html5QrcodeScanType", - "title": "Html5QrcodeScanType", - "description": "html5-qrcode / Html5QrcodeScanType", - "source": "@site/docs/apis/enums/Html5QrcodeScanType.md", - "sourceDirName": "apis/enums", - "slug": "/apis/enums/Html5QrcodeScanType", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScanType", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/enums/Html5QrcodeScanType.md", - "tags": [], - "version": "current", - "sidebarPosition": 2, - "frontMatter": { - "sidebar_position": 2 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Html5QrcodeScannerState", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScannerState" - }, - "next": { - "title": "Html5QrcodeSupportedFormats", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-enums-html-5-qrcode-scanner-state-md-400.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-enums-html-5-qrcode-scanner-state-md-400.json deleted file mode 100644 index 323ac36..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-enums-html-5-qrcode-scanner-state-md-400.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "apis/enums/Html5QrcodeScannerState", - "id": "apis/enums/Html5QrcodeScannerState", - "title": "Html5QrcodeScannerState", - "description": "html5-qrcode / Html5QrcodeScannerState", - "source": "@site/docs/apis/enums/Html5QrcodeScannerState.md", - "sourceDirName": "apis/enums", - "slug": "/apis/enums/Html5QrcodeScannerState", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScannerState", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/enums/Html5QrcodeScannerState.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Enums", - "permalink": "/html5-qrcode-docs/docs/category/enums" - }, - "next": { - "title": "Html5QrcodeScanType", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScanType" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-enums-html-5-qrcode-supported-formats-md-09e.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-enums-html-5-qrcode-supported-formats-md-09e.json deleted file mode 100644 index d493861..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-enums-html-5-qrcode-supported-formats-md-09e.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "apis/enums/Html5QrcodeSupportedFormats", - "id": "apis/enums/Html5QrcodeSupportedFormats", - "title": "Html5QrcodeSupportedFormats", - "description": "html5-qrcode / Html5QrcodeSupportedFormats", - "source": "@site/docs/apis/enums/Html5QrcodeSupportedFormats.md", - "sourceDirName": "apis/enums", - "slug": "/apis/enums/Html5QrcodeSupportedFormats", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/enums/Html5QrcodeSupportedFormats.md", - "tags": [], - "version": "current", - "sidebarPosition": 3, - "frontMatter": { - "sidebar_position": 3 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Html5QrcodeScanType", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScanType" - }, - "next": { - "title": "Interfaces", - "permalink": "/html5-qrcode-docs/docs/category/interfaces" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-html-5-qrcode-result-md-216.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-html-5-qrcode-result-md-216.json deleted file mode 100644 index 11b62a0..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-html-5-qrcode-result-md-216.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "unversionedId": "apis/Html5QrcodeResult", - "id": "apis/Html5QrcodeResult", - "title": "Html5QrcodeResult", - "description": "html5-qrcode / Exports / Html5QrcodeResult", - "source": "@site/docs/apis/Html5QrcodeResult.md", - "sourceDirName": "apis", - "slug": "/apis/Html5QrcodeResult", - "permalink": "/html5-qrcode-docs/docs/apis/Html5QrcodeResult", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/Html5QrcodeResult.md", - "tags": [], - "version": "current", - "frontMatter": {}, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Html5QrcodeScanner", - "permalink": "/html5-qrcode-docs/docs/apis/classes/Html5QrcodeScanner" - }, - "next": { - "title": "Html5QrcodeScanType", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScanType" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-camera-capabilities-md-459.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-camera-capabilities-md-459.json deleted file mode 100644 index 85ca669..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-camera-capabilities-md-459.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "unversionedId": "apis/interfaces/CameraCapabilities", - "id": "apis/interfaces/CameraCapabilities", - "title": "CameraCapabilities", - "description": "html5-qrcode / CameraCapabilities", - "source": "@site/docs/apis/interfaces/CameraCapabilities.md", - "sourceDirName": "apis/interfaces", - "slug": "/apis/interfaces/CameraCapabilities", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/CameraCapabilities", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/interfaces/CameraCapabilities.md", - "tags": [], - "version": "current", - "sidebarPosition": 5, - "frontMatter": { - "sidebar_position": 5 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "CameraDevice", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/CameraDevice" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-camera-device-md-8df.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-camera-device-md-8df.json deleted file mode 100644 index 13bb552..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-camera-device-md-8df.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "apis/interfaces/CameraDevice", - "id": "apis/interfaces/CameraDevice", - "title": "CameraDevice", - "description": "html5-qrcode / CameraDevice", - "source": "@site/docs/apis/interfaces/CameraDevice.md", - "sourceDirName": "apis/interfaces", - "slug": "/apis/interfaces/CameraDevice", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/CameraDevice", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/interfaces/CameraDevice.md", - "tags": [], - "version": "current", - "sidebarPosition": 4, - "frontMatter": { - "sidebar_position": 4 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Html5QrcodeCameraScanConfig", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeCameraScanConfig" - }, - "next": { - "title": "CameraCapabilities", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/CameraCapabilities" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-html-5-qrcode-camera-scan-config-md-66b.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-html-5-qrcode-camera-scan-config-md-66b.json deleted file mode 100644 index 099d81c..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-html-5-qrcode-camera-scan-config-md-66b.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "apis/interfaces/Html5QrcodeCameraScanConfig", - "id": "apis/interfaces/Html5QrcodeCameraScanConfig", - "title": "Html5QrcodeCameraScanConfig", - "description": "html5-qrcode / Html5QrcodeCameraScanConfig", - "source": "@site/docs/apis/interfaces/Html5QrcodeCameraScanConfig.md", - "sourceDirName": "apis/interfaces", - "slug": "/apis/interfaces/Html5QrcodeCameraScanConfig", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeCameraScanConfig", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/interfaces/Html5QrcodeCameraScanConfig.md", - "tags": [], - "version": "current", - "sidebarPosition": 3, - "frontMatter": { - "sidebar_position": 3 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Html5QrcodeFullConfig", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeFullConfig" - }, - "next": { - "title": "CameraDevice", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/CameraDevice" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-html-5-qrcode-full-config-md-4cb.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-html-5-qrcode-full-config-md-4cb.json deleted file mode 100644 index a08b6e0..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-html-5-qrcode-full-config-md-4cb.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "apis/interfaces/Html5QrcodeFullConfig", - "id": "apis/interfaces/Html5QrcodeFullConfig", - "title": "Html5QrcodeFullConfig", - "description": "html5-qrcode / Html5QrcodeFullConfig", - "source": "@site/docs/apis/interfaces/Html5QrcodeFullConfig.md", - "sourceDirName": "apis/interfaces", - "slug": "/apis/interfaces/Html5QrcodeFullConfig", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeFullConfig", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/interfaces/Html5QrcodeFullConfig.md", - "tags": [], - "version": "current", - "sidebarPosition": 2, - "frontMatter": { - "sidebar_position": 2 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Html5QrcodeResult", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeResult" - }, - "next": { - "title": "Html5QrcodeCameraScanConfig", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeCameraScanConfig" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-html-5-qrcode-result-copy-md-4d6.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-html-5-qrcode-result-copy-md-4d6.json deleted file mode 100644 index 158b057..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-html-5-qrcode-result-copy-md-4d6.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "unversionedId": "apis/interfaces/Html5QrcodeResult copy", - "id": "apis/interfaces/Html5QrcodeResult copy", - "title": "Html5QrcodeResult copy", - "description": "html5-qrcode / Exports / Html5QrcodeResult", - "source": "@site/docs/apis/interfaces/Html5QrcodeResult copy.md", - "sourceDirName": "apis/interfaces", - "slug": "/apis/interfaces/Html5QrcodeResult copy", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeResult copy", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/interfaces/Html5QrcodeResult copy.md", - "tags": [], - "version": "current", - "frontMatter": {}, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Html5QrcodeFullConfig", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeFullConfig" - }, - "next": { - "title": "Tutorial - Extras", - "permalink": "/html5-qrcode-docs/docs/category/tutorial---extras" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-html-5-qrcode-result-md-9f2.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-html-5-qrcode-result-md-9f2.json deleted file mode 100644 index a4d8e20..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-interfaces-html-5-qrcode-result-md-9f2.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "apis/interfaces/Html5QrcodeResult", - "id": "apis/interfaces/Html5QrcodeResult", - "title": "Html5QrcodeResult", - "description": "html5-qrcode / Html5QrcodeResult", - "source": "@site/docs/apis/interfaces/Html5QrcodeResult.md", - "sourceDirName": "apis/interfaces", - "slug": "/apis/interfaces/Html5QrcodeResult", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeResult", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/interfaces/Html5QrcodeResult.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Interfaces", - "permalink": "/html5-qrcode-docs/docs/category/interfaces" - }, - "next": { - "title": "Html5QrcodeFullConfig", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeFullConfig" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-intro-copy-md-c90.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-intro-copy-md-c90.json deleted file mode 100644 index 0b6f08d..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-intro-copy-md-c90.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "apis/intro copy", - "id": "apis/intro copy", - "title": "html5-qrcode", - "description": "html5-qrcode / Exports", - "source": "@site/docs/apis/intro copy.md", - "sourceDirName": "apis", - "slug": "/apis/intro copy", - "permalink": "/html5-qrcode-docs/docs/apis/intro copy", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/intro copy.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "APIs", - "permalink": "/html5-qrcode-docs/docs/category/apis" - }, - "next": { - "title": "html5-qrcode", - "permalink": "/html5-qrcode-docs/docs/apis/intro" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-intro-md-5a0.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-intro-md-5a0.json deleted file mode 100644 index 772c644..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-intro-md-5a0.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "apis/intro", - "id": "apis/intro", - "title": "html5-qrcode", - "description": "html5-qrcode / Exports", - "source": "@site/docs/apis/intro.md", - "sourceDirName": "apis", - "slug": "/apis/intro", - "permalink": "/html5-qrcode-docs/docs/apis/intro", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/intro.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "APIs", - "permalink": "/html5-qrcode-docs/docs/category/apis" - }, - "next": { - "title": "html5-qrcode", - "permalink": "/html5-qrcode-docs/docs/apis/" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-modules-md-a1a.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-modules-md-a1a.json deleted file mode 100644 index 9ce929f..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-modules-md-a1a.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "apis/modules", - "id": "apis/modules", - "title": "modules", - "description": "html5-qrcode / Exports", - "source": "@site/docs/apis/modules.md", - "sourceDirName": "apis", - "slug": "/apis/modules", - "permalink": "/html5-qrcode-docs/docs/apis/modules", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/modules.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Translate your site", - "permalink": "/html5-qrcode-docs/docs/tutorial-extras/translate-your-site" - }, - "next": { - "title": "Classes", - "permalink": "/html5-qrcode-docs/docs/category/classes" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-readme-md-5c0.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-readme-md-5c0.json deleted file mode 100644 index 5648c5f..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-readme-md-5c0.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "apis/README", - "id": "apis/README", - "title": "html5-qrcode", - "description": "html5-qrcode / Exports", - "source": "@site/docs/apis/README.md", - "sourceDirName": "apis", - "slug": "/apis/", - "permalink": "/html5-qrcode-docs/docs/apis/", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/README.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "APIs", - "permalink": "/html5-qrcode-docs/docs/category/apis" - }, - "next": { - "title": "Classes", - "permalink": "/html5-qrcode-docs/docs/category/classes" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-readme-md-fcc.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-readme-md-fcc.json deleted file mode 100644 index 5cbb5f1..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-apis-readme-md-fcc.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "apis/readme", - "id": "apis/readme", - "title": "html5-qrcode", - "description": "mebjas/html5-qrcode is an open source web based QR code and barcode scanning library built by mebjas@ under Apache License 2.0 license.", - "source": "@site/docs/apis/readme.md", - "sourceDirName": "apis", - "slug": "/apis/", - "permalink": "/html5-qrcode-docs/docs/apis/", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/readme.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "APIs", - "permalink": "/html5-qrcode-docs/docs/category/apis" - }, - "next": { - "title": "Classes", - "permalink": "/html5-qrcode-docs/docs/category/classes" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-intro-copy-md-9af.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-intro-copy-md-9af.json deleted file mode 100644 index ebefd21..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-intro-copy-md-9af.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "unversionedId": "intro copy", - "id": "intro copy", - "title": "Getting started", - "description": "Let's discover html5-qrcode in less than 5 minutes.", - "source": "@site/docs/intro copy.md", - "sourceDirName": ".", - "slug": "/intro copy", - "permalink": "/html5-qrcode-docs/docs/intro copy", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/intro copy.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "next": { - "title": "Getting started", - "permalink": "/html5-qrcode-docs/docs/intro" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-intro-md-0e3.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-intro-md-0e3.json deleted file mode 100644 index d129bd6..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-intro-md-0e3.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "unversionedId": "intro", - "id": "intro", - "title": "Getting started", - "description": "Let's discover html5-qrcode in less than 5 minutes.", - "source": "@site/docs/intro.md", - "sourceDirName": ".", - "slug": "/intro", - "permalink": "/html5-qrcode-docs/docs/intro", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/intro.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "next": { - "title": "Supported frameworks", - "permalink": "/html5-qrcode-docs/docs/supported_frameworks" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-supported-code-formats-md-3db.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-supported-code-formats-md-3db.json deleted file mode 100644 index 02d5473..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-supported-code-formats-md-3db.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "supported_code_formats", - "id": "supported_code_formats", - "title": "Supported code formats", - "description": "The library supports a variety of 2D and 1D code formats.", - "source": "@site/docs/supported_code_formats.md", - "sourceDirName": ".", - "slug": "/supported_code_formats", - "permalink": "/html5-qrcode-docs/docs/supported_code_formats", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/supported_code_formats.md", - "tags": [], - "version": "current", - "sidebarPosition": 3, - "frontMatter": { - "sidebar_position": 3 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Supported frameworks", - "permalink": "/html5-qrcode-docs/docs/supported_frameworks" - }, - "next": { - "title": "APIs", - "permalink": "/html5-qrcode-docs/docs/category/apis" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-supported-frameworks-md-16b.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-supported-frameworks-md-16b.json deleted file mode 100644 index a9ff15f..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-supported-frameworks-md-16b.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "supported_frameworks", - "id": "supported_frameworks", - "title": "Supported frameworks", - "description": "We are working continuously on adding support for more and more platforms. If you find a platform or a browser where the library is not working, please feel free to file an issue. Check the demo link to test it out.", - "source": "@site/docs/supported_frameworks.md", - "sourceDirName": ".", - "slug": "/supported_frameworks", - "permalink": "/html5-qrcode-docs/docs/supported_frameworks", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/supported_frameworks.md", - "tags": [], - "version": "current", - "sidebarPosition": 2, - "frontMatter": { - "sidebar_position": 2 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Getting started", - "permalink": "/html5-qrcode-docs/docs/intro" - }, - "next": { - "title": "Supported code formats", - "permalink": "/html5-qrcode-docs/docs/supported_code_formats" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-congratulations-md-822.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-congratulations-md-822.json deleted file mode 100644 index fe98938..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-congratulations-md-822.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "unversionedId": "tutorial-basics/congratulations", - "id": "tutorial-basics/congratulations", - "title": "Congratulations!", - "description": "You have just learned the basics of Docusaurus and made some changes to the initial template.", - "source": "@site/docs/tutorial-basics/congratulations.md", - "sourceDirName": "tutorial-basics", - "slug": "/tutorial-basics/congratulations", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/congratulations", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/tutorial-basics/congratulations.md", - "tags": [], - "version": "current", - "sidebarPosition": 6, - "frontMatter": { - "sidebar_position": 6 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Deploy your site", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/deploy-your-site" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-create-a-blog-post-md-533.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-create-a-blog-post-md-533.json deleted file mode 100644 index fe83662..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-create-a-blog-post-md-533.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "tutorial-basics/create-a-blog-post", - "id": "tutorial-basics/create-a-blog-post", - "title": "Create a Blog Post", - "description": "Docusaurus creates a page for each blog post, but also a blog index page, a tag system, an RSS feed...", - "source": "@site/docs/tutorial-basics/create-a-blog-post.md", - "sourceDirName": "tutorial-basics", - "slug": "/tutorial-basics/create-a-blog-post", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/create-a-blog-post", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-blog-post.md", - "tags": [], - "version": "current", - "sidebarPosition": 3, - "frontMatter": { - "sidebar_position": 3 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Create a Document", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/create-a-document" - }, - "next": { - "title": "Markdown Features", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/markdown-features" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-create-a-document-md-1e4.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-create-a-document-md-1e4.json deleted file mode 100644 index 5633d1e..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-create-a-document-md-1e4.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "tutorial-basics/create-a-document", - "id": "tutorial-basics/create-a-document", - "title": "Create a Document", - "description": "Documents are groups of pages connected through:", - "source": "@site/docs/tutorial-basics/create-a-document.md", - "sourceDirName": "tutorial-basics", - "slug": "/tutorial-basics/create-a-document", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/create-a-document", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-document.md", - "tags": [], - "version": "current", - "sidebarPosition": 2, - "frontMatter": { - "sidebar_position": 2 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Create a Page", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/create-a-page" - }, - "next": { - "title": "Create a Blog Post", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/create-a-blog-post" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-create-a-page-md-5c8.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-create-a-page-md-5c8.json deleted file mode 100644 index 9eafa1e..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-create-a-page-md-5c8.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "tutorial-basics/create-a-page", - "id": "tutorial-basics/create-a-page", - "title": "Create a Page", - "description": "Add Markdown or React files to src/pages to create a standalone page:", - "source": "@site/docs/tutorial-basics/create-a-page.md", - "sourceDirName": "tutorial-basics", - "slug": "/tutorial-basics/create-a-page", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/create-a-page", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/tutorial-basics/create-a-page.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Tutorial - Basics", - "permalink": "/html5-qrcode-docs/docs/category/tutorial---basics" - }, - "next": { - "title": "Create a Document", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/create-a-document" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-deploy-your-site-md-f55.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-deploy-your-site-md-f55.json deleted file mode 100644 index b0af711..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-deploy-your-site-md-f55.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "tutorial-basics/deploy-your-site", - "id": "tutorial-basics/deploy-your-site", - "title": "Deploy your site", - "description": "Docusaurus is a static-site-generator (also called Jamstack).", - "source": "@site/docs/tutorial-basics/deploy-your-site.md", - "sourceDirName": "tutorial-basics", - "slug": "/tutorial-basics/deploy-your-site", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/deploy-your-site", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/tutorial-basics/deploy-your-site.md", - "tags": [], - "version": "current", - "sidebarPosition": 5, - "frontMatter": { - "sidebar_position": 5 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Markdown Features", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/markdown-features" - }, - "next": { - "title": "Congratulations!", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/congratulations" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-markdown-features-mdx-18c.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-markdown-features-mdx-18c.json deleted file mode 100644 index dfb4973..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-basics-markdown-features-mdx-18c.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "tutorial-basics/markdown-features", - "id": "tutorial-basics/markdown-features", - "title": "Markdown Features", - "description": "Docusaurus supports Markdown and a few additional features.", - "source": "@site/docs/tutorial-basics/markdown-features.mdx", - "sourceDirName": "tutorial-basics", - "slug": "/tutorial-basics/markdown-features", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/markdown-features", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/tutorial-basics/markdown-features.mdx", - "tags": [], - "version": "current", - "sidebarPosition": 4, - "frontMatter": { - "sidebar_position": 4 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Create a Blog Post", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/create-a-blog-post" - }, - "next": { - "title": "Deploy your site", - "permalink": "/html5-qrcode-docs/docs/tutorial-basics/deploy-your-site" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-extras-manage-docs-versions-md-dff.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-extras-manage-docs-versions-md-dff.json deleted file mode 100644 index 5a98215..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-extras-manage-docs-versions-md-dff.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "tutorial-extras/manage-docs-versions", - "id": "tutorial-extras/manage-docs-versions", - "title": "Manage Docs Versions", - "description": "Docusaurus can manage multiple versions of your docs.", - "source": "@site/docs/tutorial-extras/manage-docs-versions.md", - "sourceDirName": "tutorial-extras", - "slug": "/tutorial-extras/manage-docs-versions", - "permalink": "/html5-qrcode-docs/docs/tutorial-extras/manage-docs-versions", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/tutorial-extras/manage-docs-versions.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Tutorial - Extras", - "permalink": "/html5-qrcode-docs/docs/category/tutorial---extras" - }, - "next": { - "title": "Translate your site", - "permalink": "/html5-qrcode-docs/docs/tutorial-extras/translate-your-site" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-extras-translate-your-site-md-e44.json b/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-extras-translate-your-site-md-e44.json deleted file mode 100644 index 5d9b120..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/site-docs-tutorial-extras-translate-your-site-md-e44.json +++ /dev/null @@ -1,27 +0,0 @@ -{ - "unversionedId": "tutorial-extras/translate-your-site", - "id": "tutorial-extras/translate-your-site", - "title": "Translate your site", - "description": "Let's translate docs/intro.md to French.", - "source": "@site/docs/tutorial-extras/translate-your-site.md", - "sourceDirName": "tutorial-extras", - "slug": "/tutorial-extras/translate-your-site", - "permalink": "/html5-qrcode-docs/docs/tutorial-extras/translate-your-site", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/tutorial-extras/translate-your-site.md", - "tags": [], - "version": "current", - "sidebarPosition": 2, - "frontMatter": { - "sidebar_position": 2 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Manage Docs Versions", - "permalink": "/html5-qrcode-docs/docs/tutorial-extras/manage-docs-versions" - }, - "next": { - "title": "Tutorial - Basics", - "permalink": "/html5-qrcode-docs/docs/category/tutorial---basics" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-docs/default/version-current-metadata-prop-751.json b/.docusaurus/docusaurus-plugin-content-docs/default/version-current-metadata-prop-751.json deleted file mode 100644 index 67a6140..0000000 --- a/.docusaurus/docusaurus-plugin-content-docs/default/version-current-metadata-prop-751.json +++ /dev/null @@ -1,220 +0,0 @@ -{ - "pluginId": "default", - "version": "current", - "label": "Next", - "banner": null, - "badge": false, - "noIndex": false, - "className": "docs-version-current", - "isLast": true, - "docsSidebars": { - "tutorialSidebar": [ - { - "type": "link", - "label": "Getting started", - "href": "/html5-qrcode-docs/docs/intro", - "docId": "intro" - }, - { - "type": "link", - "label": "Supported frameworks", - "href": "/html5-qrcode-docs/docs/supported_frameworks", - "docId": "supported_frameworks" - }, - { - "type": "link", - "label": "Supported code formats", - "href": "/html5-qrcode-docs/docs/supported_code_formats", - "docId": "supported_code_formats" - }, - { - "type": "category", - "label": "APIs", - "collapsible": true, - "collapsed": true, - "items": [ - { - "type": "link", - "label": "html5-qrcode", - "href": "/html5-qrcode-docs/docs/apis/", - "docId": "apis/readme" - }, - { - "type": "category", - "label": "Classes", - "collapsible": true, - "collapsed": true, - "items": [ - { - "type": "link", - "label": "Html5Qrcode", - "href": "/html5-qrcode-docs/docs/apis/classes/Html5Qrcode", - "docId": "apis/classes/Html5Qrcode" - }, - { - "type": "link", - "label": "Html5QrcodeScanner", - "href": "/html5-qrcode-docs/docs/apis/classes/Html5QrcodeScanner", - "docId": "apis/classes/Html5QrcodeScanner" - } - ], - "href": "/html5-qrcode-docs/docs/category/classes" - }, - { - "type": "category", - "label": "Enums", - "collapsible": true, - "collapsed": true, - "items": [ - { - "type": "link", - "label": "Html5QrcodeScannerState", - "href": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScannerState", - "docId": "apis/enums/Html5QrcodeScannerState" - }, - { - "type": "link", - "label": "Html5QrcodeScanType", - "href": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScanType", - "docId": "apis/enums/Html5QrcodeScanType" - }, - { - "type": "link", - "label": "Html5QrcodeSupportedFormats", - "href": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats", - "docId": "apis/enums/Html5QrcodeSupportedFormats" - } - ], - "href": "/html5-qrcode-docs/docs/category/enums" - }, - { - "type": "category", - "label": "Interfaces", - "collapsible": true, - "collapsed": true, - "items": [ - { - "type": "link", - "label": "Html5QrcodeResult", - "href": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeResult", - "docId": "apis/interfaces/Html5QrcodeResult" - }, - { - "type": "link", - "label": "Html5QrcodeFullConfig", - "href": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeFullConfig", - "docId": "apis/interfaces/Html5QrcodeFullConfig" - }, - { - "type": "link", - "label": "Html5QrcodeCameraScanConfig", - "href": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeCameraScanConfig", - "docId": "apis/interfaces/Html5QrcodeCameraScanConfig" - }, - { - "type": "link", - "label": "CameraDevice", - "href": "/html5-qrcode-docs/docs/apis/interfaces/CameraDevice", - "docId": "apis/interfaces/CameraDevice" - }, - { - "type": "link", - "label": "CameraCapabilities", - "href": "/html5-qrcode-docs/docs/apis/interfaces/CameraCapabilities", - "docId": "apis/interfaces/CameraCapabilities" - } - ], - "href": "/html5-qrcode-docs/docs/category/interfaces" - } - ], - "href": "/html5-qrcode-docs/docs/category/apis" - } - ] - }, - "docs": { - "apis/classes/Html5Qrcode": { - "id": "apis/classes/Html5Qrcode", - "title": "Html5Qrcode", - "description": "html5-qrcode / Html5Qrcode", - "sidebar": "tutorialSidebar" - }, - "apis/classes/Html5QrcodeScanner": { - "id": "apis/classes/Html5QrcodeScanner", - "title": "Html5QrcodeScanner", - "description": "html5-qrcode / Html5QrcodeScanner", - "sidebar": "tutorialSidebar" - }, - "apis/enums/Html5QrcodeScannerState": { - "id": "apis/enums/Html5QrcodeScannerState", - "title": "Html5QrcodeScannerState", - "description": "html5-qrcode / Html5QrcodeScannerState", - "sidebar": "tutorialSidebar" - }, - "apis/enums/Html5QrcodeScanType": { - "id": "apis/enums/Html5QrcodeScanType", - "title": "Html5QrcodeScanType", - "description": "html5-qrcode / Html5QrcodeScanType", - "sidebar": "tutorialSidebar" - }, - "apis/enums/Html5QrcodeSupportedFormats": { - "id": "apis/enums/Html5QrcodeSupportedFormats", - "title": "Html5QrcodeSupportedFormats", - "description": "html5-qrcode / Html5QrcodeSupportedFormats", - "sidebar": "tutorialSidebar" - }, - "apis/interfaces/CameraCapabilities": { - "id": "apis/interfaces/CameraCapabilities", - "title": "CameraCapabilities", - "description": "html5-qrcode / CameraCapabilities", - "sidebar": "tutorialSidebar" - }, - "apis/interfaces/CameraDevice": { - "id": "apis/interfaces/CameraDevice", - "title": "CameraDevice", - "description": "html5-qrcode / CameraDevice", - "sidebar": "tutorialSidebar" - }, - "apis/interfaces/Html5QrcodeCameraScanConfig": { - "id": "apis/interfaces/Html5QrcodeCameraScanConfig", - "title": "Html5QrcodeCameraScanConfig", - "description": "html5-qrcode / Html5QrcodeCameraScanConfig", - "sidebar": "tutorialSidebar" - }, - "apis/interfaces/Html5QrcodeFullConfig": { - "id": "apis/interfaces/Html5QrcodeFullConfig", - "title": "Html5QrcodeFullConfig", - "description": "html5-qrcode / Html5QrcodeFullConfig", - "sidebar": "tutorialSidebar" - }, - "apis/interfaces/Html5QrcodeResult": { - "id": "apis/interfaces/Html5QrcodeResult", - "title": "Html5QrcodeResult", - "description": "html5-qrcode / Html5QrcodeResult", - "sidebar": "tutorialSidebar" - }, - "apis/readme": { - "id": "apis/readme", - "title": "html5-qrcode", - "description": "mebjas/html5-qrcode is an open source web based QR code and barcode scanning library built by mebjas@ under Apache License 2.0 license.", - "sidebar": "tutorialSidebar" - }, - "intro": { - "id": "intro", - "title": "Getting started", - "description": "Let's discover html5-qrcode in less than 5 minutes.", - "sidebar": "tutorialSidebar" - }, - "supported_code_formats": { - "id": "supported_code_formats", - "title": "Supported code formats", - "description": "The library supports a variety of 2D and 1D code formats.", - "sidebar": "tutorialSidebar" - }, - "supported_frameworks": { - "id": "supported_frameworks", - "title": "Supported frameworks", - "description": "We are working continuously on adding support for more and more platforms. If you find a platform or a browser where the library is not working, please feel free to file an issue. Check the demo link to test it out.", - "sidebar": "tutorialSidebar" - } - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json b/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json deleted file mode 100644 index b141f71..0000000 --- a/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "docusaurus-plugin-content-pages", - "id": "default" -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-content-pages/default/site-src-pages-markdown-page-md-393.json b/.docusaurus/docusaurus-plugin-content-pages/default/site-src-pages-markdown-page-md-393.json deleted file mode 100644 index 189d904..0000000 --- a/.docusaurus/docusaurus-plugin-content-pages/default/site-src-pages-markdown-page-md-393.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "type": "mdx", - "permalink": "/html5-qrcode-docs/markdown-page", - "source": "@site/src/pages/markdown-page.md", - "title": "Markdown page example", - "description": "You don't need React to write simple standalone pages.", - "frontMatter": { - "title": "Markdown page example" - } -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-debug/default/docusaurus-debug-all-content-673.json b/.docusaurus/docusaurus-plugin-debug/default/docusaurus-debug-all-content-673.json deleted file mode 100644 index 9e11916..0000000 --- a/.docusaurus/docusaurus-plugin-debug/default/docusaurus-debug-all-content-673.json +++ /dev/null @@ -1,546 +0,0 @@ -{ - "docusaurus-plugin-content-docs": { - "default": { - "loadedVersions": [ - { - "versionName": "current", - "label": "Next", - "banner": null, - "badge": false, - "noIndex": false, - "className": "docs-version-current", - "path": "/html5-qrcode-docs/docs", - "tagsPath": "/html5-qrcode-docs/docs/tags", - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs", - "editUrlLocalized": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/i18n/en/docusaurus-plugin-content-docs/current", - "isLast": true, - "routePriority": -1, - "sidebarFilePath": "/Users/minhazav/Documents/github/scanapp/html5-qrcode-docs/sidebars.js", - "contentPath": "/Users/minhazav/Documents/github/scanapp/html5-qrcode-docs/docs", - "contentPathLocalized": "/Users/minhazav/Documents/github/scanapp/html5-qrcode-docs/i18n/en/docusaurus-plugin-content-docs/current", - "docs": [ - { - "unversionedId": "apis/classes/Html5Qrcode", - "id": "apis/classes/Html5Qrcode", - "title": "Html5Qrcode", - "description": "html5-qrcode / Html5Qrcode", - "source": "@site/docs/apis/classes/Html5Qrcode.md", - "sourceDirName": "apis/classes", - "slug": "/apis/classes/Html5Qrcode", - "permalink": "/html5-qrcode-docs/docs/apis/classes/Html5Qrcode", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/classes/Html5Qrcode.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Classes", - "permalink": "/html5-qrcode-docs/docs/category/classes" - }, - "next": { - "title": "Html5QrcodeScanner", - "permalink": "/html5-qrcode-docs/docs/apis/classes/Html5QrcodeScanner" - } - }, - { - "unversionedId": "apis/classes/Html5QrcodeScanner", - "id": "apis/classes/Html5QrcodeScanner", - "title": "Html5QrcodeScanner", - "description": "html5-qrcode / Html5QrcodeScanner", - "source": "@site/docs/apis/classes/Html5QrcodeScanner.md", - "sourceDirName": "apis/classes", - "slug": "/apis/classes/Html5QrcodeScanner", - "permalink": "/html5-qrcode-docs/docs/apis/classes/Html5QrcodeScanner", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/classes/Html5QrcodeScanner.md", - "tags": [], - "version": "current", - "sidebarPosition": 2, - "frontMatter": { - "sidebar_position": 2 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Html5Qrcode", - "permalink": "/html5-qrcode-docs/docs/apis/classes/Html5Qrcode" - }, - "next": { - "title": "Enums", - "permalink": "/html5-qrcode-docs/docs/category/enums" - } - }, - { - "unversionedId": "apis/enums/Html5QrcodeScannerState", - "id": "apis/enums/Html5QrcodeScannerState", - "title": "Html5QrcodeScannerState", - "description": "html5-qrcode / Html5QrcodeScannerState", - "source": "@site/docs/apis/enums/Html5QrcodeScannerState.md", - "sourceDirName": "apis/enums", - "slug": "/apis/enums/Html5QrcodeScannerState", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScannerState", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/enums/Html5QrcodeScannerState.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Enums", - "permalink": "/html5-qrcode-docs/docs/category/enums" - }, - "next": { - "title": "Html5QrcodeScanType", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScanType" - } - }, - { - "unversionedId": "apis/enums/Html5QrcodeScanType", - "id": "apis/enums/Html5QrcodeScanType", - "title": "Html5QrcodeScanType", - "description": "html5-qrcode / Html5QrcodeScanType", - "source": "@site/docs/apis/enums/Html5QrcodeScanType.md", - "sourceDirName": "apis/enums", - "slug": "/apis/enums/Html5QrcodeScanType", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScanType", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/enums/Html5QrcodeScanType.md", - "tags": [], - "version": "current", - "sidebarPosition": 2, - "frontMatter": { - "sidebar_position": 2 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Html5QrcodeScannerState", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScannerState" - }, - "next": { - "title": "Html5QrcodeSupportedFormats", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats" - } - }, - { - "unversionedId": "apis/enums/Html5QrcodeSupportedFormats", - "id": "apis/enums/Html5QrcodeSupportedFormats", - "title": "Html5QrcodeSupportedFormats", - "description": "html5-qrcode / Html5QrcodeSupportedFormats", - "source": "@site/docs/apis/enums/Html5QrcodeSupportedFormats.md", - "sourceDirName": "apis/enums", - "slug": "/apis/enums/Html5QrcodeSupportedFormats", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/enums/Html5QrcodeSupportedFormats.md", - "tags": [], - "version": "current", - "sidebarPosition": 3, - "frontMatter": { - "sidebar_position": 3 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Html5QrcodeScanType", - "permalink": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScanType" - }, - "next": { - "title": "Interfaces", - "permalink": "/html5-qrcode-docs/docs/category/interfaces" - } - }, - { - "unversionedId": "apis/interfaces/CameraCapabilities", - "id": "apis/interfaces/CameraCapabilities", - "title": "CameraCapabilities", - "description": "html5-qrcode / CameraCapabilities", - "source": "@site/docs/apis/interfaces/CameraCapabilities.md", - "sourceDirName": "apis/interfaces", - "slug": "/apis/interfaces/CameraCapabilities", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/CameraCapabilities", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/interfaces/CameraCapabilities.md", - "tags": [], - "version": "current", - "sidebarPosition": 5, - "frontMatter": { - "sidebar_position": 5 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "CameraDevice", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/CameraDevice" - } - }, - { - "unversionedId": "apis/interfaces/CameraDevice", - "id": "apis/interfaces/CameraDevice", - "title": "CameraDevice", - "description": "html5-qrcode / CameraDevice", - "source": "@site/docs/apis/interfaces/CameraDevice.md", - "sourceDirName": "apis/interfaces", - "slug": "/apis/interfaces/CameraDevice", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/CameraDevice", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/interfaces/CameraDevice.md", - "tags": [], - "version": "current", - "sidebarPosition": 4, - "frontMatter": { - "sidebar_position": 4 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Html5QrcodeCameraScanConfig", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeCameraScanConfig" - }, - "next": { - "title": "CameraCapabilities", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/CameraCapabilities" - } - }, - { - "unversionedId": "apis/interfaces/Html5QrcodeCameraScanConfig", - "id": "apis/interfaces/Html5QrcodeCameraScanConfig", - "title": "Html5QrcodeCameraScanConfig", - "description": "html5-qrcode / Html5QrcodeCameraScanConfig", - "source": "@site/docs/apis/interfaces/Html5QrcodeCameraScanConfig.md", - "sourceDirName": "apis/interfaces", - "slug": "/apis/interfaces/Html5QrcodeCameraScanConfig", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeCameraScanConfig", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/interfaces/Html5QrcodeCameraScanConfig.md", - "tags": [], - "version": "current", - "sidebarPosition": 3, - "frontMatter": { - "sidebar_position": 3 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Html5QrcodeFullConfig", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeFullConfig" - }, - "next": { - "title": "CameraDevice", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/CameraDevice" - } - }, - { - "unversionedId": "apis/interfaces/Html5QrcodeFullConfig", - "id": "apis/interfaces/Html5QrcodeFullConfig", - "title": "Html5QrcodeFullConfig", - "description": "html5-qrcode / Html5QrcodeFullConfig", - "source": "@site/docs/apis/interfaces/Html5QrcodeFullConfig.md", - "sourceDirName": "apis/interfaces", - "slug": "/apis/interfaces/Html5QrcodeFullConfig", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeFullConfig", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/interfaces/Html5QrcodeFullConfig.md", - "tags": [], - "version": "current", - "sidebarPosition": 2, - "frontMatter": { - "sidebar_position": 2 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Html5QrcodeResult", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeResult" - }, - "next": { - "title": "Html5QrcodeCameraScanConfig", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeCameraScanConfig" - } - }, - { - "unversionedId": "apis/interfaces/Html5QrcodeResult", - "id": "apis/interfaces/Html5QrcodeResult", - "title": "Html5QrcodeResult", - "description": "html5-qrcode / Html5QrcodeResult", - "source": "@site/docs/apis/interfaces/Html5QrcodeResult.md", - "sourceDirName": "apis/interfaces", - "slug": "/apis/interfaces/Html5QrcodeResult", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeResult", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/interfaces/Html5QrcodeResult.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Interfaces", - "permalink": "/html5-qrcode-docs/docs/category/interfaces" - }, - "next": { - "title": "Html5QrcodeFullConfig", - "permalink": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeFullConfig" - } - }, - { - "unversionedId": "apis/readme", - "id": "apis/readme", - "title": "html5-qrcode", - "description": "mebjas/html5-qrcode is an open source web based QR code and barcode scanning library built by mebjas@ under Apache License 2.0 license.", - "source": "@site/docs/apis/readme.md", - "sourceDirName": "apis", - "slug": "/apis/", - "permalink": "/html5-qrcode-docs/docs/apis/", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/readme.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "APIs", - "permalink": "/html5-qrcode-docs/docs/category/apis" - }, - "next": { - "title": "Classes", - "permalink": "/html5-qrcode-docs/docs/category/classes" - } - }, - { - "unversionedId": "intro", - "id": "intro", - "title": "Getting started", - "description": "Let's discover html5-qrcode in less than 5 minutes.", - "source": "@site/docs/intro.md", - "sourceDirName": ".", - "slug": "/intro", - "permalink": "/html5-qrcode-docs/docs/intro", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/intro.md", - "tags": [], - "version": "current", - "sidebarPosition": 1, - "frontMatter": { - "sidebar_position": 1 - }, - "sidebar": "tutorialSidebar", - "next": { - "title": "Supported frameworks", - "permalink": "/html5-qrcode-docs/docs/supported_frameworks" - } - }, - { - "unversionedId": "supported_code_formats", - "id": "supported_code_formats", - "title": "Supported code formats", - "description": "The library supports a variety of 2D and 1D code formats.", - "source": "@site/docs/supported_code_formats.md", - "sourceDirName": ".", - "slug": "/supported_code_formats", - "permalink": "/html5-qrcode-docs/docs/supported_code_formats", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/supported_code_formats.md", - "tags": [], - "version": "current", - "sidebarPosition": 3, - "frontMatter": { - "sidebar_position": 3 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Supported frameworks", - "permalink": "/html5-qrcode-docs/docs/supported_frameworks" - }, - "next": { - "title": "APIs", - "permalink": "/html5-qrcode-docs/docs/category/apis" - } - }, - { - "unversionedId": "supported_frameworks", - "id": "supported_frameworks", - "title": "Supported frameworks", - "description": "We are working continuously on adding support for more and more platforms. If you find a platform or a browser where the library is not working, please feel free to file an issue. Check the demo link to test it out.", - "source": "@site/docs/supported_frameworks.md", - "sourceDirName": ".", - "slug": "/supported_frameworks", - "permalink": "/html5-qrcode-docs/docs/supported_frameworks", - "draft": false, - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/supported_frameworks.md", - "tags": [], - "version": "current", - "sidebarPosition": 2, - "frontMatter": { - "sidebar_position": 2 - }, - "sidebar": "tutorialSidebar", - "previous": { - "title": "Getting started", - "permalink": "/html5-qrcode-docs/docs/intro" - }, - "next": { - "title": "Supported code formats", - "permalink": "/html5-qrcode-docs/docs/supported_code_formats" - } - } - ], - "drafts": [], - "sidebars": { - "tutorialSidebar": [ - { - "type": "doc", - "id": "intro" - }, - { - "type": "doc", - "id": "supported_frameworks" - }, - { - "type": "doc", - "id": "supported_code_formats" - }, - { - "type": "category", - "label": "APIs", - "collapsible": true, - "collapsed": true, - "items": [ - { - "type": "doc", - "id": "apis/readme" - }, - { - "type": "category", - "label": "Classes", - "collapsible": true, - "collapsed": true, - "items": [ - { - "type": "doc", - "id": "apis/classes/Html5Qrcode" - }, - { - "type": "doc", - "id": "apis/classes/Html5QrcodeScanner" - } - ], - "link": { - "type": "generated-index", - "description": "html5-qrcode classes", - "slug": "/category/classes", - "permalink": "/html5-qrcode-docs/docs/category/classes" - } - }, - { - "type": "category", - "label": "Enums", - "collapsible": true, - "collapsed": true, - "items": [ - { - "type": "doc", - "id": "apis/enums/Html5QrcodeScannerState" - }, - { - "type": "doc", - "id": "apis/enums/Html5QrcodeScanType" - }, - { - "type": "doc", - "id": "apis/enums/Html5QrcodeSupportedFormats" - } - ], - "link": { - "type": "generated-index", - "description": "html5-qrcode enumerators", - "slug": "/category/enums", - "permalink": "/html5-qrcode-docs/docs/category/enums" - } - }, - { - "type": "category", - "label": "Interfaces", - "collapsible": true, - "collapsed": true, - "items": [ - { - "type": "doc", - "id": "apis/interfaces/Html5QrcodeResult" - }, - { - "type": "doc", - "id": "apis/interfaces/Html5QrcodeFullConfig" - }, - { - "type": "doc", - "id": "apis/interfaces/Html5QrcodeCameraScanConfig" - }, - { - "type": "doc", - "id": "apis/interfaces/CameraDevice" - }, - { - "type": "doc", - "id": "apis/interfaces/CameraCapabilities" - } - ], - "link": { - "type": "generated-index", - "description": "html5-qrcode interfaces", - "slug": "/category/interfaces", - "permalink": "/html5-qrcode-docs/docs/category/interfaces" - } - } - ], - "link": { - "type": "generated-index", - "slug": "/category/apis", - "permalink": "/html5-qrcode-docs/docs/category/apis" - } - } - ] - } - } - ] - } - }, - "docusaurus-plugin-content-blog": { - "default": { - "blogSidebarTitle": "Recent posts", - "blogPosts": [], - "blogListPaginated": [], - "blogTags": {}, - "blogTagsListPath": "/html5-qrcode-docs/blog/tags", - "blogTagsPaginated": [] - } - }, - "docusaurus-plugin-content-pages": { - "default": [ - { - "type": "jsx", - "permalink": "/html5-qrcode-docs/", - "source": "@site/src/pages/index.js" - }, - { - "type": "mdx", - "permalink": "/html5-qrcode-docs/markdown-page", - "source": "@site/src/pages/markdown-page.md", - "title": "Markdown page example", - "description": "You don't need React to write simple standalone pages.", - "frontMatter": { - "title": "Markdown page example" - } - } - ] - }, - "docusaurus-plugin-debug": {}, - "docusaurus-theme-classic": {}, - "docusaurus-bootstrap-plugin": {}, - "docusaurus-mdx-fallback-plugin": {} -} \ No newline at end of file diff --git a/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json b/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json deleted file mode 100644 index 21c2cfd..0000000 --- a/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "docusaurus-plugin-debug", - "id": "default" -} \ No newline at end of file diff --git a/.docusaurus/docusaurus.config.mjs b/.docusaurus/docusaurus.config.mjs deleted file mode 100644 index 759dbaf..0000000 --- a/.docusaurus/docusaurus.config.mjs +++ /dev/null @@ -1,386 +0,0 @@ -/* - * AUTOGENERATED - DON'T EDIT - * Your edits in this file will be overwritten in the next build! - * Modify the docusaurus.config.js file at your site's root instead. - */ -export default { - "title": "ScanApp", - "tagline": "Documentation for mebjas/html5-qrcode", - "url": "https://scanapp.org", - "baseUrl": "/html5-qrcode-docs/", - "trailingSlash": false, - "onBrokenLinks": "throw", - "onBrokenMarkdownLinks": "warn", - "favicon": "https://scanapp.org/assets/svg/log_sq-144.jpg", - "organizationName": "scanapp-org", - "projectName": "html5-qrcode-docs", - "i18n": { - "defaultLocale": "en", - "locales": [ - "en" - ], - "path": "i18n", - "localeConfigs": {} - }, - "presets": [ - [ - "classic", - { - "docs": { - "sidebarPath": "/Users/minhazav/Documents/github/scanapp/html5-qrcode-docs/sidebars.js", - "editUrl": "https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/" - }, - "theme": { - "customCss": "/Users/minhazav/Documents/github/scanapp/html5-qrcode-docs/src/css/custom.css" - } - } - ] - ], - "themeConfig": { - "navbar": { - "title": "ScanApp", - "logo": { - "alt": "ScanApp Logo", - "src": "https://scanapp.org/assets/svg/log_sq-144.jpg" - }, - "items": [ - { - "type": "doc", - "docId": "apis/readme", - "position": "left", - "label": "API" - }, - { - "href": "https://scanapp.org", - "docId": "demo", - "position": "left", - "label": "ScanApp", - "target": "" - }, - { - "href": "https://qrcode.minhazav.dev/", - "docId": "demo", - "position": "left", - "label": "Demo", - "target": "" - }, - { - "href": "https://scanapp.org/blog/", - "docId": "blog", - "position": "left", - "label": "Blog", - "target": "" - }, - { - "href": "https://scanapp.org/support/", - "docId": "support", - "position": "left", - "label": "Support articles", - "target": "" - }, - { - "href": "https://github.com/mebjas/html5-qrcode", - "label": "GitHub", - "position": "right", - "target": "" - } - ], - "hideOnScroll": false - }, - "footer": { - "style": "dark", - "links": [ - { - "title": "Docs", - "items": [ - { - "label": "Tutorial", - "to": "/docs/intro" - }, - { - "href": "https://qrcode.minhazav.dev/", - "docId": "demo", - "position": "left", - "label": "Demo", - "target": "" - } - ] - }, - { - "title": "Community", - "items": [ - { - "label": "Stack Overflow", - "href": "https://stackoverflow.com/questions/tagged/html5-qrcode", - "target": "" - }, - { - "label": "Twitter", - "href": "https://twitter.com/minhazav", - "target": "" - } - ] - }, - { - "title": "More", - "items": [ - { - "label": "Blog", - "href": "https://scanapp.org/blog/", - "target": "" - }, - { - "label": "Support articles", - "href": "https://scanapp.org/support/", - "target": "" - }, - { - "label": "GitHub", - "href": "https://github.com/scanapp-org", - "target": "" - } - ] - } - ], - "copyright": "Copyright © 2023 ScanApp." - }, - "prism": { - "theme": { - "plain": { - "color": "#393A34", - "backgroundColor": "#f6f8fa" - }, - "styles": [ - { - "types": [ - "comment", - "prolog", - "doctype", - "cdata" - ], - "style": { - "color": "#999988", - "fontStyle": "italic" - } - }, - { - "types": [ - "namespace" - ], - "style": { - "opacity": 0.7 - } - }, - { - "types": [ - "string", - "attr-value" - ], - "style": { - "color": "#e3116c" - } - }, - { - "types": [ - "punctuation", - "operator" - ], - "style": { - "color": "#393A34" - } - }, - { - "types": [ - "entity", - "url", - "symbol", - "number", - "boolean", - "variable", - "constant", - "property", - "regex", - "inserted" - ], - "style": { - "color": "#36acaa" - } - }, - { - "types": [ - "atrule", - "keyword", - "attr-name", - "selector" - ], - "style": { - "color": "#00a4db" - } - }, - { - "types": [ - "function", - "deleted", - "tag" - ], - "style": { - "color": "#d73a49" - } - }, - { - "types": [ - "function-variable" - ], - "style": { - "color": "#6f42c1" - } - }, - { - "types": [ - "tag", - "selector", - "keyword" - ], - "style": { - "color": "#00009f" - } - } - ] - }, - "darkTheme": { - "plain": { - "color": "#F8F8F2", - "backgroundColor": "#282A36" - }, - "styles": [ - { - "types": [ - "prolog", - "constant", - "builtin" - ], - "style": { - "color": "rgb(189, 147, 249)" - } - }, - { - "types": [ - "inserted", - "function" - ], - "style": { - "color": "rgb(80, 250, 123)" - } - }, - { - "types": [ - "deleted" - ], - "style": { - "color": "rgb(255, 85, 85)" - } - }, - { - "types": [ - "changed" - ], - "style": { - "color": "rgb(255, 184, 108)" - } - }, - { - "types": [ - "punctuation", - "symbol" - ], - "style": { - "color": "rgb(248, 248, 242)" - } - }, - { - "types": [ - "string", - "char", - "tag", - "selector" - ], - "style": { - "color": "rgb(255, 121, 198)" - } - }, - { - "types": [ - "keyword", - "variable" - ], - "style": { - "color": "rgb(189, 147, 249)", - "fontStyle": "italic" - } - }, - { - "types": [ - "comment" - ], - "style": { - "color": "rgb(98, 114, 164)" - } - }, - { - "types": [ - "attr-name" - ], - "style": { - "color": "rgb(241, 250, 140)" - } - } - ] - }, - "additionalLanguages": [], - "magicComments": [ - { - "className": "theme-code-block-highlighted-line", - "line": "highlight-next-line", - "block": { - "start": "highlight-start", - "end": "highlight-end" - } - } - ] - }, - "colorMode": { - "defaultMode": "light", - "disableSwitch": false, - "respectPrefersColorScheme": false - }, - "docs": { - "versionPersistence": "localStorage", - "sidebar": { - "hideable": false, - "autoCollapseCategories": false - } - }, - "metadata": [], - "tableOfContents": { - "minHeadingLevel": 2, - "maxHeadingLevel": 3 - } - }, - "baseUrlIssueBanner": true, - "onDuplicateRoutes": "warn", - "staticDirectories": [ - "static" - ], - "customFields": {}, - "plugins": [], - "themes": [], - "scripts": [], - "headTags": [], - "stylesheets": [], - "clientModules": [], - "titleDelimiter": "|", - "noIndex": false, - "markdown": { - "mermaid": false - } -}; diff --git a/.docusaurus/globalData.json b/.docusaurus/globalData.json deleted file mode 100644 index 267a7ab..0000000 --- a/.docusaurus/globalData.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "docusaurus-plugin-content-docs": { - "default": { - "path": "/html5-qrcode-docs/docs", - "versions": [ - { - "name": "current", - "label": "Next", - "isLast": true, - "path": "/html5-qrcode-docs/docs", - "mainDocId": "intro", - "docs": [ - { - "id": "apis/classes/Html5Qrcode", - "path": "/html5-qrcode-docs/docs/apis/classes/Html5Qrcode", - "sidebar": "tutorialSidebar" - }, - { - "id": "apis/classes/Html5QrcodeScanner", - "path": "/html5-qrcode-docs/docs/apis/classes/Html5QrcodeScanner", - "sidebar": "tutorialSidebar" - }, - { - "id": "apis/enums/Html5QrcodeScannerState", - "path": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScannerState", - "sidebar": "tutorialSidebar" - }, - { - "id": "apis/enums/Html5QrcodeScanType", - "path": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScanType", - "sidebar": "tutorialSidebar" - }, - { - "id": "apis/enums/Html5QrcodeSupportedFormats", - "path": "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats", - "sidebar": "tutorialSidebar" - }, - { - "id": "apis/interfaces/CameraCapabilities", - "path": "/html5-qrcode-docs/docs/apis/interfaces/CameraCapabilities", - "sidebar": "tutorialSidebar" - }, - { - "id": "apis/interfaces/CameraDevice", - "path": "/html5-qrcode-docs/docs/apis/interfaces/CameraDevice", - "sidebar": "tutorialSidebar" - }, - { - "id": "apis/interfaces/Html5QrcodeCameraScanConfig", - "path": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeCameraScanConfig", - "sidebar": "tutorialSidebar" - }, - { - "id": "apis/interfaces/Html5QrcodeFullConfig", - "path": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeFullConfig", - "sidebar": "tutorialSidebar" - }, - { - "id": "apis/interfaces/Html5QrcodeResult", - "path": "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeResult", - "sidebar": "tutorialSidebar" - }, - { - "id": "apis/readme", - "path": "/html5-qrcode-docs/docs/apis/", - "sidebar": "tutorialSidebar" - }, - { - "id": "intro", - "path": "/html5-qrcode-docs/docs/intro", - "sidebar": "tutorialSidebar" - }, - { - "id": "supported_code_formats", - "path": "/html5-qrcode-docs/docs/supported_code_formats", - "sidebar": "tutorialSidebar" - }, - { - "id": "supported_frameworks", - "path": "/html5-qrcode-docs/docs/supported_frameworks", - "sidebar": "tutorialSidebar" - }, - { - "id": "/category/apis", - "path": "/html5-qrcode-docs/docs/category/apis", - "sidebar": "tutorialSidebar" - }, - { - "id": "/category/classes", - "path": "/html5-qrcode-docs/docs/category/classes", - "sidebar": "tutorialSidebar" - }, - { - "id": "/category/enums", - "path": "/html5-qrcode-docs/docs/category/enums", - "sidebar": "tutorialSidebar" - }, - { - "id": "/category/interfaces", - "path": "/html5-qrcode-docs/docs/category/interfaces", - "sidebar": "tutorialSidebar" - } - ], - "draftIds": [], - "sidebars": { - "tutorialSidebar": { - "link": { - "path": "/html5-qrcode-docs/docs/intro", - "label": "intro" - } - } - } - } - ], - "breadcrumbs": true - } - } -} \ No newline at end of file diff --git a/.docusaurus/i18n.json b/.docusaurus/i18n.json deleted file mode 100644 index 285e67d..0000000 --- a/.docusaurus/i18n.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "defaultLocale": "en", - "locales": [ - "en" - ], - "path": "i18n", - "currentLocale": "en", - "localeConfigs": { - "en": { - "label": "English", - "direction": "ltr", - "htmlLang": "en", - "calendar": "gregory", - "path": "en" - } - } -} \ No newline at end of file diff --git a/.docusaurus/registry.js b/.docusaurus/registry.js deleted file mode 100644 index 93092d3..0000000 --- a/.docusaurus/registry.js +++ /dev/null @@ -1,29 +0,0 @@ -export default { - '09ed057f': [() => import(/* webpackChunkName: '09ed057f' */ '@site/docs/apis/enums/Html5QrcodeSupportedFormats.md'), '@site/docs/apis/enums/Html5QrcodeSupportedFormats.md', require.resolveWeak('@site/docs/apis/enums/Html5QrcodeSupportedFormats.md')], - '0e384e19': [() => import(/* webpackChunkName: '0e384e19' */ '@site/docs/intro.md'), '@site/docs/intro.md', require.resolveWeak('@site/docs/intro.md')], - '14eb3368': [() => import(/* webpackChunkName: '14eb3368' */ '@theme/DocCategoryGeneratedIndexPage'), '@theme/DocCategoryGeneratedIndexPage', require.resolveWeak('@theme/DocCategoryGeneratedIndexPage')], - '16b1ba9a': [() => import(/* webpackChunkName: '16b1ba9a' */ '@site/docs/supported_frameworks.md'), '@site/docs/supported_frameworks.md', require.resolveWeak('@site/docs/supported_frameworks.md')], - '17896441': [() => import(/* webpackChunkName: '17896441' */ '@theme/DocItem'), '@theme/DocItem', require.resolveWeak('@theme/DocItem')], - '1be78505': [() => import(/* webpackChunkName: '1be78505' */ '@theme/DocPage'), '@theme/DocPage', require.resolveWeak('@theme/DocPage')], - '1f391b9e': [() => import(/* webpackChunkName: '1f391b9e' */ '@theme/MDXPage'), '@theme/MDXPage', require.resolveWeak('@theme/MDXPage')], - '3465fda5': [() => import(/* webpackChunkName: '3465fda5' */ '~docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-apis-daf.json'), '~docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-apis-daf.json', require.resolveWeak('~docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-apis-daf.json')], - '393be207': [() => import(/* webpackChunkName: '393be207' */ '@site/src/pages/markdown-page.md'), '@site/src/pages/markdown-page.md', require.resolveWeak('@site/src/pages/markdown-page.md')], - '3dba6d51': [() => import(/* webpackChunkName: '3dba6d51' */ '@site/docs/supported_code_formats.md'), '@site/docs/supported_code_formats.md', require.resolveWeak('@site/docs/supported_code_formats.md')], - '400c29a4': [() => import(/* webpackChunkName: '400c29a4' */ '@site/docs/apis/enums/Html5QrcodeScannerState.md'), '@site/docs/apis/enums/Html5QrcodeScannerState.md', require.resolveWeak('@site/docs/apis/enums/Html5QrcodeScannerState.md')], - '45997a4e': [() => import(/* webpackChunkName: '45997a4e' */ '@site/docs/apis/interfaces/CameraCapabilities.md'), '@site/docs/apis/interfaces/CameraCapabilities.md', require.resolveWeak('@site/docs/apis/interfaces/CameraCapabilities.md')], - '4cbca2df': [() => import(/* webpackChunkName: '4cbca2df' */ '@site/docs/apis/interfaces/Html5QrcodeFullConfig.md'), '@site/docs/apis/interfaces/Html5QrcodeFullConfig.md', require.resolveWeak('@site/docs/apis/interfaces/Html5QrcodeFullConfig.md')], - '5e9f5e1a': [() => import(/* webpackChunkName: '5e9f5e1a' */ '@generated/docusaurus.config'), '@generated/docusaurus.config', require.resolveWeak('@generated/docusaurus.config')], - '66b2fd2e': [() => import(/* webpackChunkName: '66b2fd2e' */ '@site/docs/apis/interfaces/Html5QrcodeCameraScanConfig.md'), '@site/docs/apis/interfaces/Html5QrcodeCameraScanConfig.md', require.resolveWeak('@site/docs/apis/interfaces/Html5QrcodeCameraScanConfig.md')], - '7bcefba3': [() => import(/* webpackChunkName: '7bcefba3' */ '~docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-enums-8e9.json'), '~docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-enums-8e9.json', require.resolveWeak('~docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-enums-8e9.json')], - '8df42017': [() => import(/* webpackChunkName: '8df42017' */ '@site/docs/apis/interfaces/CameraDevice.md'), '@site/docs/apis/interfaces/CameraDevice.md', require.resolveWeak('@site/docs/apis/interfaces/CameraDevice.md')], - '935f2afb': [() => import(/* webpackChunkName: '935f2afb' */ '~docs/default/version-current-metadata-prop-751.json'), '~docs/default/version-current-metadata-prop-751.json', require.resolveWeak('~docs/default/version-current-metadata-prop-751.json')], - '96e362d3': [() => import(/* webpackChunkName: '96e362d3' */ '@site/docs/apis/classes/Html5QrcodeScanner.md'), '@site/docs/apis/classes/Html5QrcodeScanner.md', require.resolveWeak('@site/docs/apis/classes/Html5QrcodeScanner.md')], - '9f26801e': [() => import(/* webpackChunkName: '9f26801e' */ '@site/docs/apis/interfaces/Html5QrcodeResult.md'), '@site/docs/apis/interfaces/Html5QrcodeResult.md', require.resolveWeak('@site/docs/apis/interfaces/Html5QrcodeResult.md')], - 'a9f6ab03': [() => import(/* webpackChunkName: 'a9f6ab03' */ '/Users/minhazav/Documents/github/scanapp/html5-qrcode-docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json'), '/Users/minhazav/Documents/github/scanapp/html5-qrcode-docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json', require.resolveWeak('/Users/minhazav/Documents/github/scanapp/html5-qrcode-docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json')], - 'ac242a77': [() => import(/* webpackChunkName: 'ac242a77' */ '~docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-interfaces-62e.json'), '~docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-interfaces-62e.json', require.resolveWeak('~docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-interfaces-62e.json')], - 'b3177f51': [() => import(/* webpackChunkName: 'b3177f51' */ '@site/docs/apis/enums/Html5QrcodeScanType.md'), '@site/docs/apis/enums/Html5QrcodeScanType.md', require.resolveWeak('@site/docs/apis/enums/Html5QrcodeScanType.md')], - 'b5f4f4f4': [() => import(/* webpackChunkName: 'b5f4f4f4' */ '~docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-classes-367.json'), '~docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-classes-367.json', require.resolveWeak('~docs/default/category-html-5-qrcode-docsdocs-tutorialsidebar-category-classes-367.json')], - 'bd01d857': [() => import(/* webpackChunkName: 'bd01d857' */ '/Users/minhazav/Documents/github/scanapp/html5-qrcode-docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json'), '/Users/minhazav/Documents/github/scanapp/html5-qrcode-docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json', require.resolveWeak('/Users/minhazav/Documents/github/scanapp/html5-qrcode-docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json')], - 'c4f5d8e4': [() => import(/* webpackChunkName: 'c4f5d8e4' */ '@site/src/pages/index.js'), '@site/src/pages/index.js', require.resolveWeak('@site/src/pages/index.js')], - 'ed62b22e': [() => import(/* webpackChunkName: 'ed62b22e' */ '@site/docs/apis/classes/Html5Qrcode.md'), '@site/docs/apis/classes/Html5Qrcode.md', require.resolveWeak('@site/docs/apis/classes/Html5Qrcode.md')], - 'fcc98648': [() => import(/* webpackChunkName: 'fcc98648' */ '@site/docs/apis/readme.md'), '@site/docs/apis/readme.md', require.resolveWeak('@site/docs/apis/readme.md')],}; diff --git a/.docusaurus/routes.js b/.docusaurus/routes.js deleted file mode 100644 index 672b801..0000000 --- a/.docusaurus/routes.js +++ /dev/null @@ -1,133 +0,0 @@ -import React from 'react'; -import ComponentCreator from '@docusaurus/ComponentCreator'; - -export default [ - { - path: '/html5-qrcode-docs/markdown-page', - component: ComponentCreator('/html5-qrcode-docs/markdown-page', 'cf2'), - exact: true - }, - { - path: '/html5-qrcode-docs/docs', - component: ComponentCreator('/html5-qrcode-docs/docs', '90c'), - routes: [ - { - path: '/html5-qrcode-docs/docs/apis', - component: ComponentCreator('/html5-qrcode-docs/docs/apis', '181'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/apis/classes/Html5Qrcode', - component: ComponentCreator('/html5-qrcode-docs/docs/apis/classes/Html5Qrcode', 'fc5'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/apis/classes/Html5QrcodeScanner', - component: ComponentCreator('/html5-qrcode-docs/docs/apis/classes/Html5QrcodeScanner', '35d'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScannerState', - component: ComponentCreator('/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScannerState', 'efd'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScanType', - component: ComponentCreator('/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScanType', '7b6'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats', - component: ComponentCreator('/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats', 'ff6'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/apis/interfaces/CameraCapabilities', - component: ComponentCreator('/html5-qrcode-docs/docs/apis/interfaces/CameraCapabilities', '4ab'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/apis/interfaces/CameraDevice', - component: ComponentCreator('/html5-qrcode-docs/docs/apis/interfaces/CameraDevice', '7a5'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeCameraScanConfig', - component: ComponentCreator('/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeCameraScanConfig', 'b09'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeFullConfig', - component: ComponentCreator('/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeFullConfig', '576'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeResult', - component: ComponentCreator('/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeResult', '762'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/category/apis', - component: ComponentCreator('/html5-qrcode-docs/docs/category/apis', 'bc2'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/category/classes', - component: ComponentCreator('/html5-qrcode-docs/docs/category/classes', 'ed9'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/category/enums', - component: ComponentCreator('/html5-qrcode-docs/docs/category/enums', 'ff9'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/category/interfaces', - component: ComponentCreator('/html5-qrcode-docs/docs/category/interfaces', 'f0a'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/intro', - component: ComponentCreator('/html5-qrcode-docs/docs/intro', '8ed'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/supported_code_formats', - component: ComponentCreator('/html5-qrcode-docs/docs/supported_code_formats', 'ce5'), - exact: true, - sidebar: "tutorialSidebar" - }, - { - path: '/html5-qrcode-docs/docs/supported_frameworks', - component: ComponentCreator('/html5-qrcode-docs/docs/supported_frameworks', 'a8a'), - exact: true, - sidebar: "tutorialSidebar" - } - ] - }, - { - path: '/html5-qrcode-docs/', - component: ComponentCreator('/html5-qrcode-docs/', '384'), - exact: true - }, - { - path: '*', - component: ComponentCreator('*'), - }, -]; diff --git a/.docusaurus/routesChunkNames.json b/.docusaurus/routesChunkNames.json deleted file mode 100644 index 0dac154..0000000 --- a/.docusaurus/routesChunkNames.json +++ /dev/null @@ -1,95 +0,0 @@ -{ - "/html5-qrcode-docs/markdown-page-cf2": { - "__comp": "1f391b9e", - "__context": { - "plugin": "a9f6ab03" - }, - "content": "393be207" - }, - "/html5-qrcode-docs/docs-90c": { - "__comp": "1be78505", - "__context": { - "plugin": "bd01d857" - }, - "versionMetadata": "935f2afb" - }, - "/html5-qrcode-docs/docs/apis-181": { - "__comp": "17896441", - "content": "fcc98648" - }, - "/html5-qrcode-docs/docs/apis/classes/Html5Qrcode-fc5": { - "__comp": "17896441", - "content": "ed62b22e" - }, - "/html5-qrcode-docs/docs/apis/classes/Html5QrcodeScanner-35d": { - "__comp": "17896441", - "content": "96e362d3" - }, - "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScannerState-efd": { - "__comp": "17896441", - "content": "400c29a4" - }, - "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScanType-7b6": { - "__comp": "17896441", - "content": "b3177f51" - }, - "/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats-ff6": { - "__comp": "17896441", - "content": "09ed057f" - }, - "/html5-qrcode-docs/docs/apis/interfaces/CameraCapabilities-4ab": { - "__comp": "17896441", - "content": "45997a4e" - }, - "/html5-qrcode-docs/docs/apis/interfaces/CameraDevice-7a5": { - "__comp": "17896441", - "content": "8df42017" - }, - "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeCameraScanConfig-b09": { - "__comp": "17896441", - "content": "66b2fd2e" - }, - "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeFullConfig-576": { - "__comp": "17896441", - "content": "4cbca2df" - }, - "/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeResult-762": { - "__comp": "17896441", - "content": "9f26801e" - }, - "/html5-qrcode-docs/docs/category/apis-bc2": { - "__comp": "14eb3368", - "categoryGeneratedIndex": "3465fda5" - }, - "/html5-qrcode-docs/docs/category/classes-ed9": { - "__comp": "14eb3368", - "categoryGeneratedIndex": "b5f4f4f4" - }, - "/html5-qrcode-docs/docs/category/enums-ff9": { - "__comp": "14eb3368", - "categoryGeneratedIndex": "7bcefba3" - }, - "/html5-qrcode-docs/docs/category/interfaces-f0a": { - "__comp": "14eb3368", - "categoryGeneratedIndex": "ac242a77" - }, - "/html5-qrcode-docs/docs/intro-8ed": { - "__comp": "17896441", - "content": "0e384e19" - }, - "/html5-qrcode-docs/docs/supported_code_formats-ce5": { - "__comp": "17896441", - "content": "3dba6d51" - }, - "/html5-qrcode-docs/docs/supported_frameworks-a8a": { - "__comp": "17896441", - "content": "16b1ba9a" - }, - "/html5-qrcode-docs/-384": { - "__comp": "c4f5d8e4", - "__context": { - "plugin": "a9f6ab03" - }, - "config": "5e9f5e1a" - } -} \ No newline at end of file diff --git a/.docusaurus/site-metadata.json b/.docusaurus/site-metadata.json deleted file mode 100644 index a66ddf0..0000000 --- a/.docusaurus/site-metadata.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "docusaurusVersion": "2.2.0", - "siteVersion": "2.3.1", - "pluginVersions": { - "docusaurus-plugin-content-docs": { - "type": "package", - "name": "@docusaurus/plugin-content-docs", - "version": "2.2.0" - }, - "docusaurus-plugin-content-blog": { - "type": "package", - "name": "@docusaurus/plugin-content-blog", - "version": "2.2.0" - }, - "docusaurus-plugin-content-pages": { - "type": "package", - "name": "@docusaurus/plugin-content-pages", - "version": "2.2.0" - }, - "docusaurus-plugin-sitemap": { - "type": "package", - "name": "@docusaurus/plugin-sitemap", - "version": "2.2.0" - }, - "docusaurus-theme-classic": { - "type": "package", - "name": "@docusaurus/theme-classic", - "version": "2.2.0" - } - } -} \ No newline at end of file diff --git a/.gitignore b/.gitignore index e1b23d7..da6f686 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ node_modules +build/ api/.DS_Store .DS_Store +.docusaurus/ \ No newline at end of file diff --git a/README.md b/README.md index 892261d..a01f8e8 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ # Documentation and guide for html5-qrcode library -Original library hosted at [mebjas/html5-qrcode](https://github.com/mebjas/html5-qrcode). \ No newline at end of file +Original library hosted at [mebjas/html5-qrcode](https://github.com/mebjas/html5-qrcode). + +## depoly +``` +npm run build +npm run serve +``` \ No newline at end of file diff --git a/build/.nojekyll b/build/.nojekyll deleted file mode 100644 index e69de29..0000000 diff --git a/build/404.html b/build/404.html deleted file mode 100644 index ed4f6d9..0000000 --- a/build/404.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -Page Not Found | ScanApp - - - - -
-
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

- - - - \ No newline at end of file diff --git a/build/assets/css/styles.bf154a13.css b/build/assets/css/styles.bf154a13.css deleted file mode 100644 index 473d218..0000000 --- a/build/assets/css/styles.bf154a13.css +++ /dev/null @@ -1 +0,0 @@ -.col,.container{padding:0 var(--ifm-spacing-horizontal);width:100%}.markdown>h2,.markdown>h3,.markdown>h4,.markdown>h5,.markdown>h6{margin-bottom:calc(var(--ifm-heading-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown li,body{word-wrap:break-word}body,ol ol,ol ul,ul ol,ul ul{margin:0}pre,table{overflow:auto}blockquote,pre{margin:0 0 var(--ifm-spacing-vertical)}.breadcrumbs__link,.button{transition-timing-function:var(--ifm-transition-timing-default)}.button,code{vertical-align:middle}.button--outline.button--active,.button--outline:active,.button--outline:hover,:root{--ifm-button-color:var(--ifm-font-color-base-inverse)}.menu__link:hover,a{transition:color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.navbar--dark,:root{--ifm-navbar-link-hover-color:var(--ifm-color-primary)}.menu,.navbar-sidebar{overflow-x:hidden}:root,html[data-theme=dark]{--ifm-color-emphasis-500:var(--ifm-color-gray-500)}.toggleButton_gllP,html{-webkit-tap-highlight-color:transparent}.clean-list,.containsTaskList_mC6p,.details_lb9f>summary,.dropdown__menu,.menu__list{list-style:none}:root{--ifm-color-scheme:light;--ifm-dark-value:10%;--ifm-darker-value:15%;--ifm-darkest-value:30%;--ifm-light-value:15%;--ifm-lighter-value:30%;--ifm-lightest-value:50%;--ifm-contrast-background-value:90%;--ifm-contrast-foreground-value:70%;--ifm-contrast-background-dark-value:70%;--ifm-contrast-foreground-dark-value:90%;--ifm-color-primary:#3578e5;--ifm-color-secondary:#ebedf0;--ifm-color-success:#00a400;--ifm-color-info:#54c7ec;--ifm-color-warning:#ffba00;--ifm-color-danger:#fa383e;--ifm-color-primary-dark:#306cce;--ifm-color-primary-darker:#2d66c3;--ifm-color-primary-darkest:#2554a0;--ifm-color-primary-light:#538ce9;--ifm-color-primary-lighter:#72a1ed;--ifm-color-primary-lightest:#9abcf2;--ifm-color-primary-contrast-background:#ebf2fc;--ifm-color-primary-contrast-foreground:#102445;--ifm-color-secondary-dark:#d4d5d8;--ifm-color-secondary-darker:#c8c9cc;--ifm-color-secondary-darkest:#a4a6a8;--ifm-color-secondary-light:#eef0f2;--ifm-color-secondary-lighter:#f1f2f5;--ifm-color-secondary-lightest:#f5f6f8;--ifm-color-secondary-contrast-background:#fdfdfe;--ifm-color-secondary-contrast-foreground:#474748;--ifm-color-success-dark:#009400;--ifm-color-success-darker:#008b00;--ifm-color-success-darkest:#007300;--ifm-color-success-light:#26b226;--ifm-color-success-lighter:#4dbf4d;--ifm-color-success-lightest:#80d280;--ifm-color-success-contrast-background:#e6f6e6;--ifm-color-success-contrast-foreground:#003100;--ifm-color-info-dark:#4cb3d4;--ifm-color-info-darker:#47a9c9;--ifm-color-info-darkest:#3b8ba5;--ifm-color-info-light:#6ecfef;--ifm-color-info-lighter:#87d8f2;--ifm-color-info-lightest:#aae3f6;--ifm-color-info-contrast-background:#eef9fd;--ifm-color-info-contrast-foreground:#193c47;--ifm-color-warning-dark:#e6a700;--ifm-color-warning-darker:#d99e00;--ifm-color-warning-darkest:#b38200;--ifm-color-warning-light:#ffc426;--ifm-color-warning-lighter:#ffcf4d;--ifm-color-warning-lightest:#ffdd80;--ifm-color-warning-contrast-background:#fff8e6;--ifm-color-warning-contrast-foreground:#4d3800;--ifm-color-danger-dark:#e13238;--ifm-color-danger-darker:#d53035;--ifm-color-danger-darkest:#af272b;--ifm-color-danger-light:#fb565b;--ifm-color-danger-lighter:#fb7478;--ifm-color-danger-lightest:#fd9c9f;--ifm-color-danger-contrast-background:#ffebec;--ifm-color-danger-contrast-foreground:#4b1113;--ifm-color-white:#fff;--ifm-color-black:#000;--ifm-color-gray-0:var(--ifm-color-white);--ifm-color-gray-100:#f5f6f7;--ifm-color-gray-200:#ebedf0;--ifm-color-gray-300:#dadde1;--ifm-color-gray-400:#ccd0d5;--ifm-color-gray-500:#bec3c9;--ifm-color-gray-600:#8d949e;--ifm-color-gray-700:#606770;--ifm-color-gray-800:#444950;--ifm-color-gray-900:#1c1e21;--ifm-color-gray-1000:var(--ifm-color-black);--ifm-color-emphasis-0:var(--ifm-color-gray-0);--ifm-color-emphasis-100:var(--ifm-color-gray-100);--ifm-color-emphasis-200:var(--ifm-color-gray-200);--ifm-color-emphasis-300:var(--ifm-color-gray-300);--ifm-color-emphasis-400:var(--ifm-color-gray-400);--ifm-color-emphasis-600:var(--ifm-color-gray-600);--ifm-color-emphasis-700:var(--ifm-color-gray-700);--ifm-color-emphasis-800:var(--ifm-color-gray-800);--ifm-color-emphasis-900:var(--ifm-color-gray-900);--ifm-color-emphasis-1000:var(--ifm-color-gray-1000);--ifm-color-content:var(--ifm-color-emphasis-900);--ifm-color-content-inverse:var(--ifm-color-emphasis-0);--ifm-color-content-secondary:#525860;--ifm-background-color:#0000;--ifm-background-surface-color:var(--ifm-color-content-inverse);--ifm-global-border-width:1px;--ifm-global-radius:0.4rem;--ifm-hover-overlay:#0000000d;--ifm-font-color-base:var(--ifm-color-content);--ifm-font-color-base-inverse:var(--ifm-color-content-inverse);--ifm-font-color-secondary:var(--ifm-color-content-secondary);--ifm-font-family-base:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";--ifm-font-family-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--ifm-font-size-base:100%;--ifm-font-weight-light:300;--ifm-font-weight-normal:400;--ifm-font-weight-semibold:500;--ifm-font-weight-bold:700;--ifm-font-weight-base:var(--ifm-font-weight-normal);--ifm-line-height-base:1.65;--ifm-global-spacing:1rem;--ifm-spacing-vertical:var(--ifm-global-spacing);--ifm-spacing-horizontal:var(--ifm-global-spacing);--ifm-transition-fast:200ms;--ifm-transition-slow:400ms;--ifm-transition-timing-default:cubic-bezier(0.08,0.52,0.52,1);--ifm-global-shadow-lw:0 1px 2px 0 #0000001a;--ifm-global-shadow-md:0 5px 40px #0003;--ifm-global-shadow-tl:0 12px 28px 0 #0003,0 2px 4px 0 #0000001a;--ifm-z-index-dropdown:100;--ifm-z-index-fixed:200;--ifm-z-index-overlay:400;--ifm-container-width:1140px;--ifm-container-width-xl:1320px;--ifm-code-background:#f6f7f8;--ifm-code-border-radius:var(--ifm-global-radius);--ifm-code-font-size:90%;--ifm-code-padding-horizontal:0.1rem;--ifm-code-padding-vertical:0.1rem;--ifm-pre-background:var(--ifm-code-background);--ifm-pre-border-radius:var(--ifm-code-border-radius);--ifm-pre-color:inherit;--ifm-pre-line-height:1.45;--ifm-pre-padding:1rem;--ifm-heading-color:inherit;--ifm-heading-margin-top:0;--ifm-heading-margin-bottom:var(--ifm-spacing-vertical);--ifm-heading-font-family:var(--ifm-font-family-base);--ifm-heading-font-weight:var(--ifm-font-weight-bold);--ifm-heading-line-height:1.25;--ifm-h1-font-size:2rem;--ifm-h2-font-size:1.5rem;--ifm-h3-font-size:1.25rem;--ifm-h4-font-size:1rem;--ifm-h5-font-size:0.875rem;--ifm-h6-font-size:0.85rem;--ifm-image-alignment-padding:1.25rem;--ifm-leading-desktop:1.25;--ifm-leading:calc(var(--ifm-leading-desktop)*1rem);--ifm-list-left-padding:2rem;--ifm-list-margin:1rem;--ifm-list-item-margin:0.25rem;--ifm-list-paragraph-margin:1rem;--ifm-table-cell-padding:0.75rem;--ifm-table-background:#0000;--ifm-table-stripe-background:#00000008;--ifm-table-border-width:1px;--ifm-table-border-color:var(--ifm-color-emphasis-300);--ifm-table-head-background:inherit;--ifm-table-head-color:inherit;--ifm-table-head-font-weight:var(--ifm-font-weight-bold);--ifm-table-cell-color:inherit;--ifm-link-color:var(--ifm-color-primary);--ifm-link-decoration:none;--ifm-link-hover-color:var(--ifm-link-color);--ifm-link-hover-decoration:underline;--ifm-paragraph-margin-bottom:var(--ifm-leading);--ifm-blockquote-font-size:var(--ifm-font-size-base);--ifm-blockquote-border-left-width:2px;--ifm-blockquote-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-blockquote-padding-vertical:0;--ifm-blockquote-shadow:none;--ifm-blockquote-color:var(--ifm-color-emphasis-800);--ifm-blockquote-border-color:var(--ifm-color-emphasis-300);--ifm-hr-background-color:var(--ifm-color-emphasis-500);--ifm-hr-height:1px;--ifm-hr-margin-vertical:1.5rem;--ifm-scrollbar-size:7px;--ifm-scrollbar-track-background-color:#f1f1f1;--ifm-scrollbar-thumb-background-color:silver;--ifm-scrollbar-thumb-hover-background-color:#a7a7a7;--ifm-alert-background-color:inherit;--ifm-alert-border-color:inherit;--ifm-alert-border-radius:var(--ifm-global-radius);--ifm-alert-border-width:0px;--ifm-alert-border-left-width:5px;--ifm-alert-color:var(--ifm-font-color-base);--ifm-alert-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-alert-padding-vertical:var(--ifm-spacing-vertical);--ifm-alert-shadow:var(--ifm-global-shadow-lw);--ifm-avatar-intro-margin:1rem;--ifm-avatar-intro-alignment:inherit;--ifm-avatar-photo-size:3rem;--ifm-badge-background-color:inherit;--ifm-badge-border-color:inherit;--ifm-badge-border-radius:var(--ifm-global-radius);--ifm-badge-border-width:var(--ifm-global-border-width);--ifm-badge-color:var(--ifm-color-white);--ifm-badge-padding-horizontal:calc(var(--ifm-spacing-horizontal)*0.5);--ifm-badge-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-breadcrumb-border-radius:1.5rem;--ifm-breadcrumb-spacing:0.5rem;--ifm-breadcrumb-color-active:var(--ifm-color-primary);--ifm-breadcrumb-item-background-active:var(--ifm-hover-overlay);--ifm-breadcrumb-padding-horizontal:0.8rem;--ifm-breadcrumb-padding-vertical:0.4rem;--ifm-breadcrumb-size-multiplier:1;--ifm-breadcrumb-separator:url('data:image/svg+xml;utf8,');--ifm-breadcrumb-separator-filter:none;--ifm-breadcrumb-separator-size:0.5rem;--ifm-breadcrumb-separator-size-multiplier:1.25;--ifm-button-background-color:inherit;--ifm-button-border-color:var(--ifm-button-background-color);--ifm-button-border-width:var(--ifm-global-border-width);--ifm-button-font-weight:var(--ifm-font-weight-bold);--ifm-button-padding-horizontal:1.5rem;--ifm-button-padding-vertical:0.375rem;--ifm-button-size-multiplier:1;--ifm-button-transition-duration:var(--ifm-transition-fast);--ifm-button-border-radius:calc(var(--ifm-global-radius)*var(--ifm-button-size-multiplier));--ifm-button-group-spacing:2px;--ifm-card-background-color:var(--ifm-background-surface-color);--ifm-card-border-radius:calc(var(--ifm-global-radius)*2);--ifm-card-horizontal-spacing:var(--ifm-global-spacing);--ifm-card-vertical-spacing:var(--ifm-global-spacing);--ifm-toc-border-color:var(--ifm-color-emphasis-300);--ifm-toc-link-color:var(--ifm-color-content-secondary);--ifm-toc-padding-vertical:0.5rem;--ifm-toc-padding-horizontal:0.5rem;--ifm-dropdown-background-color:var(--ifm-background-surface-color);--ifm-dropdown-font-weight:var(--ifm-font-weight-semibold);--ifm-dropdown-link-color:var(--ifm-font-color-base);--ifm-dropdown-hover-background-color:var(--ifm-hover-overlay);--ifm-footer-background-color:var(--ifm-color-emphasis-100);--ifm-footer-color:inherit;--ifm-footer-link-color:var(--ifm-color-emphasis-700);--ifm-footer-link-hover-color:var(--ifm-color-primary);--ifm-footer-link-horizontal-spacing:0.5rem;--ifm-footer-padding-horizontal:calc(var(--ifm-spacing-horizontal)*2);--ifm-footer-padding-vertical:calc(var(--ifm-spacing-vertical)*2);--ifm-footer-title-color:inherit;--ifm-footer-logo-max-width:min(30rem,90vw);--ifm-hero-background-color:var(--ifm-background-surface-color);--ifm-hero-text-color:var(--ifm-color-emphasis-800);--ifm-menu-color:var(--ifm-color-emphasis-700);--ifm-menu-color-active:var(--ifm-color-primary);--ifm-menu-color-background-active:var(--ifm-hover-overlay);--ifm-menu-color-background-hover:var(--ifm-hover-overlay);--ifm-menu-link-padding-horizontal:0.75rem;--ifm-menu-link-padding-vertical:0.375rem;--ifm-menu-link-sublist-icon:url('data:image/svg+xml;utf8,');--ifm-menu-link-sublist-icon-filter:none;--ifm-navbar-background-color:var(--ifm-background-surface-color);--ifm-navbar-height:3.75rem;--ifm-navbar-item-padding-horizontal:0.75rem;--ifm-navbar-item-padding-vertical:0.25rem;--ifm-navbar-link-color:var(--ifm-font-color-base);--ifm-navbar-link-active-color:var(--ifm-link-color);--ifm-navbar-padding-horizontal:var(--ifm-spacing-horizontal);--ifm-navbar-padding-vertical:calc(var(--ifm-spacing-vertical)*0.5);--ifm-navbar-shadow:var(--ifm-global-shadow-lw);--ifm-navbar-search-input-background-color:var(--ifm-color-emphasis-200);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-800);--ifm-navbar-search-input-placeholder-color:var(--ifm-color-emphasis-500);--ifm-navbar-search-input-icon:url('data:image/svg+xml;utf8,');--ifm-navbar-sidebar-width:83vw;--ifm-pagination-border-radius:var(--ifm-global-radius);--ifm-pagination-color-active:var(--ifm-color-primary);--ifm-pagination-font-size:1rem;--ifm-pagination-item-active-background:var(--ifm-hover-overlay);--ifm-pagination-page-spacing:0.2em;--ifm-pagination-padding-horizontal:calc(var(--ifm-spacing-horizontal)*1);--ifm-pagination-padding-vertical:calc(var(--ifm-spacing-vertical)*0.25);--ifm-pagination-nav-border-radius:var(--ifm-global-radius);--ifm-pagination-nav-color-hover:var(--ifm-color-primary);--ifm-pills-color-active:var(--ifm-color-primary);--ifm-pills-color-background-active:var(--ifm-hover-overlay);--ifm-pills-spacing:0.125rem;--ifm-tabs-color:var(--ifm-font-color-secondary);--ifm-tabs-color-active:var(--ifm-color-primary);--ifm-tabs-color-active-border:var(--ifm-tabs-color-active);--ifm-tabs-padding-horizontal:1rem;--ifm-tabs-padding-vertical:1rem;--docusaurus-progress-bar-color:var(--ifm-color-primary);--ifm-color-primary:#2e8555;--ifm-color-primary-dark:#29784c;--ifm-color-primary-darker:#277148;--ifm-color-primary-darkest:#205d3b;--ifm-color-primary-light:#33925d;--ifm-color-primary-lighter:#359962;--ifm-color-primary-lightest:#3cad6e;--ifm-code-font-size:95%;--docusaurus-highlighted-code-line-bg:#0000001a;--docusaurus-announcement-bar-height:auto;--docusaurus-tag-list-border:var(--ifm-color-emphasis-300);--docusaurus-collapse-button-bg:#0000;--docusaurus-collapse-button-bg-hover:#0000001a;--doc-sidebar-width:300px;--doc-sidebar-hidden-width:30px}.badge--danger,.badge--info,.badge--primary,.badge--secondary,.badge--success,.badge--warning{--ifm-badge-border-color:var(--ifm-badge-background-color)}.button--link,.button--outline{--ifm-button-background-color:#0000}*{box-sizing:border-box}html{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;text-size-adjust:100%;background-color:var(--ifm-background-color);color:var(--ifm-font-color-base);color-scheme:var(--ifm-color-scheme);font:var(--ifm-font-size-base)/var(--ifm-line-height-base) var(--ifm-font-family-base);text-rendering:optimizelegibility}iframe{border:0;color-scheme:auto}.container{margin:0 auto;max-width:var(--ifm-container-width)}.container--fluid{max-width:inherit}.row{display:flex;flex-wrap:wrap;margin:0 calc(var(--ifm-spacing-horizontal)*-1)}.list_eTzJ article:last-child,.margin-bottom--none,.margin-vert--none,.markdown>:last-child{margin-bottom:0!important}.margin-top--none,.margin-vert--none{margin-top:0!important}.row--no-gutters{margin-left:0;margin-right:0}.margin-horiz--none,.margin-right--none{margin-right:0!important}.row--no-gutters>.col{padding-left:0;padding-right:0}.row--align-top{align-items:flex-start}.row--align-bottom{align-items:flex-end}.menuExternalLink_NmtK,.row--align-center{align-items:center}.row--align-stretch{align-items:stretch}.row--align-baseline{align-items:baseline}.col{--ifm-col-width:100%;flex:1 0;margin-left:0;max-width:var(--ifm-col-width)}.padding-bottom--none,.padding-vert--none{padding-bottom:0!important}.padding-top--none,.padding-vert--none{padding-top:0!important}.padding-horiz--none,.padding-left--none{padding-left:0!important}.padding-horiz--none,.padding-right--none{padding-right:0!important}.col[class*=col--]{flex:0 0 var(--ifm-col-width)}.col--1{--ifm-col-width:8.33333%}.col--offset-1{margin-left:8.33333%}.col--2{--ifm-col-width:16.66667%}.col--offset-2{margin-left:16.66667%}.col--3{--ifm-col-width:25%}.col--offset-3{margin-left:25%}.col--4{--ifm-col-width:33.33333%}.col--offset-4{margin-left:33.33333%}.col--5{--ifm-col-width:41.66667%}.col--offset-5{margin-left:41.66667%}.col--6{--ifm-col-width:50%}.col--offset-6{margin-left:50%}.col--7{--ifm-col-width:58.33333%}.col--offset-7{margin-left:58.33333%}.col--8{--ifm-col-width:66.66667%}.col--offset-8{margin-left:66.66667%}.col--9{--ifm-col-width:75%}.col--offset-9{margin-left:75%}.col--10{--ifm-col-width:83.33333%}.col--offset-10{margin-left:83.33333%}.col--11{--ifm-col-width:91.66667%}.col--offset-11{margin-left:91.66667%}.col--12{--ifm-col-width:100%}.col--offset-12{margin-left:100%}.margin-horiz--none,.margin-left--none{margin-left:0!important}.margin--none{margin:0!important}.margin-bottom--xs,.margin-vert--xs{margin-bottom:.25rem!important}.margin-top--xs,.margin-vert--xs{margin-top:.25rem!important}.margin-horiz--xs,.margin-left--xs{margin-left:.25rem!important}.margin-horiz--xs,.margin-right--xs{margin-right:.25rem!important}.margin--xs{margin:.25rem!important}.margin-bottom--sm,.margin-vert--sm{margin-bottom:.5rem!important}.margin-top--sm,.margin-vert--sm{margin-top:.5rem!important}.margin-horiz--sm,.margin-left--sm{margin-left:.5rem!important}.margin-horiz--sm,.margin-right--sm{margin-right:.5rem!important}.margin--sm{margin:.5rem!important}.margin-bottom--md,.margin-vert--md{margin-bottom:1rem!important}.margin-top--md,.margin-vert--md{margin-top:1rem!important}.margin-horiz--md,.margin-left--md{margin-left:1rem!important}.margin-horiz--md,.margin-right--md{margin-right:1rem!important}.margin--md{margin:1rem!important}.margin-bottom--lg,.margin-vert--lg{margin-bottom:2rem!important}.margin-top--lg,.margin-vert--lg{margin-top:2rem!important}.margin-horiz--lg,.margin-left--lg{margin-left:2rem!important}.margin-horiz--lg,.margin-right--lg{margin-right:2rem!important}.margin--lg{margin:2rem!important}.margin-bottom--xl,.margin-vert--xl{margin-bottom:5rem!important}.margin-top--xl,.margin-vert--xl{margin-top:5rem!important}.margin-horiz--xl,.margin-left--xl{margin-left:5rem!important}.margin-horiz--xl,.margin-right--xl{margin-right:5rem!important}.margin--xl{margin:5rem!important}.padding--none{padding:0!important}.padding-bottom--xs,.padding-vert--xs{padding-bottom:.25rem!important}.padding-top--xs,.padding-vert--xs{padding-top:.25rem!important}.padding-horiz--xs,.padding-left--xs{padding-left:.25rem!important}.padding-horiz--xs,.padding-right--xs{padding-right:.25rem!important}.padding--xs{padding:.25rem!important}.padding-bottom--sm,.padding-vert--sm{padding-bottom:.5rem!important}.padding-top--sm,.padding-vert--sm{padding-top:.5rem!important}.padding-horiz--sm,.padding-left--sm{padding-left:.5rem!important}.padding-horiz--sm,.padding-right--sm{padding-right:.5rem!important}.padding--sm{padding:.5rem!important}.padding-bottom--md,.padding-vert--md{padding-bottom:1rem!important}.padding-top--md,.padding-vert--md{padding-top:1rem!important}.padding-horiz--md,.padding-left--md{padding-left:1rem!important}.padding-horiz--md,.padding-right--md{padding-right:1rem!important}.padding--md{padding:1rem!important}.padding-bottom--lg,.padding-vert--lg{padding-bottom:2rem!important}.padding-top--lg,.padding-vert--lg{padding-top:2rem!important}.padding-horiz--lg,.padding-left--lg{padding-left:2rem!important}.padding-horiz--lg,.padding-right--lg{padding-right:2rem!important}.padding--lg{padding:2rem!important}.padding-bottom--xl,.padding-vert--xl{padding-bottom:5rem!important}.padding-top--xl,.padding-vert--xl{padding-top:5rem!important}.padding-horiz--xl,.padding-left--xl{padding-left:5rem!important}.padding-horiz--xl,.padding-right--xl{padding-right:5rem!important}.padding--xl{padding:5rem!important}code{background-color:var(--ifm-code-background);border:.1rem solid #0000001a;border-radius:var(--ifm-code-border-radius);font-family:var(--ifm-font-family-monospace);font-size:var(--ifm-code-font-size);padding:var(--ifm-code-padding-vertical) var(--ifm-code-padding-horizontal)}a code{color:inherit}pre{background-color:var(--ifm-pre-background);border-radius:var(--ifm-pre-border-radius);color:var(--ifm-pre-color);font:var(--ifm-code-font-size)/var(--ifm-pre-line-height) var(--ifm-font-family-monospace);padding:var(--ifm-pre-padding)}pre code{background-color:initial;border:none;font-size:100%;line-height:inherit;padding:0}kbd{background-color:var(--ifm-color-emphasis-0);border:1px solid var(--ifm-color-emphasis-400);border-radius:.2rem;box-shadow:inset 0 -1px 0 var(--ifm-color-emphasis-400);color:var(--ifm-color-emphasis-800);font:80% var(--ifm-font-family-monospace);padding:.15rem .3rem}h1,h2,h3,h4,h5,h6{color:var(--ifm-heading-color);font-family:var(--ifm-heading-font-family);font-weight:var(--ifm-heading-font-weight);line-height:var(--ifm-heading-line-height);margin:var(--ifm-heading-margin-top) 0 var(--ifm-heading-margin-bottom) 0}h1{font-size:var(--ifm-h1-font-size)}h2{font-size:var(--ifm-h2-font-size)}h3{font-size:var(--ifm-h3-font-size)}h4{font-size:var(--ifm-h4-font-size)}h5{font-size:var(--ifm-h5-font-size)}h6{font-size:var(--ifm-h6-font-size)}img{max-width:100%}img[align=right]{padding-left:var(--image-alignment-padding)}img[align=left]{padding-right:var(--image-alignment-padding)}.markdown{--ifm-h1-vertical-rhythm-top:3;--ifm-h2-vertical-rhythm-top:2;--ifm-h3-vertical-rhythm-top:1.5;--ifm-heading-vertical-rhythm-top:1.25;--ifm-h1-vertical-rhythm-bottom:1.25;--ifm-heading-vertical-rhythm-bottom:1}.markdown:after,.markdown:before{content:"";display:table}.markdown:after{clear:both}.markdown h1:first-child{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-h1-vertical-rhythm-bottom)*var(--ifm-leading))}.markdown>h2{--ifm-h2-font-size:2rem;margin-top:calc(var(--ifm-h2-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h3{--ifm-h3-font-size:1.5rem;margin-top:calc(var(--ifm-h3-vertical-rhythm-top)*var(--ifm-leading))}.markdown>h4,.markdown>h5,.markdown>h6{margin-top:calc(var(--ifm-heading-vertical-rhythm-top)*var(--ifm-leading))}.markdown>p,.markdown>pre,.markdown>ul{margin-bottom:var(--ifm-leading)}.markdown li>p{margin-top:var(--ifm-list-paragraph-margin)}.markdown li+li{margin-top:var(--ifm-list-item-margin)}ol,ul{margin:0 0 var(--ifm-list-margin);padding-left:var(--ifm-list-left-padding)}ol ol,ul ol{list-style-type:lower-roman}ol ol ol,ol ul ol,ul ol ol,ul ul ol{list-style-type:lower-alpha}table{border-collapse:collapse;display:block;margin-bottom:var(--ifm-spacing-vertical)}table thead tr{border-bottom:2px solid var(--ifm-table-border-color)}table thead,table tr:nth-child(2n){background-color:var(--ifm-table-stripe-background)}table tr{background-color:var(--ifm-table-background);border-top:var(--ifm-table-border-width) solid var(--ifm-table-border-color)}table td,table th{border:var(--ifm-table-border-width) solid var(--ifm-table-border-color);padding:var(--ifm-table-cell-padding)}table th{background-color:var(--ifm-table-head-background);color:var(--ifm-table-head-color);font-weight:var(--ifm-table-head-font-weight)}table td{color:var(--ifm-table-cell-color)}strong{font-weight:var(--ifm-font-weight-bold)}a{color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}a:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button:hover,.text--no-decoration,.text--no-decoration:hover,a:not([href]){text-decoration:none}p{margin:0 0 var(--ifm-paragraph-margin-bottom)}blockquote{border-left:var(--ifm-blockquote-border-left-width) solid var(--ifm-blockquote-border-color);box-shadow:var(--ifm-blockquote-shadow);color:var(--ifm-blockquote-color);font-size:var(--ifm-blockquote-font-size);padding:var(--ifm-blockquote-padding-vertical) var(--ifm-blockquote-padding-horizontal)}blockquote>:first-child{margin-top:0}blockquote>:last-child{margin-bottom:0}hr{background-color:var(--ifm-hr-background-color);border:0;height:var(--ifm-hr-height);margin:var(--ifm-hr-margin-vertical) 0}.shadow--lw{box-shadow:var(--ifm-global-shadow-lw)!important}.shadow--md{box-shadow:var(--ifm-global-shadow-md)!important}.shadow--tl{box-shadow:var(--ifm-global-shadow-tl)!important}.text--primary,.wordWrapButtonEnabled_EoeP .wordWrapButtonIcon_Bwma{color:var(--ifm-color-primary)}.text--secondary{color:var(--ifm-color-secondary)}.text--success{color:var(--ifm-color-success)}.text--info{color:var(--ifm-color-info)}.text--warning{color:var(--ifm-color-warning)}.text--danger{color:var(--ifm-color-danger)}.text--center{text-align:center}.text--left{text-align:left}.text--justify{text-align:justify}.text--right{text-align:right}.text--capitalize{text-transform:capitalize}.text--lowercase{text-transform:lowercase}.admonitionHeading_tbUL,.alert__heading,.text--uppercase{text-transform:uppercase}.text--light{font-weight:var(--ifm-font-weight-light)}.text--normal{font-weight:var(--ifm-font-weight-normal)}.text--semibold{font-weight:var(--ifm-font-weight-semibold)}.text--bold{font-weight:var(--ifm-font-weight-bold)}.text--italic{font-style:italic}.text--truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text--break{word-wrap:break-word!important;word-break:break-word!important}.clean-btn{background:none;border:none;color:inherit;cursor:pointer;font-family:inherit;padding:0}.alert,.alert .close{color:var(--ifm-alert-foreground-color)}.clean-list{padding-left:0}.alert--primary{--ifm-alert-background-color:var(--ifm-color-primary-contrast-background);--ifm-alert-background-color-highlight:#3578e526;--ifm-alert-foreground-color:var(--ifm-color-primary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-primary-dark)}.alert--secondary{--ifm-alert-background-color:var(--ifm-color-secondary-contrast-background);--ifm-alert-background-color-highlight:#ebedf026;--ifm-alert-foreground-color:var(--ifm-color-secondary-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-secondary-dark)}.alert--success{--ifm-alert-background-color:var(--ifm-color-success-contrast-background);--ifm-alert-background-color-highlight:#00a40026;--ifm-alert-foreground-color:var(--ifm-color-success-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-success-dark)}.alert--info{--ifm-alert-background-color:var(--ifm-color-info-contrast-background);--ifm-alert-background-color-highlight:#54c7ec26;--ifm-alert-foreground-color:var(--ifm-color-info-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-info-dark)}.alert--warning{--ifm-alert-background-color:var(--ifm-color-warning-contrast-background);--ifm-alert-background-color-highlight:#ffba0026;--ifm-alert-foreground-color:var(--ifm-color-warning-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-warning-dark)}.alert--danger{--ifm-alert-background-color:var(--ifm-color-danger-contrast-background);--ifm-alert-background-color-highlight:#fa383e26;--ifm-alert-foreground-color:var(--ifm-color-danger-contrast-foreground);--ifm-alert-border-color:var(--ifm-color-danger-dark)}.alert{--ifm-code-background:var(--ifm-alert-background-color-highlight);--ifm-link-color:var(--ifm-alert-foreground-color);--ifm-link-hover-color:var(--ifm-alert-foreground-color);--ifm-link-decoration:underline;--ifm-tabs-color:var(--ifm-alert-foreground-color);--ifm-tabs-color-active:var(--ifm-alert-foreground-color);--ifm-tabs-color-active-border:var(--ifm-alert-border-color);background-color:var(--ifm-alert-background-color);border:var(--ifm-alert-border-width) solid var(--ifm-alert-border-color);border-left-width:var(--ifm-alert-border-left-width);border-radius:var(--ifm-alert-border-radius);box-shadow:var(--ifm-alert-shadow);padding:var(--ifm-alert-padding-vertical) var(--ifm-alert-padding-horizontal)}.alert__heading{align-items:center;display:flex;font:700 var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.5rem}.alert__icon{display:inline-flex;margin-right:.4em}.alert__icon svg{fill:var(--ifm-alert-foreground-color);stroke:var(--ifm-alert-foreground-color);stroke-width:0}.alert .close{margin:calc(var(--ifm-alert-padding-vertical)*-1) calc(var(--ifm-alert-padding-horizontal)*-1) 0 0;opacity:.75}.alert .close:focus,.alert .close:hover{opacity:1}.alert a{text-decoration-color:var(--ifm-alert-border-color)}.alert a:hover{text-decoration-thickness:2px}.avatar{column-gap:var(--ifm-avatar-intro-margin);display:flex}.avatar__photo{border-radius:50%;display:block;height:var(--ifm-avatar-photo-size);overflow:hidden;width:var(--ifm-avatar-photo-size)}.card--full-height,.navbar__logo img,body,html{height:100%}.avatar__photo--sm{--ifm-avatar-photo-size:2rem}.avatar__photo--lg{--ifm-avatar-photo-size:4rem}.avatar__photo--xl{--ifm-avatar-photo-size:6rem}.avatar__intro{display:flex;flex:1 1;flex-direction:column;justify-content:center;text-align:var(--ifm-avatar-intro-alignment)}.badge,.breadcrumbs__item,.breadcrumbs__link,.button,.dropdown>.navbar__link:after{display:inline-block}.avatar__name{font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base)}.avatar__subtitle{margin-top:.25rem}.avatar--vertical{--ifm-avatar-intro-alignment:center;--ifm-avatar-intro-margin:0.5rem;align-items:center;flex-direction:column}.badge{background-color:var(--ifm-badge-background-color);border:var(--ifm-badge-border-width) solid var(--ifm-badge-border-color);border-radius:var(--ifm-badge-border-radius);color:var(--ifm-badge-color);font-size:75%;font-weight:var(--ifm-font-weight-bold);line-height:1;padding:var(--ifm-badge-padding-vertical) var(--ifm-badge-padding-horizontal)}.badge--primary{--ifm-badge-background-color:var(--ifm-color-primary)}.badge--secondary{--ifm-badge-background-color:var(--ifm-color-secondary);color:var(--ifm-color-black)}.breadcrumbs__link,.button.button--secondary.button--outline:not(.button--active):not(:hover){color:var(--ifm-font-color-base)}.badge--success{--ifm-badge-background-color:var(--ifm-color-success)}.badge--info{--ifm-badge-background-color:var(--ifm-color-info)}.badge--warning{--ifm-badge-background-color:var(--ifm-color-warning)}.badge--danger{--ifm-badge-background-color:var(--ifm-color-danger)}.breadcrumbs{margin-bottom:0;padding-left:0}.breadcrumbs__item:not(:last-child):after{background:var(--ifm-breadcrumb-separator) center;content:" ";display:inline-block;filter:var(--ifm-breadcrumb-separator-filter);height:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier));margin:0 var(--ifm-breadcrumb-spacing);opacity:.5;width:calc(var(--ifm-breadcrumb-separator-size)*var(--ifm-breadcrumb-size-multiplier)*var(--ifm-breadcrumb-separator-size-multiplier))}.breadcrumbs__item--active .breadcrumbs__link{background:var(--ifm-breadcrumb-item-background-active);color:var(--ifm-breadcrumb-color-active)}.breadcrumbs__link{border-radius:var(--ifm-breadcrumb-border-radius);font-size:calc(1rem*var(--ifm-breadcrumb-size-multiplier));padding:calc(var(--ifm-breadcrumb-padding-vertical)*var(--ifm-breadcrumb-size-multiplier)) calc(var(--ifm-breadcrumb-padding-horizontal)*var(--ifm-breadcrumb-size-multiplier));transition-duration:var(--ifm-transition-fast);transition-property:background,color}.breadcrumbs__link:any-link:hover,.breadcrumbs__link:link:hover,.breadcrumbs__link:visited:hover,area.breadcrumbs__link[href]:hover{background:var(--ifm-breadcrumb-item-background-active);text-decoration:none}.breadcrumbs--sm{--ifm-breadcrumb-size-multiplier:0.8}.breadcrumbs--lg{--ifm-breadcrumb-size-multiplier:1.2}.button{background-color:var(--ifm-button-background-color);border:var(--ifm-button-border-width) solid var(--ifm-button-border-color);border-radius:var(--ifm-button-border-radius);cursor:pointer;font-size:calc(.875rem*var(--ifm-button-size-multiplier));font-weight:var(--ifm-button-font-weight);line-height:1.5;padding:calc(var(--ifm-button-padding-vertical)*var(--ifm-button-size-multiplier)) calc(var(--ifm-button-padding-horizontal)*var(--ifm-button-size-multiplier));text-align:center;transition-duration:var(--ifm-button-transition-duration);transition-property:color,background,border-color;-webkit-user-select:none;user-select:none;white-space:nowrap}.button,.button:hover{color:var(--ifm-button-color)}.button--outline{--ifm-button-color:var(--ifm-button-border-color)}.button--outline:hover{--ifm-button-background-color:var(--ifm-button-border-color)}.button--link{--ifm-button-border-color:#0000;color:var(--ifm-link-color);text-decoration:var(--ifm-link-decoration)}.button--link.button--active,.button--link:active,.button--link:hover{color:var(--ifm-link-hover-color);text-decoration:var(--ifm-link-hover-decoration)}.button.disabled,.button:disabled,.button[disabled]{opacity:.65;pointer-events:none}.button--sm{--ifm-button-size-multiplier:0.8}.button--lg{--ifm-button-size-multiplier:1.35}.button--block{display:block;width:100%}.button.button--secondary{color:var(--ifm-color-gray-900)}:where(.button--primary){--ifm-button-background-color:var(--ifm-color-primary);--ifm-button-border-color:var(--ifm-color-primary)}:where(.button--primary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-primary-dark);--ifm-button-border-color:var(--ifm-color-primary-dark)}.button--primary.button--active,.button--primary:active{--ifm-button-background-color:var(--ifm-color-primary-darker);--ifm-button-border-color:var(--ifm-color-primary-darker)}:where(.button--secondary){--ifm-button-background-color:var(--ifm-color-secondary);--ifm-button-border-color:var(--ifm-color-secondary)}:where(.button--secondary):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-secondary-dark);--ifm-button-border-color:var(--ifm-color-secondary-dark)}.button--secondary.button--active,.button--secondary:active{--ifm-button-background-color:var(--ifm-color-secondary-darker);--ifm-button-border-color:var(--ifm-color-secondary-darker)}:where(.button--success){--ifm-button-background-color:var(--ifm-color-success);--ifm-button-border-color:var(--ifm-color-success)}:where(.button--success):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-success-dark);--ifm-button-border-color:var(--ifm-color-success-dark)}.button--success.button--active,.button--success:active{--ifm-button-background-color:var(--ifm-color-success-darker);--ifm-button-border-color:var(--ifm-color-success-darker)}:where(.button--info){--ifm-button-background-color:var(--ifm-color-info);--ifm-button-border-color:var(--ifm-color-info)}:where(.button--info):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-info-dark);--ifm-button-border-color:var(--ifm-color-info-dark)}.button--info.button--active,.button--info:active{--ifm-button-background-color:var(--ifm-color-info-darker);--ifm-button-border-color:var(--ifm-color-info-darker)}:where(.button--warning){--ifm-button-background-color:var(--ifm-color-warning);--ifm-button-border-color:var(--ifm-color-warning)}:where(.button--warning):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-warning-dark);--ifm-button-border-color:var(--ifm-color-warning-dark)}.button--warning.button--active,.button--warning:active{--ifm-button-background-color:var(--ifm-color-warning-darker);--ifm-button-border-color:var(--ifm-color-warning-darker)}:where(.button--danger){--ifm-button-background-color:var(--ifm-color-danger);--ifm-button-border-color:var(--ifm-color-danger)}:where(.button--danger):not(.button--outline):hover{--ifm-button-background-color:var(--ifm-color-danger-dark);--ifm-button-border-color:var(--ifm-color-danger-dark)}.button--danger.button--active,.button--danger:active{--ifm-button-background-color:var(--ifm-color-danger-darker);--ifm-button-border-color:var(--ifm-color-danger-darker)}.button-group{display:inline-flex;gap:var(--ifm-button-group-spacing)}.button-group>.button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.button-group>.button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.button-group--block{display:flex;justify-content:stretch}.button-group--block>.button{flex-grow:1}.card{background-color:var(--ifm-card-background-color);border-radius:var(--ifm-card-border-radius);box-shadow:var(--ifm-global-shadow-lw);display:flex;flex-direction:column;overflow:hidden}.card__image{padding-top:var(--ifm-card-vertical-spacing)}.card__image:first-child{padding-top:0}.card__body,.card__footer,.card__header{padding:var(--ifm-card-vertical-spacing) var(--ifm-card-horizontal-spacing)}.card__body:not(:last-child),.card__footer:not(:last-child),.card__header:not(:last-child){padding-bottom:0}.card__body>:last-child,.card__footer>:last-child,.card__header>:last-child{margin-bottom:0}.card__footer{margin-top:auto}.table-of-contents{font-size:.8rem;margin-bottom:0;padding:var(--ifm-toc-padding-vertical) 0}.table-of-contents,.table-of-contents ul{list-style:none;padding-left:var(--ifm-toc-padding-horizontal)}.table-of-contents li{margin:var(--ifm-toc-padding-vertical) var(--ifm-toc-padding-horizontal)}.table-of-contents__left-border{border-left:1px solid var(--ifm-toc-border-color)}.table-of-contents__link{color:var(--ifm-toc-link-color);display:block}.table-of-contents__link--active,.table-of-contents__link--active code,.table-of-contents__link:hover,.table-of-contents__link:hover code{color:var(--ifm-color-primary);text-decoration:none}.close{color:var(--ifm-color-black);float:right;font-size:1.5rem;font-weight:var(--ifm-font-weight-bold);line-height:1;opacity:.5;padding:1rem;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.close:hover{opacity:.7}.close:focus,.theme-code-block-highlighted-line .codeLineNumber_Tfdd:before{opacity:.8}.dropdown{display:inline-flex;font-weight:var(--ifm-dropdown-font-weight);position:relative;vertical-align:top}.dropdown--hoverable:hover .dropdown__menu,.dropdown--show .dropdown__menu{opacity:1;pointer-events:all;transform:translateY(-1px);visibility:visible}#nprogress,.dropdown__menu,.navbar__item.dropdown .navbar__link:not([href]){pointer-events:none}.dropdown--right .dropdown__menu{left:inherit;right:0}.dropdown--nocaret .navbar__link:after{content:none!important}.dropdown__menu{background-color:var(--ifm-dropdown-background-color);border-radius:var(--ifm-global-radius);box-shadow:var(--ifm-global-shadow-md);left:0;max-height:80vh;min-width:10rem;opacity:0;overflow-y:auto;padding:.5rem;position:absolute;top:calc(100% - var(--ifm-navbar-item-padding-vertical) + .3rem);transform:translateY(-.625rem);transition-duration:var(--ifm-transition-fast);transition-property:opacity,transform,visibility;transition-timing-function:var(--ifm-transition-timing-default);visibility:hidden;z-index:var(--ifm-z-index-dropdown)}.menu__caret,.menu__link,.menu__list-item-collapsible{border-radius:.25rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.dropdown__link{border-radius:.25rem;color:var(--ifm-dropdown-link-color);display:block;font-size:.875rem;margin-top:.2rem;padding:.25rem .5rem;white-space:nowrap}.dropdown__link--active,.dropdown__link:hover{background-color:var(--ifm-dropdown-hover-background-color);color:var(--ifm-dropdown-link-color);text-decoration:none}.dropdown__link--active,.dropdown__link--active:hover{--ifm-dropdown-link-color:var(--ifm-link-color)}.dropdown>.navbar__link:after{border-color:currentcolor #0000;border-style:solid;border-width:.4em .4em 0;content:"";margin-left:.3em;position:relative;top:2px;transform:translateY(-50%)}.footer{background-color:var(--ifm-footer-background-color);color:var(--ifm-footer-color);padding:var(--ifm-footer-padding-vertical) var(--ifm-footer-padding-horizontal)}.footer--dark{--ifm-footer-background-color:#303846;--ifm-footer-color:var(--ifm-footer-link-color);--ifm-footer-link-color:var(--ifm-color-secondary);--ifm-footer-title-color:var(--ifm-color-white)}.footer__links{margin-bottom:1rem}.footer__link-item{color:var(--ifm-footer-link-color);line-height:2}.footer__link-item:hover{color:var(--ifm-footer-link-hover-color)}.footer__link-separator{margin:0 var(--ifm-footer-link-horizontal-spacing)}.footer__logo{margin-top:1rem;max-width:var(--ifm-footer-logo-max-width)}.footer__title{color:var(--ifm-footer-title-color);font:700 var(--ifm-h4-font-size)/var(--ifm-heading-line-height) var(--ifm-font-family-base);margin-bottom:var(--ifm-heading-margin-bottom)}.menu,.navbar__link{font-weight:var(--ifm-font-weight-semibold)}.docItemContainer_Djhp article>:first-child,.docItemContainer_Djhp header+*,.footer__item{margin-top:0}.admonitionContent_S0QG>:last-child,.cardContainer_fWXF :last-child,.collapsibleContent_i85q>:last-child,.footer__items{margin-bottom:0}.codeBlockStandalone_MEMb,[type=checkbox]{padding:0}.hero{align-items:center;background-color:var(--ifm-hero-background-color);color:var(--ifm-hero-text-color);display:flex;padding:4rem 2rem}.hero--primary{--ifm-hero-background-color:var(--ifm-color-primary);--ifm-hero-text-color:var(--ifm-font-color-base-inverse)}.hero--dark{--ifm-hero-background-color:#303846;--ifm-hero-text-color:var(--ifm-color-white)}.hero__title{font-size:3rem}.hero__subtitle{font-size:1.5rem}.menu__list{margin:0;padding-left:0}.menu__caret,.menu__link{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu__list .menu__list{flex:0 0 100%;margin-top:.25rem;padding-left:var(--ifm-menu-link-padding-horizontal)}.menu__list-item:not(:first-child){margin-top:.25rem}.menu__list-item--collapsed .menu__list{height:0;overflow:hidden}.details_lb9f[data-collapsed=false].isBrowser_bmU9>summary:before,.details_lb9f[open]:not(.isBrowser_bmU9)>summary:before,.menu__list-item--collapsed .menu__caret:before,.menu__list-item--collapsed .menu__link--sublist:after{transform:rotate(90deg)}.menu__list-item-collapsible{display:flex;flex-wrap:wrap;position:relative}.menu__caret:hover,.menu__link:hover,.menu__list-item-collapsible--active,.menu__list-item-collapsible:hover{background:var(--ifm-menu-color-background-hover)}.menu__list-item-collapsible .menu__link--active,.menu__list-item-collapsible .menu__link:hover{background:none!important}.menu__caret,.menu__link{align-items:center;display:flex}.menu__link{color:var(--ifm-menu-color);flex:1;line-height:1.25}.menu__link:hover{color:var(--ifm-menu-color);text-decoration:none}.menu__caret:before,.menu__link--sublist-caret:after{height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast) linear;width:1.25rem;filter:var(--ifm-menu-link-sublist-icon-filter);content:""}.menu__link--sublist-caret:after{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem;margin-left:auto;min-width:1.25rem}.menu__link--active,.menu__link--active:hover{color:var(--ifm-menu-color-active)}.navbar__brand,.navbar__link{color:var(--ifm-navbar-link-color)}.menu__link--active:not(.menu__link--sublist){background-color:var(--ifm-menu-color-background-active)}.menu__caret:before{background:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem}.navbar--dark,html[data-theme=dark]{--ifm-menu-link-sublist-icon-filter:invert(100%) sepia(94%) saturate(17%) hue-rotate(223deg) brightness(104%) contrast(98%)}.navbar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-navbar-shadow);height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.docsWrapper_BCFX,.navbar,.navbar>.container,.navbar>.container-fluid{display:flex}.navbar--fixed-top{position:sticky;top:0;z-index:var(--ifm-z-index-fixed)}.navbar-sidebar,.navbar-sidebar__backdrop{bottom:0;opacity:0;position:fixed;transition-timing-function:ease-in-out;left:0;top:0;visibility:hidden}.navbar__inner{display:flex;flex-wrap:wrap;justify-content:space-between;width:100%}.navbar__brand{align-items:center;display:flex;margin-right:1rem;min-width:0}.navbar__brand:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.announcementBarContent_xLdY,.navbar__title{flex:1 1 auto}.navbar__toggle{display:none;margin-right:.5rem}.navbar__logo{flex:0 0 auto;height:2rem;margin-right:.5rem}.navbar__items{align-items:center;display:flex;flex:1;min-width:0}.navbar__items--center{flex:0 0 auto}.navbar__items--center .navbar__brand{margin:0}.navbar__items--center+.navbar__items--right{flex:1}.navbar__items--right{flex:0 0 auto;justify-content:flex-end}.navbar__items--right>:last-child{padding-right:0}.navbar__item{display:inline-block;padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.navbar__link--active,.navbar__link:hover{color:var(--ifm-navbar-link-hover-color);text-decoration:none}.navbar--dark,.navbar--primary{--ifm-menu-color:var(--ifm-color-gray-300);--ifm-navbar-link-color:var(--ifm-color-gray-100);--ifm-navbar-search-input-background-color:#ffffff1a;--ifm-navbar-search-input-placeholder-color:#ffffff80;color:var(--ifm-color-white)}.navbar--dark{--ifm-navbar-background-color:#242526;--ifm-menu-color-background-active:#ffffff0d;--ifm-navbar-search-input-color:var(--ifm-color-white)}.navbar--primary{--ifm-navbar-background-color:var(--ifm-color-primary);--ifm-navbar-link-hover-color:var(--ifm-color-white);--ifm-menu-color-active:var(--ifm-color-white);--ifm-navbar-search-input-color:var(--ifm-color-emphasis-500)}.navbar__search-input{-webkit-appearance:none;appearance:none;background:var(--ifm-navbar-search-input-background-color) var(--ifm-navbar-search-input-icon) no-repeat .75rem center/1rem 1rem;border:none;border-radius:2rem;color:var(--ifm-navbar-search-input-color);cursor:text;display:inline-block;font-size:.9rem;height:2rem;padding:0 .5rem 0 2.25rem;width:12.5rem}.navbar__search-input::placeholder{color:var(--ifm-navbar-search-input-placeholder-color)}.navbar-sidebar{background-color:var(--ifm-navbar-background-color);box-shadow:var(--ifm-global-shadow-md);transform:translate3d(-100%,0,0);transition-duration:.25s;transition-property:opacity,visibility,transform;width:var(--ifm-navbar-sidebar-width)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar__items{transform:translateZ(0)}.navbar-sidebar--show .navbar-sidebar,.navbar-sidebar--show .navbar-sidebar__backdrop{opacity:1;visibility:visible}.navbar-sidebar__backdrop{background-color:#0009;right:0;transition-duration:.1s;transition-property:opacity,visibility}.navbar-sidebar__brand{align-items:center;box-shadow:var(--ifm-navbar-shadow);display:flex;flex:1;height:var(--ifm-navbar-height);padding:var(--ifm-navbar-padding-vertical) var(--ifm-navbar-padding-horizontal)}.navbar-sidebar__items{display:flex;height:calc(100% - var(--ifm-navbar-height));transition:transform var(--ifm-transition-fast) ease-in-out}.navbar-sidebar__items--show-secondary{transform:translate3d(calc((var(--ifm-navbar-sidebar-width))*-1),0,0)}.navbar-sidebar__item{flex-shrink:0;padding:.5rem;width:calc(var(--ifm-navbar-sidebar-width))}.navbar-sidebar__back{background:var(--ifm-menu-color-background-active);font-size:15px;font-weight:var(--ifm-button-font-weight);margin:0 0 .2rem -.5rem;padding:.6rem 1.5rem;position:relative;text-align:left;top:-.5rem;width:calc(100% + 1rem)}.navbar-sidebar__close{display:flex;margin-left:auto}.pagination{column-gap:var(--ifm-pagination-page-spacing);display:flex;font-size:var(--ifm-pagination-font-size);padding-left:0}.pagination--sm{--ifm-pagination-font-size:0.8rem;--ifm-pagination-padding-horizontal:0.8rem;--ifm-pagination-padding-vertical:0.2rem}.pagination--lg{--ifm-pagination-font-size:1.2rem;--ifm-pagination-padding-horizontal:1.2rem;--ifm-pagination-padding-vertical:0.3rem}.pagination__item{display:inline-flex}.pagination__item>span{padding:var(--ifm-pagination-padding-vertical)}.pagination__item--active .pagination__link{color:var(--ifm-pagination-color-active)}.pagination__item--active .pagination__link,.pagination__item:not(.pagination__item--active):hover .pagination__link{background:var(--ifm-pagination-item-active-background)}.pagination__item--disabled,.pagination__item[disabled]{opacity:.25;pointer-events:none}.pagination__link{border-radius:var(--ifm-pagination-border-radius);color:var(--ifm-font-color-base);display:inline-block;padding:var(--ifm-pagination-padding-vertical) var(--ifm-pagination-padding-horizontal);transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination__link:hover{text-decoration:none}.pagination-nav{grid-gap:var(--ifm-spacing-horizontal);display:grid;gap:var(--ifm-spacing-horizontal);grid-template-columns:repeat(2,1fr)}.pagination-nav__link{border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-pagination-nav-border-radius);display:block;height:100%;line-height:var(--ifm-heading-line-height);padding:var(--ifm-global-spacing);transition:border-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.pagination-nav__link:hover{border-color:var(--ifm-pagination-nav-color-hover);text-decoration:none}.pagination-nav__link--next{grid-column:2/3;text-align:right}.pagination-nav__label{font-size:var(--ifm-h4-font-size);font-weight:var(--ifm-heading-font-weight);word-break:break-word}.pagination-nav__link--prev .pagination-nav__label:before{content:"« "}.pagination-nav__link--next .pagination-nav__label:after{content:" »"}.pagination-nav__sublabel{color:var(--ifm-color-content-secondary);font-size:var(--ifm-h5-font-size);font-weight:var(--ifm-font-weight-semibold);margin-bottom:.25rem}.pills__item,.tabs{font-weight:var(--ifm-font-weight-bold)}.pills{display:flex;gap:var(--ifm-pills-spacing);padding-left:0}.pills__item{border-radius:.5rem;cursor:pointer;display:inline-block;padding:.25rem 1rem;transition:background var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs,:not(.containsTaskList_mC6p>li)>.containsTaskList_mC6p{padding-left:0}.pills__item--active{color:var(--ifm-pills-color-active)}.pills__item--active,.pills__item:not(.pills__item--active):hover{background:var(--ifm-pills-color-background-active)}.pills--block{justify-content:stretch}.pills--block .pills__item{flex-grow:1;text-align:center}.tabs{color:var(--ifm-tabs-color);display:flex;margin-bottom:0;overflow-x:auto}.tabs__item{border-bottom:3px solid #0000;border-radius:var(--ifm-global-radius);cursor:pointer;display:inline-flex;padding:var(--ifm-tabs-padding-vertical) var(--ifm-tabs-padding-horizontal);transition:background-color var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.tabs__item--active{border-bottom-color:var(--ifm-tabs-color-active-border);border-bottom-left-radius:0;border-bottom-right-radius:0;color:var(--ifm-tabs-color-active)}.tabs__item:hover{background-color:var(--ifm-hover-overlay)}.tabs--block{justify-content:stretch}.tabs--block .tabs__item{flex-grow:1;justify-content:center}html[data-theme=dark]{--ifm-color-scheme:dark;--ifm-color-emphasis-0:var(--ifm-color-gray-1000);--ifm-color-emphasis-100:var(--ifm-color-gray-900);--ifm-color-emphasis-200:var(--ifm-color-gray-800);--ifm-color-emphasis-300:var(--ifm-color-gray-700);--ifm-color-emphasis-400:var(--ifm-color-gray-600);--ifm-color-emphasis-600:var(--ifm-color-gray-400);--ifm-color-emphasis-700:var(--ifm-color-gray-300);--ifm-color-emphasis-800:var(--ifm-color-gray-200);--ifm-color-emphasis-900:var(--ifm-color-gray-100);--ifm-color-emphasis-1000:var(--ifm-color-gray-0);--ifm-background-color:#1b1b1d;--ifm-background-surface-color:#242526;--ifm-hover-overlay:#ffffff0d;--ifm-color-content:#e3e3e3;--ifm-color-content-secondary:#fff;--ifm-breadcrumb-separator-filter:invert(64%) sepia(11%) saturate(0%) hue-rotate(149deg) brightness(99%) contrast(95%);--ifm-code-background:#ffffff1a;--ifm-scrollbar-track-background-color:#444;--ifm-scrollbar-thumb-background-color:#686868;--ifm-scrollbar-thumb-hover-background-color:#7a7a7a;--ifm-table-stripe-background:#ffffff12;--ifm-toc-border-color:var(--ifm-color-emphasis-200);--ifm-color-primary-contrast-background:#102445;--ifm-color-primary-contrast-foreground:#ebf2fc;--ifm-color-secondary-contrast-background:#474748;--ifm-color-secondary-contrast-foreground:#fdfdfe;--ifm-color-success-contrast-background:#003100;--ifm-color-success-contrast-foreground:#e6f6e6;--ifm-color-info-contrast-background:#193c47;--ifm-color-info-contrast-foreground:#eef9fd;--ifm-color-warning-contrast-background:#4d3800;--ifm-color-warning-contrast-foreground:#fff8e6;--ifm-color-danger-contrast-background:#4b1113;--ifm-color-danger-contrast-foreground:#ffebec}#nprogress .bar{background:var(--docusaurus-progress-bar-color);height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{box-shadow:0 0 10px var(--docusaurus-progress-bar-color),0 0 5px var(--docusaurus-progress-bar-color);height:100%;opacity:1;position:absolute;right:0;transform:rotate(3deg) translateY(-4px);width:100px}[data-theme=dark]{--ifm-color-primary:#25c2a0;--ifm-color-primary-dark:#21af90;--ifm-color-primary-darker:#1fa588;--ifm-color-primary-darkest:#1a8870;--ifm-color-primary-light:#29d5b0;--ifm-color-primary-lighter:#32d8b4;--ifm-color-primary-lightest:#4fddbf;--docusaurus-highlighted-code-line-bg:#0000004d}body:not(.navigation-with-keyboard) :not(input):focus{outline:0}#docusaurus-base-url-issue-banner-container,.collapseSidebarButton_PEFL,.docSidebarContainer_b6E3,.sidebarLogo_isFc,.themedImage_ToTc,[data-theme=dark] .lightToggleIcon_pyhR,[data-theme=light] .darkToggleIcon_wfgR,html[data-announcement-bar-initially-dismissed=true] .announcementBar_mb4j{display:none}.skipToContent_fXgn{background-color:var(--ifm-background-surface-color);color:var(--ifm-color-emphasis-900);left:100%;padding:calc(var(--ifm-global-spacing)/2) var(--ifm-global-spacing);position:fixed;top:1rem;z-index:calc(var(--ifm-z-index-fixed) + 1)}.skipToContent_fXgn:focus{box-shadow:var(--ifm-global-shadow-md);left:1rem}.closeButton_CVFx{line-height:0;padding:0}.content_knG7{font-size:85%;padding:5px 0;text-align:center}.content_knG7 a{color:inherit;text-decoration:underline}.announcementBar_mb4j{align-items:center;background-color:var(--ifm-color-white);border-bottom:1px solid var(--ifm-color-emphasis-100);color:var(--ifm-color-black);display:flex;height:var(--docusaurus-announcement-bar-height)}.announcementBarPlaceholder_vyr4{flex:0 0 10px}.announcementBarClose_gvF7{align-self:stretch;flex:0 0 30px}.toggle_vylO{height:2rem;width:2rem}.toggleButton_gllP{align-items:center;border-radius:50%;display:flex;height:100%;justify-content:center;transition:background var(--ifm-transition-fast);width:100%}.toggleButton_gllP:hover{background:var(--ifm-color-emphasis-200)}.toggleButtonDisabled_aARS{cursor:not-allowed}[data-theme=dark] .themedImage--dark_i4oU,[data-theme=light] .themedImage--light_HNdA{display:initial}.iconExternalLink_nPIU{margin-left:.3rem}.iconLanguage_nlXk{margin-right:5px;vertical-align:text-bottom}.navbarHideable_m1mJ{transition:transform var(--ifm-transition-fast) ease}.navbarHidden_jGov{transform:translate3d(0,calc(-100% - 2px),0)}.footerLogoLink_BH7S{opacity:.5;transition:opacity var(--ifm-transition-fast) var(--ifm-transition-timing-default)}.footerLogoLink_BH7S:hover,.hash-link:focus,:hover>.hash-link{opacity:1}.mainWrapper_z2l0{flex:1 0 auto}.docusaurus-mt-lg{margin-top:3rem}#__docusaurus{display:flex;flex-direction:column;min-height:100%}.cardContainer_fWXF{--ifm-link-color:var(--ifm-color-emphasis-800);--ifm-link-hover-color:var(--ifm-color-emphasis-700);--ifm-link-hover-decoration:none;border:1px solid var(--ifm-color-emphasis-200);box-shadow:0 1.5px 3px 0 #00000026;transition:all var(--ifm-transition-fast) ease;transition-property:border,box-shadow}.cardContainer_fWXF:hover{border-color:var(--ifm-color-primary);box-shadow:0 3px 6px 0 #0003}.cardTitle_rnsV{font-size:1.2rem}.cardDescription_PWke{font-size:.8rem}.iconEdit_Z9Sw{margin-right:.3em;vertical-align:sub}.tag_zVej{border:1px solid var(--docusaurus-tag-list-border);transition:border var(--ifm-transition-fast)}.tag_zVej:hover{--docusaurus-tag-list-border:var(--ifm-link-color);text-decoration:none}.tagRegular_sFm0{border-radius:var(--ifm-global-radius);font-size:90%;padding:.2rem .5rem .3rem}.tagWithCount_h2kH{align-items:center;border-left:0;display:flex;padding:0 .5rem 0 1rem;position:relative}.tagWithCount_h2kH:after,.tagWithCount_h2kH:before{border:1px solid var(--docusaurus-tag-list-border);content:"";position:absolute;top:50%;transition:inherit}.tagWithCount_h2kH:before{border-bottom:0;border-right:0;height:1.18rem;right:100%;transform:translate(50%,-50%) rotate(-45deg);width:1.18rem}.tagWithCount_h2kH:after{border-radius:50%;height:.5rem;left:0;transform:translateY(-50%);width:.5rem}.tagWithCount_h2kH span{background:var(--ifm-color-secondary);border-radius:var(--ifm-global-radius);color:var(--ifm-color-black);font-size:.7rem;line-height:1.2;margin-left:.3rem;padding:.1rem .4rem}.tags_jXut{display:inline}.tag_QGVx{display:inline-block;margin:0 .4rem .5rem 0}.lastUpdated_vwxv{font-size:smaller;font-style:italic;margin-top:.2rem}.tocCollapsibleButton_TO0P{align-items:center;display:flex;font-size:inherit;justify-content:space-between;padding:.4rem .8rem;width:100%}.buttons_AeoN,.features_t9lD{align-items:center;display:flex}.tocCollapsibleButton_TO0P:after{background:var(--ifm-menu-link-sublist-icon) 50% 50%/2rem 2rem no-repeat;content:"";filter:var(--ifm-menu-link-sublist-icon-filter);height:1.25rem;transform:rotate(180deg);transition:transform var(--ifm-transition-fast);width:1.25rem}.tocCollapsibleButtonExpanded_MG3E:after,.tocCollapsibleExpanded_sAul{transform:none}.tocCollapsible_ETCw{background-color:var(--ifm-menu-color-background-active);border-radius:var(--ifm-global-radius);margin:1rem 0}.tocCollapsibleContent_vkbj>ul{border-left:none;border-top:1px solid var(--ifm-color-emphasis-300);font-size:15px;padding:.2rem 0}.tocCollapsibleContent_vkbj ul li{margin:.4rem .8rem}.tocCollapsibleContent_vkbj a{display:block}.backToTopButton_sjWU{background-color:var(--ifm-color-emphasis-200);border-radius:50%;bottom:1.3rem;box-shadow:var(--ifm-global-shadow-lw);height:3rem;opacity:0;position:fixed;right:1.3rem;transform:scale(0);transition:all var(--ifm-transition-fast) var(--ifm-transition-timing-default);visibility:hidden;width:3rem;z-index:calc(var(--ifm-z-index-fixed) - 1)}.buttonGroup__atx button,.codeBlockContainer_Ckt0{background:var(--prism-background-color);color:var(--prism-color)}.backToTopButton_sjWU:after{background-color:var(--ifm-color-emphasis-1000);content:" ";display:inline-block;height:100%;-webkit-mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;mask:var(--ifm-menu-link-sublist-icon) 50%/2rem 2rem no-repeat;width:100%}.backToTopButtonShow_xfvO{opacity:1;transform:scale(1);visibility:visible}[data-theme=dark]:root{--docusaurus-collapse-button-bg:#ffffff0d;--docusaurus-collapse-button-bg-hover:#ffffff1a}.docMainContainer_gTbr,.docPage__5DB{display:flex;width:100%}.features_t9lD{padding:2rem 0;width:100%}.featureSvg_GfXr{height:200px;width:200px}.heroBanner_qdFl{overflow:hidden;padding:4rem 0;position:relative;text-align:center}.buttons_AeoN{justify-content:center}.codeBlockContainer_Ckt0{border-radius:var(--ifm-code-border-radius);box-shadow:var(--ifm-global-shadow-lw);margin-bottom:var(--ifm-leading)}.codeBlockContent_biex{border-radius:inherit;direction:ltr;position:relative}.codeBlockTitle_Ktv7{border-bottom:1px solid var(--ifm-color-emphasis-300);border-top-left-radius:inherit;border-top-right-radius:inherit;font-size:var(--ifm-code-font-size);font-weight:500;padding:.75rem var(--ifm-pre-padding)}.codeBlock_bY9V{--ifm-pre-background:var(--prism-background-color);margin:0;padding:0}.codeBlockTitle_Ktv7+.codeBlockContent_biex .codeBlock_bY9V{border-top-left-radius:0;border-top-right-radius:0}.codeBlockLines_e6Vv{float:left;font:inherit;min-width:100%;padding:var(--ifm-pre-padding)}.codeBlockLinesWithNumbering_o6Pm{display:table;padding:var(--ifm-pre-padding) 0}.buttonGroup__atx{column-gap:.2rem;display:flex;position:absolute;right:calc(var(--ifm-pre-padding)/2);top:calc(var(--ifm-pre-padding)/2)}.buttonGroup__atx button{align-items:center;border:1px solid var(--ifm-color-emphasis-300);border-radius:var(--ifm-global-radius);display:flex;line-height:0;opacity:0;padding:.4rem;transition:opacity .2s ease-in-out}.buttonGroup__atx button:focus-visible,.buttonGroup__atx button:hover{opacity:1!important}.theme-code-block:hover .buttonGroup__atx button{opacity:.4}:where(:root){--docusaurus-highlighted-code-line-bg:#484d5b}:where([data-theme=dark]){--docusaurus-highlighted-code-line-bg:#646464}.theme-code-block-highlighted-line{background-color:var(--docusaurus-highlighted-code-line-bg);display:block;margin:0 calc(var(--ifm-pre-padding)*-1);padding:0 var(--ifm-pre-padding)}.codeLine_lJS_{counter-increment:a;display:table-row}.codeLineNumber_Tfdd{background:var(--ifm-pre-background);display:table-cell;left:0;overflow-wrap:normal;padding:0 var(--ifm-pre-padding);position:sticky;text-align:right;width:1%}.codeLineNumber_Tfdd:before{content:counter(a);opacity:.4}.codeLineContent_feaV{padding-right:var(--ifm-pre-padding)}.theme-code-block:hover .copyButtonCopied_obH4{opacity:1!important}.copyButtonIcons_eSgA{height:1.125rem;position:relative;width:1.125rem}.copyButtonIcon_y97N,.copyButtonSuccessIcon_LjdS{fill:currentColor;height:inherit;left:0;opacity:inherit;position:absolute;top:0;transition:.15s;width:inherit}.copyButtonSuccessIcon_LjdS{color:#00d600;left:50%;opacity:0;top:50%;transform:translate(-50%,-50%) scale(.33)}.copyButtonCopied_obH4 .copyButtonIcon_y97N{opacity:0;transform:scale(.33)}.copyButtonCopied_obH4 .copyButtonSuccessIcon_LjdS{opacity:1;transform:translate(-50%,-50%) scale(1);transition-delay:75ms}.wordWrapButtonIcon_Bwma{height:1.2rem;width:1.2rem}.details_lb9f{--docusaurus-details-summary-arrow-size:0.38rem;--docusaurus-details-transition:transform 200ms ease;--docusaurus-details-decoration-color:grey}.details_lb9f>summary{cursor:pointer;padding-left:1rem;position:relative}.details_lb9f>summary::-webkit-details-marker{display:none}.details_lb9f>summary:before{border-color:#0000 #0000 #0000 var(--docusaurus-details-decoration-color);border-style:solid;border-width:var(--docusaurus-details-summary-arrow-size);content:"";left:0;position:absolute;top:.45rem;transform:rotate(0);transform-origin:calc(var(--docusaurus-details-summary-arrow-size)/2) 50%;transition:var(--docusaurus-details-transition)}.collapsibleContent_i85q{border-top:1px solid var(--docusaurus-details-decoration-color);margin-top:1rem;padding-top:1rem}.details_b_Ee{--docusaurus-details-decoration-color:var(--ifm-alert-border-color);--docusaurus-details-transition:transform var(--ifm-transition-fast) ease;border:1px solid var(--ifm-alert-border-color);margin:0 0 var(--ifm-spacing-vertical)}.anchorWithStickyNavbar_LWe7{scroll-margin-top:calc(var(--ifm-navbar-height) + .5rem)}.anchorWithHideOnScrollNavbar_WYt5{scroll-margin-top:.5rem}.hash-link{opacity:0;padding-left:.5rem;transition:opacity var(--ifm-transition-fast);-webkit-user-select:none;user-select:none}.hash-link:before{content:"#"}.img_ev3q{height:auto}.tableOfContents_bqdL{max-height:calc(100vh - var(--ifm-navbar-height) - 2rem);overflow-y:auto;position:sticky;top:calc(var(--ifm-navbar-height) + 1rem)}.admonition_LlT9{margin-bottom:1em}.admonitionHeading_tbUL{font:var(--ifm-heading-font-weight) var(--ifm-h5-font-size)/var(--ifm-heading-line-height) var(--ifm-heading-font-family);margin-bottom:.3rem}.admonitionHeading_tbUL code{text-transform:none}.admonitionIcon_kALy{display:inline-block;margin-right:.4em;vertical-align:middle}.admonitionIcon_kALy svg{fill:var(--ifm-alert-foreground-color);display:inline-block;height:1.6em;width:1.6em}.breadcrumbsContainer_Z_bl{--ifm-breadcrumb-size-multiplier:0.8;margin-bottom:.8rem}.breadcrumbHomeIcon_OVgt{height:1.1rem;position:relative;top:1px;vertical-align:top;width:1.1rem}.title_kItE{--ifm-h1-font-size:3rem;margin-bottom:calc(var(--ifm-leading)*1.25)}.mdxPageWrapper_j9I6{justify-content:center}@media (min-width:997px){.collapseSidebarButton_PEFL,.expandButton_m80_{background-color:var(--docusaurus-collapse-button-bg);position:sticky}:root{--docusaurus-announcement-bar-height:30px}.announcementBarClose_gvF7,.announcementBarPlaceholder_vyr4{flex-basis:50px}.searchBox_ZlJk{padding:var(--ifm-navbar-item-padding-vertical) var(--ifm-navbar-item-padding-horizontal)}.lastUpdated_vwxv{text-align:right}.tocMobile_ITEo{display:none}.collapseSidebarButton_PEFL{border:1px solid var(--ifm-toc-border-color);border-radius:0;bottom:0;display:block!important;height:40px}.collapseSidebarButtonIcon_kv0_{margin-top:4px;transform:rotate(180deg)}.expandButtonIcon_BlDH,[dir=rtl] .collapseSidebarButtonIcon_kv0_{transform:rotate(0)}.collapseSidebarButton_PEFL:focus,.collapseSidebarButton_PEFL:hover,.expandButton_m80_:focus,.expandButton_m80_:hover{background-color:var(--docusaurus-collapse-button-bg-hover)}.menuHtmlItem_M9Kj{padding:var(--ifm-menu-link-padding-vertical) var(--ifm-menu-link-padding-horizontal)}.menu_SIkG{flex-grow:1;padding:.5rem}@supports (scrollbar-gutter:stable){.menu_SIkG{padding:.5rem 0 .5rem .5rem;scrollbar-gutter:stable}}.menuWithAnnouncementBar_GW3s{margin-bottom:var(--docusaurus-announcement-bar-height)}.sidebar_njMd{display:flex;flex-direction:column;height:100%;max-height:100vh;padding-top:var(--ifm-navbar-height);position:sticky;top:0;transition:opacity 50ms;width:var(--doc-sidebar-width)}.sidebarWithHideableNavbar_wUlq{padding-top:0}.sidebarHidden_VK0M{height:0;opacity:0;overflow:hidden;visibility:hidden}.sidebarLogo_isFc{align-items:center;color:inherit!important;display:flex!important;margin:0 var(--ifm-navbar-padding-horizontal);max-height:var(--ifm-navbar-height);min-height:var(--ifm-navbar-height);text-decoration:none!important}.sidebarLogo_isFc img{height:2rem;margin-right:.5rem}.expandButton_m80_{align-items:center;display:flex;height:100%;justify-content:center;max-height:100vh;top:0;transition:background-color var(--ifm-transition-fast) ease}[dir=rtl] .expandButtonIcon_BlDH{transform:rotate(180deg)}.docSidebarContainer_b6E3{border-right:1px solid var(--ifm-toc-border-color);-webkit-clip-path:inset(0);clip-path:inset(0);display:block;margin-top:calc(var(--ifm-navbar-height)*-1);transition:width var(--ifm-transition-fast) ease;width:var(--doc-sidebar-width);will-change:width}.docSidebarContainerHidden_b3ry{cursor:pointer;width:var(--doc-sidebar-hidden-width)}.docMainContainer_gTbr{flex-grow:1;max-width:calc(100% - var(--doc-sidebar-width))}.docMainContainerEnhanced_Uz_u{max-width:calc(100% - var(--doc-sidebar-hidden-width))}.docItemWrapperEnhanced_czyv{max-width:calc(var(--ifm-container-width) + var(--doc-sidebar-width))!important}.docItemCol_VOVn,.generatedIndexPage_vN6x{max-width:75%!important}.list_eTzJ article:nth-last-child(-n+2){margin-bottom:0!important}}@media (min-width:1440px){.container{max-width:var(--ifm-container-width-xl)}}@media (max-width:996px){.col{--ifm-col-width:100%;flex-basis:var(--ifm-col-width);margin-left:0}.footer{--ifm-footer-padding-horizontal:0}.colorModeToggle_DEke,.footer__link-separator,.navbar__item,.tableOfContents_bqdL{display:none}.footer__col{margin-bottom:calc(var(--ifm-spacing-vertical)*3)}.footer__link-item{display:block}.hero{padding-left:0;padding-right:0}.navbar>.container,.navbar>.container-fluid{padding:0}.navbar__toggle{display:inherit}.navbar__search-input{width:9rem}.pills--block,.tabs--block{flex-direction:column}.searchBox_ZlJk{position:absolute;right:var(--ifm-navbar-padding-horizontal)}.docItemContainer_F8PC{padding:0 .3rem}}@media screen and (max-width:996px){.heroBanner_qdFl{padding:2rem}}@media (max-width:576px){.markdown h1:first-child{--ifm-h1-font-size:2rem}.markdown>h2{--ifm-h2-font-size:1.5rem}.markdown>h3{--ifm-h3-font-size:1.25rem}}@media (hover:hover){.backToTopButton_sjWU:hover{background-color:var(--ifm-color-emphasis-300)}}@media (pointer:fine){.thin-scrollbar{scrollbar-width:thin}.thin-scrollbar::-webkit-scrollbar{height:var(--ifm-scrollbar-size);width:var(--ifm-scrollbar-size)}.thin-scrollbar::-webkit-scrollbar-track{background:var(--ifm-scrollbar-track-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb{background:var(--ifm-scrollbar-thumb-background-color);border-radius:10px}.thin-scrollbar::-webkit-scrollbar-thumb:hover{background:var(--ifm-scrollbar-thumb-hover-background-color)}}@media print{.announcementBar_mb4j,.footer,.menu,.navbar,.pagination-nav,.table-of-contents,.tocMobile_ITEo{display:none}.tabs{page-break-inside:avoid}.codeBlockLines_e6Vv{white-space:pre-wrap}} \ No newline at end of file diff --git a/build/assets/js/09ed057f.e429c541.js b/build/assets/js/09ed057f.e429c541.js deleted file mode 100644 index 61e176c..0000000 --- a/build/assets/js/09ed057f.e429c541.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkhtml_5_qrcode_docs=self.webpackChunkhtml_5_qrcode_docs||[]).push([[500],{3905:(e,t,n)=>{n.d(t,{Zo:()=>s,kt:()=>u});var r=n(7294);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var d=r.createContext({}),p=function(e){var t=r.useContext(d),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},s=function(e){var t=p(e.components);return r.createElement(d.Provider,{value:t},e.children)},m={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},c=r.forwardRef((function(e,t){var n=e.components,a=e.mdxType,l=e.originalType,d=e.parentName,s=o(e,["components","mdxType","originalType","parentName"]),c=p(n),u=a,k=c["".concat(d,".").concat(u)]||c[u]||m[u]||l;return n?r.createElement(k,i(i({ref:t},s),{},{components:n})):r.createElement(k,i({ref:t},s))}));function u(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=n.length,i=new Array(l);i[0]=c;var o={};for(var d in t)hasOwnProperty.call(t,d)&&(o[d]=t[d]);o.originalType=e,o.mdxType="string"==typeof e?e:a,i[1]=o;for(var p=2;p{n.r(t),n.d(t,{assets:()=>d,contentTitle:()=>i,default:()=>m,frontMatter:()=>l,metadata:()=>o,toc:()=>p});var r=n(7462),a=(n(7294),n(3905));const l={sidebar_position:3},i=void 0,o={unversionedId:"apis/enums/Html5QrcodeSupportedFormats",id:"apis/enums/Html5QrcodeSupportedFormats",title:"Html5QrcodeSupportedFormats",description:"html5-qrcode / Html5QrcodeSupportedFormats",source:"@site/docs/apis/enums/Html5QrcodeSupportedFormats.md",sourceDirName:"apis/enums",slug:"/apis/enums/Html5QrcodeSupportedFormats",permalink:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats",draft:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/apis/enums/Html5QrcodeSupportedFormats.md",tags:[],version:"current",sidebarPosition:3,frontMatter:{sidebar_position:3},sidebar:"tutorialSidebar",previous:{title:"Html5QrcodeScanType",permalink:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScanType"},next:{title:"Interfaces",permalink:"/html5-qrcode-docs/docs/category/interfaces"}},d={},p=[{value:"Table of contents",id:"table-of-contents",level:2},{value:"Enumeration Members",id:"enumeration-members",level:3},{value:"Enumeration Members",id:"enumeration-members-1",level:2},{value:"AZTEC",id:"aztec",level:3},{value:"Defined in",id:"defined-in",level:4},{value:"CODABAR",id:"codabar",level:3},{value:"Defined in",id:"defined-in-1",level:4},{value:"CODE_128",id:"code_128",level:3},{value:"Defined in",id:"defined-in-2",level:4},{value:"CODE_39",id:"code_39",level:3},{value:"Defined in",id:"defined-in-3",level:4},{value:"CODE_93",id:"code_93",level:3},{value:"Defined in",id:"defined-in-4",level:4},{value:"DATA_MATRIX",id:"data_matrix",level:3},{value:"Defined in",id:"defined-in-5",level:4},{value:"EAN_13",id:"ean_13",level:3},{value:"Defined in",id:"defined-in-6",level:4},{value:"EAN_8",id:"ean_8",level:3},{value:"Defined in",id:"defined-in-7",level:4},{value:"ITF",id:"itf",level:3},{value:"Defined in",id:"defined-in-8",level:4},{value:"MAXICODE",id:"maxicode",level:3},{value:"Defined in",id:"defined-in-9",level:4},{value:"PDF_417",id:"pdf_417",level:3},{value:"Defined in",id:"defined-in-10",level:4},{value:"QR_CODE",id:"qr_code",level:3},{value:"Defined in",id:"defined-in-11",level:4},{value:"RSS_14",id:"rss_14",level:3},{value:"Defined in",id:"defined-in-12",level:4},{value:"RSS_EXPANDED",id:"rss_expanded",level:3},{value:"Defined in",id:"defined-in-13",level:4},{value:"UPC_A",id:"upc_a",level:3},{value:"Defined in",id:"defined-in-14",level:4},{value:"UPC_E",id:"upc_e",level:3},{value:"Defined in",id:"defined-in-15",level:4},{value:"UPC_EAN_EXTENSION",id:"upc_ean_extension",level:3},{value:"Defined in",id:"defined-in-16",level:4}],s={toc:p};function m(e){let{components:t,...n}=e;return(0,a.kt)("wrapper",(0,r.Z)({},s,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"../"},"html5-qrcode")," / Html5QrcodeSupportedFormats"),(0,a.kt)("h1",{id:"enumeration-html5qrcodesupportedformats"},"Enumeration: Html5QrcodeSupportedFormats"),(0,a.kt)("p",null,"Code formats supported by this library."),(0,a.kt)("h2",{id:"table-of-contents"},"Table of contents"),(0,a.kt)("h3",{id:"enumeration-members"},"Enumeration Members"),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#aztec"},"AZTEC")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#codabar"},"CODABAR")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#code_128"},"CODE","_","128")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#code_39"},"CODE","_","39")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#code_93"},"CODE","_","93")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#data_matrix"},"DATA","_","MATRIX")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#ean_13"},"EAN","_","13")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#ean_8"},"EAN","_","8")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#itf"},"ITF")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#maxicode"},"MAXICODE")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#pdf_417"},"PDF","_","417")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#qr_code"},"QR","_","CODE")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#rss_14"},"RSS","_","14")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#rss_expanded"},"RSS","_","EXPANDED")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#upc_a"},"UPC","_","A")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#upc_e"},"UPC","_","E")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("a",{parentName:"li",href:"/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormats#upc_ean_extension"},"UPC","_","EAN","_","EXTENSION"))),(0,a.kt)("h2",{id:"enumeration-members-1"},"Enumeration Members"),(0,a.kt)("h3",{id:"aztec"},"AZTEC"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"AZTEC")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"1")),(0,a.kt)("h4",{id:"defined-in"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L16"},"core.ts:16")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"codabar"},"CODABAR"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"CODABAR")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"2")),(0,a.kt)("h4",{id:"defined-in-1"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L17"},"core.ts:17")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"code_128"},"CODE","_","128"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"CODE","_","128")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"5")),(0,a.kt)("h4",{id:"defined-in-2"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L20"},"core.ts:20")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"code_39"},"CODE","_","39"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"CODE","_","39")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"3")),(0,a.kt)("h4",{id:"defined-in-3"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L18"},"core.ts:18")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"code_93"},"CODE","_","93"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"CODE","_","93")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"4")),(0,a.kt)("h4",{id:"defined-in-4"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L19"},"core.ts:19")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"data_matrix"},"DATA","_","MATRIX"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"DATA","_","MATRIX")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"6")),(0,a.kt)("h4",{id:"defined-in-5"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L21"},"core.ts:21")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"ean_13"},"EAN","_","13"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"EAN","_","13")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"9")),(0,a.kt)("h4",{id:"defined-in-6"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L24"},"core.ts:24")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"ean_8"},"EAN","_","8"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"EAN","_","8")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"10")),(0,a.kt)("h4",{id:"defined-in-7"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L25"},"core.ts:25")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"itf"},"ITF"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"ITF")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"8")),(0,a.kt)("h4",{id:"defined-in-8"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L23"},"core.ts:23")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"maxicode"},"MAXICODE"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"MAXICODE")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"7")),(0,a.kt)("h4",{id:"defined-in-9"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L22"},"core.ts:22")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"pdf_417"},"PDF","_","417"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"PDF","_","417")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"11")),(0,a.kt)("h4",{id:"defined-in-10"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L26"},"core.ts:26")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"qr_code"},"QR","_","CODE"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"QR","_","CODE")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"0")),(0,a.kt)("h4",{id:"defined-in-11"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L15"},"core.ts:15")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"rss_14"},"RSS","_","14"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"RSS","_","14")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"12")),(0,a.kt)("h4",{id:"defined-in-12"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L27"},"core.ts:27")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"rss_expanded"},"RSS","_","EXPANDED"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"RSS","_","EXPANDED")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"13")),(0,a.kt)("h4",{id:"defined-in-13"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L28"},"core.ts:28")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"upc_a"},"UPC","_","A"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"UPC","_","A")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"14")),(0,a.kt)("h4",{id:"defined-in-14"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L29"},"core.ts:29")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"upc_e"},"UPC","_","E"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"UPC","_","E")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"15")),(0,a.kt)("h4",{id:"defined-in-15"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L30"},"core.ts:30")),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"upc_ean_extension"},"UPC","_","EAN","_","EXTENSION"),(0,a.kt)("p",null,"\u2022 ",(0,a.kt)("strong",{parentName:"p"},"UPC","_","EAN","_","EXTENSION")," = ",(0,a.kt)("inlineCode",{parentName:"p"},"16")),(0,a.kt)("h4",{id:"defined-in-16"},"Defined in"),(0,a.kt)("p",null,(0,a.kt)("a",{parentName:"p",href:"https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L31"},"core.ts:31")))}m.isMDXComponent=!0}}]); \ No newline at end of file diff --git a/build/assets/js/0e384e19.54dbdace.js b/build/assets/js/0e384e19.54dbdace.js deleted file mode 100644 index 4b44ac0..0000000 --- a/build/assets/js/0e384e19.54dbdace.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkhtml_5_qrcode_docs=self.webpackChunkhtml_5_qrcode_docs||[]).push([[671],{3905:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>m});var a=n(7294);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function i(e){for(var t=1;t=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(a=0;a=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}var s=a.createContext({}),c=function(e){var t=a.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},d=function(e){var t=c(e.components);return a.createElement(s.Provider,{value:t},e.children)},p={inlineCode:"code",wrapper:function(e){var t=e.children;return a.createElement(a.Fragment,{},t)}},u=a.forwardRef((function(e,t){var n=e.components,r=e.mdxType,o=e.originalType,s=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),u=c(n),m=r,h=u["".concat(s,".").concat(m)]||u[m]||p[m]||o;return n?a.createElement(h,i(i({ref:t},d),{},{components:n})):a.createElement(h,i({ref:t},d))}));function m(e,t){var n=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var o=n.length,i=new Array(o);i[0]=u;var l={};for(var s in t)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l.mdxType="string"==typeof e?e:r,i[1]=l;for(var c=2;c{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>i,default:()=>p,frontMatter:()=>o,metadata:()=>l,toc:()=>c});var a=n(7462),r=(n(7294),n(3905));const o={sidebar_position:1},i="Getting started",l={unversionedId:"intro",id:"intro",title:"Getting started",description:"Let's discover html5-qrcode in less than 5 minutes.",source:"@site/docs/intro.md",sourceDirName:".",slug:"/intro",permalink:"/html5-qrcode-docs/docs/intro",draft:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/intro.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",next:{title:"Supported frameworks",permalink:"/html5-qrcode-docs/docs/supported_frameworks"}},s={},c=[{value:"Setup the library",id:"setup-the-library",level:2},{value:"Install using npm",id:"install-using-npm",level:3},{value:"Include minified Javascript directly",id:"include-minified-javascript-directly",level:3},{value:"Using with module loaders",id:"using-with-module-loaders",level:3},{value:"Setup a target HTML container",id:"setup-a-target-html-container",level:2},{value:"Start scanner using Javascript",id:"start-scanner-using-javascript",level:2},{value:"Easy Mode - With end to end scanner user interface",id:"easy-mode---with-end-to-end-scanner-user-interface",level:3},{value:"Pro Mode - if you want to implement your own user interface",id:"pro-mode---if-you-want-to-implement-your-own-user-interface",level:3},{value:"For using inline QR Code scanning with Webcam or Smartphone camera",id:"for-using-inline-qr-code-scanning-with-webcam-or-smartphone-camera",level:4},{value:"Start Scanning",id:"start-scanning",level:5},{value:"Scanning without cameraId",id:"scanning-without-cameraid",level:5},{value:"Stop Scanning",id:"stop-scanning",level:5},{value:"For QR Code scanning using local files or inbuilt camera on Smartphones",id:"for-qr-code-scanning-using-local-files-or-inbuilt-camera-on-smartphones",level:4},{value:"Demo",id:"demo",level:2},{value:"For more information",id:"for-more-information",level:2},{value:"If you are on Medium",id:"if-you-are-on-medium",level:3},{value:"Otherwise",id:"otherwise",level:3},{value:"Screenshots",id:"screenshots",level:2},{value:"Documentation",id:"documentation",level:2}],d={toc:c};function p(e){let{components:t,...n}=e;return(0,r.kt)("wrapper",(0,a.Z)({},d,n,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("h1",{id:"getting-started"},"Getting started"),(0,r.kt)("p",null,"Let's discover ",(0,r.kt)("strong",{parentName:"p"},"html5-qrcode in less than 5 minutes"),"."),(0,r.kt)("h2",{id:"setup-the-library"},"Setup the library"),(0,r.kt)("p",null,"You can get started using ",(0,r.kt)("inlineCode",{parentName:"p"},"npm"),", if you don't use ",(0,r.kt)("inlineCode",{parentName:"p"},"npm")," in your project checkout the next section."),(0,r.kt)("h3",{id:"install-using-npm"},"Install using npm"),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre"},"npm install --save-dev html5-qrcode\n")),(0,r.kt)("h3",{id:"include-minified-javascript-directly"},"Include minified Javascript directly"),(0,r.kt)("p",null,"If you are not using any loader, you can get the latest UMD javascript code in production from ",(0,r.kt)("a",{parentName:"p",href:"https://unpkg.com/html5-qrcode"},"https://unpkg.com/html5-qrcode"),"."),(0,r.kt)("pre",null,(0,r.kt)("code",{parentName:"pre",className:"language-html"},'
-

html5-qrcode

mebjas/html5-qrcode is an open source web based QR code and barcode scanning library built by mebjas@ under Apache License 2.0 license.

Lightweight & cross-platform QR Code and Bar code scanning library for the web

Use this lightweight library to easily / quickly integrate QR code, bar code, and other common code scanning capabilities to your web application.

Supports two kinds of APIs

  • Html5QrcodeScanner — End-to-end scanner with UI, integrate with less than ten lines of code.
  • Html5Qrcode — Powerful set of APIs you can use to build your UI without worrying about camera setup, handling permissions, reading codes, etc.

Table of contents

Interfaces

Classes

Enumerations

- - - - \ No newline at end of file diff --git a/build/docs/apis/classes/Html5Qrcode.html b/build/docs/apis/classes/Html5Qrcode.html deleted file mode 100644 index 7f6b7cc..0000000 --- a/build/docs/apis/classes/Html5Qrcode.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - -Html5Qrcode | ScanApp - - - - -
-

Html5Qrcode

html5-qrcode / Html5Qrcode

Class: Html5Qrcode

Low level APIs for building web based QR and Barcode Scanner.

Supports APIs for camera as well as file based scanning.

Depending of the configuration, the class will help render code -scanning UI on the provided parent HTML container.

Table of contents

Constructors

Methods

Constructors

constructor

new Html5Qrcode(elementId, configOrVerbosityFlag?)

Initialize the code scanner.

Parameters

NameTypeDescription
elementIdstringId of the HTML element.
configOrVerbosityFlag?boolean | Html5QrcodeFullConfigoptional, config object of type Html5QrcodeFullConfig or a boolean verbosity flag (to maintain backward compatibility). If nothing is passed, default values would be used. If a boolean value is used, it'll be used to set verbosity. Pass a config value to configure the Html5Qrcode scanner as per needs. Use of configOrVerbosityFlag as a boolean value is being deprecated since version 2.0.7. TODO(mebjas): Deprecate the verbosity boolean flag completely.

Defined in

html5-qrcode.ts:313

Methods

applyVideoConstraints

applyVideoConstraints(videoConstaints): Promise<void>

Apply a video constraints on running video track from camera.

Important:

  1. Must be called only if the camera based scanning is in progress.
  2. Changing aspectRatio while scanner is running is not yet supported.

Throws

error if the scanning is not in running state.

Parameters

NameType
videoConstaintsMediaTrackConstraints

Returns

Promise<void>

a Promise which succeeds if the passed constraints are applied, -fails otherwise.

Defined in

html5-qrcode.ts:829


clear

clear(): void

Clears the existing canvas.

Note: in case of ongoing web cam based scan, it needs to be explicitly -closed before calling this method, else it will throw exception.

Returns

void

Defined in

html5-qrcode.ts:758


getRunningTrackCameraCapabilities

getRunningTrackCameraCapabilities(): CameraCapabilities

Returns CameraCapabilities of the running video track.

TODO(minhazav): Document this API, currently hidden.

Throws

error if the scanning is not in running state.

Returns

CameraCapabilities

capabilities of the running camera.

Defined in

html5-qrcode.ts:811


getRunningTrackCapabilities

getRunningTrackCapabilities(): MediaTrackCapabilities

Returns the capabilities of the running video track.

Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getConstraints

Important:

  1. Must be called only if the camera based scanning is in progress.

Throws

error if the scanning is not in running state.

Returns

MediaTrackCapabilities

capabilities of the running camera.

Defined in

html5-qrcode.ts:782


getRunningTrackSettings

getRunningTrackSettings(): MediaTrackSettings

Returns the object containing the current values of each constrainable -property of the running video track.

Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getSettings

Important:

  1. Must be called only if the camera based scanning is in progress.

Throws

error if the scanning is not in running state.

Returns

MediaTrackSettings

settings of the running media track.

Defined in

html5-qrcode.ts:799


getState

getState(): Html5QrcodeScannerState

Gets state of the camera scan.

Returns

Html5QrcodeScannerState

state of type ScannerState.

Defined in

html5-qrcode.ts:539


pause

pause(shouldPauseVideo?): void

Pauses the ongoing scan.

Throws

error if method is called when scanner is not in scanning state.

Parameters

NameTypeDescription
shouldPauseVideo?boolean(Optional, default = false) If true the video will be paused.

Returns

void

Defined in

html5-qrcode.ts:480


resume

resume(): void

Resumes the paused scan.

If the video was previously paused by setting shouldPauseVideo`` -to true` in (shouldPauseVideo), calling -this method will resume the video.

Note: with this caller will start getting results in success and error -callbacks.

Throws

error if method is called when scanner is not in paused state.

Returns

void

Defined in

html5-qrcode.ts:508


scanFile

scanFile(imageFile, showImage?): Promise<string>

Scans an Image File for QR Code.

This feature is mutually exclusive to camera-based scanning, you should -call stop() if the camera-based scanning was ongoing.

Parameters

NameTypeDescription
imageFileFilea local file with Image content.
showImage?booleanif true the Image will be rendered on given element.

Returns

Promise<string>

Promise with decoded QR code string on success and error message -on failure. Failure could happen due to different reasons:

  1. QR Code decode failed because enough patterns not found in image.
  2. Input file was not image or unable to load the image or other image -load errors.

Defined in

html5-qrcode.ts:615


scanFileV2

scanFileV2(imageFile, showImage?): Promise<Html5QrcodeResult>

Scans an Image File for QR Code & returns Html5QrcodeResult.

This feature is mutually exclusive to camera-based scanning, you should -call stop() if the camera-based scanning was ongoing.

Parameters

NameTypeDescription
imageFileFilea local file with Image content.
showImage?booleanif true the Image will be rendered on given element.

Returns

Promise<Html5QrcodeResult>

Promise which resolves with result of type -Html5QrcodeResult.

This is a WIP method, it's available as a public method but not -documented. -TODO(mebjas): Replace scanFile with ScanFileV2

Defined in

html5-qrcode.ts:638


start

start(cameraIdOrConfig, configuration, qrCodeSuccessCallback, qrCodeErrorCallback): Promise<null>

Start scanning QR codes or bar codes for a given camera.

Parameters

NameTypeDescription
cameraIdOrConfigstring | MediaTrackConstraintsIdentifier of the camera, it can either be the camera id retrieved from Html5Qrcode#getCameras() method or object with facing mode constraint.
configurationundefined | Html5QrcodeCameraScanConfigExtra configurations to tune the code scanner.
qrCodeSuccessCallbackundefined | QrcodeSuccessCallbackCallback called when an instance of a QR code or any other supported bar code is found.
qrCodeErrorCallbackundefined | QrcodeErrorCallbackCallback called in cases where no instance of QR code or any other supported bar code is found.

Returns

Promise<null>

Promise for starting the scan. The Promise can fail if the user -doesn't grant permission or some API is not supported by the browser.

Defined in

html5-qrcode.ts:360


stop

stop(): Promise<void>

Stops streaming QR Code video and scanning.

Returns

Promise<void>

Promise for safely closing the video stream.

Defined in

html5-qrcode.ts:548


getCameras

Static getCameras(): Promise<CameraDevice[]>

Returns list of CameraDevice supported by the device.

Returns

Promise<CameraDevice[]>

array of camera devices on success.

Defined in

html5-qrcode.ts:767

- - - - \ No newline at end of file diff --git a/build/docs/apis/classes/Html5QrcodeScanner.html b/build/docs/apis/classes/Html5QrcodeScanner.html deleted file mode 100644 index d8ae028..0000000 --- a/build/docs/apis/classes/Html5QrcodeScanner.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - -Html5QrcodeScanner | ScanApp - - - - -
-

Html5QrcodeScanner

html5-qrcode / Html5QrcodeScanner

Class: Html5QrcodeScanner

End to end web based QR and Barcode Scanner.

Use this class for setting up QR scanner in your web application with -few lines of codes.

  • Supports camera as well as file based scanning.
  • Depending on device supports camera selection, zoom and torch features.
  • Supports different kind of 2D and 1D codes Html5QrcodeSupportedFormats.

Table of contents

Constructors

Methods

Constructors

constructor

new Html5QrcodeScanner(elementId, config, verbose)

Creates instance of this class.

Parameters

NameTypeDescription
elementIdstringId of the HTML element.
configundefined | Html5QrcodeScannerConfigExtra configurations to tune the code scanner.
verboseundefined | booleanIf true, all logs would be printed to console.

Defined in

html5-qrcode-scanner.ts:208

Methods

applyVideoConstraints

applyVideoConstraints(videoConstaints): Promise<void>

Apply a video constraints on running video track from camera.

Note: Should only be called if () -returns SCANNING or -PAUSED.

Throws

error if the scanning is not in running state.

Parameters

NameType
videoConstaintsMediaTrackConstraints

Returns

Promise<void>

a Promise which succeeds if the passed constraints are applied, -fails otherwise.

Defined in

html5-qrcode-scanner.ts:428


clear

clear(): Promise<void>

Removes the QR Code scanner UI.

Returns

Promise<void>

Promise which succeeds if the cleanup is complete successfully, -fails otherwise.

Defined in

html5-qrcode-scanner.ts:335


getRunningTrackCapabilities

getRunningTrackCapabilities(): MediaTrackCapabilities

Returns the capabilities of the running video track.

Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getConstraints

Note: Should only be called if () -returns SCANNING or -PAUSED.

Throws

error if the scanning is not in running state.

Returns

MediaTrackCapabilities

the capabilities of a running video track.

Defined in

html5-qrcode-scanner.ts:393


getRunningTrackSettings

getRunningTrackSettings(): MediaTrackSettings

Returns the object containing the current values of each constrainable -property of the running video track.

Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getSettings

Note: Should only be called if () -returns SCANNING or -PAUSED.

Throws

error if the scanning is not in running state.

Returns

MediaTrackSettings

the supported settings of the running video track.

Defined in

html5-qrcode-scanner.ts:410


getState

getState(): Html5QrcodeScannerState

Gets state of the camera scan.

Returns

Html5QrcodeScannerState

state of type Html5QrcodeScannerState.

Defined in

html5-qrcode-scanner.ts:325


pause

pause(shouldPauseVideo?): void

Pauses the ongoing scan.

Notes:

  • Should only be called if camera scan is ongoing.

Throws

error if method is called when scanner is not in scanning state.

Parameters

NameTypeDescription
shouldPauseVideo?boolean(Optional, default = false) If true the video will be paused.

Returns

void

Defined in

html5-qrcode-scanner.ts:294


render

render(qrCodeSuccessCallback, qrCodeErrorCallback): void

Renders the User Interface.

Parameters

NameTypeDescription
qrCodeSuccessCallbackQrcodeSuccessCallbackCallback called when an instance of a QR code or any other supported bar code is found.
qrCodeErrorCallbackundefined | QrcodeErrorCallbackoptional, callback called in cases where no instance of QR code or any other supported bar code is found.

Returns

void

Defined in

html5-qrcode-scanner.ts:241


resume

resume(): void

Resumes the paused scan.

If the video was previously paused by setting shouldPauseVideo -to true in (shouldPauseVideo), -calling this method will resume the video.

Notes:

  • Should only be called if camera scan is ongoing.
  • With this caller will start getting results in success and error -callbacks.

Throws

error if method is called when scanner is not in paused state.

Returns

void

Defined in

html5-qrcode-scanner.ts:316

- - - - \ No newline at end of file diff --git a/build/docs/apis/enums/Html5QrcodeScanType.html b/build/docs/apis/enums/Html5QrcodeScanType.html deleted file mode 100644 index e564818..0000000 --- a/build/docs/apis/enums/Html5QrcodeScanType.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -Html5QrcodeScanType | ScanApp - - - - - - - - - \ No newline at end of file diff --git a/build/docs/apis/enums/Html5QrcodeScannerState.html b/build/docs/apis/enums/Html5QrcodeScannerState.html deleted file mode 100644 index c7241cb..0000000 --- a/build/docs/apis/enums/Html5QrcodeScannerState.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -Html5QrcodeScannerState | ScanApp - - - - - - - - - \ No newline at end of file diff --git a/build/docs/apis/enums/Html5QrcodeSupportedFormats.html b/build/docs/apis/enums/Html5QrcodeSupportedFormats.html deleted file mode 100644 index 5e2685b..0000000 --- a/build/docs/apis/enums/Html5QrcodeSupportedFormats.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -Html5QrcodeSupportedFormats | ScanApp - - - - -
-

Html5QrcodeSupportedFormats

html5-qrcode / Html5QrcodeSupportedFormats

Enumeration: Html5QrcodeSupportedFormats

Code formats supported by this library.

Table of contents

Enumeration Members

Enumeration Members

AZTEC

AZTEC = 1

Defined in

core.ts:16


CODABAR

CODABAR = 2

Defined in

core.ts:17


CODE_128

CODE_128 = 5

Defined in

core.ts:20


CODE_39

CODE_39 = 3

Defined in

core.ts:18


CODE_93

CODE_93 = 4

Defined in

core.ts:19


DATA_MATRIX

DATA_MATRIX = 6

Defined in

core.ts:21


EAN_13

EAN_13 = 9

Defined in

core.ts:24


EAN_8

EAN_8 = 10

Defined in

core.ts:25


ITF

ITF = 8

Defined in

core.ts:23


MAXICODE

MAXICODE = 7

Defined in

core.ts:22


PDF_417

PDF_417 = 11

Defined in

core.ts:26


QR_CODE

QR_CODE = 0

Defined in

core.ts:15


RSS_14

RSS_14 = 12

Defined in

core.ts:27


RSS_EXPANDED

RSS_EXPANDED = 13

Defined in

core.ts:28


UPC_A

UPC_A = 14

Defined in

core.ts:29


UPC_E

UPC_E = 15

Defined in

core.ts:30


UPC_EAN_EXTENSION

UPC_EAN_EXTENSION = 16

Defined in

core.ts:31

- - - - \ No newline at end of file diff --git a/build/docs/apis/interfaces/CameraCapabilities.html b/build/docs/apis/interfaces/CameraCapabilities.html deleted file mode 100644 index 95166e0..0000000 --- a/build/docs/apis/interfaces/CameraCapabilities.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -CameraCapabilities | ScanApp - - - - -
-

CameraCapabilities

html5-qrcode / CameraCapabilities

Interface: CameraCapabilities

Class exposing different capabilities of camera.

Table of contents

Methods

Methods

torchFeature

torchFeature(): BooleanCameraCapability

Torch capability of the camera.

Returns

BooleanCameraCapability

Defined in

camera/core.ts:49


zoomFeature

zoomFeature(): RangeCameraCapability

Zoom capability of the camera.

Returns

RangeCameraCapability

Defined in

camera/core.ts:46

- - - - \ No newline at end of file diff --git a/build/docs/apis/interfaces/CameraDevice.html b/build/docs/apis/interfaces/CameraDevice.html deleted file mode 100644 index 9cf66c2..0000000 --- a/build/docs/apis/interfaces/CameraDevice.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -CameraDevice | ScanApp - - - - - - - - - \ No newline at end of file diff --git a/build/docs/apis/interfaces/Html5QrcodeCameraScanConfig.html b/build/docs/apis/interfaces/Html5QrcodeCameraScanConfig.html deleted file mode 100644 index 53c58df..0000000 --- a/build/docs/apis/interfaces/Html5QrcodeCameraScanConfig.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - -Html5QrcodeCameraScanConfig | ScanApp - - - - -
-

Html5QrcodeCameraScanConfig

html5-qrcode / Html5QrcodeCameraScanConfig

Interface: Html5QrcodeCameraScanConfig

Configuration type for scanning QR code with camera.

Table of contents

Properties

Properties

aspectRatio

Optional aspectRatio: number

Optional, Desired aspect ratio for the video feed. Ideal aspect ratios -are 4:3 or 16:9. Passing very wrong aspect ratio could lead to video feed -not showing up.

Defined in

html5-qrcode.ts:164


disableFlip

Optional disableFlip: boolean

Optional, if true flipped QR Code won't be scanned. Only use this -if you are sure the camera cannot give mirrored feed if you are facing -performance constraints.

Defined in

html5-qrcode.ts:171


fps

fps: undefined | number

Optional, Expected framerate of qr code scanning. example { fps: 2 } means the -scanning would be done every 500 ms.

Defined in

html5-qrcode.ts:131


qrbox

Optional qrbox: number | QrDimensions | QrDimensionFunction

Optional, edge size, dimension or calculator function for QR scanning -box, the value or computed value should be smaller than the width and -height of the full region.

This would make the scanner look like this:

     ----------------------
|********************|
|******,,,,,,,,,*****| <--- shaded region
|******| |*****| <--- non shaded region would be
|******| |*****| used for QR code scanning.
|******|_______|*****|
|********************|
|********************|
----------------------

Instance of QrDimensions can be passed to construct a non -square rendering of scanner box. You can also pass in a function of type -QrDimensionFunction that takes in the width and height of the -video stream and return QR box size of type QrDimensions.

If this value is not set, no shaded QR box will be rendered and the -scanner will scan the entire area of video stream.

Defined in

html5-qrcode.ts:157


videoConstraints

Optional videoConstraints: MediaTrackConstraints

Optional, @beta(this config is not well supported yet).

Important: When passed this will override other parameters like -'cameraIdOrConfig' or configurations like 'aspectRatio'. -'videoConstraints' should be of type MediaTrackConstraints as -defined in -https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints -and is used to specify a variety of video or camera controls like: -aspectRatio, facingMode, frameRate, etc.

Defined in

html5-qrcode.ts:184

- - - - \ No newline at end of file diff --git a/build/docs/apis/interfaces/Html5QrcodeFullConfig.html b/build/docs/apis/interfaces/Html5QrcodeFullConfig.html deleted file mode 100644 index 441ed7a..0000000 --- a/build/docs/apis/interfaces/Html5QrcodeFullConfig.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - -Html5QrcodeFullConfig | ScanApp - - - - -
-

Html5QrcodeFullConfig

html5-qrcode / Html5QrcodeFullConfig

Interface: Html5QrcodeFullConfig

Interface for full configuration of Html5Qrcode.

Notes: Ideally we don't need to have two interfaces for this purpose, but -since the public APIs before version 2.0.8 allowed passing a boolean verbose -flag to constructor we need to allow users to pass Html5QrcodeFullConfig or -boolean flag to be backward compatible. -In future versions these two interfaces can be merged.

Hierarchy

  • Html5QrcodeConfigs

    Html5QrcodeFullConfig

Table of contents

Properties

Properties

experimentalFeatures

Optional experimentalFeatures: ExperimentalFeaturesConfig

Config for experimental features.

Everything is false by default.

Inherited from

Html5QrcodeConfigs.experimentalFeatures

Defined in

html5-qrcode.ts:104


formatsToSupport

Optional formatsToSupport: Html5QrcodeSupportedFormats[]

Array of formats to support of type Html5QrcodeSupportedFormats.

All invalid values would be ignored. If null or underfined all supported -formats will be used for scanning. Unless you want to limit the scan to -only certain formats or want to improve performance, you should not set -this value.

Inherited from

Html5QrcodeConfigs.formatsToSupport

Defined in

html5-qrcode.ts:83


useBarCodeDetectorIfSupported

Optional useBarCodeDetectorIfSupported: boolean

BarcodeDetector is being implemented by browsers at the moment. -It has very limited browser support but as it gets available it could -enable faster native code scanning experience.

Set this flag to true, to enable using BarcodeDetector if -supported. This is true by default.

Documentations:

Inherited from

Html5QrcodeConfigs.useBarCodeDetectorIfSupported

Defined in

html5-qrcode.ts:97


verbose

verbose: undefined | boolean

If true, all logs would be printed to console. False by default.

Defined in

html5-qrcode.ts:120

- - - - \ No newline at end of file diff --git a/build/docs/apis/interfaces/Html5QrcodeResult.html b/build/docs/apis/interfaces/Html5QrcodeResult.html deleted file mode 100644 index c9dce40..0000000 --- a/build/docs/apis/interfaces/Html5QrcodeResult.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -Html5QrcodeResult | ScanApp - - - - - - - - - \ No newline at end of file diff --git a/build/docs/category/apis.html b/build/docs/category/apis.html deleted file mode 100644 index 9471bae..0000000 --- a/build/docs/category/apis.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -APIs | ScanApp - - - - - - - - - \ No newline at end of file diff --git a/build/docs/category/classes.html b/build/docs/category/classes.html deleted file mode 100644 index 6884ade..0000000 --- a/build/docs/category/classes.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -Classes | ScanApp - - - - - - - - - \ No newline at end of file diff --git a/build/docs/category/enums.html b/build/docs/category/enums.html deleted file mode 100644 index fb1625a..0000000 --- a/build/docs/category/enums.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -Enums | ScanApp - - - - - - - - - \ No newline at end of file diff --git a/build/docs/category/interfaces.html b/build/docs/category/interfaces.html deleted file mode 100644 index c77dc1f..0000000 --- a/build/docs/category/interfaces.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -Interfaces | ScanApp - - - - - - - - - \ No newline at end of file diff --git a/build/docs/intro.html b/build/docs/intro.html deleted file mode 100644 index eed17c8..0000000 --- a/build/docs/intro.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - -Getting started | ScanApp - - - - -
-

Getting started

Let's discover html5-qrcode in less than 5 minutes.

Setup the library

You can get started using npm, if you don't use npm in your project checkout the next section.

Install using npm

npm install --save-dev html5-qrcode

Include minified Javascript directly

If you are not using any loader, you can get the latest UMD javascript code in production from https://unpkg.com/html5-qrcode.

<script src="https://unpkg.com/html5-qrcode" type="text/javascript">

In case you installed the plugin using npm but still use javascript without any module loader, you can get the minified script in node_modules/html5-qrcode/html5-qrcode.min.js

Using with module loaders

If you are building on Typescript or use module loaders in Javascript, you can include the key classes directly based on needs.

// To use Html5QrcodeScanner (more info below)
import {Html5QrcodeScanner} from "html5-qrcode";

// To use Html5Qrcode (more info below)
import {Html5Qrcode} from "html5-qrcode";

Setup a target HTML container

In your web application, implement an HTML container element like <div> element. The library will render the QR scanning UI in this HTML container.

<div id="reader" width="600px"></div>

Ideally do not set the height of this container as the height should depend on the height of the video feed from the camera. The library would honor the existing width, otherwise apply the default width. The height is derived from the aspect ratio of the video feed.

Start scanner using Javascript

Easy Mode - With end to end scanner user interface

Html5QrcodeScanner lets you implement an end to end scanner with few lines of code with the default user interface which allows scanning using the camera or selecting an image from the file system.

You can set up the scanner as follows:

function onScanSuccess(decodedText, decodedResult) {
// handle the scanned code as you like, for example:
console.log(`Code matched = ${decodedText}`, decodedResult);
}

function onScanFailure(error) {
// handle scan failure, usually better to ignore and keep scanning.
// for example:
console.warn(`Code scan error = ${error}`);
}

let html5QrcodeScanner = new Html5QrcodeScanner(
"reader",
{ fps: 10, qrbox: {width: 250, height: 250} },
/* verbose= */ false);
html5QrcodeScanner.render(onScanSuccess, onScanFailure);

Pro Mode - if you want to implement your own user interface

You can use Html5Qrcode class to set up your QR code scanner (with your own user interface) and allow users to scan QR codes using the camera or by choosing an image file in the file system or native cameras in smartphones.

You can use the following APIs to fetch camera, start scanning and stop scanning.

For using inline QR Code scanning with Webcam or Smartphone camera

Start Scanning

To get a list of supported cameras, query it using static method Html5Qrcode.getCameras(). This method returns a Promise with a list of devices supported in format { id: "id", label: "label" }.

// This method will trigger user permissions
Html5Qrcode.getCameras().then(devices => {
/**
* devices would be an array of objects of type:
* { id: "id", label: "label" }
*/
if (devices && devices.length) {
var cameraId = devices[0].id;
// .. use this to start scanning.
}
}).catch(err => {
// handle err
});

Important: Note that this method will trigger user permission if the user has not granted it already.

Warning: Direct access to the camera is a powerful feature. It requires consent from the user, and your site MUST be on a secure origin (HTTPS).

Warning: Asking for access to the camera on page load will result in most of your users rejecting access to it. More info

Once you have the camera ID from device.id, start camera using Html5Qrcode#start(..). This method returns a Promise with Qr code scanning initiation.

const html5QrCode = new Html5Qrcode(/* element id */ "reader");
html5QrCode.start(
cameraId,
{
fps: 10, // Optional, frame per seconds for qr code scanning
qrbox: { width: 250, height: 250 } // Optional, if you want bounded box UI
},
(decodedText, decodedResult) => {
// do something when code is read
},
(errorMessage) => {
// parse error, ignore it.
})
.catch((err) => {
// Start failed, handle it.
});

You can optionally set another argument in constructor called verbose to print all logs to console

const html5QrCode = new Html5Qrcode("reader", /* verbose= */ true);
Scanning without cameraId

In mobile devices you may want users to directly scan the QR code using the back camera or the front camera for some use cases. For such cases you can avoid using the exact camera device ID that you get from Html5Qrcode.getCameras(). The start() method allows passing constraints in place of camera device ID similar to html5 web API syntax. You can start scanning like mentioned in these examples:

const html5QrCode = new Html5Qrcode("reader");
const qrCodeSuccessCallback = (decodedText, decodedResult) => {
/* handle success */
};
const config = { fps: 10, qrbox: { width: 250, height: 250 } };

// If you want to prefer front camera
html5QrCode.start({ facingMode: "user" }, config, qrCodeSuccessCallback);

// If you want to prefer back camera
html5QrCode.start({ facingMode: "environment" }, config, qrCodeSuccessCallback);

// Select front camera or fail with `OverconstrainedError`.
html5QrCode.start({ facingMode: { exact: "user"} }, config, qrCodeSuccessCallback);

// Select back camera or fail with `OverconstrainedError`.
html5QrCode.start({ facingMode: { exact: "environment"} }, config, qrCodeSuccessCallback);

Passing the cameraId (recommended approach) is similar to

html5QrCode.start({ deviceId: { exact: cameraId} }, config, qrCodeSuccessCallback);
Stop Scanning

To stop using camera and thus stop scanning, call Html5Qrcode#stop() which returns a Promise for stopping the video feed and scanning.

html5QrCode.stop().then((ignore) => {
// QR Code scanning is stopped.
}).catch((err) => {
// Stop failed, handle it.
});

Note that the class is stateful and stop() should be called to properly tear down the video and camera objects safely after calling start() when the scan is over or the user intend to move on. stop() will stop the video feed on the viewfinder.

For QR Code scanning using local files or inbuilt camera on Smartphones

Selector in AndroidSelector in IOS
Taken on Pixel 3, Google Chrome
Taken on iPhone 7, Google Chrome

You can alternatively leverage QR Code scanning for local files on the device or default camera on the device. It works similar to inline QR Code scanning.

Define the HTML container and import the JavaScript library as mentioned above

<div id="reader" width="600px" height="600px"></div>
<script src="./dist/html5-qrcode.js"></script>

It's not mandatory to set the height and width of the HTML element. If provided, the library would try to honor it. If it's not set, the library would set a default width and derive the height based on the input image's aspect ratio.

Add an Input element for supporting file selection like this:

<input type="file" id="qr-input-file" accept="image/*">
<!--
Or add captured if you only want to enable smartphone camera, PC browsers will ignore it.
-->

<input type="file" id="qr-input-file" accept="image/*" capture>

Find more information about this at developers.google.com.

And in JavaScript code initialize the object and attach listener like this:

const html5QrCode = new Html5Qrcode(/* element id */ "reader");
// File based scanning
const fileinput = document.getElementById('qr-input-file');
fileinput.addEventListener('change', e => {
if (e.target.files.length == 0) {
// No file selected, ignore
return;
}

const imageFile = e.target.files[0];
// Scan QR Code
html5QrCode.scanFile(imageFile, true)
.then(decodedText => {
// success, use decodedText
console.log(decodedText);
})
.catch(err => {
// failure, handle it.
console.log(`Error scanning file. Reason: ${err}`)
});
});

// Note: Current public API `scanFile` only returns the decoded text. There is
// another work in progress API (in beta) which returns a full decoded result of
// type `QrcodeResult` (check interface in src/core.ts) which contains the
// decoded text, code format, code bounds, etc.
// Eventually, this beta API will be migrated to the public API.

Note that inline scanning and file-based scanning are mutually exclusive at the moment. This means you can only use one of them at a time. I'll soon be adding support for the option to have both if the requirement comes in. If you want to use both, use html5QrCode#clear() method to clear the canvas.

Demo


Scan this image or visit blog.minhazav.dev/research/html5-qrcode.html

For more information

If you are on Medium

Thorough documentation on Html5-qrcode library on Medium.

Otherwise

Check these articles on how to use this library:

Screenshots

screenshot
-Figure: Screenshot from Google Chrome running on MacBook Pro

Documentation

Checkout API documentation for more information on individual components.

- - - - \ No newline at end of file diff --git a/build/docs/supported_code_formats.html b/build/docs/supported_code_formats.html deleted file mode 100644 index 19f8802..0000000 --- a/build/docs/supported_code_formats.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -Supported code formats | ScanApp - - - - -
-

Supported code formats

The library supports a variety of 2D and 1D code formats.

CodeExample
QR Code
AZTEC
CODE_39
CODE_93
CODE_128
ITF
EAN_13
EAN_8
PDF_417
UPC_A
UPC_E
DATA_MATRIX
MAXICODE*
RSS_14*
RSS_EXPANDED*

Code scanning is dependent on Javascript BarcodeDetector APIs and Zxing-js library.

It's important to note that

  • BarcodeDetector may not be supported on all platforms. The supports is not so good on Windows platform.
  • Zxing-js also have some implementation issues as raised in several issues. The authors of the html5-qrcode are working hard to address those issues and improve scanning capability.
- - - - \ No newline at end of file diff --git a/build/docs/supported_frameworks.html b/build/docs/supported_frameworks.html deleted file mode 100644 index 03a74f9..0000000 --- a/build/docs/supported_frameworks.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -Supported frameworks | ScanApp - - - - -
-

Supported frameworks

We are working continuously on adding support for more and more platforms. If you find a platform or a browser where the library is not working, please feel free to file an issue. Check the demo link to test it out.

Legends

  • Means full support — inline webcam and file based.
  • Means partial support — only file based, webcam in progress.

PC / Mac

Firefox
Firefox
Chrome
Chrome
Safari
Safari
Opera
Opera
Edge
Edge

Android

Chrome
Chrome
Firefox
Firefox
Edge
Edge
Opera
Opera
Opera-Mini
Opera Mini
UC
UC

IOS

Safari
Safari
Chrome
Chrome
Firefox
Firefox
Edge
Edge
**

* Supported for IOS versions >= 15.1

Before version 15.1, Webkit for IOS is used by Chrome, Firefox, and other browsers in IOS and they do not have webcam permissions yet. There is an ongoing issue on fixing the support for iOS - issue/14

Framework support

The library can be easily used with several other frameworks, I have been adding examples for a few of them and would continue to add more.

Html5VueJsElectronJsReactLit
- - - - \ No newline at end of file diff --git a/build/img/19362653-ai.svg b/build/img/19362653-ai.svg deleted file mode 100644 index 7375180..0000000 --- a/build/img/19362653-ai.svg +++ /dev/null @@ -1,810 +0,0 @@ - - 19362653-ai - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/img/Wavy_Tech-30_Single-02-ai.svg b/build/img/Wavy_Tech-30_Single-02-ai.svg deleted file mode 100644 index fc78c0f..0000000 --- a/build/img/Wavy_Tech-30_Single-02-ai.svg +++ /dev/null @@ -1,692 +0,0 @@ - - Wavy_Tech-30_Single-02-ai - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/build/img/Wavy_Tech-30_Single-02.svg b/build/img/Wavy_Tech-30_Single-02.svg deleted file mode 100644 index 43da1f6..0000000 --- a/build/img/Wavy_Tech-30_Single-02.svg +++ /dev/null @@ -1,3911 +0,0 @@ - - - - diff --git a/build/img/docusaurus.png b/build/img/docusaurus.png deleted file mode 100644 index f458149e3c8f53335f28fbc162ae67f55575c881..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5142 zcma)=cTf{R(}xj7f`AaDml%oxrAm_`5IRVc-jPtHML-0kDIiip57LWD@4bW~(nB|) z34|^sbOZqj<;8ct`Tl-)=Jw`pZtiw=e$UR_Mn2b8rM$y@hlq%XQe90+?|Mf68-Ux_ zzTBiDn~3P%oVt>{f$z+YC7A)8ak`PktoIXDkpXod+*gQW4fxTWh!EyR9`L|fi4YlH z{IyM;2-~t3s~J-KF~r-Z)FWquQCfG*TQy6w*9#k2zUWV-+tCNvjrtl9(o}V>-)N!) ziZgEgV>EG+b(j@ex!dx5@@nGZim*UfFe<+e;(xL|j-Pxg(PCsTL~f^br)4{n5?OU@ z*pjt{4tG{qBcDSa3;yKlopENd6Yth=+h9)*lkjQ0NwgOOP+5Xf?SEh$x6@l@ZoHoYGc5~d2>pO43s3R|*yZw9yX^kEyUV2Zw1%J4o`X!BX>CwJ zI8rh1-NLH^x1LnaPGki_t#4PEz$ad+hO^$MZ2 ziwt&AR}7_yq-9Pfn}k3`k~dKCbOsHjvWjnLsP1{)rzE8ERxayy?~{Qz zHneZ2gWT3P|H)fmp>vA78a{0&2kk3H1j|n59y{z@$?jmk9yptqCO%* zD2!3GHNEgPX=&Ibw?oU1>RSxw3;hhbOV77-BiL%qQb1(4J|k=Y{dani#g>=Mr?Uyd z)1v~ZXO_LT-*RcG%;i|Wy)MvnBrshlQoPxoO*82pKnFSGNKWrb?$S$4x+24tUdpb= zr$c3K25wQNUku5VG@A=`$K7%?N*K+NUJ(%%)m0Vhwis*iokN#atyu(BbK?+J+=H z!kaHkFGk+qz`uVgAc600d#i}WSs|mtlkuwPvFp) z1{Z%nt|NwDEKj1(dhQ}GRvIj4W?ipD76jZI!PGjd&~AXwLK*98QMwN&+dQN1ML(6< z@+{1`=aIc z9Buqm97vy3RML|NsM@A>Nw2=sY_3Ckk|s;tdn>rf-@Ke1m!%F(9(3>V%L?w#O&>yn z(*VIm;%bgezYB;xRq4?rY})aTRm>+RL&*%2-B%m; zLtxLTBS=G!bC$q;FQ|K3{nrj1fUp`43Qs&V!b%rTVfxlDGsIt3}n4p;1%Llj5ePpI^R} zl$Jhx@E}aetLO!;q+JH@hmelqg-f}8U=XnQ+~$9RHGUDOoR*fR{io*)KtYig%OR|08ygwX%UqtW81b@z0*`csGluzh_lBP=ls#1bwW4^BTl)hd|IIfa zhg|*M%$yt@AP{JD8y!7kCtTmu{`YWw7T1}Xlr;YJTU1mOdaAMD172T8Mw#UaJa1>V zQ6CD0wy9NEwUsor-+y)yc|Vv|H^WENyoa^fWWX zwJz@xTHtfdhF5>*T70(VFGX#8DU<^Z4Gez7vn&4E<1=rdNb_pj@0?Qz?}k;I6qz@| zYdWfcA4tmI@bL5JcXuoOWp?ROVe*&o-T!><4Ie9@ypDc!^X&41u(dFc$K$;Tv$c*o zT1#8mGWI8xj|Hq+)#h5JToW#jXJ73cpG-UE^tsRf4gKw>&%Z9A>q8eFGC zG@Iv(?40^HFuC_-%@u`HLx@*ReU5KC9NZ)bkS|ZWVy|_{BOnlK)(Gc+eYiFpMX>!# zG08xle)tntYZ9b!J8|4H&jaV3oO(-iFqB=d}hGKk0 z%j)johTZhTBE|B-xdinS&8MD=XE2ktMUX8z#eaqyU?jL~PXEKv!^) zeJ~h#R{@O93#A4KC`8@k8N$T3H8EV^E2 z+FWxb6opZnX-av5ojt@`l3TvSZtYLQqjps{v;ig5fDo^}{VP=L0|uiRB@4ww$Eh!CC;75L%7|4}xN+E)3K&^qwJizphcnn=#f<&Np$`Ny%S)1*YJ`#@b_n4q zi%3iZw8(I)Dzp0yY}&?<-`CzYM5Rp+@AZg?cn00DGhf=4|dBF8BO~2`M_My>pGtJwNt4OuQm+dkEVP4 z_f*)ZaG6@t4-!}fViGNd%E|2%ylnzr#x@C!CrZSitkHQ}?_;BKAIk|uW4Zv?_npjk z*f)ztC$Cj6O<_{K=dPwO)Z{I=o9z*lp?~wmeTTP^DMP*=<-CS z2FjPA5KC!wh2A)UzD-^v95}^^tT<4DG17#wa^C^Q`@f@=jLL_c3y8@>vXDJd6~KP( zurtqU1^(rnc=f5s($#IxlkpnU=ATr0jW`)TBlF5$sEwHLR_5VPTGiO?rSW9*ND`bYN*OX&?=>!@61{Z4)@E;VI9 zvz%NmR*tl>p-`xSPx$}4YcdRc{_9k)>4Jh&*TSISYu+Y!so!0JaFENVY3l1n*Fe3_ zRyPJ(CaQ-cNP^!3u-X6j&W5|vC1KU!-*8qCcT_rQN^&yqJ{C(T*`(!A=))=n%*-zp_ewRvYQoJBS7b~ zQlpFPqZXKCXUY3RT{%UFB`I-nJcW0M>1^*+v)AxD13~5#kfSkpWys^#*hu)tcd|VW zEbVTi`dbaM&U485c)8QG#2I#E#h)4Dz8zy8CLaq^W#kXdo0LH=ALhK{m_8N@Bj=Um zTmQOO*ID(;Xm}0kk`5nCInvbW9rs0pEw>zlO`ZzIGkB7e1Afs9<0Z(uS2g*BUMhp> z?XdMh^k}k<72>}p`Gxal3y7-QX&L{&Gf6-TKsE35Pv%1 z;bJcxPO+A9rPGsUs=rX(9^vydg2q`rU~otOJ37zb{Z{|)bAS!v3PQ5?l$+LkpGNJq zzXDLcS$vMy|9sIidXq$NE6A-^v@)Gs_x_3wYxF%y*_e{B6FvN-enGst&nq0z8Hl0< z*p6ZXC*su`M{y|Fv(Vih_F|83=)A6ay-v_&ph1Fqqcro{oeu99Y0*FVvRFmbFa@gs zJ*g%Gik{Sb+_zNNf?Qy7PTf@S*dTGt#O%a9WN1KVNj`q$1Qoiwd|y&_v?}bR#>fdP zSlMy2#KzRq4%?ywXh1w;U&=gKH%L~*m-l%D4Cl?*riF2~r*}ic9_{JYMAwcczTE`!Z z^KfriRf|_YcQ4b8NKi?9N7<4;PvvQQ}*4YxemKK3U-7i}ap8{T7=7`e>PN7BG-Ej;Uti2$o=4T#VPb zm1kISgGzj*b?Q^MSiLxj26ypcLY#RmTPp+1>9zDth7O?w9)onA%xqpXoKA-`Jh8cZ zGE(7763S3qHTKNOtXAUA$H;uhGv75UuBkyyD;eZxzIn6;Ye7JpRQ{-6>)ioiXj4Mr zUzfB1KxvI{ZsNj&UA`+|)~n}96q%_xKV~rs?k=#*r*7%Xs^Hm*0~x>VhuOJh<2tcb zKbO9e-w3zbekha5!N@JhQm7;_X+J!|P?WhssrMv5fnQh$v*986uWGGtS}^szWaJ*W z6fLVt?OpPMD+-_(3x8Ra^sX~PT1t5S6bfk@Jb~f-V)jHRul#Hqu;0(+ER7Z(Z4MTR z+iG>bu+BW2SNh|RAGR2-mN5D1sTcb-rLTha*@1@>P~u;|#2N{^AC1hxMQ|(sp3gTa zDO-E8Yn@S7u=a?iZ!&&Qf2KKKk7IT`HjO`U*j1~Df9Uxz$~@otSCK;)lbLSmBuIj% zPl&YEoRwsk$8~Az>>djrdtp`PX z`Pu#IITS7lw07vx>YE<4pQ!&Z^7L?{Uox`CJnGjYLh1XN^tt#zY*0}tA*a=V)rf=&-kLgD|;t1D|ORVY}8 F{0H{b<4^zq diff --git a/build/img/favicon.ico b/build/img/favicon.ico deleted file mode 100644 index c01d54bcd39a5f853428f3cd5aa0f383d963c484..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3626 zcmb`Je@s(X6vrR`EK3%b%orErlDW({vnABqA zcfaS{d+xbU5JKp0*;0YOg+;Fl!eT)XRuapIwFLL`=imZCSon$`se`_<%@MB=M~KG+ z=EW^FL`w|Bo>*ktlaS^(fut!95`iG5u=SZ8nfDHO#GaTlH1-XG^;vsjUb^gWTVz0+ z^=WR1wv9-2oeR=_;fL0H7rNWqAzGtO(D;`~cX(RcN0w2v24Y8)6t`cS^_ghs`_ho? z{0ka~1Dgo8TfAP$r*ua?>$_V+kZ!-(TvEJ7O2f;Y#tezt$&R4 zLI}=-y@Z!grf*h3>}DUL{km4R>ya_I5Ag#{h_&?+HpKS!;$x3LC#CqUQ8&nM?X))Q zXAy2?`YL4FbC5CgJu(M&Q|>1st8XXLZ|5MgwgjP$m_2Vt0(J z&Gu7bOlkbGzGm2sh?X`){7w69Y$1#@P@7DF{ZE=4%T0NDS)iH`tiPSKpDNW)zmtn( zw;4$f>k)4$LBc>eBAaTZeCM2(iD+sHlj!qd z2GjRJ>f_Qes(+mnzdA^NH?^NB(^o-%Gmg$c8MNMq&`vm@9Ut;*&$xSD)PKH{wBCEC z4P9%NQ;n2s59ffMn8*5)5AAg4-93gBXBDX`A7S& zH-|%S3Wd%T79fk-e&l`{!?lve8_epXhE{d3Hn$Cg!t=-4D(t$cK~7f&4s?t7wr3ZP z*!SRQ-+tr|e1|hbc__J`k3S!rMy<0PHy&R`v#aJv?`Y?2{avK5sQz%=Us()jcNuZV z*$>auD4cEw>;t`+m>h?f?%VFJZj8D|Y1e_SjxG%J4{-AkFtT2+ZZS5UScS~%;dp!V>)7zi`w(xwSd*FS;Lml=f6hn#jq)2is4nkp+aTrV?)F6N z>DY#SU0IZ;*?Hu%tSj4edd~kYNHMFvS&5}#3-M;mBCOCZL3&;2obdG?qZ>rD|zC|Lu|sny76pn2xl|6sk~Hs{X9{8iBW zwiwgQt+@hi`FYMEhX2 \ No newline at end of file diff --git a/build/img/undraw_docusaurus_mountain.svg b/build/img/undraw_docusaurus_mountain.svg deleted file mode 100644 index af961c4..0000000 --- a/build/img/undraw_docusaurus_mountain.svg +++ /dev/null @@ -1,171 +0,0 @@ - - Easy to Use - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/img/undraw_docusaurus_react.svg b/build/img/undraw_docusaurus_react.svg deleted file mode 100644 index 94b5cf0..0000000 --- a/build/img/undraw_docusaurus_react.svg +++ /dev/null @@ -1,170 +0,0 @@ - - Powered by React - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/img/undraw_docusaurus_tree.svg b/build/img/undraw_docusaurus_tree.svg deleted file mode 100644 index d9161d3..0000000 --- a/build/img/undraw_docusaurus_tree.svg +++ /dev/null @@ -1,40 +0,0 @@ - - Focus on What Matters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/build/index.html b/build/index.html deleted file mode 100644 index 30be1dc..0000000 --- a/build/index.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -Hello from ScanApp | ScanApp - - - - -
-

Html5-Qrcode

📸 End to end QR code and barcode scanning library

Wavy_Tech-30_Single-02-ai

Feature packed

Allows scanning QR Code as well as different types of bar codes. You can scan directly using the webcam or inbuilt camera or scan images on your device. Find different types of supported 1D and 2D codes here.

Focus on What Matters

Cross platform support

Works on all platforms like Android, iOS, Windows or Mac. Works across browsers like Chrome, Firefox, Edge, Safari, etc. Find compatibility for different frameworks and browsers here.

19362653-ai

Ready for all kind of use cases

Package comes with an end to end UI library called Html5QrcodeScanner as well as a low level library to build your own UI called Html5Qrcode.

- - - - \ No newline at end of file diff --git a/build/markdown-page.html b/build/markdown-page.html deleted file mode 100644 index 19e9ef1..0000000 --- a/build/markdown-page.html +++ /dev/null @@ -1,16 +0,0 @@ - - - - - -Markdown page example | ScanApp - - - - -
-

Markdown page example

You don't need React to write simple standalone pages.

- - - - \ No newline at end of file diff --git a/build/sitemap.xml b/build/sitemap.xml deleted file mode 100644 index 00c6cf9..0000000 --- a/build/sitemap.xml +++ /dev/null @@ -1 +0,0 @@ -https://scanapp.org/html5-qrcode-docs/markdown-pageweekly0.5https://scanapp.org/html5-qrcode-docs/docs/apisweekly0.5https://scanapp.org/html5-qrcode-docs/docs/apis/classes/Html5Qrcodeweekly0.5https://scanapp.org/html5-qrcode-docs/docs/apis/classes/Html5QrcodeScannerweekly0.5https://scanapp.org/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScannerStateweekly0.5https://scanapp.org/html5-qrcode-docs/docs/apis/enums/Html5QrcodeScanTypeweekly0.5https://scanapp.org/html5-qrcode-docs/docs/apis/enums/Html5QrcodeSupportedFormatsweekly0.5https://scanapp.org/html5-qrcode-docs/docs/apis/interfaces/CameraCapabilitiesweekly0.5https://scanapp.org/html5-qrcode-docs/docs/apis/interfaces/CameraDeviceweekly0.5https://scanapp.org/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeCameraScanConfigweekly0.5https://scanapp.org/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeFullConfigweekly0.5https://scanapp.org/html5-qrcode-docs/docs/apis/interfaces/Html5QrcodeResultweekly0.5https://scanapp.org/html5-qrcode-docs/docs/category/apisweekly0.5https://scanapp.org/html5-qrcode-docs/docs/category/classesweekly0.5https://scanapp.org/html5-qrcode-docs/docs/category/enumsweekly0.5https://scanapp.org/html5-qrcode-docs/docs/category/interfacesweekly0.5https://scanapp.org/html5-qrcode-docs/docs/introweekly0.5https://scanapp.org/html5-qrcode-docs/docs/supported_code_formatsweekly0.5https://scanapp.org/html5-qrcode-docs/docs/supported_frameworksweekly0.5https://scanapp.org/html5-qrcode-docs/weekly0.5 \ No newline at end of file diff --git a/docusaurus.config.js b/docusaurus.config.js index 07529f9..77bbd94 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -25,7 +25,7 @@ const config = { // to replace "en" with "zh-Hans". i18n: { defaultLocale: 'en', - locales: ['en'], + locales: ['en','zh-Hant'], localeConfigs:{ 'en': { label: 'English', diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/supported_frameworks.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/supported_frameworks.md index a562b13..f3a86dc 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/supported_frameworks.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/supported_frameworks.md @@ -1,14 +1,14 @@ ---- +--- sidebar_position: 2 --- -# Supported frameworks +# 支援的框架 -We are working continuously on adding support for more and more platforms. If you find a platform or a browser where the library is not working, please feel free to file an issue. Check the [demo link](https://blog.minhazav.dev/research/html5-qrcode.html) to test it out. +我們正在持續添加對更多平台的支援。如果你發現某個平台或瀏覽器上該庫無法正常工作,請隨時提交 issue。查看 [demo 連結](https://blog.minhazav.dev/research/html5-qrcode.html) 進行測試。 -**Legends** -- ![](https://scanapp.org/assets/github_assets/done.png) Means full support — inline webcam and file based. -- ![](https://scanapp.org/assets/github_assets/partial.png) Means partial support — only file based, webcam in progress. +**圖例** +- ![](https://scanapp.org/assets/github_assets/done.png) 代表完全支援 — 內嵌網路攝影機和基於檔案的掃描。 +- ![](https://scanapp.org/assets/github_assets/partial.png) 代表部分支援 — 僅支援基於檔案的掃描,網路攝影機正在開發中。 ### PC / Mac @@ -29,12 +29,12 @@ We are working continuously on adding support for more and more platforms. If yo |![](https://scanapp.org/assets/github_assets/done.png)| ![](https://scanapp.org/assets/github_assets/done.png)* | ![](https://scanapp.org/assets/github_assets/done.png)* | ![](https://scanapp.org/assets/github_assets/partial.png) -> \* Supported for IOS versions >= 15.1 -> -> Before version 15.1, Webkit for IOS is used by Chrome, Firefox, and other browsers in IOS and they do not have webcam permissions yet. There is an ongoing issue on fixing the support for iOS - [issue/14](https://github.com/mebjas/html5-qrcode/issues/14) +\* 支援 iOS 版本 >= 15.1 + +> 在 15.1 版本之前,iOS 的 Webkit 被 Chrome、Firefox 和其他瀏覽器使用,且它們尚未獲得攝像頭權限。iOS 支援修復正在進行中 - [issue/14](https://github.com/mebjas/html5-qrcode/issues/14) -### Framework support -The library can be easily used with several other frameworks, I have been adding examples for a few of them and would continue to add more. +### 框架支援 +該庫可以輕鬆地與其他多個框架一起使用,我已經添加了一些範例,並會繼續添加更多。 || | | | | -------- | -------- | -------- | -------- | -------- | From fd79c74fc7e41854feb0e4e328fadcc20d5fa9a4 Mon Sep 17 00:00:00 2001 From: Each Chen Date: Mon, 19 Aug 2024 15:30:00 +0800 Subject: [PATCH 04/11] i18n intro --- .../current/apis/readme.md | 36 ++++++++++++++- .../current/intro.md | 44 +++++++++---------- .../current/supported_code_formats.md | 17 ++++--- 3 files changed, 64 insertions(+), 33 deletions(-) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/readme.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/readme.md index 574b538..ed1c32c 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/readme.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/readme.md @@ -1,4 +1,4 @@ ---- +--- sidebar_position: 1 --- # html5-qrcode @@ -35,4 +35,38 @@ Supports two kinds of APIs +--- +sidebar_position: 1 +--- + +# html5-qrcode + +[mebjas/html5-qrcode](https://github.com/mebjas/html5-qrcode) 是一個開源的基於網頁的 QR 碼和條碼掃描庫,由 [mebjas@](https://github.com/mebjas) 在 [Apache License 2.0](https://github.com/mebjas/html5-qrcode/blob/master/LICENSE) 授權下開發。 + +> 適用於網頁的輕量級且跨平台的 QR 碼和條碼掃描函式庫, +> +> 使用這個輕量級的函式庫可以輕鬆快速地將 QR 碼、條碼和其他常見條碼掃描功能整合到你的網頁應用程序中。 + +支援兩種 API + +- [Html5QrcodeScanner](classes/Html5QrcodeScanner.md) — 具有 UI 的端到端掃描器,只需不到十行程式碼。 + +- [Html5Qrcode](classes/Html5Qrcode.md) — 強大的 API 集合,你可以使用它來配置 UI,而不必擔心攝像頭設定、權限處理、讀取程式碼等問題。 + +## 目錄 + +### 介面 + +- [Html5QrcodeResult](./apis/interfaces/Html5QrcodeResult) + +### Classes + +- [Html5Qrcode](classes/Html5Qrcode.md) +- [Html5QrcodeScanner](classes/Html5QrcodeScanner.md) + +### Enumerations + +- [Html5QrcodeScanType](enums/Html5QrcodeScanType.md) +- [Html5QrcodeScannerState](enums/Html5QrcodeScannerState.md) +- [Html5QrcodeSupportedFormats](enums/Html5QrcodeSupportedFormats.md) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/intro.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/intro.md index 532fc5e..ca7153e 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/intro.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/intro.md @@ -4,7 +4,7 @@ sidebar_position: 1 # 入門指南 -在不到 5 分鐘內探索 **html5-qrcode**。 +在 5 分鐘內開始 **html5-qrcode**。 ## 設定必要函式庫 如果你使用 `npm`,便可以直接開始使用。如果你的專案中沒有使用 `npm`,請參閱下一節。 @@ -184,9 +184,10 @@ html5QrCode.stop().then((ignore) => {
``` -> It's not mandatory to set the height and width of the HTML element. If provided, the library would try to honor it. If it's not set, the library would set a default width and derive the height based on the input image's aspect ratio. +> 設定 HTML 元素的高度和寬度不是強制性的。如果提供了這些屬性,函式庫會盡量遵守。若未設定,將設定預設寬度,並根據輸入圖像的長寬比推算高度。 + +添加一個 `Input` 元素來支援檔案選擇,如下所示: -Add an `Input` element for supporting file selection like this: ```html -- [QR and barcode scanner using HTML and JavaScript](https://minhazav.medium.com/qr-and-barcode-scanner-using-html-and-javascript-2cdc937f793d) -- [HTML5 QR Code scanning — launched v1.0.1 without jQuery dependency and refactored Promise based APIs](https://blog.minhazav.dev/HTML5-QR-Code-scanning-launched-v1.0.1/). -- [HTML5 QR Code scanning with JavaScript — Support for scanning the local file and using default camera added (v1.0.5)](https://blog.minhazav.dev/HTML5-QR-Code-scanning-support-for-local-file-and-default-camera/) +- [使用 HTML 和 JavaScript 的 QR 和條碼掃描器](https://minhazav.medium.com/qr-and-barcode-scanner-using-html-and-javascript-2cdc937f793d) +- [HTML5 QR 碼掃描 — 發布了 v1.0.1,不使用 jQuery,並重構了基於 Promise 的 API](https://blog.minhazav.dev/HTML5-QR-Code-scanning-launched-v1.0.1/) +- [HTML5 QR 碼掃描與 JavaScript — 添加了對掃描本地檔案和使用預設相機的支援(v1.0.5)](https://blog.minhazav.dev/HTML5-QR-Code-scanning-support-for-local-file-and-default-camera/) -## Screenshots +## 截圖 ![screenshot](https://scanapp.org/assets/github_assets/screen.gif)
-_Figure: Screenshot from Google Chrome running on MacBook Pro_ - -## Documentation -Checkout [API documentation](category/apis) for more information on individual components. - +_圖示:MacBook Pro 上執行的 Google Chrome 截圖_ +## 文檔 +查看 [API 文檔](category/apis) 以獲取有關各個套件的更多資訊。 diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/supported_code_formats.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/supported_code_formats.md index 5820318..3c0c505 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/supported_code_formats.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/supported_code_formats.md @@ -1,13 +1,12 @@ ---- +--- sidebar_position: 3 --- -# Supported code formats - -The library supports a variety of 2D and 1D code formats. +# 支援的條碼格式 +該函式庫支援各種 2D 和 1D 條碼格式。 -| Code | Example | +| 條碼格式 | 範例 | | ---- | ----- | | QR Code | | | AZTEC | | @@ -25,8 +24,8 @@ The library supports a variety of 2D and 1D code formats. | RSS_14*| | | RSS_EXPANDED*| | -Code scanning is dependent on Javascript [BarcodeDetector](https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector) APIs and [Zxing-js](https://github.com/zxing-js/library) library. +條碼掃描基於 Javascript [BarcodeDetector](https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector) API 和 [Zxing-js](https://github.com/zxing-js/library) 函式庫。 -It's important to note that -- [BarcodeDetector](https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector) may not be supported on all platforms. The supports is not so good on Windows platform. -- [Zxing-js](https://github.com/zxing-js/library) also have some implementation issues as raised in several issues. The authors of the [html5-qrcode](https://github.com/mebjas/html5-qrcode) are working hard to address those issues and improve scanning capability. +值得注意的是: +- [BarcodeDetector](https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector) 可能在所有平台上都不受支援。該功能在 Windows 平台上的支援度不高。 +- [Zxing-js](https://github.com/zxing-js/library) 也存在一些實現問題,這些問題已在幾個問題中提出。 [html5-qrcode](https://github.com/mebjas/html5-qrcode) 的作者正努力解決這些問題並提高掃描能力。 From 44622e53e06186357cc2b3a3b0566a0da05ffe0d Mon Sep 17 00:00:00 2001 From: Each Chen Date: Mon, 19 Aug 2024 16:10:10 +0800 Subject: [PATCH 05/11] chore: Update Chinese translation for Html5Qrcode class documentation --- .../current/apis/classes/Html5Qrcode.md | 61 ++++++++++--------- 1 file changed, 33 insertions(+), 28 deletions(-) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md index 4dda59f..a67b926 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md @@ -1,4 +1,4 @@ ---- +--- sidebar_position: 1 --- @@ -6,14 +6,13 @@ sidebar_position: 1 # Class: Html5Qrcode -Low level APIs for building web based QR and Barcode Scanner. +用於配置基於網頁的 QR 碼和條碼掃描器的低級 API。 -Supports APIs for camera as well as file based scanning. +支援鏡頭掃描和基於檔案的掃描 API。 -Depending of the configuration, the class will help render code -scanning UI on the provided parent HTML container. +根據配置,該類將幫助在提供的父 HTML 容器中渲染程式碼掃描 UI。 -## Table of contents +## 目錄 ### Constructors @@ -41,49 +40,53 @@ scanning UI on the provided parent HTML container. • **new Html5Qrcode**(`elementId`, `configOrVerbosityFlag?`) -Initialize the code scanner. - +初始化程式碼掃描器。 #### Parameters | Name | Type | Description | | :------ | :------ | :------ | -| `elementId` | `string` | Id of the HTML element. | -| `configOrVerbosityFlag?` | `boolean` \| [`Html5QrcodeFullConfig`](../interfaces/Html5QrcodeFullConfig.md) | optional, config object of type [Html5QrcodeFullConfig](../interfaces/Html5QrcodeFullConfig.md) or a boolean verbosity flag (to maintain backward compatibility). If nothing is passed, default values would be used. If a boolean value is used, it'll be used to set verbosity. Pass a config value to configure the Html5Qrcode scanner as per needs. Use of `configOrVerbosityFlag` as a boolean value is being deprecated since version 2.0.7. TODO(mebjas): Deprecate the verbosity boolean flag completely. | +| elementId | string | Id of the HTML element. | +| configOrVerbosityFlag? | boolean \| [Html5QrcodeFullConfig](../interfaces/Html5QrcodeFullConfig.md) | optional, config object of type [Html5QrcodeFullConfig](../interfaces/Html5QrcodeFullConfig.md) or a boolean verbosity flag (to maintain backward compatibility). If nothing is passed, default values would be used. If a boolean value is used, it'll be used to set verbosity. Pass a config value to configure the Html5Qrcode scanner as per needs. Use of configOrVerbosityFlag as a boolean value is being deprecated since version 2.0.7. TODO(mebjas): Deprecate the verbosity boolean flag completely. | +#### 參數 -#### Defined in +| 名稱 | 類型 | 描述 | +| :------ | :------ | :------ | +| `elementId` | `string` | HTML 元素的 ID。 | +| `configOrVerbosityFlag?` | `boolean` \| [`Html5QrcodeFullConfig`](../interfaces/Html5QrcodeFullConfig.md) | 可選,`Html5QrcodeFullConfig` 類型的配置對象或布林型詳細訊息標誌(以維持向後兼容)。如果未傳遞任何值,則將使用預設值。如果使用布林值,它將用於設定詳細訊息。根據需要的設定傳遞設定值設定 Html5Qrcode 掃描器。自版本 2.0.7 起,不建議使用 configOrVerbosityFlag 作為布林值。 TODO(mebjas):完全棄用詳細布林標誌。 + +#### 定義於 [html5-qrcode.ts:313](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L313) -## Methods +## 方法 ### applyVideoConstraints ▸ **applyVideoConstraints**(`videoConstaints`): `Promise`<`void`\> -Apply a video constraints on running video track from camera. +對來自鏡頭的執行影片軌道應用影片約束。 -Important: - 1. Must be called only if the camera based scanning is in progress. - 2. Changing aspectRatio while scanner is running is not yet supported. +重要事項: +1. 只有在進行基於鏡頭的掃描時,才必須呼叫此方法。 +2. 在掃描器執行時更改 `aspectRatio` 尚不支援。 **`Throws`** -error if the scanning is not in running state. +如果掃描不在執行狀態,則拋出錯誤。 -#### Parameters +#### 參數 -| Name | Type | +| 名稱 | 類型 | | :------ | :------ | | `videoConstaints` | `MediaTrackConstraints` | -#### Returns +#### 回傳值 `Promise`<`void`\> -a Promise which succeeds if the passed constraints are applied, - fails otherwise. +一個 Promise,若傳遞的約束已成功應用則成功,否則失敗。 -#### Defined in +#### 定義於 [html5-qrcode.ts:829](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L829) @@ -93,16 +96,16 @@ ___ ▸ **clear**(): `void` -Clears the existing canvas. +清除現有的畫布。 -Note: in case of ongoing web cam based scan, it needs to be explicitly -closed before calling this method, else it will throw exception. +注意:如果有正在進行的網路鏡頭掃描,需要在呼叫此方法之前明確關閉,否則會拋出異常。 -#### Returns + +#### 回傳值 `void` -#### Defined in +#### 定義於 [html5-qrcode.ts:758](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L758) @@ -115,7 +118,9 @@ ___ Returns [CameraCapabilities](../interfaces/CameraCapabilities.md) of the running video track. TODO(minhazav): Document this API, currently hidden. +返回執行追蹤的影片 [CameraCapabilities](../interfaces/CameraCapabilities.md)。 +TODO(minhazav): 文檔化此 API,目前為隱藏。 **`Throws`** error if the scanning is not in running state. From fd24a07f772e5aec4f8aa07a27bc289439547f05 Mon Sep 17 00:00:00 2001 From: Each Chen Date: Mon, 19 Aug 2024 17:26:24 +0800 Subject: [PATCH 06/11] chore: Update Chinese translation for Html5Qrcode class documentation 2 --- .../current/apis/classes/Html5Qrcode.md | 30 +++++++++---------- .../apis/interfaces/CameraCapabilities.md | 23 +++++++------- 2 files changed, 26 insertions(+), 27 deletions(-) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md index a67b926..15d2099 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md @@ -80,7 +80,7 @@ sidebar_position: 1 | :------ | :------ | | `videoConstaints` | `MediaTrackConstraints` | -#### 回傳值 +#### 回傳 `Promise`<`void`\> @@ -101,7 +101,7 @@ ___ 注意:如果有正在進行的網路鏡頭掃描,需要在呼叫此方法之前明確關閉,否則會拋出異常。 -#### 回傳值 +#### 回傳 `void` @@ -123,14 +123,14 @@ TODO(minhazav): Document this API, currently hidden. TODO(minhazav): 文檔化此 API,目前為隱藏。 **`Throws`** -error if the scanning is not in running state. +如果掃描不在運行狀態,則拋出錯誤。 -#### Returns +#### 回傳 [`CameraCapabilities`](../interfaces/CameraCapabilities.md) capabilities of the running camera. - +運行中相機的能力 #### Defined in [html5-qrcode.ts:811](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L811) @@ -152,7 +152,7 @@ Important: error if the scanning is not in running state. -#### Returns +#### 回傳 `MediaTrackCapabilities` @@ -180,7 +180,7 @@ Important: error if the scanning is not in running state. -#### Returns +#### 回傳 `MediaTrackSettings` @@ -198,7 +198,7 @@ ___ Gets state of the camera scan. -#### Returns +#### 回傳 [`Html5QrcodeScannerState`](../enums/Html5QrcodeScannerState.md) @@ -226,7 +226,7 @@ error if method is called when scanner is not in scanning state. | :------ | :------ | :------ | | `shouldPauseVideo?` | `boolean` | (Optional, default = false) If true the video will be paused. | -#### Returns +#### 回傳 `void` @@ -253,7 +253,7 @@ callbacks. error if method is called when scanner is not in paused state. -#### Returns +#### 回傳 `void` @@ -279,7 +279,7 @@ call stop() if the camera-based scanning was ongoing. | `imageFile` | `File` | a local file with Image content. | | `showImage?` | `boolean` | if true the Image will be rendered on given element. | -#### Returns +#### 回傳 `Promise`<`string`\> @@ -311,7 +311,7 @@ call stop() if the camera-based scanning was ongoing. | `imageFile` | `File` | a local file with Image content. | | `showImage?` | `boolean` | if true the Image will be rendered on given element. | -#### Returns +#### 回傳 `Promise`<[`Html5QrcodeResult`](../interfaces/Html5QrcodeResult.md)\> @@ -343,7 +343,7 @@ Start scanning QR codes or bar codes for a given camera. | `qrCodeSuccessCallback` | `undefined` \| `QrcodeSuccessCallback` | Callback called when an instance of a QR code or any other supported bar code is found. | | `qrCodeErrorCallback` | `undefined` \| `QrcodeErrorCallback` | Callback called in cases where no instance of QR code or any other supported bar code is found. | -#### Returns +#### 回傳 `Promise`<``null``\> @@ -362,7 +362,7 @@ ___ Stops streaming QR Code video and scanning. -#### Returns +#### 回傳 `Promise`<`void`\> @@ -380,7 +380,7 @@ ___ Returns list of [CameraDevice](../interfaces/CameraDevice.md) supported by the device. -#### Returns +#### 回傳 `Promise`<[`CameraDevice`](../interfaces/CameraDevice.md)[]\> diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/CameraCapabilities.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/CameraCapabilities.md index 82f43b0..75c0af3 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/CameraCapabilities.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/CameraCapabilities.md @@ -6,28 +6,27 @@ sidebar_position: 5 # Interface: CameraCapabilities -Class exposing different capabilities of camera. +Class 描述了相機不同的功能 +## 內容 -## Table of contents - -### Methods +### 方法 - [torchFeature](CameraCapabilities.md#torchfeature) - [zoomFeature](CameraCapabilities.md#zoomfeature) -## Methods +## 方法 ### torchFeature ▸ **torchFeature**(): `BooleanCameraCapability` -Torch capability of the camera. +相機的手電筒能力。 -#### Returns +#### 回傳 `BooleanCameraCapability` -#### Defined in +#### 定義於 [camera/core.ts:49](https://github.com/mebjas/html5-qrcode/blob/600717e/src/camera/core.ts#L49) @@ -37,12 +36,12 @@ ___ ▸ **zoomFeature**(): `RangeCameraCapability` -Zoom capability of the camera. +相機的縮放能力。 -#### Returns +#### 回傳 `RangeCameraCapability` -#### Defined in +#### 定義於 -[camera/core.ts:46](https://github.com/mebjas/html5-qrcode/blob/600717e/src/camera/core.ts#L46) +[camera/core.ts:46](https://github.com/mebjas/html5-qrcode/blob/600717e/src/camera/core.ts#L46) \ No newline at end of file From 3b31c9c32a276a9167bfdaaa66e73443afdb8f0a Mon Sep 17 00:00:00 2001 From: Each Chen Date: Mon, 19 Aug 2024 17:37:15 +0800 Subject: [PATCH 07/11] chore: Html5Qrcode class documentation 3 --- .../current/apis/interfaces/CameraDevice.md | 18 +++++----- .../apis/interfaces/Html5QrcodeFullConfig.md | 35 ++++++++----------- .../apis/interfaces/Html5QrcodeResult.md | 12 +++---- 3 files changed, 29 insertions(+), 36 deletions(-) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/CameraDevice.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/CameraDevice.md index 2865b36..db3f027 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/CameraDevice.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/CameraDevice.md @@ -1,27 +1,27 @@ ---- +--- sidebar_position: 4 --- -[html5-qrcode](../) / CameraDevice +[html5-qrcode](../) / CameraDevice -# Interface: CameraDevice +# 介面: CameraDevice -Camera device interface. +相機裝置介面。 -## Table of contents +## 內容 -### Properties +### 屬性 - [id](CameraDevice.md#id) - [label](CameraDevice.md#label) -## Properties +## 屬性 ### id • **id**: `string` -#### Defined in +#### 定義於 [camera/core.ts:10](https://github.com/mebjas/html5-qrcode/blob/600717e/src/camera/core.ts#L10) @@ -31,6 +31,6 @@ ___ • **label**: `string` -#### Defined in +#### 定義於 [camera/core.ts:11](https://github.com/mebjas/html5-qrcode/blob/600717e/src/camera/core.ts#L11) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeFullConfig.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeFullConfig.md index f7d26fc..3c3616a 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeFullConfig.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeFullConfig.md @@ -1,49 +1,45 @@ ---- +--- sidebar_position: 2 --- [html5-qrcode](../) / Html5QrcodeFullConfig -# Interface: Html5QrcodeFullConfig +# 介面: Html5QrcodeFullConfig -Interface for full configuration of [Html5Qrcode](../classes/Html5Qrcode.md). +[Html5Qrcode](../classes/Html5Qrcode.md) 的完整配置介面。 -Notes: Ideally we don't need to have two interfaces for this purpose, but -since the public APIs before version 2.0.8 allowed passing a boolean verbose -flag to constructor we need to allow users to pass Html5QrcodeFullConfig or -boolean flag to be backward compatible. -In future versions these two interfaces can be merged. +注意:理想情況下,我們不需要這兩個介面,但由於在 2.0.8 版本之前的公共 API 允許將布林值的 verbose 標誌傳遞給構造函數,因此我們需要允許使用者傳遞 Html5QrcodeFullConfig 或布林值標誌以保持向後兼容性。在未來的版本中,這兩個介面可以合併。 -## Hierarchy +## 階層 - `Html5QrcodeConfigs` ↳ **`Html5QrcodeFullConfig`** -## Table of contents +## 內容 -### Properties +### 屬性 - [experimentalFeatures](Html5QrcodeFullConfig.md#experimentalfeatures) - [formatsToSupport](Html5QrcodeFullConfig.md#formatstosupport) - [useBarCodeDetectorIfSupported](Html5QrcodeFullConfig.md#usebarcodedetectorifsupported) - [verbose](Html5QrcodeFullConfig.md#verbose) -## Properties +## 屬性 ### experimentalFeatures • `Optional` **experimentalFeatures**: `ExperimentalFeaturesConfig` -Config for experimental features. +實驗性功能的配置。 -Everything is false by default. +預設情況下所有設定均為 false。 -#### Inherited from +#### 繼承自 Html5QrcodeConfigs.experimentalFeatures -#### Defined in +#### 定義於 [html5-qrcode.ts:104](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L104) @@ -53,12 +49,9 @@ ___ • `Optional` **formatsToSupport**: [`Html5QrcodeSupportedFormats`](../enums/Html5QrcodeSupportedFormats.md)[] -Array of formats to support of type [Html5QrcodeSupportedFormats](../enums/Html5QrcodeSupportedFormats.md). +支援的格式類型,為 [Html5QrcodeSupportedFormats](../enums/Html5QrcodeSupportedFormats.md) 的陣列。 -All invalid values would be ignored. If null or underfined all supported -formats will be used for scanning. Unless you want to limit the scan to -only certain formats or want to improve performance, you should not set -this value. +所有無效的值將被忽略。如果為 null 或 undefined,則會使用所有支援的格式進行掃描。除非你希望僅限於某些格式或想要提高效能,否則不應設定此值。 #### Inherited from diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeResult.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeResult.md index e6e6527..450e354 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeResult.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeResult.md @@ -6,22 +6,22 @@ sidebar_position: 1 # Interface: Html5QrcodeResult -QrCode result object. +QR code result 物件。 -## Table of contents +## 目錄 -### Properties +### 屬性 - [decodedText](Html5QrcodeResult.md#decodedtext) - [result](Html5QrcodeResult.md#result) -## Properties +## 屬性 ### decodedText • **decodedText**: `string` -#### Defined in +#### 定義於 [core.ts:184](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L184) @@ -31,6 +31,6 @@ ___ • **result**: `QrcodeResult` -#### Defined in +#### 定義於 [core.ts:185](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L185) From e0d3bc8c2e5c9611501b2516c58bbdfea38ddba7 Mon Sep 17 00:00:00 2001 From: Each Chen Date: Mon, 19 Aug 2024 20:25:09 +0800 Subject: [PATCH 08/11] chore: interface --- .../interfaces/Html5QrcodeCameraScanConfig.md | 60 +++++++------------ .../apis/interfaces/Html5QrcodeFullConfig.md | 25 ++++---- .../current/apis/readme.md | 39 +----------- .../current/intro.md | 2 +- 4 files changed, 38 insertions(+), 88 deletions(-) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeCameraScanConfig.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeCameraScanConfig.md index c0bbcd7..cfb2b39 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeCameraScanConfig.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeCameraScanConfig.md @@ -1,4 +1,4 @@ ---- +--- sidebar_position: 3 --- @@ -6,7 +6,7 @@ sidebar_position: 3 # Interface: Html5QrcodeCameraScanConfig -Configuration type for scanning QR code with camera. +用於相機掃描 QR Code 的配置類型。 ## Table of contents @@ -24,11 +24,9 @@ Configuration type for scanning QR code with camera. • `Optional` **aspectRatio**: `number` -Optional, Desired aspect ratio for the video feed. Ideal aspect ratios -are 4:3 or 16:9. Passing very wrong aspect ratio could lead to video feed -not showing up. +可選,視訊來源的期望長寬比。理想的長寬比為 4:3 或 16:9。傳遞不正確的長寬比可能會導致視訊無法顯示。 -#### Defined in +#### 定義於 [html5-qrcode.ts:164](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L164) @@ -38,11 +36,10 @@ ___ • `Optional` **disableFlip**: `boolean` -Optional, if `true` flipped QR Code won't be scanned. Only use this -if you are sure the camera cannot give mirrored feed if you are facing -performance constraints. +可選,若為 `true`,則不會掃描翻轉的 QR Code 。僅在確定相機無法提供鏡像視訊源且你面臨效能限制時啟用此選項。 + -#### Defined in +#### 定義於 [html5-qrcode.ts:171](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L171) @@ -52,10 +49,9 @@ ___ • **fps**: `undefined` \| `number` -Optional, Expected framerate of qr code scanning. example `{ fps: 2 }` means the -scanning would be done every `500 ms`. +可選,QR Code 掃描的期望幀率。例如 `{ fps: 2 }` 表示掃描將每 `500 ms` 完成一次。 -#### Defined in +#### 定義於 [html5-qrcode.ts:131](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L131) @@ -65,30 +61,25 @@ ___ • `Optional` **qrbox**: `number` \| `QrDimensions` \| `QrDimensionFunction` -Optional, edge size, dimension or calculator function for QR scanning -box, the value or computed value should be smaller than the width and -height of the full region. +可選,QR 掃描框的邊長、尺寸或計算函數,該值或計算值應小於完整區域的寬度和高度。 -This would make the scanner look like this: +這將使掃描器看起來像這樣: ---------------------- |********************| - |******,,,,,,,,,*****| <--- shaded region - |******| |*****| <--- non shaded region would be - |******| |*****| used for QR code scanning. + |******,,,,,,,,,*****| <--- 陰影區域 + |******| |*****| <--- 非陰影區域將用於 QR Code 掃描。 + |******| |*****| |******|_______|*****| |********************| |********************| ---------------------- -Instance of QrDimensions can be passed to construct a non -square rendering of scanner box. You can also pass in a function of type -QrDimensionFunction that takes in the width and height of the -video stream and return QR box size of type QrDimensions. +可以傳遞 QrDimensions 的實例來配置非正方形的掃描框渲染。你也可以傳遞一個 QrDimensionFunction 類型的函數,該函數接收影片流的寬度和高度並返回 QrDimensions 類型的 QR 框大小。 -If this value is not set, no shaded QR box will be rendered and the -scanner will scan the entire area of video stream. +如果未設定此值,則不會渲染陰影 QR 框,掃描器將掃描整個影片流區域。 -#### Defined in + +#### 定義於 [html5-qrcode.ts:157](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L157) @@ -96,18 +87,13 @@ ___ ### videoConstraints -• `Optional` **videoConstraints**: `MediaTrackConstraints` +• `可選` **videoConstraints**: `MediaTrackConstraints` + +可選,@beta(此設定尚未完全支援)。 -Optional, @beta(this config is not well supported yet). +重要:傳遞此參數時,將會覆蓋其他參數,如 'cameraIdOrConfig' 或配置,如 'aspectRatio'。'videoConstraints' 應為 MediaTrackConstraints 類型,如 https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints 中所定義,用於指定各種影片或相機控制,如:aspectRatio(長寬比)、facingMode(鏡頭方向)、frameRate(幀率)等。 -Important: When passed this will override other parameters like -'cameraIdOrConfig' or configurations like 'aspectRatio'. -'videoConstraints' should be of type MediaTrackConstraints as -defined in -https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints -and is used to specify a variety of video or camera controls like: -aspectRatio, facingMode, frameRate, etc. -#### Defined in +#### 定義於 [html5-qrcode.ts:184](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L184) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeFullConfig.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeFullConfig.md index 3c3616a..a98a0c3 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeFullConfig.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/interfaces/Html5QrcodeFullConfig.md @@ -53,11 +53,11 @@ ___ 所有無效的值將被忽略。如果為 null 或 undefined,則會使用所有支援的格式進行掃描。除非你希望僅限於某些格式或想要提高效能,否則不應設定此值。 -#### Inherited from +#### 繼承自 Html5QrcodeConfigs.formatsToSupport -#### Defined in +#### 定義於 [html5-qrcode.ts:83](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L83) @@ -67,33 +67,34 @@ ___ • `Optional` **useBarCodeDetectorIfSupported**: `boolean` -BarcodeDetector is being implemented by browsers at the moment. -It has very limited browser support but as it gets available it could -enable faster native code scanning experience. +BarcodeDetector 目前正在由瀏覽器實現。 +目前瀏覽器的支援非常有限,但隨著它的可用性增加,可能會 +啟用更快速的原生程式碼掃描體驗。 -Set this flag to true, to enable using BarcodeDetector if -supported. This is true by default. +將此標誌設定為 true,以啟用支援時使用 BarcodeDetector。 +預設情況下,此值為 true。 -Documentations: +檔案: - https://developer.mozilla.org/en-US/docs/Web/API/BarcodeDetector - https://web.dev/shape-detection/#barcodedetector -#### Inherited from +#### 繼承自 Html5QrcodeConfigs.useBarCodeDetectorIfSupported -#### Defined in +#### 定義於 [html5-qrcode.ts:97](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L97) + ___ ### verbose • **verbose**: `undefined` \| `boolean` -If true, all logs would be printed to console. False by default. +如果為 true,所有日誌將會輸出到 console。預設為 false。 -#### Defined in +#### 定義於 [html5-qrcode.ts:120](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L120) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/readme.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/readme.md index ed1c32c..725c60b 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/readme.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/readme.md @@ -1,43 +1,6 @@ --- sidebar_position: 1 --- -# html5-qrcode - -[mebjas/html5-qrcode](https://github.com/mebjas/html5-qrcode) is an open source web based QR code and barcode scanning library built by [mebjas@](https://github.com/mebjas) under [Apache License 2.0](https://github.com/mebjas/html5-qrcode/blob/master/LICENSE) license. - -> Lightweight & cross-platform QR Code and Bar code scanning library for the web -> -> Use this lightweight library to easily / quickly integrate QR code, bar code, and other common code scanning capabilities to your web application. - -Supports two kinds of APIs - -- [Html5QrcodeScanner](classes/Html5QrcodeScanner.md) — End-to-end scanner with UI, integrate with less than ten lines of code. - -- [Html5Qrcode](classes/Html5Qrcode.md) — Powerful set of APIs you can use to build your UI without worrying about camera setup, handling permissions, reading codes, etc. - -## Table of contents - -### Interfaces - -- [Html5QrcodeResult](./apis/interfaces/Html5QrcodeResult) - -### Classes - -- [Html5Qrcode](classes/Html5Qrcode.md) -- [Html5QrcodeScanner](classes/Html5QrcodeScanner.md) - -### Enumerations - -- [Html5QrcodeScanType](enums/Html5QrcodeScanType.md) -- [Html5QrcodeScannerState](enums/Html5QrcodeScannerState.md) -- [Html5QrcodeSupportedFormats](enums/Html5QrcodeSupportedFormats.md) - - - - ---- -sidebar_position: 1 ---- # html5-qrcode @@ -51,7 +14,7 @@ sidebar_position: 1 - [Html5QrcodeScanner](classes/Html5QrcodeScanner.md) — 具有 UI 的端到端掃描器,只需不到十行程式碼。 -- [Html5Qrcode](classes/Html5Qrcode.md) — 強大的 API 集合,你可以使用它來配置 UI,而不必擔心攝像頭設定、權限處理、讀取程式碼等問題。 +- [Html5Qrcode](classes/Html5Qrcode.md) — 強大的 API 集合,你可以使用它來配置 UI,而不必擔心鏡頭設定、權限處理、讀取程式碼等問題。 ## 目錄 diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/intro.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/intro.md index ca7153e..0a1f834 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/intro.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/intro.md @@ -174,7 +174,7 @@ html5QrCode.stop().then((ignore) => { #### 使用本地檔案或智慧型手機內建相機掃描 QR 碼 | Android 的選擇器 | iOS 的選擇器 | |------|-------| -| 拍攝於 Pixel 3,Google Chrome
| 拍攝於 iPhone 7,Google Chrome
| +| 使用 Pixel 3,Google Chrome 拍攝
| 使用 iPhone 7,Google Chrome 拍攝
| 你也可以利用裝置上的 QR 碼掃描來處理本地檔案或預設相機。其工作方式類似於內嵌 QR 碼掃描。 From f1200947ad9430c03fdcdb92ab4cbd4f51decd9e Mon Sep 17 00:00:00 2001 From: Each Chen Date: Mon, 19 Aug 2024 20:45:06 +0800 Subject: [PATCH 09/11] chore: Html5Qrcode class documentation --- .../current/apis/classes/Html5Qrcode.md | 13 +- .../apis/classes/Html5QrcodeScanner.md | 122 ++++++++---------- 2 files changed, 64 insertions(+), 71 deletions(-) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md index 15d2099..2238fab 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md @@ -6,7 +6,7 @@ sidebar_position: 1 # Class: Html5Qrcode -用於配置基於網頁的 QR 碼和條碼掃描器的低級 API。 +用於配置基於網頁的 QR Code 和條碼掃描器的低級 API。 支援鏡頭掃描和基於檔案的掃描 API。 @@ -43,10 +43,11 @@ sidebar_position: 1 初始化程式碼掃描器。 #### Parameters -| Name | Type | Description | +| 名稱 | 類型 | 描述 | | :------ | :------ | :------ | -| elementId | string | Id of the HTML element. | -| configOrVerbosityFlag? | boolean \| [Html5QrcodeFullConfig](../interfaces/Html5QrcodeFullConfig.md) | optional, config object of type [Html5QrcodeFullConfig](../interfaces/Html5QrcodeFullConfig.md) or a boolean verbosity flag (to maintain backward compatibility). If nothing is passed, default values would be used. If a boolean value is used, it'll be used to set verbosity. Pass a config value to configure the Html5Qrcode scanner as per needs. Use of configOrVerbosityFlag as a boolean value is being deprecated since version 2.0.7. TODO(mebjas): Deprecate the verbosity boolean flag completely. | +| elementId | string | HTML 元素的 ID。 | +| configOrVerbosityFlag? | boolean \| [Html5QrcodeFullConfig](../interfaces/Html5QrcodeFullConfig.md) | 可選,`Html5QrcodeFullConfig` 類型的配置對象或布林值的詳細程度標誌(以維持向後兼容性)。如果未傳遞任何值,將使用預設值。如果使用布林值,它將用於設定詳細程度。傳遞配置值以根據需要配置 Html5Qrcode 掃描器。自版本 2.0.7 起,`configOrVerbosityFlag` 作為布林值的用法已被棄用。TODO(mebjas): 完全棄用詳細程度布林標誌。 | + #### 參數 | 名稱 | 類型 | 描述 | @@ -123,14 +124,14 @@ TODO(minhazav): Document this API, currently hidden. TODO(minhazav): 文檔化此 API,目前為隱藏。 **`Throws`** -如果掃描不在運行狀態,則拋出錯誤。 +如果掃描不在執行狀態,則拋出錯誤。 #### 回傳 [`CameraCapabilities`](../interfaces/CameraCapabilities.md) capabilities of the running camera. -運行中相機的能力 +執行中相機的能力 #### Defined in [html5-qrcode.ts:811](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L811) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5QrcodeScanner.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5QrcodeScanner.md index 03dbe42..ff5c570 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5QrcodeScanner.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5QrcodeScanner.md @@ -1,25 +1,27 @@ ---- +--- sidebar_position: 2 --- [html5-qrcode](../) / Html5QrcodeScanner -# Class: Html5QrcodeScanner +# 類別:Html5QrcodeScanner + +端到端的基於網頁的 QR 和條碼掃描器。 + +使用此類可以通過幾行程式碼在你的網頁應用程式中設定 QR 掃描器。 + +- 支援相機和檔案掃描。 +- 根據裝置支援相機選擇、縮放和手電筒功能。 +- 支援不同類型的 2D 和 1D 條碼 [Html5QrcodeSupportedFormats](../enums/Html5QrcodeSupportedFormats.md)。 -End to end web based QR and Barcode Scanner. -Use this class for setting up QR scanner in your web application with -few lines of codes. -- Supports camera as well as file based scanning. -- Depending on device supports camera selection, zoom and torch features. -- Supports different kind of 2D and 1D codes [Html5QrcodeSupportedFormats](../enums/Html5QrcodeSupportedFormats.md). +## 目錄 -## Table of contents -### Constructors +### 建構函數 -- [constructor](Html5QrcodeScanner.md#constructor) +- [constructor](Html5QrcodeScanner.md#建構函數) ### Methods @@ -34,54 +36,50 @@ few lines of codes. ## Constructors -### constructor +### 建構函數 • **new Html5QrcodeScanner**(`elementId`, `config`, `verbose`) -Creates instance of this class. +創建這個類別的實例。 -#### Parameters +#### 參數 -| Name | Type | Description | +| 名稱 | 類型 | 描述 | | :------ | :------ | :------ | -| `elementId` | `string` | Id of the HTML element. | -| `config` | `undefined` \| `Html5QrcodeScannerConfig` | Extra configurations to tune the code scanner. | -| `verbose` | `undefined` \| `boolean` | If true, all logs would be printed to console. | +| `elementId` | `string` | HTML 元素的 ID。 | +| `config` | `undefined` \| `Html5QrcodeScannerConfig` | 調整程式碼掃描器的額外配置。 | +| `verbose` | `undefined` \| `boolean` | 如果為 true,所有日誌將輸出到 console。 | -#### Defined in +#### 定義於 [html5-qrcode-scanner.ts:208](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L208) -## Methods +## 方法 ### applyVideoConstraints -▸ **applyVideoConstraints**(`videoConstaints`): `Promise`<`void`\> +▸ **applyVideoConstraints**(`videoConstraints`): `Promise`<`void`\> -Apply a video constraints on running video track from camera. +對來自相機的執行視訊應用影片約束。 -Note: Should only be called if [()](Html5QrcodeScanner.md#getstate) - returns [SCANNING](../enums/Html5QrcodeScannerState.md#scanning) or - [PAUSED](../enums/Html5QrcodeScannerState.md#paused). +注意:僅當 [()](Html5QrcodeScanner.md#getstate) 返回 [SCANNING](../enums/Html5QrcodeScannerState.md#scanning) 或 [PAUSED](../enums/Html5QrcodeScannerState.md#paused) 時才應呼叫此方法。 **`Throws`** -error if the scanning is not in running state. +如果掃描未處於執行狀態,則會拋出錯誤。 -#### Parameters +#### 參數 | Name | Type | | :------ | :------ | | `videoConstaints` | `MediaTrackConstraints` | -#### Returns +#### 回傳 `Promise`<`void`\> -a Promise which succeeds if the passed constraints are applied, - fails otherwise. - -#### Defined in +一個 Promise,如果應用傳遞的約束成功則成功,否則失敗。 +#### 定義於 [html5-qrcode-scanner.ts:428](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L428) @@ -91,16 +89,15 @@ ___ ▸ **clear**(): `Promise`<`void`\> -Removes the QR Code scanner UI. +移除 QR Code 掃描器 UI。 -#### Returns +#### 回傳 `Promise`<`void`\> -Promise which succeeds if the cleanup is complete successfully, - fails otherwise. +成功完成清理則返回成功的 Promise,否則返回失敗的 Promise。 -#### Defined in +#### 定義於 [html5-qrcode-scanner.ts:335](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L335) @@ -110,9 +107,8 @@ ___ ▸ **getRunningTrackCapabilities**(): `MediaTrackCapabilities` -Returns the capabilities of the running video track. - -Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getConstraints +傳回執行中的視訊軌道的功能 +了解更多: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getConstraints Note: Should only be called if [()](Html5QrcodeScanner.md#getstate) returns [SCANNING](../enums/Html5QrcodeScannerState.md#scanning) or @@ -120,15 +116,15 @@ Note: Should only be called if [()](Html5QrcodeScanner.md#getstate) **`Throws`** -error if the scanning is not in running state. +如果掃描未處於運作狀態,則會出現錯誤。 -#### Returns +#### 回傳 `MediaTrackCapabilities` -the capabilities of a running video track. +視訊軌道的功能 -#### Defined in +#### 定義於 [html5-qrcode-scanner.ts:393](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L393) @@ -138,26 +134,22 @@ ___ ▸ **getRunningTrackSettings**(): `MediaTrackSettings` -Returns the object containing the current values of each constrainable -property of the running video track. +返回包含執行中視訊每個可約束屬性當前值的對象。 -Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getSettings +了解更多: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getSettings -Note: Should only be called if [()](Html5QrcodeScanner.md#getstate) - returns [SCANNING](../enums/Html5QrcodeScannerState.md#scanning) or - [PAUSED](../enums/Html5QrcodeScannerState.md#paused). +注意:僅當 [()](Html5QrcodeScanner.md#getstate) 返回 [SCANNING](../enums/Html5QrcodeScannerState.md#scanning) 或 [PAUSED](../enums/Html5QrcodeScannerState.md#paused) 時才應呼叫此方法。 **`Throws`** -error if the scanning is not in running state. +如果掃描未處於運作狀態,則會出現錯誤。 -#### Returns +#### 回傳 `MediaTrackSettings` -the supported settings of the running video track. - -#### Defined in +執行中視訊的支援的設定。 +#### 定義於 [html5-qrcode-scanner.ts:410](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L410) @@ -169,13 +161,13 @@ ___ Gets state of the camera scan. -#### Returns +#### 回傳 [`Html5QrcodeScannerState`](../enums/Html5QrcodeScannerState.md) state of type [Html5QrcodeScannerState](../enums/Html5QrcodeScannerState.md). -#### Defined in +#### 定義於 [html5-qrcode-scanner.ts:325](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L325) @@ -194,17 +186,17 @@ Notes: error if method is called when scanner is not in scanning state. -#### Parameters +#### 參數 | Name | Type | Description | | :------ | :------ | :------ | | `shouldPauseVideo?` | `boolean` | (Optional, default = false) If `true` the video will be paused. | -#### Returns +#### 回傳 `void` -#### Defined in +#### 定義於 [html5-qrcode-scanner.ts:294](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L294) @@ -216,18 +208,18 @@ ___ Renders the User Interface. -#### Parameters +#### 參數 | Name | Type | Description | | :------ | :------ | :------ | | `qrCodeSuccessCallback` | `QrcodeSuccessCallback` | Callback called when an instance of a QR code or any other supported bar code is found. | | `qrCodeErrorCallback` | `undefined` \| `QrcodeErrorCallback` | optional, callback called in cases where no instance of QR code or any other supported bar code is found. | -#### Returns +#### 回傳 `void` -#### Defined in +#### 定義於 [html5-qrcode-scanner.ts:241](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L241) @@ -252,10 +244,10 @@ callbacks. error if method is called when scanner is not in paused state. -#### Returns +#### 回傳 `void` -#### Defined in +#### 定義於 [html5-qrcode-scanner.ts:316](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L316) From 7eead4df8ae154d3f90c20503be0fe96f694add8 Mon Sep 17 00:00:00 2001 From: Each Chen Date: Wed, 21 Aug 2024 13:10:13 +0800 Subject: [PATCH 10/11] classes --- .../current/apis/classes/Html5Qrcode.md | 145 ++++++++---------- .../apis/classes/Html5QrcodeScanner.md | 42 +++-- .../current/apis/readme.md | 6 +- 3 files changed, 90 insertions(+), 103 deletions(-) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md index 2238fab..b5eff2f 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5Qrcode.md @@ -119,7 +119,7 @@ ___ Returns [CameraCapabilities](../interfaces/CameraCapabilities.md) of the running video track. TODO(minhazav): Document this API, currently hidden. -返回執行追蹤的影片 [CameraCapabilities](../interfaces/CameraCapabilities.md)。 +回傳執行追蹤的影片 [CameraCapabilities](../interfaces/CameraCapabilities.md)。 TODO(minhazav): 文檔化此 API,目前為隱藏。 **`Throws`** @@ -130,9 +130,8 @@ TODO(minhazav): 文檔化此 API,目前為隱藏。 [`CameraCapabilities`](../interfaces/CameraCapabilities.md) -capabilities of the running camera. 執行中相機的能力 -#### Defined in +#### 定義於 [html5-qrcode.ts:811](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L811) @@ -142,24 +141,24 @@ ___ ▸ **getRunningTrackCapabilities**(): `MediaTrackCapabilities` -Returns the capabilities of the running video track. +回傳執行中影片軌道的能力。 -Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getConstraints +閱讀更多:https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getConstraints -Important: - 1. Must be called only if the camera based scanning is in progress. +重要事項: +1. 僅當基於相機的掃描正在進行時才可呼叫此方法。 **`Throws`** -error if the scanning is not in running state. +如果掃描未處於執行狀態,則拋出錯誤。 #### 回傳 `MediaTrackCapabilities` -capabilities of the running camera. +執行中相機的能力。 -#### Defined in +#### 定義於 [html5-qrcode.ts:782](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L782) @@ -169,25 +168,24 @@ ___ ▸ **getRunningTrackSettings**(): `MediaTrackSettings` -Returns the object containing the current values of each constrainable -property of the running video track. +回傳包含執行中影片軌道的每個可約束屬性當前值的物件。 -Read more: https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getSettings +閱讀更多:https://developer.mozilla.org/en-US/docs/Web/API/MediaStreamTrack/getSettings -Important: - 1. Must be called only if the camera based scanning is in progress. +重要事項: +1. 僅當相機掃描正在進行時才可呼叫此方法。 **`Throws`** -error if the scanning is not in running state. +如果掃描未處於執行狀態,則拋出錯誤。 #### 回傳 `MediaTrackSettings` -settings of the running media track. +執行中媒體軌道的設定。 -#### Defined in +#### 定義於 [html5-qrcode.ts:799](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L799) @@ -197,15 +195,15 @@ ___ ▸ **getState**(): [`Html5QrcodeScannerState`](../enums/Html5QrcodeScannerState.md) -Gets state of the camera scan. +取得相機掃描的狀態。 #### 回傳 [`Html5QrcodeScannerState`](../enums/Html5QrcodeScannerState.md) -state of type ScannerState. +`ScannerState` 型別的狀態。 -#### Defined in +#### 定義於 [html5-qrcode.ts:539](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L539) @@ -215,23 +213,23 @@ ___ ▸ **pause**(`shouldPauseVideo?`): `void` -Pauses the ongoing scan. +暫停正在進行的掃描。 **`Throws`** -error if method is called when scanner is not in scanning state. +當掃描器未處於掃描狀態時呼叫此方法,則拋出錯誤。 -#### Parameters +#### 參數 -| Name | Type | Description | +| 名稱 | 類型 | 說明 | | :------ | :------ | :------ | -| `shouldPauseVideo?` | `boolean` | (Optional, default = false) If true the video will be paused. | +| `shouldPauseVideo?` | `boolean` | (可選,預設值為 false)如果為 true,則影片將被暫停。 | #### 回傳 `void` -#### Defined in +#### 定義於 [html5-qrcode.ts:480](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L480) @@ -241,24 +239,21 @@ ___ ▸ **resume**(): `void` -Resumes the paused scan. +恢復暫停的掃描。 -If the video was previously paused by setting `shouldPauseVideo`` -to `true` in [(shouldPauseVideo)](Html5Qrcode.md#pause), calling -this method will resume the video. +如果影片之前因設置 `shouldPauseVideo` 為 `true` 在[(shouldPauseVideo)](Html5Qrcode.md#pause)中被暫停,則呼叫此方法將恢復影片。 -Note: with this caller will start getting results in success and error -callbacks. +注意:呼叫者將開始在成功和錯誤 Callback 中獲取結果。 **`Throws`** -error if method is called when scanner is not in paused state. +如果方法在掃描器未處於暫停狀態時被呼叫,則拋出錯誤。 #### 回傳 `void` -#### Defined in +#### 定義於 [html5-qrcode.ts:508](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L508) @@ -268,29 +263,27 @@ ___ ▸ **scanFile**(`imageFile`, `showImage?`): `Promise`<`string`\> -Scans an Image File for QR Code. +掃描圖像文件以識別 QR code 。 -This feature is mutually exclusive to camera-based scanning, you should -call stop() if the camera-based scanning was ongoing. +此功能與基於相機的掃描互斥,如果基於相機的掃描正在進行中,應呼叫 `stop()`。 -#### Parameters +#### 參數 -| Name | Type | Description | +| 名稱 | 類型 | 說明 | | :------ | :------ | :------ | -| `imageFile` | `File` | a local file with Image content. | -| `showImage?` | `boolean` | if true the Image will be rendered on given element. | +| `imageFile` | `File` | 含有圖像內容的本地文件。 | +| `showImage?` | `boolean` | 如果為 true,圖像將顯示在給定元素上。 | #### 回傳 `Promise`<`string`\> -Promise with decoded QR code string on success and error message -on failure. Failure could happen due to different reasons: - 1. QR Code decode failed because enough patterns not found in image. - 2. Input file was not image or unable to load the image or other image - load errors. +在成功時回傳解碼的 QR code 字串的 Promise,在失敗時回傳錯誤信息。 +失敗可能是由於不同的原因: +1. QR code 解碼失敗,因為圖像中沒有找到足夠的圖案。 +2. 輸入文件不是圖像或無法加載圖像,或其他圖像加載錯誤。 -#### Defined in +#### 定義於 [html5-qrcode.ts:615](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L615) @@ -300,30 +293,27 @@ ___ ▸ **scanFileV2**(`imageFile`, `showImage?`): `Promise`<[`Html5QrcodeResult`](../interfaces/Html5QrcodeResult.md)\> -Scans an Image File for QR Code & returns [Html5QrcodeResult](../interfaces/Html5QrcodeResult.md). +掃描圖像文件以識別 QR code 並回傳 [`Html5QrcodeResult`](../interfaces/Html5QrcodeResult.md)。 -This feature is mutually exclusive to camera-based scanning, you should -call stop() if the camera-based scanning was ongoing. +此功能與基於相機的掃描互斥,如果基於相機的掃描正在進行中,應呼叫 `stop()`。 -#### Parameters +#### 參數 -| Name | Type | Description | +| 名稱 | 類型 | 說明 | | :------ | :------ | :------ | -| `imageFile` | `File` | a local file with Image content. | -| `showImage?` | `boolean` | if true the Image will be rendered on given element. | +| `imageFile` | `File` | 含有圖像內容的本地文件。 | +| `showImage?` | `boolean` | 如果為 true,圖像將顯示在給定元素上。 | #### 回傳 `Promise`<[`Html5QrcodeResult`](../interfaces/Html5QrcodeResult.md)\> -Promise which resolves with result of type -[Html5QrcodeResult](../interfaces/Html5QrcodeResult.md). +Promise 解析並回傳類型為 [`Html5QrcodeResult`](../interfaces/Html5QrcodeResult.md) 的結果。 - This is a WIP method, it's available as a public method but not -documented. -TODO(mebjas): Replace scanFile with ScanFileV2 +這是一個工作進行中的方法,它作為公共方法可用但未記錄。 +TODO(mebjas): 用 `ScanFileV2` 替換 `scanFile`。 -#### Defined in +#### 定義於 [html5-qrcode.ts:638](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L638) @@ -333,25 +323,24 @@ ___ ▸ **start**(`cameraIdOrConfig`, `configuration`, `qrCodeSuccessCallback`, `qrCodeErrorCallback`): `Promise`<``null``\> -Start scanning QR codes or bar codes for a given camera. +啟動 QR code 或條形碼掃描器以掃描指定相機的內容。 -#### Parameters +#### 參數 -| Name | Type | Description | +| 名稱 | 類型 | 說明 | | :------ | :------ | :------ | -| `cameraIdOrConfig` | `string` \| `MediaTrackConstraints` | Identifier of the camera, it can either be the camera id retrieved from Html5Qrcode#getCameras() method or object with facing mode constraint. | -| `configuration` | `undefined` \| [`Html5QrcodeCameraScanConfig`](../interfaces/Html5QrcodeCameraScanConfig.md) | Extra configurations to tune the code scanner. | -| `qrCodeSuccessCallback` | `undefined` \| `QrcodeSuccessCallback` | Callback called when an instance of a QR code or any other supported bar code is found. | -| `qrCodeErrorCallback` | `undefined` \| `QrcodeErrorCallback` | Callback called in cases where no instance of QR code or any other supported bar code is found. | +| `cameraIdOrConfig` | `string` \| `MediaTrackConstraints` | 相機的識別碼,它可以是從 `Html5Qrcode#getCameras()` 方法檢索的相機 ID,或具有面向模式約束的對象。 | +| `configuration` | `undefined` \| [`Html5QrcodeCameraScanConfig`](../interfaces/Html5QrcodeCameraScanConfig.md) | 用於調整掃描器的額外配置。 | +| `qrCodeSuccessCallback` | `undefined` \| `QrcodeSuccessCallback` | 當找到 QR code 或任何其他支援的條形碼時調用的 Callback 。 | +| `qrCodeErrorCallback` | `undefined` \| `QrcodeErrorCallback` | 當未找到 QR code 或其他支援的條形碼時調用的 Callback 。 | #### 回傳 `Promise`<``null``\> -Promise for starting the scan. The Promise can fail if the user -doesn't grant permission or some API is not supported by the browser. +啟動掃描的 Promise。該 Promise 可能會因為用戶未授予權限或瀏覽器不支援某些 API 而失敗。 -#### Defined in +#### 定義於 [html5-qrcode.ts:360](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L360) @@ -361,15 +350,15 @@ ___ ▸ **stop**(): `Promise`<`void`\> -Stops streaming QR Code video and scanning. +停止輸出串流 QR code 並停止掃描。 #### 回傳 `Promise`<`void`\> -Promise for safely closing the video stream. +安全關閉視訊來源的 Promise。 -#### Defined in +#### 定義於 [html5-qrcode.ts:548](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L548) @@ -379,14 +368,14 @@ ___ ▸ `Static` **getCameras**(): `Promise`<[`CameraDevice`](../interfaces/CameraDevice.md)[]\> -Returns list of [CameraDevice](../interfaces/CameraDevice.md) supported by the device. +回傳設備支援的 [`CameraDevice`](../interfaces/CameraDevice.md) 列表。 #### 回傳 `Promise`<[`CameraDevice`](../interfaces/CameraDevice.md)[]\> -array of camera devices on success. +成功時回傳相機設備的陣列。 -#### Defined in +#### 定義於 -[html5-qrcode.ts:767](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L767) +[html5-qrcode.ts:767](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode.ts#L767) \ No newline at end of file diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5QrcodeScanner.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5QrcodeScanner.md index ff5c570..714e04a 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5QrcodeScanner.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/classes/Html5QrcodeScanner.md @@ -159,13 +159,13 @@ ___ ▸ **getState**(): [`Html5QrcodeScannerState`](../enums/Html5QrcodeScannerState.md) -Gets state of the camera scan. +取得相機掃描的狀態。 #### 回傳 [`Html5QrcodeScannerState`](../enums/Html5QrcodeScannerState.md) -state of type [Html5QrcodeScannerState](../enums/Html5QrcodeScannerState.md). +回傳的狀態類型為 [Html5QrcodeScannerState](../enums/Html5QrcodeScannerState.md)。 #### 定義於 @@ -177,20 +177,20 @@ ___ ▸ **pause**(`shouldPauseVideo?`): `void` -Pauses the ongoing scan. +暫停正在進行的掃描。 -Notes: -- Should only be called if camera scan is ongoing. +注意事項: +- 只有在相機掃描進行中時才應該呼叫此方法。 **`Throws`** -error if method is called when scanner is not in scanning state. +當掃描器未處於掃描狀態時呼叫該方法將引發錯誤。 #### 參數 -| Name | Type | Description | +| 名稱 | 類型 | 說明 | | :------ | :------ | :------ | -| `shouldPauseVideo?` | `boolean` | (Optional, default = false) If `true` the video will be paused. | +| `shouldPauseVideo?` | `boolean` | (可選,預設值為 false)如果為 `true`,影片將被暫停。 | #### 回傳 @@ -206,14 +206,14 @@ ___ ▸ **render**(`qrCodeSuccessCallback`, `qrCodeErrorCallback`): `void` -Renders the User Interface. +呈現用戶介面。 #### 參數 -| Name | Type | Description | +| 名稱 | 類型 | 說明 | | :------ | :------ | :------ | -| `qrCodeSuccessCallback` | `QrcodeSuccessCallback` | Callback called when an instance of a QR code or any other supported bar code is found. | -| `qrCodeErrorCallback` | `undefined` \| `QrcodeErrorCallback` | optional, callback called in cases where no instance of QR code or any other supported bar code is found. | +| `qrCodeSuccessCallback` | `QrcodeSuccessCallback` | 當找到 QR 碼或任何其他支持的條形碼時呼叫的回調函數。 | +| `qrCodeErrorCallback` | `undefined` \| `QrcodeErrorCallback` | 可選,當未找到 QR 碼或其他支持的條形碼時呼叫的回調函數。 | #### 回傳 @@ -229,20 +229,18 @@ ___ ▸ **resume**(): `void` -Resumes the paused scan. +恢復已暫停的掃描。 -If the video was previously paused by setting `shouldPauseVideo` -to `true` in [(shouldPauseVideo)](Html5QrcodeScanner.md#pause), -calling this method will resume the video. +如果之前通過設置 `shouldPauseVideo` 為 `true` 而暫停了影片, +呼叫此方法將恢復影片播放。 -Notes: -- Should only be called if camera scan is ongoing. -- With this caller will start getting results in success and error -callbacks. +注意事項: +- 只有在相機掃描進行中時才應該呼叫此方法。 +- 呼叫此方法後,呼叫者將開始在成功和錯誤回調中接收結果。 **`Throws`** -error if method is called when scanner is not in paused state. +當掃描器未處於暫停狀態時呼叫該方法將引發錯誤。 #### 回傳 @@ -250,4 +248,4 @@ error if method is called when scanner is not in paused state. #### 定義於 -[html5-qrcode-scanner.ts:316](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L316) +[html5-qrcode-scanner.ts:316](https://github.com/mebjas/html5-qrcode/blob/600717e/src/html5-qrcode-scanner.ts#L316) \ No newline at end of file diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/readme.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/readme.md index 725c60b..3d39328 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/readme.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/readme.md @@ -4,11 +4,11 @@ sidebar_position: 1 # html5-qrcode -[mebjas/html5-qrcode](https://github.com/mebjas/html5-qrcode) 是一個開源的基於網頁的 QR 碼和條碼掃描庫,由 [mebjas@](https://github.com/mebjas) 在 [Apache License 2.0](https://github.com/mebjas/html5-qrcode/blob/master/LICENSE) 授權下開發。 +[mebjas/html5-qrcode](https://github.com/mebjas/html5-qrcode) 是一個開源的基於網頁的 QR code 和條碼掃描函式庫,由 [mebjas@](https://github.com/mebjas) 在 [Apache License 2.0](https://github.com/mebjas/html5-qrcode/blob/master/LICENSE) 授權下開發。 -> 適用於網頁的輕量級且跨平台的 QR 碼和條碼掃描函式庫, +> 適用於網頁的輕量級且跨平台的 QR code 和條碼掃描函式庫, > -> 使用這個輕量級的函式庫可以輕鬆快速地將 QR 碼、條碼和其他常見條碼掃描功能整合到你的網頁應用程序中。 +> 使用這個輕量級的函式庫可以輕鬆快速地將 QR code 、條碼和其他常見條碼掃描功能整合到你的網頁應用程序中。 支援兩種 API From dff29e3ebeca2529382adcb5755be2366a5f8d7c Mon Sep 17 00:00:00 2001 From: Each Chen Date: Wed, 21 Aug 2024 18:04:54 +0800 Subject: [PATCH 11/11] enum --- .../current/apis/enums/Html5QrcodeScanType.md | 16 +++---- .../apis/enums/Html5QrcodeScannerState.md | 20 ++++---- .../apis/enums/Html5QrcodeSupportedFormats.md | 46 +++++++++---------- 3 files changed, 41 insertions(+), 41 deletions(-) diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeScanType.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeScanType.md index c1c5fb7..06ceb57 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeScanType.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeScanType.md @@ -4,24 +4,24 @@ sidebar_position: 2 [html5-qrcode](../) / Html5QrcodeScanType -# Enumeration: Html5QrcodeScanType +# 列舉:Html5QrcodeScanType -Types of scans supported by the library +此函式庫支援的掃描類型 -## Table of contents +## 目錄 -### Enumeration Members +### 列舉成員 - [SCAN\_TYPE\_CAMERA](Html5QrcodeScanType.md#scan_type_camera) - [SCAN\_TYPE\_FILE](Html5QrcodeScanType.md#scan_type_file) -## Enumeration Members +## 列舉成員 ### SCAN\_TYPE\_CAMERA • **SCAN\_TYPE\_CAMERA** = ``0`` -#### Defined in +#### 定義於 [core.ts:77](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L77) @@ -31,6 +31,6 @@ ___ • **SCAN\_TYPE\_FILE** = ``1`` -#### Defined in +#### 定義於 -[core.ts:78](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L78) +[core.ts:78](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L78) \ No newline at end of file diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeScannerState.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeScannerState.md index 411061f..99cbbba 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeScannerState.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeScannerState.md @@ -4,26 +4,26 @@ sidebar_position: 1 [html5-qrcode](../) / Html5QrcodeScannerState -# Enumeration: Html5QrcodeScannerState +# 列舉:Html5QrcodeScannerState -Different states of scanner +掃描器的不同狀態 -## Table of contents +## 目錄 -### Enumeration Members +### 列舉成員 - [NOT\_STARTED](Html5QrcodeScannerState.md#not_started) - [PAUSED](Html5QrcodeScannerState.md#paused) - [SCANNING](Html5QrcodeScannerState.md#scanning) - [UNKNOWN](Html5QrcodeScannerState.md#unknown) -## Enumeration Members +## 列舉成員 ### NOT\_STARTED • **NOT\_STARTED** = ``1`` -#### Defined in +#### 定義於 [state-manager.ts:14](https://github.com/mebjas/html5-qrcode/blob/600717e/src/state-manager.ts#L14) @@ -33,7 +33,7 @@ ___ • **PAUSED** = ``3`` -#### Defined in +#### 定義於 [state-manager.ts:18](https://github.com/mebjas/html5-qrcode/blob/600717e/src/state-manager.ts#L18) @@ -43,7 +43,7 @@ ___ • **SCANNING** = ``2`` -#### Defined in +#### 定義於 [state-manager.ts:16](https://github.com/mebjas/html5-qrcode/blob/600717e/src/state-manager.ts#L16) @@ -53,6 +53,6 @@ ___ • **UNKNOWN** = ``0`` -#### Defined in +#### 定義於 -[state-manager.ts:11](https://github.com/mebjas/html5-qrcode/blob/600717e/src/state-manager.ts#L11) +[state-manager.ts:11](https://github.com/mebjas/html5-qrcode/blob/600717e/src/state-manager.ts#L11) \ No newline at end of file diff --git a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeSupportedFormats.md b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeSupportedFormats.md index 90d07e2..42b69e7 100644 --- a/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeSupportedFormats.md +++ b/i18n/zh-Hant/docusaurus-plugin-content-docs/current/apis/enums/Html5QrcodeSupportedFormats.md @@ -4,13 +4,13 @@ sidebar_position: 3 [html5-qrcode](../) / Html5QrcodeSupportedFormats -# Enumeration: Html5QrcodeSupportedFormats +# 列舉:Html5QrcodeSupportedFormats -Code formats supported by this library. +此函式庫支援的代碼格式。 -## Table of contents +## 目錄 -### Enumeration Members +### 列舉成員 - [AZTEC](Html5QrcodeSupportedFormats.md#aztec) - [CODABAR](Html5QrcodeSupportedFormats.md#codabar) @@ -30,13 +30,13 @@ Code formats supported by this library. - [UPC\_E](Html5QrcodeSupportedFormats.md#upc_e) - [UPC\_EAN\_EXTENSION](Html5QrcodeSupportedFormats.md#upc_ean_extension) -## Enumeration Members +## 列舉成員 ### AZTEC • **AZTEC** = ``1`` -#### Defined in +#### 定義於 [core.ts:16](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L16) @@ -46,7 +46,7 @@ ___ • **CODABAR** = ``2`` -#### Defined in +#### 定義於 [core.ts:17](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L17) @@ -56,7 +56,7 @@ ___ • **CODE\_128** = ``5`` -#### Defined in +#### 定義於 [core.ts:20](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L20) @@ -66,7 +66,7 @@ ___ • **CODE\_39** = ``3`` -#### Defined in +#### 定義於 [core.ts:18](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L18) @@ -76,7 +76,7 @@ ___ • **CODE\_93** = ``4`` -#### Defined in +#### 定義於 [core.ts:19](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L19) @@ -86,7 +86,7 @@ ___ • **DATA\_MATRIX** = ``6`` -#### Defined in +#### 定義於 [core.ts:21](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L21) @@ -96,7 +96,7 @@ ___ • **EAN\_13** = ``9`` -#### Defined in +#### 定義於 [core.ts:24](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L24) @@ -106,7 +106,7 @@ ___ • **EAN\_8** = ``10`` -#### Defined in +#### 定義於 [core.ts:25](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L25) @@ -116,7 +116,7 @@ ___ • **ITF** = ``8`` -#### Defined in +#### 定義於 [core.ts:23](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L23) @@ -126,7 +126,7 @@ ___ • **MAXICODE** = ``7`` -#### Defined in +#### 定義於 [core.ts:22](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L22) @@ -136,7 +136,7 @@ ___ • **PDF\_417** = ``11`` -#### Defined in +#### 定義於 [core.ts:26](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L26) @@ -146,7 +146,7 @@ ___ • **QR\_CODE** = ``0`` -#### Defined in +#### 定義於 [core.ts:15](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L15) @@ -156,7 +156,7 @@ ___ • **RSS\_14** = ``12`` -#### Defined in +#### 定義於 [core.ts:27](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L27) @@ -166,7 +166,7 @@ ___ • **RSS\_EXPANDED** = ``13`` -#### Defined in +#### 定義於 [core.ts:28](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L28) @@ -176,7 +176,7 @@ ___ • **UPC\_A** = ``14`` -#### Defined in +#### 定義於 [core.ts:29](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L29) @@ -186,7 +186,7 @@ ___ • **UPC\_E** = ``15`` -#### Defined in +#### 定義於 [core.ts:30](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L30) @@ -196,6 +196,6 @@ ___ • **UPC\_EAN\_EXTENSION** = ``16`` -#### Defined in +#### 定義於 -[core.ts:31](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L31) +[core.ts:31](https://github.com/mebjas/html5-qrcode/blob/600717e/src/core.ts#L31) \ No newline at end of file