From d16206a0865bcf89efe754376ecbf8ccfd21cf7e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 19 Oct 2023 16:04:21 +0000 Subject: [PATCH] Apply Version Updates From Current Changes (#8005) Co-authored-by: lucasfernog Co-authored-by: Lucas Nogueira --- .changes/api-primitives.md | 2 +- .changes/pre.json | 28 ++++++++ core/tauri-build/CHANGELOG.md | 15 ++++ core/tauri-build/Cargo.toml | 6 +- core/tauri-codegen/CHANGELOG.md | 14 ++++ core/tauri-codegen/Cargo.toml | 4 +- core/tauri-macros/CHANGELOG.md | 15 ++++ core/tauri-macros/Cargo.toml | 6 +- core/tauri-runtime-wry/CHANGELOG.md | 18 +++++ core/tauri-runtime-wry/Cargo.toml | 6 +- core/tauri-runtime/CHANGELOG.md | 20 ++++++ core/tauri-runtime/Cargo.toml | 4 +- core/tauri-utils/CHANGELOG.md | 13 ++++ core/tauri-utils/Cargo.toml | 2 +- core/tauri/CHANGELOG.md | 44 ++++++++++++ core/tauri/Cargo.toml | 12 ++-- tooling/api/CHANGELOG.md | 18 +++++ tooling/api/docs/js-api.json | 2 +- tooling/api/package.json | 2 +- tooling/bundler/CHANGELOG.md | 10 +++ tooling/bundler/Cargo.toml | 4 +- tooling/cli/CHANGELOG.md | 35 +++++++++ tooling/cli/Cargo.lock | 106 +++++++++++++++++++++++----- tooling/cli/Cargo.toml | 6 +- tooling/cli/metadata-v2.json | 6 +- tooling/cli/node/CHANGELOG.md | 33 +++++++++ tooling/cli/node/package.json | 2 +- 27 files changed, 383 insertions(+), 50 deletions(-) diff --git a/.changes/api-primitives.md b/.changes/api-primitives.md index ea4761aab4b0..fe283807a6b0 100644 --- a/.changes/api-primitives.md +++ b/.changes/api-primitives.md @@ -1,5 +1,5 @@ --- -'@tauri-apps/api': 'major:breaking' +'@tauri-apps/api': 'patch:breaking' --- Changed `tauri` module to `primitives` and removed the undocumented `invoke` export from the root module. diff --git a/.changes/pre.json b/.changes/pre.json index 5e973a069712..0af521740787 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -3,15 +3,25 @@ "changes": [ ".changes/add-command.md", ".changes/add-mobile-to-plugin.md", + ".changes/add-progress-bar.md", ".changes/add-visible-on-all-workspaces.md", + ".changes/always-on-bottom-api.md", + ".changes/always-on-bottom-config.md", + ".changes/always-on-bottom.md", ".changes/android-apis-runtime.md", ".changes/android-buildsrc-gitignore.md", ".changes/android-enhance-method-parse.md", ".changes/android-load-config.md", ".changes/android-on-new-intent.md", ".changes/android-plugin-command-exception.md", + ".changes/api-app.md", ".changes/api-ipc-refactor.md", + ".changes/api-min-node-18.md", + ".changes/api-primitives.md", + ".changes/api-tabbed.md", + ".changes/api-window.md", ".changes/app-builder-send.md", + ".changes/app-plugin-core.md", ".changes/build-android-env-vars.md", ".changes/bump-1.3.md", ".changes/bundler-remove-dialog-option.md", @@ -25,6 +35,7 @@ ".changes/cli-apple-dev-team.md", ".changes/cli-built-in-dev-server-mobile.md", ".changes/cli-config-target-mobile.md", + ".changes/cli-env-vars.md", ".changes/cli-expose-plugin-config.md", ".changes/cli-ios-build.md", ".changes/cli-ios-metadata-env-var.md", @@ -35,10 +46,13 @@ ".changes/cli-mobile-cwd-config.md", ".changes/cli-mobile-dev.md", ".changes/cli-mobile-plugin.md", + ".changes/cli-no-dev-server-wait.md", ".changes/cli-nodejs-detection.md", ".changes/cli-npx-mobile.md", + ".changes/cli-plugin-init.md", ".changes/cli-pnpm.md", ".changes/cli-refactor-ipc-mobile.md", + ".changes/cli-removed-new-version-check.md", ".changes/cli-skip-targets-install.md", ".changes/cli-wry-0-28.md", ".changes/codegen-mobile-devurl.md", @@ -109,6 +123,7 @@ ".changes/invoke-handler-attributes.md", ".changes/invoke-return-bool.md", ".changes/invoke-system-args.md", + ".changes/invoke-system-refactor.md", ".changes/ios-create-asset-dir.md", ".changes/ios-deployment-target.md", ".changes/ios-entitlements.md", @@ -134,6 +149,7 @@ ".changes/mobile-config-naming-conventions.md", ".changes/mobile-config.md", ".changes/mobile-dev-watcher-ignore-gen.md", + ".changes/mobile-docs.md", ".changes/mobile-entry-point-macro.md", ".changes/mobile-env-vars-rename.md", ".changes/mobile-init.md", @@ -158,6 +174,7 @@ ".changes/move-updater.md", ".changes/msrv-1.64.md", ".changes/msrv-1.65.md", + ".changes/msrv-1.70.md", ".changes/napi-rs.md", ".changes/npm-pass-args.md", ".changes/nsis-bulgarian.md", @@ -195,6 +212,7 @@ ".changes/remove-updater-dialog.md", ".changes/remove-updater-event.md", ".changes/remove-window.md", + ".changes/rename-hook-env-vars.md", ".changes/rewrite-android-manifest.md", ".changes/rfd101.md", ".changes/run-event-opened.md", @@ -209,6 +227,7 @@ ".changes/runtime-new-args.md", ".changes/runtime-opened-event.md", ".changes/safepathbuf-refactor.md", + ".changes/set-progress-bar-api.md", ".changes/set_native_icon_signature.md", ".changes/shadow-api.md", ".changes/shadow-config.md", @@ -227,17 +246,25 @@ ".changes/tauri-cleanup-before-exit.md", ".changes/tauri-defaultvbox.md", ".changes/tauri-env-args.md", + ".changes/tauri-env-vars.md", + ".changes/tauri-extranous-result-types-removal.md", ".changes/tauri-libxdo-feat.md", ".changes/tauri-menu-tray-refactor.md", ".changes/tauri-mobile-entry-point.md", ".changes/tauri-nsview.md", ".changes/tauri-run_on_main_thread.md", + ".changes/tauri-runtime-uuid.md", + ".changes/tauri-runtime-wry-env-vars.md", + ".changes/tauri-runtime-wry-uuid.md", ".changes/tauri-runtime-wry-wry-0-28.md", ".changes/tauri-scopes.md", + ".changes/tauri-tabbed.md", ".changes/tauri-tray-icon-feat-flag.md", ".changes/tauri-tray-icon-id.md", ".changes/tauri-tray-on-tray-event.md", + ".changes/tauri-utils-tabbed.md", ".changes/tauri-utils-tray-icon-id copy.md", + ".changes/tauri-uuid-rand.md", ".changes/tempdir-api.md", ".changes/tempdir-core.md", ".changes/tls-features-automatically-enabled.md", @@ -251,6 +278,7 @@ ".changes/window-effects.md", ".changes/window-on-message-refactor.md", ".changes/window-on-navigation-arg.md", + ".changes/window-plugin-core.md", ".changes/with-webview.md", ".changes/wry-0.32.md", ".changes/wry-navigate-method.md", diff --git a/core/tauri-build/CHANGELOG.md b/core/tauri-build/CHANGELOG.md index c28e3734fd9f..04132b1fd98b 100644 --- a/core/tauri-build/CHANGELOG.md +++ b/core/tauri-build/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## \[2.0.0-alpha.10] + +### New Features + +- [`880266a7`](https://www.github.com/tauri-apps/tauri/commit/880266a7f697e1fe58d685de3bb6836ce5251e92)([#8031](https://www.github.com/tauri-apps/tauri/pull/8031)) Bump the MSRV to 1.70. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-alpha.9` +- Upgraded to `tauri-codegen@2.0.0-alpha.9` + +### Breaking Changes + +- [`ebcc21e4`](https://www.github.com/tauri-apps/tauri/commit/ebcc21e4b95f4e8c27639fb1bca545b432f52d5e)([#8057](https://www.github.com/tauri-apps/tauri/pull/8057)) Renamed the beforeDevCommand, beforeBuildCommand and beforeBundleCommand hooks environment variables from `TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG` to `TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG` to differentiate the prefix with other CLI environment variables. + ## \[2.0.0-alpha.9] ### Dependencies diff --git a/core/tauri-build/Cargo.toml b/core/tauri-build/Cargo.toml index 53dff6564a65..8441279f1be8 100644 --- a/core/tauri-build/Cargo.toml +++ b/core/tauri-build/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-build" -version = "2.0.0-alpha.9" +version = "2.0.0-alpha.10" description = "build time code to pair with https://crates.io/crates/tauri" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -19,8 +19,8 @@ rustdoc-args = [ "--cfg", "doc_cfg" ] [dependencies] anyhow = "1" quote = { version = "1", optional = true } -tauri-codegen = { version = "2.0.0-alpha.8", path = "../tauri-codegen", optional = true } -tauri-utils = { version = "2.0.0-alpha.8", path = "../tauri-utils", features = [ "build", "resources" ] } +tauri-codegen = { version = "2.0.0-alpha.9", path = "../tauri-codegen", optional = true } +tauri-utils = { version = "2.0.0-alpha.9", path = "../tauri-utils", features = [ "build", "resources" ] } cargo_toml = "0.15" serde = "1" serde_json = "1" diff --git a/core/tauri-codegen/CHANGELOG.md b/core/tauri-codegen/CHANGELOG.md index d5760df19272..3ee6baa2f40e 100644 --- a/core/tauri-codegen/CHANGELOG.md +++ b/core/tauri-codegen/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## \[2.0.0-alpha.9] + +### New Features + +- [`880266a7`](https://www.github.com/tauri-apps/tauri/commit/880266a7f697e1fe58d685de3bb6836ce5251e92)([#8031](https://www.github.com/tauri-apps/tauri/pull/8031)) Bump the MSRV to 1.70. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-alpha.9` + +### Breaking Changes + +- [`ebcc21e4`](https://www.github.com/tauri-apps/tauri/commit/ebcc21e4b95f4e8c27639fb1bca545b432f52d5e)([#8057](https://www.github.com/tauri-apps/tauri/pull/8057)) Renamed the beforeDevCommand, beforeBuildCommand and beforeBundleCommand hooks environment variables from `TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG` to `TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG` to differentiate the prefix with other CLI environment variables. + ## \[2.0.0-alpha.8] ### Enhancements diff --git a/core/tauri-codegen/Cargo.toml b/core/tauri-codegen/Cargo.toml index e1c93dc57b4d..fc6bf82f18d4 100644 --- a/core/tauri-codegen/Cargo.toml +++ b/core/tauri-codegen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-codegen" -version = "2.0.0-alpha.8" +version = "2.0.0-alpha.9" description = "code generation meant to be consumed inside of `tauri` through `tauri-build` or `tauri-macros`" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -19,7 +19,7 @@ proc-macro2 = "1" quote = "1" serde = { version = "1", features = [ "derive" ] } serde_json = "1" -tauri-utils = { version = "2.0.0-alpha.8", path = "../tauri-utils", features = [ "build" ] } +tauri-utils = { version = "2.0.0-alpha.9", path = "../tauri-utils", features = [ "build" ] } thiserror = "1" walkdir = "2" brotli = { version = "3", optional = true, default-features = false, features = [ "std" ] } diff --git a/core/tauri-macros/CHANGELOG.md b/core/tauri-macros/CHANGELOG.md index 0e52abca8651..eded3a5c5284 100644 --- a/core/tauri-macros/CHANGELOG.md +++ b/core/tauri-macros/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## \[2.0.0-alpha.9] + +### New Features + +- [`880266a7`](https://www.github.com/tauri-apps/tauri/commit/880266a7f697e1fe58d685de3bb6836ce5251e92)([#8031](https://www.github.com/tauri-apps/tauri/pull/8031)) Bump the MSRV to 1.70. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-alpha.9` +- Upgraded to `tauri-codegen@2.0.0-alpha.9` + +### Breaking Changes + +- [`ebcc21e4`](https://www.github.com/tauri-apps/tauri/commit/ebcc21e4b95f4e8c27639fb1bca545b432f52d5e)([#8057](https://www.github.com/tauri-apps/tauri/pull/8057)) Renamed the beforeDevCommand, beforeBuildCommand and beforeBundleCommand hooks environment variables from `TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG` to `TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG` to differentiate the prefix with other CLI environment variables. + ## \[2.0.0-alpha.8] ### Enhancements diff --git a/core/tauri-macros/Cargo.toml b/core/tauri-macros/Cargo.toml index f734cc61df9e..9d9356a9d1bd 100644 --- a/core/tauri-macros/Cargo.toml +++ b/core/tauri-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-macros" -version = "2.0.0-alpha.8" +version = "2.0.0-alpha.9" description = "Macros for the tauri crate." exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -20,8 +20,8 @@ proc-macro2 = "1" quote = "1" syn = { version = "1", features = [ "full" ] } heck = "0.4" -tauri-codegen = { version = "2.0.0-alpha.8", default-features = false, path = "../tauri-codegen" } -tauri-utils = { version = "2.0.0-alpha.8", path = "../tauri-utils" } +tauri-codegen = { version = "2.0.0-alpha.9", default-features = false, path = "../tauri-codegen" } +tauri-utils = { version = "2.0.0-alpha.9", path = "../tauri-utils" } [features] custom-protocol = [ ] diff --git a/core/tauri-runtime-wry/CHANGELOG.md b/core/tauri-runtime-wry/CHANGELOG.md index 512d4ec0a504..dc76a0250cba 100644 --- a/core/tauri-runtime-wry/CHANGELOG.md +++ b/core/tauri-runtime-wry/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## \[1.0.0-alpha.4] + +### New Features + +- [`c085adda`](https://www.github.com/tauri-apps/tauri/commit/c085addab58ba851398373c6fd13f9cb026d71e8)([#8009](https://www.github.com/tauri-apps/tauri/pull/8009)) Added `set_progress_bar` to `Window`. +- [`c1ec0f15`](https://www.github.com/tauri-apps/tauri/commit/c1ec0f155118527361dd5645d920becbc8afd569)([#7933](https://www.github.com/tauri-apps/tauri/pull/7933)) Added `Window::set_always_on_bottom` and the `always_on_bottom` option when creating a window. +- [`880266a7`](https://www.github.com/tauri-apps/tauri/commit/880266a7f697e1fe58d685de3bb6836ce5251e92)([#8031](https://www.github.com/tauri-apps/tauri/pull/8031)) Bump the MSRV to 1.70. + +### Dependencies + +- Upgraded to `tauri-runtime@1.0.0-alpha.3` +- Upgraded to `tauri-utils@2.0.0-alpha.9` + +### Breaking Changes + +- [`8b166e9b`](https://www.github.com/tauri-apps/tauri/commit/8b166e9bf82e69ddb3200a3a825614980bd8d433)([#7949](https://www.github.com/tauri-apps/tauri/pull/7949)) Check if automation is enabled with the `TAURI_WEBVIEW_AUTOMATION` environment variable instead of `TAURI_AUTOMATION`. +- [`2558fab8`](https://www.github.com/tauri-apps/tauri/commit/2558fab861006936296e8511e43ccd69a38f61b0)([#7939](https://www.github.com/tauri-apps/tauri/pull/7939)) Changed `WebviewId` to be an alias for `u32` instead of `u64` + ## \[1.0.0-alpha.3] ### Dependencies diff --git a/core/tauri-runtime-wry/Cargo.toml b/core/tauri-runtime-wry/Cargo.toml index 519a8878ec0b..78a77ba4d48a 100644 --- a/core/tauri-runtime-wry/Cargo.toml +++ b/core/tauri-runtime-wry/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime-wry" -version = "1.0.0-alpha.3" +version = "1.0.0-alpha.4" description = "Wry bindings to the Tauri runtime" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -17,8 +17,8 @@ features = [ "dox" ] [dependencies] wry = { version = "0.33", default-features = false, features = [ "tao", "file-drop", "protocol" ] } -tauri-runtime = { version = "1.0.0-alpha.2", path = "../tauri-runtime" } -tauri-utils = { version = "2.0.0-alpha.8", path = "../tauri-utils" } +tauri-runtime = { version = "1.0.0-alpha.3", path = "../tauri-runtime" } +tauri-utils = { version = "2.0.0-alpha.9", path = "../tauri-utils" } raw-window-handle = "0.5" http = "0.2" diff --git a/core/tauri-runtime/CHANGELOG.md b/core/tauri-runtime/CHANGELOG.md index e1a25afe14b8..2f6141291608 100644 --- a/core/tauri-runtime/CHANGELOG.md +++ b/core/tauri-runtime/CHANGELOG.md @@ -1,5 +1,25 @@ # Changelog +## \[1.0.0-alpha.3] + +### New Features + +- [`c085adda`](https://www.github.com/tauri-apps/tauri/commit/c085addab58ba851398373c6fd13f9cb026d71e8)([#8009](https://www.github.com/tauri-apps/tauri/pull/8009)) Added `set_progress_bar` to `Window`. +- [`c1ec0f15`](https://www.github.com/tauri-apps/tauri/commit/c1ec0f155118527361dd5645d920becbc8afd569)([#7933](https://www.github.com/tauri-apps/tauri/pull/7933)) Added `Window::set_always_on_bottom` and the `always_on_bottom` option when creating a window. +- [`880266a7`](https://www.github.com/tauri-apps/tauri/commit/880266a7f697e1fe58d685de3bb6836ce5251e92)([#8031](https://www.github.com/tauri-apps/tauri/pull/8031)) Bump the MSRV to 1.70. + +### Enhancements + +- [`46dcb941`](https://www.github.com/tauri-apps/tauri/commit/46dcb94110ac16d0d4328fa149bb86975b658f59)([#8006](https://www.github.com/tauri-apps/tauri/pull/8006)) Include mobile on docs.rs targets. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-alpha.9` + +### Breaking Changes + +- [`2558fab8`](https://www.github.com/tauri-apps/tauri/commit/2558fab861006936296e8511e43ccd69a38f61b0)([#7939](https://www.github.com/tauri-apps/tauri/pull/7939)) Added `WindowEventId` type and Changed `Dispatch::on_window_event` return type from `Uuid` to `WindowEventId` + ## \[1.0.0-alpha.2] ### Dependencies diff --git a/core/tauri-runtime/Cargo.toml b/core/tauri-runtime/Cargo.toml index 4ececd303708..e9aac20ea36f 100644 --- a/core/tauri-runtime/Cargo.toml +++ b/core/tauri-runtime/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-runtime" -version = "1.0.0-alpha.2" +version = "1.0.0-alpha.3" description = "Runtime for Tauri applications" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" @@ -28,7 +28,7 @@ targets = [ serde = { version = "1.0", features = [ "derive" ] } serde_json = "1.0" thiserror = "1.0" -tauri-utils = { version = "2.0.0-alpha.8", path = "../tauri-utils" } +tauri-utils = { version = "2.0.0-alpha.9", path = "../tauri-utils" } http = "0.2.4" raw-window-handle = "0.5" url = { version = "2" } diff --git a/core/tauri-utils/CHANGELOG.md b/core/tauri-utils/CHANGELOG.md index 3b5107cbc021..6b04b0be19f4 100644 --- a/core/tauri-utils/CHANGELOG.md +++ b/core/tauri-utils/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## \[2.0.0-alpha.9] + +### New Features + +- [`c085adda`](https://www.github.com/tauri-apps/tauri/commit/c085addab58ba851398373c6fd13f9cb026d71e8)([#8009](https://www.github.com/tauri-apps/tauri/pull/8009)) Added `set_progress_bar` to `Window`. +- [`c1ec0f15`](https://www.github.com/tauri-apps/tauri/commit/c1ec0f155118527361dd5645d920becbc8afd569)([#7933](https://www.github.com/tauri-apps/tauri/pull/7933)) Added the `always_on_bottom` option to the window configuration. +- [`880266a7`](https://www.github.com/tauri-apps/tauri/commit/880266a7f697e1fe58d685de3bb6836ce5251e92)([#8031](https://www.github.com/tauri-apps/tauri/pull/8031)) Bump the MSRV to 1.70. +- [`ed32257d`](https://www.github.com/tauri-apps/tauri/commit/ed32257d044f90b5eb15053efd1667125def2d2b)([#7794](https://www.github.com/tauri-apps/tauri/pull/7794)) On Windows, add `WindowEffect::Tabbed`,`WindowEffect::TabbedDark` and `WindowEffect::TabbedLight` + +### Breaking Changes + +- [`ebcc21e4`](https://www.github.com/tauri-apps/tauri/commit/ebcc21e4b95f4e8c27639fb1bca545b432f52d5e)([#8057](https://www.github.com/tauri-apps/tauri/pull/8057)) Renamed the beforeDevCommand, beforeBuildCommand and beforeBundleCommand hooks environment variables from `TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG` to `TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG` to differentiate the prefix with other CLI environment variables. + ## \[2.0.0-alpha.8] ### Enhancements diff --git a/core/tauri-utils/Cargo.toml b/core/tauri-utils/Cargo.toml index d7c106339d78..a0a8e9bec21f 100644 --- a/core/tauri-utils/Cargo.toml +++ b/core/tauri-utils/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-utils" -version = "2.0.0-alpha.8" +version = "2.0.0-alpha.9" description = "Utilities for Tauri" exclude = [ "CHANGELOG.md", "/target" ] readme = "README.md" diff --git a/core/tauri/CHANGELOG.md b/core/tauri/CHANGELOG.md index a5e2a0bec776..378257203b60 100644 --- a/core/tauri/CHANGELOG.md +++ b/core/tauri/CHANGELOG.md @@ -1,5 +1,49 @@ # Changelog +## \[2.0.0-alpha.16] + +### New Features + +- [`c085adda`](https://www.github.com/tauri-apps/tauri/commit/c085addab58ba851398373c6fd13f9cb026d71e8)([#8009](https://www.github.com/tauri-apps/tauri/pull/8009)) Added `set_progress_bar` to `Window`. +- [`c1ec0f15`](https://www.github.com/tauri-apps/tauri/commit/c1ec0f155118527361dd5645d920becbc8afd569)([#7933](https://www.github.com/tauri-apps/tauri/pull/7933)) Added `Window::set_always_on_bottom` and the `always_on_bottom` option when creating a window. +- [`880266a7`](https://www.github.com/tauri-apps/tauri/commit/880266a7f697e1fe58d685de3bb6836ce5251e92)([#8031](https://www.github.com/tauri-apps/tauri/pull/8031)) Bump the MSRV to 1.70. +- [`ed32257d`](https://www.github.com/tauri-apps/tauri/commit/ed32257d044f90b5eb15053efd1667125def2d2b)([#7794](https://www.github.com/tauri-apps/tauri/pull/7794)) On Windows, add `Effect::Tabbed`,`Effect::TabbedDark` and `Effect::TabbedLight` effects. + +### Enhancements + +- [`46dcb941`](https://www.github.com/tauri-apps/tauri/commit/46dcb94110ac16d0d4328fa149bb86975b658f59)([#8006](https://www.github.com/tauri-apps/tauri/pull/8006)) Include mobile on docs.rs targets. + +### What's Changed + +- [`fb10b879`](https://www.github.com/tauri-apps/tauri/commit/fb10b87970a43320ef4d14564f45e7579b774eaf)([#8039](https://www.github.com/tauri-apps/tauri/pull/8039)) Added the `app` plugin back into core. +- [`c9a9246c`](https://www.github.com/tauri-apps/tauri/commit/c9a9246c37bdf190661355c8ee406dac6c427344)([#8007](https://www.github.com/tauri-apps/tauri/pull/8007)) Added the `window` plugin back into core. + +### Dependencies + +- Upgraded to `tauri-runtime@1.0.0-alpha.3` +- Upgraded to `tauri-runtime-wry@1.0.0-alpha.4` +- Upgraded to `tauri-utils@2.0.0-alpha.9` +- Upgraded to `tauri-build@2.0.0-alpha.10` +- Upgraded to `tauri-macros@2.0.0-alpha.9` + +### Breaking Changes + +- [`a63e71f9`](https://www.github.com/tauri-apps/tauri/commit/a63e71f9799e9bbc82521d2f17b5238fbf690e89)([#7942](https://www.github.com/tauri-apps/tauri/pull/7942)) The initialization script for `Builder::invoke_system` now must initialize the `window.__TAURI_INTERNALS__.postMessage` function instead of `window.__TAURI_POST_MESSAGE__`. +- [`12b8d18b`](https://www.github.com/tauri-apps/tauri/commit/12b8d18bf7ff833047cb87f356fd007d47d082c9)([#7875](https://www.github.com/tauri-apps/tauri/pull/7875)) - Removed `tauri::path::Error` and added its variants to `tauri::Error` + - Removed `tauri::path::Result` and `tauri::plugin::Result` aliases, you should use `tauri::Result` or your own `Result` type. +- [`8b166e9b`](https://www.github.com/tauri-apps/tauri/commit/8b166e9bf82e69ddb3200a3a825614980bd8d433)([#7949](https://www.github.com/tauri-apps/tauri/pull/7949)) Changed `TAURI_AUTOMATION` to `TAURI_WEBVIEW_AUTOMATION` +- [`2558fab8`](https://www.github.com/tauri-apps/tauri/commit/2558fab861006936296e8511e43ccd69a38f61b0)([#7939](https://www.github.com/tauri-apps/tauri/pull/7939)) This release contains a number of breaking changes to improve the consistency of tauri internals and the public facing APIs + and simplifying the types where applicable: + + - Removed `EventHandler` type. + - Added `EventId` type + - Changed `Manager::listen_global` and `Window::listen` to return the new `EventId` type instead of `EventHandler`. + - Removed the return type of `Manager::once_global` and `Window::once` + - Changed `Manager::unlisten` and `Window::unlisten` to take he new `EventId` type. + - Added `tauri::scope::ScopeEventId` + - Changed `FsScope::listen` to return the new `ScopeEventId` instead of `Uuid`. + - Added `FsScope::unlisten` + ## \[2.0.0-alpha.15] ### Enhancements diff --git a/core/tauri/Cargo.toml b/core/tauri/Cargo.toml index 8096a9f5a2f2..a163135b2bd6 100644 --- a/core/tauri/Cargo.toml +++ b/core/tauri/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri" -version = "2.0.0-alpha.15" +version = "2.0.0-alpha.16" description = "Make tiny, secure apps for all desktop platforms with Tauri" exclude = [ "/test", "/.scripts", "CHANGELOG.md", "/target" ] readme = "README.md" @@ -50,10 +50,10 @@ url = { version = "2.4" } anyhow = "1.0" thiserror = "1.0" once_cell = "1" -tauri-runtime = { version = "1.0.0-alpha.2", path = "../tauri-runtime" } -tauri-macros = { version = "2.0.0-alpha.8", path = "../tauri-macros" } -tauri-utils = { version = "2.0.0-alpha.8", features = [ "resources" ], path = "../tauri-utils" } -tauri-runtime-wry = { version = "1.0.0-alpha.3", path = "../tauri-runtime-wry", optional = true } +tauri-runtime = { version = "1.0.0-alpha.3", path = "../tauri-runtime" } +tauri-macros = { version = "2.0.0-alpha.9", path = "../tauri-macros" } +tauri-utils = { version = "2.0.0-alpha.9", features = [ "resources" ], path = "../tauri-utils" } +tauri-runtime-wry = { version = "1.0.0-alpha.4", path = "../tauri-runtime-wry", optional = true } getrandom = "0.2" serde_repr = "0.1" state = "0.6" @@ -110,7 +110,7 @@ swift-rs = "1.0.5" [build-dependencies] heck = "0.4" once_cell = "1" -tauri-build = { path = "../tauri-build/", version = "2.0.0-alpha.9" } +tauri-build = { path = "../tauri-build/", version = "2.0.0-alpha.10" } [dev-dependencies] proptest = "1.2.0" diff --git a/tooling/api/CHANGELOG.md b/tooling/api/CHANGELOG.md index 1dee11a89e99..a2fe63ce7252 100644 --- a/tooling/api/CHANGELOG.md +++ b/tooling/api/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## \[2.0.0-alpha.9] + +### New Features + +- [`c1ec0f15`](https://www.github.com/tauri-apps/tauri/commit/c1ec0f155118527361dd5645d920becbc8afd569)([#7933](https://www.github.com/tauri-apps/tauri/pull/7933)) Added `setAlwaysOnBottom` function on `Window` and the `alwaysOnBottom` option when creating a window. +- [`fb10b879`](https://www.github.com/tauri-apps/tauri/commit/fb10b87970a43320ef4d14564f45e7579b774eaf)([#8039](https://www.github.com/tauri-apps/tauri/pull/8039)) Add the `app` module back. +- [`ed32257d`](https://www.github.com/tauri-apps/tauri/commit/ed32257d044f90b5eb15053efd1667125def2d2b)([#7794](https://www.github.com/tauri-apps/tauri/pull/7794)) On Windows, add `Effect.Tabbed`,`Effect.TabbedDark` and `Effect.TabbedLight` effects. +- [`c9a9246c`](https://www.github.com/tauri-apps/tauri/commit/c9a9246c37bdf190661355c8ee406dac6c427344)([#8007](https://www.github.com/tauri-apps/tauri/pull/8007)) Add the `window` module back. +- [`c085adda`](https://www.github.com/tauri-apps/tauri/commit/c085addab58ba851398373c6fd13f9cb026d71e8)([#8009](https://www.github.com/tauri-apps/tauri/pull/8009)) Added the `setProgressBar` API on the `Window` class. + +### What's Changed + +- [`5c0eeb40`](https://www.github.com/tauri-apps/tauri/commit/5c0eeb40c1003583290ff3aebfa02e2b5f5b9c41)([#7638](https://www.github.com/tauri-apps/tauri/pull/7638)) Updated minimum Node.js version to 18. + +### Breaking Changes + +- [`a63e71f9`](https://www.github.com/tauri-apps/tauri/commit/a63e71f9799e9bbc82521d2f17b5238fbf690e89)([#7942](https://www.github.com/tauri-apps/tauri/pull/7942)) Changed `tauri` module to `primitives` and removed the undocumented `invoke` export from the root module. + ## \[2.0.0-alpha.8] ### Breaking Changes diff --git a/tooling/api/docs/js-api.json b/tooling/api/docs/js-api.json index 323f4cd11f00..5a1440918497 100644 --- a/tooling/api/docs/js-api.json +++ b/tooling/api/docs/js-api.json @@ -1 +1 @@ -{"id":0,"name":"@tauri-apps/api","variant":"project","kind":1,"flags":{},"children":[{"id":592,"name":"app","variant":"declaration","kind":2,"flags":{},"children":[{"id":593,"name":"getName","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":37,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/app.ts#L37"}],"signatures":[{"id":594,"name":"getName","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the application name."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getName } from '@tauri-apps/api/app';\nconst appName = await getName();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"app.ts","line":37,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/app.ts#L37"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":597,"name":"getTauriVersion","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":52,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/app.ts#L52"}],"signatures":[{"id":598,"name":"getTauriVersion","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the Tauri version."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getTauriVersion } from '@tauri-apps/api/app';\nconst tauriVersion = await getTauriVersion();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"app.ts","line":52,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/app.ts#L52"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":595,"name":"getVersion","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":23,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/app.ts#L23"}],"signatures":[{"id":596,"name":"getVersion","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the application version."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getVersion } from '@tauri-apps/api/app';\nconst appVersion = await getVersion();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"app.ts","line":23,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/app.ts#L23"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":601,"name":"hide","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":82,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/app.ts#L82"}],"signatures":[{"id":602,"name":"hide","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Hides the application on macOS."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { hide } from '@tauri-apps/api/app';\nawait hide();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"app.ts","line":82,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/app.ts#L82"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":599,"name":"show","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":67,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/app.ts#L67"}],"signatures":[{"id":600,"name":"show","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Shows the application on macOS. This function does not automatically focus any specific app window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { show } from '@tauri-apps/api/app';\nawait show();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"app.ts","line":67,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/app.ts#L67"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Functions","children":[593,597,595,601,599]}],"sources":[{"fileName":"app.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/app.ts#L1"}]},{"id":1,"name":"dpi","variant":"declaration","kind":2,"flags":{},"children":[{"id":2,"name":"LogicalPosition","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"A position represented in logical pixels."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":3,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"dpi.ts","line":62,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L62"}],"signatures":[{"id":4,"name":"new LogicalPosition","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"dpi.ts","line":62,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L62"}],"parameters":[{"id":5,"name":"x","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}},{"id":6,"name":"y","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":2,"name":"LogicalPosition","package":"@tauri-apps/api"}}]},{"id":7,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":58,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L58"}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"'Logical'"},{"id":8,"name":"x","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":59,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L59"}],"type":{"type":"intrinsic","name":"number"}},{"id":9,"name":"y","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":60,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L60"}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Constructors","children":[3]},{"title":"Properties","children":[7,8,9]}],"sources":[{"fileName":"dpi.ts","line":57,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L57"}]},{"id":10,"name":"LogicalSize","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"A size represented in logical pixels."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":11,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"dpi.ts","line":15,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L15"}],"signatures":[{"id":12,"name":"new LogicalSize","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"dpi.ts","line":15,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L15"}],"parameters":[{"id":13,"name":"width","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}},{"id":14,"name":"height","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":10,"name":"LogicalSize","package":"@tauri-apps/api"}}]},{"id":17,"name":"height","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":13,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L13"}],"type":{"type":"intrinsic","name":"number"}},{"id":15,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":11,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L11"}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"'Logical'"},{"id":16,"name":"width","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":12,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L12"}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Constructors","children":[11]},{"title":"Properties","children":[17,15,16]}],"sources":[{"fileName":"dpi.ts","line":10,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L10"}]},{"id":18,"name":"PhysicalPosition","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"A position represented in physical pixels."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":19,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"dpi.ts","line":78,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L78"}],"signatures":[{"id":20,"name":"new PhysicalPosition","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"dpi.ts","line":78,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L78"}],"parameters":[{"id":21,"name":"x","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}},{"id":22,"name":"y","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}}]},{"id":23,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":74,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L74"}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"'Physical'"},{"id":24,"name":"x","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":75,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L75"}],"type":{"type":"intrinsic","name":"number"}},{"id":25,"name":"y","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":76,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L76"}],"type":{"type":"intrinsic","name":"number"}},{"id":26,"name":"toLogical","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"dpi.ts","line":94,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L94"}],"signatures":[{"id":27,"name":"toLogical","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Converts the physical position to a logical one."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst appWindow = getCurrent();\nconst factor = await appWindow.scaleFactor();\nconst position = await appWindow.innerPosition();\nconst logical = position.toLogical(factor);\n```"}]}]},"sources":[{"fileName":"dpi.ts","line":94,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L94"}],"parameters":[{"id":28,"name":"scaleFactor","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":2,"name":"LogicalPosition","package":"@tauri-apps/api"}}]}],"groups":[{"title":"Constructors","children":[19]},{"title":"Properties","children":[23,24,25]},{"title":"Methods","children":[26]}],"sources":[{"fileName":"dpi.ts","line":73,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L73"}]},{"id":29,"name":"PhysicalSize","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"A size represented in physical pixels."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":30,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"dpi.ts","line":31,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L31"}],"signatures":[{"id":31,"name":"new PhysicalSize","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"dpi.ts","line":31,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L31"}],"parameters":[{"id":32,"name":"width","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}},{"id":33,"name":"height","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}}]},{"id":36,"name":"height","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":29,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L29"}],"type":{"type":"intrinsic","name":"number"}},{"id":34,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":27,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L27"}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"'Physical'"},{"id":35,"name":"width","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":28,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L28"}],"type":{"type":"intrinsic","name":"number"}},{"id":37,"name":"toLogical","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"dpi.ts","line":47,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L47"}],"signatures":[{"id":38,"name":"toLogical","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Converts the physical size to a logical one."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst appWindow = getCurrent();\nconst factor = await appWindow.scaleFactor();\nconst size = await appWindow.innerSize();\nconst logical = size.toLogical(factor);\n```"}]}]},"sources":[{"fileName":"dpi.ts","line":47,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L47"}],"parameters":[{"id":39,"name":"scaleFactor","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":10,"name":"LogicalSize","package":"@tauri-apps/api"}}]}],"groups":[{"title":"Constructors","children":[30]},{"title":"Properties","children":[36,34,35]},{"title":"Methods","children":[37]}],"sources":[{"fileName":"dpi.ts","line":26,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L26"}]}],"groups":[{"title":"Classes","children":[2,10,18,29]}],"sources":[{"fileName":"dpi.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/dpi.ts#L1"}]},{"id":40,"name":"event","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"The event system allows you to emit events to the backend and listen to events from it.\n\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.event`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"children":[{"id":75,"name":"TauriEvent","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"children":[{"id":88,"name":"MENU","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":59,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L59"}],"type":{"type":"literal","value":"tauri://menu"}},{"id":82,"name":"WINDOW_BLUR","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":53,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L53"}],"type":{"type":"literal","value":"tauri://blur"}},{"id":78,"name":"WINDOW_CLOSE_REQUESTED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":49,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L49"}],"type":{"type":"literal","value":"tauri://close-requested"}},{"id":79,"name":"WINDOW_CREATED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":50,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L50"}],"type":{"type":"literal","value":"tauri://window-created"}},{"id":80,"name":"WINDOW_DESTROYED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":51,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L51"}],"type":{"type":"literal","value":"tauri://destroyed"}},{"id":85,"name":"WINDOW_FILE_DROP","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":56,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L56"}],"type":{"type":"literal","value":"tauri://file-drop"}},{"id":87,"name":"WINDOW_FILE_DROP_CANCELLED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":58,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L58"}],"type":{"type":"literal","value":"tauri://file-drop-cancelled"}},{"id":86,"name":"WINDOW_FILE_DROP_HOVER","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":57,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L57"}],"type":{"type":"literal","value":"tauri://file-drop-hover"}},{"id":81,"name":"WINDOW_FOCUS","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":52,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L52"}],"type":{"type":"literal","value":"tauri://focus"}},{"id":77,"name":"WINDOW_MOVED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":48,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L48"}],"type":{"type":"literal","value":"tauri://move"}},{"id":76,"name":"WINDOW_RESIZED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":47,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L47"}],"type":{"type":"literal","value":"tauri://resize"}},{"id":83,"name":"WINDOW_SCALE_FACTOR_CHANGED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":54,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L54"}],"type":{"type":"literal","value":"tauri://scale-change"}},{"id":84,"name":"WINDOW_THEME_CHANGED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":55,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L55"}],"type":{"type":"literal","value":"tauri://theme-changed"}}],"groups":[{"title":"Enumeration Members","children":[88,82,78,79,80,85,87,86,81,77,76,83,84]}],"sources":[{"fileName":"event.ts","line":46,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L46"}]},{"id":41,"name":"Event","variant":"declaration","kind":256,"flags":{},"children":[{"id":42,"name":"event","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name"}]},"sources":[{"fileName":"event.ts","line":16,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L16"}],"type":{"type":"reference","target":55,"name":"EventName","package":"@tauri-apps/api"}},{"id":44,"name":"id","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event identifier used to unlisten"}]},"sources":[{"fileName":"event.ts","line":20,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L20"}],"type":{"type":"intrinsic","name":"number"}},{"id":45,"name":"payload","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event payload"}]},"sources":[{"fileName":"event.ts","line":22,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L22"}],"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}},{"id":43,"name":"windowLabel","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The label of the window that emitted this event."}]},"sources":[{"fileName":"event.ts","line":18,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L18"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[42,44,45,43]}],"sources":[{"fileName":"event.ts","line":14,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L14"}],"typeParameters":[{"id":46,"name":"T","variant":"typeParam","kind":131072,"flags":{}}]},{"id":56,"name":"Options","variant":"declaration","kind":256,"flags":{},"children":[{"id":57,"name":"target","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Label of the window the function targets.\n\nWhen listening to events and using this value,\nonly events triggered by the window with the given label are received.\n\nWhen emitting events, only the window with the given label will receive it."}]},"sources":[{"fileName":"event.ts","line":40,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L40"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[57]}],"sources":[{"fileName":"event.ts","line":31,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L31"}]},{"id":47,"name":"EventCallback","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"event.ts","line":25,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L25"}],"typeParameters":[{"id":51,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"type":{"type":"reflection","declaration":{"id":48,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"event.ts","line":25,"character":24,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L25"}],"signatures":[{"id":49,"name":"__type","variant":"signature","kind":4096,"flags":{},"parameters":[{"id":50,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":41,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Event","package":"@tauri-apps/api"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"id":55,"name":"EventName","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"event.ts","line":29,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L29"}],"type":{"type":"union","types":[{"type":"templateLiteral","head":"","tail":[[{"type":"reference","target":75,"name":"TauriEvent","package":"@tauri-apps/api"},""]]},{"type":"intersection","types":[{"type":"intrinsic","name":"string"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"never"},{"type":"intrinsic","name":"never"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}]}]}},{"id":52,"name":"UnlistenFn","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"event.ts","line":27,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L27"}],"type":{"type":"reflection","declaration":{"id":53,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"event.ts","line":27,"character":18,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L27"}],"signatures":[{"id":54,"name":"__type","variant":"signature","kind":4096,"flags":{},"type":{"type":"intrinsic","name":"void"}}]}}},{"id":70,"name":"emit","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"event.ts","line":164,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L164"}],"signatures":[{"id":71,"name":"emit","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Emits an event to the backend and all Tauri windows."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { emit } from '@tauri-apps/api/event';\nawait emit('frontend-loaded', { loggedIn: true, token: 'authToken' });\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"event.ts","line":164,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L164"}],"parameters":[{"id":72,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":73,"name":"payload","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"intrinsic","name":"unknown"}},{"id":74,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":56,"name":"Options","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":58,"name":"listen","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"event.ts","line":99,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L99"}],"signatures":[{"id":59,"name":"listen","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an event. The event can be either global or window-specific.\nSee "},{"kind":"inline-tag","tag":"@link","text":"windowLabel","target":43,"tsLinkText":""},{"kind":"text","text":" to check the event source."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { listen } from '@tauri-apps/api/event';\nconst unlisten = await listen('error', (event) => {\n console.log(`Got error in window ${event.windowLabel}, payload: ${event.payload}`);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"event.ts","line":99,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L99"}],"typeParameter":[{"id":60,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":61,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"reference","target":55,"name":"EventName","package":"@tauri-apps/api"}},{"id":62,"name":"handler","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event handler callback."}]},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"EventCallback","package":"@tauri-apps/api"}},{"id":63,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":56,"name":"Options","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":64,"name":"once","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"event.ts","line":137,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L137"}],"signatures":[{"id":65,"name":"once","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an one-off event. See "},{"kind":"inline-tag","tag":"@link","text":"listen","target":58,"tsLinkText":""},{"kind":"text","text":" for more information."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { once } from '@tauri-apps/api/event';\ninterface LoadedPayload {\n loggedIn: boolean,\n token: string\n}\nconst unlisten = await once('loaded', (event) => {\n console.log(`App is loaded, loggedIn: ${event.payload.loggedIn}, token: ${event.payload.token}`);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"event.ts","line":137,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L137"}],"typeParameter":[{"id":66,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":67,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"reference","target":55,"name":"EventName","package":"@tauri-apps/api"}},{"id":68,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"EventCallback","package":"@tauri-apps/api"}},{"id":69,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":56,"name":"Options","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Enumerations","children":[75]},{"title":"Interfaces","children":[41,56]},{"title":"Type Aliases","children":[47,55,52]},{"title":"Functions","children":[70,58,64]}],"sources":[{"fileName":"event.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/event.ts#L1"}]},{"id":89,"name":"mocks","variant":"declaration","kind":2,"flags":{},"children":[{"id":101,"name":"clearMocks","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"mocks.ts","line":163,"character":16,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/mocks.ts#L163"}],"signatures":[{"id":102,"name":"clearMocks","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Clears mocked functions/data injected by the other functions in this module.\nWhen using a test runner that doesn't provide a fresh window object for each test, calling this function will reset tauri specific properties.\n\n# Example\n\n"},{"kind":"code","text":"```js\nimport { mockWindows, clearMocks } from \"@tauri-apps/api/mocks\"\n\nafterEach(() => {\n clearMocks()\n})\n\ntest(\"mocked windows\", () => {\n mockWindows(\"main\", \"second\", \"third\");\n\n expect(window.__TAURI_INTERNALS__).toHaveProperty(\"metadata\")\n})\n\ntest(\"no mocked windows\", () => {\n expect(window.__TAURI_INTERNALS__).not.toHaveProperty(\"metadata\")\n})\n```"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"mocks.ts","line":163,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/mocks.ts#L163"}],"type":{"type":"intrinsic","name":"void"}}]},{"id":90,"name":"mockIPC","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"mocks.ts","line":65,"character":16,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/mocks.ts#L65"}],"signatures":[{"id":91,"name":"mockIPC","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Intercepts all IPC requests with the given mock handler.\n\nThis function can be used when testing tauri frontend applications or when running the frontend in a Node.js context during static site generation.\n\n# Examples\n\nTesting setup using vitest:\n"},{"kind":"code","text":"```js\nimport { mockIPC, clearMocks } from \"@tauri-apps/api/mocks\"\nimport { invoke } from \"@tauri-apps/api/primitives\"\n\nafterEach(() => {\n clearMocks()\n})\n\ntest(\"mocked command\", () => {\n mockIPC((cmd, payload) => {\n switch (cmd) {\n case \"add\":\n return (payload.a as number) + (payload.b as number);\n default:\n break;\n }\n });\n\n expect(invoke('add', { a: 12, b: 15 })).resolves.toBe(27);\n})\n```"},{"kind":"text","text":"\n\nThe callback function can also return a Promise:\n"},{"kind":"code","text":"```js\nimport { mockIPC, clearMocks } from \"@tauri-apps/api/mocks\"\nimport { invoke } from \"@tauri-apps/api/primitives\"\n\nafterEach(() => {\n clearMocks()\n})\n\ntest(\"mocked command\", () => {\n mockIPC((cmd, payload) => {\n if(cmd === \"get_data\") {\n return fetch(\"https://example.com/data.json\")\n .then((response) => response.json())\n }\n });\n\n expect(invoke('get_data')).resolves.toBe({ foo: 'bar' });\n})\n```"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"mocks.ts","line":65,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/mocks.ts#L65"}],"parameters":[{"id":92,"name":"cb","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":93,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"mocks.ts","line":66,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/mocks.ts#L66"}],"signatures":[{"id":94,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"mocks.ts","line":66,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/mocks.ts#L66"}],"parameters":[{"id":95,"name":"cmd","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":96,"name":"payload","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"unknown"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}}],"type":{"type":"intrinsic","name":"unknown"}}]}}}],"type":{"type":"intrinsic","name":"void"}}]},{"id":97,"name":"mockWindows","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"mocks.ts","line":127,"character":16,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/mocks.ts#L127"}],"signatures":[{"id":98,"name":"mockWindows","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Mocks one or many window labels.\nIn non-tauri context it is required to call this function *before* using the "},{"kind":"code","text":"`@tauri-apps/api/window`"},{"kind":"text","text":" module.\n\nThis function only mocks the *presence* of windows,\nwindow properties (e.g. width and height) can be mocked like regular IPC calls using the "},{"kind":"code","text":"`mockIPC`"},{"kind":"text","text":" function.\n\n# Examples\n\n"},{"kind":"code","text":"```js\nimport { mockWindows } from \"@tauri-apps/api/mocks\";\nimport { getCurrent } from \"@tauri-apps/api/window\";\n\nmockWindows(\"main\", \"second\", \"third\");\n\nconst win = getCurrent();\n\nwin.label // \"main\"\n```"},{"kind":"text","text":"\n\n"},{"kind":"code","text":"```js\nimport { mockWindows } from \"@tauri-apps/api/mocks\";\n\nmockWindows(\"main\", \"second\", \"third\");\n\nmockIPC((cmd, args) => {\n if (cmd === \"plugin:event|emit\") {\n console.log('emit event', args?.event, args?.payload);\n }\n});\n\nconst { emit } = await import(\"@tauri-apps/api/event\");\nawait emit('loaded'); // this will cause the mocked IPC handler to log to the console.\n```"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"mocks.ts","line":127,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/mocks.ts#L127"}],"parameters":[{"id":99,"name":"current","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Label of window this JavaScript context is running in."}]},"type":{"type":"intrinsic","name":"string"}},{"id":100,"name":"additionalWindows","variant":"param","kind":32768,"flags":{"isRest":true},"comment":{"summary":[{"kind":"text","text":"Label of additional windows the app has."}]},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"intrinsic","name":"void"}}]}],"groups":[{"title":"Functions","children":[101,90,97]}],"sources":[{"fileName":"mocks.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/mocks.ts#L1"}]},{"id":103,"name":"path","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"The path module provides utilities for working with file and directory paths.\n\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.path`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":".\n\nIt is recommended to allowlist only the APIs you use for optimal bundle size and security."}]},"children":[{"id":104,"name":"BaseDirectory","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":120,"name":"AppCache","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":35,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L35"}],"type":{"type":"literal","value":16}},{"id":117,"name":"AppConfig","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":32,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L32"}],"type":{"type":"literal","value":13}},{"id":118,"name":"AppData","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":33,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L33"}],"type":{"type":"literal","value":14}},{"id":119,"name":"AppLocalData","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":34,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L34"}],"type":{"type":"literal","value":15}},{"id":121,"name":"AppLog","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":36,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L36"}],"type":{"type":"literal","value":17}},{"id":105,"name":"Audio","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":20,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L20"}],"type":{"type":"literal","value":1}},{"id":106,"name":"Cache","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":21,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L21"}],"type":{"type":"literal","value":2}},{"id":107,"name":"Config","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":22,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L22"}],"type":{"type":"literal","value":3}},{"id":108,"name":"Data","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":23,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L23"}],"type":{"type":"literal","value":4}},{"id":122,"name":"Desktop","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":38,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L38"}],"type":{"type":"literal","value":18}},{"id":110,"name":"Document","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":25,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L25"}],"type":{"type":"literal","value":6}},{"id":111,"name":"Download","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":26,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L26"}],"type":{"type":"literal","value":7}},{"id":123,"name":"Executable","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":39,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L39"}],"type":{"type":"literal","value":19}},{"id":124,"name":"Font","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":40,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L40"}],"type":{"type":"literal","value":20}},{"id":125,"name":"Home","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":41,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L41"}],"type":{"type":"literal","value":21}},{"id":109,"name":"LocalData","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":24,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L24"}],"type":{"type":"literal","value":5}},{"id":112,"name":"Picture","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":27,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L27"}],"type":{"type":"literal","value":8}},{"id":113,"name":"Public","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":28,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L28"}],"type":{"type":"literal","value":9}},{"id":115,"name":"Resource","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":30,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L30"}],"type":{"type":"literal","value":11}},{"id":126,"name":"Runtime","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":42,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L42"}],"type":{"type":"literal","value":22}},{"id":116,"name":"Temp","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":31,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L31"}],"type":{"type":"literal","value":12}},{"id":127,"name":"Template","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":43,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L43"}],"type":{"type":"literal","value":23}},{"id":114,"name":"Video","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":29,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L29"}],"type":{"type":"literal","value":10}}],"groups":[{"title":"Enumeration Members","children":[120,117,118,119,121,105,106,107,108,122,110,111,123,124,125,109,112,113,115,126,116,127,114]}],"sources":[{"fileName":"path.ts","line":19,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L19"}]},{"id":134,"name":"appCacheDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":108,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L108"}],"signatures":[{"id":135,"name":"appCacheDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's cache files.\nResolves to "},{"kind":"code","text":"`${cacheDir}/${bundleIdentifier}`"},{"kind":"text","text":", where "},{"kind":"code","text":"`bundleIdentifier`"},{"kind":"text","text":" is the value ["},{"kind":"code","text":"`tauri.bundle.identifier`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#bundleconfig.identifier) is configured in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appCacheDir } from '@tauri-apps/api/path';\nconst appCacheDirPath = await appCacheDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":108,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L108"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":128,"name":"appConfigDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":57,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L57"}],"signatures":[{"id":129,"name":"appConfigDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's config files.\nResolves to "},{"kind":"code","text":"`${configDir}/${bundleIdentifier}`"},{"kind":"text","text":", where "},{"kind":"code","text":"`bundleIdentifier`"},{"kind":"text","text":" is the value ["},{"kind":"code","text":"`tauri.bundle.identifier`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#bundleconfig.identifier) is configured in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appConfigDir } from '@tauri-apps/api/path';\nconst appConfigDirPath = await appConfigDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":57,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L57"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":130,"name":"appDataDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":74,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L74"}],"signatures":[{"id":131,"name":"appDataDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's data files.\nResolves to "},{"kind":"code","text":"`${dataDir}/${bundleIdentifier}`"},{"kind":"text","text":", where "},{"kind":"code","text":"`bundleIdentifier`"},{"kind":"text","text":" is the value ["},{"kind":"code","text":"`tauri.bundle.identifier`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#bundleconfig.identifier) is configured in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appDataDir } from '@tauri-apps/api/path';\nconst appDataDirPath = await appDataDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":74,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L74"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":132,"name":"appLocalDataDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":91,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L91"}],"signatures":[{"id":133,"name":"appLocalDataDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's local data files.\nResolves to "},{"kind":"code","text":"`${localDataDir}/${bundleIdentifier}`"},{"kind":"text","text":", where "},{"kind":"code","text":"`bundleIdentifier`"},{"kind":"text","text":" is the value ["},{"kind":"code","text":"`tauri.bundle.identifier`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#bundleconfig.identifier) is configured in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appLocalDataDir } from '@tauri-apps/api/path';\nconst appLocalDataDirPath = await appLocalDataDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":91,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L91"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":136,"name":"appLogDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":520,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L520"}],"signatures":[{"id":137,"name":"appLogDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's log files.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`${configDir}/${bundleIdentifier}/logs`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`${homeDir}/Library/Logs/{bundleIdentifier}`"},{"kind":"text","text":"\n- **Windows:** Resolves to "},{"kind":"code","text":"`${configDir}/${bundleIdentifier}/logs`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appLogDir } from '@tauri-apps/api/path';\nconst appLogDirPath = await appLogDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":520,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L520"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":138,"name":"audioDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":130,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L130"}],"signatures":[{"id":139,"name":"audioDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's audio directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_MUSIC_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Music`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Music}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { audioDir } from '@tauri-apps/api/path';\nconst audioDirPath = await audioDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":130,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L130"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":194,"name":"basename","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":653,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L653"}],"signatures":[{"id":195,"name":"basename","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the last portion of a "},{"kind":"code","text":"`path`"},{"kind":"text","text":". Trailing directory separators are ignored."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { basename, resolveResource } from '@tauri-apps/api/path';\nconst resourcePath = await resolveResource('app.conf');\nconst base = await basename(resourcePath);\nassert(base === 'app.conf');\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":653,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L653"}],"parameters":[{"id":196,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":197,"name":"ext","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"An optional file extension to be removed from the returned path."}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":140,"name":"cacheDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":152,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L152"}],"signatures":[{"id":141,"name":"cacheDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's cache directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_CACHE_HOME`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.cache`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Caches`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_LocalAppData}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { cacheDir } from '@tauri-apps/api/path';\nconst cacheDirPath = await cacheDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":152,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L152"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":142,"name":"configDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":174,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L174"}],"signatures":[{"id":143,"name":"configDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's config directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_CONFIG_HOME`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.config`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Application Support`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_RoamingAppData}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { configDir } from '@tauri-apps/api/path';\nconst configDirPath = await configDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":174,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L174"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":144,"name":"dataDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":196,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L196"}],"signatures":[{"id":145,"name":"dataDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's data directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_DATA_HOME`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.local/share`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Application Support`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_RoamingAppData}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { dataDir } from '@tauri-apps/api/path';\nconst dataDirPath = await dataDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":196,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L196"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":177,"name":"delimiter","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":560,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L560"}],"signatures":[{"id":178,"name":"delimiter","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the platform-specific path segment delimiter:\n- "},{"kind":"code","text":"`;`"},{"kind":"text","text":" on Windows\n- "},{"kind":"code","text":"`:`"},{"kind":"text","text":" on POSIX"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"path.ts","line":560,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L560"}],"type":{"type":"intrinsic","name":"string"}}]},{"id":146,"name":"desktopDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":218,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L218"}],"signatures":[{"id":147,"name":"desktopDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's desktop directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_DESKTOP_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Desktop`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Desktop}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { desktopDir } from '@tauri-apps/api/path';\nconst desktopPath = await desktopDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":218,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L218"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":188,"name":"dirname","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":619,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L619"}],"signatures":[{"id":189,"name":"dirname","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the directory name of a "},{"kind":"code","text":"`path`"},{"kind":"text","text":". Trailing directory separators are ignored."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { dirname, appDataDir } from '@tauri-apps/api/path';\nconst appDataDirPath = await appDataDir();\nconst dir = await dirname(appDataDirPath);\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":619,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L619"}],"parameters":[{"id":190,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":148,"name":"documentDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":240,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L240"}],"signatures":[{"id":149,"name":"documentDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's document directory."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { documentDir } from '@tauri-apps/api/path';\nconst documentDirPath = await documentDir();\n```"},{"kind":"text","text":"\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_DOCUMENTS_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Documents`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Documents}`"},{"kind":"text","text":"."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":240,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L240"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":150,"name":"downloadDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":262,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L262"}],"signatures":[{"id":151,"name":"downloadDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's download directory.\n\n#### Platform-specific\n\n- **Linux**: Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_DOWNLOAD_DIR`"},{"kind":"text","text":".\n- **macOS**: Resolves to "},{"kind":"code","text":"`$HOME/Downloads`"},{"kind":"text","text":".\n- **Windows**: Resolves to "},{"kind":"code","text":"`{FOLDERID_Downloads}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { downloadDir } from '@tauri-apps/api/path';\nconst downloadDirPath = await downloadDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":262,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L262"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":152,"name":"executableDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":284,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L284"}],"signatures":[{"id":153,"name":"executableDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's executable directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_BIN_HOME/../bin`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$XDG_DATA_HOME/../bin`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.local/bin`"},{"kind":"text","text":".\n- **macOS:** Not supported.\n- **Windows:** Not supported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { executableDir } from '@tauri-apps/api/path';\nconst executableDirPath = await executableDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":284,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L284"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":191,"name":"extname","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":635,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L635"}],"signatures":[{"id":192,"name":"extname","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the extension of the "},{"kind":"code","text":"`path`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { extname, resolveResource } from '@tauri-apps/api/path';\nconst resourcePath = await resolveResource('app.conf');\nconst ext = await extname(resourcePath);\nassert(ext === 'conf');\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":635,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L635"}],"parameters":[{"id":193,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":154,"name":"fontDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":306,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L306"}],"signatures":[{"id":155,"name":"fontDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's font directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_DATA_HOME/fonts`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.local/share/fonts`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Fonts`"},{"kind":"text","text":".\n- **Windows:** Not supported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { fontDir } from '@tauri-apps/api/path';\nconst fontDirPath = await fontDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":306,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L306"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":156,"name":"homeDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":328,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L328"}],"signatures":[{"id":157,"name":"homeDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's home directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$HOME`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Profile}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { homeDir } from '@tauri-apps/api/path';\nconst homeDirPath = await homeDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":328,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L328"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":198,"name":"isAbsolute","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":667,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L667"}],"signatures":[{"id":199,"name":"isAbsolute","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns whether the path is absolute or not."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { isAbsolute } from '@tauri-apps/api/path';\nassert(await isAbsolute('/home/tauri'));\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":667,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L667"}],"parameters":[{"id":200,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":185,"name":"join","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":604,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L604"}],"signatures":[{"id":186,"name":"join","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Joins all given "},{"kind":"code","text":"`path`"},{"kind":"text","text":" segments together using the platform-specific separator as a delimiter, then normalizes the resulting path."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { join, appDataDir } from '@tauri-apps/api/path';\nconst appDataDirPath = await appDataDir();\nconst path = await join(appDataDirPath, 'users', 'tauri', 'avatar.png');\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":604,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L604"}],"parameters":[{"id":187,"name":"paths","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":158,"name":"localDataDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":350,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L350"}],"signatures":[{"id":159,"name":"localDataDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's local data directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_DATA_HOME`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.local/share`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Application Support`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_LocalAppData}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { localDataDir } from '@tauri-apps/api/path';\nconst localDataDirPath = await localDataDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":350,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L350"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":182,"name":"normalize","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":589,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L589"}],"signatures":[{"id":183,"name":"normalize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Normalizes the given "},{"kind":"code","text":"`path`"},{"kind":"text","text":", resolving "},{"kind":"code","text":"`'..'`"},{"kind":"text","text":" and "},{"kind":"code","text":"`'.'`"},{"kind":"text","text":" segments and resolve symbolic links."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { normalize, appDataDir } from '@tauri-apps/api/path';\nconst appDataDirPath = await appDataDir();\nconst path = await normalize(appDataDirPath, '..', 'users', 'tauri', 'avatar.png');\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":589,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L589"}],"parameters":[{"id":184,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":160,"name":"pictureDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":372,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L372"}],"signatures":[{"id":161,"name":"pictureDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's picture directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_PICTURES_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Pictures`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Pictures}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { pictureDir } from '@tauri-apps/api/path';\nconst pictureDirPath = await pictureDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":372,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L372"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":162,"name":"publicDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":394,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L394"}],"signatures":[{"id":163,"name":"publicDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's public directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_PUBLICSHARE_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Public`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Public}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { publicDir } from '@tauri-apps/api/path';\nconst publicDirPath = await publicDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":394,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L394"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":179,"name":"resolve","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":574,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L574"}],"signatures":[{"id":180,"name":"resolve","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Resolves a sequence of "},{"kind":"code","text":"`paths`"},{"kind":"text","text":" or "},{"kind":"code","text":"`path`"},{"kind":"text","text":" segments into an absolute path."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { resolve, appDataDir } from '@tauri-apps/api/path';\nconst appDataDirPath = await appDataDir();\nconst path = await resolve(appDataDirPath, '..', 'users', 'tauri', 'avatar.png');\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":574,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L574"}],"parameters":[{"id":181,"name":"paths","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":166,"name":"resolveResource","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":431,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L431"}],"signatures":[{"id":167,"name":"resolveResource","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Resolve the path to a resource file."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { resolveResource } from '@tauri-apps/api/path';\nconst resourcePath = await resolveResource('script.sh');\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The full path to the resource."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":431,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L431"}],"parameters":[{"id":168,"name":"resourcePath","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The path to the resource.\nMust follow the same syntax as defined in "},{"kind":"code","text":"`tauri.conf.json > tauri > bundle > resources`"},{"kind":"text","text":", i.e. keeping subfolders and parent dir components ("},{"kind":"code","text":"`../`"},{"kind":"text","text":")."}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":164,"name":"resourceDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":411,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L411"}],"signatures":[{"id":165,"name":"resourceDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the application's resource directory.\nTo resolve a resource path, see the [[resolveResource | "},{"kind":"code","text":"`resolveResource API`"},{"kind":"text","text":"]]."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { resourceDir } from '@tauri-apps/api/path';\nconst resourceDirPath = await resourceDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":411,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L411"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":169,"name":"runtimeDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":454,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L454"}],"signatures":[{"id":170,"name":"runtimeDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's runtime directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_RUNTIME_DIR`"},{"kind":"text","text":".\n- **macOS:** Not supported.\n- **Windows:** Not supported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { runtimeDir } from '@tauri-apps/api/path';\nconst runtimeDirPath = await runtimeDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":454,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L454"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":175,"name":"sep","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":549,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L549"}],"signatures":[{"id":176,"name":"sep","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the platform-specific path segment separator:\n- "},{"kind":"code","text":"`\\` on Windows\n- `"},{"kind":"text","text":"/` on POSIX"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"path.ts","line":549,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L549"}],"type":{"type":"intrinsic","name":"string"}}]},{"id":201,"name":"tempDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":536,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L536"}],"signatures":[{"id":202,"name":"tempDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns a temporary directory."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { tempDir } from '@tauri-apps/api/path';\nconst temp = await tempDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"path.ts","line":536,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L536"}],"parameters":[{"id":203,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":171,"name":"templateDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":476,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L476"}],"signatures":[{"id":172,"name":"templateDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's template directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_TEMPLATES_DIR`"},{"kind":"text","text":".\n- **macOS:** Not supported.\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Templates}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { templateDir } from '@tauri-apps/api/path';\nconst templateDirPath = await templateDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":476,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L476"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":173,"name":"videoDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":498,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L498"}],"signatures":[{"id":174,"name":"videoDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's video directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_VIDEOS_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Movies`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Videos}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { videoDir } from '@tauri-apps/api/path';\nconst videoDirPath = await videoDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":498,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L498"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Enumerations","children":[104]},{"title":"Functions","children":[134,128,130,132,136,138,194,140,142,144,177,146,188,148,150,152,191,154,156,198,185,158,182,160,162,179,166,164,169,175,201,171,173]}],"sources":[{"fileName":"path.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/path.ts#L1"}]},{"id":204,"name":"primitives","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Invoke your custom commands.\n\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.tauri`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"children":[{"id":216,"name":"Channel","variant":"declaration","kind":128,"flags":{},"children":[{"id":217,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"primitives.ts","line":35,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L35"}],"signatures":[{"id":218,"name":"new Channel","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"primitives.ts","line":35,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L35"}],"typeParameter":[{"id":219,"name":"T","variant":"typeParam","kind":131072,"flags":{},"default":{"type":"intrinsic","name":"unknown"}}],"type":{"type":"reference","target":216,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Channel","package":"@tauri-apps/api"}}]},{"id":222,"name":"#onmessage","variant":"declaration","kind":1024,"flags":{"isPrivate":true},"sources":[{"fileName":"primitives.ts","line":31,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L31"}],"type":{"type":"reflection","declaration":{"id":223,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":31,"character":14,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L31"}],"signatures":[{"id":224,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":31,"character":14,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L31"}],"parameters":[{"id":225,"name":"response","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"void"}}]}},"defaultValue":"..."},{"id":221,"name":"__TAURI_CHANNEL_MARKER__","variant":"declaration","kind":1024,"flags":{"isPrivate":true,"isReadonly":true},"sources":[{"fileName":"primitives.ts","line":30,"character":19,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L30"}],"type":{"type":"literal","value":true},"defaultValue":"true"},{"id":220,"name":"id","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":28,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L28"}],"type":{"type":"intrinsic","name":"number"}},{"id":226,"name":"onmessage","variant":"declaration","kind":262144,"flags":{},"sources":[{"fileName":"primitives.ts","line":41,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L41"},{"fileName":"primitives.ts","line":45,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L45"}],"getSignature":{"id":227,"name":"onmessage","variant":"signature","kind":524288,"flags":{},"sources":[{"fileName":"primitives.ts","line":45,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L45"}],"type":{"type":"reflection","declaration":{"id":228,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":45,"character":19,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L45"}],"signatures":[{"id":229,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":45,"character":19,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L45"}],"parameters":[{"id":230,"name":"response","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"void"}}]}}},"setSignature":{"id":231,"name":"onmessage","variant":"signature","kind":1048576,"flags":{},"sources":[{"fileName":"primitives.ts","line":41,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L41"}],"parameters":[{"id":232,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":233,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":41,"character":25,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L41"}],"signatures":[{"id":234,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":41,"character":25,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L41"}],"parameters":[{"id":235,"name":"response","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"intrinsic","name":"void"}}},{"id":236,"name":"toJSON","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"primitives.ts","line":49,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L49"}],"signatures":[{"id":237,"name":"toJSON","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":49,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L49"}],"type":{"type":"intrinsic","name":"string"}}]}],"groups":[{"title":"Constructors","children":[217]},{"title":"Properties","children":[222,221,220]},{"title":"Accessors","children":[226]},{"title":"Methods","children":[236]}],"sources":[{"fileName":"primitives.ts","line":27,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L27"}],"typeParameters":[{"id":238,"name":"T","variant":"typeParam","kind":131072,"flags":{},"default":{"type":"intrinsic","name":"unknown"}}]},{"id":239,"name":"PluginListener","variant":"declaration","kind":128,"flags":{},"children":[{"id":240,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"primitives.ts","line":59,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L59"}],"signatures":[{"id":241,"name":"new PluginListener","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"primitives.ts","line":59,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L59"}],"parameters":[{"id":242,"name":"plugin","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":243,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":244,"name":"channelId","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":239,"name":"PluginListener","package":"@tauri-apps/api"}}]},{"id":247,"name":"channelId","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":57,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L57"}],"type":{"type":"intrinsic","name":"number"}},{"id":246,"name":"event","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":56,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L56"}],"type":{"type":"intrinsic","name":"string"}},{"id":245,"name":"plugin","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":55,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L55"}],"type":{"type":"intrinsic","name":"string"}},{"id":248,"name":"unregister","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"primitives.ts","line":65,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L65"}],"signatures":[{"id":249,"name":"unregister","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":65,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L65"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Constructors","children":[240]},{"title":"Properties","children":[247,246,245]},{"title":"Methods","children":[248]}],"sources":[{"fileName":"primitives.ts","line":54,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L54"}]},{"id":206,"name":"InvokeOptions","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":207,"name":"headers","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":103,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L103"}],"type":{"type":"union","types":[{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"string"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.dom.d.ts","qualifiedName":"Headers"},"name":"Headers","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/API/Headers"}]}}],"groups":[{"title":"Properties","children":[207]}],"sources":[{"fileName":"primitives.ts","line":102,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L102"}]},{"id":205,"name":"InvokeArgs","variant":"declaration","kind":4194304,"flags":{},"comment":{"summary":[{"kind":"text","text":"Command arguments."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"primitives.ts","line":97,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L97"}],"type":{"type":"union","types":[{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"unknown"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"},{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"ArrayBuffer"},"name":"ArrayBuffer","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Uint8Array"},"name":"Uint8Array","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array"}]}},{"id":250,"name":"addPluginListener","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"primitives.ts","line":80,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L80"}],"signatures":[{"id":251,"name":"addPluginListener","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Adds a listener to a plugin event."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"The listener object to stop listening to the events."}]},{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"primitives.ts","line":80,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L80"}],"typeParameter":[{"id":252,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":253,"name":"plugin","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":254,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":255,"name":"cb","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":256,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":83,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L83"}],"signatures":[{"id":257,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":83,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L83"}],"parameters":[{"id":258,"name":"payload","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":239,"name":"PluginListener","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":265,"name":"convertFileSrc","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"primitives.ts","line":159,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L159"}],"signatures":[{"id":266,"name":"convertFileSrc","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Convert a device file path to an URL that can be loaded by the webview.\nNote that "},{"kind":"code","text":"`asset:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`http://asset.localhost`"},{"kind":"text","text":" must be added to ["},{"kind":"code","text":"`tauri.security.csp`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#securityconfig.csp) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":".\nExample CSP value: "},{"kind":"code","text":"`\"csp\": \"default-src 'self' ipc: http://ipc.localhost; img-src 'self' asset: http://asset.localhost\"`"},{"kind":"text","text":" to use the asset protocol on image sources.\n\nAdditionally, "},{"kind":"code","text":"`asset`"},{"kind":"text","text":" must be added to ["},{"kind":"code","text":"`tauri.allowlist.protocol`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#allowlistconfig.protocol)\nin "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" and its access scope must be defined on the "},{"kind":"code","text":"`assetScope`"},{"kind":"text","text":" array on the same "},{"kind":"code","text":"`protocol`"},{"kind":"text","text":" object."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appDataDir, join } from '@tauri-apps/api/path';\nimport { convertFileSrc } from '@tauri-apps/api/primitives';\nconst appDataDirPath = await appDataDir();\nconst filePath = await join(appDataDirPath, 'assets/video.mp4');\nconst assetUrl = convertFileSrc(filePath);\n\nconst video = document.getElementById('my-video');\nconst source = document.createElement('source');\nsource.type = 'video/mp4';\nsource.src = assetUrl;\nvideo.appendChild(source);\nvideo.load();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"the URL that can be used as source on the webview."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"primitives.ts","line":159,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L159"}],"parameters":[{"id":267,"name":"filePath","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The file path."}]},"type":{"type":"intrinsic","name":"string"}},{"id":268,"name":"protocol","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The protocol to use. Defaults to "},{"kind":"code","text":"`asset`"},{"kind":"text","text":". You only need to set this when using a custom protocol."}]},"type":{"type":"intrinsic","name":"string"},"defaultValue":"'asset'"}],"type":{"type":"intrinsic","name":"string"}}]},{"id":259,"name":"invoke","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"primitives.ts","line":121,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L121"}],"signatures":[{"id":260,"name":"invoke","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sends a message to the backend."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { invoke } from '@tauri-apps/api/primitives';\nawait invoke('login', { user: 'tauri', password: 'poiwe3h4r5ip3yrhtew9ty' });\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving or rejecting to the backend response."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"primitives.ts","line":121,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L121"}],"typeParameter":[{"id":261,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":262,"name":"cmd","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The command name."}]},"type":{"type":"intrinsic","name":"string"}},{"id":263,"name":"args","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The optional arguments to pass to the command."}]},"type":{"type":"reference","target":205,"name":"InvokeArgs","package":"@tauri-apps/api"},"defaultValue":"{}"},{"id":264,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The request options."}]},"type":{"type":"reference","target":206,"name":"InvokeOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":208,"name":"transformCallback","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"primitives.ts","line":20,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L20"}],"signatures":[{"id":209,"name":"transformCallback","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Transforms a callback function to a string identifier that can be passed to the backend.\nThe backend uses the identifier to "},{"kind":"code","text":"`eval()`"},{"kind":"text","text":" the callback."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A unique identifier associated with the callback function."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"primitives.ts","line":20,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L20"}],"typeParameter":[{"id":210,"name":"T","variant":"typeParam","kind":131072,"flags":{},"default":{"type":"intrinsic","name":"unknown"}}],"parameters":[{"id":211,"name":"callback","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reflection","declaration":{"id":212,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":21,"character":13,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L21"}],"signatures":[{"id":213,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":21,"character":13,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L21"}],"parameters":[{"id":214,"name":"response","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"id":215,"name":"once","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false"}],"type":{"type":"intrinsic","name":"number"}}]}],"groups":[{"title":"Classes","children":[216,239]},{"title":"Interfaces","children":[206]},{"title":"Type Aliases","children":[205]},{"title":"Functions","children":[250,265,259,208]}],"sources":[{"fileName":"primitives.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/primitives.ts#L1"}]},{"id":269,"name":"window","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Provides APIs to create windows, communicate with other windows and manipulate the current window.\n\n## Window events\n\nEvents can be listened to using "},{"kind":"inline-tag","tag":"@link","text":"listen","target":303},{"kind":"text","text":":\n"},{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\ngetCurrent().listen(\"my-window-event\", ({ event, payload }) => { });\n```"}]},"children":[{"id":605,"name":"LogicalPosition","variant":"reference","kind":8388608,"flags":{},"sources":[{"fileName":"window.ts","line":2170,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2170"}],"target":2},{"id":603,"name":"LogicalSize","variant":"reference","kind":8388608,"flags":{},"sources":[{"fileName":"window.ts","line":2168,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2168"}],"target":10},{"id":606,"name":"PhysicalPosition","variant":"reference","kind":8388608,"flags":{},"sources":[{"fileName":"window.ts","line":2171,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2171"}],"target":18},{"id":604,"name":"PhysicalSize","variant":"reference","kind":8388608,"flags":{},"sources":[{"fileName":"window.ts","line":2169,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2169"}],"target":29},{"id":501,"name":"Effect","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[{"kind":"text","text":"Platform-specific window effects"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":523,"name":"Acrylic","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**Windows 10/11**\n\n## Notes\n\nThis effect has bad performance when resizing/dragging the window on Windows 10 v1903+ and Windows 11 build 22000."}]},"sources":[{"fileName":"window.ts","line":1901,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1901"}],"type":{"type":"literal","value":"acrylic"}},{"id":502,"name":"AppearanceBased","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"A default material appropriate for the view's effectiveAppearance. **macOS 10.14-**"}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since macOS 10.14. You should instead choose an appropriate semantic material."}]}]},"sources":[{"fileName":"window.ts","line":1801,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1801"}],"type":{"type":"literal","value":"appearanceBased"}},{"id":522,"name":"Blur","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**Windows 7/10/11(22H1) Only**\n\n## Notes\n\nThis effect has bad performance when resizing/dragging the window on Windows 11 build 22621."}]},"sources":[{"fileName":"window.ts","line":1893,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1893"}],"type":{"type":"literal","value":"blur"}},{"id":518,"name":"ContentBackground","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1873,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1873"}],"type":{"type":"literal","value":"contentBackground"}},{"id":504,"name":"Dark","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14-**"}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since macOS 10.14. Use a semantic material instead."}]}]},"sources":[{"fileName":"window.ts","line":1813,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1813"}],"type":{"type":"literal","value":"dark"}},{"id":516,"name":"FullScreenUI","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1865,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1865"}],"type":{"type":"literal","value":"fullScreenUI"}},{"id":512,"name":"HeaderView","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1849,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1849"}],"type":{"type":"literal","value":"headerView"}},{"id":515,"name":"HudWindow","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1861,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1861"}],"type":{"type":"literal","value":"hudWindow"}},{"id":503,"name":"Light","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14-**"}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since macOS 10.14. Use a semantic material instead."}]}]},"sources":[{"fileName":"window.ts","line":1807,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1807"}],"type":{"type":"literal","value":"light"}},{"id":505,"name":"MediumLight","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14-**"}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since macOS 10.14. Use a semantic material instead."}]}]},"sources":[{"fileName":"window.ts","line":1819,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1819"}],"type":{"type":"literal","value":"mediumLight"}},{"id":509,"name":"Menu","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.11+**"}]},"sources":[{"fileName":"window.ts","line":1837,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1837"}],"type":{"type":"literal","value":"menu"}},{"id":521,"name":"Mica","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**Windows 11 Only**"}]},"sources":[{"fileName":"window.ts","line":1885,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1885"}],"type":{"type":"literal","value":"mica"}},{"id":510,"name":"Popover","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.11+**"}]},"sources":[{"fileName":"window.ts","line":1841,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1841"}],"type":{"type":"literal","value":"popover"}},{"id":508,"name":"Selection","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.10+**"}]},"sources":[{"fileName":"window.ts","line":1833,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1833"}],"type":{"type":"literal","value":"selection"}},{"id":513,"name":"Sheet","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1853,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1853"}],"type":{"type":"literal","value":"sheet"}},{"id":511,"name":"Sidebar","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.11+**"}]},"sources":[{"fileName":"window.ts","line":1845,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1845"}],"type":{"type":"literal","value":"sidebar"}},{"id":524,"name":"Tabbed","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Tabbed effect that matches the system dark perefence **Windows 11 Only**"}]},"sources":[{"fileName":"window.ts","line":1905,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1905"}],"type":{"type":"literal","value":"tabbed"}},{"id":525,"name":"TabbedDark","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Tabbed effect with dark mode but only if dark mode is enabled on the system **Windows 11 Only**"}]},"sources":[{"fileName":"window.ts","line":1909,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1909"}],"type":{"type":"literal","value":"tabbedDark"}},{"id":526,"name":"TabbedLight","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Tabbed effect with light mode **Windows 11 Only**"}]},"sources":[{"fileName":"window.ts","line":1913,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1913"}],"type":{"type":"literal","value":"tabbedLight"}},{"id":507,"name":"Titlebar","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.10+**"}]},"sources":[{"fileName":"window.ts","line":1829,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1829"}],"type":{"type":"literal","value":"titlebar"}},{"id":517,"name":"Tooltip","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1869,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1869"}],"type":{"type":"literal","value":"tooltip"}},{"id":506,"name":"UltraDark","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14-**"}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since macOS 10.14. Use a semantic material instead."}]}]},"sources":[{"fileName":"window.ts","line":1825,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1825"}],"type":{"type":"literal","value":"ultraDark"}},{"id":520,"name":"UnderPageBackground","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1881,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1881"}],"type":{"type":"literal","value":"underPageBackground"}},{"id":519,"name":"UnderWindowBackground","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1877,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1877"}],"type":{"type":"literal","value":"underWindowBackground"}},{"id":514,"name":"WindowBackground","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1857,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1857"}],"type":{"type":"literal","value":"windowBackground"}}],"groups":[{"title":"Enumeration Members","children":[523,502,522,518,504,516,512,515,503,505,509,521,510,508,513,511,524,525,526,507,517,506,520,519,514]}],"sources":[{"fileName":"window.ts","line":1795,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1795"}]},{"id":527,"name":"EffectState","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[{"kind":"text","text":"Window effect state **macOS only**"}],"blockTags":[{"tag":"@see","content":[{"kind":"text","text":"https://developer.apple.com/documentation/appkit/nsvisualeffectview/state"}]},{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":529,"name":"Active","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Make window effect state always active **macOS only**"}]},"sources":[{"fileName":"window.ts","line":1931,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1931"}],"type":{"type":"literal","value":"active"}},{"id":528,"name":"FollowsWindowActiveState","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Make window effect state follow the window's active state **macOS only**"}]},"sources":[{"fileName":"window.ts","line":1927,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1927"}],"type":{"type":"literal","value":"followsWindowActiveState"}},{"id":530,"name":"Inactive","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Make window effect state always inactive **macOS only**"}]},"sources":[{"fileName":"window.ts","line":1935,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1935"}],"type":{"type":"literal","value":"inactive"}}],"groups":[{"title":"Enumeration Members","children":[529,528,530]}],"sources":[{"fileName":"window.ts","line":1923,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1923"}]},{"id":276,"name":"ProgressBarStatus","variant":"declaration","kind":8,"flags":{},"children":[{"id":281,"name":"Error","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Error state. **Treated as Normal on linux**"}]},"sources":[{"fileName":"window.ts","line":171,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L171"}],"type":{"type":"literal","value":"error"}},{"id":279,"name":"Indeterminate","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Indeterminate state. **Treated as Normal on Linux and macOS**"}]},"sources":[{"fileName":"window.ts","line":163,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L163"}],"type":{"type":"literal","value":"indeterminate"}},{"id":277,"name":"None","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Hide progress bar."}]},"sources":[{"fileName":"window.ts","line":155,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L155"}],"type":{"type":"literal","value":"none"}},{"id":278,"name":"Normal","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Normal state."}]},"sources":[{"fileName":"window.ts","line":159,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L159"}],"type":{"type":"literal","value":"normal"}},{"id":280,"name":"Paused","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Paused state. **Treated as Normal on Linux**"}]},"sources":[{"fileName":"window.ts","line":167,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L167"}],"type":{"type":"literal","value":"paused"}}],"groups":[{"title":"Enumeration Members","children":[281,279,277,278,280]}],"sources":[{"fileName":"window.ts","line":151,"character":12,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L151"}]},{"id":498,"name":"UserAttentionType","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[{"kind":"text","text":"Attention type to request on a window."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":499,"name":"Critical","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"#### Platform-specific\n- **macOS:** Bounces the dock icon until the application is in focus.\n- **Windows:** Flashes both the window and the taskbar button until the application is in focus."}]},"sources":[{"fileName":"window.ts","line":77,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L77"}],"type":{"type":"literal","value":1}},{"id":500,"name":"Informational","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"#### Platform-specific\n- **macOS:** Bounces the dock icon once.\n- **Windows:** Flashes the taskbar button until the application is in focus."}]},"sources":[{"fileName":"window.ts","line":83,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L83"}],"type":{"type":"literal","value":2}}],"groups":[{"title":"Enumeration Members","children":[499,500]}],"sources":[{"fileName":"window.ts","line":71,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L71"}]},{"id":482,"name":"CloseRequestedEvent","variant":"declaration","kind":128,"flags":{},"children":[{"id":483,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"window.ts","line":95,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L95"}],"signatures":[{"id":484,"name":"new CloseRequestedEvent","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"window.ts","line":95,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L95"}],"parameters":[{"id":485,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":41,"typeArguments":[{"type":"literal","value":null}],"name":"Event","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":482,"name":"CloseRequestedEvent","package":"@tauri-apps/api"}}]},{"id":489,"name":"_preventDefault","variant":"declaration","kind":1024,"flags":{"isPrivate":true},"sources":[{"fileName":"window.ts","line":93,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L93"}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false"},{"id":486,"name":"event","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name"}]},"sources":[{"fileName":"window.ts","line":88,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L88"}],"type":{"type":"reference","target":55,"name":"EventName","package":"@tauri-apps/api"}},{"id":488,"name":"id","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event identifier used to unlisten"}]},"sources":[{"fileName":"window.ts","line":92,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L92"}],"type":{"type":"intrinsic","name":"number"}},{"id":487,"name":"windowLabel","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The label of the window that emitted this event."}]},"sources":[{"fileName":"window.ts","line":90,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L90"}],"type":{"type":"intrinsic","name":"string"}},{"id":492,"name":"isPreventDefault","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":105,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L105"}],"signatures":[{"id":493,"name":"isPreventDefault","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"window.ts","line":105,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L105"}],"type":{"type":"intrinsic","name":"boolean"}}]},{"id":490,"name":"preventDefault","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":101,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L101"}],"signatures":[{"id":491,"name":"preventDefault","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"window.ts","line":101,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L101"}],"type":{"type":"intrinsic","name":"void"}}]}],"groups":[{"title":"Constructors","children":[483]},{"title":"Properties","children":[489,486,488,487]},{"title":"Methods","children":[492,490]}],"sources":[{"fileName":"window.ts","line":86,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L86"}]},{"id":287,"name":"Window","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"Create new webview window or get a handle to an existing one.\n\nWindows are identified by a *label* a unique identifier that can be used to reference it later.\nIt may only contain alphanumeric characters "},{"kind":"code","text":"`a-zA-Z`"},{"kind":"text","text":" plus the following special characters "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\n// loading embedded asset:\nconst appWindow = new Window('theUniqueLabel', {\n url: 'path/to/page.html'\n});\n// alternatively, load a remote URL:\nconst appWindow = new Window('theUniqueLabel', {\n url: 'https://github.com/tauri-apps/tauri'\n});\n\nappWindow.once('tauri://created', function () {\n // window successfully created\n});\nappWindow.once('tauri://error', function (e) {\n // an error happened creating the window\n});\n\n// emit an event to the backend\nawait appWindow.emit(\"some event\", \"data\");\n// listen to an event from the backend\nconst unlisten = await appWindow.listen(\"event name\", e => {});\nunlisten();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":297,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"window.ts","line":281,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L281"}],"signatures":[{"id":298,"name":"new Window","variant":"signature","kind":16384,"flags":{},"comment":{"summary":[{"kind":"text","text":"Creates a new Window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { Window } from '@tauri-apps/api/window';\nconst appWindow = new Window('my-label', {\n url: 'https://github.com/tauri-apps/tauri'\n});\nappWindow.once('tauri://created', function () {\n // window successfully created\n});\nappWindow.once('tauri://error', function (e) {\n // an error happened creating the window\n});\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The "},{"kind":"inline-tag","tag":"@link","text":"Window","target":287,"tsLinkText":""},{"kind":"text","text":" instance to communicate with the webview."}]}]},"sources":[{"fileName":"window.ts","line":281,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L281"}],"parameters":[{"id":299,"name":"label","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The unique webview window label. Must be alphanumeric: "},{"kind":"code","text":"`a-zA-Z-/:_`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":300,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":556,"name":"WindowOptions","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":287,"name":"Window","package":"@tauri-apps/api"}}]},{"id":301,"name":"label","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The window label. It is a unique identifier for the window, can be used to reference it later."}]},"sources":[{"fileName":"window.ts","line":257,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L257"}],"type":{"type":"intrinsic","name":"string"}},{"id":302,"name":"listeners","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Local event listeners."}]},"sources":[{"fileName":"window.ts","line":260,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L260"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"array","elementType":{"type":"reference","target":47,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}},{"id":356,"name":"center","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":760,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L760"}],"signatures":[{"id":357,"name":"center","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Centers the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().center();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":760,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L760"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":401,"name":"clearEffects","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1093,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1093"}],"signatures":[{"id":402,"name":"clearEffects","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Clear any applied effects if possible."}]},"sources":[{"fileName":"window.ts","line":1093,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1093"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":390,"name":"close","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1030,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1030"}],"signatures":[{"id":391,"name":"close","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Closes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().close();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1030,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1030"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":313,"name":"emit","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":425,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L425"}],"signatures":[{"id":314,"name":"emit","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Emits an event to the backend, tied to the webview window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().emit('window-loaded', { loggedIn: true, token: 'authToken' });\n```"}]}]},"sources":[{"fileName":"window.ts","line":425,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L425"}],"parameters":[{"id":315,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":316,"name":"payload","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Event payload."}]},"type":{"type":"intrinsic","name":"unknown"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":388,"name":"hide","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1014,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1014"}],"signatures":[{"id":389,"name":"hide","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window visibility to false."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().hide();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1014,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1014"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":324,"name":"innerPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":478,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L478"}],"signatures":[{"id":325,"name":"innerPosition","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The position of the top-left hand corner of the window's client area relative to the top-left hand corner of the desktop."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst position = await getCurrent().innerPosition();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's inner position."}]}]},"sources":[{"fileName":"window.ts","line":478,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L478"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":328,"name":"innerSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":511,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L511"}],"signatures":[{"id":329,"name":"innerSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The physical size of the window's client area.\nThe client area is the content of the window, excluding the title bar and borders."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst size = await getCurrent().innerSize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's inner size."}]}]},"sources":[{"fileName":"window.ts","line":511,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L511"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":348,"name":"isClosable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":691,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L691"}],"signatures":[{"id":349,"name":"isClosable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window’s native close button state.\n\n#### Platform-specific\n\n- **iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst closable = await getCurrent().isClosable();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window's native close button is enabled or not."}]}]},"sources":[{"fileName":"window.ts","line":691,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L691"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":340,"name":"isDecorated","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":612,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L612"}],"signatures":[{"id":341,"name":"isDecorated","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current decorated state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst decorated = await getCurrent().isDecorated();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is decorated or not."}]}]},"sources":[{"fileName":"window.ts","line":612,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L612"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":338,"name":"isFocused","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":596,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L596"}],"signatures":[{"id":339,"name":"isFocused","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current focus state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst focused = await getCurrent().isFocused();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is focused or not."}]}]},"sources":[{"fileName":"window.ts","line":596,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L596"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":332,"name":"isFullscreen","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":550,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L550"}],"signatures":[{"id":333,"name":"isFullscreen","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current fullscreen state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst fullscreen = await getCurrent().isFullscreen();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is in fullscreen mode or not."}]}]},"sources":[{"fileName":"window.ts","line":550,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L550"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":344,"name":"isMaximizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":649,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L649"}],"signatures":[{"id":345,"name":"isMaximizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window’s native maximize button state.\n\n#### Platform-specific\n\n- **Linux / iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst maximizable = await getCurrent().isMaximizable();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window's native maximize button is enabled or not."}]}]},"sources":[{"fileName":"window.ts","line":649,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L649"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":336,"name":"isMaximized","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":580,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L580"}],"signatures":[{"id":337,"name":"isMaximized","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current maximized state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst maximized = await getCurrent().isMaximized();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is maximized or not."}]}]},"sources":[{"fileName":"window.ts","line":580,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L580"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":346,"name":"isMinimizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":670,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L670"}],"signatures":[{"id":347,"name":"isMinimizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window’s native minimize button state.\n\n#### Platform-specific\n\n- **Linux / iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst minimizable = await getCurrent().isMinimizable();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window's native minimize button is enabled or not."}]}]},"sources":[{"fileName":"window.ts","line":670,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L670"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":334,"name":"isMinimized","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":564,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L564"}],"signatures":[{"id":335,"name":"isMinimized","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current minimized state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst minimized = await getCurrent().isMinimized();\n```"}]}]},"sources":[{"fileName":"window.ts","line":564,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L564"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":342,"name":"isResizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":628,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L628"}],"signatures":[{"id":343,"name":"isResizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current resizable state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst resizable = await getCurrent().isResizable();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is resizable or not."}]}]},"sources":[{"fileName":"window.ts","line":628,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L628"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":350,"name":"isVisible","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":707,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L707"}],"signatures":[{"id":351,"name":"isVisible","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current visible state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst visible = await getCurrent().isVisible();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is visible or not."}]}]},"sources":[{"fileName":"window.ts","line":707,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L707"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":303,"name":"listen","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":370,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L370"}],"signatures":[{"id":304,"name":"listen","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an event emitted by the backend that is tied to the webview window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst unlisten = await getCurrent().listen('state-changed', (event) => {\n console.log(`Got error: ${payload}`);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":370,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L370"}],"typeParameter":[{"id":305,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":306,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"reference","target":55,"name":"EventName","package":"@tauri-apps/api"}},{"id":307,"name":"handler","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event handler."}]},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":376,"name":"maximize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":918,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L918"}],"signatures":[{"id":377,"name":"maximize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Maximizes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().maximize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":918,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L918"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":382,"name":"minimize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":966,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L966"}],"signatures":[{"id":383,"name":"minimize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Minimizes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().minimize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":966,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L966"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":461,"name":"onCloseRequested","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1604,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1604"}],"signatures":[{"id":462,"name":"onCloseRequested","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window close requested. Emitted when the user requests to closes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nimport { confirm } from '@tauri-apps/api/dialog';\nconst unlisten = await getCurrent().onCloseRequested(async (event) => {\n const confirmed = await confirm('Are you sure?');\n if (!confirmed) {\n // user did not confirm closing the window; let's prevent it\n event.preventDefault();\n }\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1604,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1604"}],"parameters":[{"id":463,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":464,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"window.ts","line":1605,"character":13,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1605"}],"signatures":[{"id":465,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"window.ts","line":1605,"character":13,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1605"}],"parameters":[{"id":466,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":482,"name":"CloseRequestedEvent","package":"@tauri-apps/api"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}]}}]}}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":476,"name":"onFileDropEvent","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1730,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1730"}],"signatures":[{"id":477,"name":"onFileDropEvent","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to a file drop event.\nThe listener is triggered when the user hovers the selected files on the window,\ndrops the files or cancels the operation."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onFileDropEvent((event) => {\n if (event.payload.type === 'hover') {\n console.log('User hovering', event.payload.paths);\n } else if (event.payload.type === 'drop') {\n console.log('User dropped', event.payload.paths);\n } else {\n console.log('File drop cancelled');\n }\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1730,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1730"}],"parameters":[{"id":478,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":547,"name":"FileDropEvent","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":467,"name":"onFocusChanged","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1635,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1635"}],"signatures":[{"id":468,"name":"onFocusChanged","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window focus change."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onFocusChanged(({ payload: focused }) => {\n console.log('Focus changed, window is focused? ' + focused);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1635,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1635"}],"parameters":[{"id":469,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":473,"name":"onMenuClicked","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1701,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1701"}],"signatures":[{"id":474,"name":"onMenuClicked","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to the window menu item click. The payload is the item id."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onMenuClicked(({ payload: menuId }) => {\n console.log('Menu clicked: ' + menuId);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1701,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1701"}],"parameters":[{"id":475,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":458,"name":"onMoved","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1574,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1574"}],"signatures":[{"id":459,"name":"onMoved","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window move."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onMoved(({ payload: position }) => {\n console.log('Window moved', position);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1574,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1574"}],"parameters":[{"id":460,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":455,"name":"onResized","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1550,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1550"}],"signatures":[{"id":456,"name":"onResized","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window resize."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onResized(({ payload: size }) => {\n console.log('Window resized', size);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1550,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1550"}],"parameters":[{"id":457,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":470,"name":"onScaleChanged","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1675,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1675"}],"signatures":[{"id":471,"name":"onScaleChanged","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window scale change. Emitted when the window's scale factor has changed.\nThe following user actions can cause DPI changes:\n- Changing the display's resolution.\n- Changing the display's scale factor (e.g. in Control Panel on Windows).\n- Moving the window to a display with a different scale factor."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onScaleChanged(({ payload }) => {\n console.log('Scale changed', payload.scaleFactor, payload.size);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1675,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1675"}],"parameters":[{"id":472,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":544,"name":"ScaleFactorChanged","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":479,"name":"onThemeChanged","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1778,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1778"}],"signatures":[{"id":480,"name":"onThemeChanged","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to the system theme change."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onThemeChanged(({ payload: theme }) => {\n console.log('New theme: ' + theme);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1778,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1778"}],"parameters":[{"id":481,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":542,"name":"Theme","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":308,"name":"once","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":403,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L403"}],"signatures":[{"id":309,"name":"once","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an one-off event emitted by the backend that is tied to the webview window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst unlisten = await getCurrent().once('initialized', (event) => {\n console.log(`Window initialized!`);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":403,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L403"}],"typeParameter":[{"id":310,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":311,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":312,"name":"handler","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event handler."}]},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":326,"name":"outerPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":494,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L494"}],"signatures":[{"id":327,"name":"outerPosition","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The position of the top-left hand corner of the window relative to the top-left hand corner of the desktop."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst position = await getCurrent().outerPosition();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's outer position."}]}]},"sources":[{"fileName":"window.ts","line":494,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L494"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":330,"name":"outerSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":531,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L531"}],"signatures":[{"id":331,"name":"outerSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The physical size of the entire window.\nThese dimensions include the title bar and borders. If you don't want that (and you usually don't), use inner_size instead."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst size = await getCurrent().outerSize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's outer size."}]}]},"sources":[{"fileName":"window.ts","line":531,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L531"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":358,"name":"requestUserAttention","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":786,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L786"}],"signatures":[{"id":359,"name":"requestUserAttention","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Requests user attention to the window, this has no effect if the application\nis already focused. How requesting for user attention manifests is platform dependent,\nsee "},{"kind":"code","text":"`UserAttentionType`"},{"kind":"text","text":" for details.\n\nProviding "},{"kind":"code","text":"`null`"},{"kind":"text","text":" will unset the request for user attention. Unsetting the request for\nuser attention might not be done automatically by the WM when the window receives input.\n\n#### Platform-specific\n\n- **macOS:** "},{"kind":"code","text":"`null`"},{"kind":"text","text":" has no effect.\n- **Linux:** Urgency levels have the same effect."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().requestUserAttention();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":786,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L786"}],"parameters":[{"id":360,"name":"requestType","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":498,"name":"UserAttentionType","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":322,"name":"scaleFactor","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":462,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L462"}],"signatures":[{"id":323,"name":"scaleFactor","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The scale factor that can be used to map physical pixels to logical pixels."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst factor = await getCurrent().scaleFactor();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's monitor scale factor."}]}]},"sources":[{"fileName":"window.ts","line":462,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L462"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"number"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":406,"name":"setAlwaysOnBottom","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1129,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1129"}],"signatures":[{"id":407,"name":"setAlwaysOnBottom","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be below other windows."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setAlwaysOnBottom(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1129,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1129"}],"parameters":[{"id":408,"name":"alwaysOnBottom","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be below other windows or not."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":403,"name":"setAlwaysOnTop","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1111,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1111"}],"signatures":[{"id":404,"name":"setAlwaysOnTop","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be on top of other windows."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setAlwaysOnTop(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1111,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1111"}],"parameters":[{"id":405,"name":"alwaysOnTop","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be on top of other windows or not."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":370,"name":"setClosable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":883,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L883"}],"signatures":[{"id":371,"name":"setClosable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets whether the window's native close button is enabled or not.\n\n#### Platform-specific\n\n- **Linux:** GTK+ will do its best to convince the window manager not to show a close button. Depending on the system, this function may not have any effect when called on a window that is already visible\n- **iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setClosable(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":883,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L883"}],"parameters":[{"id":372,"name":"closable","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":409,"name":"setContentProtected","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1146,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1146"}],"signatures":[{"id":410,"name":"setContentProtected","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Prevents the window contents from being captured by other apps."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setContentProtected(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1146,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1146"}],"parameters":[{"id":411,"name":"protected_","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":435,"name":"setCursorGrab","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1386,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1386"}],"signatures":[{"id":436,"name":"setCursorGrab","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Grabs the cursor, preventing it from leaving the window.\n\nThere's no guarantee that the cursor will be hidden. You should\nhide it by yourself if you want so.\n\n#### Platform-specific\n\n- **Linux:** Unsupported.\n- **macOS:** This locks the cursor in a fixed location, which looks visually awkward."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setCursorGrab(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1386,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1386"}],"parameters":[{"id":437,"name":"grab","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"code","text":"`true`"},{"kind":"text","text":" to grab the cursor icon, "},{"kind":"code","text":"`false`"},{"kind":"text","text":" to release it."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":441,"name":"setCursorIcon","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1428,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1428"}],"signatures":[{"id":442,"name":"setCursorIcon","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Modifies the cursor icon of the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setCursorIcon('help');\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1428,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1428"}],"parameters":[{"id":443,"name":"icon","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new cursor icon."}]},"type":{"type":"reference","target":275,"name":"CursorIcon","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":444,"name":"setCursorPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1446,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1446"}],"signatures":[{"id":445,"name":"setCursorPosition","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Changes the position of the cursor in window coordinates."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, LogicalPosition } from '@tauri-apps/api/window';\nawait getCurrent().setCursorPosition(new LogicalPosition(600, 300));\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1446,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1446"}],"parameters":[{"id":446,"name":"position","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new cursor position."}]},"type":{"type":"union","types":[{"type":"reference","target":2,"name":"LogicalPosition","package":"@tauri-apps/api"},{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":438,"name":"setCursorVisible","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1410,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1410"}],"signatures":[{"id":439,"name":"setCursorVisible","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Modifies the cursor's visibility.\n\n#### Platform-specific\n\n- **Windows:** The cursor is only hidden within the confines of the window.\n- **macOS:** The cursor is hidden as long as the window has input focus, even if the cursor is\n outside of the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setCursorVisible(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1410,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1410"}],"parameters":[{"id":440,"name":"visible","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"If "},{"kind":"code","text":"`false`"},{"kind":"text","text":", this will hide the cursor. If "},{"kind":"code","text":"`true`"},{"kind":"text","text":", this will show the cursor."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":392,"name":"setDecorations","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1047,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1047"}],"signatures":[{"id":393,"name":"setDecorations","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should have borders and bars."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setDecorations(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1047,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1047"}],"parameters":[{"id":394,"name":"decorations","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should have borders and bars."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":398,"name":"setEffects","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1083,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1083"}],"signatures":[{"id":399,"name":"setEffects","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Set window effects."}]},"sources":[{"fileName":"window.ts","line":1083,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1083"}],"parameters":[{"id":400,"name":"effects","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":537,"name":"Effects","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":427,"name":"setFocus","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1314,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1314"}],"signatures":[{"id":428,"name":"setFocus","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Bring the window to front and focus."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setFocus();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1314,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1314"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":424,"name":"setFullscreen","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1297,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1297"}],"signatures":[{"id":425,"name":"setFullscreen","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window fullscreen state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setFullscreen(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1297,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1297"}],"parameters":[{"id":426,"name":"fullscreen","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should go to fullscreen or not."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":429,"name":"setIcon","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1338,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1338"}],"signatures":[{"id":430,"name":"setIcon","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window icon."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setIcon('/tauri/awesome.png');\n```"},{"kind":"text","text":"\n\nNote that you need the "},{"kind":"code","text":"`icon-ico`"},{"kind":"text","text":" or "},{"kind":"code","text":"`icon-png`"},{"kind":"text","text":" Cargo features to use this API.\nTo enable it, change your Cargo.toml file:\n"},{"kind":"code","text":"```toml\n[dependencies]\ntauri = { version = \"...\", features = [\"...\", \"icon-png\"] }\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1338,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1338"}],"parameters":[{"id":431,"name":"icon","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Icon bytes or path to the icon file."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Uint8Array"},"name":"Uint8Array","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":447,"name":"setIgnoreCursorEvents","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1482,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1482"}],"signatures":[{"id":448,"name":"setIgnoreCursorEvents","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Changes the cursor events behavior."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setIgnoreCursorEvents(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1482,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1482"}],"parameters":[{"id":449,"name":"ignore","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"code","text":"`true`"},{"kind":"text","text":" to ignore the cursor events; "},{"kind":"code","text":"`false`"},{"kind":"text","text":" to process them as usual."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":418,"name":"setMaxSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1228,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1228"}],"signatures":[{"id":419,"name":"setMaxSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window maximum inner size. If the "},{"kind":"code","text":"`size`"},{"kind":"text","text":" argument is undefined, the constraint is unset."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, LogicalSize } from '@tauri-apps/api/window';\nawait getCurrent().setMaxSize(new LogicalSize(600, 500));\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1228,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1228"}],"parameters":[{"id":420,"name":"size","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The logical or physical inner size, or "},{"kind":"code","text":"`null`"},{"kind":"text","text":" to unset the constraint."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"literal","value":null},{"type":"reference","target":10,"name":"LogicalSize","package":"@tauri-apps/api"},{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":364,"name":"setMaximizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":838,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L838"}],"signatures":[{"id":365,"name":"setMaximizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets whether the window's native maximize button is enabled or not.\nIf resizable is set to false, this setting is ignored.\n\n#### Platform-specific\n\n- **macOS:** Disables the \"zoom\" button in the window titlebar, which is also used to enter fullscreen mode.\n- **Linux / iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setMaximizable(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":838,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L838"}],"parameters":[{"id":366,"name":"maximizable","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":415,"name":"setMinSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1194,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1194"}],"signatures":[{"id":416,"name":"setMinSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window minimum inner size. If the "},{"kind":"code","text":"`size`"},{"kind":"text","text":" argument is not provided, the constraint is unset."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, PhysicalSize } from '@tauri-apps/api/window';\nawait getCurrent().setMinSize(new PhysicalSize(600, 500));\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1194,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1194"}],"parameters":[{"id":417,"name":"size","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The logical or physical inner size, or "},{"kind":"code","text":"`null`"},{"kind":"text","text":" to unset the constraint."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"literal","value":null},{"type":"reference","target":10,"name":"LogicalSize","package":"@tauri-apps/api"},{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":367,"name":"setMinimizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":860,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L860"}],"signatures":[{"id":368,"name":"setMinimizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets whether the window's native minimize button is enabled or not.\n\n#### Platform-specific\n\n- **Linux / iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setMinimizable(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":860,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L860"}],"parameters":[{"id":369,"name":"minimizable","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":421,"name":"setPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1262,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1262"}],"signatures":[{"id":422,"name":"setPosition","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window outer position."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, LogicalPosition } from '@tauri-apps/api/window';\nawait getCurrent().setPosition(new LogicalPosition(600, 500));\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1262,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1262"}],"parameters":[{"id":423,"name":"position","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new position, in logical or physical pixels."}]},"type":{"type":"union","types":[{"type":"reference","target":2,"name":"LogicalPosition","package":"@tauri-apps/api"},{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":452,"name":"setProgressBar","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1524,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1524"}],"signatures":[{"id":453,"name":"setProgressBar","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the taskbar progress state.\n\n#### Platform-specific\n\n- **Linux / macOS**: Progress bar is app-wide and not specific to this window.\n- **Linux**: Only supported desktop environments with "},{"kind":"code","text":"`libunity`"},{"kind":"text","text":" (e.g. GNOME)."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, ProgressBarStatus } from '@tauri-apps/api/window';\nawait getCurrent().setProgressBar({\n status: ProgressBarStatus.Normal,\n progress: 50,\n});\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1524,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1524"}],"parameters":[{"id":454,"name":"state","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":282,"name":"ProgressBarState","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":361,"name":"setResizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":814,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L814"}],"signatures":[{"id":362,"name":"setResizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Updates the window resizable flag."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setResizable(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":814,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L814"}],"parameters":[{"id":363,"name":"resizable","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":395,"name":"setShadow","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1073,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1073"}],"signatures":[{"id":396,"name":"setShadow","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether or not the window should have shadow.\n\n#### Platform-specific\n\n- **Windows:**\n - "},{"kind":"code","text":"`false`"},{"kind":"text","text":" has no effect on decorated window, shadows are always ON.\n - "},{"kind":"code","text":"`true`"},{"kind":"text","text":" will make ndecorated window have a 1px white border,\nand on Windows 11, it will have a rounded corners.\n- **Linux:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setShadow(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1073,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1073"}],"parameters":[{"id":397,"name":"enable","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":412,"name":"setSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1164,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1164"}],"signatures":[{"id":413,"name":"setSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Resizes the window with a new inner size."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, LogicalSize } from '@tauri-apps/api/window';\nawait getCurrent().setSize(new LogicalSize(600, 500));\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1164,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1164"}],"parameters":[{"id":414,"name":"size","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The logical or physical inner size."}]},"type":{"type":"union","types":[{"type":"reference","target":10,"name":"LogicalSize","package":"@tauri-apps/api"},{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":432,"name":"setSkipTaskbar","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1360,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1360"}],"signatures":[{"id":433,"name":"setSkipTaskbar","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window icon should be hidden from the taskbar or not.\n\n#### Platform-specific\n\n- **macOS:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setSkipTaskbar(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1360,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1360"}],"parameters":[{"id":434,"name":"skip","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"true to hide window icon, false to show it."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":373,"name":"setTitle","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":901,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L901"}],"signatures":[{"id":374,"name":"setTitle","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window title."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setTitle('Tauri');\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":901,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L901"}],"parameters":[{"id":375,"name":"title","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new title"}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":386,"name":"show","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":998,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L998"}],"signatures":[{"id":387,"name":"show","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window visibility to true."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().show();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":998,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L998"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":450,"name":"startDragging","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1499,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1499"}],"signatures":[{"id":451,"name":"startDragging","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Starts dragging the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().startDragging();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1499,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1499"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":354,"name":"theme","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":742,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L742"}],"signatures":[{"id":355,"name":"theme","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current theme.\n\n#### Platform-specific\n\n- **macOS:** Theme was introduced on macOS 10.14. Returns "},{"kind":"code","text":"`light`"},{"kind":"text","text":" on macOS 10.13 and below."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst theme = await getCurrent().theme();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window theme."}]}]},"sources":[{"fileName":"window.ts","line":742,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L742"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":542,"name":"Theme","package":"@tauri-apps/api"}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":352,"name":"title","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":721,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L721"}],"signatures":[{"id":353,"name":"title","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current title."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst title = await getCurrent().title();\n```"}]}]},"sources":[{"fileName":"window.ts","line":721,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L721"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":380,"name":"toggleMaximize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":950,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L950"}],"signatures":[{"id":381,"name":"toggleMaximize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Toggles the window maximized state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().toggleMaximize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":950,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L950"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":378,"name":"unmaximize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":934,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L934"}],"signatures":[{"id":379,"name":"unmaximize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Unmaximizes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().unmaximize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":934,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L934"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":384,"name":"unminimize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":982,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L982"}],"signatures":[{"id":385,"name":"unminimize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Unminimizes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().unminimize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":982,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L982"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":293,"name":"getAll","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"window.ts","line":328,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L328"}],"signatures":[{"id":294,"name":"getAll","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets a list of instances of "},{"kind":"code","text":"`Window`"},{"kind":"text","text":" for all available windows."}]},"sources":[{"fileName":"window.ts","line":328,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L328"}],"type":{"type":"array","elementType":{"type":"reference","target":287,"name":"Window","package":"@tauri-apps/api"}}}]},{"id":288,"name":"getByLabel","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"window.ts","line":310,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L310"}],"signatures":[{"id":289,"name":"getByLabel","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the Window for the webview associated with the given label."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { Window } from '@tauri-apps/api/window';\nconst mainWindow = Window.getByLabel('main');\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The Window instance to communicate with the webview or null if the webview doesn't exist."}]}]},"sources":[{"fileName":"window.ts","line":310,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L310"}],"parameters":[{"id":290,"name":"label","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The webview window label."}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":287,"name":"Window","package":"@tauri-apps/api"}]}}]},{"id":291,"name":"getCurrent","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"window.ts","line":321,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L321"}],"signatures":[{"id":292,"name":"getCurrent","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Get an instance of "},{"kind":"code","text":"`Window`"},{"kind":"text","text":" for the current window."}]},"sources":[{"fileName":"window.ts","line":321,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L321"}],"type":{"type":"reference","target":287,"name":"Window","package":"@tauri-apps/api"}}]},{"id":295,"name":"getFocusedWindow","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"window.ts","line":342,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L342"}],"signatures":[{"id":296,"name":"getFocusedWindow","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the focused window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { Window } from '@tauri-apps/api/window';\nconst focusedWindow = Window.getFocusedWindow();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The Window instance to communicate with the webview or "},{"kind":"code","text":"`undefined`"},{"kind":"text","text":" if there is not any focused window."}]}]},"sources":[{"fileName":"window.ts","line":342,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L342"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":287,"name":"Window","package":"@tauri-apps/api"}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Constructors","children":[297]},{"title":"Properties","children":[301,302]},{"title":"Methods","children":[356,401,390,313,388,324,328,348,340,338,332,344,336,346,334,342,350,303,376,382,461,476,467,473,458,455,470,479,308,326,330,358,322,406,403,370,409,435,441,444,438,392,398,427,424,429,447,418,364,415,367,421,452,361,395,412,432,373,386,450,354,352,380,378,384,293,288,291,295]}],"sources":[{"fileName":"window.ts","line":255,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L255"}]},{"id":537,"name":"Effects","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"The window effects configuration object"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":541,"name":"color","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Window effect color. Affects "},{"kind":"inline-tag","tag":"@link","text":"Blur","target":522,"tsLinkText":""},{"kind":"text","text":" and "},{"kind":"inline-tag","tag":"@link","text":"Acrylic","target":523,"tsLinkText":""},{"kind":"text","text":" only\non Windows 10 v1903+. Doesn't have any effect on Windows 7 or Windows 11."}]},"sources":[{"fileName":"window.ts","line":1960,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1960"}],"type":{"type":"reference","target":591,"name":"Color","package":"@tauri-apps/api"}},{"id":538,"name":"effects","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"List of Window effects to apply to the Window.\nConflicting effects will apply the first one and ignore the rest."}]},"sources":[{"fileName":"window.ts","line":1947,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1947"}],"type":{"type":"array","elementType":{"type":"reference","target":501,"name":"Effect","package":"@tauri-apps/api"}}},{"id":540,"name":"radius","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Window effect corner radius **macOS Only**"}]},"sources":[{"fileName":"window.ts","line":1955,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1955"}],"type":{"type":"intrinsic","name":"number"}},{"id":539,"name":"state","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Window effect state **macOS Only**"}]},"sources":[{"fileName":"window.ts","line":1951,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1951"}],"type":{"type":"reference","target":527,"name":"EffectState","package":"@tauri-apps/api"}}],"groups":[{"title":"Properties","children":[541,538,540,539]}],"sources":[{"fileName":"window.ts","line":1942,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1942"}]},{"id":270,"name":"Monitor","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"Allows you to retrieve information about a given monitor."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":271,"name":"name","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Human-readable name of the monitor"}]},"sources":[{"fileName":"window.ts","line":36,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L36"}],"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"intrinsic","name":"string"}]}},{"id":273,"name":"position","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"the Top-left corner position of the monitor relative to the larger full screen area."}]},"sources":[{"fileName":"window.ts","line":40,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L40"}],"type":{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}},{"id":274,"name":"scaleFactor","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The scale factor that can be used to map physical pixels to logical pixels."}]},"sources":[{"fileName":"window.ts","line":42,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L42"}],"type":{"type":"intrinsic","name":"number"}},{"id":272,"name":"size","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The monitor's resolution."}]},"sources":[{"fileName":"window.ts","line":38,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L38"}],"type":{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}}],"groups":[{"title":"Properties","children":[271,273,274,272]}],"sources":[{"fileName":"window.ts","line":34,"character":17,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L34"}]},{"id":282,"name":"ProgressBarState","variant":"declaration","kind":256,"flags":{},"children":[{"id":284,"name":"progress","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The progress bar progress. This can be a value ranging from "},{"kind":"code","text":"`0`"},{"kind":"text","text":" to "},{"kind":"code","text":"`100`"}]},"sources":[{"fileName":"window.ts","line":182,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L182"}],"type":{"type":"intrinsic","name":"number"}},{"id":283,"name":"status","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The progress bar status."}]},"sources":[{"fileName":"window.ts","line":178,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L178"}],"type":{"type":"reference","target":276,"name":"ProgressBarStatus","package":"@tauri-apps/api"}},{"id":285,"name":"unityUri","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The identifier for your app to communicate with the Unity desktop window manager **Linux Only**"}]},"sources":[{"fileName":"window.ts","line":186,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L186"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[284,283,285]}],"sources":[{"fileName":"window.ts","line":174,"character":17,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L174"}]},{"id":544,"name":"ScaleFactorChanged","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"The payload for the "},{"kind":"code","text":"`scaleChange`"},{"kind":"text","text":" event."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.2"}]}]},"children":[{"id":545,"name":"scaleFactor","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new window scale factor."}]},"sources":[{"fileName":"window.ts","line":55,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L55"}],"type":{"type":"intrinsic","name":"number"}},{"id":546,"name":"size","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new window size"}]},"sources":[{"fileName":"window.ts","line":57,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L57"}],"type":{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}}],"groups":[{"title":"Properties","children":[545,546]}],"sources":[{"fileName":"window.ts","line":53,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L53"}]},{"id":556,"name":"WindowOptions","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"Configuration for the window to create."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":584,"name":"acceptFirstMouse","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether clicking an inactive window also clicks through to the webview on macOS."}]},"sources":[{"fileName":"window.ts","line":2060,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2060"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":576,"name":"alwaysOnBottom","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be below other windows."}]},"sources":[{"fileName":"window.ts","line":2018,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2018"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":575,"name":"alwaysOnTop","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be on top of other windows or not."}]},"sources":[{"fileName":"window.ts","line":2016,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2016"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":558,"name":"center","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Show window in the center of the screen.."}]},"sources":[{"fileName":"window.ts","line":1978,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1978"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":590,"name":"closable","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window's native close button is enabled or not. Defaults to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"window.ts","line":2091,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2091"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":577,"name":"contentProtected","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Prevents the window contents from being captured by other apps."}]},"sources":[{"fileName":"window.ts","line":2020,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2020"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":574,"name":"decorations","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should have borders and bars or not."}]},"sources":[{"fileName":"window.ts","line":2014,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2014"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":580,"name":"fileDropEnabled","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the file drop is enabled or not on the webview. By default it is enabled.\n\nDisabling it is required to use drag and drop on the frontend on Windows."}]},"sources":[{"fileName":"window.ts","line":2042,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2042"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":570,"name":"focus","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window will be initially focused or not."}]},"sources":[{"fileName":"window.ts","line":2002,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2002"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":569,"name":"fullscreen","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window is in fullscreen mode or not."}]},"sources":[{"fileName":"window.ts","line":2000,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2000"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":562,"name":"height","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial height."}]},"sources":[{"fileName":"window.ts","line":1986,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1986"}],"type":{"type":"intrinsic","name":"number"}},{"id":583,"name":"hiddenTitle","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"If "},{"kind":"code","text":"`true`"},{"kind":"text","text":", sets the window title to be hidden on macOS."}]},"sources":[{"fileName":"window.ts","line":2056,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2056"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":587,"name":"incognito","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether or not the webview should be launched in incognito mode.\n\n#### Platform-specific\n\n- **Android:** Unsupported."}]},"sources":[{"fileName":"window.ts","line":2079,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2079"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":566,"name":"maxHeight","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The maximum height. Only applies if "},{"kind":"code","text":"`maxWidth`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1994,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1994"}],"type":{"type":"intrinsic","name":"number"}},{"id":565,"name":"maxWidth","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The maximum width. Only applies if "},{"kind":"code","text":"`maxHeight`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1992,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1992"}],"type":{"type":"intrinsic","name":"number"}},{"id":588,"name":"maximizable","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window's native maximize button is enabled or not. Defaults to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"window.ts","line":2083,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2083"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":572,"name":"maximized","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should be maximized upon creation or not."}]},"sources":[{"fileName":"window.ts","line":2010,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2010"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":564,"name":"minHeight","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The minimum height. Only applies if "},{"kind":"code","text":"`minWidth`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1990,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1990"}],"type":{"type":"intrinsic","name":"number"}},{"id":563,"name":"minWidth","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The minimum width. Only applies if "},{"kind":"code","text":"`minHeight`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1988,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1988"}],"type":{"type":"intrinsic","name":"number"}},{"id":589,"name":"minimizable","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window's native minimize button is enabled or not. Defaults to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"window.ts","line":2087,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2087"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":567,"name":"resizable","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window is resizable or not."}]},"sources":[{"fileName":"window.ts","line":1996,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1996"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":579,"name":"shadow","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether or not the window has shadow.\n\n#### Platform-specific\n\n- **Windows:**\n - "},{"kind":"code","text":"`false`"},{"kind":"text","text":" has no effect on decorated window, shadows are always ON.\n - "},{"kind":"code","text":"`true`"},{"kind":"text","text":" will make ndecorated window have a 1px white border,\nand on Windows 11, it will have a rounded corners.\n- **Linux:** Unsupported."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"window.ts","line":2036,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2036"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":578,"name":"skipTaskbar","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether or not the window icon should be added to the taskbar."}]},"sources":[{"fileName":"window.ts","line":2022,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2022"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":585,"name":"tabbingIdentifier","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Defines the window [tabbing identifier](https://developer.apple.com/documentation/appkit/nswindow/1644704-tabbingidentifier) on macOS.\n\nWindows with the same tabbing identifier will be grouped together.\nIf the tabbing identifier is not set, automatic tabbing will be disabled."}]},"sources":[{"fileName":"window.ts","line":2067,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2067"}],"type":{"type":"intrinsic","name":"string"}},{"id":581,"name":"theme","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial window theme. Defaults to the system theme.\n\nOnly implemented on Windows and macOS 10.14+."}]},"sources":[{"fileName":"window.ts","line":2048,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2048"}],"type":{"type":"reference","target":542,"name":"Theme","package":"@tauri-apps/api"}},{"id":568,"name":"title","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Window title."}]},"sources":[{"fileName":"window.ts","line":1998,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1998"}],"type":{"type":"intrinsic","name":"string"}},{"id":582,"name":"titleBarStyle","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The style of the macOS title bar."}]},"sources":[{"fileName":"window.ts","line":2052,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2052"}],"type":{"type":"reference","target":543,"name":"TitleBarStyle","package":"@tauri-apps/api"}},{"id":571,"name":"transparent","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window is transparent or not.\nNote that on "},{"kind":"code","text":"`macOS`"},{"kind":"text","text":" this requires the "},{"kind":"code","text":"`macos-private-api`"},{"kind":"text","text":" feature flag, enabled under "},{"kind":"code","text":"`tauri.conf.json > tauri > macOSPrivateApi`"},{"kind":"text","text":".\nWARNING: Using private APIs on "},{"kind":"code","text":"`macOS`"},{"kind":"text","text":" prevents your application from being accepted to the "},{"kind":"code","text":"`App Store`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"window.ts","line":2008,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2008"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":557,"name":"url","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Remote URL or local file path to open.\n\n- URL such as "},{"kind":"code","text":"`https://github.com/tauri-apps`"},{"kind":"text","text":" is opened directly on a Tauri window.\n- data: URL such as "},{"kind":"code","text":"`data:text/html,...`"},{"kind":"text","text":" is only supported with the "},{"kind":"code","text":"`window-data-url`"},{"kind":"text","text":" Cargo feature for the "},{"kind":"code","text":"`tauri`"},{"kind":"text","text":" dependency.\n- local file path or route such as "},{"kind":"code","text":"`/path/to/page.html`"},{"kind":"text","text":" or "},{"kind":"code","text":"`/users`"},{"kind":"text","text":" is appended to the application URL (the devServer URL on development, or "},{"kind":"code","text":"`tauri://localhost/`"},{"kind":"text","text":" and "},{"kind":"code","text":"`https://tauri.localhost/`"},{"kind":"text","text":" on production)."}]},"sources":[{"fileName":"window.ts","line":1976,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1976"}],"type":{"type":"intrinsic","name":"string"}},{"id":586,"name":"userAgent","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The user agent for the webview."}]},"sources":[{"fileName":"window.ts","line":2071,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2071"}],"type":{"type":"intrinsic","name":"string"}},{"id":573,"name":"visible","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should be immediately visible upon creation or not."}]},"sources":[{"fileName":"window.ts","line":2012,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2012"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":561,"name":"width","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial width."}]},"sources":[{"fileName":"window.ts","line":1984,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1984"}],"type":{"type":"intrinsic","name":"number"}},{"id":559,"name":"x","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial vertical position. Only applies if "},{"kind":"code","text":"`y`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1980,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1980"}],"type":{"type":"intrinsic","name":"number"}},{"id":560,"name":"y","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial horizontal position. Only applies if "},{"kind":"code","text":"`x`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1982,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1982"}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","children":[584,576,575,558,590,577,574,580,570,569,562,583,587,566,565,588,572,564,563,589,567,579,578,585,581,568,582,571,557,586,573,561,559,560]}],"sources":[{"fileName":"window.ts","line":1968,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1968"}]},{"id":591,"name":"Color","variant":"declaration","kind":4194304,"flags":{},"comment":{"summary":[{"kind":"text","text":"an array RGBA colors. Each value has minimum of 0 and maximum of 255."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"window.ts","line":1788,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1788"}],"type":{"type":"tuple","elements":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"number"}]}},{"id":275,"name":"CursorIcon","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"window.ts","line":110,"character":12,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L110"}],"type":{"type":"union","types":[{"type":"literal","value":"default"},{"type":"literal","value":"crosshair"},{"type":"literal","value":"hand"},{"type":"literal","value":"arrow"},{"type":"literal","value":"move"},{"type":"literal","value":"text"},{"type":"literal","value":"wait"},{"type":"literal","value":"help"},{"type":"literal","value":"progress"},{"type":"literal","value":"notAllowed"},{"type":"literal","value":"contextMenu"},{"type":"literal","value":"cell"},{"type":"literal","value":"verticalText"},{"type":"literal","value":"alias"},{"type":"literal","value":"copy"},{"type":"literal","value":"noDrop"},{"type":"literal","value":"grab"},{"type":"literal","value":"grabbing"},{"type":"literal","value":"allScroll"},{"type":"literal","value":"zoomIn"},{"type":"literal","value":"zoomOut"},{"type":"literal","value":"eResize"},{"type":"literal","value":"nResize"},{"type":"literal","value":"neResize"},{"type":"literal","value":"nwResize"},{"type":"literal","value":"sResize"},{"type":"literal","value":"seResize"},{"type":"literal","value":"swResize"},{"type":"literal","value":"wResize"},{"type":"literal","value":"ewResize"},{"type":"literal","value":"nsResize"},{"type":"literal","value":"neswResize"},{"type":"literal","value":"nwseResize"},{"type":"literal","value":"colResize"},{"type":"literal","value":"rowResize"}]}},{"id":547,"name":"FileDropEvent","variant":"declaration","kind":4194304,"flags":{},"comment":{"summary":[{"kind":"text","text":"The file drop event types."}]},"sources":[{"fileName":"window.ts","line":61,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L61"}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":548,"name":"__type","variant":"declaration","kind":65536,"flags":{},"children":[{"id":550,"name":"paths","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":62,"character":21,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L62"}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":549,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":62,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L62"}],"type":{"type":"literal","value":"hover"}}],"groups":[{"title":"Properties","children":[550,549]}],"sources":[{"fileName":"window.ts","line":62,"character":4,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L62"}]}},{"type":"reflection","declaration":{"id":551,"name":"__type","variant":"declaration","kind":65536,"flags":{},"children":[{"id":553,"name":"paths","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":63,"character":20,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L63"}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":552,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":63,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L63"}],"type":{"type":"literal","value":"drop"}}],"groups":[{"title":"Properties","children":[553,552]}],"sources":[{"fileName":"window.ts","line":63,"character":4,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L63"}]}},{"type":"reflection","declaration":{"id":554,"name":"__type","variant":"declaration","kind":65536,"flags":{},"children":[{"id":555,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":64,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L64"}],"type":{"type":"literal","value":"cancel"}}],"groups":[{"title":"Properties","children":[555]}],"sources":[{"fileName":"window.ts","line":64,"character":4,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L64"}]}}]}},{"id":542,"name":"Theme","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"window.ts","line":45,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L45"}],"type":{"type":"union","types":[{"type":"literal","value":"light"},{"type":"literal","value":"dark"}]}},{"id":543,"name":"TitleBarStyle","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"window.ts","line":46,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L46"}],"type":{"type":"union","types":[{"type":"literal","value":"visible"},{"type":"literal","value":"transparent"},{"type":"literal","value":"overlay"}]}},{"id":535,"name":"availableMonitors","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":2157,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2157"}],"signatures":[{"id":536,"name":"availableMonitors","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the list of all the monitors available on the system."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { availableMonitors } from '@tauri-apps/api/window';\nconst monitors = availableMonitors();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":2157,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2157"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"array","elementType":{"type":"reference","target":270,"name":"Monitor","package":"@tauri-apps/api"}}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":531,"name":"currentMonitor","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":2124,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2124"}],"signatures":[{"id":532,"name":"currentMonitor","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the monitor on which the window currently resides.\nReturns "},{"kind":"code","text":"`null`"},{"kind":"text","text":" if current monitor can't be detected."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { currentMonitor } from '@tauri-apps/api/window';\nconst monitor = currentMonitor();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":2124,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2124"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"reference","target":270,"name":"Monitor","package":"@tauri-apps/api"},{"type":"literal","value":null}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":496,"name":"getAll","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":206,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L206"}],"signatures":[{"id":497,"name":"getAll","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets a list of instances of "},{"kind":"code","text":"`Window`"},{"kind":"text","text":" for all available windows."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":206,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L206"}],"type":{"type":"array","elementType":{"type":"reference","target":287,"name":"Window","package":"@tauri-apps/api"}}}]},{"id":494,"name":"getCurrent","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":194,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L194"}],"signatures":[{"id":495,"name":"getCurrent","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Get an instance of "},{"kind":"code","text":"`Window`"},{"kind":"text","text":" for the current window."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":194,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L194"}],"type":{"type":"reference","target":287,"name":"Window","package":"@tauri-apps/api"}}]},{"id":533,"name":"primaryMonitor","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":2141,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2141"}],"signatures":[{"id":534,"name":"primaryMonitor","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the primary monitor of the system.\nReturns "},{"kind":"code","text":"`null`"},{"kind":"text","text":" if it can't identify any monitor as a primary one."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { primaryMonitor } from '@tauri-apps/api/window';\nconst monitor = primaryMonitor();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":2141,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L2141"}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"reference","target":270,"name":"Monitor","package":"@tauri-apps/api"},{"type":"literal","value":null}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"References","children":[605,603,606,604]},{"title":"Enumerations","children":[501,527,276,498]},{"title":"Classes","children":[482,287]},{"title":"Interfaces","children":[537,270,282,544,556]},{"title":"Type Aliases","children":[591,275,547,542,543]},{"title":"Functions","children":[535,531,496,494,533]}],"sources":[{"fileName":"window.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/6839d1dad/tooling/api/src/window.ts#L1"}]}],"groups":[{"title":"Modules","children":[592,1,40,89,103,204,269]}],"packageName":"@tauri-apps/api","symbolIdMap":{"1":{"sourceFileName":"src/dpi.ts","qualifiedName":""},"2":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition"},"3":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition.__constructor"},"4":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition"},"5":{"sourceFileName":"src/dpi.ts","qualifiedName":"x"},"6":{"sourceFileName":"src/dpi.ts","qualifiedName":"y"},"7":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition.type"},"8":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition.x"},"9":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition.y"},"10":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize"},"11":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize.__constructor"},"12":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize"},"13":{"sourceFileName":"src/dpi.ts","qualifiedName":"width"},"14":{"sourceFileName":"src/dpi.ts","qualifiedName":"height"},"15":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize.type"},"16":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize.width"},"17":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize.height"},"18":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition"},"19":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.__constructor"},"20":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition"},"21":{"sourceFileName":"src/dpi.ts","qualifiedName":"x"},"22":{"sourceFileName":"src/dpi.ts","qualifiedName":"y"},"23":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.type"},"24":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.x"},"25":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.y"},"26":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.toLogical"},"27":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.toLogical"},"28":{"sourceFileName":"src/dpi.ts","qualifiedName":"scaleFactor"},"29":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize"},"30":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.__constructor"},"31":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize"},"32":{"sourceFileName":"src/dpi.ts","qualifiedName":"width"},"33":{"sourceFileName":"src/dpi.ts","qualifiedName":"height"},"34":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.type"},"35":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.width"},"36":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.height"},"37":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.toLogical"},"38":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.toLogical"},"39":{"sourceFileName":"src/dpi.ts","qualifiedName":"scaleFactor"},"40":{"sourceFileName":"src/event.ts","qualifiedName":""},"41":{"sourceFileName":"src/event.ts","qualifiedName":"Event"},"42":{"sourceFileName":"src/event.ts","qualifiedName":"Event.event"},"43":{"sourceFileName":"src/event.ts","qualifiedName":"Event.windowLabel"},"44":{"sourceFileName":"src/event.ts","qualifiedName":"Event.id"},"45":{"sourceFileName":"src/event.ts","qualifiedName":"Event.payload"},"46":{"sourceFileName":"src/event.ts","qualifiedName":"Event.T"},"47":{"sourceFileName":"src/event.ts","qualifiedName":"EventCallback"},"48":{"sourceFileName":"src/event.ts","qualifiedName":"__type"},"49":{"sourceFileName":"src/event.ts","qualifiedName":"__type"},"50":{"sourceFileName":"src/event.ts","qualifiedName":"event"},"51":{"sourceFileName":"src/event.ts","qualifiedName":"T"},"52":{"sourceFileName":"src/event.ts","qualifiedName":"UnlistenFn"},"53":{"sourceFileName":"src/event.ts","qualifiedName":"__type"},"54":{"sourceFileName":"src/event.ts","qualifiedName":"__type"},"55":{"sourceFileName":"src/event.ts","qualifiedName":"EventName"},"56":{"sourceFileName":"src/event.ts","qualifiedName":"Options"},"57":{"sourceFileName":"src/event.ts","qualifiedName":"Options.target"},"58":{"sourceFileName":"src/event.ts","qualifiedName":"listen"},"59":{"sourceFileName":"src/event.ts","qualifiedName":"listen"},"60":{"sourceFileName":"src/event.ts","qualifiedName":"T"},"61":{"sourceFileName":"src/event.ts","qualifiedName":"event"},"62":{"sourceFileName":"src/event.ts","qualifiedName":"handler"},"63":{"sourceFileName":"src/event.ts","qualifiedName":"options"},"64":{"sourceFileName":"src/event.ts","qualifiedName":"once"},"65":{"sourceFileName":"src/event.ts","qualifiedName":"once"},"66":{"sourceFileName":"src/event.ts","qualifiedName":"T"},"67":{"sourceFileName":"src/event.ts","qualifiedName":"event"},"68":{"sourceFileName":"src/event.ts","qualifiedName":"handler"},"69":{"sourceFileName":"src/event.ts","qualifiedName":"options"},"70":{"sourceFileName":"src/event.ts","qualifiedName":"emit"},"71":{"sourceFileName":"src/event.ts","qualifiedName":"emit"},"72":{"sourceFileName":"src/event.ts","qualifiedName":"event"},"73":{"sourceFileName":"src/event.ts","qualifiedName":"payload"},"74":{"sourceFileName":"src/event.ts","qualifiedName":"options"},"75":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent"},"76":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_RESIZED"},"77":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_MOVED"},"78":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_CLOSE_REQUESTED"},"79":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_CREATED"},"80":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_DESTROYED"},"81":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_FOCUS"},"82":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_BLUR"},"83":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_SCALE_FACTOR_CHANGED"},"84":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_THEME_CHANGED"},"85":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_FILE_DROP"},"86":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_FILE_DROP_HOVER"},"87":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_FILE_DROP_CANCELLED"},"88":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.MENU"},"89":{"sourceFileName":"src/mocks.ts","qualifiedName":""},"90":{"sourceFileName":"src/mocks.ts","qualifiedName":"mockIPC"},"91":{"sourceFileName":"src/mocks.ts","qualifiedName":"mockIPC"},"92":{"sourceFileName":"src/mocks.ts","qualifiedName":"cb"},"93":{"sourceFileName":"src/mocks.ts","qualifiedName":"__type"},"94":{"sourceFileName":"src/mocks.ts","qualifiedName":"__type"},"95":{"sourceFileName":"src/mocks.ts","qualifiedName":"cmd"},"96":{"sourceFileName":"src/mocks.ts","qualifiedName":"payload"},"97":{"sourceFileName":"src/mocks.ts","qualifiedName":"mockWindows"},"98":{"sourceFileName":"src/mocks.ts","qualifiedName":"mockWindows"},"99":{"sourceFileName":"src/mocks.ts","qualifiedName":"current"},"100":{"sourceFileName":"src/mocks.ts","qualifiedName":"additionalWindows"},"101":{"sourceFileName":"src/mocks.ts","qualifiedName":"clearMocks"},"102":{"sourceFileName":"src/mocks.ts","qualifiedName":"clearMocks"},"103":{"sourceFileName":"src/path.ts","qualifiedName":""},"104":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory"},"105":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Audio"},"106":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Cache"},"107":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Config"},"108":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Data"},"109":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.LocalData"},"110":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Document"},"111":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Download"},"112":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Picture"},"113":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Public"},"114":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Video"},"115":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Resource"},"116":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Temp"},"117":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.AppConfig"},"118":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.AppData"},"119":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.AppLocalData"},"120":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.AppCache"},"121":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.AppLog"},"122":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Desktop"},"123":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Executable"},"124":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Font"},"125":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Home"},"126":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Runtime"},"127":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Template"},"128":{"sourceFileName":"src/path.ts","qualifiedName":"appConfigDir"},"129":{"sourceFileName":"src/path.ts","qualifiedName":"appConfigDir"},"130":{"sourceFileName":"src/path.ts","qualifiedName":"appDataDir"},"131":{"sourceFileName":"src/path.ts","qualifiedName":"appDataDir"},"132":{"sourceFileName":"src/path.ts","qualifiedName":"appLocalDataDir"},"133":{"sourceFileName":"src/path.ts","qualifiedName":"appLocalDataDir"},"134":{"sourceFileName":"src/path.ts","qualifiedName":"appCacheDir"},"135":{"sourceFileName":"src/path.ts","qualifiedName":"appCacheDir"},"136":{"sourceFileName":"src/path.ts","qualifiedName":"appLogDir"},"137":{"sourceFileName":"src/path.ts","qualifiedName":"appLogDir"},"138":{"sourceFileName":"src/path.ts","qualifiedName":"audioDir"},"139":{"sourceFileName":"src/path.ts","qualifiedName":"audioDir"},"140":{"sourceFileName":"src/path.ts","qualifiedName":"cacheDir"},"141":{"sourceFileName":"src/path.ts","qualifiedName":"cacheDir"},"142":{"sourceFileName":"src/path.ts","qualifiedName":"configDir"},"143":{"sourceFileName":"src/path.ts","qualifiedName":"configDir"},"144":{"sourceFileName":"src/path.ts","qualifiedName":"dataDir"},"145":{"sourceFileName":"src/path.ts","qualifiedName":"dataDir"},"146":{"sourceFileName":"src/path.ts","qualifiedName":"desktopDir"},"147":{"sourceFileName":"src/path.ts","qualifiedName":"desktopDir"},"148":{"sourceFileName":"src/path.ts","qualifiedName":"documentDir"},"149":{"sourceFileName":"src/path.ts","qualifiedName":"documentDir"},"150":{"sourceFileName":"src/path.ts","qualifiedName":"downloadDir"},"151":{"sourceFileName":"src/path.ts","qualifiedName":"downloadDir"},"152":{"sourceFileName":"src/path.ts","qualifiedName":"executableDir"},"153":{"sourceFileName":"src/path.ts","qualifiedName":"executableDir"},"154":{"sourceFileName":"src/path.ts","qualifiedName":"fontDir"},"155":{"sourceFileName":"src/path.ts","qualifiedName":"fontDir"},"156":{"sourceFileName":"src/path.ts","qualifiedName":"homeDir"},"157":{"sourceFileName":"src/path.ts","qualifiedName":"homeDir"},"158":{"sourceFileName":"src/path.ts","qualifiedName":"localDataDir"},"159":{"sourceFileName":"src/path.ts","qualifiedName":"localDataDir"},"160":{"sourceFileName":"src/path.ts","qualifiedName":"pictureDir"},"161":{"sourceFileName":"src/path.ts","qualifiedName":"pictureDir"},"162":{"sourceFileName":"src/path.ts","qualifiedName":"publicDir"},"163":{"sourceFileName":"src/path.ts","qualifiedName":"publicDir"},"164":{"sourceFileName":"src/path.ts","qualifiedName":"resourceDir"},"165":{"sourceFileName":"src/path.ts","qualifiedName":"resourceDir"},"166":{"sourceFileName":"src/path.ts","qualifiedName":"resolveResource"},"167":{"sourceFileName":"src/path.ts","qualifiedName":"resolveResource"},"168":{"sourceFileName":"src/path.ts","qualifiedName":"resourcePath"},"169":{"sourceFileName":"src/path.ts","qualifiedName":"runtimeDir"},"170":{"sourceFileName":"src/path.ts","qualifiedName":"runtimeDir"},"171":{"sourceFileName":"src/path.ts","qualifiedName":"templateDir"},"172":{"sourceFileName":"src/path.ts","qualifiedName":"templateDir"},"173":{"sourceFileName":"src/path.ts","qualifiedName":"videoDir"},"174":{"sourceFileName":"src/path.ts","qualifiedName":"videoDir"},"175":{"sourceFileName":"src/path.ts","qualifiedName":"sep"},"176":{"sourceFileName":"src/path.ts","qualifiedName":"sep"},"177":{"sourceFileName":"src/path.ts","qualifiedName":"delimiter"},"178":{"sourceFileName":"src/path.ts","qualifiedName":"delimiter"},"179":{"sourceFileName":"src/path.ts","qualifiedName":"resolve"},"180":{"sourceFileName":"src/path.ts","qualifiedName":"resolve"},"181":{"sourceFileName":"src/path.ts","qualifiedName":"paths"},"182":{"sourceFileName":"src/path.ts","qualifiedName":"normalize"},"183":{"sourceFileName":"src/path.ts","qualifiedName":"normalize"},"184":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"185":{"sourceFileName":"src/path.ts","qualifiedName":"join"},"186":{"sourceFileName":"src/path.ts","qualifiedName":"join"},"187":{"sourceFileName":"src/path.ts","qualifiedName":"paths"},"188":{"sourceFileName":"src/path.ts","qualifiedName":"dirname"},"189":{"sourceFileName":"src/path.ts","qualifiedName":"dirname"},"190":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"191":{"sourceFileName":"src/path.ts","qualifiedName":"extname"},"192":{"sourceFileName":"src/path.ts","qualifiedName":"extname"},"193":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"194":{"sourceFileName":"src/path.ts","qualifiedName":"basename"},"195":{"sourceFileName":"src/path.ts","qualifiedName":"basename"},"196":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"197":{"sourceFileName":"src/path.ts","qualifiedName":"ext"},"198":{"sourceFileName":"src/path.ts","qualifiedName":"isAbsolute"},"199":{"sourceFileName":"src/path.ts","qualifiedName":"isAbsolute"},"200":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"201":{"sourceFileName":"src/path.ts","qualifiedName":"tempDir"},"202":{"sourceFileName":"src/path.ts","qualifiedName":"tempDir"},"203":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"204":{"sourceFileName":"src/primitives.ts","qualifiedName":""},"205":{"sourceFileName":"src/primitives.ts","qualifiedName":"InvokeArgs"},"206":{"sourceFileName":"src/primitives.ts","qualifiedName":"InvokeOptions"},"207":{"sourceFileName":"src/primitives.ts","qualifiedName":"InvokeOptions.headers"},"208":{"sourceFileName":"src/primitives.ts","qualifiedName":"transformCallback"},"209":{"sourceFileName":"src/primitives.ts","qualifiedName":"transformCallback"},"210":{"sourceFileName":"src/primitives.ts","qualifiedName":"T"},"211":{"sourceFileName":"src/primitives.ts","qualifiedName":"callback"},"212":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"213":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"214":{"sourceFileName":"src/primitives.ts","qualifiedName":"response"},"215":{"sourceFileName":"src/primitives.ts","qualifiedName":"once"},"216":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel"},"217":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.__constructor"},"218":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel"},"219":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.T"},"220":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.id"},"221":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.__TAURI_CHANNEL_MARKER__"},"222":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.#onmessage"},"223":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"224":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"225":{"sourceFileName":"src/primitives.ts","qualifiedName":"response"},"226":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.onmessage"},"227":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.onmessage"},"228":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"229":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"230":{"sourceFileName":"src/primitives.ts","qualifiedName":"response"},"231":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.onmessage"},"232":{"sourceFileName":"src/primitives.ts","qualifiedName":"handler"},"233":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"234":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"235":{"sourceFileName":"src/primitives.ts","qualifiedName":"response"},"236":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.toJSON"},"237":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.toJSON"},"238":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.T"},"239":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener"},"240":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.__constructor"},"241":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener"},"242":{"sourceFileName":"src/primitives.ts","qualifiedName":"plugin"},"243":{"sourceFileName":"src/primitives.ts","qualifiedName":"event"},"244":{"sourceFileName":"src/primitives.ts","qualifiedName":"channelId"},"245":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.plugin"},"246":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.event"},"247":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.channelId"},"248":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.unregister"},"249":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.unregister"},"250":{"sourceFileName":"src/primitives.ts","qualifiedName":"addPluginListener"},"251":{"sourceFileName":"src/primitives.ts","qualifiedName":"addPluginListener"},"252":{"sourceFileName":"src/primitives.ts","qualifiedName":"T"},"253":{"sourceFileName":"src/primitives.ts","qualifiedName":"plugin"},"254":{"sourceFileName":"src/primitives.ts","qualifiedName":"event"},"255":{"sourceFileName":"src/primitives.ts","qualifiedName":"cb"},"256":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"257":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"258":{"sourceFileName":"src/primitives.ts","qualifiedName":"payload"},"259":{"sourceFileName":"src/primitives.ts","qualifiedName":"invoke"},"260":{"sourceFileName":"src/primitives.ts","qualifiedName":"invoke"},"261":{"sourceFileName":"src/primitives.ts","qualifiedName":"T"},"262":{"sourceFileName":"src/primitives.ts","qualifiedName":"cmd"},"263":{"sourceFileName":"src/primitives.ts","qualifiedName":"args"},"264":{"sourceFileName":"src/primitives.ts","qualifiedName":"options"},"265":{"sourceFileName":"src/primitives.ts","qualifiedName":"convertFileSrc"},"266":{"sourceFileName":"src/primitives.ts","qualifiedName":"convertFileSrc"},"267":{"sourceFileName":"src/primitives.ts","qualifiedName":"filePath"},"268":{"sourceFileName":"src/primitives.ts","qualifiedName":"protocol"},"269":{"sourceFileName":"src/window.ts","qualifiedName":""},"270":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor"},"271":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.name"},"272":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.size"},"273":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.position"},"274":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.scaleFactor"},"275":{"sourceFileName":"src/window.ts","qualifiedName":"CursorIcon"},"276":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus"},"277":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.None"},"278":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.Normal"},"279":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.Indeterminate"},"280":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.Paused"},"281":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.Error"},"282":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarState"},"283":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarState.status"},"284":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarState.progress"},"285":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarState.unityUri"},"287":{"sourceFileName":"src/window.ts","qualifiedName":"Window"},"288":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getByLabel"},"289":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getByLabel"},"290":{"sourceFileName":"src/window.ts","qualifiedName":"label"},"291":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getCurrent"},"292":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getCurrent"},"293":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getAll"},"294":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getAll"},"295":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getFocusedWindow"},"296":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getFocusedWindow"},"297":{"sourceFileName":"src/window.ts","qualifiedName":"Window.__constructor"},"298":{"sourceFileName":"src/window.ts","qualifiedName":"Window"},"299":{"sourceFileName":"src/window.ts","qualifiedName":"label"},"300":{"sourceFileName":"src/window.ts","qualifiedName":"options"},"301":{"sourceFileName":"src/window.ts","qualifiedName":"Window.label"},"302":{"sourceFileName":"src/window.ts","qualifiedName":"Window.listeners"},"303":{"sourceFileName":"src/window.ts","qualifiedName":"Window.listen"},"304":{"sourceFileName":"src/window.ts","qualifiedName":"Window.listen"},"305":{"sourceFileName":"src/window.ts","qualifiedName":"T"},"306":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"307":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"308":{"sourceFileName":"src/window.ts","qualifiedName":"Window.once"},"309":{"sourceFileName":"src/window.ts","qualifiedName":"Window.once"},"310":{"sourceFileName":"src/window.ts","qualifiedName":"T"},"311":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"312":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"313":{"sourceFileName":"src/window.ts","qualifiedName":"Window.emit"},"314":{"sourceFileName":"src/window.ts","qualifiedName":"Window.emit"},"315":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"316":{"sourceFileName":"src/window.ts","qualifiedName":"payload"},"322":{"sourceFileName":"src/window.ts","qualifiedName":"Window.scaleFactor"},"323":{"sourceFileName":"src/window.ts","qualifiedName":"Window.scaleFactor"},"324":{"sourceFileName":"src/window.ts","qualifiedName":"Window.innerPosition"},"325":{"sourceFileName":"src/window.ts","qualifiedName":"Window.innerPosition"},"326":{"sourceFileName":"src/window.ts","qualifiedName":"Window.outerPosition"},"327":{"sourceFileName":"src/window.ts","qualifiedName":"Window.outerPosition"},"328":{"sourceFileName":"src/window.ts","qualifiedName":"Window.innerSize"},"329":{"sourceFileName":"src/window.ts","qualifiedName":"Window.innerSize"},"330":{"sourceFileName":"src/window.ts","qualifiedName":"Window.outerSize"},"331":{"sourceFileName":"src/window.ts","qualifiedName":"Window.outerSize"},"332":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isFullscreen"},"333":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isFullscreen"},"334":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMinimized"},"335":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMinimized"},"336":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMaximized"},"337":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMaximized"},"338":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isFocused"},"339":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isFocused"},"340":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isDecorated"},"341":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isDecorated"},"342":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isResizable"},"343":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isResizable"},"344":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMaximizable"},"345":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMaximizable"},"346":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMinimizable"},"347":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMinimizable"},"348":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isClosable"},"349":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isClosable"},"350":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isVisible"},"351":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isVisible"},"352":{"sourceFileName":"src/window.ts","qualifiedName":"Window.title"},"353":{"sourceFileName":"src/window.ts","qualifiedName":"Window.title"},"354":{"sourceFileName":"src/window.ts","qualifiedName":"Window.theme"},"355":{"sourceFileName":"src/window.ts","qualifiedName":"Window.theme"},"356":{"sourceFileName":"src/window.ts","qualifiedName":"Window.center"},"357":{"sourceFileName":"src/window.ts","qualifiedName":"Window.center"},"358":{"sourceFileName":"src/window.ts","qualifiedName":"Window.requestUserAttention"},"359":{"sourceFileName":"src/window.ts","qualifiedName":"Window.requestUserAttention"},"360":{"sourceFileName":"src/window.ts","qualifiedName":"requestType"},"361":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setResizable"},"362":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setResizable"},"363":{"sourceFileName":"src/window.ts","qualifiedName":"resizable"},"364":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMaximizable"},"365":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMaximizable"},"366":{"sourceFileName":"src/window.ts","qualifiedName":"maximizable"},"367":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMinimizable"},"368":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMinimizable"},"369":{"sourceFileName":"src/window.ts","qualifiedName":"minimizable"},"370":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setClosable"},"371":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setClosable"},"372":{"sourceFileName":"src/window.ts","qualifiedName":"closable"},"373":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setTitle"},"374":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setTitle"},"375":{"sourceFileName":"src/window.ts","qualifiedName":"title"},"376":{"sourceFileName":"src/window.ts","qualifiedName":"Window.maximize"},"377":{"sourceFileName":"src/window.ts","qualifiedName":"Window.maximize"},"378":{"sourceFileName":"src/window.ts","qualifiedName":"Window.unmaximize"},"379":{"sourceFileName":"src/window.ts","qualifiedName":"Window.unmaximize"},"380":{"sourceFileName":"src/window.ts","qualifiedName":"Window.toggleMaximize"},"381":{"sourceFileName":"src/window.ts","qualifiedName":"Window.toggleMaximize"},"382":{"sourceFileName":"src/window.ts","qualifiedName":"Window.minimize"},"383":{"sourceFileName":"src/window.ts","qualifiedName":"Window.minimize"},"384":{"sourceFileName":"src/window.ts","qualifiedName":"Window.unminimize"},"385":{"sourceFileName":"src/window.ts","qualifiedName":"Window.unminimize"},"386":{"sourceFileName":"src/window.ts","qualifiedName":"Window.show"},"387":{"sourceFileName":"src/window.ts","qualifiedName":"Window.show"},"388":{"sourceFileName":"src/window.ts","qualifiedName":"Window.hide"},"389":{"sourceFileName":"src/window.ts","qualifiedName":"Window.hide"},"390":{"sourceFileName":"src/window.ts","qualifiedName":"Window.close"},"391":{"sourceFileName":"src/window.ts","qualifiedName":"Window.close"},"392":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setDecorations"},"393":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setDecorations"},"394":{"sourceFileName":"src/window.ts","qualifiedName":"decorations"},"395":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setShadow"},"396":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setShadow"},"397":{"sourceFileName":"src/window.ts","qualifiedName":"enable"},"398":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setEffects"},"399":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setEffects"},"400":{"sourceFileName":"src/window.ts","qualifiedName":"effects"},"401":{"sourceFileName":"src/window.ts","qualifiedName":"Window.clearEffects"},"402":{"sourceFileName":"src/window.ts","qualifiedName":"Window.clearEffects"},"403":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setAlwaysOnTop"},"404":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setAlwaysOnTop"},"405":{"sourceFileName":"src/window.ts","qualifiedName":"alwaysOnTop"},"406":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setAlwaysOnBottom"},"407":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setAlwaysOnBottom"},"408":{"sourceFileName":"src/window.ts","qualifiedName":"alwaysOnBottom"},"409":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setContentProtected"},"410":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setContentProtected"},"411":{"sourceFileName":"src/window.ts","qualifiedName":"protected_"},"412":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setSize"},"413":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setSize"},"414":{"sourceFileName":"src/window.ts","qualifiedName":"size"},"415":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMinSize"},"416":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMinSize"},"417":{"sourceFileName":"src/window.ts","qualifiedName":"size"},"418":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMaxSize"},"419":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMaxSize"},"420":{"sourceFileName":"src/window.ts","qualifiedName":"size"},"421":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setPosition"},"422":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setPosition"},"423":{"sourceFileName":"src/window.ts","qualifiedName":"position"},"424":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setFullscreen"},"425":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setFullscreen"},"426":{"sourceFileName":"src/window.ts","qualifiedName":"fullscreen"},"427":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setFocus"},"428":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setFocus"},"429":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setIcon"},"430":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setIcon"},"431":{"sourceFileName":"src/window.ts","qualifiedName":"icon"},"432":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setSkipTaskbar"},"433":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setSkipTaskbar"},"434":{"sourceFileName":"src/window.ts","qualifiedName":"skip"},"435":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorGrab"},"436":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorGrab"},"437":{"sourceFileName":"src/window.ts","qualifiedName":"grab"},"438":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorVisible"},"439":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorVisible"},"440":{"sourceFileName":"src/window.ts","qualifiedName":"visible"},"441":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorIcon"},"442":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorIcon"},"443":{"sourceFileName":"src/window.ts","qualifiedName":"icon"},"444":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorPosition"},"445":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorPosition"},"446":{"sourceFileName":"src/window.ts","qualifiedName":"position"},"447":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setIgnoreCursorEvents"},"448":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setIgnoreCursorEvents"},"449":{"sourceFileName":"src/window.ts","qualifiedName":"ignore"},"450":{"sourceFileName":"src/window.ts","qualifiedName":"Window.startDragging"},"451":{"sourceFileName":"src/window.ts","qualifiedName":"Window.startDragging"},"452":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setProgressBar"},"453":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setProgressBar"},"454":{"sourceFileName":"src/window.ts","qualifiedName":"state"},"455":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onResized"},"456":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onResized"},"457":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"458":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onMoved"},"459":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onMoved"},"460":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"461":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onCloseRequested"},"462":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onCloseRequested"},"463":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"464":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"465":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"466":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"467":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onFocusChanged"},"468":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onFocusChanged"},"469":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"470":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onScaleChanged"},"471":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onScaleChanged"},"472":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"473":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onMenuClicked"},"474":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onMenuClicked"},"475":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"476":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onFileDropEvent"},"477":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onFileDropEvent"},"478":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"479":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onThemeChanged"},"480":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onThemeChanged"},"481":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"482":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent"},"483":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.__constructor"},"484":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent"},"485":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"486":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.event"},"487":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.windowLabel"},"488":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.id"},"489":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent._preventDefault"},"490":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.preventDefault"},"491":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.preventDefault"},"492":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.isPreventDefault"},"493":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.isPreventDefault"},"494":{"sourceFileName":"src/window.ts","qualifiedName":"getCurrent"},"495":{"sourceFileName":"src/window.ts","qualifiedName":"getCurrent"},"496":{"sourceFileName":"src/window.ts","qualifiedName":"getAll"},"497":{"sourceFileName":"src/window.ts","qualifiedName":"getAll"},"498":{"sourceFileName":"src/window.ts","qualifiedName":"UserAttentionType"},"499":{"sourceFileName":"src/window.ts","qualifiedName":"UserAttentionType.Critical"},"500":{"sourceFileName":"src/window.ts","qualifiedName":"UserAttentionType.Informational"},"501":{"sourceFileName":"src/window.ts","qualifiedName":"Effect"},"502":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.AppearanceBased"},"503":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Light"},"504":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Dark"},"505":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.MediumLight"},"506":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.UltraDark"},"507":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Titlebar"},"508":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Selection"},"509":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Menu"},"510":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Popover"},"511":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Sidebar"},"512":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.HeaderView"},"513":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Sheet"},"514":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.WindowBackground"},"515":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.HudWindow"},"516":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.FullScreenUI"},"517":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Tooltip"},"518":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.ContentBackground"},"519":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.UnderWindowBackground"},"520":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.UnderPageBackground"},"521":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Mica"},"522":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Blur"},"523":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Acrylic"},"524":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Tabbed"},"525":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.TabbedDark"},"526":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.TabbedLight"},"527":{"sourceFileName":"src/window.ts","qualifiedName":"EffectState"},"528":{"sourceFileName":"src/window.ts","qualifiedName":"EffectState.FollowsWindowActiveState"},"529":{"sourceFileName":"src/window.ts","qualifiedName":"EffectState.Active"},"530":{"sourceFileName":"src/window.ts","qualifiedName":"EffectState.Inactive"},"531":{"sourceFileName":"src/window.ts","qualifiedName":"currentMonitor"},"532":{"sourceFileName":"src/window.ts","qualifiedName":"currentMonitor"},"533":{"sourceFileName":"src/window.ts","qualifiedName":"primaryMonitor"},"534":{"sourceFileName":"src/window.ts","qualifiedName":"primaryMonitor"},"535":{"sourceFileName":"src/window.ts","qualifiedName":"availableMonitors"},"536":{"sourceFileName":"src/window.ts","qualifiedName":"availableMonitors"},"537":{"sourceFileName":"src/window.ts","qualifiedName":"Effects"},"538":{"sourceFileName":"src/window.ts","qualifiedName":"Effects.effects"},"539":{"sourceFileName":"src/window.ts","qualifiedName":"Effects.state"},"540":{"sourceFileName":"src/window.ts","qualifiedName":"Effects.radius"},"541":{"sourceFileName":"src/window.ts","qualifiedName":"Effects.color"},"542":{"sourceFileName":"src/window.ts","qualifiedName":"Theme"},"543":{"sourceFileName":"src/window.ts","qualifiedName":"TitleBarStyle"},"544":{"sourceFileName":"src/window.ts","qualifiedName":"ScaleFactorChanged"},"545":{"sourceFileName":"src/window.ts","qualifiedName":"ScaleFactorChanged.scaleFactor"},"546":{"sourceFileName":"src/window.ts","qualifiedName":"ScaleFactorChanged.size"},"547":{"sourceFileName":"src/window.ts","qualifiedName":"FileDropEvent"},"548":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"549":{"sourceFileName":"src/window.ts","qualifiedName":"__type.type"},"550":{"sourceFileName":"src/window.ts","qualifiedName":"__type.paths"},"551":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"552":{"sourceFileName":"src/window.ts","qualifiedName":"__type.type"},"553":{"sourceFileName":"src/window.ts","qualifiedName":"__type.paths"},"554":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"555":{"sourceFileName":"src/window.ts","qualifiedName":"__type.type"},"556":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions"},"557":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.url"},"558":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.center"},"559":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.x"},"560":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.y"},"561":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.width"},"562":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.height"},"563":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.minWidth"},"564":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.minHeight"},"565":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maxWidth"},"566":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maxHeight"},"567":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.resizable"},"568":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.title"},"569":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.fullscreen"},"570":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.focus"},"571":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.transparent"},"572":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maximized"},"573":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.visible"},"574":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.decorations"},"575":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.alwaysOnTop"},"576":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.alwaysOnBottom"},"577":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.contentProtected"},"578":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.skipTaskbar"},"579":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.shadow"},"580":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.fileDropEnabled"},"581":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.theme"},"582":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.titleBarStyle"},"583":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.hiddenTitle"},"584":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.acceptFirstMouse"},"585":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.tabbingIdentifier"},"586":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.userAgent"},"587":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.incognito"},"588":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maximizable"},"589":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.minimizable"},"590":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.closable"},"591":{"sourceFileName":"src/window.ts","qualifiedName":"Color"},"592":{"sourceFileName":"src/app.ts","qualifiedName":""},"593":{"sourceFileName":"src/app.ts","qualifiedName":"getName"},"594":{"sourceFileName":"src/app.ts","qualifiedName":"getName"},"595":{"sourceFileName":"src/app.ts","qualifiedName":"getVersion"},"596":{"sourceFileName":"src/app.ts","qualifiedName":"getVersion"},"597":{"sourceFileName":"src/app.ts","qualifiedName":"getTauriVersion"},"598":{"sourceFileName":"src/app.ts","qualifiedName":"getTauriVersion"},"599":{"sourceFileName":"src/app.ts","qualifiedName":"show"},"600":{"sourceFileName":"src/app.ts","qualifiedName":"show"},"601":{"sourceFileName":"src/app.ts","qualifiedName":"hide"},"602":{"sourceFileName":"src/app.ts","qualifiedName":"hide"},"603":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalSize"},"604":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalSize"},"605":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalPosition"},"606":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalPosition"}}} \ No newline at end of file +{"id":0,"name":"@tauri-apps/api","variant":"project","kind":1,"flags":{},"children":[{"id":592,"name":"app","variant":"declaration","kind":2,"flags":{},"children":[{"id":593,"name":"getName","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":37,"character":15}],"signatures":[{"id":594,"name":"getName","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the application name."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getName } from '@tauri-apps/api/app';\nconst appName = await getName();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"app.ts","line":37,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":597,"name":"getTauriVersion","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":52,"character":15}],"signatures":[{"id":598,"name":"getTauriVersion","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the Tauri version."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getTauriVersion } from '@tauri-apps/api/app';\nconst tauriVersion = await getTauriVersion();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"app.ts","line":52,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":595,"name":"getVersion","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":23,"character":15}],"signatures":[{"id":596,"name":"getVersion","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the application version."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getVersion } from '@tauri-apps/api/app';\nconst appVersion = await getVersion();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"app.ts","line":23,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":601,"name":"hide","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":82,"character":15}],"signatures":[{"id":602,"name":"hide","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Hides the application on macOS."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { hide } from '@tauri-apps/api/app';\nawait hide();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"app.ts","line":82,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":599,"name":"show","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":67,"character":15}],"signatures":[{"id":600,"name":"show","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Shows the application on macOS. This function does not automatically focus any specific app window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { show } from '@tauri-apps/api/app';\nawait show();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"app.ts","line":67,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Functions","children":[593,597,595,601,599]}],"sources":[{"fileName":"app.ts","line":1,"character":0}]},{"id":1,"name":"dpi","variant":"declaration","kind":2,"flags":{},"children":[{"id":2,"name":"LogicalPosition","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"A position represented in logical pixels."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":3,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"dpi.ts","line":62,"character":2}],"signatures":[{"id":4,"name":"new LogicalPosition","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"dpi.ts","line":62,"character":2}],"parameters":[{"id":5,"name":"x","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}},{"id":6,"name":"y","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":2,"name":"LogicalPosition","package":"@tauri-apps/api"}}]},{"id":7,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":58,"character":2}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"'Logical'"},{"id":8,"name":"x","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":59,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":9,"name":"y","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":60,"character":2}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Constructors","children":[3]},{"title":"Properties","children":[7,8,9]}],"sources":[{"fileName":"dpi.ts","line":57,"character":6}]},{"id":10,"name":"LogicalSize","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"A size represented in logical pixels."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":11,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"dpi.ts","line":15,"character":2}],"signatures":[{"id":12,"name":"new LogicalSize","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"dpi.ts","line":15,"character":2}],"parameters":[{"id":13,"name":"width","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}},{"id":14,"name":"height","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":10,"name":"LogicalSize","package":"@tauri-apps/api"}}]},{"id":17,"name":"height","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":13,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":15,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":11,"character":2}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"'Logical'"},{"id":16,"name":"width","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":12,"character":2}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Constructors","children":[11]},{"title":"Properties","children":[17,15,16]}],"sources":[{"fileName":"dpi.ts","line":10,"character":6}]},{"id":18,"name":"PhysicalPosition","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"A position represented in physical pixels."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":19,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"dpi.ts","line":78,"character":2}],"signatures":[{"id":20,"name":"new PhysicalPosition","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"dpi.ts","line":78,"character":2}],"parameters":[{"id":21,"name":"x","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}},{"id":22,"name":"y","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}}]},{"id":23,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":74,"character":2}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"'Physical'"},{"id":24,"name":"x","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":75,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":25,"name":"y","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":76,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":26,"name":"toLogical","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"dpi.ts","line":94,"character":2}],"signatures":[{"id":27,"name":"toLogical","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Converts the physical position to a logical one."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst appWindow = getCurrent();\nconst factor = await appWindow.scaleFactor();\nconst position = await appWindow.innerPosition();\nconst logical = position.toLogical(factor);\n```"}]}]},"sources":[{"fileName":"dpi.ts","line":94,"character":2}],"parameters":[{"id":28,"name":"scaleFactor","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":2,"name":"LogicalPosition","package":"@tauri-apps/api"}}]}],"groups":[{"title":"Constructors","children":[19]},{"title":"Properties","children":[23,24,25]},{"title":"Methods","children":[26]}],"sources":[{"fileName":"dpi.ts","line":73,"character":6}]},{"id":29,"name":"PhysicalSize","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"A size represented in physical pixels."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":30,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"dpi.ts","line":31,"character":2}],"signatures":[{"id":31,"name":"new PhysicalSize","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"dpi.ts","line":31,"character":2}],"parameters":[{"id":32,"name":"width","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}},{"id":33,"name":"height","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}}]},{"id":36,"name":"height","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":29,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":34,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":27,"character":2}],"type":{"type":"intrinsic","name":"string"},"defaultValue":"'Physical'"},{"id":35,"name":"width","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"dpi.ts","line":28,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":37,"name":"toLogical","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"dpi.ts","line":47,"character":2}],"signatures":[{"id":38,"name":"toLogical","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Converts the physical size to a logical one."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst appWindow = getCurrent();\nconst factor = await appWindow.scaleFactor();\nconst size = await appWindow.innerSize();\nconst logical = size.toLogical(factor);\n```"}]}]},"sources":[{"fileName":"dpi.ts","line":47,"character":2}],"parameters":[{"id":39,"name":"scaleFactor","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":10,"name":"LogicalSize","package":"@tauri-apps/api"}}]}],"groups":[{"title":"Constructors","children":[30]},{"title":"Properties","children":[36,34,35]},{"title":"Methods","children":[37]}],"sources":[{"fileName":"dpi.ts","line":26,"character":6}]}],"groups":[{"title":"Classes","children":[2,10,18,29]}],"sources":[{"fileName":"dpi.ts","line":1,"character":0}]},{"id":40,"name":"event","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"The event system allows you to emit events to the backend and listen to events from it.\n\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.event`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"children":[{"id":75,"name":"TauriEvent","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.1.0"}]}]},"children":[{"id":88,"name":"MENU","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":59,"character":2}],"type":{"type":"literal","value":"tauri://menu"}},{"id":82,"name":"WINDOW_BLUR","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":53,"character":2}],"type":{"type":"literal","value":"tauri://blur"}},{"id":78,"name":"WINDOW_CLOSE_REQUESTED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":49,"character":2}],"type":{"type":"literal","value":"tauri://close-requested"}},{"id":79,"name":"WINDOW_CREATED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":50,"character":2}],"type":{"type":"literal","value":"tauri://window-created"}},{"id":80,"name":"WINDOW_DESTROYED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":51,"character":2}],"type":{"type":"literal","value":"tauri://destroyed"}},{"id":85,"name":"WINDOW_FILE_DROP","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":56,"character":2}],"type":{"type":"literal","value":"tauri://file-drop"}},{"id":87,"name":"WINDOW_FILE_DROP_CANCELLED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":58,"character":2}],"type":{"type":"literal","value":"tauri://file-drop-cancelled"}},{"id":86,"name":"WINDOW_FILE_DROP_HOVER","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":57,"character":2}],"type":{"type":"literal","value":"tauri://file-drop-hover"}},{"id":81,"name":"WINDOW_FOCUS","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":52,"character":2}],"type":{"type":"literal","value":"tauri://focus"}},{"id":77,"name":"WINDOW_MOVED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":48,"character":2}],"type":{"type":"literal","value":"tauri://move"}},{"id":76,"name":"WINDOW_RESIZED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":47,"character":2}],"type":{"type":"literal","value":"tauri://resize"}},{"id":83,"name":"WINDOW_SCALE_FACTOR_CHANGED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":54,"character":2}],"type":{"type":"literal","value":"tauri://scale-change"}},{"id":84,"name":"WINDOW_THEME_CHANGED","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"event.ts","line":55,"character":2}],"type":{"type":"literal","value":"tauri://theme-changed"}}],"groups":[{"title":"Enumeration Members","children":[88,82,78,79,80,85,87,86,81,77,76,83,84]}],"sources":[{"fileName":"event.ts","line":46,"character":5}]},{"id":41,"name":"Event","variant":"declaration","kind":256,"flags":{},"children":[{"id":42,"name":"event","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name"}]},"sources":[{"fileName":"event.ts","line":16,"character":2}],"type":{"type":"reference","target":55,"name":"EventName","package":"@tauri-apps/api"}},{"id":44,"name":"id","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event identifier used to unlisten"}]},"sources":[{"fileName":"event.ts","line":20,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":45,"name":"payload","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event payload"}]},"sources":[{"fileName":"event.ts","line":22,"character":2}],"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}},{"id":43,"name":"windowLabel","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The label of the window that emitted this event."}]},"sources":[{"fileName":"event.ts","line":18,"character":2}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[42,44,45,43]}],"sources":[{"fileName":"event.ts","line":14,"character":10}],"typeParameters":[{"id":46,"name":"T","variant":"typeParam","kind":131072,"flags":{}}]},{"id":56,"name":"Options","variant":"declaration","kind":256,"flags":{},"children":[{"id":57,"name":"target","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Label of the window the function targets.\n\nWhen listening to events and using this value,\nonly events triggered by the window with the given label are received.\n\nWhen emitting events, only the window with the given label will receive it."}]},"sources":[{"fileName":"event.ts","line":40,"character":2}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[57]}],"sources":[{"fileName":"event.ts","line":31,"character":10}]},{"id":47,"name":"EventCallback","variant":"declaration","kind":2097152,"flags":{},"sources":[{"fileName":"event.ts","line":25,"character":5}],"typeParameters":[{"id":51,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"type":{"type":"reflection","declaration":{"id":48,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"event.ts","line":25,"character":24}],"signatures":[{"id":49,"name":"__type","variant":"signature","kind":4096,"flags":{},"parameters":[{"id":50,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":41,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Event","package":"@tauri-apps/api"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"id":55,"name":"EventName","variant":"declaration","kind":2097152,"flags":{},"sources":[{"fileName":"event.ts","line":29,"character":5}],"type":{"type":"union","types":[{"type":"templateLiteral","head":"","tail":[[{"type":"reference","target":75,"name":"TauriEvent","package":"@tauri-apps/api"},""]]},{"type":"intersection","types":[{"type":"intrinsic","name":"string"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"never"},{"type":"intrinsic","name":"never"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}]}]}},{"id":52,"name":"UnlistenFn","variant":"declaration","kind":2097152,"flags":{},"sources":[{"fileName":"event.ts","line":27,"character":5}],"type":{"type":"reflection","declaration":{"id":53,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"event.ts","line":27,"character":18}],"signatures":[{"id":54,"name":"__type","variant":"signature","kind":4096,"flags":{},"type":{"type":"intrinsic","name":"void"}}]}}},{"id":70,"name":"emit","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"event.ts","line":164,"character":15}],"signatures":[{"id":71,"name":"emit","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Emits an event to the backend and all Tauri windows."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { emit } from '@tauri-apps/api/event';\nawait emit('frontend-loaded', { loggedIn: true, token: 'authToken' });\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"event.ts","line":164,"character":15}],"parameters":[{"id":72,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":73,"name":"payload","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"intrinsic","name":"unknown"}},{"id":74,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":56,"name":"Options","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":58,"name":"listen","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"event.ts","line":99,"character":15}],"signatures":[{"id":59,"name":"listen","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an event. The event can be either global or window-specific.\nSee "},{"kind":"inline-tag","tag":"@link","text":"Event.windowLabel","target":43,"tsLinkText":""},{"kind":"text","text":" to check the event source."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { listen } from '@tauri-apps/api/event';\nconst unlisten = await listen('error', (event) => {\n console.log(`Got error in window ${event.windowLabel}, payload: ${event.payload}`);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"event.ts","line":99,"character":15}],"typeParameter":[{"id":60,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":61,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"reference","target":55,"name":"EventName","package":"@tauri-apps/api"}},{"id":62,"name":"handler","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event handler callback."}]},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"EventCallback","package":"@tauri-apps/api"}},{"id":63,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":56,"name":"Options","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":64,"name":"once","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"event.ts","line":137,"character":15}],"signatures":[{"id":65,"name":"once","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an one-off event. See "},{"kind":"inline-tag","tag":"@link","text":"listen","target":58,"tsLinkText":""},{"kind":"text","text":" for more information."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { once } from '@tauri-apps/api/event';\ninterface LoadedPayload {\n loggedIn: boolean,\n token: string\n}\nconst unlisten = await once('loaded', (event) => {\n console.log(`App is loaded, loggedIn: ${event.payload.loggedIn}, token: ${event.payload.token}`);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"event.ts","line":137,"character":15}],"typeParameter":[{"id":66,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":67,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"reference","target":55,"name":"EventName","package":"@tauri-apps/api"}},{"id":68,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"EventCallback","package":"@tauri-apps/api"}},{"id":69,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reference","target":56,"name":"Options","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Enumerations","children":[75]},{"title":"Interfaces","children":[41,56]},{"title":"Type Aliases","children":[47,55,52]},{"title":"Functions","children":[70,58,64]}],"sources":[{"fileName":"event.ts","line":1,"character":0}]},{"id":89,"name":"mocks","variant":"declaration","kind":2,"flags":{},"children":[{"id":101,"name":"clearMocks","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"mocks.ts","line":163,"character":16}],"signatures":[{"id":102,"name":"clearMocks","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Clears mocked functions/data injected by the other functions in this module.\nWhen using a test runner that doesn't provide a fresh window object for each test, calling this function will reset tauri specific properties.\n\n# Example\n\n"},{"kind":"code","text":"```js\nimport { mockWindows, clearMocks } from \"@tauri-apps/api/mocks\"\n\nafterEach(() => {\n clearMocks()\n})\n\ntest(\"mocked windows\", () => {\n mockWindows(\"main\", \"second\", \"third\");\n\n expect(window.__TAURI_INTERNALS__).toHaveProperty(\"metadata\")\n})\n\ntest(\"no mocked windows\", () => {\n expect(window.__TAURI_INTERNALS__).not.toHaveProperty(\"metadata\")\n})\n```"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"mocks.ts","line":163,"character":16}],"type":{"type":"intrinsic","name":"void"}}]},{"id":90,"name":"mockIPC","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"mocks.ts","line":65,"character":16}],"signatures":[{"id":91,"name":"mockIPC","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Intercepts all IPC requests with the given mock handler.\n\nThis function can be used when testing tauri frontend applications or when running the frontend in a Node.js context during static site generation.\n\n# Examples\n\nTesting setup using vitest:\n"},{"kind":"code","text":"```js\nimport { mockIPC, clearMocks } from \"@tauri-apps/api/mocks\"\nimport { invoke } from \"@tauri-apps/api/primitives\"\n\nafterEach(() => {\n clearMocks()\n})\n\ntest(\"mocked command\", () => {\n mockIPC((cmd, payload) => {\n switch (cmd) {\n case \"add\":\n return (payload.a as number) + (payload.b as number);\n default:\n break;\n }\n });\n\n expect(invoke('add', { a: 12, b: 15 })).resolves.toBe(27);\n})\n```"},{"kind":"text","text":"\n\nThe callback function can also return a Promise:\n"},{"kind":"code","text":"```js\nimport { mockIPC, clearMocks } from \"@tauri-apps/api/mocks\"\nimport { invoke } from \"@tauri-apps/api/primitives\"\n\nafterEach(() => {\n clearMocks()\n})\n\ntest(\"mocked command\", () => {\n mockIPC((cmd, payload) => {\n if(cmd === \"get_data\") {\n return fetch(\"https://example.com/data.json\")\n .then((response) => response.json())\n }\n });\n\n expect(invoke('get_data')).resolves.toBe({ foo: 'bar' });\n})\n```"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"mocks.ts","line":65,"character":16}],"parameters":[{"id":92,"name":"cb","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":93,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"mocks.ts","line":66,"character":6}],"signatures":[{"id":94,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"mocks.ts","line":66,"character":6}],"parameters":[{"id":95,"name":"cmd","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":96,"name":"payload","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"unknown"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}}],"type":{"type":"intrinsic","name":"unknown"}}]}}}],"type":{"type":"intrinsic","name":"void"}}]},{"id":97,"name":"mockWindows","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"mocks.ts","line":127,"character":16}],"signatures":[{"id":98,"name":"mockWindows","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Mocks one or many window labels.\nIn non-tauri context it is required to call this function *before* using the "},{"kind":"code","text":"`@tauri-apps/api/window`"},{"kind":"text","text":" module.\n\nThis function only mocks the *presence* of windows,\nwindow properties (e.g. width and height) can be mocked like regular IPC calls using the "},{"kind":"code","text":"`mockIPC`"},{"kind":"text","text":" function.\n\n# Examples\n\n"},{"kind":"code","text":"```js\nimport { mockWindows } from \"@tauri-apps/api/mocks\";\nimport { getCurrent } from \"@tauri-apps/api/window\";\n\nmockWindows(\"main\", \"second\", \"third\");\n\nconst win = getCurrent();\n\nwin.label // \"main\"\n```"},{"kind":"text","text":"\n\n"},{"kind":"code","text":"```js\nimport { mockWindows } from \"@tauri-apps/api/mocks\";\n\nmockWindows(\"main\", \"second\", \"third\");\n\nmockIPC((cmd, args) => {\n if (cmd === \"plugin:event|emit\") {\n console.log('emit event', args?.event, args?.payload);\n }\n});\n\nconst { emit } = await import(\"@tauri-apps/api/event\");\nawait emit('loaded'); // this will cause the mocked IPC handler to log to the console.\n```"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"mocks.ts","line":127,"character":16}],"parameters":[{"id":99,"name":"current","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Label of window this JavaScript context is running in."}]},"type":{"type":"intrinsic","name":"string"}},{"id":100,"name":"additionalWindows","variant":"param","kind":32768,"flags":{"isRest":true},"comment":{"summary":[{"kind":"text","text":"Label of additional windows the app has."}]},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"intrinsic","name":"void"}}]}],"groups":[{"title":"Functions","children":[101,90,97]}],"sources":[{"fileName":"mocks.ts","line":1,"character":0}]},{"id":103,"name":"path","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"The path module provides utilities for working with file and directory paths.\n\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.path`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":".\n\nIt is recommended to allowlist only the APIs you use for optimal bundle size and security."}]},"children":[{"id":104,"name":"BaseDirectory","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":120,"name":"AppCache","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":35,"character":2}],"type":{"type":"literal","value":16}},{"id":117,"name":"AppConfig","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":32,"character":2}],"type":{"type":"literal","value":13}},{"id":118,"name":"AppData","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":33,"character":2}],"type":{"type":"literal","value":14}},{"id":119,"name":"AppLocalData","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":34,"character":2}],"type":{"type":"literal","value":15}},{"id":121,"name":"AppLog","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":36,"character":2}],"type":{"type":"literal","value":17}},{"id":105,"name":"Audio","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":20,"character":2}],"type":{"type":"literal","value":1}},{"id":106,"name":"Cache","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":21,"character":2}],"type":{"type":"literal","value":2}},{"id":107,"name":"Config","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":22,"character":2}],"type":{"type":"literal","value":3}},{"id":108,"name":"Data","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":23,"character":2}],"type":{"type":"literal","value":4}},{"id":122,"name":"Desktop","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":38,"character":2}],"type":{"type":"literal","value":18}},{"id":110,"name":"Document","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":25,"character":2}],"type":{"type":"literal","value":6}},{"id":111,"name":"Download","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":26,"character":2}],"type":{"type":"literal","value":7}},{"id":123,"name":"Executable","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":39,"character":2}],"type":{"type":"literal","value":19}},{"id":124,"name":"Font","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":40,"character":2}],"type":{"type":"literal","value":20}},{"id":125,"name":"Home","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":41,"character":2}],"type":{"type":"literal","value":21}},{"id":109,"name":"LocalData","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":24,"character":2}],"type":{"type":"literal","value":5}},{"id":112,"name":"Picture","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":27,"character":2}],"type":{"type":"literal","value":8}},{"id":113,"name":"Public","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":28,"character":2}],"type":{"type":"literal","value":9}},{"id":115,"name":"Resource","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":30,"character":2}],"type":{"type":"literal","value":11}},{"id":126,"name":"Runtime","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":42,"character":2}],"type":{"type":"literal","value":22}},{"id":116,"name":"Temp","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":31,"character":2}],"type":{"type":"literal","value":12}},{"id":127,"name":"Template","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":43,"character":2}],"type":{"type":"literal","value":23}},{"id":114,"name":"Video","variant":"declaration","kind":16,"flags":{},"sources":[{"fileName":"path.ts","line":29,"character":2}],"type":{"type":"literal","value":10}}],"groups":[{"title":"Enumeration Members","children":[120,117,118,119,121,105,106,107,108,122,110,111,123,124,125,109,112,113,115,126,116,127,114]}],"sources":[{"fileName":"path.ts","line":19,"character":5}]},{"id":134,"name":"appCacheDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":108,"character":15}],"signatures":[{"id":135,"name":"appCacheDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's cache files.\nResolves to "},{"kind":"code","text":"`${cacheDir}/${bundleIdentifier}`"},{"kind":"text","text":", where "},{"kind":"code","text":"`bundleIdentifier`"},{"kind":"text","text":" is the value ["},{"kind":"code","text":"`tauri.bundle.identifier`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#bundleconfig.identifier) is configured in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appCacheDir } from '@tauri-apps/api/path';\nconst appCacheDirPath = await appCacheDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":108,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":128,"name":"appConfigDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":57,"character":15}],"signatures":[{"id":129,"name":"appConfigDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's config files.\nResolves to "},{"kind":"code","text":"`${configDir}/${bundleIdentifier}`"},{"kind":"text","text":", where "},{"kind":"code","text":"`bundleIdentifier`"},{"kind":"text","text":" is the value ["},{"kind":"code","text":"`tauri.bundle.identifier`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#bundleconfig.identifier) is configured in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appConfigDir } from '@tauri-apps/api/path';\nconst appConfigDirPath = await appConfigDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":57,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":130,"name":"appDataDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":74,"character":15}],"signatures":[{"id":131,"name":"appDataDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's data files.\nResolves to "},{"kind":"code","text":"`${dataDir}/${bundleIdentifier}`"},{"kind":"text","text":", where "},{"kind":"code","text":"`bundleIdentifier`"},{"kind":"text","text":" is the value ["},{"kind":"code","text":"`tauri.bundle.identifier`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#bundleconfig.identifier) is configured in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appDataDir } from '@tauri-apps/api/path';\nconst appDataDirPath = await appDataDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":74,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":132,"name":"appLocalDataDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":91,"character":15}],"signatures":[{"id":133,"name":"appLocalDataDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's local data files.\nResolves to "},{"kind":"code","text":"`${localDataDir}/${bundleIdentifier}`"},{"kind":"text","text":", where "},{"kind":"code","text":"`bundleIdentifier`"},{"kind":"text","text":" is the value ["},{"kind":"code","text":"`tauri.bundle.identifier`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#bundleconfig.identifier) is configured in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appLocalDataDir } from '@tauri-apps/api/path';\nconst appLocalDataDirPath = await appLocalDataDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":91,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":136,"name":"appLogDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":520,"character":15}],"signatures":[{"id":137,"name":"appLogDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the suggested directory for your app's log files.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`${configDir}/${bundleIdentifier}/logs`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`${homeDir}/Library/Logs/{bundleIdentifier}`"},{"kind":"text","text":"\n- **Windows:** Resolves to "},{"kind":"code","text":"`${configDir}/${bundleIdentifier}/logs`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appLogDir } from '@tauri-apps/api/path';\nconst appLogDirPath = await appLogDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.2.0"}]}]},"sources":[{"fileName":"path.ts","line":520,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":138,"name":"audioDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":130,"character":15}],"signatures":[{"id":139,"name":"audioDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's audio directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_MUSIC_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Music`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Music}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { audioDir } from '@tauri-apps/api/path';\nconst audioDirPath = await audioDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":130,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":194,"name":"basename","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":653,"character":15}],"signatures":[{"id":195,"name":"basename","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the last portion of a "},{"kind":"code","text":"`path`"},{"kind":"text","text":". Trailing directory separators are ignored."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { basename, resolveResource } from '@tauri-apps/api/path';\nconst resourcePath = await resolveResource('app.conf');\nconst base = await basename(resourcePath);\nassert(base === 'app.conf');\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":653,"character":15}],"parameters":[{"id":196,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":197,"name":"ext","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"An optional file extension to be removed from the returned path."}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":140,"name":"cacheDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":152,"character":15}],"signatures":[{"id":141,"name":"cacheDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's cache directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_CACHE_HOME`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.cache`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Caches`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_LocalAppData}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { cacheDir } from '@tauri-apps/api/path';\nconst cacheDirPath = await cacheDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":152,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":142,"name":"configDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":174,"character":15}],"signatures":[{"id":143,"name":"configDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's config directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_CONFIG_HOME`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.config`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Application Support`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_RoamingAppData}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { configDir } from '@tauri-apps/api/path';\nconst configDirPath = await configDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":174,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":144,"name":"dataDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":196,"character":15}],"signatures":[{"id":145,"name":"dataDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's data directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_DATA_HOME`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.local/share`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Application Support`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_RoamingAppData}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { dataDir } from '@tauri-apps/api/path';\nconst dataDirPath = await dataDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":196,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":177,"name":"delimiter","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":560,"character":9}],"signatures":[{"id":178,"name":"delimiter","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the platform-specific path segment delimiter:\n- "},{"kind":"code","text":"`;`"},{"kind":"text","text":" on Windows\n- "},{"kind":"code","text":"`:`"},{"kind":"text","text":" on POSIX"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"path.ts","line":560,"character":9}],"type":{"type":"intrinsic","name":"string"}}]},{"id":146,"name":"desktopDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":218,"character":15}],"signatures":[{"id":147,"name":"desktopDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's desktop directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_DESKTOP_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Desktop`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Desktop}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { desktopDir } from '@tauri-apps/api/path';\nconst desktopPath = await desktopDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":218,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":188,"name":"dirname","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":619,"character":15}],"signatures":[{"id":189,"name":"dirname","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the directory name of a "},{"kind":"code","text":"`path`"},{"kind":"text","text":". Trailing directory separators are ignored."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { dirname, appDataDir } from '@tauri-apps/api/path';\nconst appDataDirPath = await appDataDir();\nconst dir = await dirname(appDataDirPath);\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":619,"character":15}],"parameters":[{"id":190,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":148,"name":"documentDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":240,"character":15}],"signatures":[{"id":149,"name":"documentDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's document directory."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { documentDir } from '@tauri-apps/api/path';\nconst documentDirPath = await documentDir();\n```"},{"kind":"text","text":"\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_DOCUMENTS_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Documents`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Documents}`"},{"kind":"text","text":"."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":240,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":150,"name":"downloadDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":262,"character":15}],"signatures":[{"id":151,"name":"downloadDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's download directory.\n\n#### Platform-specific\n\n- **Linux**: Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_DOWNLOAD_DIR`"},{"kind":"text","text":".\n- **macOS**: Resolves to "},{"kind":"code","text":"`$HOME/Downloads`"},{"kind":"text","text":".\n- **Windows**: Resolves to "},{"kind":"code","text":"`{FOLDERID_Downloads}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { downloadDir } from '@tauri-apps/api/path';\nconst downloadDirPath = await downloadDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":262,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":152,"name":"executableDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":284,"character":15}],"signatures":[{"id":153,"name":"executableDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's executable directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_BIN_HOME/../bin`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$XDG_DATA_HOME/../bin`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.local/bin`"},{"kind":"text","text":".\n- **macOS:** Not supported.\n- **Windows:** Not supported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { executableDir } from '@tauri-apps/api/path';\nconst executableDirPath = await executableDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":284,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":191,"name":"extname","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":635,"character":15}],"signatures":[{"id":192,"name":"extname","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the extension of the "},{"kind":"code","text":"`path`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { extname, resolveResource } from '@tauri-apps/api/path';\nconst resourcePath = await resolveResource('app.conf');\nconst ext = await extname(resourcePath);\nassert(ext === 'conf');\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":635,"character":15}],"parameters":[{"id":193,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":154,"name":"fontDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":306,"character":15}],"signatures":[{"id":155,"name":"fontDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's font directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_DATA_HOME/fonts`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.local/share/fonts`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Fonts`"},{"kind":"text","text":".\n- **Windows:** Not supported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { fontDir } from '@tauri-apps/api/path';\nconst fontDirPath = await fontDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":306,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":156,"name":"homeDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":328,"character":15}],"signatures":[{"id":157,"name":"homeDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's home directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$HOME`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Profile}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { homeDir } from '@tauri-apps/api/path';\nconst homeDirPath = await homeDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":328,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":198,"name":"isAbsolute","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":667,"character":15}],"signatures":[{"id":199,"name":"isAbsolute","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns whether the path is absolute or not."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { isAbsolute } from '@tauri-apps/api/path';\nassert(await isAbsolute('/home/tauri'));\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":667,"character":15}],"parameters":[{"id":200,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":185,"name":"join","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":604,"character":15}],"signatures":[{"id":186,"name":"join","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Joins all given "},{"kind":"code","text":"`path`"},{"kind":"text","text":" segments together using the platform-specific separator as a delimiter, then normalizes the resulting path."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { join, appDataDir } from '@tauri-apps/api/path';\nconst appDataDirPath = await appDataDir();\nconst path = await join(appDataDirPath, 'users', 'tauri', 'avatar.png');\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":604,"character":15}],"parameters":[{"id":187,"name":"paths","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":158,"name":"localDataDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":350,"character":15}],"signatures":[{"id":159,"name":"localDataDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's local data directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_DATA_HOME`"},{"kind":"text","text":" or "},{"kind":"code","text":"`$HOME/.local/share`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Library/Application Support`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_LocalAppData}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { localDataDir } from '@tauri-apps/api/path';\nconst localDataDirPath = await localDataDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":350,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":182,"name":"normalize","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":589,"character":15}],"signatures":[{"id":183,"name":"normalize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Normalizes the given "},{"kind":"code","text":"`path`"},{"kind":"text","text":", resolving "},{"kind":"code","text":"`'..'`"},{"kind":"text","text":" and "},{"kind":"code","text":"`'.'`"},{"kind":"text","text":" segments and resolve symbolic links."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { normalize, appDataDir } from '@tauri-apps/api/path';\nconst appDataDirPath = await appDataDir();\nconst path = await normalize(appDataDirPath, '..', 'users', 'tauri', 'avatar.png');\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":589,"character":15}],"parameters":[{"id":184,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":160,"name":"pictureDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":372,"character":15}],"signatures":[{"id":161,"name":"pictureDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's picture directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_PICTURES_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Pictures`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Pictures}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { pictureDir } from '@tauri-apps/api/path';\nconst pictureDirPath = await pictureDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":372,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":162,"name":"publicDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":394,"character":15}],"signatures":[{"id":163,"name":"publicDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's public directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_PUBLICSHARE_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Public`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Public}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { publicDir } from '@tauri-apps/api/path';\nconst publicDirPath = await publicDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":394,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":179,"name":"resolve","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":574,"character":15}],"signatures":[{"id":180,"name":"resolve","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Resolves a sequence of "},{"kind":"code","text":"`paths`"},{"kind":"text","text":" or "},{"kind":"code","text":"`path`"},{"kind":"text","text":" segments into an absolute path."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { resolve, appDataDir } from '@tauri-apps/api/path';\nconst appDataDirPath = await appDataDir();\nconst path = await resolve(appDataDirPath, '..', 'users', 'tauri', 'avatar.png');\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":574,"character":15}],"parameters":[{"id":181,"name":"paths","variant":"param","kind":32768,"flags":{"isRest":true},"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":166,"name":"resolveResource","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":431,"character":15}],"signatures":[{"id":167,"name":"resolveResource","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Resolve the path to a resource file."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { resolveResource } from '@tauri-apps/api/path';\nconst resourcePath = await resolveResource('script.sh');\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The full path to the resource."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":431,"character":15}],"parameters":[{"id":168,"name":"resourcePath","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The path to the resource.\nMust follow the same syntax as defined in "},{"kind":"code","text":"`tauri.conf.json > tauri > bundle > resources`"},{"kind":"text","text":", i.e. keeping subfolders and parent dir components ("},{"kind":"code","text":"`../`"},{"kind":"text","text":")."}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":164,"name":"resourceDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":411,"character":15}],"signatures":[{"id":165,"name":"resourceDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the application's resource directory.\nTo resolve a resource path, see the [[resolveResource | "},{"kind":"code","text":"`resolveResource API`"},{"kind":"text","text":"]]."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { resourceDir } from '@tauri-apps/api/path';\nconst resourceDirPath = await resourceDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":411,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":169,"name":"runtimeDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":454,"character":15}],"signatures":[{"id":170,"name":"runtimeDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's runtime directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to "},{"kind":"code","text":"`$XDG_RUNTIME_DIR`"},{"kind":"text","text":".\n- **macOS:** Not supported.\n- **Windows:** Not supported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { runtimeDir } from '@tauri-apps/api/path';\nconst runtimeDirPath = await runtimeDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":454,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":175,"name":"sep","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":549,"character":9}],"signatures":[{"id":176,"name":"sep","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the platform-specific path segment separator:\n- "},{"kind":"code","text":"`\\` on Windows\n- `"},{"kind":"text","text":"/` on POSIX"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"path.ts","line":549,"character":9}],"type":{"type":"intrinsic","name":"string"}}]},{"id":201,"name":"tempDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":536,"character":15}],"signatures":[{"id":202,"name":"tempDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns a temporary directory."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { tempDir } from '@tauri-apps/api/path';\nconst temp = await tempDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"path.ts","line":536,"character":15}],"parameters":[{"id":203,"name":"path","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":171,"name":"templateDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":476,"character":15}],"signatures":[{"id":172,"name":"templateDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's template directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_TEMPLATES_DIR`"},{"kind":"text","text":".\n- **macOS:** Not supported.\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Templates}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { templateDir } from '@tauri-apps/api/path';\nconst templateDirPath = await templateDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":476,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":173,"name":"videoDir","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"path.ts","line":498,"character":15}],"signatures":[{"id":174,"name":"videoDir","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the path to the user's video directory.\n\n#### Platform-specific\n\n- **Linux:** Resolves to ["},{"kind":"code","text":"`xdg-user-dirs`"},{"kind":"text","text":"](https://www.freedesktop.org/wiki/Software/xdg-user-dirs/)' "},{"kind":"code","text":"`XDG_VIDEOS_DIR`"},{"kind":"text","text":".\n- **macOS:** Resolves to "},{"kind":"code","text":"`$HOME/Movies`"},{"kind":"text","text":".\n- **Windows:** Resolves to "},{"kind":"code","text":"`{FOLDERID_Videos}`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { videoDir } from '@tauri-apps/api/path';\nconst videoDirPath = await videoDir();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"path.ts","line":498,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Enumerations","children":[104]},{"title":"Functions","children":[134,128,130,132,136,138,194,140,142,144,177,146,188,148,150,152,191,154,156,198,185,158,182,160,162,179,166,164,169,175,201,171,173]}],"sources":[{"fileName":"path.ts","line":1,"character":0}]},{"id":204,"name":"primitives","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Invoke your custom commands.\n\nThis package is also accessible with "},{"kind":"code","text":"`window.__TAURI__.tauri`"},{"kind":"text","text":" when ["},{"kind":"code","text":"`build.withGlobalTauri`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#buildconfig.withglobaltauri) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" is set to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"children":[{"id":216,"name":"Channel","variant":"declaration","kind":128,"flags":{},"children":[{"id":217,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"primitives.ts","line":35,"character":2}],"signatures":[{"id":218,"name":"new Channel","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"primitives.ts","line":35,"character":2}],"typeParameter":[{"id":219,"name":"T","variant":"typeParam","kind":131072,"flags":{},"default":{"type":"intrinsic","name":"unknown"}}],"type":{"type":"reference","target":216,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Channel","package":"@tauri-apps/api"}}]},{"id":222,"name":"#onmessage","variant":"declaration","kind":1024,"flags":{"isPrivate":true},"sources":[{"fileName":"primitives.ts","line":31,"character":2}],"type":{"type":"reflection","declaration":{"id":223,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":31,"character":14}],"signatures":[{"id":224,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":31,"character":14}],"parameters":[{"id":225,"name":"response","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"void"}}]}},"defaultValue":"..."},{"id":221,"name":"__TAURI_CHANNEL_MARKER__","variant":"declaration","kind":1024,"flags":{"isPrivate":true,"isReadonly":true},"sources":[{"fileName":"primitives.ts","line":30,"character":19}],"type":{"type":"literal","value":true},"defaultValue":"true"},{"id":220,"name":"id","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":28,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":226,"name":"onmessage","variant":"declaration","kind":262144,"flags":{},"sources":[{"fileName":"primitives.ts","line":41,"character":6},{"fileName":"primitives.ts","line":45,"character":6}],"getSignature":{"id":227,"name":"onmessage","variant":"signature","kind":524288,"flags":{},"sources":[{"fileName":"primitives.ts","line":45,"character":6}],"type":{"type":"reflection","declaration":{"id":228,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":45,"character":19}],"signatures":[{"id":229,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":45,"character":19}],"parameters":[{"id":230,"name":"response","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"void"}}]}}},"setSignature":{"id":231,"name":"onmessage","variant":"signature","kind":1048576,"flags":{},"sources":[{"fileName":"primitives.ts","line":41,"character":6}],"parameters":[{"id":232,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":233,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":41,"character":25}],"signatures":[{"id":234,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":41,"character":25}],"parameters":[{"id":235,"name":"response","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"intrinsic","name":"void"}}},{"id":236,"name":"toJSON","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"primitives.ts","line":49,"character":2}],"signatures":[{"id":237,"name":"toJSON","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":49,"character":2}],"type":{"type":"intrinsic","name":"string"}}]}],"groups":[{"title":"Constructors","children":[217]},{"title":"Properties","children":[222,221,220]},{"title":"Accessors","children":[226]},{"title":"Methods","children":[236]}],"sources":[{"fileName":"primitives.ts","line":27,"character":6}],"typeParameters":[{"id":238,"name":"T","variant":"typeParam","kind":131072,"flags":{},"default":{"type":"intrinsic","name":"unknown"}}]},{"id":239,"name":"PluginListener","variant":"declaration","kind":128,"flags":{},"children":[{"id":240,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"primitives.ts","line":59,"character":2}],"signatures":[{"id":241,"name":"new PluginListener","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"primitives.ts","line":59,"character":2}],"parameters":[{"id":242,"name":"plugin","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":243,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":244,"name":"channelId","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":239,"name":"PluginListener","package":"@tauri-apps/api"}}]},{"id":247,"name":"channelId","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":57,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":246,"name":"event","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":56,"character":2}],"type":{"type":"intrinsic","name":"string"}},{"id":245,"name":"plugin","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":55,"character":2}],"type":{"type":"intrinsic","name":"string"}},{"id":248,"name":"unregister","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"primitives.ts","line":65,"character":8}],"signatures":[{"id":249,"name":"unregister","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":65,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Constructors","children":[240]},{"title":"Properties","children":[247,246,245]},{"title":"Methods","children":[248]}],"sources":[{"fileName":"primitives.ts","line":54,"character":6}]},{"id":206,"name":"InvokeOptions","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":207,"name":"headers","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":103,"character":2}],"type":{"type":"union","types":[{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"string"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.dom.d.ts","qualifiedName":"Headers"},"name":"Headers","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/API/Headers"}]}}],"groups":[{"title":"Properties","children":[207]}],"sources":[{"fileName":"primitives.ts","line":102,"character":10}]},{"id":205,"name":"InvokeArgs","variant":"declaration","kind":2097152,"flags":{},"comment":{"summary":[{"kind":"text","text":"Command arguments."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"primitives.ts","line":97,"character":5}],"type":{"type":"union","types":[{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"intrinsic","name":"unknown"}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"},{"type":"array","elementType":{"type":"intrinsic","name":"number"}},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"ArrayBuffer"},"name":"ArrayBuffer","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Uint8Array"},"name":"Uint8Array","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array"}]}},{"id":250,"name":"addPluginListener","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"primitives.ts","line":80,"character":15}],"signatures":[{"id":251,"name":"addPluginListener","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Adds a listener to a plugin event."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"The listener object to stop listening to the events."}]},{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"primitives.ts","line":80,"character":15}],"typeParameter":[{"id":252,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":253,"name":"plugin","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":254,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":255,"name":"cb","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":256,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":83,"character":6}],"signatures":[{"id":257,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":83,"character":6}],"parameters":[{"id":258,"name":"payload","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"void"}}]}}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":239,"name":"PluginListener","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":265,"name":"convertFileSrc","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"primitives.ts","line":159,"character":9}],"signatures":[{"id":266,"name":"convertFileSrc","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Convert a device file path to an URL that can be loaded by the webview.\nNote that "},{"kind":"code","text":"`asset:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`http://asset.localhost`"},{"kind":"text","text":" must be added to ["},{"kind":"code","text":"`tauri.security.csp`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#securityconfig.csp) in "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":".\nExample CSP value: "},{"kind":"code","text":"`\"csp\": \"default-src 'self' ipc: http://ipc.localhost; img-src 'self' asset: http://asset.localhost\"`"},{"kind":"text","text":" to use the asset protocol on image sources.\n\nAdditionally, "},{"kind":"code","text":"`asset`"},{"kind":"text","text":" must be added to ["},{"kind":"code","text":"`tauri.allowlist.protocol`"},{"kind":"text","text":"](https://tauri.app/v1/api/config/#allowlistconfig.protocol)\nin "},{"kind":"code","text":"`tauri.conf.json`"},{"kind":"text","text":" and its access scope must be defined on the "},{"kind":"code","text":"`assetScope`"},{"kind":"text","text":" array on the same "},{"kind":"code","text":"`protocol`"},{"kind":"text","text":" object."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { appDataDir, join } from '@tauri-apps/api/path';\nimport { convertFileSrc } from '@tauri-apps/api/primitives';\nconst appDataDirPath = await appDataDir();\nconst filePath = await join(appDataDirPath, 'assets/video.mp4');\nconst assetUrl = convertFileSrc(filePath);\n\nconst video = document.getElementById('my-video');\nconst source = document.createElement('source');\nsource.type = 'video/mp4';\nsource.src = assetUrl;\nvideo.appendChild(source);\nvideo.load();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"the URL that can be used as source on the webview."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"primitives.ts","line":159,"character":9}],"parameters":[{"id":267,"name":"filePath","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The file path."}]},"type":{"type":"intrinsic","name":"string"}},{"id":268,"name":"protocol","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The protocol to use. Defaults to "},{"kind":"code","text":"`asset`"},{"kind":"text","text":". You only need to set this when using a custom protocol."}]},"type":{"type":"intrinsic","name":"string"},"defaultValue":"'asset'"}],"type":{"type":"intrinsic","name":"string"}}]},{"id":259,"name":"invoke","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"primitives.ts","line":121,"character":15}],"signatures":[{"id":260,"name":"invoke","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sends a message to the backend."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { invoke } from '@tauri-apps/api/primitives';\nawait invoke('login', { user: 'tauri', password: 'poiwe3h4r5ip3yrhtew9ty' });\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving or rejecting to the backend response."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"primitives.ts","line":121,"character":15}],"typeParameter":[{"id":261,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":262,"name":"cmd","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The command name."}]},"type":{"type":"intrinsic","name":"string"}},{"id":263,"name":"args","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The optional arguments to pass to the command."}]},"type":{"type":"reference","target":205,"name":"InvokeArgs","package":"@tauri-apps/api"},"defaultValue":"{}"},{"id":264,"name":"options","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The request options."}]},"type":{"type":"reference","target":206,"name":"InvokeOptions","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":208,"name":"transformCallback","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"primitives.ts","line":20,"character":9}],"signatures":[{"id":209,"name":"transformCallback","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Transforms a callback function to a string identifier that can be passed to the backend.\nThe backend uses the identifier to "},{"kind":"code","text":"`eval()`"},{"kind":"text","text":" the callback."}],"blockTags":[{"tag":"@returns","content":[{"kind":"text","text":"A unique identifier associated with the callback function."}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"primitives.ts","line":20,"character":9}],"typeParameter":[{"id":210,"name":"T","variant":"typeParam","kind":131072,"flags":{},"default":{"type":"intrinsic","name":"unknown"}}],"parameters":[{"id":211,"name":"callback","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reflection","declaration":{"id":212,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":21,"character":13}],"signatures":[{"id":213,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":21,"character":13}],"parameters":[{"id":214,"name":"response","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"id":215,"name":"once","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false"}],"type":{"type":"intrinsic","name":"number"}}]}],"groups":[{"title":"Classes","children":[216,239]},{"title":"Interfaces","children":[206]},{"title":"Type Aliases","children":[205]},{"title":"Functions","children":[250,265,259,208]}],"sources":[{"fileName":"primitives.ts","line":1,"character":0}]},{"id":269,"name":"window","variant":"declaration","kind":2,"flags":{},"comment":{"summary":[{"kind":"text","text":"Provides APIs to create windows, communicate with other windows and manipulate the current window.\n\n## Window events\n\nEvents can be listened to using "},{"kind":"inline-tag","tag":"@link","text":"Window.listen","target":303},{"kind":"text","text":":\n"},{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\ngetCurrent().listen(\"my-window-event\", ({ event, payload }) => { });\n```"}]},"children":[{"id":605,"name":"LogicalPosition","variant":"reference","kind":4194304,"flags":{},"sources":[{"fileName":"window.ts","line":2170,"character":2}],"target":2},{"id":603,"name":"LogicalSize","variant":"reference","kind":4194304,"flags":{},"sources":[{"fileName":"window.ts","line":2168,"character":2}],"target":10},{"id":606,"name":"PhysicalPosition","variant":"reference","kind":4194304,"flags":{},"sources":[{"fileName":"window.ts","line":2171,"character":2}],"target":18},{"id":604,"name":"PhysicalSize","variant":"reference","kind":4194304,"flags":{},"sources":[{"fileName":"window.ts","line":2169,"character":2}],"target":29},{"id":501,"name":"Effect","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[{"kind":"text","text":"Platform-specific window effects"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":523,"name":"Acrylic","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**Windows 10/11**\n\n## Notes\n\nThis effect has bad performance when resizing/dragging the window on Windows 10 v1903+ and Windows 11 build 22000."}]},"sources":[{"fileName":"window.ts","line":1901,"character":2}],"type":{"type":"literal","value":"acrylic"}},{"id":502,"name":"AppearanceBased","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"A default material appropriate for the view's effectiveAppearance. **macOS 10.14-**"}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since macOS 10.14. You should instead choose an appropriate semantic material."}]}]},"sources":[{"fileName":"window.ts","line":1801,"character":2}],"type":{"type":"literal","value":"appearanceBased"}},{"id":522,"name":"Blur","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**Windows 7/10/11(22H1) Only**\n\n## Notes\n\nThis effect has bad performance when resizing/dragging the window on Windows 11 build 22621."}]},"sources":[{"fileName":"window.ts","line":1893,"character":2}],"type":{"type":"literal","value":"blur"}},{"id":518,"name":"ContentBackground","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1873,"character":2}],"type":{"type":"literal","value":"contentBackground"}},{"id":504,"name":"Dark","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14-**"}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since macOS 10.14. Use a semantic material instead."}]}]},"sources":[{"fileName":"window.ts","line":1813,"character":2}],"type":{"type":"literal","value":"dark"}},{"id":516,"name":"FullScreenUI","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1865,"character":2}],"type":{"type":"literal","value":"fullScreenUI"}},{"id":512,"name":"HeaderView","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1849,"character":2}],"type":{"type":"literal","value":"headerView"}},{"id":515,"name":"HudWindow","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1861,"character":2}],"type":{"type":"literal","value":"hudWindow"}},{"id":503,"name":"Light","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14-**"}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since macOS 10.14. Use a semantic material instead."}]}]},"sources":[{"fileName":"window.ts","line":1807,"character":2}],"type":{"type":"literal","value":"light"}},{"id":505,"name":"MediumLight","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14-**"}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since macOS 10.14. Use a semantic material instead."}]}]},"sources":[{"fileName":"window.ts","line":1819,"character":2}],"type":{"type":"literal","value":"mediumLight"}},{"id":509,"name":"Menu","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.11+**"}]},"sources":[{"fileName":"window.ts","line":1837,"character":2}],"type":{"type":"literal","value":"menu"}},{"id":521,"name":"Mica","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**Windows 11 Only**"}]},"sources":[{"fileName":"window.ts","line":1885,"character":2}],"type":{"type":"literal","value":"mica"}},{"id":510,"name":"Popover","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.11+**"}]},"sources":[{"fileName":"window.ts","line":1841,"character":2}],"type":{"type":"literal","value":"popover"}},{"id":508,"name":"Selection","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.10+**"}]},"sources":[{"fileName":"window.ts","line":1833,"character":2}],"type":{"type":"literal","value":"selection"}},{"id":513,"name":"Sheet","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1853,"character":2}],"type":{"type":"literal","value":"sheet"}},{"id":511,"name":"Sidebar","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.11+**"}]},"sources":[{"fileName":"window.ts","line":1845,"character":2}],"type":{"type":"literal","value":"sidebar"}},{"id":524,"name":"Tabbed","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Tabbed effect that matches the system dark perefence **Windows 11 Only**"}]},"sources":[{"fileName":"window.ts","line":1905,"character":2}],"type":{"type":"literal","value":"tabbed"}},{"id":525,"name":"TabbedDark","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Tabbed effect with dark mode but only if dark mode is enabled on the system **Windows 11 Only**"}]},"sources":[{"fileName":"window.ts","line":1909,"character":2}],"type":{"type":"literal","value":"tabbedDark"}},{"id":526,"name":"TabbedLight","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Tabbed effect with light mode **Windows 11 Only**"}]},"sources":[{"fileName":"window.ts","line":1913,"character":2}],"type":{"type":"literal","value":"tabbedLight"}},{"id":507,"name":"Titlebar","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.10+**"}]},"sources":[{"fileName":"window.ts","line":1829,"character":2}],"type":{"type":"literal","value":"titlebar"}},{"id":517,"name":"Tooltip","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1869,"character":2}],"type":{"type":"literal","value":"tooltip"}},{"id":506,"name":"UltraDark","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14-**"}],"blockTags":[{"tag":"@deprecated","content":[{"kind":"text","text":"since macOS 10.14. Use a semantic material instead."}]}]},"sources":[{"fileName":"window.ts","line":1825,"character":2}],"type":{"type":"literal","value":"ultraDark"}},{"id":520,"name":"UnderPageBackground","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1881,"character":2}],"type":{"type":"literal","value":"underPageBackground"}},{"id":519,"name":"UnderWindowBackground","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1877,"character":2}],"type":{"type":"literal","value":"underWindowBackground"}},{"id":514,"name":"WindowBackground","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"**macOS 10.14+**"}]},"sources":[{"fileName":"window.ts","line":1857,"character":2}],"type":{"type":"literal","value":"windowBackground"}}],"groups":[{"title":"Enumeration Members","children":[523,502,522,518,504,516,512,515,503,505,509,521,510,508,513,511,524,525,526,507,517,506,520,519,514]}],"sources":[{"fileName":"window.ts","line":1795,"character":5}]},{"id":527,"name":"EffectState","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[{"kind":"text","text":"Window effect state **macOS only**"}],"blockTags":[{"tag":"@see","content":[{"kind":"text","text":"https://developer.apple.com/documentation/appkit/nsvisualeffectview/state"}]},{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":529,"name":"Active","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Make window effect state always active **macOS only**"}]},"sources":[{"fileName":"window.ts","line":1931,"character":2}],"type":{"type":"literal","value":"active"}},{"id":528,"name":"FollowsWindowActiveState","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Make window effect state follow the window's active state **macOS only**"}]},"sources":[{"fileName":"window.ts","line":1927,"character":2}],"type":{"type":"literal","value":"followsWindowActiveState"}},{"id":530,"name":"Inactive","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Make window effect state always inactive **macOS only**"}]},"sources":[{"fileName":"window.ts","line":1935,"character":2}],"type":{"type":"literal","value":"inactive"}}],"groups":[{"title":"Enumeration Members","children":[529,528,530]}],"sources":[{"fileName":"window.ts","line":1923,"character":5}]},{"id":276,"name":"ProgressBarStatus","variant":"declaration","kind":8,"flags":{},"children":[{"id":281,"name":"Error","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Error state. **Treated as Normal on linux**"}]},"sources":[{"fileName":"window.ts","line":171,"character":2}],"type":{"type":"literal","value":"error"}},{"id":279,"name":"Indeterminate","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Indeterminate state. **Treated as Normal on Linux and macOS**"}]},"sources":[{"fileName":"window.ts","line":163,"character":2}],"type":{"type":"literal","value":"indeterminate"}},{"id":277,"name":"None","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Hide progress bar."}]},"sources":[{"fileName":"window.ts","line":155,"character":2}],"type":{"type":"literal","value":"none"}},{"id":278,"name":"Normal","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Normal state."}]},"sources":[{"fileName":"window.ts","line":159,"character":2}],"type":{"type":"literal","value":"normal"}},{"id":280,"name":"Paused","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"Paused state. **Treated as Normal on Linux**"}]},"sources":[{"fileName":"window.ts","line":167,"character":2}],"type":{"type":"literal","value":"paused"}}],"groups":[{"title":"Enumeration Members","children":[281,279,277,278,280]}],"sources":[{"fileName":"window.ts","line":151,"character":12}]},{"id":498,"name":"UserAttentionType","variant":"declaration","kind":8,"flags":{},"comment":{"summary":[{"kind":"text","text":"Attention type to request on a window."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":499,"name":"Critical","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"#### Platform-specific\n- **macOS:** Bounces the dock icon until the application is in focus.\n- **Windows:** Flashes both the window and the taskbar button until the application is in focus."}]},"sources":[{"fileName":"window.ts","line":77,"character":2}],"type":{"type":"literal","value":1}},{"id":500,"name":"Informational","variant":"declaration","kind":16,"flags":{},"comment":{"summary":[{"kind":"text","text":"#### Platform-specific\n- **macOS:** Bounces the dock icon once.\n- **Windows:** Flashes the taskbar button until the application is in focus."}]},"sources":[{"fileName":"window.ts","line":83,"character":2}],"type":{"type":"literal","value":2}}],"groups":[{"title":"Enumeration Members","children":[499,500]}],"sources":[{"fileName":"window.ts","line":71,"character":5}]},{"id":482,"name":"CloseRequestedEvent","variant":"declaration","kind":128,"flags":{},"children":[{"id":483,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"window.ts","line":95,"character":2}],"signatures":[{"id":484,"name":"new CloseRequestedEvent","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"window.ts","line":95,"character":2}],"parameters":[{"id":485,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":41,"typeArguments":[{"type":"literal","value":null}],"name":"Event","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":482,"name":"CloseRequestedEvent","package":"@tauri-apps/api"}}]},{"id":489,"name":"_preventDefault","variant":"declaration","kind":1024,"flags":{"isPrivate":true},"sources":[{"fileName":"window.ts","line":93,"character":10}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false"},{"id":486,"name":"event","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name"}]},"sources":[{"fileName":"window.ts","line":88,"character":2}],"type":{"type":"reference","target":55,"name":"EventName","package":"@tauri-apps/api"}},{"id":488,"name":"id","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event identifier used to unlisten"}]},"sources":[{"fileName":"window.ts","line":92,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":487,"name":"windowLabel","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The label of the window that emitted this event."}]},"sources":[{"fileName":"window.ts","line":90,"character":2}],"type":{"type":"intrinsic","name":"string"}},{"id":492,"name":"isPreventDefault","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":105,"character":2}],"signatures":[{"id":493,"name":"isPreventDefault","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"window.ts","line":105,"character":2}],"type":{"type":"intrinsic","name":"boolean"}}]},{"id":490,"name":"preventDefault","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":101,"character":2}],"signatures":[{"id":491,"name":"preventDefault","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"window.ts","line":101,"character":2}],"type":{"type":"intrinsic","name":"void"}}]}],"groups":[{"title":"Constructors","children":[483]},{"title":"Properties","children":[489,486,488,487]},{"title":"Methods","children":[492,490]}],"sources":[{"fileName":"window.ts","line":86,"character":6}]},{"id":287,"name":"Window","variant":"declaration","kind":128,"flags":{},"comment":{"summary":[{"kind":"text","text":"Create new webview window or get a handle to an existing one.\n\nWindows are identified by a *label* a unique identifier that can be used to reference it later.\nIt may only contain alphanumeric characters "},{"kind":"code","text":"`a-zA-Z`"},{"kind":"text","text":" plus the following special characters "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\n// loading embedded asset:\nconst appWindow = new Window('theUniqueLabel', {\n url: 'path/to/page.html'\n});\n// alternatively, load a remote URL:\nconst appWindow = new Window('theUniqueLabel', {\n url: 'https://github.com/tauri-apps/tauri'\n});\n\nappWindow.once('tauri://created', function () {\n // window successfully created\n});\nappWindow.once('tauri://error', function (e) {\n // an error happened creating the window\n});\n\n// emit an event to the backend\nawait appWindow.emit(\"some event\", \"data\");\n// listen to an event from the backend\nconst unlisten = await appWindow.listen(\"event name\", e => {});\nunlisten();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":297,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"window.ts","line":281,"character":2}],"signatures":[{"id":298,"name":"new Window","variant":"signature","kind":16384,"flags":{},"comment":{"summary":[{"kind":"text","text":"Creates a new Window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { Window } from '@tauri-apps/api/window';\nconst appWindow = new Window('my-label', {\n url: 'https://github.com/tauri-apps/tauri'\n});\nappWindow.once('tauri://created', function () {\n // window successfully created\n});\nappWindow.once('tauri://error', function (e) {\n // an error happened creating the window\n});\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The "},{"kind":"inline-tag","tag":"@link","text":"Window","target":287,"tsLinkText":""},{"kind":"text","text":" instance to communicate with the webview."}]}]},"sources":[{"fileName":"window.ts","line":281,"character":2}],"parameters":[{"id":299,"name":"label","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The unique webview window label. Must be alphanumeric: "},{"kind":"code","text":"`a-zA-Z-/:_`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":300,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":556,"name":"WindowOptions","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":287,"name":"Window","package":"@tauri-apps/api"}}]},{"id":301,"name":"label","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The window label. It is a unique identifier for the window, can be used to reference it later."}]},"sources":[{"fileName":"window.ts","line":257,"character":2}],"type":{"type":"intrinsic","name":"string"}},{"id":302,"name":"listeners","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Local event listeners."}]},"sources":[{"fileName":"window.ts","line":260,"character":2}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Record"},"typeArguments":[{"type":"intrinsic","name":"string"},{"type":"array","elementType":{"type":"reference","target":47,"typeArguments":[{"type":"intrinsic","name":"any"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"name":"Record","package":"typescript","externalUrl":"https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"}},{"id":356,"name":"center","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":760,"character":8}],"signatures":[{"id":357,"name":"center","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Centers the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().center();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":760,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":401,"name":"clearEffects","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1093,"character":8}],"signatures":[{"id":402,"name":"clearEffects","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Clear any applied effects if possible."}]},"sources":[{"fileName":"window.ts","line":1093,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":390,"name":"close","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1030,"character":8}],"signatures":[{"id":391,"name":"close","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Closes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().close();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1030,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":313,"name":"emit","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":425,"character":8}],"signatures":[{"id":314,"name":"emit","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Emits an event to the backend, tied to the webview window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().emit('window-loaded', { loggedIn: true, token: 'authToken' });\n```"}]}]},"sources":[{"fileName":"window.ts","line":425,"character":8}],"parameters":[{"id":315,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":316,"name":"payload","variant":"param","kind":32768,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Event payload."}]},"type":{"type":"intrinsic","name":"unknown"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":388,"name":"hide","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1014,"character":8}],"signatures":[{"id":389,"name":"hide","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window visibility to false."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().hide();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1014,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":324,"name":"innerPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":478,"character":8}],"signatures":[{"id":325,"name":"innerPosition","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The position of the top-left hand corner of the window's client area relative to the top-left hand corner of the desktop."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst position = await getCurrent().innerPosition();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's inner position."}]}]},"sources":[{"fileName":"window.ts","line":478,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":328,"name":"innerSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":511,"character":8}],"signatures":[{"id":329,"name":"innerSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The physical size of the window's client area.\nThe client area is the content of the window, excluding the title bar and borders."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst size = await getCurrent().innerSize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's inner size."}]}]},"sources":[{"fileName":"window.ts","line":511,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":348,"name":"isClosable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":691,"character":8}],"signatures":[{"id":349,"name":"isClosable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window’s native close button state.\n\n#### Platform-specific\n\n- **iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst closable = await getCurrent().isClosable();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window's native close button is enabled or not."}]}]},"sources":[{"fileName":"window.ts","line":691,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":340,"name":"isDecorated","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":612,"character":8}],"signatures":[{"id":341,"name":"isDecorated","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current decorated state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst decorated = await getCurrent().isDecorated();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is decorated or not."}]}]},"sources":[{"fileName":"window.ts","line":612,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":338,"name":"isFocused","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":596,"character":8}],"signatures":[{"id":339,"name":"isFocused","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current focus state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst focused = await getCurrent().isFocused();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is focused or not."}]}]},"sources":[{"fileName":"window.ts","line":596,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":332,"name":"isFullscreen","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":550,"character":8}],"signatures":[{"id":333,"name":"isFullscreen","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current fullscreen state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst fullscreen = await getCurrent().isFullscreen();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is in fullscreen mode or not."}]}]},"sources":[{"fileName":"window.ts","line":550,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":344,"name":"isMaximizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":649,"character":8}],"signatures":[{"id":345,"name":"isMaximizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window’s native maximize button state.\n\n#### Platform-specific\n\n- **Linux / iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst maximizable = await getCurrent().isMaximizable();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window's native maximize button is enabled or not."}]}]},"sources":[{"fileName":"window.ts","line":649,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":336,"name":"isMaximized","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":580,"character":8}],"signatures":[{"id":337,"name":"isMaximized","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current maximized state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst maximized = await getCurrent().isMaximized();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is maximized or not."}]}]},"sources":[{"fileName":"window.ts","line":580,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":346,"name":"isMinimizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":670,"character":8}],"signatures":[{"id":347,"name":"isMinimizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window’s native minimize button state.\n\n#### Platform-specific\n\n- **Linux / iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst minimizable = await getCurrent().isMinimizable();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window's native minimize button is enabled or not."}]}]},"sources":[{"fileName":"window.ts","line":670,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":334,"name":"isMinimized","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":564,"character":8}],"signatures":[{"id":335,"name":"isMinimized","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current minimized state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst minimized = await getCurrent().isMinimized();\n```"}]}]},"sources":[{"fileName":"window.ts","line":564,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":342,"name":"isResizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":628,"character":8}],"signatures":[{"id":343,"name":"isResizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current resizable state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst resizable = await getCurrent().isResizable();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is resizable or not."}]}]},"sources":[{"fileName":"window.ts","line":628,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":350,"name":"isVisible","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":707,"character":8}],"signatures":[{"id":351,"name":"isVisible","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current visible state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst visible = await getCurrent().isVisible();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"Whether the window is visible or not."}]}]},"sources":[{"fileName":"window.ts","line":707,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":303,"name":"listen","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":370,"character":8}],"signatures":[{"id":304,"name":"listen","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an event emitted by the backend that is tied to the webview window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst unlisten = await getCurrent().listen('state-changed', (event) => {\n console.log(`Got error: ${payload}`);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":370,"character":8}],"typeParameter":[{"id":305,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":306,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"reference","target":55,"name":"EventName","package":"@tauri-apps/api"}},{"id":307,"name":"handler","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event handler."}]},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":376,"name":"maximize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":918,"character":8}],"signatures":[{"id":377,"name":"maximize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Maximizes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().maximize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":918,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":382,"name":"minimize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":966,"character":8}],"signatures":[{"id":383,"name":"minimize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Minimizes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().minimize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":966,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":461,"name":"onCloseRequested","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1604,"character":8}],"signatures":[{"id":462,"name":"onCloseRequested","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window close requested. Emitted when the user requests to closes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nimport { confirm } from '@tauri-apps/api/dialog';\nconst unlisten = await getCurrent().onCloseRequested(async (event) => {\n const confirmed = await confirm('Are you sure?');\n if (!confirmed) {\n // user did not confirm closing the window; let's prevent it\n event.preventDefault();\n }\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1604,"character":8}],"parameters":[{"id":463,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":464,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"window.ts","line":1605,"character":13}],"signatures":[{"id":465,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"window.ts","line":1605,"character":13}],"parameters":[{"id":466,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":482,"name":"CloseRequestedEvent","package":"@tauri-apps/api"}}],"type":{"type":"union","types":[{"type":"intrinsic","name":"void"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}]}}]}}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":476,"name":"onFileDropEvent","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1730,"character":8}],"signatures":[{"id":477,"name":"onFileDropEvent","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to a file drop event.\nThe listener is triggered when the user hovers the selected files on the window,\ndrops the files or cancels the operation."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onFileDropEvent((event) => {\n if (event.payload.type === 'hover') {\n console.log('User hovering', event.payload.paths);\n } else if (event.payload.type === 'drop') {\n console.log('User dropped', event.payload.paths);\n } else {\n console.log('File drop cancelled');\n }\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1730,"character":8}],"parameters":[{"id":478,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":547,"name":"FileDropEvent","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":467,"name":"onFocusChanged","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1635,"character":8}],"signatures":[{"id":468,"name":"onFocusChanged","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window focus change."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onFocusChanged(({ payload: focused }) => {\n console.log('Focus changed, window is focused? ' + focused);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1635,"character":8}],"parameters":[{"id":469,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"intrinsic","name":"boolean"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":473,"name":"onMenuClicked","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1701,"character":8}],"signatures":[{"id":474,"name":"onMenuClicked","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to the window menu item click. The payload is the item id."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onMenuClicked(({ payload: menuId }) => {\n console.log('Menu clicked: ' + menuId);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1701,"character":8}],"parameters":[{"id":475,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":458,"name":"onMoved","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1574,"character":8}],"signatures":[{"id":459,"name":"onMoved","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window move."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onMoved(({ payload: position }) => {\n console.log('Window moved', position);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1574,"character":8}],"parameters":[{"id":460,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":455,"name":"onResized","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1550,"character":8}],"signatures":[{"id":456,"name":"onResized","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window resize."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onResized(({ payload: size }) => {\n console.log('Window resized', size);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1550,"character":8}],"parameters":[{"id":457,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":470,"name":"onScaleChanged","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1675,"character":8}],"signatures":[{"id":471,"name":"onScaleChanged","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to window scale change. Emitted when the window's scale factor has changed.\nThe following user actions can cause DPI changes:\n- Changing the display's resolution.\n- Changing the display's scale factor (e.g. in Control Panel on Windows).\n- Moving the window to a display with a different scale factor."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onScaleChanged(({ payload }) => {\n console.log('Scale changed', payload.scaleFactor, payload.size);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1675,"character":8}],"parameters":[{"id":472,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":544,"name":"ScaleFactorChanged","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":479,"name":"onThemeChanged","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1778,"character":8}],"signatures":[{"id":480,"name":"onThemeChanged","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to the system theme change."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from \"@tauri-apps/api/window\";\nconst unlisten = await getCurrent().onThemeChanged(({ payload: theme }) => {\n console.log('New theme: ' + theme);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":1778,"character":8}],"parameters":[{"id":481,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":542,"name":"Theme","package":"@tauri-apps/api"}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":308,"name":"once","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":403,"character":8}],"signatures":[{"id":309,"name":"once","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Listen to an one-off event emitted by the backend that is tied to the webview window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst unlisten = await getCurrent().once('initialized', (event) => {\n console.log(`Window initialized!`);\n});\n\n// you need to call unlisten if your handler goes out of scope e.g. the component is unmounted\nunlisten();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise resolving to a function to unlisten to the event.\nNote that removing the listener is required if your listener goes out of scope e.g. the component is unmounted."}]}]},"sources":[{"fileName":"window.ts","line":403,"character":8}],"typeParameter":[{"id":310,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":311,"name":"event","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event name. Must include only alphanumeric characters, "},{"kind":"code","text":"`-`"},{"kind":"text","text":", "},{"kind":"code","text":"`/`"},{"kind":"text","text":", "},{"kind":"code","text":"`:`"},{"kind":"text","text":" and "},{"kind":"code","text":"`_`"},{"kind":"text","text":"."}]},"type":{"type":"intrinsic","name":"string"}},{"id":312,"name":"handler","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Event handler."}]},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"EventCallback","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":52,"name":"UnlistenFn","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":326,"name":"outerPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":494,"character":8}],"signatures":[{"id":327,"name":"outerPosition","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The position of the top-left hand corner of the window relative to the top-left hand corner of the desktop."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst position = await getCurrent().outerPosition();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's outer position."}]}]},"sources":[{"fileName":"window.ts","line":494,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":330,"name":"outerSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":531,"character":8}],"signatures":[{"id":331,"name":"outerSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The physical size of the entire window.\nThese dimensions include the title bar and borders. If you don't want that (and you usually don't), use inner_size instead."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst size = await getCurrent().outerSize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's outer size."}]}]},"sources":[{"fileName":"window.ts","line":531,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":358,"name":"requestUserAttention","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":786,"character":8}],"signatures":[{"id":359,"name":"requestUserAttention","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Requests user attention to the window, this has no effect if the application\nis already focused. How requesting for user attention manifests is platform dependent,\nsee "},{"kind":"code","text":"`UserAttentionType`"},{"kind":"text","text":" for details.\n\nProviding "},{"kind":"code","text":"`null`"},{"kind":"text","text":" will unset the request for user attention. Unsetting the request for\nuser attention might not be done automatically by the WM when the window receives input.\n\n#### Platform-specific\n\n- **macOS:** "},{"kind":"code","text":"`null`"},{"kind":"text","text":" has no effect.\n- **Linux:** Urgency levels have the same effect."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().requestUserAttention();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":786,"character":8}],"parameters":[{"id":360,"name":"requestType","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":498,"name":"UserAttentionType","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":322,"name":"scaleFactor","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":462,"character":8}],"signatures":[{"id":323,"name":"scaleFactor","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"The scale factor that can be used to map physical pixels to logical pixels."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst factor = await getCurrent().scaleFactor();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window's monitor scale factor."}]}]},"sources":[{"fileName":"window.ts","line":462,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"number"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":406,"name":"setAlwaysOnBottom","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1129,"character":8}],"signatures":[{"id":407,"name":"setAlwaysOnBottom","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be below other windows."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setAlwaysOnBottom(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1129,"character":8}],"parameters":[{"id":408,"name":"alwaysOnBottom","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be below other windows or not."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":403,"name":"setAlwaysOnTop","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1111,"character":8}],"signatures":[{"id":404,"name":"setAlwaysOnTop","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be on top of other windows."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setAlwaysOnTop(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1111,"character":8}],"parameters":[{"id":405,"name":"alwaysOnTop","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be on top of other windows or not."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":370,"name":"setClosable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":883,"character":8}],"signatures":[{"id":371,"name":"setClosable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets whether the window's native close button is enabled or not.\n\n#### Platform-specific\n\n- **Linux:** GTK+ will do its best to convince the window manager not to show a close button. Depending on the system, this function may not have any effect when called on a window that is already visible\n- **iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setClosable(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":883,"character":8}],"parameters":[{"id":372,"name":"closable","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":409,"name":"setContentProtected","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1146,"character":8}],"signatures":[{"id":410,"name":"setContentProtected","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Prevents the window contents from being captured by other apps."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setContentProtected(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1146,"character":8}],"parameters":[{"id":411,"name":"protected_","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":435,"name":"setCursorGrab","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1386,"character":8}],"signatures":[{"id":436,"name":"setCursorGrab","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Grabs the cursor, preventing it from leaving the window.\n\nThere's no guarantee that the cursor will be hidden. You should\nhide it by yourself if you want so.\n\n#### Platform-specific\n\n- **Linux:** Unsupported.\n- **macOS:** This locks the cursor in a fixed location, which looks visually awkward."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setCursorGrab(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1386,"character":8}],"parameters":[{"id":437,"name":"grab","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"code","text":"`true`"},{"kind":"text","text":" to grab the cursor icon, "},{"kind":"code","text":"`false`"},{"kind":"text","text":" to release it."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":441,"name":"setCursorIcon","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1428,"character":8}],"signatures":[{"id":442,"name":"setCursorIcon","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Modifies the cursor icon of the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setCursorIcon('help');\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1428,"character":8}],"parameters":[{"id":443,"name":"icon","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new cursor icon."}]},"type":{"type":"reference","target":275,"name":"CursorIcon","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":444,"name":"setCursorPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1446,"character":8}],"signatures":[{"id":445,"name":"setCursorPosition","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Changes the position of the cursor in window coordinates."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, LogicalPosition } from '@tauri-apps/api/window';\nawait getCurrent().setCursorPosition(new LogicalPosition(600, 300));\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1446,"character":8}],"parameters":[{"id":446,"name":"position","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new cursor position."}]},"type":{"type":"union","types":[{"type":"reference","target":2,"name":"LogicalPosition","package":"@tauri-apps/api"},{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":438,"name":"setCursorVisible","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1410,"character":8}],"signatures":[{"id":439,"name":"setCursorVisible","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Modifies the cursor's visibility.\n\n#### Platform-specific\n\n- **Windows:** The cursor is only hidden within the confines of the window.\n- **macOS:** The cursor is hidden as long as the window has input focus, even if the cursor is\n outside of the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setCursorVisible(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1410,"character":8}],"parameters":[{"id":440,"name":"visible","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"If "},{"kind":"code","text":"`false`"},{"kind":"text","text":", this will hide the cursor. If "},{"kind":"code","text":"`true`"},{"kind":"text","text":", this will show the cursor."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":392,"name":"setDecorations","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1047,"character":8}],"signatures":[{"id":393,"name":"setDecorations","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should have borders and bars."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setDecorations(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1047,"character":8}],"parameters":[{"id":394,"name":"decorations","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should have borders and bars."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":398,"name":"setEffects","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1083,"character":8}],"signatures":[{"id":399,"name":"setEffects","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Set window effects."}]},"sources":[{"fileName":"window.ts","line":1083,"character":8}],"parameters":[{"id":400,"name":"effects","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":537,"name":"Effects","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":427,"name":"setFocus","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1314,"character":8}],"signatures":[{"id":428,"name":"setFocus","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Bring the window to front and focus."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setFocus();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1314,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":424,"name":"setFullscreen","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1297,"character":8}],"signatures":[{"id":425,"name":"setFullscreen","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window fullscreen state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setFullscreen(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1297,"character":8}],"parameters":[{"id":426,"name":"fullscreen","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window should go to fullscreen or not."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":429,"name":"setIcon","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1338,"character":8}],"signatures":[{"id":430,"name":"setIcon","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window icon."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setIcon('/tauri/awesome.png');\n```"},{"kind":"text","text":"\n\nNote that you need the "},{"kind":"code","text":"`icon-ico`"},{"kind":"text","text":" or "},{"kind":"code","text":"`icon-png`"},{"kind":"text","text":" Cargo features to use this API.\nTo enable it, change your Cargo.toml file:\n"},{"kind":"code","text":"```toml\n[dependencies]\ntauri = { version = \"...\", features = [\"...\", \"icon-png\"] }\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1338,"character":8}],"parameters":[{"id":431,"name":"icon","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"Icon bytes or path to the icon file."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"string"},{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Uint8Array"},"name":"Uint8Array","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":447,"name":"setIgnoreCursorEvents","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1482,"character":8}],"signatures":[{"id":448,"name":"setIgnoreCursorEvents","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Changes the cursor events behavior."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setIgnoreCursorEvents(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1482,"character":8}],"parameters":[{"id":449,"name":"ignore","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"code","text":"`true`"},{"kind":"text","text":" to ignore the cursor events; "},{"kind":"code","text":"`false`"},{"kind":"text","text":" to process them as usual."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":418,"name":"setMaxSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1228,"character":8}],"signatures":[{"id":419,"name":"setMaxSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window maximum inner size. If the "},{"kind":"code","text":"`size`"},{"kind":"text","text":" argument is undefined, the constraint is unset."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, LogicalSize } from '@tauri-apps/api/window';\nawait getCurrent().setMaxSize(new LogicalSize(600, 500));\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1228,"character":8}],"parameters":[{"id":420,"name":"size","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The logical or physical inner size, or "},{"kind":"code","text":"`null`"},{"kind":"text","text":" to unset the constraint."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"literal","value":null},{"type":"reference","target":10,"name":"LogicalSize","package":"@tauri-apps/api"},{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":364,"name":"setMaximizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":838,"character":8}],"signatures":[{"id":365,"name":"setMaximizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets whether the window's native maximize button is enabled or not.\nIf resizable is set to false, this setting is ignored.\n\n#### Platform-specific\n\n- **macOS:** Disables the \"zoom\" button in the window titlebar, which is also used to enter fullscreen mode.\n- **Linux / iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setMaximizable(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":838,"character":8}],"parameters":[{"id":366,"name":"maximizable","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":415,"name":"setMinSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1194,"character":8}],"signatures":[{"id":416,"name":"setMinSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window minimum inner size. If the "},{"kind":"code","text":"`size`"},{"kind":"text","text":" argument is not provided, the constraint is unset."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, PhysicalSize } from '@tauri-apps/api/window';\nawait getCurrent().setMinSize(new PhysicalSize(600, 500));\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1194,"character":8}],"parameters":[{"id":417,"name":"size","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The logical or physical inner size, or "},{"kind":"code","text":"`null`"},{"kind":"text","text":" to unset the constraint."}]},"type":{"type":"union","types":[{"type":"intrinsic","name":"undefined"},{"type":"literal","value":null},{"type":"reference","target":10,"name":"LogicalSize","package":"@tauri-apps/api"},{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":367,"name":"setMinimizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":860,"character":8}],"signatures":[{"id":368,"name":"setMinimizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets whether the window's native minimize button is enabled or not.\n\n#### Platform-specific\n\n- **Linux / iOS / Android:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setMinimizable(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":860,"character":8}],"parameters":[{"id":369,"name":"minimizable","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":421,"name":"setPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1262,"character":8}],"signatures":[{"id":422,"name":"setPosition","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window outer position."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, LogicalPosition } from '@tauri-apps/api/window';\nawait getCurrent().setPosition(new LogicalPosition(600, 500));\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1262,"character":8}],"parameters":[{"id":423,"name":"position","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new position, in logical or physical pixels."}]},"type":{"type":"union","types":[{"type":"reference","target":2,"name":"LogicalPosition","package":"@tauri-apps/api"},{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":452,"name":"setProgressBar","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1524,"character":8}],"signatures":[{"id":453,"name":"setProgressBar","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the taskbar progress state.\n\n#### Platform-specific\n\n- **Linux / macOS**: Progress bar is app-wide and not specific to this window.\n- **Linux**: Only supported desktop environments with "},{"kind":"code","text":"`libunity`"},{"kind":"text","text":" (e.g. GNOME)."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, ProgressBarStatus } from '@tauri-apps/api/window';\nawait getCurrent().setProgressBar({\n status: ProgressBarStatus.Normal,\n progress: 50,\n});\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1524,"character":8}],"parameters":[{"id":454,"name":"state","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":282,"name":"ProgressBarState","package":"@tauri-apps/api"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":361,"name":"setResizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":814,"character":8}],"signatures":[{"id":362,"name":"setResizable","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Updates the window resizable flag."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setResizable(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":814,"character":8}],"parameters":[{"id":363,"name":"resizable","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":395,"name":"setShadow","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1073,"character":8}],"signatures":[{"id":396,"name":"setShadow","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether or not the window should have shadow.\n\n#### Platform-specific\n\n- **Windows:**\n - "},{"kind":"code","text":"`false`"},{"kind":"text","text":" has no effect on decorated window, shadows are always ON.\n - "},{"kind":"code","text":"`true`"},{"kind":"text","text":" will make ndecorated window have a 1px white border,\nand on Windows 11, it will have a rounded corners.\n- **Linux:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setShadow(false);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1073,"character":8}],"parameters":[{"id":397,"name":"enable","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":412,"name":"setSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1164,"character":8}],"signatures":[{"id":413,"name":"setSize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Resizes the window with a new inner size."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent, LogicalSize } from '@tauri-apps/api/window';\nawait getCurrent().setSize(new LogicalSize(600, 500));\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1164,"character":8}],"parameters":[{"id":414,"name":"size","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The logical or physical inner size."}]},"type":{"type":"union","types":[{"type":"reference","target":10,"name":"LogicalSize","package":"@tauri-apps/api"},{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}]}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":432,"name":"setSkipTaskbar","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1360,"character":8}],"signatures":[{"id":433,"name":"setSkipTaskbar","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Whether the window icon should be hidden from the taskbar or not.\n\n#### Platform-specific\n\n- **macOS:** Unsupported."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setSkipTaskbar(true);\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1360,"character":8}],"parameters":[{"id":434,"name":"skip","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"true to hide window icon, false to show it."}]},"type":{"type":"intrinsic","name":"boolean"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":373,"name":"setTitle","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":901,"character":8}],"signatures":[{"id":374,"name":"setTitle","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window title."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().setTitle('Tauri');\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":901,"character":8}],"parameters":[{"id":375,"name":"title","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new title"}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":386,"name":"show","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":998,"character":8}],"signatures":[{"id":387,"name":"show","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Sets the window visibility to true."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().show();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":998,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":450,"name":"startDragging","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1499,"character":8}],"signatures":[{"id":451,"name":"startDragging","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Starts dragging the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().startDragging();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":1499,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":354,"name":"theme","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":742,"character":8}],"signatures":[{"id":355,"name":"theme","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current theme.\n\n#### Platform-specific\n\n- **macOS:** Theme was introduced on macOS 10.14. Returns "},{"kind":"code","text":"`light`"},{"kind":"text","text":" on macOS 10.13 and below."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst theme = await getCurrent().theme();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The window theme."}]}]},"sources":[{"fileName":"window.ts","line":742,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":542,"name":"Theme","package":"@tauri-apps/api"}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":352,"name":"title","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":721,"character":8}],"signatures":[{"id":353,"name":"title","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the window's current title."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nconst title = await getCurrent().title();\n```"}]}]},"sources":[{"fileName":"window.ts","line":721,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"string"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":380,"name":"toggleMaximize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":950,"character":8}],"signatures":[{"id":381,"name":"toggleMaximize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Toggles the window maximized state."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().toggleMaximize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":950,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":378,"name":"unmaximize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":934,"character":8}],"signatures":[{"id":379,"name":"unmaximize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Unmaximizes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().unmaximize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":934,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":384,"name":"unminimize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":982,"character":8}],"signatures":[{"id":385,"name":"unminimize","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Unminimizes the window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { getCurrent } from '@tauri-apps/api/window';\nawait getCurrent().unminimize();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"A promise indicating the success or failure of the operation."}]}]},"sources":[{"fileName":"window.ts","line":982,"character":8}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"intrinsic","name":"void"}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":293,"name":"getAll","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"window.ts","line":328,"character":9}],"signatures":[{"id":294,"name":"getAll","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets a list of instances of "},{"kind":"code","text":"`Window`"},{"kind":"text","text":" for all available windows."}]},"sources":[{"fileName":"window.ts","line":328,"character":9}],"type":{"type":"array","elementType":{"type":"reference","target":287,"name":"Window","package":"@tauri-apps/api"}}}]},{"id":288,"name":"getByLabel","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"window.ts","line":310,"character":9}],"signatures":[{"id":289,"name":"getByLabel","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the Window for the webview associated with the given label."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { Window } from '@tauri-apps/api/window';\nconst mainWindow = Window.getByLabel('main');\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The Window instance to communicate with the webview or null if the webview doesn't exist."}]}]},"sources":[{"fileName":"window.ts","line":310,"character":9}],"parameters":[{"id":290,"name":"label","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The webview window label."}]},"type":{"type":"intrinsic","name":"string"}}],"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":287,"name":"Window","package":"@tauri-apps/api"}]}}]},{"id":291,"name":"getCurrent","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"window.ts","line":321,"character":9}],"signatures":[{"id":292,"name":"getCurrent","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Get an instance of "},{"kind":"code","text":"`Window`"},{"kind":"text","text":" for the current window."}]},"sources":[{"fileName":"window.ts","line":321,"character":9}],"type":{"type":"reference","target":287,"name":"Window","package":"@tauri-apps/api"}}]},{"id":295,"name":"getFocusedWindow","variant":"declaration","kind":2048,"flags":{"isStatic":true},"sources":[{"fileName":"window.ts","line":342,"character":15}],"signatures":[{"id":296,"name":"getFocusedWindow","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets the focused window."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { Window } from '@tauri-apps/api/window';\nconst focusedWindow = Window.getFocusedWindow();\n```"}]},{"tag":"@returns","content":[{"kind":"text","text":"The Window instance to communicate with the webview or "},{"kind":"code","text":"`undefined`"},{"kind":"text","text":" if there is not any focused window."}]}]},"sources":[{"fileName":"window.ts","line":342,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":287,"name":"Window","package":"@tauri-apps/api"}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"Constructors","children":[297]},{"title":"Properties","children":[301,302]},{"title":"Methods","children":[356,401,390,313,388,324,328,348,340,338,332,344,336,346,334,342,350,303,376,382,461,476,467,473,458,455,470,479,308,326,330,358,322,406,403,370,409,435,441,444,438,392,398,427,424,429,447,418,364,415,367,421,452,361,395,412,432,373,386,450,354,352,380,378,384,293,288,291,295]}],"sources":[{"fileName":"window.ts","line":255,"character":6}]},{"id":537,"name":"Effects","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"The window effects configuration object"}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"children":[{"id":541,"name":"color","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Window effect color. Affects "},{"kind":"inline-tag","tag":"@link","text":"Effect.Blur","target":522,"tsLinkText":""},{"kind":"text","text":" and "},{"kind":"inline-tag","tag":"@link","text":"Effect.Acrylic","target":523,"tsLinkText":""},{"kind":"text","text":" only\non Windows 10 v1903+. Doesn't have any effect on Windows 7 or Windows 11."}]},"sources":[{"fileName":"window.ts","line":1960,"character":2}],"type":{"type":"reference","target":591,"name":"Color","package":"@tauri-apps/api"}},{"id":538,"name":"effects","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"List of Window effects to apply to the Window.\nConflicting effects will apply the first one and ignore the rest."}]},"sources":[{"fileName":"window.ts","line":1947,"character":2}],"type":{"type":"array","elementType":{"type":"reference","target":501,"name":"Effect","package":"@tauri-apps/api"}}},{"id":540,"name":"radius","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Window effect corner radius **macOS Only**"}]},"sources":[{"fileName":"window.ts","line":1955,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":539,"name":"state","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Window effect state **macOS Only**"}]},"sources":[{"fileName":"window.ts","line":1951,"character":2}],"type":{"type":"reference","target":527,"name":"EffectState","package":"@tauri-apps/api"}}],"groups":[{"title":"Properties","children":[541,538,540,539]}],"sources":[{"fileName":"window.ts","line":1942,"character":10}]},{"id":270,"name":"Monitor","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"Allows you to retrieve information about a given monitor."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":271,"name":"name","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"Human-readable name of the monitor"}]},"sources":[{"fileName":"window.ts","line":36,"character":2}],"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"intrinsic","name":"string"}]}},{"id":273,"name":"position","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"the Top-left corner position of the monitor relative to the larger full screen area."}]},"sources":[{"fileName":"window.ts","line":40,"character":2}],"type":{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}},{"id":274,"name":"scaleFactor","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The scale factor that can be used to map physical pixels to logical pixels."}]},"sources":[{"fileName":"window.ts","line":42,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":272,"name":"size","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The monitor's resolution."}]},"sources":[{"fileName":"window.ts","line":38,"character":2}],"type":{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}}],"groups":[{"title":"Properties","children":[271,273,274,272]}],"sources":[{"fileName":"window.ts","line":34,"character":17}]},{"id":282,"name":"ProgressBarState","variant":"declaration","kind":256,"flags":{},"children":[{"id":284,"name":"progress","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The progress bar progress. This can be a value ranging from "},{"kind":"code","text":"`0`"},{"kind":"text","text":" to "},{"kind":"code","text":"`100`"}]},"sources":[{"fileName":"window.ts","line":182,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":283,"name":"status","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The progress bar status."}]},"sources":[{"fileName":"window.ts","line":178,"character":2}],"type":{"type":"reference","target":276,"name":"ProgressBarStatus","package":"@tauri-apps/api"}},{"id":285,"name":"unityUri","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The identifier for your app to communicate with the Unity desktop window manager **Linux Only**"}]},"sources":[{"fileName":"window.ts","line":186,"character":2}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[284,283,285]}],"sources":[{"fileName":"window.ts","line":174,"character":17}]},{"id":544,"name":"ScaleFactorChanged","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"The payload for the "},{"kind":"code","text":"`scaleChange`"},{"kind":"text","text":" event."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.2"}]}]},"children":[{"id":545,"name":"scaleFactor","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new window scale factor."}]},"sources":[{"fileName":"window.ts","line":55,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":546,"name":"size","variant":"declaration","kind":1024,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new window size"}]},"sources":[{"fileName":"window.ts","line":57,"character":2}],"type":{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}}],"groups":[{"title":"Properties","children":[545,546]}],"sources":[{"fileName":"window.ts","line":53,"character":10}]},{"id":556,"name":"WindowOptions","variant":"declaration","kind":256,"flags":{},"comment":{"summary":[{"kind":"text","text":"Configuration for the window to create."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"children":[{"id":584,"name":"acceptFirstMouse","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether clicking an inactive window also clicks through to the webview on macOS."}]},"sources":[{"fileName":"window.ts","line":2060,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":576,"name":"alwaysOnBottom","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be below other windows."}]},"sources":[{"fileName":"window.ts","line":2018,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":575,"name":"alwaysOnTop","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should always be on top of other windows or not."}]},"sources":[{"fileName":"window.ts","line":2016,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":558,"name":"center","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Show window in the center of the screen.."}]},"sources":[{"fileName":"window.ts","line":1978,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":590,"name":"closable","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window's native close button is enabled or not. Defaults to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"window.ts","line":2091,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":577,"name":"contentProtected","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Prevents the window contents from being captured by other apps."}]},"sources":[{"fileName":"window.ts","line":2020,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":574,"name":"decorations","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should have borders and bars or not."}]},"sources":[{"fileName":"window.ts","line":2014,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":580,"name":"fileDropEnabled","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the file drop is enabled or not on the webview. By default it is enabled.\n\nDisabling it is required to use drag and drop on the frontend on Windows."}]},"sources":[{"fileName":"window.ts","line":2042,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":570,"name":"focus","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window will be initially focused or not."}]},"sources":[{"fileName":"window.ts","line":2002,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":569,"name":"fullscreen","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window is in fullscreen mode or not."}]},"sources":[{"fileName":"window.ts","line":2000,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":562,"name":"height","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial height."}]},"sources":[{"fileName":"window.ts","line":1986,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":583,"name":"hiddenTitle","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"If "},{"kind":"code","text":"`true`"},{"kind":"text","text":", sets the window title to be hidden on macOS."}]},"sources":[{"fileName":"window.ts","line":2056,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":587,"name":"incognito","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether or not the webview should be launched in incognito mode.\n\n#### Platform-specific\n\n- **Android:** Unsupported."}]},"sources":[{"fileName":"window.ts","line":2079,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":566,"name":"maxHeight","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The maximum height. Only applies if "},{"kind":"code","text":"`maxWidth`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1994,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":565,"name":"maxWidth","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The maximum width. Only applies if "},{"kind":"code","text":"`maxHeight`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1992,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":588,"name":"maximizable","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window's native maximize button is enabled or not. Defaults to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"window.ts","line":2083,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":572,"name":"maximized","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should be maximized upon creation or not."}]},"sources":[{"fileName":"window.ts","line":2010,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":564,"name":"minHeight","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The minimum height. Only applies if "},{"kind":"code","text":"`minWidth`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1990,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":563,"name":"minWidth","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The minimum width. Only applies if "},{"kind":"code","text":"`minHeight`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1988,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":589,"name":"minimizable","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window's native minimize button is enabled or not. Defaults to "},{"kind":"code","text":"`true`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"window.ts","line":2087,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":567,"name":"resizable","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window is resizable or not."}]},"sources":[{"fileName":"window.ts","line":1996,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":579,"name":"shadow","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether or not the window has shadow.\n\n#### Platform-specific\n\n- **Windows:**\n - "},{"kind":"code","text":"`false`"},{"kind":"text","text":" has no effect on decorated window, shadows are always ON.\n - "},{"kind":"code","text":"`true`"},{"kind":"text","text":" will make ndecorated window have a 1px white border,\nand on Windows 11, it will have a rounded corners.\n- **Linux:** Unsupported."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"window.ts","line":2036,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":578,"name":"skipTaskbar","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether or not the window icon should be added to the taskbar."}]},"sources":[{"fileName":"window.ts","line":2022,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":585,"name":"tabbingIdentifier","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Defines the window [tabbing identifier](https://developer.apple.com/documentation/appkit/nswindow/1644704-tabbingidentifier) on macOS.\n\nWindows with the same tabbing identifier will be grouped together.\nIf the tabbing identifier is not set, automatic tabbing will be disabled."}]},"sources":[{"fileName":"window.ts","line":2067,"character":2}],"type":{"type":"intrinsic","name":"string"}},{"id":581,"name":"theme","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial window theme. Defaults to the system theme.\n\nOnly implemented on Windows and macOS 10.14+."}]},"sources":[{"fileName":"window.ts","line":2048,"character":2}],"type":{"type":"reference","target":542,"name":"Theme","package":"@tauri-apps/api"}},{"id":568,"name":"title","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Window title."}]},"sources":[{"fileName":"window.ts","line":1998,"character":2}],"type":{"type":"intrinsic","name":"string"}},{"id":582,"name":"titleBarStyle","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The style of the macOS title bar."}]},"sources":[{"fileName":"window.ts","line":2052,"character":2}],"type":{"type":"reference","target":543,"name":"TitleBarStyle","package":"@tauri-apps/api"}},{"id":571,"name":"transparent","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window is transparent or not.\nNote that on "},{"kind":"code","text":"`macOS`"},{"kind":"text","text":" this requires the "},{"kind":"code","text":"`macos-private-api`"},{"kind":"text","text":" feature flag, enabled under "},{"kind":"code","text":"`tauri.conf.json > tauri > macOSPrivateApi`"},{"kind":"text","text":".\nWARNING: Using private APIs on "},{"kind":"code","text":"`macOS`"},{"kind":"text","text":" prevents your application from being accepted to the "},{"kind":"code","text":"`App Store`"},{"kind":"text","text":"."}]},"sources":[{"fileName":"window.ts","line":2008,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":557,"name":"url","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Remote URL or local file path to open.\n\n- URL such as "},{"kind":"code","text":"`https://github.com/tauri-apps`"},{"kind":"text","text":" is opened directly on a Tauri window.\n- data: URL such as "},{"kind":"code","text":"`data:text/html,...`"},{"kind":"text","text":" is only supported with the "},{"kind":"code","text":"`window-data-url`"},{"kind":"text","text":" Cargo feature for the "},{"kind":"code","text":"`tauri`"},{"kind":"text","text":" dependency.\n- local file path or route such as "},{"kind":"code","text":"`/path/to/page.html`"},{"kind":"text","text":" or "},{"kind":"code","text":"`/users`"},{"kind":"text","text":" is appended to the application URL (the devServer URL on development, or "},{"kind":"code","text":"`tauri://localhost/`"},{"kind":"text","text":" and "},{"kind":"code","text":"`https://tauri.localhost/`"},{"kind":"text","text":" on production)."}]},"sources":[{"fileName":"window.ts","line":1976,"character":2}],"type":{"type":"intrinsic","name":"string"}},{"id":586,"name":"userAgent","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The user agent for the webview."}]},"sources":[{"fileName":"window.ts","line":2071,"character":2}],"type":{"type":"intrinsic","name":"string"}},{"id":573,"name":"visible","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"Whether the window should be immediately visible upon creation or not."}]},"sources":[{"fileName":"window.ts","line":2012,"character":2}],"type":{"type":"intrinsic","name":"boolean"}},{"id":561,"name":"width","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial width."}]},"sources":[{"fileName":"window.ts","line":1984,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":559,"name":"x","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial vertical position. Only applies if "},{"kind":"code","text":"`y`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1980,"character":2}],"type":{"type":"intrinsic","name":"number"}},{"id":560,"name":"y","variant":"declaration","kind":1024,"flags":{"isOptional":true},"comment":{"summary":[{"kind":"text","text":"The initial horizontal position. Only applies if "},{"kind":"code","text":"`x`"},{"kind":"text","text":" is also set."}]},"sources":[{"fileName":"window.ts","line":1982,"character":2}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","children":[584,576,575,558,590,577,574,580,570,569,562,583,587,566,565,588,572,564,563,589,567,579,578,585,581,568,582,571,557,586,573,561,559,560]}],"sources":[{"fileName":"window.ts","line":1968,"character":10}]},{"id":591,"name":"Color","variant":"declaration","kind":2097152,"flags":{},"comment":{"summary":[{"kind":"text","text":"an array RGBA colors. Each value has minimum of 0 and maximum of 255."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"2.0.0"}]}]},"sources":[{"fileName":"window.ts","line":1788,"character":5}],"type":{"type":"tuple","elements":[{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"number"},{"type":"intrinsic","name":"number"}]}},{"id":275,"name":"CursorIcon","variant":"declaration","kind":2097152,"flags":{},"sources":[{"fileName":"window.ts","line":110,"character":12}],"type":{"type":"union","types":[{"type":"literal","value":"default"},{"type":"literal","value":"crosshair"},{"type":"literal","value":"hand"},{"type":"literal","value":"arrow"},{"type":"literal","value":"move"},{"type":"literal","value":"text"},{"type":"literal","value":"wait"},{"type":"literal","value":"help"},{"type":"literal","value":"progress"},{"type":"literal","value":"notAllowed"},{"type":"literal","value":"contextMenu"},{"type":"literal","value":"cell"},{"type":"literal","value":"verticalText"},{"type":"literal","value":"alias"},{"type":"literal","value":"copy"},{"type":"literal","value":"noDrop"},{"type":"literal","value":"grab"},{"type":"literal","value":"grabbing"},{"type":"literal","value":"allScroll"},{"type":"literal","value":"zoomIn"},{"type":"literal","value":"zoomOut"},{"type":"literal","value":"eResize"},{"type":"literal","value":"nResize"},{"type":"literal","value":"neResize"},{"type":"literal","value":"nwResize"},{"type":"literal","value":"sResize"},{"type":"literal","value":"seResize"},{"type":"literal","value":"swResize"},{"type":"literal","value":"wResize"},{"type":"literal","value":"ewResize"},{"type":"literal","value":"nsResize"},{"type":"literal","value":"neswResize"},{"type":"literal","value":"nwseResize"},{"type":"literal","value":"colResize"},{"type":"literal","value":"rowResize"}]}},{"id":547,"name":"FileDropEvent","variant":"declaration","kind":2097152,"flags":{},"comment":{"summary":[{"kind":"text","text":"The file drop event types."}]},"sources":[{"fileName":"window.ts","line":61,"character":5}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":548,"name":"__type","variant":"declaration","kind":65536,"flags":{},"children":[{"id":550,"name":"paths","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":62,"character":21}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":549,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":62,"character":6}],"type":{"type":"literal","value":"hover"}}],"groups":[{"title":"Properties","children":[550,549]}],"sources":[{"fileName":"window.ts","line":62,"character":4}]}},{"type":"reflection","declaration":{"id":551,"name":"__type","variant":"declaration","kind":65536,"flags":{},"children":[{"id":553,"name":"paths","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":63,"character":20}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":552,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":63,"character":6}],"type":{"type":"literal","value":"drop"}}],"groups":[{"title":"Properties","children":[553,552]}],"sources":[{"fileName":"window.ts","line":63,"character":4}]}},{"type":"reflection","declaration":{"id":554,"name":"__type","variant":"declaration","kind":65536,"flags":{},"children":[{"id":555,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":64,"character":6}],"type":{"type":"literal","value":"cancel"}}],"groups":[{"title":"Properties","children":[555]}],"sources":[{"fileName":"window.ts","line":64,"character":4}]}}]}},{"id":542,"name":"Theme","variant":"declaration","kind":2097152,"flags":{},"sources":[{"fileName":"window.ts","line":45,"character":5}],"type":{"type":"union","types":[{"type":"literal","value":"light"},{"type":"literal","value":"dark"}]}},{"id":543,"name":"TitleBarStyle","variant":"declaration","kind":2097152,"flags":{},"sources":[{"fileName":"window.ts","line":46,"character":5}],"type":{"type":"union","types":[{"type":"literal","value":"visible"},{"type":"literal","value":"transparent"},{"type":"literal","value":"overlay"}]}},{"id":535,"name":"availableMonitors","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":2157,"character":15}],"signatures":[{"id":536,"name":"availableMonitors","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the list of all the monitors available on the system."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { availableMonitors } from '@tauri-apps/api/window';\nconst monitors = availableMonitors();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":2157,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"array","elementType":{"type":"reference","target":270,"name":"Monitor","package":"@tauri-apps/api"}}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":531,"name":"currentMonitor","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":2124,"character":15}],"signatures":[{"id":532,"name":"currentMonitor","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the monitor on which the window currently resides.\nReturns "},{"kind":"code","text":"`null`"},{"kind":"text","text":" if current monitor can't be detected."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { currentMonitor } from '@tauri-apps/api/window';\nconst monitor = currentMonitor();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":2124,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"reference","target":270,"name":"Monitor","package":"@tauri-apps/api"},{"type":"literal","value":null}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]},{"id":496,"name":"getAll","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":206,"character":9}],"signatures":[{"id":497,"name":"getAll","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Gets a list of instances of "},{"kind":"code","text":"`Window`"},{"kind":"text","text":" for all available windows."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":206,"character":9}],"type":{"type":"array","elementType":{"type":"reference","target":287,"name":"Window","package":"@tauri-apps/api"}}}]},{"id":494,"name":"getCurrent","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":194,"character":9}],"signatures":[{"id":495,"name":"getCurrent","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Get an instance of "},{"kind":"code","text":"`Window`"},{"kind":"text","text":" for the current window."}],"blockTags":[{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":194,"character":9}],"type":{"type":"reference","target":287,"name":"Window","package":"@tauri-apps/api"}}]},{"id":533,"name":"primaryMonitor","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":2141,"character":15}],"signatures":[{"id":534,"name":"primaryMonitor","variant":"signature","kind":4096,"flags":{},"comment":{"summary":[{"kind":"text","text":"Returns the primary monitor of the system.\nReturns "},{"kind":"code","text":"`null`"},{"kind":"text","text":" if it can't identify any monitor as a primary one."}],"blockTags":[{"tag":"@example","content":[{"kind":"code","text":"```typescript\nimport { primaryMonitor } from '@tauri-apps/api/window';\nconst monitor = primaryMonitor();\n```"}]},{"tag":"@since","content":[{"kind":"text","text":"1.0.0"}]}]},"sources":[{"fileName":"window.ts","line":2141,"character":15}],"type":{"type":"reference","target":{"sourceFileName":"node_modules/typescript/lib/lib.es5.d.ts","qualifiedName":"Promise"},"typeArguments":[{"type":"union","types":[{"type":"reference","target":270,"name":"Monitor","package":"@tauri-apps/api"},{"type":"literal","value":null}]}],"name":"Promise","package":"typescript","externalUrl":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise"}}]}],"groups":[{"title":"References","children":[605,603,606,604]},{"title":"Enumerations","children":[501,527,276,498]},{"title":"Classes","children":[482,287]},{"title":"Interfaces","children":[537,270,282,544,556]},{"title":"Type Aliases","children":[591,275,547,542,543]},{"title":"Functions","children":[535,531,496,494,533]}],"sources":[{"fileName":"window.ts","line":1,"character":0}]}],"groups":[{"title":"Modules","children":[592,1,40,89,103,204,269]}],"packageName":"@tauri-apps/api","symbolIdMap":{"1":{"sourceFileName":"src/dpi.ts","qualifiedName":""},"2":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition"},"3":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition.__constructor"},"4":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition"},"5":{"sourceFileName":"src/dpi.ts","qualifiedName":"x"},"6":{"sourceFileName":"src/dpi.ts","qualifiedName":"y"},"7":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition.type"},"8":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition.x"},"9":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalPosition.y"},"10":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize"},"11":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize.__constructor"},"12":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize"},"13":{"sourceFileName":"src/dpi.ts","qualifiedName":"width"},"14":{"sourceFileName":"src/dpi.ts","qualifiedName":"height"},"15":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize.type"},"16":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize.width"},"17":{"sourceFileName":"src/dpi.ts","qualifiedName":"LogicalSize.height"},"18":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition"},"19":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.__constructor"},"20":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition"},"21":{"sourceFileName":"src/dpi.ts","qualifiedName":"x"},"22":{"sourceFileName":"src/dpi.ts","qualifiedName":"y"},"23":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.type"},"24":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.x"},"25":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.y"},"26":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.toLogical"},"27":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalPosition.toLogical"},"28":{"sourceFileName":"src/dpi.ts","qualifiedName":"scaleFactor"},"29":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize"},"30":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.__constructor"},"31":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize"},"32":{"sourceFileName":"src/dpi.ts","qualifiedName":"width"},"33":{"sourceFileName":"src/dpi.ts","qualifiedName":"height"},"34":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.type"},"35":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.width"},"36":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.height"},"37":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.toLogical"},"38":{"sourceFileName":"src/dpi.ts","qualifiedName":"PhysicalSize.toLogical"},"39":{"sourceFileName":"src/dpi.ts","qualifiedName":"scaleFactor"},"40":{"sourceFileName":"src/event.ts","qualifiedName":""},"41":{"sourceFileName":"src/event.ts","qualifiedName":"Event"},"42":{"sourceFileName":"src/event.ts","qualifiedName":"Event.event"},"43":{"sourceFileName":"src/event.ts","qualifiedName":"Event.windowLabel"},"44":{"sourceFileName":"src/event.ts","qualifiedName":"Event.id"},"45":{"sourceFileName":"src/event.ts","qualifiedName":"Event.payload"},"46":{"sourceFileName":"src/event.ts","qualifiedName":"Event.T"},"47":{"sourceFileName":"src/event.ts","qualifiedName":"EventCallback"},"48":{"sourceFileName":"src/event.ts","qualifiedName":"__type"},"49":{"sourceFileName":"src/event.ts","qualifiedName":"__type"},"50":{"sourceFileName":"src/event.ts","qualifiedName":"event"},"51":{"sourceFileName":"src/event.ts","qualifiedName":"T"},"52":{"sourceFileName":"src/event.ts","qualifiedName":"UnlistenFn"},"53":{"sourceFileName":"src/event.ts","qualifiedName":"__type"},"54":{"sourceFileName":"src/event.ts","qualifiedName":"__type"},"55":{"sourceFileName":"src/event.ts","qualifiedName":"EventName"},"56":{"sourceFileName":"src/event.ts","qualifiedName":"Options"},"57":{"sourceFileName":"src/event.ts","qualifiedName":"Options.target"},"58":{"sourceFileName":"src/event.ts","qualifiedName":"listen"},"59":{"sourceFileName":"src/event.ts","qualifiedName":"listen"},"60":{"sourceFileName":"src/event.ts","qualifiedName":"T"},"61":{"sourceFileName":"src/event.ts","qualifiedName":"event"},"62":{"sourceFileName":"src/event.ts","qualifiedName":"handler"},"63":{"sourceFileName":"src/event.ts","qualifiedName":"options"},"64":{"sourceFileName":"src/event.ts","qualifiedName":"once"},"65":{"sourceFileName":"src/event.ts","qualifiedName":"once"},"66":{"sourceFileName":"src/event.ts","qualifiedName":"T"},"67":{"sourceFileName":"src/event.ts","qualifiedName":"event"},"68":{"sourceFileName":"src/event.ts","qualifiedName":"handler"},"69":{"sourceFileName":"src/event.ts","qualifiedName":"options"},"70":{"sourceFileName":"src/event.ts","qualifiedName":"emit"},"71":{"sourceFileName":"src/event.ts","qualifiedName":"emit"},"72":{"sourceFileName":"src/event.ts","qualifiedName":"event"},"73":{"sourceFileName":"src/event.ts","qualifiedName":"payload"},"74":{"sourceFileName":"src/event.ts","qualifiedName":"options"},"75":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent"},"76":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_RESIZED"},"77":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_MOVED"},"78":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_CLOSE_REQUESTED"},"79":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_CREATED"},"80":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_DESTROYED"},"81":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_FOCUS"},"82":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_BLUR"},"83":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_SCALE_FACTOR_CHANGED"},"84":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_THEME_CHANGED"},"85":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_FILE_DROP"},"86":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_FILE_DROP_HOVER"},"87":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.WINDOW_FILE_DROP_CANCELLED"},"88":{"sourceFileName":"src/event.ts","qualifiedName":"TauriEvent.MENU"},"89":{"sourceFileName":"src/mocks.ts","qualifiedName":""},"90":{"sourceFileName":"src/mocks.ts","qualifiedName":"mockIPC"},"91":{"sourceFileName":"src/mocks.ts","qualifiedName":"mockIPC"},"92":{"sourceFileName":"src/mocks.ts","qualifiedName":"cb"},"93":{"sourceFileName":"src/mocks.ts","qualifiedName":"__type"},"94":{"sourceFileName":"src/mocks.ts","qualifiedName":"__type"},"95":{"sourceFileName":"src/mocks.ts","qualifiedName":"cmd"},"96":{"sourceFileName":"src/mocks.ts","qualifiedName":"payload"},"97":{"sourceFileName":"src/mocks.ts","qualifiedName":"mockWindows"},"98":{"sourceFileName":"src/mocks.ts","qualifiedName":"mockWindows"},"99":{"sourceFileName":"src/mocks.ts","qualifiedName":"current"},"100":{"sourceFileName":"src/mocks.ts","qualifiedName":"additionalWindows"},"101":{"sourceFileName":"src/mocks.ts","qualifiedName":"clearMocks"},"102":{"sourceFileName":"src/mocks.ts","qualifiedName":"clearMocks"},"103":{"sourceFileName":"src/path.ts","qualifiedName":""},"104":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory"},"105":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Audio"},"106":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Cache"},"107":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Config"},"108":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Data"},"109":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.LocalData"},"110":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Document"},"111":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Download"},"112":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Picture"},"113":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Public"},"114":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Video"},"115":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Resource"},"116":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Temp"},"117":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.AppConfig"},"118":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.AppData"},"119":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.AppLocalData"},"120":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.AppCache"},"121":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.AppLog"},"122":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Desktop"},"123":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Executable"},"124":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Font"},"125":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Home"},"126":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Runtime"},"127":{"sourceFileName":"src/path.ts","qualifiedName":"BaseDirectory.Template"},"128":{"sourceFileName":"src/path.ts","qualifiedName":"appConfigDir"},"129":{"sourceFileName":"src/path.ts","qualifiedName":"appConfigDir"},"130":{"sourceFileName":"src/path.ts","qualifiedName":"appDataDir"},"131":{"sourceFileName":"src/path.ts","qualifiedName":"appDataDir"},"132":{"sourceFileName":"src/path.ts","qualifiedName":"appLocalDataDir"},"133":{"sourceFileName":"src/path.ts","qualifiedName":"appLocalDataDir"},"134":{"sourceFileName":"src/path.ts","qualifiedName":"appCacheDir"},"135":{"sourceFileName":"src/path.ts","qualifiedName":"appCacheDir"},"136":{"sourceFileName":"src/path.ts","qualifiedName":"appLogDir"},"137":{"sourceFileName":"src/path.ts","qualifiedName":"appLogDir"},"138":{"sourceFileName":"src/path.ts","qualifiedName":"audioDir"},"139":{"sourceFileName":"src/path.ts","qualifiedName":"audioDir"},"140":{"sourceFileName":"src/path.ts","qualifiedName":"cacheDir"},"141":{"sourceFileName":"src/path.ts","qualifiedName":"cacheDir"},"142":{"sourceFileName":"src/path.ts","qualifiedName":"configDir"},"143":{"sourceFileName":"src/path.ts","qualifiedName":"configDir"},"144":{"sourceFileName":"src/path.ts","qualifiedName":"dataDir"},"145":{"sourceFileName":"src/path.ts","qualifiedName":"dataDir"},"146":{"sourceFileName":"src/path.ts","qualifiedName":"desktopDir"},"147":{"sourceFileName":"src/path.ts","qualifiedName":"desktopDir"},"148":{"sourceFileName":"src/path.ts","qualifiedName":"documentDir"},"149":{"sourceFileName":"src/path.ts","qualifiedName":"documentDir"},"150":{"sourceFileName":"src/path.ts","qualifiedName":"downloadDir"},"151":{"sourceFileName":"src/path.ts","qualifiedName":"downloadDir"},"152":{"sourceFileName":"src/path.ts","qualifiedName":"executableDir"},"153":{"sourceFileName":"src/path.ts","qualifiedName":"executableDir"},"154":{"sourceFileName":"src/path.ts","qualifiedName":"fontDir"},"155":{"sourceFileName":"src/path.ts","qualifiedName":"fontDir"},"156":{"sourceFileName":"src/path.ts","qualifiedName":"homeDir"},"157":{"sourceFileName":"src/path.ts","qualifiedName":"homeDir"},"158":{"sourceFileName":"src/path.ts","qualifiedName":"localDataDir"},"159":{"sourceFileName":"src/path.ts","qualifiedName":"localDataDir"},"160":{"sourceFileName":"src/path.ts","qualifiedName":"pictureDir"},"161":{"sourceFileName":"src/path.ts","qualifiedName":"pictureDir"},"162":{"sourceFileName":"src/path.ts","qualifiedName":"publicDir"},"163":{"sourceFileName":"src/path.ts","qualifiedName":"publicDir"},"164":{"sourceFileName":"src/path.ts","qualifiedName":"resourceDir"},"165":{"sourceFileName":"src/path.ts","qualifiedName":"resourceDir"},"166":{"sourceFileName":"src/path.ts","qualifiedName":"resolveResource"},"167":{"sourceFileName":"src/path.ts","qualifiedName":"resolveResource"},"168":{"sourceFileName":"src/path.ts","qualifiedName":"resourcePath"},"169":{"sourceFileName":"src/path.ts","qualifiedName":"runtimeDir"},"170":{"sourceFileName":"src/path.ts","qualifiedName":"runtimeDir"},"171":{"sourceFileName":"src/path.ts","qualifiedName":"templateDir"},"172":{"sourceFileName":"src/path.ts","qualifiedName":"templateDir"},"173":{"sourceFileName":"src/path.ts","qualifiedName":"videoDir"},"174":{"sourceFileName":"src/path.ts","qualifiedName":"videoDir"},"175":{"sourceFileName":"src/path.ts","qualifiedName":"sep"},"176":{"sourceFileName":"src/path.ts","qualifiedName":"sep"},"177":{"sourceFileName":"src/path.ts","qualifiedName":"delimiter"},"178":{"sourceFileName":"src/path.ts","qualifiedName":"delimiter"},"179":{"sourceFileName":"src/path.ts","qualifiedName":"resolve"},"180":{"sourceFileName":"src/path.ts","qualifiedName":"resolve"},"181":{"sourceFileName":"src/path.ts","qualifiedName":"paths"},"182":{"sourceFileName":"src/path.ts","qualifiedName":"normalize"},"183":{"sourceFileName":"src/path.ts","qualifiedName":"normalize"},"184":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"185":{"sourceFileName":"src/path.ts","qualifiedName":"join"},"186":{"sourceFileName":"src/path.ts","qualifiedName":"join"},"187":{"sourceFileName":"src/path.ts","qualifiedName":"paths"},"188":{"sourceFileName":"src/path.ts","qualifiedName":"dirname"},"189":{"sourceFileName":"src/path.ts","qualifiedName":"dirname"},"190":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"191":{"sourceFileName":"src/path.ts","qualifiedName":"extname"},"192":{"sourceFileName":"src/path.ts","qualifiedName":"extname"},"193":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"194":{"sourceFileName":"src/path.ts","qualifiedName":"basename"},"195":{"sourceFileName":"src/path.ts","qualifiedName":"basename"},"196":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"197":{"sourceFileName":"src/path.ts","qualifiedName":"ext"},"198":{"sourceFileName":"src/path.ts","qualifiedName":"isAbsolute"},"199":{"sourceFileName":"src/path.ts","qualifiedName":"isAbsolute"},"200":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"201":{"sourceFileName":"src/path.ts","qualifiedName":"tempDir"},"202":{"sourceFileName":"src/path.ts","qualifiedName":"tempDir"},"203":{"sourceFileName":"src/path.ts","qualifiedName":"path"},"204":{"sourceFileName":"src/primitives.ts","qualifiedName":""},"205":{"sourceFileName":"src/primitives.ts","qualifiedName":"InvokeArgs"},"206":{"sourceFileName":"src/primitives.ts","qualifiedName":"InvokeOptions"},"207":{"sourceFileName":"src/primitives.ts","qualifiedName":"InvokeOptions.headers"},"208":{"sourceFileName":"src/primitives.ts","qualifiedName":"transformCallback"},"209":{"sourceFileName":"src/primitives.ts","qualifiedName":"transformCallback"},"210":{"sourceFileName":"src/primitives.ts","qualifiedName":"T"},"211":{"sourceFileName":"src/primitives.ts","qualifiedName":"callback"},"212":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"213":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"214":{"sourceFileName":"src/primitives.ts","qualifiedName":"response"},"215":{"sourceFileName":"src/primitives.ts","qualifiedName":"once"},"216":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel"},"217":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.__constructor"},"218":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel"},"219":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.T"},"220":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.id"},"221":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.__TAURI_CHANNEL_MARKER__"},"222":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.#onmessage"},"223":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"224":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"225":{"sourceFileName":"src/primitives.ts","qualifiedName":"response"},"226":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.onmessage"},"227":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.onmessage"},"228":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"229":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"230":{"sourceFileName":"src/primitives.ts","qualifiedName":"response"},"231":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.onmessage"},"232":{"sourceFileName":"src/primitives.ts","qualifiedName":"handler"},"233":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"234":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"235":{"sourceFileName":"src/primitives.ts","qualifiedName":"response"},"236":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.toJSON"},"237":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.toJSON"},"238":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.T"},"239":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener"},"240":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.__constructor"},"241":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener"},"242":{"sourceFileName":"src/primitives.ts","qualifiedName":"plugin"},"243":{"sourceFileName":"src/primitives.ts","qualifiedName":"event"},"244":{"sourceFileName":"src/primitives.ts","qualifiedName":"channelId"},"245":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.plugin"},"246":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.event"},"247":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.channelId"},"248":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.unregister"},"249":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.unregister"},"250":{"sourceFileName":"src/primitives.ts","qualifiedName":"addPluginListener"},"251":{"sourceFileName":"src/primitives.ts","qualifiedName":"addPluginListener"},"252":{"sourceFileName":"src/primitives.ts","qualifiedName":"T"},"253":{"sourceFileName":"src/primitives.ts","qualifiedName":"plugin"},"254":{"sourceFileName":"src/primitives.ts","qualifiedName":"event"},"255":{"sourceFileName":"src/primitives.ts","qualifiedName":"cb"},"256":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"257":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"258":{"sourceFileName":"src/primitives.ts","qualifiedName":"payload"},"259":{"sourceFileName":"src/primitives.ts","qualifiedName":"invoke"},"260":{"sourceFileName":"src/primitives.ts","qualifiedName":"invoke"},"261":{"sourceFileName":"src/primitives.ts","qualifiedName":"T"},"262":{"sourceFileName":"src/primitives.ts","qualifiedName":"cmd"},"263":{"sourceFileName":"src/primitives.ts","qualifiedName":"args"},"264":{"sourceFileName":"src/primitives.ts","qualifiedName":"options"},"265":{"sourceFileName":"src/primitives.ts","qualifiedName":"convertFileSrc"},"266":{"sourceFileName":"src/primitives.ts","qualifiedName":"convertFileSrc"},"267":{"sourceFileName":"src/primitives.ts","qualifiedName":"filePath"},"268":{"sourceFileName":"src/primitives.ts","qualifiedName":"protocol"},"269":{"sourceFileName":"src/window.ts","qualifiedName":""},"270":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor"},"271":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.name"},"272":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.size"},"273":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.position"},"274":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.scaleFactor"},"275":{"sourceFileName":"src/window.ts","qualifiedName":"CursorIcon"},"276":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus"},"277":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.None"},"278":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.Normal"},"279":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.Indeterminate"},"280":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.Paused"},"281":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.Error"},"282":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarState"},"283":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarState.status"},"284":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarState.progress"},"285":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarState.unityUri"},"287":{"sourceFileName":"src/window.ts","qualifiedName":"Window"},"288":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getByLabel"},"289":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getByLabel"},"290":{"sourceFileName":"src/window.ts","qualifiedName":"label"},"291":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getCurrent"},"292":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getCurrent"},"293":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getAll"},"294":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getAll"},"295":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getFocusedWindow"},"296":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getFocusedWindow"},"297":{"sourceFileName":"src/window.ts","qualifiedName":"Window.__constructor"},"298":{"sourceFileName":"src/window.ts","qualifiedName":"Window"},"299":{"sourceFileName":"src/window.ts","qualifiedName":"label"},"300":{"sourceFileName":"src/window.ts","qualifiedName":"options"},"301":{"sourceFileName":"src/window.ts","qualifiedName":"Window.label"},"302":{"sourceFileName":"src/window.ts","qualifiedName":"Window.listeners"},"303":{"sourceFileName":"src/window.ts","qualifiedName":"Window.listen"},"304":{"sourceFileName":"src/window.ts","qualifiedName":"Window.listen"},"305":{"sourceFileName":"src/window.ts","qualifiedName":"T"},"306":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"307":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"308":{"sourceFileName":"src/window.ts","qualifiedName":"Window.once"},"309":{"sourceFileName":"src/window.ts","qualifiedName":"Window.once"},"310":{"sourceFileName":"src/window.ts","qualifiedName":"T"},"311":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"312":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"313":{"sourceFileName":"src/window.ts","qualifiedName":"Window.emit"},"314":{"sourceFileName":"src/window.ts","qualifiedName":"Window.emit"},"315":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"316":{"sourceFileName":"src/window.ts","qualifiedName":"payload"},"322":{"sourceFileName":"src/window.ts","qualifiedName":"Window.scaleFactor"},"323":{"sourceFileName":"src/window.ts","qualifiedName":"Window.scaleFactor"},"324":{"sourceFileName":"src/window.ts","qualifiedName":"Window.innerPosition"},"325":{"sourceFileName":"src/window.ts","qualifiedName":"Window.innerPosition"},"326":{"sourceFileName":"src/window.ts","qualifiedName":"Window.outerPosition"},"327":{"sourceFileName":"src/window.ts","qualifiedName":"Window.outerPosition"},"328":{"sourceFileName":"src/window.ts","qualifiedName":"Window.innerSize"},"329":{"sourceFileName":"src/window.ts","qualifiedName":"Window.innerSize"},"330":{"sourceFileName":"src/window.ts","qualifiedName":"Window.outerSize"},"331":{"sourceFileName":"src/window.ts","qualifiedName":"Window.outerSize"},"332":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isFullscreen"},"333":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isFullscreen"},"334":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMinimized"},"335":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMinimized"},"336":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMaximized"},"337":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMaximized"},"338":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isFocused"},"339":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isFocused"},"340":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isDecorated"},"341":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isDecorated"},"342":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isResizable"},"343":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isResizable"},"344":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMaximizable"},"345":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMaximizable"},"346":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMinimizable"},"347":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMinimizable"},"348":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isClosable"},"349":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isClosable"},"350":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isVisible"},"351":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isVisible"},"352":{"sourceFileName":"src/window.ts","qualifiedName":"Window.title"},"353":{"sourceFileName":"src/window.ts","qualifiedName":"Window.title"},"354":{"sourceFileName":"src/window.ts","qualifiedName":"Window.theme"},"355":{"sourceFileName":"src/window.ts","qualifiedName":"Window.theme"},"356":{"sourceFileName":"src/window.ts","qualifiedName":"Window.center"},"357":{"sourceFileName":"src/window.ts","qualifiedName":"Window.center"},"358":{"sourceFileName":"src/window.ts","qualifiedName":"Window.requestUserAttention"},"359":{"sourceFileName":"src/window.ts","qualifiedName":"Window.requestUserAttention"},"360":{"sourceFileName":"src/window.ts","qualifiedName":"requestType"},"361":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setResizable"},"362":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setResizable"},"363":{"sourceFileName":"src/window.ts","qualifiedName":"resizable"},"364":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMaximizable"},"365":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMaximizable"},"366":{"sourceFileName":"src/window.ts","qualifiedName":"maximizable"},"367":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMinimizable"},"368":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMinimizable"},"369":{"sourceFileName":"src/window.ts","qualifiedName":"minimizable"},"370":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setClosable"},"371":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setClosable"},"372":{"sourceFileName":"src/window.ts","qualifiedName":"closable"},"373":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setTitle"},"374":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setTitle"},"375":{"sourceFileName":"src/window.ts","qualifiedName":"title"},"376":{"sourceFileName":"src/window.ts","qualifiedName":"Window.maximize"},"377":{"sourceFileName":"src/window.ts","qualifiedName":"Window.maximize"},"378":{"sourceFileName":"src/window.ts","qualifiedName":"Window.unmaximize"},"379":{"sourceFileName":"src/window.ts","qualifiedName":"Window.unmaximize"},"380":{"sourceFileName":"src/window.ts","qualifiedName":"Window.toggleMaximize"},"381":{"sourceFileName":"src/window.ts","qualifiedName":"Window.toggleMaximize"},"382":{"sourceFileName":"src/window.ts","qualifiedName":"Window.minimize"},"383":{"sourceFileName":"src/window.ts","qualifiedName":"Window.minimize"},"384":{"sourceFileName":"src/window.ts","qualifiedName":"Window.unminimize"},"385":{"sourceFileName":"src/window.ts","qualifiedName":"Window.unminimize"},"386":{"sourceFileName":"src/window.ts","qualifiedName":"Window.show"},"387":{"sourceFileName":"src/window.ts","qualifiedName":"Window.show"},"388":{"sourceFileName":"src/window.ts","qualifiedName":"Window.hide"},"389":{"sourceFileName":"src/window.ts","qualifiedName":"Window.hide"},"390":{"sourceFileName":"src/window.ts","qualifiedName":"Window.close"},"391":{"sourceFileName":"src/window.ts","qualifiedName":"Window.close"},"392":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setDecorations"},"393":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setDecorations"},"394":{"sourceFileName":"src/window.ts","qualifiedName":"decorations"},"395":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setShadow"},"396":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setShadow"},"397":{"sourceFileName":"src/window.ts","qualifiedName":"enable"},"398":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setEffects"},"399":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setEffects"},"400":{"sourceFileName":"src/window.ts","qualifiedName":"effects"},"401":{"sourceFileName":"src/window.ts","qualifiedName":"Window.clearEffects"},"402":{"sourceFileName":"src/window.ts","qualifiedName":"Window.clearEffects"},"403":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setAlwaysOnTop"},"404":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setAlwaysOnTop"},"405":{"sourceFileName":"src/window.ts","qualifiedName":"alwaysOnTop"},"406":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setAlwaysOnBottom"},"407":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setAlwaysOnBottom"},"408":{"sourceFileName":"src/window.ts","qualifiedName":"alwaysOnBottom"},"409":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setContentProtected"},"410":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setContentProtected"},"411":{"sourceFileName":"src/window.ts","qualifiedName":"protected_"},"412":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setSize"},"413":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setSize"},"414":{"sourceFileName":"src/window.ts","qualifiedName":"size"},"415":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMinSize"},"416":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMinSize"},"417":{"sourceFileName":"src/window.ts","qualifiedName":"size"},"418":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMaxSize"},"419":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMaxSize"},"420":{"sourceFileName":"src/window.ts","qualifiedName":"size"},"421":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setPosition"},"422":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setPosition"},"423":{"sourceFileName":"src/window.ts","qualifiedName":"position"},"424":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setFullscreen"},"425":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setFullscreen"},"426":{"sourceFileName":"src/window.ts","qualifiedName":"fullscreen"},"427":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setFocus"},"428":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setFocus"},"429":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setIcon"},"430":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setIcon"},"431":{"sourceFileName":"src/window.ts","qualifiedName":"icon"},"432":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setSkipTaskbar"},"433":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setSkipTaskbar"},"434":{"sourceFileName":"src/window.ts","qualifiedName":"skip"},"435":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorGrab"},"436":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorGrab"},"437":{"sourceFileName":"src/window.ts","qualifiedName":"grab"},"438":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorVisible"},"439":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorVisible"},"440":{"sourceFileName":"src/window.ts","qualifiedName":"visible"},"441":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorIcon"},"442":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorIcon"},"443":{"sourceFileName":"src/window.ts","qualifiedName":"icon"},"444":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorPosition"},"445":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorPosition"},"446":{"sourceFileName":"src/window.ts","qualifiedName":"position"},"447":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setIgnoreCursorEvents"},"448":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setIgnoreCursorEvents"},"449":{"sourceFileName":"src/window.ts","qualifiedName":"ignore"},"450":{"sourceFileName":"src/window.ts","qualifiedName":"Window.startDragging"},"451":{"sourceFileName":"src/window.ts","qualifiedName":"Window.startDragging"},"452":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setProgressBar"},"453":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setProgressBar"},"454":{"sourceFileName":"src/window.ts","qualifiedName":"state"},"455":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onResized"},"456":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onResized"},"457":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"458":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onMoved"},"459":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onMoved"},"460":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"461":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onCloseRequested"},"462":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onCloseRequested"},"463":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"464":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"465":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"466":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"467":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onFocusChanged"},"468":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onFocusChanged"},"469":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"470":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onScaleChanged"},"471":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onScaleChanged"},"472":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"473":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onMenuClicked"},"474":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onMenuClicked"},"475":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"476":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onFileDropEvent"},"477":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onFileDropEvent"},"478":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"479":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onThemeChanged"},"480":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onThemeChanged"},"481":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"482":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent"},"483":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.__constructor"},"484":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent"},"485":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"486":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.event"},"487":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.windowLabel"},"488":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.id"},"489":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent._preventDefault"},"490":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.preventDefault"},"491":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.preventDefault"},"492":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.isPreventDefault"},"493":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.isPreventDefault"},"494":{"sourceFileName":"src/window.ts","qualifiedName":"getCurrent"},"495":{"sourceFileName":"src/window.ts","qualifiedName":"getCurrent"},"496":{"sourceFileName":"src/window.ts","qualifiedName":"getAll"},"497":{"sourceFileName":"src/window.ts","qualifiedName":"getAll"},"498":{"sourceFileName":"src/window.ts","qualifiedName":"UserAttentionType"},"499":{"sourceFileName":"src/window.ts","qualifiedName":"UserAttentionType.Critical"},"500":{"sourceFileName":"src/window.ts","qualifiedName":"UserAttentionType.Informational"},"501":{"sourceFileName":"src/window.ts","qualifiedName":"Effect"},"502":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.AppearanceBased"},"503":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Light"},"504":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Dark"},"505":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.MediumLight"},"506":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.UltraDark"},"507":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Titlebar"},"508":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Selection"},"509":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Menu"},"510":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Popover"},"511":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Sidebar"},"512":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.HeaderView"},"513":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Sheet"},"514":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.WindowBackground"},"515":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.HudWindow"},"516":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.FullScreenUI"},"517":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Tooltip"},"518":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.ContentBackground"},"519":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.UnderWindowBackground"},"520":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.UnderPageBackground"},"521":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Mica"},"522":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Blur"},"523":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Acrylic"},"524":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Tabbed"},"525":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.TabbedDark"},"526":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.TabbedLight"},"527":{"sourceFileName":"src/window.ts","qualifiedName":"EffectState"},"528":{"sourceFileName":"src/window.ts","qualifiedName":"EffectState.FollowsWindowActiveState"},"529":{"sourceFileName":"src/window.ts","qualifiedName":"EffectState.Active"},"530":{"sourceFileName":"src/window.ts","qualifiedName":"EffectState.Inactive"},"531":{"sourceFileName":"src/window.ts","qualifiedName":"currentMonitor"},"532":{"sourceFileName":"src/window.ts","qualifiedName":"currentMonitor"},"533":{"sourceFileName":"src/window.ts","qualifiedName":"primaryMonitor"},"534":{"sourceFileName":"src/window.ts","qualifiedName":"primaryMonitor"},"535":{"sourceFileName":"src/window.ts","qualifiedName":"availableMonitors"},"536":{"sourceFileName":"src/window.ts","qualifiedName":"availableMonitors"},"537":{"sourceFileName":"src/window.ts","qualifiedName":"Effects"},"538":{"sourceFileName":"src/window.ts","qualifiedName":"Effects.effects"},"539":{"sourceFileName":"src/window.ts","qualifiedName":"Effects.state"},"540":{"sourceFileName":"src/window.ts","qualifiedName":"Effects.radius"},"541":{"sourceFileName":"src/window.ts","qualifiedName":"Effects.color"},"542":{"sourceFileName":"src/window.ts","qualifiedName":"Theme"},"543":{"sourceFileName":"src/window.ts","qualifiedName":"TitleBarStyle"},"544":{"sourceFileName":"src/window.ts","qualifiedName":"ScaleFactorChanged"},"545":{"sourceFileName":"src/window.ts","qualifiedName":"ScaleFactorChanged.scaleFactor"},"546":{"sourceFileName":"src/window.ts","qualifiedName":"ScaleFactorChanged.size"},"547":{"sourceFileName":"src/window.ts","qualifiedName":"FileDropEvent"},"548":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"549":{"sourceFileName":"src/window.ts","qualifiedName":"__type.type"},"550":{"sourceFileName":"src/window.ts","qualifiedName":"__type.paths"},"551":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"552":{"sourceFileName":"src/window.ts","qualifiedName":"__type.type"},"553":{"sourceFileName":"src/window.ts","qualifiedName":"__type.paths"},"554":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"555":{"sourceFileName":"src/window.ts","qualifiedName":"__type.type"},"556":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions"},"557":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.url"},"558":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.center"},"559":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.x"},"560":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.y"},"561":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.width"},"562":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.height"},"563":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.minWidth"},"564":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.minHeight"},"565":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maxWidth"},"566":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maxHeight"},"567":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.resizable"},"568":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.title"},"569":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.fullscreen"},"570":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.focus"},"571":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.transparent"},"572":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maximized"},"573":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.visible"},"574":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.decorations"},"575":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.alwaysOnTop"},"576":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.alwaysOnBottom"},"577":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.contentProtected"},"578":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.skipTaskbar"},"579":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.shadow"},"580":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.fileDropEnabled"},"581":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.theme"},"582":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.titleBarStyle"},"583":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.hiddenTitle"},"584":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.acceptFirstMouse"},"585":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.tabbingIdentifier"},"586":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.userAgent"},"587":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.incognito"},"588":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maximizable"},"589":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.minimizable"},"590":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.closable"},"591":{"sourceFileName":"src/window.ts","qualifiedName":"Color"},"592":{"sourceFileName":"src/app.ts","qualifiedName":""},"593":{"sourceFileName":"src/app.ts","qualifiedName":"getName"},"594":{"sourceFileName":"src/app.ts","qualifiedName":"getName"},"595":{"sourceFileName":"src/app.ts","qualifiedName":"getVersion"},"596":{"sourceFileName":"src/app.ts","qualifiedName":"getVersion"},"597":{"sourceFileName":"src/app.ts","qualifiedName":"getTauriVersion"},"598":{"sourceFileName":"src/app.ts","qualifiedName":"getTauriVersion"},"599":{"sourceFileName":"src/app.ts","qualifiedName":"show"},"600":{"sourceFileName":"src/app.ts","qualifiedName":"show"},"601":{"sourceFileName":"src/app.ts","qualifiedName":"hide"},"602":{"sourceFileName":"src/app.ts","qualifiedName":"hide"},"603":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalSize"},"604":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalSize"},"605":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalPosition"},"606":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalPosition"}}} \ No newline at end of file diff --git a/tooling/api/package.json b/tooling/api/package.json index 00c95bc4d900..e8c632557967 100644 --- a/tooling/api/package.json +++ b/tooling/api/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/api", - "version": "2.0.0-alpha.8", + "version": "2.0.0-alpha.9", "description": "Tauri API definitions", "type": "module", "funding": { diff --git a/tooling/bundler/CHANGELOG.md b/tooling/bundler/CHANGELOG.md index fd3b4598e9d8..6b8c29ec4f89 100644 --- a/tooling/bundler/CHANGELOG.md +++ b/tooling/bundler/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## \[2.0.0-alpha.10] + +### New Features + +- [`880266a7`](https://www.github.com/tauri-apps/tauri/commit/880266a7f697e1fe58d685de3bb6836ce5251e92)([#8031](https://www.github.com/tauri-apps/tauri/pull/8031)) Bump the MSRV to 1.70. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-alpha.9` + ## \[2.0.0-alpha.9] ### Dependencies diff --git a/tooling/bundler/Cargo.toml b/tooling/bundler/Cargo.toml index 05e66d50a2b2..d47c6190b732 100644 --- a/tooling/bundler/Cargo.toml +++ b/tooling/bundler/Cargo.toml @@ -2,7 +2,7 @@ workspace = { } [package] name = "tauri-bundler" -version = "2.0.0-alpha.9" +version = "2.0.0-alpha.10" authors = [ "George Burton ", "Tauri Programme within The Commons Conservancy" @@ -17,7 +17,7 @@ rust-version = "1.70" exclude = [ "CHANGELOG.md", "/target", "rustfmt.toml" ] [dependencies] -tauri-utils = { version = "2.0.0-alpha.8", path = "../../core/tauri-utils", features = [ "resources" ] } +tauri-utils = { version = "2.0.0-alpha.9", path = "../../core/tauri-utils", features = [ "resources" ] } image = "0.24.7" libflate = "2.0" anyhow = "1.0" diff --git a/tooling/cli/CHANGELOG.md b/tooling/cli/CHANGELOG.md index 7256c9684701..c6030bc09aa2 100644 --- a/tooling/cli/CHANGELOG.md +++ b/tooling/cli/CHANGELOG.md @@ -1,5 +1,40 @@ # Changelog +## \[2.0.0-alpha.16] + +### New Features + +- [`8b166e9b`](https://www.github.com/tauri-apps/tauri/commit/8b166e9bf82e69ddb3200a3a825614980bd8d433)([#7949](https://www.github.com/tauri-apps/tauri/pull/7949)) Add `--no-dev-server-wait` option to skip waiting for the dev server to start when using `tauri dev`. +- [`880266a7`](https://www.github.com/tauri-apps/tauri/commit/880266a7f697e1fe58d685de3bb6836ce5251e92)([#8031](https://www.github.com/tauri-apps/tauri/pull/8031)) Bump the MSRV to 1.70. + +### Dependencies + +- Upgraded to `tauri-utils@2.0.0-alpha.9` +- Upgraded to `tauri-bundler@2.0.0-alpha.10` + +### Breaking Changes + +- [`8b166e9b`](https://www.github.com/tauri-apps/tauri/commit/8b166e9bf82e69ddb3200a3a825614980bd8d433)([#7949](https://www.github.com/tauri-apps/tauri/pull/7949)) Changed a number of environment variables used by tauri CLI for consistency and clarity: + + - `TAURI_PRIVATE_KEY` -> `TAURI_SIGNING_PRIVATE_KEY` + - `TAURI_KEY_PASSWORD` -> `TAURI_SIGNING_PRIVATE_KEY_PASSWORD` + - `TAURI_SKIP_DEVSERVER_CHECK` -> `TAURI_CLI_NO_DEV_SERVER_WAIT` + - `TAURI_DEV_SERVER_PORT` -> `TAURI_CLI_PORT` + - `TAURI_PATH_DEPTH` -> `TAURI_CLI_CONFIG_DEPTH` + - `TAURI_FIPS_COMPLIANT` -> `TAURI_BUNDLER_WIX_FIPS_COMPLIANT` + - `TAURI_DEV_WATCHER_IGNORE_FILE` -> `TAURI_CLI_WATCHER_IGNORE_FILENAME` + - `TAURI_TRAY` -> `TAURI_LINUX_AYATANA_APPINDICATOR` + - `TAURI_APPLE_DEVELOPMENT_TEAM` -> `APPLE_DEVELOPMENT_TEAM` +- [`4caa1cca`](https://www.github.com/tauri-apps/tauri/commit/4caa1cca990806f2c2ef32d5dabaf56e82f349e6)([#7990](https://www.github.com/tauri-apps/tauri/pull/7990)) The `tauri plugin` subcommand is receving a couple of consitency and quality of life improvements: + + - Renamed `tauri plugin android/ios add` command to `tauri plugin android/ios init` to match the `tauri plugin init` command. + - Removed the `-n/--name` argument from the `tauri plugin init`, `tauri plugin android/ios init`, and is now parsed from the first positional argument. + - Added `tauri plugin new` to create a plugin in a new directory. + - Changed `tauri plugin init` to initalize a plugin in an existing directory (defaults to current directory) instead of creating a new one. + - Changed `tauri plugin init` to NOT generate mobile projects by default, you can opt-in to generate them using `--android` and `--ios` flags or `--mobile` flag or initalize them later using `tauri plugin android/ios init`. +- [`8b166e9b`](https://www.github.com/tauri-apps/tauri/commit/8b166e9bf82e69ddb3200a3a825614980bd8d433)([#7949](https://www.github.com/tauri-apps/tauri/pull/7949)) Removed checking for a new version of the CLI. +- [`ebcc21e4`](https://www.github.com/tauri-apps/tauri/commit/ebcc21e4b95f4e8c27639fb1bca545b432f52d5e)([#8057](https://www.github.com/tauri-apps/tauri/pull/8057)) Renamed the beforeDevCommand, beforeBuildCommand and beforeBundleCommand hooks environment variables from `TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG` to `TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG` to differentiate the prefix with other CLI environment variables. + ## \[2.0.0-alpha.15] ### New Features diff --git a/tooling/cli/Cargo.lock b/tooling/cli/Cargo.lock index 1f9f71089684..a12b6d73333d 100644 --- a/tooling/cli/Cargo.lock +++ b/tooling/cli/Cargo.lock @@ -1746,6 +1746,15 @@ dependencies = [ "cfb", ] +[[package]] +name = "infer" +version = "0.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb33622da908807a06f9513c19b3c1ad50fab3e4137d82a78107d502075aa199" +dependencies = [ + "cfb", +] + [[package]] name = "inotify" version = "0.9.6" @@ -2816,6 +2825,16 @@ dependencies = [ "proc-macro-hack", ] +[[package]] +name = "phf" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc" +dependencies = [ + "phf_macros 0.11.2", + "phf_shared 0.11.2", +] + [[package]] name = "phf_codegen" version = "0.8.0" @@ -2856,6 +2875,16 @@ dependencies = [ "rand 0.8.5", ] +[[package]] +name = "phf_generator" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0" +dependencies = [ + "phf_shared 0.11.2", + "rand 0.8.5", +] + [[package]] name = "phf_macros" version = "0.8.0" @@ -2884,6 +2913,19 @@ dependencies = [ "syn 1.0.109", ] +[[package]] +name = "phf_macros" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b" +dependencies = [ + "phf_generator 0.11.2", + "phf_shared 0.11.2", + "proc-macro2", + "quote", + "syn 2.0.37", +] + [[package]] name = "phf_shared" version = "0.8.0" @@ -2902,6 +2944,15 @@ dependencies = [ "siphasher", ] +[[package]] +name = "phf_shared" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b" +dependencies = [ + "siphasher", +] + [[package]] name = "pin-project" version = "1.1.3" @@ -3980,7 +4031,7 @@ dependencies = [ [[package]] name = "tauri-bundler" -version = "2.0.0-alpha.9" +version = "2.0.0-alpha.10" dependencies = [ "anyhow", "ar", @@ -4007,7 +4058,7 @@ dependencies = [ "strsim", "tar", "tauri-icns", - "tauri-utils 2.0.0-alpha.8", + "tauri-utils 2.0.0-alpha.9", "tempfile", "thiserror", "time", @@ -4020,7 +4071,7 @@ dependencies = [ [[package]] name = "tauri-cli" -version = "2.0.0-alpha.15" +version = "2.0.0-alpha.16" dependencies = [ "anyhow", "axum", @@ -4069,7 +4120,7 @@ dependencies = [ "tauri-bundler", "tauri-icns", "tauri-utils 1.5.0", - "tauri-utils 2.0.0-alpha.8", + "tauri-utils 2.0.0-alpha.9", "textwrap", "thiserror", "tokio", @@ -4115,7 +4166,7 @@ dependencies = [ "getrandom 0.2.10", "heck", "html5ever", - "infer", + "infer 0.12.0", "json-patch", "json5", "kuchikiki", @@ -4136,22 +4187,22 @@ dependencies = [ [[package]] name = "tauri-utils" -version = "2.0.0-alpha.8" +version = "2.0.0-alpha.9" dependencies = [ "aes-gcm", - "ctor 0.1.26", + "ctor 0.2.5", "dunce", "getrandom 0.2.10", "glob", "heck", "html5ever", - "infer", + "infer 0.15.0", "json-patch", "json5", "kuchikiki", "log", "memchr", - "phf 0.10.1", + "phf 0.11.2", "schemars", "semver", "serde", @@ -4159,10 +4210,10 @@ dependencies = [ "serde_with", "serialize-to-javascript", "thiserror", - "toml 0.5.11", + "toml 0.7.8", "url", "walkdir", - "windows 0.48.0", + "windows 0.51.1", ] [[package]] @@ -4884,11 +4935,30 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" dependencies = [ - "windows-implement 0.48.0", + "windows-targets 0.48.5", +] + +[[package]] +name = "windows" +version = "0.51.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca229916c5ee38c2f2bc1e9d8f04df975b4bd93f9955dc69fabb5d91270045c9" +dependencies = [ + "windows-core", + "windows-implement 0.51.1", "windows-interface", "windows-targets 0.48.5", ] +[[package]] +name = "windows-core" +version = "0.51.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" +dependencies = [ + "windows-targets 0.48.5", +] + [[package]] name = "windows-implement" version = "0.39.0" @@ -4901,24 +4971,24 @@ dependencies = [ [[package]] name = "windows-implement" -version = "0.48.0" +version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e2ee588991b9e7e6c8338edf3333fbe4da35dc72092643958ebb43f0ab2c49c" +checksum = "fb2b158efec5af20d8846836622f50a87e6556b9153a42772fa047f773c0e555" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.37", ] [[package]] name = "windows-interface" -version = "0.48.0" +version = "0.51.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e6fb8df20c9bcaa8ad6ab513f7b40104840c8867d5751126e4df3b08388d0cc7" +checksum = "0546e63e1ce64c04403d2311fa0e3ab5ae3a367bd524b4a38d8d8d18c70cfa76" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.37", ] [[package]] diff --git a/tooling/cli/Cargo.toml b/tooling/cli/Cargo.toml index 7088f550f36e..d848a18d9aa0 100644 --- a/tooling/cli/Cargo.toml +++ b/tooling/cli/Cargo.toml @@ -3,7 +3,7 @@ members = [ "node" ] [package] name = "tauri-cli" -version = "2.0.0-alpha.15" +version = "2.0.0-alpha.16" authors = [ "Tauri Programme within The Commons Conservancy" ] edition = "2021" rust-version = "1.70" @@ -50,7 +50,7 @@ sublime_fuzzy = "0.7" clap_complete = "4" clap = { version = "4.3", features = [ "derive", "env" ] } anyhow = "1.0" -tauri-bundler = { version = "2.0.0-alpha.9", default-features = false, path = "../bundler" } +tauri-bundler = { version = "2.0.0-alpha.10", default-features = false, path = "../bundler" } colored = "2.0" once_cell = "1" serde = { version = "1.0", features = [ "derive" ] } @@ -61,7 +61,7 @@ shared_child = "1.0" duct = "0.13" toml_edit = "0.19" json-patch = "1.0" -tauri-utils = { version = "2.0.0-alpha.8", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] } +tauri-utils = { version = "2.0.0-alpha.9", path = "../../core/tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] } tauri-utils-v1 = { version = "1", package = "tauri-utils", features = [ "isolation", "schema", "config-json5", "config-toml" ] } toml = "0.7" jsonschema = "0.17" diff --git a/tooling/cli/metadata-v2.json b/tooling/cli/metadata-v2.json index 4dfed7ee5699..fa71b633f278 100644 --- a/tooling/cli/metadata-v2.json +++ b/tooling/cli/metadata-v2.json @@ -1,8 +1,8 @@ { "cli.js": { - "version": "2.0.0-alpha.15", + "version": "2.0.0-alpha.16", "node": ">= 10.0.0" }, - "tauri": "2.0.0-alpha.15", - "tauri-build": "2.0.0-alpha.9" + "tauri": "2.0.0-alpha.16", + "tauri-build": "2.0.0-alpha.10" } diff --git a/tooling/cli/node/CHANGELOG.md b/tooling/cli/node/CHANGELOG.md index cad961ba79b6..8974abad3b2b 100644 --- a/tooling/cli/node/CHANGELOG.md +++ b/tooling/cli/node/CHANGELOG.md @@ -1,5 +1,38 @@ # Changelog +## \[2.0.0-alpha.16] + +### New Features + +- [`8b166e9b`](https://www.github.com/tauri-apps/tauri/commit/8b166e9bf82e69ddb3200a3a825614980bd8d433)([#7949](https://www.github.com/tauri-apps/tauri/pull/7949)) Add `--no-dev-server-wait` option to skip waiting for the dev server to start when using `tauri dev`. + +### Dependencies + +- Upgraded to `tauri-cli@2.0.0-alpha.16` + +### Breaking Changes + +- [`8b166e9b`](https://www.github.com/tauri-apps/tauri/commit/8b166e9bf82e69ddb3200a3a825614980bd8d433)([#7949](https://www.github.com/tauri-apps/tauri/pull/7949)) Changed a number of environment variables used by tauri CLI for consistency and clarity: + + - `TAURI_PRIVATE_KEY` -> `TAURI_SIGNING_PRIVATE_KEY` + - `TAURI_KEY_PASSWORD` -> `TAURI_SIGNING_PRIVATE_KEY_PASSWORD` + - `TAURI_SKIP_DEVSERVER_CHECK` -> `TAURI_CLI_NO_DEV_SERVER_WAIT` + - `TAURI_DEV_SERVER_PORT` -> `TAURI_CLI_PORT` + - `TAURI_PATH_DEPTH` -> `TAURI_CLI_CONFIG_DEPTH` + - `TAURI_FIPS_COMPLIANT` -> `TAURI_BUNDLER_WIX_FIPS_COMPLIANT` + - `TAURI_DEV_WATCHER_IGNORE_FILE` -> `TAURI_CLI_WATCHER_IGNORE_FILENAME` + - `TAURI_TRAY` -> `TAURI_LINUX_AYATANA_APPINDICATOR` + - `TAURI_APPLE_DEVELOPMENT_TEAM` -> `APPLE_DEVELOPMENT_TEAM` +- [`4caa1cca`](https://www.github.com/tauri-apps/tauri/commit/4caa1cca990806f2c2ef32d5dabaf56e82f349e6)([#7990](https://www.github.com/tauri-apps/tauri/pull/7990)) The `tauri plugin` subcommand is receving a couple of consitency and quality of life improvements: + + - Renamed `tauri plugin android/ios add` command to `tauri plugin android/ios init` to match the `tauri plugin init` command. + - Removed the `-n/--name` argument from the `tauri plugin init`, `tauri plugin android/ios init`, and is now parsed from the first positional argument. + - Added `tauri plugin new` to create a plugin in a new directory. + - Changed `tauri plugin init` to initalize a plugin in an existing directory (defaults to current directory) instead of creating a new one. + - Changed `tauri plugin init` to NOT generate mobile projects by default, you can opt-in to generate them using `--android` and `--ios` flags or `--mobile` flag or initalize them later using `tauri plugin android/ios init`. +- [`8b166e9b`](https://www.github.com/tauri-apps/tauri/commit/8b166e9bf82e69ddb3200a3a825614980bd8d433)([#7949](https://www.github.com/tauri-apps/tauri/pull/7949)) Removed checking for a new version of the CLI. +- [`ebcc21e4`](https://www.github.com/tauri-apps/tauri/commit/ebcc21e4b95f4e8c27639fb1bca545b432f52d5e)([#8057](https://www.github.com/tauri-apps/tauri/pull/8057)) Renamed the beforeDevCommand, beforeBuildCommand and beforeBundleCommand hooks environment variables from `TAURI_PLATFORM, TAURI_ARCH, TAURI_FAMILY, TAURI_PLATFORM_VERSION, TAURI_PLATFORM_TYPE and TAURI_DEBUG` to `TAURI_ENV_PLATFORM, TAURI_ENV_ARCH, TAURI_ENV_FAMILY, TAURI_ENV_PLATFORM_VERSION, TAURI_ENV_PLATFORM_TYPE and TAURI_ENV_DEBUG` to differentiate the prefix with other CLI environment variables. + ## \[2.0.0-alpha.15] ### New Features diff --git a/tooling/cli/node/package.json b/tooling/cli/node/package.json index cbcc57d8f0ed..0bb313bd7706 100644 --- a/tooling/cli/node/package.json +++ b/tooling/cli/node/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/cli", - "version": "2.0.0-alpha.15", + "version": "2.0.0-alpha.16", "description": "Command line interface for building Tauri apps", "funding": { "type": "opencollective",