diff --git a/.changes/api-min-node-18.md b/.changes/api-min-node-18.md new file mode 100644 index 000000000000..adfb32358ec9 --- /dev/null +++ b/.changes/api-min-node-18.md @@ -0,0 +1,5 @@ +--- +"@tauri-apps/api": patch:changes +--- + +Updated minimum Node.js version to 18. diff --git a/.github/workflows/covector-version-or-publish.yml b/.github/workflows/covector-version-or-publish.yml index ad114b63170f..d9f5a65e9227 100644 --- a/.github/workflows/covector-version-or-publish.yml +++ b/.github/workflows/covector-version-or-publish.yml @@ -71,7 +71,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 18 registry-url: 'https://registry.npmjs.org' cache: yarn cache-dependency-path: tooling/*/yarn.lock diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index f9b066b5dc8b..54b114d9ba95 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -77,7 +77,7 @@ jobs: - name: Setup node uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 - name: Download cross uses: actions/download-artifact@v3 diff --git a/.github/workflows/lint-js.yml b/.github/workflows/lint-js.yml index 1666186e28eb..da14e6c3f584 100644 --- a/.github/workflows/lint-js.yml +++ b/.github/workflows/lint-js.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v2 with: - node-version: '14' + node-version: '18' cache: yarn cache-dependency-path: tooling/cli/node/yarn.lock - name: install deps via yarn @@ -42,7 +42,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v2 with: - node-version: '14' + node-version: '18' cache: yarn cache-dependency-path: tooling/api/yarn.lock diff --git a/.github/workflows/test-cli-js.yml b/.github/workflows/test-cli-js.yml index 5162c3714f04..9a4cffc16f64 100644 --- a/.github/workflows/test-cli-js.yml +++ b/.github/workflows/test-cli-js.yml @@ -43,7 +43,7 @@ jobs: - name: setup node uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 18 cache: yarn cache-dependency-path: tooling/cli/node/yarn.lock diff --git a/core/tauri/scripts/bundle.global.js b/core/tauri/scripts/bundle.global.js index 8739c4756f87..b3a64e91e425 100644 --- a/core/tauri/scripts/bundle.global.js +++ b/core/tauri/scripts/bundle.global.js @@ -1,2 +1,2 @@ -"use strict";var __TAURI_IIFE__=(()=>{var D=Object.defineProperty;var Z=Object.getOwnPropertyDescriptor;var J=Object.getOwnPropertyNames;var K=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var n in e)D(t,n,{get:e[n],enumerable:!0})},Y=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let u of J(e))!K.call(t,u)&&u!==n&&D(t,u,{get:()=>e[u],enumerable:!(o=Z(e,u))||o.enumerable});return t};var X=t=>Y(D({},"__esModule",{value:!0}),t);var N=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)};var C=(t,e,n)=>(N(t,e,"read from private field"),n?n.call(t):e.get(t)),O=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},x=(t,e,n,o)=>(N(t,e,"write to private field"),o?o.call(t,n):e.set(t,n),n);var Ve={};p(Ve,{app:()=>L,dpi:()=>k,event:()=>W,path:()=>A,primitives:()=>z,window:()=>S});var L={};p(L,{getName:()=>ne,getTauriVersion:()=>te,getVersion:()=>ie,hide:()=>oe,show:()=>re});var z={};p(z,{Channel:()=>y,PluginListener:()=>w,addPluginListener:()=>B,convertFileSrc:()=>ee,invoke:()=>i,transformCallback:()=>P});function P(t,e=!1){return window.__TAURI_INTERNALS__.transformCallback(t,e)}var h,y=class{constructor(){this.__TAURI_CHANNEL_MARKER__=!0;O(this,h,()=>{});this.id=P(e=>{C(this,h).call(this,e)})}set onmessage(e){x(this,h,e)}get onmessage(){return C(this,h)}toJSON(){return`__CHANNEL__:${this.id}`}};h=new WeakMap;var w=class{constructor(e,n,o){this.plugin=e,this.event=n,this.channelId=o}async unregister(){return i(`plugin:${this.plugin}|remove_listener`,{event:this.event,channelId:this.channelId})}};async function B(t,e,n){let o=new y;return o.onmessage=n,i(`plugin:${t}|register_listener`,{event:e,handler:o}).then(()=>new w(t,e,o.id))}async function i(t,e={},n){return window.__TAURI_INTERNALS__.invoke(t,e,n)}function ee(t,e="asset"){return window.__TAURI_INTERNALS__.convertFileSrc(t,e)}async function ie(){return i("plugin:app|version")}async function ne(){return i("plugin:app|name")}async function te(){return i("plugin:app|tauri_version")}async function re(){return i("plugin:app|app_show")}async function oe(){return i("plugin:app|app_hide")}var W={};p(W,{TauriEvent:()=>I,emit:()=>T,listen:()=>v,once:()=>E});var I=(a=>(a.WINDOW_RESIZED="tauri://resize",a.WINDOW_MOVED="tauri://move",a.WINDOW_CLOSE_REQUESTED="tauri://close-requested",a.WINDOW_CREATED="tauri://window-created",a.WINDOW_DESTROYED="tauri://destroyed",a.WINDOW_FOCUS="tauri://focus",a.WINDOW_BLUR="tauri://blur",a.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",a.WINDOW_THEME_CHANGED="tauri://theme-changed",a.WINDOW_FILE_DROP="tauri://file-drop",a.WINDOW_FILE_DROP_HOVER="tauri://file-drop-hover",a.WINDOW_FILE_DROP_CANCELLED="tauri://file-drop-cancelled",a.MENU="tauri://menu",a))(I||{});async function F(t,e){await i("plugin:event|unlisten",{event:t,eventId:e})}async function v(t,e,n){return i("plugin:event|listen",{event:t,windowLabel:n?.target,handler:P(e)}).then(o=>async()=>F(t,o))}async function E(t,e,n){return v(t,o=>{e(o),F(t,o.id).catch(()=>{})},n)}async function T(t,e,n){await i("plugin:event|emit",{event:t,windowLabel:n?.target,payload:e})}var S={};p(S,{CloseRequestedEvent:()=>f,Effect:()=>G,EffectState:()=>q,LogicalPosition:()=>g,LogicalSize:()=>b,PhysicalPosition:()=>d,PhysicalSize:()=>c,ProgressBarStatus:()=>H,UserAttentionType:()=>M,Window:()=>m,availableMonitors:()=>ae,currentMonitor:()=>se,getAll:()=>_,getCurrent:()=>V,primaryMonitor:()=>le});var k={};p(k,{LogicalPosition:()=>g,LogicalSize:()=>b,PhysicalPosition:()=>d,PhysicalSize:()=>c});var b=class{constructor(e,n){this.type="Logical";this.width=e,this.height=n}},c=class{constructor(e,n){this.type="Physical";this.width=e,this.height=n}toLogical(e){return new b(this.width/e,this.height/e)}},g=class{constructor(e,n){this.type="Logical";this.x=e,this.y=n}},d=class{constructor(e,n){this.type="Physical";this.x=e,this.y=n}toLogical(e){return new g(this.x/e,this.y/e)}};var M=(n=>(n[n.Critical=1]="Critical",n[n.Informational=2]="Informational",n))(M||{}),f=class{constructor(e){this._preventDefault=!1;this.event=e.event,this.windowLabel=e.windowLabel,this.id=e.id}preventDefault(){this._preventDefault=!0}isPreventDefault(){return this._preventDefault}},H=(l=>(l.None="none",l.Normal="normal",l.Indeterminate="indeterminate",l.Paused="paused",l.Error="error",l))(H||{});function V(){return new m(window.__TAURI_INTERNALS__.metadata.currentWindow.label,{skip:!0})}function _(){return window.__TAURI_INTERNALS__.metadata.windows.map(t=>new m(t.label,{skip:!0}))}var U=["tauri://created","tauri://error"],m=class{constructor(e,n={}){this.label=e,this.listeners=Object.create(null),n?.skip||i("plugin:window|create",{options:{...n,label:e}}).then(async()=>this.emit("tauri://created")).catch(async o=>this.emit("tauri://error",o))}static getByLabel(e){return _().some(n=>n.label===e)?new m(e,{skip:!0}):null}static getCurrent(){return V()}static getAll(){return _()}static async getFocusedWindow(){for(let e of _())if(await e.isFocused())return e;return null}async listen(e,n){return this._handleTauriEvent(e,n)?Promise.resolve(()=>{let o=this.listeners[e];o.splice(o.indexOf(n),1)}):v(e,n,{target:this.label})}async once(e,n){return this._handleTauriEvent(e,n)?Promise.resolve(()=>{let o=this.listeners[e];o.splice(o.indexOf(n),1)}):E(e,n,{target:this.label})}async emit(e,n){if(U.includes(e)){for(let o of this.listeners[e]||[])o({event:e,id:-1,windowLabel:this.label,payload:n});return Promise.resolve()}return T(e,n,{target:this.label})}_handleTauriEvent(e,n){return U.includes(e)?(e in this.listeners?this.listeners[e].push(n):this.listeners[e]=[n],!0):!1}async scaleFactor(){return i("plugin:window|scale_factor",{label:this.label})}async innerPosition(){return i("plugin:window|inner_position",{label:this.label}).then(({x:e,y:n})=>new d(e,n))}async outerPosition(){return i("plugin:window|outer_position",{label:this.label}).then(({x:e,y:n})=>new d(e,n))}async innerSize(){return i("plugin:window|inner_size",{label:this.label}).then(({width:e,height:n})=>new c(e,n))}async outerSize(){return i("plugin:window|outer_size",{label:this.label}).then(({width:e,height:n})=>new c(e,n))}async isFullscreen(){return i("plugin:window|is_fullscreen",{label:this.label})}async isMinimized(){return i("plugin:window|is_minimized",{label:this.label})}async isMaximized(){return i("plugin:window|is_maximized",{label:this.label})}async isFocused(){return i("plugin:window|is_focused",{label:this.label})}async isDecorated(){return i("plugin:window|is_decorated",{label:this.label})}async isResizable(){return i("plugin:window|is_resizable",{label:this.label})}async isMaximizable(){return i("plugin:window|is_maximizable",{label:this.label})}async isMinimizable(){return i("plugin:window|is_minimizable",{label:this.label})}async isClosable(){return i("plugin:window|is_closable",{label:this.label})}async isVisible(){return i("plugin:window|is_visible",{label:this.label})}async title(){return i("plugin:window|title",{label:this.label})}async theme(){return i("plugin:window|theme",{label:this.label})}async center(){return i("plugin:window|center",{label:this.label})}async requestUserAttention(e){let n=null;return e&&(e===1?n={type:"Critical"}:n={type:"Informational"}),i("plugin:window|request_user_attention",{label:this.label,value:n})}async setResizable(e){return i("plugin:window|set_resizable",{label:this.label,value:e})}async setMaximizable(e){return i("plugin:window|set_maximizable",{label:this.label,value:e})}async setMinimizable(e){return i("plugin:window|set_minimizable",{label:this.label,value:e})}async setClosable(e){return i("plugin:window|set_closable",{label:this.label,value:e})}async setTitle(e){return i("plugin:window|set_title",{label:this.label,value:e})}async maximize(){return i("plugin:window|maximize",{label:this.label})}async unmaximize(){return i("plugin:window|unmaximize",{label:this.label})}async toggleMaximize(){return i("plugin:window|toggle_maximize",{label:this.label})}async minimize(){return i("plugin:window|minimize",{label:this.label})}async unminimize(){return i("plugin:window|unminimize",{label:this.label})}async show(){return i("plugin:window|show",{label:this.label})}async hide(){return i("plugin:window|hide",{label:this.label})}async close(){return i("plugin:window|close",{label:this.label})}async setDecorations(e){return i("plugin:window|set_decorations",{label:this.label,value:e})}async setShadow(e){return i("plugin:window|set_shadow",{label:this.label,value:e})}async setEffects(e){return i("plugin:window|set_effects",{label:this.label,value:e})}async clearEffects(){return i("plugin:window|set_effects",{label:this.label,value:null})}async setAlwaysOnTop(e){return i("plugin:window|set_always_on_top",{label:this.label,value:e})}async setAlwaysOnBottom(e){return i("plugin:window|set_always_on_bottom",{label:this.label,value:e})}async setContentProtected(e){return i("plugin:window|set_content_protected",{label:this.label,value:e})}async setSize(e){if(!e||e.type!=="Logical"&&e.type!=="Physical")throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");return i("plugin:window|set_size",{label:this.label,value:{type:e.type,data:{width:e.width,height:e.height}}})}async setMinSize(e){if(e&&e.type!=="Logical"&&e.type!=="Physical")throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");return i("plugin:window|set_min_size",{label:this.label,value:e?{type:e.type,data:{width:e.width,height:e.height}}:null})}async setMaxSize(e){if(e&&e.type!=="Logical"&&e.type!=="Physical")throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");return i("plugin:window|set_max_size",{label:this.label,value:e?{type:e.type,data:{width:e.width,height:e.height}}:null})}async setPosition(e){if(!e||e.type!=="Logical"&&e.type!=="Physical")throw new Error("the `position` argument must be either a LogicalPosition or a PhysicalPosition instance");return i("plugin:window|set_position",{label:this.label,value:{type:e.type,data:{x:e.x,y:e.y}}})}async setFullscreen(e){return i("plugin:window|set_fullscreen",{label:this.label,value:e})}async setFocus(){return i("plugin:window|set_focus",{label:this.label})}async setIcon(e){return i("plugin:window|set_icon",{label:this.label,value:typeof e=="string"?e:Array.from(e)})}async setSkipTaskbar(e){return i("plugin:window|set_skip_taskbar",{label:this.label,value:e})}async setCursorGrab(e){return i("plugin:window|set_cursor_grab",{label:this.label,value:e})}async setCursorVisible(e){return i("plugin:window|set_cursor_visible",{label:this.label,value:e})}async setCursorIcon(e){return i("plugin:window|set_cursor_icon",{label:this.label,value:e})}async setCursorPosition(e){if(!e||e.type!=="Logical"&&e.type!=="Physical")throw new Error("the `position` argument must be either a LogicalPosition or a PhysicalPosition instance");return i("plugin:window|set_cursor_position",{label:this.label,value:{type:e.type,data:{x:e.x,y:e.y}}})}async setIgnoreCursorEvents(e){return i("plugin:window|set_ignore_cursor_events",{label:this.label,value:e})}async startDragging(){return i("plugin:window|start_dragging",{label:this.label})}async setProgressBar(e){return i("plugin:window|set_progress_bar",{label:this.label,value:e})}async onResized(e){return this.listen("tauri://resize",n=>{n.payload=j(n.payload),e(n)})}async onMoved(e){return this.listen("tauri://move",n=>{n.payload=$(n.payload),e(n)})}async onCloseRequested(e){return this.listen("tauri://close-requested",n=>{let o=new f(n);Promise.resolve(e(o)).then(()=>{if(!o.isPreventDefault())return this.close()})})}async onFocusChanged(e){let n=await this.listen("tauri://focus",u=>{e({...u,payload:!0})}),o=await this.listen("tauri://blur",u=>{e({...u,payload:!1})});return()=>{n(),o()}}async onScaleChanged(e){return this.listen("tauri://scale-change",e)}async onMenuClicked(e){return this.listen("tauri://menu",e)}async onFileDropEvent(e){let n=await this.listen("tauri://file-drop",l=>{e({...l,payload:{type:"drop",paths:l.payload}})}),o=await this.listen("tauri://file-drop-hover",l=>{e({...l,payload:{type:"hover",paths:l.payload}})}),u=await this.listen("tauri://file-drop-cancelled",l=>{e({...l,payload:{type:"cancel"}})});return()=>{n(),o(),u()}}async onThemeChanged(e){return this.listen("tauri://theme-changed",e)}},G=(s=>(s.AppearanceBased="appearanceBased",s.Light="light",s.Dark="dark",s.MediumLight="mediumLight",s.UltraDark="ultraDark",s.Titlebar="titlebar",s.Selection="selection",s.Menu="menu",s.Popover="popover",s.Sidebar="sidebar",s.HeaderView="headerView",s.Sheet="sheet",s.WindowBackground="windowBackground",s.HudWindow="hudWindow",s.FullScreenUI="fullScreenUI",s.Tooltip="tooltip",s.ContentBackground="contentBackground",s.UnderWindowBackground="underWindowBackground",s.UnderPageBackground="underPageBackground",s.Mica="mica",s.Blur="blur",s.Acrylic="acrylic",s.Tabbed="tabbed",s.TabbedDark="tabbedDark",s.TabbedLight="tabbedLight",s))(G||{}),q=(o=>(o.FollowsWindowActiveState="followsWindowActiveState",o.Active="active",o.Inactive="inactive",o))(q||{});function R(t){return t===null?null:{name:t.name,scaleFactor:t.scaleFactor,position:$(t.position),size:j(t.size)}}function $(t){return new d(t.x,t.y)}function j(t){return new c(t.width,t.height)}async function se(){return i("plugin:window|current_monitor").then(R)}async function le(){return i("plugin:window|primary_monitor").then(R)}async function ae(){return i("plugin:window|available_monitors").then(t=>t.map(R))}var A={};p(A,{BaseDirectory:()=>Q,appCacheDir:()=>pe,appConfigDir:()=>ue,appDataDir:()=>ce,appLocalDataDir:()=>de,appLogDir:()=>ke,audioDir:()=>me,basename:()=>Me,cacheDir:()=>he,configDir:()=>be,dataDir:()=>ge,delimiter:()=>Ae,desktopDir:()=>ye,dirname:()=>Fe,documentDir:()=>we,downloadDir:()=>Pe,executableDir:()=>ve,extname:()=>Ue,fontDir:()=>_e,homeDir:()=>fe,isAbsolute:()=>He,join:()=>xe,localDataDir:()=>De,normalize:()=>Oe,pictureDir:()=>Ce,publicDir:()=>ze,resolve:()=>Ne,resolveResource:()=>Ie,resourceDir:()=>Le,runtimeDir:()=>Ee,sep:()=>Se,tempDir:()=>Re,templateDir:()=>Te,videoDir:()=>We});var Q=(r=>(r[r.Audio=1]="Audio",r[r.Cache=2]="Cache",r[r.Config=3]="Config",r[r.Data=4]="Data",r[r.LocalData=5]="LocalData",r[r.Document=6]="Document",r[r.Download=7]="Download",r[r.Picture=8]="Picture",r[r.Public=9]="Public",r[r.Video=10]="Video",r[r.Resource=11]="Resource",r[r.Temp=12]="Temp",r[r.AppConfig=13]="AppConfig",r[r.AppData=14]="AppData",r[r.AppLocalData=15]="AppLocalData",r[r.AppCache=16]="AppCache",r[r.AppLog=17]="AppLog",r[r.Desktop=18]="Desktop",r[r.Executable=19]="Executable",r[r.Font=20]="Font",r[r.Home=21]="Home",r[r.Runtime=22]="Runtime",r[r.Template=23]="Template",r))(Q||{});async function ue(){return i("plugin:path|resolve_directory",{directory:13})}async function ce(){return i("plugin:path|resolve_directory",{directory:14})}async function de(){return i("plugin:path|resolve_directory",{directory:15})}async function pe(){return i("plugin:path|resolve_directory",{directory:16})}async function me(){return i("plugin:path|resolve_directory",{directory:1})}async function he(){return i("plugin:path|resolve_directory",{directory:2})}async function be(){return i("plugin:path|resolve_directory",{directory:3})}async function ge(){return i("plugin:path|resolve_directory",{directory:4})}async function ye(){return i("plugin:path|resolve_directory",{directory:18})}async function we(){return i("plugin:path|resolve_directory",{directory:6})}async function Pe(){return i("plugin:path|resolve_directory",{directory:7})}async function ve(){return i("plugin:path|resolve_directory",{directory:19})}async function _e(){return i("plugin:path|resolve_directory",{directory:20})}async function fe(){return i("plugin:path|resolve_directory",{directory:21})}async function De(){return i("plugin:path|resolve_directory",{directory:5})}async function Ce(){return i("plugin:path|resolve_directory",{directory:8})}async function ze(){return i("plugin:path|resolve_directory",{directory:9})}async function Le(){return i("plugin:path|resolve_directory",{directory:11})}async function Ie(t){return i("plugin:path|resolve_directory",{directory:11,path:t})}async function Ee(){return i("plugin:path|resolve_directory",{directory:22})}async function Te(){return i("plugin:path|resolve_directory",{directory:23})}async function We(){return i("plugin:path|resolve_directory",{directory:10})}async function ke(){return i("plugin:path|resolve_directory",{directory:17})}async function Re(t){return i("plugin:path|resolve_directory",{directory:12})}function Se(){return window.__TAURI_INTERNALS__.plugins.path.sep}function Ae(){return window.__TAURI_INTERNALS__.plugins.path.delimiter}async function Ne(...t){return i("plugin:path|resolve",{paths:t})}async function Oe(t){return i("plugin:path|normalize",{path:t})}async function xe(...t){return i("plugin:path|join",{paths:t})}async function Fe(t){return i("plugin:path|dirname",{path:t})}async function Ue(t){return i("plugin:path|extname",{path:t})}async function Me(t,e){return i("plugin:path|basename",{path:t,ext:e})}async function He(t){return i("plugin:path|isAbsolute",{path:t})}return X(Ve);})(); +"use strict";var __TAURI_IIFE__=(()=>{var D=Object.defineProperty;var Z=Object.getOwnPropertyDescriptor;var J=Object.getOwnPropertyNames;var K=Object.prototype.hasOwnProperty;var p=(t,e)=>{for(var n in e)D(t,n,{get:e[n],enumerable:!0})},Y=(t,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let u of J(e))!K.call(t,u)&&u!==n&&D(t,u,{get:()=>e[u],enumerable:!(o=Z(e,u))||o.enumerable});return t};var X=t=>Y(D({},"__esModule",{value:!0}),t);var N=(t,e,n)=>{if(!e.has(t))throw TypeError("Cannot "+n)};var C=(t,e,n)=>(N(t,e,"read from private field"),n?n.call(t):e.get(t)),O=(t,e,n)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,n)},x=(t,e,n,o)=>(N(t,e,"write to private field"),o?o.call(t,n):e.set(t,n),n);var Ve={};p(Ve,{app:()=>L,dpi:()=>k,event:()=>W,path:()=>A,primitives:()=>z,window:()=>S});var L={};p(L,{getName:()=>ne,getTauriVersion:()=>te,getVersion:()=>ie,hide:()=>oe,show:()=>re});var z={};p(z,{Channel:()=>y,PluginListener:()=>w,addPluginListener:()=>B,convertFileSrc:()=>ee,invoke:()=>i,transformCallback:()=>P});function P(t,e=!1){return window.__TAURI_INTERNALS__.transformCallback(t,e)}var m,y=class{constructor(){this.__TAURI_CHANNEL_MARKER__=!0;O(this,m,()=>{});this.id=P(e=>{C(this,m).call(this,e)})}set onmessage(e){x(this,m,e)}get onmessage(){return C(this,m)}toJSON(){return`__CHANNEL__:${this.id}`}};m=new WeakMap;var w=class{constructor(e,n,o){this.plugin=e,this.event=n,this.channelId=o}async unregister(){return i(`plugin:${this.plugin}|remove_listener`,{event:this.event,channelId:this.channelId})}};async function B(t,e,n){let o=new y;return o.onmessage=n,i(`plugin:${t}|register_listener`,{event:e,handler:o}).then(()=>new w(t,e,o.id))}async function i(t,e={},n){return window.__TAURI_INTERNALS__.invoke(t,e,n)}function ee(t,e="asset"){return window.__TAURI_INTERNALS__.convertFileSrc(t,e)}async function ie(){return i("plugin:app|version")}async function ne(){return i("plugin:app|name")}async function te(){return i("plugin:app|tauri_version")}async function re(){return i("plugin:app|app_show")}async function oe(){return i("plugin:app|app_hide")}var W={};p(W,{TauriEvent:()=>I,emit:()=>E,listen:()=>v,once:()=>T});var I=(a=>(a.WINDOW_RESIZED="tauri://resize",a.WINDOW_MOVED="tauri://move",a.WINDOW_CLOSE_REQUESTED="tauri://close-requested",a.WINDOW_CREATED="tauri://window-created",a.WINDOW_DESTROYED="tauri://destroyed",a.WINDOW_FOCUS="tauri://focus",a.WINDOW_BLUR="tauri://blur",a.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",a.WINDOW_THEME_CHANGED="tauri://theme-changed",a.WINDOW_FILE_DROP="tauri://file-drop",a.WINDOW_FILE_DROP_HOVER="tauri://file-drop-hover",a.WINDOW_FILE_DROP_CANCELLED="tauri://file-drop-cancelled",a.MENU="tauri://menu",a))(I||{});async function F(t,e){await i("plugin:event|unlisten",{event:t,eventId:e})}async function v(t,e,n){return i("plugin:event|listen",{event:t,windowLabel:n?.target,handler:P(e)}).then(o=>async()=>F(t,o))}async function T(t,e,n){return v(t,o=>{e(o),F(t,o.id).catch(()=>{})},n)}async function E(t,e,n){await i("plugin:event|emit",{event:t,windowLabel:n?.target,payload:e})}var S={};p(S,{CloseRequestedEvent:()=>f,Effect:()=>G,EffectState:()=>q,LogicalPosition:()=>b,LogicalSize:()=>h,PhysicalPosition:()=>d,PhysicalSize:()=>c,ProgressBarStatus:()=>H,UserAttentionType:()=>M,Window:()=>g,availableMonitors:()=>ae,currentMonitor:()=>se,getAll:()=>_,getCurrent:()=>V,primaryMonitor:()=>le});var k={};p(k,{LogicalPosition:()=>b,LogicalSize:()=>h,PhysicalPosition:()=>d,PhysicalSize:()=>c});var h=class{constructor(e,n){this.type="Logical";this.width=e,this.height=n}},c=class{constructor(e,n){this.type="Physical";this.width=e,this.height=n}toLogical(e){return new h(this.width/e,this.height/e)}},b=class{constructor(e,n){this.type="Logical";this.x=e,this.y=n}},d=class{constructor(e,n){this.type="Physical";this.x=e,this.y=n}toLogical(e){return new b(this.x/e,this.y/e)}};var M=(n=>(n[n.Critical=1]="Critical",n[n.Informational=2]="Informational",n))(M||{}),f=class{constructor(e){this._preventDefault=!1;this.event=e.event,this.windowLabel=e.windowLabel,this.id=e.id}preventDefault(){this._preventDefault=!0}isPreventDefault(){return this._preventDefault}},H=(l=>(l.None="none",l.Normal="normal",l.Indeterminate="indeterminate",l.Paused="paused",l.Error="error",l))(H||{});function V(){return new g(window.__TAURI_INTERNALS__.metadata.currentWindow.label,{skip:!0})}function _(){return window.__TAURI_INTERNALS__.metadata.windows.map(t=>new g(t.label,{skip:!0}))}var U=["tauri://created","tauri://error"],g=class t{constructor(e,n={}){this.label=e,this.listeners=Object.create(null),n?.skip||i("plugin:window|create",{options:{...n,label:e}}).then(async()=>this.emit("tauri://created")).catch(async o=>this.emit("tauri://error",o))}static getByLabel(e){return _().some(n=>n.label===e)?new t(e,{skip:!0}):null}static getCurrent(){return V()}static getAll(){return _()}static async getFocusedWindow(){for(let e of _())if(await e.isFocused())return e;return null}async listen(e,n){return this._handleTauriEvent(e,n)?Promise.resolve(()=>{let o=this.listeners[e];o.splice(o.indexOf(n),1)}):v(e,n,{target:this.label})}async once(e,n){return this._handleTauriEvent(e,n)?Promise.resolve(()=>{let o=this.listeners[e];o.splice(o.indexOf(n),1)}):T(e,n,{target:this.label})}async emit(e,n){if(U.includes(e)){for(let o of this.listeners[e]||[])o({event:e,id:-1,windowLabel:this.label,payload:n});return Promise.resolve()}return E(e,n,{target:this.label})}_handleTauriEvent(e,n){return U.includes(e)?(e in this.listeners?this.listeners[e].push(n):this.listeners[e]=[n],!0):!1}async scaleFactor(){return i("plugin:window|scale_factor",{label:this.label})}async innerPosition(){return i("plugin:window|inner_position",{label:this.label}).then(({x:e,y:n})=>new d(e,n))}async outerPosition(){return i("plugin:window|outer_position",{label:this.label}).then(({x:e,y:n})=>new d(e,n))}async innerSize(){return i("plugin:window|inner_size",{label:this.label}).then(({width:e,height:n})=>new c(e,n))}async outerSize(){return i("plugin:window|outer_size",{label:this.label}).then(({width:e,height:n})=>new c(e,n))}async isFullscreen(){return i("plugin:window|is_fullscreen",{label:this.label})}async isMinimized(){return i("plugin:window|is_minimized",{label:this.label})}async isMaximized(){return i("plugin:window|is_maximized",{label:this.label})}async isFocused(){return i("plugin:window|is_focused",{label:this.label})}async isDecorated(){return i("plugin:window|is_decorated",{label:this.label})}async isResizable(){return i("plugin:window|is_resizable",{label:this.label})}async isMaximizable(){return i("plugin:window|is_maximizable",{label:this.label})}async isMinimizable(){return i("plugin:window|is_minimizable",{label:this.label})}async isClosable(){return i("plugin:window|is_closable",{label:this.label})}async isVisible(){return i("plugin:window|is_visible",{label:this.label})}async title(){return i("plugin:window|title",{label:this.label})}async theme(){return i("plugin:window|theme",{label:this.label})}async center(){return i("plugin:window|center",{label:this.label})}async requestUserAttention(e){let n=null;return e&&(e===1?n={type:"Critical"}:n={type:"Informational"}),i("plugin:window|request_user_attention",{label:this.label,value:n})}async setResizable(e){return i("plugin:window|set_resizable",{label:this.label,value:e})}async setMaximizable(e){return i("plugin:window|set_maximizable",{label:this.label,value:e})}async setMinimizable(e){return i("plugin:window|set_minimizable",{label:this.label,value:e})}async setClosable(e){return i("plugin:window|set_closable",{label:this.label,value:e})}async setTitle(e){return i("plugin:window|set_title",{label:this.label,value:e})}async maximize(){return i("plugin:window|maximize",{label:this.label})}async unmaximize(){return i("plugin:window|unmaximize",{label:this.label})}async toggleMaximize(){return i("plugin:window|toggle_maximize",{label:this.label})}async minimize(){return i("plugin:window|minimize",{label:this.label})}async unminimize(){return i("plugin:window|unminimize",{label:this.label})}async show(){return i("plugin:window|show",{label:this.label})}async hide(){return i("plugin:window|hide",{label:this.label})}async close(){return i("plugin:window|close",{label:this.label})}async setDecorations(e){return i("plugin:window|set_decorations",{label:this.label,value:e})}async setShadow(e){return i("plugin:window|set_shadow",{label:this.label,value:e})}async setEffects(e){return i("plugin:window|set_effects",{label:this.label,value:e})}async clearEffects(){return i("plugin:window|set_effects",{label:this.label,value:null})}async setAlwaysOnTop(e){return i("plugin:window|set_always_on_top",{label:this.label,value:e})}async setAlwaysOnBottom(e){return i("plugin:window|set_always_on_bottom",{label:this.label,value:e})}async setContentProtected(e){return i("plugin:window|set_content_protected",{label:this.label,value:e})}async setSize(e){if(!e||e.type!=="Logical"&&e.type!=="Physical")throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");return i("plugin:window|set_size",{label:this.label,value:{type:e.type,data:{width:e.width,height:e.height}}})}async setMinSize(e){if(e&&e.type!=="Logical"&&e.type!=="Physical")throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");return i("plugin:window|set_min_size",{label:this.label,value:e?{type:e.type,data:{width:e.width,height:e.height}}:null})}async setMaxSize(e){if(e&&e.type!=="Logical"&&e.type!=="Physical")throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");return i("plugin:window|set_max_size",{label:this.label,value:e?{type:e.type,data:{width:e.width,height:e.height}}:null})}async setPosition(e){if(!e||e.type!=="Logical"&&e.type!=="Physical")throw new Error("the `position` argument must be either a LogicalPosition or a PhysicalPosition instance");return i("plugin:window|set_position",{label:this.label,value:{type:e.type,data:{x:e.x,y:e.y}}})}async setFullscreen(e){return i("plugin:window|set_fullscreen",{label:this.label,value:e})}async setFocus(){return i("plugin:window|set_focus",{label:this.label})}async setIcon(e){return i("plugin:window|set_icon",{label:this.label,value:typeof e=="string"?e:Array.from(e)})}async setSkipTaskbar(e){return i("plugin:window|set_skip_taskbar",{label:this.label,value:e})}async setCursorGrab(e){return i("plugin:window|set_cursor_grab",{label:this.label,value:e})}async setCursorVisible(e){return i("plugin:window|set_cursor_visible",{label:this.label,value:e})}async setCursorIcon(e){return i("plugin:window|set_cursor_icon",{label:this.label,value:e})}async setCursorPosition(e){if(!e||e.type!=="Logical"&&e.type!=="Physical")throw new Error("the `position` argument must be either a LogicalPosition or a PhysicalPosition instance");return i("plugin:window|set_cursor_position",{label:this.label,value:{type:e.type,data:{x:e.x,y:e.y}}})}async setIgnoreCursorEvents(e){return i("plugin:window|set_ignore_cursor_events",{label:this.label,value:e})}async startDragging(){return i("plugin:window|start_dragging",{label:this.label})}async setProgressBar(e){return i("plugin:window|set_progress_bar",{label:this.label,value:e})}async onResized(e){return this.listen("tauri://resize",n=>{n.payload=j(n.payload),e(n)})}async onMoved(e){return this.listen("tauri://move",n=>{n.payload=$(n.payload),e(n)})}async onCloseRequested(e){return this.listen("tauri://close-requested",n=>{let o=new f(n);Promise.resolve(e(o)).then(()=>{if(!o.isPreventDefault())return this.close()})})}async onFocusChanged(e){let n=await this.listen("tauri://focus",u=>{e({...u,payload:!0})}),o=await this.listen("tauri://blur",u=>{e({...u,payload:!1})});return()=>{n(),o()}}async onScaleChanged(e){return this.listen("tauri://scale-change",e)}async onMenuClicked(e){return this.listen("tauri://menu",e)}async onFileDropEvent(e){let n=await this.listen("tauri://file-drop",l=>{e({...l,payload:{type:"drop",paths:l.payload}})}),o=await this.listen("tauri://file-drop-hover",l=>{e({...l,payload:{type:"hover",paths:l.payload}})}),u=await this.listen("tauri://file-drop-cancelled",l=>{e({...l,payload:{type:"cancel"}})});return()=>{n(),o(),u()}}async onThemeChanged(e){return this.listen("tauri://theme-changed",e)}},G=(s=>(s.AppearanceBased="appearanceBased",s.Light="light",s.Dark="dark",s.MediumLight="mediumLight",s.UltraDark="ultraDark",s.Titlebar="titlebar",s.Selection="selection",s.Menu="menu",s.Popover="popover",s.Sidebar="sidebar",s.HeaderView="headerView",s.Sheet="sheet",s.WindowBackground="windowBackground",s.HudWindow="hudWindow",s.FullScreenUI="fullScreenUI",s.Tooltip="tooltip",s.ContentBackground="contentBackground",s.UnderWindowBackground="underWindowBackground",s.UnderPageBackground="underPageBackground",s.Mica="mica",s.Blur="blur",s.Acrylic="acrylic",s.Tabbed="tabbed",s.TabbedDark="tabbedDark",s.TabbedLight="tabbedLight",s))(G||{}),q=(o=>(o.FollowsWindowActiveState="followsWindowActiveState",o.Active="active",o.Inactive="inactive",o))(q||{});function R(t){return t===null?null:{name:t.name,scaleFactor:t.scaleFactor,position:$(t.position),size:j(t.size)}}function $(t){return new d(t.x,t.y)}function j(t){return new c(t.width,t.height)}async function se(){return i("plugin:window|current_monitor").then(R)}async function le(){return i("plugin:window|primary_monitor").then(R)}async function ae(){return i("plugin:window|available_monitors").then(t=>t.map(R))}var A={};p(A,{BaseDirectory:()=>Q,appCacheDir:()=>pe,appConfigDir:()=>ue,appDataDir:()=>ce,appLocalDataDir:()=>de,appLogDir:()=>ke,audioDir:()=>me,basename:()=>Me,cacheDir:()=>he,configDir:()=>be,dataDir:()=>ge,delimiter:()=>Ae,desktopDir:()=>ye,dirname:()=>Fe,documentDir:()=>we,downloadDir:()=>Pe,executableDir:()=>ve,extname:()=>Ue,fontDir:()=>_e,homeDir:()=>fe,isAbsolute:()=>He,join:()=>xe,localDataDir:()=>De,normalize:()=>Oe,pictureDir:()=>Ce,publicDir:()=>ze,resolve:()=>Ne,resolveResource:()=>Ie,resourceDir:()=>Le,runtimeDir:()=>Te,sep:()=>Se,tempDir:()=>Re,templateDir:()=>Ee,videoDir:()=>We});var Q=(r=>(r[r.Audio=1]="Audio",r[r.Cache=2]="Cache",r[r.Config=3]="Config",r[r.Data=4]="Data",r[r.LocalData=5]="LocalData",r[r.Document=6]="Document",r[r.Download=7]="Download",r[r.Picture=8]="Picture",r[r.Public=9]="Public",r[r.Video=10]="Video",r[r.Resource=11]="Resource",r[r.Temp=12]="Temp",r[r.AppConfig=13]="AppConfig",r[r.AppData=14]="AppData",r[r.AppLocalData=15]="AppLocalData",r[r.AppCache=16]="AppCache",r[r.AppLog=17]="AppLog",r[r.Desktop=18]="Desktop",r[r.Executable=19]="Executable",r[r.Font=20]="Font",r[r.Home=21]="Home",r[r.Runtime=22]="Runtime",r[r.Template=23]="Template",r))(Q||{});async function ue(){return i("plugin:path|resolve_directory",{directory:13})}async function ce(){return i("plugin:path|resolve_directory",{directory:14})}async function de(){return i("plugin:path|resolve_directory",{directory:15})}async function pe(){return i("plugin:path|resolve_directory",{directory:16})}async function me(){return i("plugin:path|resolve_directory",{directory:1})}async function he(){return i("plugin:path|resolve_directory",{directory:2})}async function be(){return i("plugin:path|resolve_directory",{directory:3})}async function ge(){return i("plugin:path|resolve_directory",{directory:4})}async function ye(){return i("plugin:path|resolve_directory",{directory:18})}async function we(){return i("plugin:path|resolve_directory",{directory:6})}async function Pe(){return i("plugin:path|resolve_directory",{directory:7})}async function ve(){return i("plugin:path|resolve_directory",{directory:19})}async function _e(){return i("plugin:path|resolve_directory",{directory:20})}async function fe(){return i("plugin:path|resolve_directory",{directory:21})}async function De(){return i("plugin:path|resolve_directory",{directory:5})}async function Ce(){return i("plugin:path|resolve_directory",{directory:8})}async function ze(){return i("plugin:path|resolve_directory",{directory:9})}async function Le(){return i("plugin:path|resolve_directory",{directory:11})}async function Ie(t){return i("plugin:path|resolve_directory",{directory:11,path:t})}async function Te(){return i("plugin:path|resolve_directory",{directory:22})}async function Ee(){return i("plugin:path|resolve_directory",{directory:23})}async function We(){return i("plugin:path|resolve_directory",{directory:10})}async function ke(){return i("plugin:path|resolve_directory",{directory:17})}async function Re(t){return i("plugin:path|resolve_directory",{directory:12})}function Se(){return window.__TAURI_INTERNALS__.plugins.path.sep}function Ae(){return window.__TAURI_INTERNALS__.plugins.path.delimiter}async function Ne(...t){return i("plugin:path|resolve",{paths:t})}async function Oe(t){return i("plugin:path|normalize",{path:t})}async function xe(...t){return i("plugin:path|join",{paths:t})}async function Fe(t){return i("plugin:path|dirname",{path:t})}async function Ue(t){return i("plugin:path|extname",{path:t})}async function Me(t,e){return i("plugin:path|basename",{path:t,ext:e})}async function He(t){return i("plugin:path|isAbsolute",{path:t})}return X(Ve);})(); window.__TAURI__ = __TAURI_IIFE__ diff --git a/tooling/api/docs/js-api.json b/tooling/api/docs/js-api.json index ef126ef9d28f..323f4cd11f00 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":591,"name":"app","variant":"declaration","kind":2,"flags":{},"children":[{"id":592,"name":"getName","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":37,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/app.ts#L37"}],"signatures":[{"id":593,"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/2c415a68c/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":596,"name":"getTauriVersion","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":52,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/app.ts#L52"}],"signatures":[{"id":597,"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/2c415a68c/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":594,"name":"getVersion","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":23,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/app.ts#L23"}],"signatures":[{"id":595,"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/2c415a68c/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":600,"name":"hide","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":82,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/app.ts#L82"}],"signatures":[{"id":601,"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/2c415a68c/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":598,"name":"show","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"app.ts","line":67,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/app.ts#L67"}],"signatures":[{"id":599,"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/2c415a68c/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":[592,596,594,600,598]}],"sources":[{"fileName":"app.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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":"any"}}]}}}],"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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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":215,"name":"Channel","variant":"declaration","kind":128,"flags":{},"children":[{"id":216,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"primitives.ts","line":35,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L35"}],"signatures":[{"id":217,"name":"new Channel","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"primitives.ts","line":35,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L35"}],"typeParameter":[{"id":218,"name":"T","variant":"typeParam","kind":131072,"flags":{},"default":{"type":"intrinsic","name":"unknown"}}],"type":{"type":"reference","target":215,"typeArguments":[{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}],"name":"Channel","package":"@tauri-apps/api"}}]},{"id":221,"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/2c415a68c/tooling/api/src/primitives.ts#L31"}],"type":{"type":"reflection","declaration":{"id":222,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":31,"character":14,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L31"}],"signatures":[{"id":223,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":31,"character":14,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L31"}],"parameters":[{"id":224,"name":"response","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"void"}}]}},"defaultValue":"..."},{"id":220,"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/2c415a68c/tooling/api/src/primitives.ts#L30"}],"type":{"type":"literal","value":true},"defaultValue":"true"},{"id":219,"name":"id","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":28,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L28"}],"type":{"type":"intrinsic","name":"number"}},{"id":225,"name":"onmessage","variant":"declaration","kind":262144,"flags":{},"sources":[{"fileName":"primitives.ts","line":41,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L41"},{"fileName":"primitives.ts","line":45,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L45"}],"getSignature":{"id":226,"name":"onmessage","variant":"signature","kind":524288,"flags":{},"sources":[{"fileName":"primitives.ts","line":45,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L45"}],"type":{"type":"reflection","declaration":{"id":227,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":45,"character":19,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L45"}],"signatures":[{"id":228,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":45,"character":19,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L45"}],"parameters":[{"id":229,"name":"response","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":-1,"name":"T","refersToTypeParameter":true}}],"type":{"type":"intrinsic","name":"void"}}]}}},"setSignature":{"id":230,"name":"onmessage","variant":"signature","kind":1048576,"flags":{},"sources":[{"fileName":"primitives.ts","line":41,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L41"}],"parameters":[{"id":231,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":232,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":41,"character":25,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L41"}],"signatures":[{"id":233,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":41,"character":25,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L41"}],"parameters":[{"id":234,"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":235,"name":"toJSON","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"primitives.ts","line":49,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L49"}],"signatures":[{"id":236,"name":"toJSON","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":49,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L49"}],"type":{"type":"intrinsic","name":"string"}}]}],"groups":[{"title":"Constructors","children":[216]},{"title":"Properties","children":[221,220,219]},{"title":"Accessors","children":[225]},{"title":"Methods","children":[235]}],"sources":[{"fileName":"primitives.ts","line":27,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L27"}],"typeParameters":[{"id":237,"name":"T","variant":"typeParam","kind":131072,"flags":{},"default":{"type":"intrinsic","name":"unknown"}}]},{"id":238,"name":"PluginListener","variant":"declaration","kind":128,"flags":{},"children":[{"id":239,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"primitives.ts","line":59,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L59"}],"signatures":[{"id":240,"name":"new PluginListener","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"primitives.ts","line":59,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L59"}],"parameters":[{"id":241,"name":"plugin","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":242,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":243,"name":"channelId","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"number"}}],"type":{"type":"reference","target":238,"name":"PluginListener","package":"@tauri-apps/api"}}]},{"id":246,"name":"channelId","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":57,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L57"}],"type":{"type":"intrinsic","name":"number"}},{"id":245,"name":"event","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":56,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L56"}],"type":{"type":"intrinsic","name":"string"}},{"id":244,"name":"plugin","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"primitives.ts","line":55,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L55"}],"type":{"type":"intrinsic","name":"string"}},{"id":247,"name":"unregister","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"primitives.ts","line":65,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L65"}],"signatures":[{"id":248,"name":"unregister","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":65,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/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":[239]},{"title":"Properties","children":[246,245,244]},{"title":"Methods","children":[247]}],"sources":[{"fileName":"primitives.ts","line":54,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/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/2c415a68c/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/2c415a68c/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/2c415a68c/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":249,"name":"addPluginListener","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"primitives.ts","line":80,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L80"}],"signatures":[{"id":250,"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/2c415a68c/tooling/api/src/primitives.ts#L80"}],"typeParameter":[{"id":251,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":252,"name":"plugin","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":253,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"string"}},{"id":254,"name":"cb","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":255,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":83,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L83"}],"signatures":[{"id":256,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":83,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L83"}],"parameters":[{"id":257,"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":238,"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":264,"name":"convertFileSrc","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"primitives.ts","line":159,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L159"}],"signatures":[{"id":265,"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/2c415a68c/tooling/api/src/primitives.ts#L159"}],"parameters":[{"id":266,"name":"filePath","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The file path."}]},"type":{"type":"intrinsic","name":"string"}},{"id":267,"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":258,"name":"invoke","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"primitives.ts","line":121,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L121"}],"signatures":[{"id":259,"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/2c415a68c/tooling/api/src/primitives.ts#L121"}],"typeParameter":[{"id":260,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":261,"name":"cmd","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The command name."}]},"type":{"type":"intrinsic","name":"string"}},{"id":262,"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":263,"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/2c415a68c/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/2c415a68c/tooling/api/src/primitives.ts#L20"}],"parameters":[{"id":210,"name":"callback","variant":"param","kind":32768,"flags":{"isOptional":true},"type":{"type":"reflection","declaration":{"id":211,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"primitives.ts","line":21,"character":13,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L21"}],"signatures":[{"id":212,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"primitives.ts","line":21,"character":13,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L21"}],"parameters":[{"id":213,"name":"response","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"any"}}],"type":{"type":"intrinsic","name":"void"}}]}}},{"id":214,"name":"once","variant":"param","kind":32768,"flags":{},"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false"}],"type":{"type":"intrinsic","name":"number"}}]}],"groups":[{"title":"Classes","children":[215,238]},{"title":"Interfaces","children":[206]},{"title":"Type Aliases","children":[205]},{"title":"Functions","children":[249,264,258,208]}],"sources":[{"fileName":"primitives.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/primitives.ts#L1"}]},{"id":268,"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":302},{"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":604,"name":"LogicalPosition","variant":"reference","kind":8388608,"flags":{},"sources":[{"fileName":"window.ts","line":2170,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L2170"}],"target":2},{"id":602,"name":"LogicalSize","variant":"reference","kind":8388608,"flags":{},"sources":[{"fileName":"window.ts","line":2168,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L2168"}],"target":10},{"id":605,"name":"PhysicalPosition","variant":"reference","kind":8388608,"flags":{},"sources":[{"fileName":"window.ts","line":2171,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L2171"}],"target":18},{"id":603,"name":"PhysicalSize","variant":"reference","kind":8388608,"flags":{},"sources":[{"fileName":"window.ts","line":2169,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L2169"}],"target":29},{"id":500,"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":522,"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/2c415a68c/tooling/api/src/window.ts#L1901"}],"type":{"type":"literal","value":"acrylic"}},{"id":501,"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/2c415a68c/tooling/api/src/window.ts#L1801"}],"type":{"type":"literal","value":"appearanceBased"}},{"id":521,"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/2c415a68c/tooling/api/src/window.ts#L1893"}],"type":{"type":"literal","value":"blur"}},{"id":517,"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/2c415a68c/tooling/api/src/window.ts#L1873"}],"type":{"type":"literal","value":"contentBackground"}},{"id":503,"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/2c415a68c/tooling/api/src/window.ts#L1813"}],"type":{"type":"literal","value":"dark"}},{"id":515,"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/2c415a68c/tooling/api/src/window.ts#L1865"}],"type":{"type":"literal","value":"fullScreenUI"}},{"id":511,"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/2c415a68c/tooling/api/src/window.ts#L1849"}],"type":{"type":"literal","value":"headerView"}},{"id":514,"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/2c415a68c/tooling/api/src/window.ts#L1861"}],"type":{"type":"literal","value":"hudWindow"}},{"id":502,"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/2c415a68c/tooling/api/src/window.ts#L1807"}],"type":{"type":"literal","value":"light"}},{"id":504,"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/2c415a68c/tooling/api/src/window.ts#L1819"}],"type":{"type":"literal","value":"mediumLight"}},{"id":508,"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/2c415a68c/tooling/api/src/window.ts#L1837"}],"type":{"type":"literal","value":"menu"}},{"id":520,"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/2c415a68c/tooling/api/src/window.ts#L1885"}],"type":{"type":"literal","value":"mica"}},{"id":509,"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/2c415a68c/tooling/api/src/window.ts#L1841"}],"type":{"type":"literal","value":"popover"}},{"id":507,"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/2c415a68c/tooling/api/src/window.ts#L1833"}],"type":{"type":"literal","value":"selection"}},{"id":512,"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/2c415a68c/tooling/api/src/window.ts#L1853"}],"type":{"type":"literal","value":"sheet"}},{"id":510,"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/2c415a68c/tooling/api/src/window.ts#L1845"}],"type":{"type":"literal","value":"sidebar"}},{"id":523,"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/2c415a68c/tooling/api/src/window.ts#L1905"}],"type":{"type":"literal","value":"tabbed"}},{"id":524,"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/2c415a68c/tooling/api/src/window.ts#L1909"}],"type":{"type":"literal","value":"tabbedDark"}},{"id":525,"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/2c415a68c/tooling/api/src/window.ts#L1913"}],"type":{"type":"literal","value":"tabbedLight"}},{"id":506,"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/2c415a68c/tooling/api/src/window.ts#L1829"}],"type":{"type":"literal","value":"titlebar"}},{"id":516,"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/2c415a68c/tooling/api/src/window.ts#L1869"}],"type":{"type":"literal","value":"tooltip"}},{"id":505,"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/2c415a68c/tooling/api/src/window.ts#L1825"}],"type":{"type":"literal","value":"ultraDark"}},{"id":519,"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/2c415a68c/tooling/api/src/window.ts#L1881"}],"type":{"type":"literal","value":"underPageBackground"}},{"id":518,"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/2c415a68c/tooling/api/src/window.ts#L1877"}],"type":{"type":"literal","value":"underWindowBackground"}},{"id":513,"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/2c415a68c/tooling/api/src/window.ts#L1857"}],"type":{"type":"literal","value":"windowBackground"}}],"groups":[{"title":"Enumeration Members","children":[522,501,521,517,503,515,511,514,502,504,508,520,509,507,512,510,523,524,525,506,516,505,519,518,513]}],"sources":[{"fileName":"window.ts","line":1795,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1795"}]},{"id":526,"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":528,"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/2c415a68c/tooling/api/src/window.ts#L1931"}],"type":{"type":"literal","value":"active"}},{"id":527,"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/2c415a68c/tooling/api/src/window.ts#L1927"}],"type":{"type":"literal","value":"followsWindowActiveState"}},{"id":529,"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/2c415a68c/tooling/api/src/window.ts#L1935"}],"type":{"type":"literal","value":"inactive"}}],"groups":[{"title":"Enumeration Members","children":[528,527,529]}],"sources":[{"fileName":"window.ts","line":1923,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1923"}]},{"id":275,"name":"ProgressBarStatus","variant":"declaration","kind":8,"flags":{},"children":[{"id":280,"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/2c415a68c/tooling/api/src/window.ts#L171"}],"type":{"type":"literal","value":"error"}},{"id":278,"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/2c415a68c/tooling/api/src/window.ts#L163"}],"type":{"type":"literal","value":"indeterminate"}},{"id":276,"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/2c415a68c/tooling/api/src/window.ts#L155"}],"type":{"type":"literal","value":"none"}},{"id":277,"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/2c415a68c/tooling/api/src/window.ts#L159"}],"type":{"type":"literal","value":"normal"}},{"id":279,"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/2c415a68c/tooling/api/src/window.ts#L167"}],"type":{"type":"literal","value":"paused"}}],"groups":[{"title":"Enumeration Members","children":[280,278,276,277,279]}],"sources":[{"fileName":"window.ts","line":151,"character":12,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L151"}]},{"id":497,"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":498,"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/2c415a68c/tooling/api/src/window.ts#L77"}],"type":{"type":"literal","value":1}},{"id":499,"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/2c415a68c/tooling/api/src/window.ts#L83"}],"type":{"type":"literal","value":2}}],"groups":[{"title":"Enumeration Members","children":[498,499]}],"sources":[{"fileName":"window.ts","line":71,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L71"}]},{"id":481,"name":"CloseRequestedEvent","variant":"declaration","kind":128,"flags":{},"children":[{"id":482,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"window.ts","line":95,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L95"}],"signatures":[{"id":483,"name":"new CloseRequestedEvent","variant":"signature","kind":16384,"flags":{},"sources":[{"fileName":"window.ts","line":95,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L95"}],"parameters":[{"id":484,"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":481,"name":"CloseRequestedEvent","package":"@tauri-apps/api"}}]},{"id":488,"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/2c415a68c/tooling/api/src/window.ts#L93"}],"type":{"type":"intrinsic","name":"boolean"},"defaultValue":"false"},{"id":485,"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/2c415a68c/tooling/api/src/window.ts#L88"}],"type":{"type":"reference","target":55,"name":"EventName","package":"@tauri-apps/api"}},{"id":487,"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/2c415a68c/tooling/api/src/window.ts#L92"}],"type":{"type":"intrinsic","name":"number"}},{"id":486,"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/2c415a68c/tooling/api/src/window.ts#L90"}],"type":{"type":"intrinsic","name":"string"}},{"id":491,"name":"isPreventDefault","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":105,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L105"}],"signatures":[{"id":492,"name":"isPreventDefault","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"window.ts","line":105,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L105"}],"type":{"type":"intrinsic","name":"boolean"}}]},{"id":489,"name":"preventDefault","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":101,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L101"}],"signatures":[{"id":490,"name":"preventDefault","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"window.ts","line":101,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L101"}],"type":{"type":"intrinsic","name":"void"}}]}],"groups":[{"title":"Constructors","children":[482]},{"title":"Properties","children":[488,485,487,486]},{"title":"Methods","children":[491,489]}],"sources":[{"fileName":"window.ts","line":86,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L86"}]},{"id":286,"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":296,"name":"constructor","variant":"declaration","kind":512,"flags":{},"sources":[{"fileName":"window.ts","line":281,"character":2,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L281"}],"signatures":[{"id":297,"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":286,"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/2c415a68c/tooling/api/src/window.ts#L281"}],"parameters":[{"id":298,"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":299,"name":"options","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":555,"name":"WindowOptions","package":"@tauri-apps/api"},"defaultValue":"{}"}],"type":{"type":"reference","target":286,"name":"Window","package":"@tauri-apps/api"}}]},{"id":300,"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/2c415a68c/tooling/api/src/window.ts#L257"}],"type":{"type":"intrinsic","name":"string"}},{"id":301,"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/2c415a68c/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":355,"name":"center","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":760,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L760"}],"signatures":[{"id":356,"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/2c415a68c/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":400,"name":"clearEffects","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1093,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1093"}],"signatures":[{"id":401,"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/2c415a68c/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":389,"name":"close","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1030,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1030"}],"signatures":[{"id":390,"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/2c415a68c/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":312,"name":"emit","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":425,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L425"}],"signatures":[{"id":313,"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/2c415a68c/tooling/api/src/window.ts#L425"}],"parameters":[{"id":314,"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":315,"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":387,"name":"hide","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1014,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1014"}],"signatures":[{"id":388,"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/2c415a68c/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":323,"name":"innerPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":478,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L478"}],"signatures":[{"id":324,"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/2c415a68c/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":327,"name":"innerSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":511,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L511"}],"signatures":[{"id":328,"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/2c415a68c/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":347,"name":"isClosable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":691,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L691"}],"signatures":[{"id":348,"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/2c415a68c/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":339,"name":"isDecorated","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":612,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L612"}],"signatures":[{"id":340,"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/2c415a68c/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":337,"name":"isFocused","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":596,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L596"}],"signatures":[{"id":338,"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/2c415a68c/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":331,"name":"isFullscreen","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":550,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L550"}],"signatures":[{"id":332,"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/2c415a68c/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":343,"name":"isMaximizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":649,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L649"}],"signatures":[{"id":344,"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/2c415a68c/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":335,"name":"isMaximized","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":580,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L580"}],"signatures":[{"id":336,"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/2c415a68c/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":345,"name":"isMinimizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":670,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L670"}],"signatures":[{"id":346,"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/2c415a68c/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":333,"name":"isMinimized","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":564,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L564"}],"signatures":[{"id":334,"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/2c415a68c/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":341,"name":"isResizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":628,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L628"}],"signatures":[{"id":342,"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/2c415a68c/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":349,"name":"isVisible","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":707,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L707"}],"signatures":[{"id":350,"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/2c415a68c/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":302,"name":"listen","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":370,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L370"}],"signatures":[{"id":303,"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/2c415a68c/tooling/api/src/window.ts#L370"}],"typeParameter":[{"id":304,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":305,"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":306,"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":375,"name":"maximize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":918,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L918"}],"signatures":[{"id":376,"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/2c415a68c/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":381,"name":"minimize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":966,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L966"}],"signatures":[{"id":382,"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/2c415a68c/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":460,"name":"onCloseRequested","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1604,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1604"}],"signatures":[{"id":461,"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/2c415a68c/tooling/api/src/window.ts#L1604"}],"parameters":[{"id":462,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reflection","declaration":{"id":463,"name":"__type","variant":"declaration","kind":65536,"flags":{},"sources":[{"fileName":"window.ts","line":1605,"character":13,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1605"}],"signatures":[{"id":464,"name":"__type","variant":"signature","kind":4096,"flags":{},"sources":[{"fileName":"window.ts","line":1605,"character":13,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1605"}],"parameters":[{"id":465,"name":"event","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":481,"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":475,"name":"onFileDropEvent","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1730,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1730"}],"signatures":[{"id":476,"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/2c415a68c/tooling/api/src/window.ts#L1730"}],"parameters":[{"id":477,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":546,"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":466,"name":"onFocusChanged","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1635,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1635"}],"signatures":[{"id":467,"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/2c415a68c/tooling/api/src/window.ts#L1635"}],"parameters":[{"id":468,"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":472,"name":"onMenuClicked","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1701,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1701"}],"signatures":[{"id":473,"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/2c415a68c/tooling/api/src/window.ts#L1701"}],"parameters":[{"id":474,"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":457,"name":"onMoved","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1574,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1574"}],"signatures":[{"id":458,"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/2c415a68c/tooling/api/src/window.ts#L1574"}],"parameters":[{"id":459,"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":454,"name":"onResized","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1550,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1550"}],"signatures":[{"id":455,"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/2c415a68c/tooling/api/src/window.ts#L1550"}],"parameters":[{"id":456,"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":469,"name":"onScaleChanged","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1675,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1675"}],"signatures":[{"id":470,"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/2c415a68c/tooling/api/src/window.ts#L1675"}],"parameters":[{"id":471,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":543,"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":478,"name":"onThemeChanged","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1778,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1778"}],"signatures":[{"id":479,"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/2c415a68c/tooling/api/src/window.ts#L1778"}],"parameters":[{"id":480,"name":"handler","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":47,"typeArguments":[{"type":"reference","target":541,"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":307,"name":"once","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":403,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L403"}],"signatures":[{"id":308,"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/2c415a68c/tooling/api/src/window.ts#L403"}],"typeParameter":[{"id":309,"name":"T","variant":"typeParam","kind":131072,"flags":{}}],"parameters":[{"id":310,"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":311,"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":325,"name":"outerPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":494,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L494"}],"signatures":[{"id":326,"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/2c415a68c/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":329,"name":"outerSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":531,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L531"}],"signatures":[{"id":330,"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/2c415a68c/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":357,"name":"requestUserAttention","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":786,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L786"}],"signatures":[{"id":358,"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/2c415a68c/tooling/api/src/window.ts#L786"}],"parameters":[{"id":359,"name":"requestType","variant":"param","kind":32768,"flags":{},"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"reference","target":497,"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":321,"name":"scaleFactor","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":462,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L462"}],"signatures":[{"id":322,"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/2c415a68c/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":405,"name":"setAlwaysOnBottom","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1129,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1129"}],"signatures":[{"id":406,"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/2c415a68c/tooling/api/src/window.ts#L1129"}],"parameters":[{"id":407,"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":402,"name":"setAlwaysOnTop","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1111,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1111"}],"signatures":[{"id":403,"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/2c415a68c/tooling/api/src/window.ts#L1111"}],"parameters":[{"id":404,"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":369,"name":"setClosable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":883,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L883"}],"signatures":[{"id":370,"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/2c415a68c/tooling/api/src/window.ts#L883"}],"parameters":[{"id":371,"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":408,"name":"setContentProtected","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1146,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1146"}],"signatures":[{"id":409,"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/2c415a68c/tooling/api/src/window.ts#L1146"}],"parameters":[{"id":410,"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":434,"name":"setCursorGrab","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1386,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1386"}],"signatures":[{"id":435,"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/2c415a68c/tooling/api/src/window.ts#L1386"}],"parameters":[{"id":436,"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":440,"name":"setCursorIcon","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1428,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1428"}],"signatures":[{"id":441,"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/2c415a68c/tooling/api/src/window.ts#L1428"}],"parameters":[{"id":442,"name":"icon","variant":"param","kind":32768,"flags":{},"comment":{"summary":[{"kind":"text","text":"The new cursor icon."}]},"type":{"type":"reference","target":274,"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":443,"name":"setCursorPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1446,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1446"}],"signatures":[{"id":444,"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/2c415a68c/tooling/api/src/window.ts#L1446"}],"parameters":[{"id":445,"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":437,"name":"setCursorVisible","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1410,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1410"}],"signatures":[{"id":438,"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/2c415a68c/tooling/api/src/window.ts#L1410"}],"parameters":[{"id":439,"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":391,"name":"setDecorations","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1047,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1047"}],"signatures":[{"id":392,"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/2c415a68c/tooling/api/src/window.ts#L1047"}],"parameters":[{"id":393,"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":397,"name":"setEffects","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1083,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1083"}],"signatures":[{"id":398,"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/2c415a68c/tooling/api/src/window.ts#L1083"}],"parameters":[{"id":399,"name":"effects","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":536,"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":426,"name":"setFocus","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1314,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1314"}],"signatures":[{"id":427,"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/2c415a68c/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":423,"name":"setFullscreen","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1297,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1297"}],"signatures":[{"id":424,"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/2c415a68c/tooling/api/src/window.ts#L1297"}],"parameters":[{"id":425,"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":428,"name":"setIcon","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1338,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1338"}],"signatures":[{"id":429,"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/2c415a68c/tooling/api/src/window.ts#L1338"}],"parameters":[{"id":430,"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":446,"name":"setIgnoreCursorEvents","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1482,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1482"}],"signatures":[{"id":447,"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/2c415a68c/tooling/api/src/window.ts#L1482"}],"parameters":[{"id":448,"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":417,"name":"setMaxSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1228,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1228"}],"signatures":[{"id":418,"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/2c415a68c/tooling/api/src/window.ts#L1228"}],"parameters":[{"id":419,"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":363,"name":"setMaximizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":838,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L838"}],"signatures":[{"id":364,"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/2c415a68c/tooling/api/src/window.ts#L838"}],"parameters":[{"id":365,"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":414,"name":"setMinSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1194,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1194"}],"signatures":[{"id":415,"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/2c415a68c/tooling/api/src/window.ts#L1194"}],"parameters":[{"id":416,"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":366,"name":"setMinimizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":860,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L860"}],"signatures":[{"id":367,"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/2c415a68c/tooling/api/src/window.ts#L860"}],"parameters":[{"id":368,"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":420,"name":"setPosition","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1262,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1262"}],"signatures":[{"id":421,"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/2c415a68c/tooling/api/src/window.ts#L1262"}],"parameters":[{"id":422,"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":451,"name":"setProgressBar","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1524,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1524"}],"signatures":[{"id":452,"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/2c415a68c/tooling/api/src/window.ts#L1524"}],"parameters":[{"id":453,"name":"state","variant":"param","kind":32768,"flags":{},"type":{"type":"reference","target":281,"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":360,"name":"setResizable","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":814,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L814"}],"signatures":[{"id":361,"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/2c415a68c/tooling/api/src/window.ts#L814"}],"parameters":[{"id":362,"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":394,"name":"setShadow","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1073,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1073"}],"signatures":[{"id":395,"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/2c415a68c/tooling/api/src/window.ts#L1073"}],"parameters":[{"id":396,"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":411,"name":"setSize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1164,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1164"}],"signatures":[{"id":412,"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/2c415a68c/tooling/api/src/window.ts#L1164"}],"parameters":[{"id":413,"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":431,"name":"setSkipTaskbar","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1360,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1360"}],"signatures":[{"id":432,"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/2c415a68c/tooling/api/src/window.ts#L1360"}],"parameters":[{"id":433,"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":372,"name":"setTitle","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":901,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L901"}],"signatures":[{"id":373,"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/2c415a68c/tooling/api/src/window.ts#L901"}],"parameters":[{"id":374,"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":385,"name":"show","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":998,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L998"}],"signatures":[{"id":386,"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/2c415a68c/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":449,"name":"startDragging","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":1499,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1499"}],"signatures":[{"id":450,"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/2c415a68c/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":353,"name":"theme","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":742,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L742"}],"signatures":[{"id":354,"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/2c415a68c/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":541,"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":351,"name":"title","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":721,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L721"}],"signatures":[{"id":352,"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/2c415a68c/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":379,"name":"toggleMaximize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":950,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L950"}],"signatures":[{"id":380,"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/2c415a68c/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":377,"name":"unmaximize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":934,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L934"}],"signatures":[{"id":378,"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/2c415a68c/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":383,"name":"unminimize","variant":"declaration","kind":2048,"flags":{},"sources":[{"fileName":"window.ts","line":982,"character":8,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L982"}],"signatures":[{"id":384,"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/2c415a68c/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":292,"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/2c415a68c/tooling/api/src/window.ts#L328"}],"signatures":[{"id":293,"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/2c415a68c/tooling/api/src/window.ts#L328"}],"type":{"type":"array","elementType":{"type":"reference","target":286,"name":"Window","package":"@tauri-apps/api"}}}]},{"id":287,"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/2c415a68c/tooling/api/src/window.ts#L310"}],"signatures":[{"id":288,"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/2c415a68c/tooling/api/src/window.ts#L310"}],"parameters":[{"id":289,"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":286,"name":"Window","package":"@tauri-apps/api"}]}}]},{"id":290,"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/2c415a68c/tooling/api/src/window.ts#L321"}],"signatures":[{"id":291,"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/2c415a68c/tooling/api/src/window.ts#L321"}],"type":{"type":"reference","target":286,"name":"Window","package":"@tauri-apps/api"}}]},{"id":294,"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/2c415a68c/tooling/api/src/window.ts#L342"}],"signatures":[{"id":295,"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/2c415a68c/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":286,"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":[296]},{"title":"Properties","children":[300,301]},{"title":"Methods","children":[355,400,389,312,387,323,327,347,339,337,331,343,335,345,333,341,349,302,375,381,460,475,466,472,457,454,469,478,307,325,329,357,321,405,402,369,408,434,440,443,437,391,397,426,423,428,446,417,363,414,366,420,451,360,394,411,431,372,385,449,353,351,379,377,383,292,287,290,294]}],"sources":[{"fileName":"window.ts","line":255,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L255"}]},{"id":536,"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":540,"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":521,"tsLinkText":""},{"kind":"text","text":" and "},{"kind":"inline-tag","tag":"@link","text":"Acrylic","target":522,"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/2c415a68c/tooling/api/src/window.ts#L1960"}],"type":{"type":"reference","target":590,"name":"Color","package":"@tauri-apps/api"}},{"id":537,"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/2c415a68c/tooling/api/src/window.ts#L1947"}],"type":{"type":"array","elementType":{"type":"reference","target":500,"name":"Effect","package":"@tauri-apps/api"}}},{"id":539,"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/2c415a68c/tooling/api/src/window.ts#L1955"}],"type":{"type":"intrinsic","name":"number"}},{"id":538,"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/2c415a68c/tooling/api/src/window.ts#L1951"}],"type":{"type":"reference","target":526,"name":"EffectState","package":"@tauri-apps/api"}}],"groups":[{"title":"Properties","children":[540,537,539,538]}],"sources":[{"fileName":"window.ts","line":1942,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1942"}]},{"id":269,"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":270,"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/2c415a68c/tooling/api/src/window.ts#L36"}],"type":{"type":"union","types":[{"type":"literal","value":null},{"type":"intrinsic","name":"string"}]}},{"id":272,"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/2c415a68c/tooling/api/src/window.ts#L40"}],"type":{"type":"reference","target":18,"name":"PhysicalPosition","package":"@tauri-apps/api"}},{"id":273,"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/2c415a68c/tooling/api/src/window.ts#L42"}],"type":{"type":"intrinsic","name":"number"}},{"id":271,"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/2c415a68c/tooling/api/src/window.ts#L38"}],"type":{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}}],"groups":[{"title":"Properties","children":[270,272,273,271]}],"sources":[{"fileName":"window.ts","line":34,"character":17,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L34"}]},{"id":281,"name":"ProgressBarState","variant":"declaration","kind":256,"flags":{},"children":[{"id":283,"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/2c415a68c/tooling/api/src/window.ts#L182"}],"type":{"type":"intrinsic","name":"number"}},{"id":282,"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/2c415a68c/tooling/api/src/window.ts#L178"}],"type":{"type":"reference","target":275,"name":"ProgressBarStatus","package":"@tauri-apps/api"}},{"id":284,"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/2c415a68c/tooling/api/src/window.ts#L186"}],"type":{"type":"intrinsic","name":"string"}}],"groups":[{"title":"Properties","children":[283,282,284]}],"sources":[{"fileName":"window.ts","line":174,"character":17,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L174"}]},{"id":543,"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":544,"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/2c415a68c/tooling/api/src/window.ts#L55"}],"type":{"type":"intrinsic","name":"number"}},{"id":545,"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/2c415a68c/tooling/api/src/window.ts#L57"}],"type":{"type":"reference","target":29,"name":"PhysicalSize","package":"@tauri-apps/api"}}],"groups":[{"title":"Properties","children":[544,545]}],"sources":[{"fileName":"window.ts","line":53,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L53"}]},{"id":555,"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":583,"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/2c415a68c/tooling/api/src/window.ts#L2060"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":575,"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/2c415a68c/tooling/api/src/window.ts#L2018"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":574,"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/2c415a68c/tooling/api/src/window.ts#L2016"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":557,"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/2c415a68c/tooling/api/src/window.ts#L1978"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":589,"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/2c415a68c/tooling/api/src/window.ts#L2091"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":576,"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/2c415a68c/tooling/api/src/window.ts#L2020"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":573,"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/2c415a68c/tooling/api/src/window.ts#L2014"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":579,"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/2c415a68c/tooling/api/src/window.ts#L2042"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":569,"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/2c415a68c/tooling/api/src/window.ts#L2002"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":568,"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/2c415a68c/tooling/api/src/window.ts#L2000"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":561,"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/2c415a68c/tooling/api/src/window.ts#L1986"}],"type":{"type":"intrinsic","name":"number"}},{"id":582,"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/2c415a68c/tooling/api/src/window.ts#L2056"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":586,"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/2c415a68c/tooling/api/src/window.ts#L2079"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":565,"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/2c415a68c/tooling/api/src/window.ts#L1994"}],"type":{"type":"intrinsic","name":"number"}},{"id":564,"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/2c415a68c/tooling/api/src/window.ts#L1992"}],"type":{"type":"intrinsic","name":"number"}},{"id":587,"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/2c415a68c/tooling/api/src/window.ts#L2083"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":571,"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/2c415a68c/tooling/api/src/window.ts#L2010"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":563,"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/2c415a68c/tooling/api/src/window.ts#L1990"}],"type":{"type":"intrinsic","name":"number"}},{"id":562,"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/2c415a68c/tooling/api/src/window.ts#L1988"}],"type":{"type":"intrinsic","name":"number"}},{"id":588,"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/2c415a68c/tooling/api/src/window.ts#L2087"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":566,"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/2c415a68c/tooling/api/src/window.ts#L1996"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":578,"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/2c415a68c/tooling/api/src/window.ts#L2036"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":577,"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/2c415a68c/tooling/api/src/window.ts#L2022"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":584,"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/2c415a68c/tooling/api/src/window.ts#L2067"}],"type":{"type":"intrinsic","name":"string"}},{"id":580,"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/2c415a68c/tooling/api/src/window.ts#L2048"}],"type":{"type":"reference","target":541,"name":"Theme","package":"@tauri-apps/api"}},{"id":567,"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/2c415a68c/tooling/api/src/window.ts#L1998"}],"type":{"type":"intrinsic","name":"string"}},{"id":581,"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/2c415a68c/tooling/api/src/window.ts#L2052"}],"type":{"type":"reference","target":542,"name":"TitleBarStyle","package":"@tauri-apps/api"}},{"id":570,"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/2c415a68c/tooling/api/src/window.ts#L2008"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":556,"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/2c415a68c/tooling/api/src/window.ts#L1976"}],"type":{"type":"intrinsic","name":"string"}},{"id":585,"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/2c415a68c/tooling/api/src/window.ts#L2071"}],"type":{"type":"intrinsic","name":"string"}},{"id":572,"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/2c415a68c/tooling/api/src/window.ts#L2012"}],"type":{"type":"intrinsic","name":"boolean"}},{"id":560,"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/2c415a68c/tooling/api/src/window.ts#L1984"}],"type":{"type":"intrinsic","name":"number"}},{"id":558,"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/2c415a68c/tooling/api/src/window.ts#L1980"}],"type":{"type":"intrinsic","name":"number"}},{"id":559,"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/2c415a68c/tooling/api/src/window.ts#L1982"}],"type":{"type":"intrinsic","name":"number"}}],"groups":[{"title":"Properties","children":[583,575,574,557,589,576,573,579,569,568,561,582,586,565,564,587,571,563,562,588,566,578,577,584,580,567,581,570,556,585,572,560,558,559]}],"sources":[{"fileName":"window.ts","line":1968,"character":10,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1968"}]},{"id":590,"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/2c415a68c/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":274,"name":"CursorIcon","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"window.ts","line":110,"character":12,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/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":546,"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/2c415a68c/tooling/api/src/window.ts#L61"}],"type":{"type":"union","types":[{"type":"reflection","declaration":{"id":547,"name":"__type","variant":"declaration","kind":65536,"flags":{},"children":[{"id":549,"name":"paths","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":62,"character":21,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L62"}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":548,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":62,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L62"}],"type":{"type":"literal","value":"hover"}}],"groups":[{"title":"Properties","children":[549,548]}],"sources":[{"fileName":"window.ts","line":62,"character":4,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L62"}]}},{"type":"reflection","declaration":{"id":550,"name":"__type","variant":"declaration","kind":65536,"flags":{},"children":[{"id":552,"name":"paths","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":63,"character":20,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L63"}],"type":{"type":"array","elementType":{"type":"intrinsic","name":"string"}}},{"id":551,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":63,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L63"}],"type":{"type":"literal","value":"drop"}}],"groups":[{"title":"Properties","children":[552,551]}],"sources":[{"fileName":"window.ts","line":63,"character":4,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L63"}]}},{"type":"reflection","declaration":{"id":553,"name":"__type","variant":"declaration","kind":65536,"flags":{},"children":[{"id":554,"name":"type","variant":"declaration","kind":1024,"flags":{},"sources":[{"fileName":"window.ts","line":64,"character":6,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L64"}],"type":{"type":"literal","value":"cancel"}}],"groups":[{"title":"Properties","children":[554]}],"sources":[{"fileName":"window.ts","line":64,"character":4,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L64"}]}}]}},{"id":541,"name":"Theme","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"window.ts","line":45,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L45"}],"type":{"type":"union","types":[{"type":"literal","value":"light"},{"type":"literal","value":"dark"}]}},{"id":542,"name":"TitleBarStyle","variant":"declaration","kind":4194304,"flags":{},"sources":[{"fileName":"window.ts","line":46,"character":5,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L46"}],"type":{"type":"union","types":[{"type":"literal","value":"visible"},{"type":"literal","value":"transparent"},{"type":"literal","value":"overlay"}]}},{"id":534,"name":"availableMonitors","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":2157,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L2157"}],"signatures":[{"id":535,"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/2c415a68c/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":269,"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":530,"name":"currentMonitor","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":2124,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L2124"}],"signatures":[{"id":531,"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/2c415a68c/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":269,"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":495,"name":"getAll","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":206,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L206"}],"signatures":[{"id":496,"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/2c415a68c/tooling/api/src/window.ts#L206"}],"type":{"type":"array","elementType":{"type":"reference","target":286,"name":"Window","package":"@tauri-apps/api"}}}]},{"id":493,"name":"getCurrent","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":194,"character":9,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L194"}],"signatures":[{"id":494,"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/2c415a68c/tooling/api/src/window.ts#L194"}],"type":{"type":"reference","target":286,"name":"Window","package":"@tauri-apps/api"}}]},{"id":532,"name":"primaryMonitor","variant":"declaration","kind":64,"flags":{},"sources":[{"fileName":"window.ts","line":2141,"character":15,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L2141"}],"signatures":[{"id":533,"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/2c415a68c/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":269,"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":[604,602,605,603]},{"title":"Enumerations","children":[500,526,275,497]},{"title":"Classes","children":[481,286]},{"title":"Interfaces","children":[536,269,281,543,555]},{"title":"Type Aliases","children":[590,274,546,541,542]},{"title":"Functions","children":[534,530,495,493,532]}],"sources":[{"fileName":"window.ts","line":1,"character":0,"url":"https://github.com/tauri-apps/tauri/blob/2c415a68c/tooling/api/src/window.ts#L1"}]}],"groups":[{"title":"Modules","children":[591,1,40,89,103,204,268]}],"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":"callback"},"211":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"212":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"213":{"sourceFileName":"src/primitives.ts","qualifiedName":"response"},"214":{"sourceFileName":"src/primitives.ts","qualifiedName":"once"},"215":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel"},"216":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.__constructor"},"217":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel"},"218":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.T"},"219":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.id"},"220":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.__TAURI_CHANNEL_MARKER__"},"221":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.#onmessage"},"222":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"223":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"224":{"sourceFileName":"src/primitives.ts","qualifiedName":"response"},"225":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.onmessage"},"226":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.onmessage"},"227":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"228":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"229":{"sourceFileName":"src/primitives.ts","qualifiedName":"response"},"230":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.onmessage"},"231":{"sourceFileName":"src/primitives.ts","qualifiedName":"handler"},"232":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"233":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"234":{"sourceFileName":"src/primitives.ts","qualifiedName":"response"},"235":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.toJSON"},"236":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.toJSON"},"237":{"sourceFileName":"src/primitives.ts","qualifiedName":"Channel.T"},"238":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener"},"239":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.__constructor"},"240":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener"},"241":{"sourceFileName":"src/primitives.ts","qualifiedName":"plugin"},"242":{"sourceFileName":"src/primitives.ts","qualifiedName":"event"},"243":{"sourceFileName":"src/primitives.ts","qualifiedName":"channelId"},"244":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.plugin"},"245":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.event"},"246":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.channelId"},"247":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.unregister"},"248":{"sourceFileName":"src/primitives.ts","qualifiedName":"PluginListener.unregister"},"249":{"sourceFileName":"src/primitives.ts","qualifiedName":"addPluginListener"},"250":{"sourceFileName":"src/primitives.ts","qualifiedName":"addPluginListener"},"251":{"sourceFileName":"src/primitives.ts","qualifiedName":"T"},"252":{"sourceFileName":"src/primitives.ts","qualifiedName":"plugin"},"253":{"sourceFileName":"src/primitives.ts","qualifiedName":"event"},"254":{"sourceFileName":"src/primitives.ts","qualifiedName":"cb"},"255":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"256":{"sourceFileName":"src/primitives.ts","qualifiedName":"__type"},"257":{"sourceFileName":"src/primitives.ts","qualifiedName":"payload"},"258":{"sourceFileName":"src/primitives.ts","qualifiedName":"invoke"},"259":{"sourceFileName":"src/primitives.ts","qualifiedName":"invoke"},"260":{"sourceFileName":"src/primitives.ts","qualifiedName":"T"},"261":{"sourceFileName":"src/primitives.ts","qualifiedName":"cmd"},"262":{"sourceFileName":"src/primitives.ts","qualifiedName":"args"},"263":{"sourceFileName":"src/primitives.ts","qualifiedName":"options"},"264":{"sourceFileName":"src/primitives.ts","qualifiedName":"convertFileSrc"},"265":{"sourceFileName":"src/primitives.ts","qualifiedName":"convertFileSrc"},"266":{"sourceFileName":"src/primitives.ts","qualifiedName":"filePath"},"267":{"sourceFileName":"src/primitives.ts","qualifiedName":"protocol"},"268":{"sourceFileName":"src/window.ts","qualifiedName":""},"269":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor"},"270":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.name"},"271":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.size"},"272":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.position"},"273":{"sourceFileName":"src/window.ts","qualifiedName":"Monitor.scaleFactor"},"274":{"sourceFileName":"src/window.ts","qualifiedName":"CursorIcon"},"275":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus"},"276":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.None"},"277":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.Normal"},"278":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.Indeterminate"},"279":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.Paused"},"280":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarStatus.Error"},"281":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarState"},"282":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarState.status"},"283":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarState.progress"},"284":{"sourceFileName":"src/window.ts","qualifiedName":"ProgressBarState.unityUri"},"286":{"sourceFileName":"src/window.ts","qualifiedName":"Window"},"287":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getByLabel"},"288":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getByLabel"},"289":{"sourceFileName":"src/window.ts","qualifiedName":"label"},"290":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getCurrent"},"291":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getCurrent"},"292":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getAll"},"293":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getAll"},"294":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getFocusedWindow"},"295":{"sourceFileName":"src/window.ts","qualifiedName":"Window.getFocusedWindow"},"296":{"sourceFileName":"src/window.ts","qualifiedName":"Window.__constructor"},"297":{"sourceFileName":"src/window.ts","qualifiedName":"Window"},"298":{"sourceFileName":"src/window.ts","qualifiedName":"label"},"299":{"sourceFileName":"src/window.ts","qualifiedName":"options"},"300":{"sourceFileName":"src/window.ts","qualifiedName":"Window.label"},"301":{"sourceFileName":"src/window.ts","qualifiedName":"Window.listeners"},"302":{"sourceFileName":"src/window.ts","qualifiedName":"Window.listen"},"303":{"sourceFileName":"src/window.ts","qualifiedName":"Window.listen"},"304":{"sourceFileName":"src/window.ts","qualifiedName":"T"},"305":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"306":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"307":{"sourceFileName":"src/window.ts","qualifiedName":"Window.once"},"308":{"sourceFileName":"src/window.ts","qualifiedName":"Window.once"},"309":{"sourceFileName":"src/window.ts","qualifiedName":"T"},"310":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"311":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"312":{"sourceFileName":"src/window.ts","qualifiedName":"Window.emit"},"313":{"sourceFileName":"src/window.ts","qualifiedName":"Window.emit"},"314":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"315":{"sourceFileName":"src/window.ts","qualifiedName":"payload"},"321":{"sourceFileName":"src/window.ts","qualifiedName":"Window.scaleFactor"},"322":{"sourceFileName":"src/window.ts","qualifiedName":"Window.scaleFactor"},"323":{"sourceFileName":"src/window.ts","qualifiedName":"Window.innerPosition"},"324":{"sourceFileName":"src/window.ts","qualifiedName":"Window.innerPosition"},"325":{"sourceFileName":"src/window.ts","qualifiedName":"Window.outerPosition"},"326":{"sourceFileName":"src/window.ts","qualifiedName":"Window.outerPosition"},"327":{"sourceFileName":"src/window.ts","qualifiedName":"Window.innerSize"},"328":{"sourceFileName":"src/window.ts","qualifiedName":"Window.innerSize"},"329":{"sourceFileName":"src/window.ts","qualifiedName":"Window.outerSize"},"330":{"sourceFileName":"src/window.ts","qualifiedName":"Window.outerSize"},"331":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isFullscreen"},"332":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isFullscreen"},"333":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMinimized"},"334":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMinimized"},"335":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMaximized"},"336":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMaximized"},"337":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isFocused"},"338":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isFocused"},"339":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isDecorated"},"340":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isDecorated"},"341":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isResizable"},"342":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isResizable"},"343":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMaximizable"},"344":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMaximizable"},"345":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMinimizable"},"346":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isMinimizable"},"347":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isClosable"},"348":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isClosable"},"349":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isVisible"},"350":{"sourceFileName":"src/window.ts","qualifiedName":"Window.isVisible"},"351":{"sourceFileName":"src/window.ts","qualifiedName":"Window.title"},"352":{"sourceFileName":"src/window.ts","qualifiedName":"Window.title"},"353":{"sourceFileName":"src/window.ts","qualifiedName":"Window.theme"},"354":{"sourceFileName":"src/window.ts","qualifiedName":"Window.theme"},"355":{"sourceFileName":"src/window.ts","qualifiedName":"Window.center"},"356":{"sourceFileName":"src/window.ts","qualifiedName":"Window.center"},"357":{"sourceFileName":"src/window.ts","qualifiedName":"Window.requestUserAttention"},"358":{"sourceFileName":"src/window.ts","qualifiedName":"Window.requestUserAttention"},"359":{"sourceFileName":"src/window.ts","qualifiedName":"requestType"},"360":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setResizable"},"361":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setResizable"},"362":{"sourceFileName":"src/window.ts","qualifiedName":"resizable"},"363":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMaximizable"},"364":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMaximizable"},"365":{"sourceFileName":"src/window.ts","qualifiedName":"maximizable"},"366":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMinimizable"},"367":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMinimizable"},"368":{"sourceFileName":"src/window.ts","qualifiedName":"minimizable"},"369":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setClosable"},"370":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setClosable"},"371":{"sourceFileName":"src/window.ts","qualifiedName":"closable"},"372":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setTitle"},"373":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setTitle"},"374":{"sourceFileName":"src/window.ts","qualifiedName":"title"},"375":{"sourceFileName":"src/window.ts","qualifiedName":"Window.maximize"},"376":{"sourceFileName":"src/window.ts","qualifiedName":"Window.maximize"},"377":{"sourceFileName":"src/window.ts","qualifiedName":"Window.unmaximize"},"378":{"sourceFileName":"src/window.ts","qualifiedName":"Window.unmaximize"},"379":{"sourceFileName":"src/window.ts","qualifiedName":"Window.toggleMaximize"},"380":{"sourceFileName":"src/window.ts","qualifiedName":"Window.toggleMaximize"},"381":{"sourceFileName":"src/window.ts","qualifiedName":"Window.minimize"},"382":{"sourceFileName":"src/window.ts","qualifiedName":"Window.minimize"},"383":{"sourceFileName":"src/window.ts","qualifiedName":"Window.unminimize"},"384":{"sourceFileName":"src/window.ts","qualifiedName":"Window.unminimize"},"385":{"sourceFileName":"src/window.ts","qualifiedName":"Window.show"},"386":{"sourceFileName":"src/window.ts","qualifiedName":"Window.show"},"387":{"sourceFileName":"src/window.ts","qualifiedName":"Window.hide"},"388":{"sourceFileName":"src/window.ts","qualifiedName":"Window.hide"},"389":{"sourceFileName":"src/window.ts","qualifiedName":"Window.close"},"390":{"sourceFileName":"src/window.ts","qualifiedName":"Window.close"},"391":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setDecorations"},"392":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setDecorations"},"393":{"sourceFileName":"src/window.ts","qualifiedName":"decorations"},"394":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setShadow"},"395":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setShadow"},"396":{"sourceFileName":"src/window.ts","qualifiedName":"enable"},"397":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setEffects"},"398":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setEffects"},"399":{"sourceFileName":"src/window.ts","qualifiedName":"effects"},"400":{"sourceFileName":"src/window.ts","qualifiedName":"Window.clearEffects"},"401":{"sourceFileName":"src/window.ts","qualifiedName":"Window.clearEffects"},"402":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setAlwaysOnTop"},"403":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setAlwaysOnTop"},"404":{"sourceFileName":"src/window.ts","qualifiedName":"alwaysOnTop"},"405":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setAlwaysOnBottom"},"406":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setAlwaysOnBottom"},"407":{"sourceFileName":"src/window.ts","qualifiedName":"alwaysOnBottom"},"408":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setContentProtected"},"409":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setContentProtected"},"410":{"sourceFileName":"src/window.ts","qualifiedName":"protected_"},"411":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setSize"},"412":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setSize"},"413":{"sourceFileName":"src/window.ts","qualifiedName":"size"},"414":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMinSize"},"415":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMinSize"},"416":{"sourceFileName":"src/window.ts","qualifiedName":"size"},"417":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMaxSize"},"418":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setMaxSize"},"419":{"sourceFileName":"src/window.ts","qualifiedName":"size"},"420":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setPosition"},"421":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setPosition"},"422":{"sourceFileName":"src/window.ts","qualifiedName":"position"},"423":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setFullscreen"},"424":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setFullscreen"},"425":{"sourceFileName":"src/window.ts","qualifiedName":"fullscreen"},"426":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setFocus"},"427":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setFocus"},"428":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setIcon"},"429":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setIcon"},"430":{"sourceFileName":"src/window.ts","qualifiedName":"icon"},"431":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setSkipTaskbar"},"432":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setSkipTaskbar"},"433":{"sourceFileName":"src/window.ts","qualifiedName":"skip"},"434":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorGrab"},"435":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorGrab"},"436":{"sourceFileName":"src/window.ts","qualifiedName":"grab"},"437":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorVisible"},"438":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorVisible"},"439":{"sourceFileName":"src/window.ts","qualifiedName":"visible"},"440":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorIcon"},"441":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorIcon"},"442":{"sourceFileName":"src/window.ts","qualifiedName":"icon"},"443":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorPosition"},"444":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setCursorPosition"},"445":{"sourceFileName":"src/window.ts","qualifiedName":"position"},"446":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setIgnoreCursorEvents"},"447":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setIgnoreCursorEvents"},"448":{"sourceFileName":"src/window.ts","qualifiedName":"ignore"},"449":{"sourceFileName":"src/window.ts","qualifiedName":"Window.startDragging"},"450":{"sourceFileName":"src/window.ts","qualifiedName":"Window.startDragging"},"451":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setProgressBar"},"452":{"sourceFileName":"src/window.ts","qualifiedName":"Window.setProgressBar"},"453":{"sourceFileName":"src/window.ts","qualifiedName":"state"},"454":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onResized"},"455":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onResized"},"456":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"457":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onMoved"},"458":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onMoved"},"459":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"460":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onCloseRequested"},"461":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onCloseRequested"},"462":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"463":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"464":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"465":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"466":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onFocusChanged"},"467":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onFocusChanged"},"468":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"469":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onScaleChanged"},"470":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onScaleChanged"},"471":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"472":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onMenuClicked"},"473":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onMenuClicked"},"474":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"475":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onFileDropEvent"},"476":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onFileDropEvent"},"477":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"478":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onThemeChanged"},"479":{"sourceFileName":"src/window.ts","qualifiedName":"Window.onThemeChanged"},"480":{"sourceFileName":"src/window.ts","qualifiedName":"handler"},"481":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent"},"482":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.__constructor"},"483":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent"},"484":{"sourceFileName":"src/window.ts","qualifiedName":"event"},"485":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.event"},"486":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.windowLabel"},"487":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.id"},"488":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent._preventDefault"},"489":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.preventDefault"},"490":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.preventDefault"},"491":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.isPreventDefault"},"492":{"sourceFileName":"src/window.ts","qualifiedName":"CloseRequestedEvent.isPreventDefault"},"493":{"sourceFileName":"src/window.ts","qualifiedName":"getCurrent"},"494":{"sourceFileName":"src/window.ts","qualifiedName":"getCurrent"},"495":{"sourceFileName":"src/window.ts","qualifiedName":"getAll"},"496":{"sourceFileName":"src/window.ts","qualifiedName":"getAll"},"497":{"sourceFileName":"src/window.ts","qualifiedName":"UserAttentionType"},"498":{"sourceFileName":"src/window.ts","qualifiedName":"UserAttentionType.Critical"},"499":{"sourceFileName":"src/window.ts","qualifiedName":"UserAttentionType.Informational"},"500":{"sourceFileName":"src/window.ts","qualifiedName":"Effect"},"501":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.AppearanceBased"},"502":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Light"},"503":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Dark"},"504":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.MediumLight"},"505":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.UltraDark"},"506":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Titlebar"},"507":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Selection"},"508":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Menu"},"509":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Popover"},"510":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Sidebar"},"511":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.HeaderView"},"512":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Sheet"},"513":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.WindowBackground"},"514":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.HudWindow"},"515":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.FullScreenUI"},"516":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Tooltip"},"517":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.ContentBackground"},"518":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.UnderWindowBackground"},"519":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.UnderPageBackground"},"520":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Mica"},"521":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Blur"},"522":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Acrylic"},"523":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.Tabbed"},"524":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.TabbedDark"},"525":{"sourceFileName":"src/window.ts","qualifiedName":"Effect.TabbedLight"},"526":{"sourceFileName":"src/window.ts","qualifiedName":"EffectState"},"527":{"sourceFileName":"src/window.ts","qualifiedName":"EffectState.FollowsWindowActiveState"},"528":{"sourceFileName":"src/window.ts","qualifiedName":"EffectState.Active"},"529":{"sourceFileName":"src/window.ts","qualifiedName":"EffectState.Inactive"},"530":{"sourceFileName":"src/window.ts","qualifiedName":"currentMonitor"},"531":{"sourceFileName":"src/window.ts","qualifiedName":"currentMonitor"},"532":{"sourceFileName":"src/window.ts","qualifiedName":"primaryMonitor"},"533":{"sourceFileName":"src/window.ts","qualifiedName":"primaryMonitor"},"534":{"sourceFileName":"src/window.ts","qualifiedName":"availableMonitors"},"535":{"sourceFileName":"src/window.ts","qualifiedName":"availableMonitors"},"536":{"sourceFileName":"src/window.ts","qualifiedName":"Effects"},"537":{"sourceFileName":"src/window.ts","qualifiedName":"Effects.effects"},"538":{"sourceFileName":"src/window.ts","qualifiedName":"Effects.state"},"539":{"sourceFileName":"src/window.ts","qualifiedName":"Effects.radius"},"540":{"sourceFileName":"src/window.ts","qualifiedName":"Effects.color"},"541":{"sourceFileName":"src/window.ts","qualifiedName":"Theme"},"542":{"sourceFileName":"src/window.ts","qualifiedName":"TitleBarStyle"},"543":{"sourceFileName":"src/window.ts","qualifiedName":"ScaleFactorChanged"},"544":{"sourceFileName":"src/window.ts","qualifiedName":"ScaleFactorChanged.scaleFactor"},"545":{"sourceFileName":"src/window.ts","qualifiedName":"ScaleFactorChanged.size"},"546":{"sourceFileName":"src/window.ts","qualifiedName":"FileDropEvent"},"547":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"548":{"sourceFileName":"src/window.ts","qualifiedName":"__type.type"},"549":{"sourceFileName":"src/window.ts","qualifiedName":"__type.paths"},"550":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"551":{"sourceFileName":"src/window.ts","qualifiedName":"__type.type"},"552":{"sourceFileName":"src/window.ts","qualifiedName":"__type.paths"},"553":{"sourceFileName":"src/window.ts","qualifiedName":"__type"},"554":{"sourceFileName":"src/window.ts","qualifiedName":"__type.type"},"555":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions"},"556":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.url"},"557":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.center"},"558":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.x"},"559":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.y"},"560":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.width"},"561":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.height"},"562":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.minWidth"},"563":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.minHeight"},"564":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maxWidth"},"565":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maxHeight"},"566":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.resizable"},"567":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.title"},"568":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.fullscreen"},"569":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.focus"},"570":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.transparent"},"571":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maximized"},"572":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.visible"},"573":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.decorations"},"574":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.alwaysOnTop"},"575":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.alwaysOnBottom"},"576":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.contentProtected"},"577":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.skipTaskbar"},"578":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.shadow"},"579":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.fileDropEnabled"},"580":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.theme"},"581":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.titleBarStyle"},"582":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.hiddenTitle"},"583":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.acceptFirstMouse"},"584":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.tabbingIdentifier"},"585":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.userAgent"},"586":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.incognito"},"587":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.maximizable"},"588":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.minimizable"},"589":{"sourceFileName":"src/window.ts","qualifiedName":"WindowOptions.closable"},"590":{"sourceFileName":"src/window.ts","qualifiedName":"Color"},"591":{"sourceFileName":"src/app.ts","qualifiedName":""},"592":{"sourceFileName":"src/app.ts","qualifiedName":"getName"},"593":{"sourceFileName":"src/app.ts","qualifiedName":"getName"},"594":{"sourceFileName":"src/app.ts","qualifiedName":"getVersion"},"595":{"sourceFileName":"src/app.ts","qualifiedName":"getVersion"},"596":{"sourceFileName":"src/app.ts","qualifiedName":"getTauriVersion"},"597":{"sourceFileName":"src/app.ts","qualifiedName":"getTauriVersion"},"598":{"sourceFileName":"src/app.ts","qualifiedName":"show"},"599":{"sourceFileName":"src/app.ts","qualifiedName":"show"},"600":{"sourceFileName":"src/app.ts","qualifiedName":"hide"},"601":{"sourceFileName":"src/app.ts","qualifiedName":"hide"},"602":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalSize"},"603":{"sourceFileName":"src/window.ts","qualifiedName":"PhysicalSize"},"604":{"sourceFileName":"src/window.ts","qualifiedName":"LogicalPosition"},"605":{"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,"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 diff --git a/tooling/api/package.json b/tooling/api/package.json index c3dbac5a990f..7166baa0c258 100644 --- a/tooling/api/package.json +++ b/tooling/api/package.json @@ -36,23 +36,23 @@ "access": "public" }, "engines": { - "node": ">= 14.6.0", + "node": ">= 18", "npm": ">= 6.6.0", "yarn": ">= 1.19.1" }, "devDependencies": { - "@typescript-eslint/eslint-plugin": "5.62.0", - "@typescript-eslint/parser": "5.62.0", - "eslint": "8.46.0", - "eslint-config-prettier": "8.10.0", - "eslint-config-standard-with-typescript": "34.0.1", - "eslint-plugin-import": "2.28.0", - "eslint-plugin-n": "15.7.0", + "@typescript-eslint/eslint-plugin": "6.8.0", + "@typescript-eslint/parser": "6.8.0", + "eslint": "8.51.0", + "eslint-config-prettier": "9.0.0", + "eslint-config-standard-with-typescript": "39.1.1", + "eslint-plugin-import": "2.28.1", + "eslint-plugin-n": "16.2.0", "eslint-plugin-node": "11.1.0", "eslint-plugin-promise": "6.1.1", "eslint-plugin-security": "1.7.1", - "prettier": "2.8.8", - "tsup": "6.7.0", + "prettier": "3.0.3", + "tsup": "7.2.0", "typedoc": "0.24.8", "typedoc-plugin-markdown": "3.15.4", "typedoc-plugin-mdn-links": "3.0.3", diff --git a/tooling/api/src/global.d.ts b/tooling/api/src/global.d.ts index 3d451d77bdcb..608748b49521 100644 --- a/tooling/api/src/global.d.ts +++ b/tooling/api/src/global.d.ts @@ -13,7 +13,13 @@ declare global { invoke: typeof invoke transformCallback: typeof transformCallback convertFileSrc: typeof convertFileSrc - ipc: (message: any) => void + ipc: (message: { + cmd: string + callback: number + error: number + payload: unknown + options?: InvokeOptions + }) => void metadata: { windows: WindowDef[] currentWindow: WindowDef diff --git a/tooling/api/src/mocks.ts b/tooling/api/src/mocks.ts index 987379efaf15..01b1726b3c66 100644 --- a/tooling/api/src/mocks.ts +++ b/tooling/api/src/mocks.ts @@ -63,7 +63,7 @@ interface IPCMessage { * @since 1.0.0 */ export function mockIPC( - cb: (cmd: string, payload: Record) => any | Promise + cb: (cmd: string, payload: Record) => unknown ): void { // eslint-disable-next-line @typescript-eslint/no-misused-promises window.__TAURI_INTERNALS__.ipc = async ({ diff --git a/tooling/api/src/primitives.ts b/tooling/api/src/primitives.ts index 22c286cee31b..bfcf3739221b 100644 --- a/tooling/api/src/primitives.ts +++ b/tooling/api/src/primitives.ts @@ -17,8 +17,8 @@ * * @since 1.0.0 */ -function transformCallback( - callback?: (response: any) => void, +function transformCallback( + callback?: (response: T) => void, once = false ): number { return window.__TAURI_INTERNALS__.transformCallback(callback, once) diff --git a/tooling/api/yarn.lock b/tooling/api/yarn.lock index 69e0c53be9ca..5dbda8fac162 100644 --- a/tooling/api/yarn.lock +++ b/tooling/api/yarn.lock @@ -7,115 +7,122 @@ resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== -"@esbuild/android-arm64@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.17.6.tgz#b11bd4e4d031bb320c93c83c137797b2be5b403b" - integrity sha512-YnYSCceN/dUzUr5kdtUzB+wZprCafuD89Hs0Aqv9QSdwhYQybhXTaSTcrl6X/aWThn1a/j0eEpUBGOE7269REg== - -"@esbuild/android-arm@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.17.6.tgz#ac6b5674da2149997f6306b3314dae59bbe0ac26" - integrity sha512-bSC9YVUjADDy1gae8RrioINU6e1lCkg3VGVwm0QQ2E1CWcC4gnMce9+B6RpxuSsrsXsk1yojn7sp1fnG8erE2g== - -"@esbuild/android-x64@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.17.6.tgz#18c48bf949046638fc209409ff684c6bb35a5462" - integrity sha512-MVcYcgSO7pfu/x34uX9u2QIZHmXAB7dEiLQC5bBl5Ryqtpj9lT2sg3gNDEsrPEmimSJW2FXIaxqSQ501YLDsZQ== - -"@esbuild/darwin-arm64@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.17.6.tgz#b3fe19af1e4afc849a07c06318124e9c041e0646" - integrity sha512-bsDRvlbKMQMt6Wl08nHtFz++yoZHsyTOxnjfB2Q95gato+Yi4WnRl13oC2/PJJA9yLCoRv9gqT/EYX0/zDsyMA== - -"@esbuild/darwin-x64@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.17.6.tgz#f4dacd1ab21e17b355635c2bba6a31eba26ba569" - integrity sha512-xh2A5oPrYRfMFz74QXIQTQo8uA+hYzGWJFoeTE8EvoZGHb+idyV4ATaukaUvnnxJiauhs/fPx3vYhU4wiGfosg== - -"@esbuild/freebsd-arm64@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.17.6.tgz#ea4531aeda70b17cbe0e77b0c5c36298053855b4" - integrity sha512-EnUwjRc1inT4ccZh4pB3v1cIhohE2S4YXlt1OvI7sw/+pD+dIE4smwekZlEPIwY6PhU6oDWwITrQQm5S2/iZgg== - -"@esbuild/freebsd-x64@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.17.6.tgz#1896170b3c9f63c5e08efdc1f8abc8b1ed7af29f" - integrity sha512-Uh3HLWGzH6FwpviUcLMKPCbZUAFzv67Wj5MTwK6jn89b576SR2IbEp+tqUHTr8DIl0iDmBAf51MVaP7pw6PY5Q== - -"@esbuild/linux-arm64@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.17.6.tgz#967dfb951c6b2de6f2af82e96e25d63747f75079" - integrity sha512-bUR58IFOMJX523aDVozswnlp5yry7+0cRLCXDsxnUeQYJik1DukMY+apBsLOZJblpH+K7ox7YrKrHmJoWqVR9w== - -"@esbuild/linux-arm@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.17.6.tgz#097a0ee2be39fed3f37ea0e587052961e3bcc110" - integrity sha512-7YdGiurNt7lqO0Bf/U9/arrPWPqdPqcV6JCZda4LZgEn+PTQ5SMEI4MGR52Bfn3+d6bNEGcWFzlIxiQdS48YUw== - -"@esbuild/linux-ia32@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.17.6.tgz#a38a789d0ed157495a6b5b4469ec7868b59e5278" - integrity sha512-ujp8uoQCM9FRcbDfkqECoARsLnLfCUhKARTP56TFPog8ie9JG83D5GVKjQ6yVrEVdMie1djH86fm98eY3quQkQ== - -"@esbuild/linux-loong64@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.17.6.tgz#ae3983d0fb4057883c8246f57d2518c2af7cf2ad" - integrity sha512-y2NX1+X/Nt+izj9bLoiaYB9YXT/LoaQFYvCkVD77G/4F+/yuVXYCWz4SE9yr5CBMbOxOfBcy/xFL4LlOeNlzYQ== - -"@esbuild/linux-mips64el@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.17.6.tgz#15fbbe04648d944ec660ee5797febdf09a9bd6af" - integrity sha512-09AXKB1HDOzXD+j3FdXCiL/MWmZP0Ex9eR8DLMBVcHorrWJxWmY8Nms2Nm41iRM64WVx7bA/JVHMv081iP2kUA== - -"@esbuild/linux-ppc64@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.17.6.tgz#38210094e8e1a971f2d1fd8e48462cc65f15ef19" - integrity sha512-AmLhMzkM8JuqTIOhxnX4ubh0XWJIznEynRnZAVdA2mMKE6FAfwT2TWKTwdqMG+qEaeyDPtfNoZRpJbD4ZBv0Tg== - -"@esbuild/linux-riscv64@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.17.6.tgz#bc3c66d5578c3b9951a6ed68763f2a6856827e4a" - integrity sha512-Y4Ri62PfavhLQhFbqucysHOmRamlTVK10zPWlqjNbj2XMea+BOs4w6ASKwQwAiqf9ZqcY9Ab7NOU4wIgpxwoSQ== - -"@esbuild/linux-s390x@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.17.6.tgz#d7ba7af59285f63cfce6e5b7f82a946f3e6d67fc" - integrity sha512-SPUiz4fDbnNEm3JSdUW8pBJ/vkop3M1YwZAVwvdwlFLoJwKEZ9L98l3tzeyMzq27CyepDQ3Qgoba44StgbiN5Q== - -"@esbuild/linux-x64@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.17.6.tgz#ba51f8760a9b9370a2530f98964be5f09d90fed0" - integrity sha512-a3yHLmOodHrzuNgdpB7peFGPx1iJ2x6m+uDvhP2CKdr2CwOaqEFMeSqYAHU7hG+RjCq8r2NFujcd/YsEsFgTGw== - -"@esbuild/netbsd-x64@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.17.6.tgz#e84d6b6fdde0261602c1e56edbb9e2cb07c211b9" - integrity sha512-EanJqcU/4uZIBreTrnbnre2DXgXSa+Gjap7ifRfllpmyAU7YMvaXmljdArptTHmjrkkKm9BK6GH5D5Yo+p6y5A== - -"@esbuild/openbsd-x64@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.17.6.tgz#cf4b9fb80ce6d280a673d54a731d9c661f88b083" - integrity sha512-xaxeSunhQRsTNGFanoOkkLtnmMn5QbA0qBhNet/XLVsc+OVkpIWPHcr3zTW2gxVU5YOHFbIHR9ODuaUdNza2Vw== - -"@esbuild/sunos-x64@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.17.6.tgz#a6838e246079b24d962b9dcb8d208a3785210a73" - integrity sha512-gnMnMPg5pfMkZvhHee21KbKdc6W3GR8/JuE0Da1kjwpK6oiFU3nqfHuVPgUX2rsOx9N2SadSQTIYV1CIjYG+xw== - -"@esbuild/win32-arm64@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.17.6.tgz#ace0186e904d109ea4123317a3ba35befe83ac21" - integrity sha512-G95n7vP1UnGJPsVdKXllAJPtqjMvFYbN20e8RK8LVLhlTiSOH1sd7+Gt7rm70xiG+I5tM58nYgwWrLs6I1jHqg== - -"@esbuild/win32-ia32@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.17.6.tgz#7fb3f6d4143e283a7f7dffc98a6baf31bb365c7e" - integrity sha512-96yEFzLhq5bv9jJo5JhTs1gI+1cKQ83cUpyxHuGqXVwQtY5Eq54ZEsKs8veKtiKwlrNimtckHEkj4mRh4pPjsg== - -"@esbuild/win32-x64@0.17.6": - version "0.17.6" - resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.17.6.tgz#563ff4277f1230a006472664fa9278a83dd124da" - integrity sha512-n6d8MOyUrNp6G4VSpRcgjs5xj4A91svJSaiwLIDWVWEsZtpN5FA9NlBbZHDmAJc2e8e6SF4tkBD3HAvPF+7igA== +"@esbuild/android-arm64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz#984b4f9c8d0377443cc2dfcef266d02244593622" + integrity sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ== + +"@esbuild/android-arm@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.18.20.tgz#fedb265bc3a589c84cc11f810804f234947c3682" + integrity sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw== + +"@esbuild/android-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.18.20.tgz#35cf419c4cfc8babe8893d296cd990e9e9f756f2" + integrity sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg== + +"@esbuild/darwin-arm64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.18.20.tgz#08172cbeccf95fbc383399a7f39cfbddaeb0d7c1" + integrity sha512-bxRHW5kHU38zS2lPTPOyuyTm+S+eobPUnTNkdJEfAddYgEcll4xkT8DB9d2008DtTbl7uJag2HuE5NZAZgnNEA== + +"@esbuild/darwin-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz#d70d5790d8bf475556b67d0f8b7c5bdff053d85d" + integrity sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ== + +"@esbuild/freebsd-arm64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz#98755cd12707f93f210e2494d6a4b51b96977f54" + integrity sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw== + +"@esbuild/freebsd-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz#c1eb2bff03915f87c29cece4c1a7fa1f423b066e" + integrity sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ== + +"@esbuild/linux-arm64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz#bad4238bd8f4fc25b5a021280c770ab5fc3a02a0" + integrity sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA== + +"@esbuild/linux-arm@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz#3e617c61f33508a27150ee417543c8ab5acc73b0" + integrity sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg== + +"@esbuild/linux-ia32@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz#699391cccba9aee6019b7f9892eb99219f1570a7" + integrity sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA== + +"@esbuild/linux-loong64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz#e6fccb7aac178dd2ffb9860465ac89d7f23b977d" + integrity sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg== + +"@esbuild/linux-mips64el@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz#eeff3a937de9c2310de30622a957ad1bd9183231" + integrity sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ== + +"@esbuild/linux-ppc64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz#2f7156bde20b01527993e6881435ad79ba9599fb" + integrity sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA== + +"@esbuild/linux-riscv64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz#6628389f210123d8b4743045af8caa7d4ddfc7a6" + integrity sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A== + +"@esbuild/linux-s390x@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz#255e81fb289b101026131858ab99fba63dcf0071" + integrity sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ== + +"@esbuild/linux-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz#c7690b3417af318a9b6f96df3031a8865176d338" + integrity sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w== + +"@esbuild/netbsd-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz#30e8cd8a3dded63975e2df2438ca109601ebe0d1" + integrity sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A== + +"@esbuild/openbsd-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz#7812af31b205055874c8082ea9cf9ab0da6217ae" + integrity sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg== + +"@esbuild/sunos-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz#d5c275c3b4e73c9b0ecd38d1ca62c020f887ab9d" + integrity sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ== + +"@esbuild/win32-arm64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz#73bc7f5a9f8a77805f357fab97f290d0e4820ac9" + integrity sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg== + +"@esbuild/win32-ia32@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz#ec93cbf0ef1085cc12e71e0d661d20569ff42102" + integrity sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g== + +"@esbuild/win32-x64@0.18.20": + version "0.18.20" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz#786c5f41f043b07afb1af37683d7c33668858f6d" + integrity sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ== + +"@eslint-community/eslint-utils@^4.1.2", "@eslint-community/eslint-utils@^4.4.0": + version "4.4.0" + resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" + integrity sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA== + dependencies: + eslint-visitor-keys "^3.3.0" "@eslint-community/eslint-utils@^4.2.0": version "4.3.0" @@ -124,20 +131,15 @@ dependencies: eslint-visitor-keys "^3.3.0" -"@eslint-community/regexpp@^4.4.0": - version "4.4.0" - resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.4.0.tgz#3e61c564fcd6b921cb789838631c5ee44df09403" - integrity sha512-A9983Q0LnDGdLPjxyXQ00sbV+K+O+ko2Dr+CZigbHWtX9pNfxlaBkMR8X1CztI73zuEyEBXTVjx7CE+/VSwDiQ== - -"@eslint-community/regexpp@^4.6.1": +"@eslint-community/regexpp@^4.5.1", "@eslint-community/regexpp@^4.6.0", "@eslint-community/regexpp@^4.6.1": version "4.6.2" resolved "https://registry.yarnpkg.com/@eslint-community/regexpp/-/regexpp-4.6.2.tgz#1816b5f6948029c5eaacb0703b850ee0cb37d8f8" integrity sha512-pPTNuaAG3QMH+buKyBIGJs3g/S5y0caxw0ygM3YyE6yJFySwiGGSzA+mM3KJ8QQvzeLh3blwgSonkFjgQdxzMw== -"@eslint/eslintrc@^2.1.1": - version "2.1.1" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.1.tgz#18d635e24ad35f7276e8a49d135c7d3ca6a46f93" - integrity sha512-9t7ZA7NGGK8ckelF0PQCfcxIUzs1Md5rrO6U/c+FIQNanea5UZC0wqKXH4vHBccmu4ZJgZ2idtPeW7+Q2npOEA== +"@eslint/eslintrc@^2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-2.1.2.tgz#c6936b4b328c64496692f76944e755738be62396" + integrity sha512-+wvgpDsrB1YqAMdEUCcnTlpfVBH7Vqn6A/NT3D8WVXFIaKMlErPIZT3oCIAVCOtarRpMtelZLqJeU3t7WY6X6g== dependencies: ajv "^6.12.4" debug "^4.3.2" @@ -149,15 +151,15 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@^8.46.0": - version "8.46.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.46.0.tgz#3f7802972e8b6fe3f88ed1aabc74ec596c456db6" - integrity sha512-a8TLtmPi8xzPkCbp/OGFUo5yhRkHM2Ko9kOWP4znJr0WAhWyThaw3PnwX4vOTWOAMsV2uRt32PPDcEz63esSaA== +"@eslint/js@8.51.0": + version "8.51.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.51.0.tgz#6d419c240cfb2b66da37df230f7e7eef801c32fa" + integrity sha512-HxjQ8Qn+4SI3/AFv6sOrDB+g6PpUTDwSJiQqOrnneEk8L71161srI9gjzzZvYVbzHiVg/BvcH95+cK/zfIt4pg== -"@humanwhocodes/config-array@^0.11.10": - version "0.11.10" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.10.tgz#5a3ffe32cc9306365fb3fd572596cd602d5e12d2" - integrity sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ== +"@humanwhocodes/config-array@^0.11.11": + version "0.11.11" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.11.tgz#88a04c570dbbc7dd943e4712429c3df09bc32844" + integrity sha512-N2brEuAadi0CcdeMXUkhbZB84eskAc8MEX1By6qEchoVywSgXPIjou4rYsl0V3Hj0ZnuGycGCjdNgockbzeWNA== dependencies: "@humanwhocodes/object-schema" "^1.2.1" debug "^4.1.1" @@ -194,148 +196,105 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@types/json-schema@^7.0.9": - version "7.0.11" - resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" - integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== +"@types/json-schema@^7.0.12": + version "7.0.12" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.12.tgz#d70faba7039d5fca54c83c7dbab41051d2b6f6cb" + integrity sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA== "@types/json5@^0.0.29": version "0.0.29" resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ== -"@types/semver@^7.3.12": - version "7.3.12" - resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.3.12.tgz#920447fdd78d76b19de0438b7f60df3c4a80bf1c" - integrity sha512-WwA1MW0++RfXmCr12xeYOOC5baSC9mSb0ZqCquFzKhcoF4TvHu5MKOuXsncgZcpVFhB1pXd5hZmM0ryAoCp12A== - -"@typescript-eslint/eslint-plugin@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz#aeef0328d172b9e37d9bab6dbc13b87ed88977db" - integrity sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag== - dependencies: - "@eslint-community/regexpp" "^4.4.0" - "@typescript-eslint/scope-manager" "5.62.0" - "@typescript-eslint/type-utils" "5.62.0" - "@typescript-eslint/utils" "5.62.0" +"@types/semver@^7.5.0": + version "7.5.0" + resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.0.tgz#591c1ce3a702c45ee15f47a42ade72c2fd78978a" + integrity sha512-G8hZ6XJiHnuhQKR7ZmysCeJWE08o8T0AXtk5darsCaTVsYZhhgUrq53jizaR2FvsoeCwJhlmwTjkXBY5Pn/ZHw== + +"@typescript-eslint/eslint-plugin@6.8.0": + version "6.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.8.0.tgz#06abe4265e7c82f20ade2dcc0e3403c32d4f148b" + integrity sha512-GosF4238Tkes2SHPQ1i8f6rMtG6zlKwMEB0abqSJ3Npvos+doIlc/ATG+vX1G9coDF3Ex78zM3heXHLyWEwLUw== + dependencies: + "@eslint-community/regexpp" "^4.5.1" + "@typescript-eslint/scope-manager" "6.8.0" + "@typescript-eslint/type-utils" "6.8.0" + "@typescript-eslint/utils" "6.8.0" + "@typescript-eslint/visitor-keys" "6.8.0" debug "^4.3.4" graphemer "^1.4.0" - ignore "^5.2.0" - natural-compare-lite "^1.4.0" - semver "^7.3.7" - tsutils "^3.21.0" - -"@typescript-eslint/parser@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.62.0.tgz#1b63d082d849a2fcae8a569248fbe2ee1b8a56c7" - integrity sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA== - dependencies: - "@typescript-eslint/scope-manager" "5.62.0" - "@typescript-eslint/types" "5.62.0" - "@typescript-eslint/typescript-estree" "5.62.0" - debug "^4.3.4" - -"@typescript-eslint/parser@^5.43.0": - version "5.57.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.57.1.tgz#af911234bd4401d09668c5faf708a0570a17a748" - integrity sha512-hlA0BLeVSA/wBPKdPGxoVr9Pp6GutGoY380FEhbVi0Ph4WNe8kLvqIRx76RSQt1lynZKfrXKs0/XeEk4zZycuA== - dependencies: - "@typescript-eslint/scope-manager" "5.57.1" - "@typescript-eslint/types" "5.57.1" - "@typescript-eslint/typescript-estree" "5.57.1" + ignore "^5.2.4" + natural-compare "^1.4.0" + semver "^7.5.4" + ts-api-utils "^1.0.1" + +"@typescript-eslint/parser@6.8.0", "@typescript-eslint/parser@^6.4.0": + version "6.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-6.8.0.tgz#bb2a969d583db242f1ee64467542f8b05c2e28cb" + integrity sha512-5tNs6Bw0j6BdWuP8Fx+VH4G9fEPDxnVI7yH1IAPkQH5RUtvKwRoqdecAPdQXv4rSOADAaz1LFBZvZG7VbXivSg== + dependencies: + "@typescript-eslint/scope-manager" "6.8.0" + "@typescript-eslint/types" "6.8.0" + "@typescript-eslint/typescript-estree" "6.8.0" + "@typescript-eslint/visitor-keys" "6.8.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@5.57.1": - version "5.57.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.57.1.tgz#5d28799c0fc8b501a29ba1749d827800ef22d710" - integrity sha512-N/RrBwEUKMIYxSKl0oDK5sFVHd6VI7p9K5MyUlVYAY6dyNb/wHUqndkTd3XhpGlXgnQsBkRZuu4f9kAHghvgPw== +"@typescript-eslint/scope-manager@6.8.0": + version "6.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.8.0.tgz#5cac7977385cde068ab30686889dd59879811efd" + integrity sha512-xe0HNBVwCph7rak+ZHcFD6A+q50SMsFwcmfdjs9Kz4qDh5hWhaPhFjRs/SODEhroBI5Ruyvyz9LfwUJ624O40g== dependencies: - "@typescript-eslint/types" "5.57.1" - "@typescript-eslint/visitor-keys" "5.57.1" + "@typescript-eslint/types" "6.8.0" + "@typescript-eslint/visitor-keys" "6.8.0" -"@typescript-eslint/scope-manager@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz#d9457ccc6a0b8d6b37d0eb252a23022478c5460c" - integrity sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w== +"@typescript-eslint/type-utils@6.8.0": + version "6.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.8.0.tgz#50365e44918ca0fd159844b5d6ea96789731e11f" + integrity sha512-RYOJdlkTJIXW7GSldUIHqc/Hkto8E+fZN96dMIFhuTJcQwdRoGN2rEWA8U6oXbLo0qufH7NPElUb+MceHtz54g== dependencies: - "@typescript-eslint/types" "5.62.0" - "@typescript-eslint/visitor-keys" "5.62.0" - -"@typescript-eslint/type-utils@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.62.0.tgz#286f0389c41681376cdad96b309cedd17d70346a" - integrity sha512-xsSQreu+VnfbqQpW5vnCJdq1Z3Q0U31qiWmRhr98ONQmcp/yhiPJFPq8MXiJVLiksmOKSjIldZzkebzHuCGzew== - dependencies: - "@typescript-eslint/typescript-estree" "5.62.0" - "@typescript-eslint/utils" "5.62.0" + "@typescript-eslint/typescript-estree" "6.8.0" + "@typescript-eslint/utils" "6.8.0" debug "^4.3.4" - tsutils "^3.21.0" - -"@typescript-eslint/types@5.57.1": - version "5.57.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.57.1.tgz#d9989c7a9025897ea6f0550b7036027f69e8a603" - integrity sha512-bSs4LOgyV3bJ08F5RDqO2KXqg3WAdwHCu06zOqcQ6vqbTJizyBhuh1o1ImC69X4bV2g1OJxbH71PJqiO7Y1RuA== + ts-api-utils "^1.0.1" -"@typescript-eslint/types@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f" - integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ== +"@typescript-eslint/types@6.8.0": + version "6.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.8.0.tgz#1ab5d4fe1d613e3f65f6684026ade6b94f7e3ded" + integrity sha512-p5qOxSum7W3k+llc7owEStXlGmSl8FcGvhYt8Vjy7FqEnmkCVlM3P57XQEGj58oqaBWDQXbJDZxwUWMS/EAPNQ== -"@typescript-eslint/typescript-estree@5.57.1": - version "5.57.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.57.1.tgz#10d9643e503afc1ca4f5553d9bbe672ea4050b71" - integrity sha512-A2MZqD8gNT0qHKbk2wRspg7cHbCDCk2tcqt6ScCFLr5Ru8cn+TCfM786DjPhqwseiS+PrYwcXht5ztpEQ6TFTw== +"@typescript-eslint/typescript-estree@6.8.0": + version "6.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.8.0.tgz#9565f15e0cd12f55cf5aa0dfb130a6cb0d436ba1" + integrity sha512-ISgV0lQ8XgW+mvv5My/+iTUdRmGspducmQcDw5JxznasXNnZn3SKNrTRuMsEXv+V/O+Lw9AGcQCfVaOPCAk/Zg== dependencies: - "@typescript-eslint/types" "5.57.1" - "@typescript-eslint/visitor-keys" "5.57.1" + "@typescript-eslint/types" "6.8.0" + "@typescript-eslint/visitor-keys" "6.8.0" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" - semver "^7.3.7" - tsutils "^3.21.0" - -"@typescript-eslint/typescript-estree@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz#7d17794b77fabcac615d6a48fb143330d962eb9b" - integrity sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA== - dependencies: - "@typescript-eslint/types" "5.62.0" - "@typescript-eslint/visitor-keys" "5.62.0" - debug "^4.3.4" - globby "^11.1.0" - is-glob "^4.0.3" - semver "^7.3.7" - tsutils "^3.21.0" - -"@typescript-eslint/utils@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.62.0.tgz#141e809c71636e4a75daa39faed2fb5f4b10df86" - integrity sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ== - dependencies: - "@eslint-community/eslint-utils" "^4.2.0" - "@types/json-schema" "^7.0.9" - "@types/semver" "^7.3.12" - "@typescript-eslint/scope-manager" "5.62.0" - "@typescript-eslint/types" "5.62.0" - "@typescript-eslint/typescript-estree" "5.62.0" - eslint-scope "^5.1.1" - semver "^7.3.7" - -"@typescript-eslint/visitor-keys@5.57.1": - version "5.57.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.57.1.tgz#585e5fa42a9bbcd9065f334fd7c8a4ddfa7d905e" - integrity sha512-RjQrAniDU0CEk5r7iphkm731zKlFiUjvcBS2yHAg8WWqFMCaCrD0rKEVOMUyMMcbGPZ0bPp56srkGWrgfZqLRA== - dependencies: - "@typescript-eslint/types" "5.57.1" - eslint-visitor-keys "^3.3.0" - -"@typescript-eslint/visitor-keys@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz#2174011917ce582875954ffe2f6912d5931e353e" - integrity sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw== - dependencies: - "@typescript-eslint/types" "5.62.0" - eslint-visitor-keys "^3.3.0" + semver "^7.5.4" + ts-api-utils "^1.0.1" + +"@typescript-eslint/utils@6.8.0": + version "6.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.8.0.tgz#d42939c2074c6b59844d0982ce26a51d136c4029" + integrity sha512-dKs1itdE2qFG4jr0dlYLQVppqTE+Itt7GmIf/vX6CSvsW+3ov8PbWauVKyyfNngokhIO9sKZeRGCUo1+N7U98Q== + dependencies: + "@eslint-community/eslint-utils" "^4.4.0" + "@types/json-schema" "^7.0.12" + "@types/semver" "^7.5.0" + "@typescript-eslint/scope-manager" "6.8.0" + "@typescript-eslint/types" "6.8.0" + "@typescript-eslint/typescript-estree" "6.8.0" + semver "^7.5.4" + +"@typescript-eslint/visitor-keys@6.8.0": + version "6.8.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.8.0.tgz#cffebed56ae99c45eba901c378a6447b06be58b8" + integrity sha512-oqAnbA7c+pgOhW2OhGvxm0t1BULX5peQI/rLsNDpGM78EebV3C9IGbX5HNZabuZ6UQrYveCLjKo8Iy/lLlBkkg== + dependencies: + "@typescript-eslint/types" "6.8.0" + eslint-visitor-keys "^3.4.1" acorn-jsx@^5.3.2: version "5.3.2" @@ -776,56 +735,56 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" -esbuild@^0.17.6: - version "0.17.6" - resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.17.6.tgz#bbccd4433629deb6e0a83860b3b61da120ba4e01" - integrity sha512-TKFRp9TxrJDdRWfSsSERKEovm6v30iHnrjlcGhLBOtReE28Yp1VSBRfO3GTaOFMoxsNerx4TjrhzSuma9ha83Q== +esbuild@^0.18.2: + version "0.18.20" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.18.20.tgz#4709f5a34801b43b799ab7d6d82f7284a9b7a7a6" + integrity sha512-ceqxoedUrcayh7Y7ZX6NdbbDzGROiyVBgC4PriJThBKSVPWnnFHZAkfI1lJT8QFkOwH4qOS2SJkS4wvpGl8BpA== optionalDependencies: - "@esbuild/android-arm" "0.17.6" - "@esbuild/android-arm64" "0.17.6" - "@esbuild/android-x64" "0.17.6" - "@esbuild/darwin-arm64" "0.17.6" - "@esbuild/darwin-x64" "0.17.6" - "@esbuild/freebsd-arm64" "0.17.6" - "@esbuild/freebsd-x64" "0.17.6" - "@esbuild/linux-arm" "0.17.6" - "@esbuild/linux-arm64" "0.17.6" - "@esbuild/linux-ia32" "0.17.6" - "@esbuild/linux-loong64" "0.17.6" - "@esbuild/linux-mips64el" "0.17.6" - "@esbuild/linux-ppc64" "0.17.6" - "@esbuild/linux-riscv64" "0.17.6" - "@esbuild/linux-s390x" "0.17.6" - "@esbuild/linux-x64" "0.17.6" - "@esbuild/netbsd-x64" "0.17.6" - "@esbuild/openbsd-x64" "0.17.6" - "@esbuild/sunos-x64" "0.17.6" - "@esbuild/win32-arm64" "0.17.6" - "@esbuild/win32-ia32" "0.17.6" - "@esbuild/win32-x64" "0.17.6" + "@esbuild/android-arm" "0.18.20" + "@esbuild/android-arm64" "0.18.20" + "@esbuild/android-x64" "0.18.20" + "@esbuild/darwin-arm64" "0.18.20" + "@esbuild/darwin-x64" "0.18.20" + "@esbuild/freebsd-arm64" "0.18.20" + "@esbuild/freebsd-x64" "0.18.20" + "@esbuild/linux-arm" "0.18.20" + "@esbuild/linux-arm64" "0.18.20" + "@esbuild/linux-ia32" "0.18.20" + "@esbuild/linux-loong64" "0.18.20" + "@esbuild/linux-mips64el" "0.18.20" + "@esbuild/linux-ppc64" "0.18.20" + "@esbuild/linux-riscv64" "0.18.20" + "@esbuild/linux-s390x" "0.18.20" + "@esbuild/linux-x64" "0.18.20" + "@esbuild/netbsd-x64" "0.18.20" + "@esbuild/openbsd-x64" "0.18.20" + "@esbuild/sunos-x64" "0.18.20" + "@esbuild/win32-arm64" "0.18.20" + "@esbuild/win32-ia32" "0.18.20" + "@esbuild/win32-x64" "0.18.20" escape-string-regexp@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== -eslint-config-prettier@8.10.0: - version "8.10.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.10.0.tgz#3a06a662130807e2502fc3ff8b4143d8a0658e11" - integrity sha512-SM8AMJdeQqRYT9O9zguiruQZaN7+z+E4eAP9oiLNGKMtomwaB1E9dcgUD6ZAn/eQAb52USbvezbiljfZUhbJcg== +eslint-config-prettier@9.0.0: + version "9.0.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-9.0.0.tgz#eb25485946dd0c66cd216a46232dc05451518d1f" + integrity sha512-IcJsTkJae2S35pRsRAwoCE+925rJJStOdkKnLVgtE+tEpqU0EVVM7OqrwxqgptKdX29NUwC82I5pXsGFIgSevw== -eslint-config-standard-with-typescript@34.0.1: - version "34.0.1" - resolved "https://registry.yarnpkg.com/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-34.0.1.tgz#4cf797c7f54b2eb1683c7e990b45a257ed4a9992" - integrity sha512-J7WvZeLtd0Vr9F+v4dZbqJCLD16cbIy4U+alJMq4MiXdpipdBM3U5NkXaGUjePc4sb1ZE01U9g6VuTBpHHz1fg== +eslint-config-standard-with-typescript@39.1.1: + version "39.1.1" + resolved "https://registry.yarnpkg.com/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-39.1.1.tgz#d682bd1fc8f1ee996940f85c9b0a833d7cfa5fee" + integrity sha512-t6B5Ep8E4I18uuoYeYxINyqcXb2UbC0SOOTxRtBSt2JUs+EzeXbfe2oaiPs71AIdnoWhXDO2fYOHz8df3kV84A== dependencies: - "@typescript-eslint/parser" "^5.43.0" - eslint-config-standard "17.0.0" + "@typescript-eslint/parser" "^6.4.0" + eslint-config-standard "17.1.0" -eslint-config-standard@17.0.0: - version "17.0.0" - resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-17.0.0.tgz#fd5b6cf1dcf6ba8d29f200c461de2e19069888cf" - integrity sha512-/2ks1GKyqSOkH7JFvXJicu0iMpoojkwB+f5Du/1SC0PtBL+s8v30k9njRZ21pm2drKYm2342jFnGWzttxPmZVg== +eslint-config-standard@17.1.0: + version "17.1.0" + resolved "https://registry.yarnpkg.com/eslint-config-standard/-/eslint-config-standard-17.1.0.tgz#40ffb8595d47a6b242e07cbfd49dc211ed128975" + integrity sha512-IwHwmaBNtDK4zDHQukFDW5u/aTb8+meQWZvNFWkiGmbWjD6bqyuSSBxxXKkCftCUzc1zwCH2m/baCNDLGmuO5Q== eslint-import-resolver-node@^0.3.7: version "0.3.7" @@ -843,6 +802,14 @@ eslint-module-utils@^2.8.0: dependencies: debug "^3.2.7" +eslint-plugin-es-x@^7.1.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-es-x/-/eslint-plugin-es-x-7.2.0.tgz#5779d742ad31f8fd780b9481331481e142b72311" + integrity sha512-9dvv5CcvNjSJPqnS5uZkqb3xmbeqRLnvXKK7iI5+oK/yTusyc46zbBZKENGsOfojm/mKfszyZb+wNqNPAPeGXA== + dependencies: + "@eslint-community/eslint-utils" "^4.1.2" + "@eslint-community/regexpp" "^4.6.0" + eslint-plugin-es@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz#75a7cdfdccddc0589934aeeb384175f221c57893" @@ -851,18 +818,10 @@ eslint-plugin-es@^3.0.0: eslint-utils "^2.0.0" regexpp "^3.0.0" -eslint-plugin-es@^4.1.0: - version "4.1.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-4.1.0.tgz#f0822f0c18a535a97c3e714e89f88586a7641ec9" - integrity sha512-GILhQTnjYE2WorX5Jyi5i4dz5ALWxBIdQECVQavL6s7cI76IZTDWleTHkxz/QT3kvcs2QlGHvKLYsSlPOlPXnQ== - dependencies: - eslint-utils "^2.0.0" - regexpp "^3.0.0" - -eslint-plugin-import@2.28.0: - version "2.28.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.28.0.tgz#8d66d6925117b06c4018d491ae84469eb3cb1005" - integrity sha512-B8s/n+ZluN7sxj9eUf7/pRFERX0r5bnFA2dCaLHy2ZeaQEAz0k+ZZkFWRFHJAqxfxQDx6KLv9LeIki7cFdwW+Q== +eslint-plugin-import@2.28.1: + version "2.28.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.28.1.tgz#63b8b5b3c409bfc75ebaf8fb206b07ab435482c4" + integrity sha512-9I9hFlITvOV55alzoKBI+K9q74kv0iKMeY6av5+umsNwayt59fz692daGyjR+oStBQgx6nwR9rXldDev3Clw+A== dependencies: array-includes "^3.1.6" array.prototype.findlastindex "^1.2.2" @@ -873,29 +832,29 @@ eslint-plugin-import@2.28.0: eslint-import-resolver-node "^0.3.7" eslint-module-utils "^2.8.0" has "^1.0.3" - is-core-module "^2.12.1" + is-core-module "^2.13.0" is-glob "^4.0.3" minimatch "^3.1.2" object.fromentries "^2.0.6" object.groupby "^1.0.0" object.values "^1.1.6" - resolve "^1.22.3" semver "^6.3.1" tsconfig-paths "^3.14.2" -eslint-plugin-n@15.7.0: - version "15.7.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-15.7.0.tgz#e29221d8f5174f84d18f2eb94765f2eeea033b90" - integrity sha512-jDex9s7D/Qial8AGVIHq4W7NswpUD5DPDL2RH8Lzd9EloWUuvUkHfv4FRLMipH5q2UtyurorBkPeNi1wVWNh3Q== +eslint-plugin-n@16.2.0: + version "16.2.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-16.2.0.tgz#3f98ca9fadd9f7bdaaf60068533118ecb685bfb5" + integrity sha512-AQER2jEyQOt1LG6JkGJCCIFotzmlcCZFur2wdKrp1JX2cNotC7Ae0BcD/4lLv3lUAArM9uNS8z/fsvXTd0L71g== dependencies: + "@eslint-community/eslint-utils" "^4.4.0" builtins "^5.0.1" - eslint-plugin-es "^4.1.0" - eslint-utils "^3.0.0" - ignore "^5.1.1" - is-core-module "^2.11.0" + eslint-plugin-es-x "^7.1.0" + get-tsconfig "^4.7.0" + ignore "^5.2.4" + is-core-module "^2.12.1" minimatch "^3.1.2" - resolve "^1.22.1" - semver "^7.3.8" + resolve "^1.22.2" + semver "^7.5.3" eslint-plugin-node@11.1.0: version "11.1.0" @@ -921,14 +880,6 @@ eslint-plugin-security@1.7.1: dependencies: safe-regex "^2.1.1" -eslint-scope@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" - integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== - dependencies: - esrecurse "^4.3.0" - estraverse "^4.1.1" - eslint-scope@^7.2.2: version "7.2.2" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" @@ -944,23 +895,11 @@ eslint-utils@^2.0.0: dependencies: eslint-visitor-keys "^1.1.0" -eslint-utils@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-3.0.0.tgz#8aebaface7345bb33559db0a1f13a1d2d48c3672" - integrity sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA== - dependencies: - eslint-visitor-keys "^2.0.0" - eslint-visitor-keys@^1.1.0: version "1.3.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== -eslint-visitor-keys@^2.0.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" - integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== - eslint-visitor-keys@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" @@ -971,21 +910,21 @@ eslint-visitor-keys@^3.4.1: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.1.tgz#c22c48f48942d08ca824cc526211ae400478a994" integrity sha512-pZnmmLwYzf+kWaM/Qgrvpen51upAktaaiI01nsJD/Yr3lMOdNtq0cxkrrg16w64VtisN6okbs7Q8AfGqj4c9fA== -eslint-visitor-keys@^3.4.2: - version "3.4.2" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.2.tgz#8c2095440eca8c933bedcadf16fefa44dbe9ba5f" - integrity sha512-8drBzUEyZ2llkpCA67iYrgEssKDUu68V8ChqqOfFupIaG/LCVPUT+CoGJpT77zJprs4T/W7p07LP7zAIMuweVw== +eslint-visitor-keys@^3.4.3: + version "3.4.3" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" + integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== -eslint@8.46.0: - version "8.46.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.46.0.tgz#a06a0ff6974e53e643acc42d1dcf2e7f797b3552" - integrity sha512-cIO74PvbW0qU8e0mIvk5IV3ToWdCq5FYG6gWPHHkx6gNdjlbAYvtfHmlCMXxjcoVaIdwy/IAt3+mDkZkfvb2Dg== +eslint@8.51.0: + version "8.51.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.51.0.tgz#4a82dae60d209ac89a5cff1604fea978ba4950f3" + integrity sha512-2WuxRZBrlwnXi+/vFSJyjMqrNjtJqiasMzehF0shoLaW7DzS3/9Yvrmq5JiT66+pNjiX4UBnLDiKHcWAr/OInA== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.6.1" - "@eslint/eslintrc" "^2.1.1" - "@eslint/js" "^8.46.0" - "@humanwhocodes/config-array" "^0.11.10" + "@eslint/eslintrc" "^2.1.2" + "@eslint/js" "8.51.0" + "@humanwhocodes/config-array" "^0.11.11" "@humanwhocodes/module-importer" "^1.0.1" "@nodelib/fs.walk" "^1.2.8" ajv "^6.12.4" @@ -995,7 +934,7 @@ eslint@8.46.0: doctrine "^3.0.0" escape-string-regexp "^4.0.0" eslint-scope "^7.2.2" - eslint-visitor-keys "^3.4.2" + eslint-visitor-keys "^3.4.3" espree "^9.6.1" esquery "^1.4.2" esutils "^2.0.2" @@ -1042,11 +981,6 @@ esrecurse@^4.3.0: dependencies: estraverse "^5.2.0" -estraverse@^4.1.1: - version "4.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" - integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== - estraverse@^5.1.0, estraverse@^5.2.0: version "5.3.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" @@ -1218,6 +1152,13 @@ get-symbol-description@^1.0.0: call-bind "^1.0.2" get-intrinsic "^1.1.1" +get-tsconfig@^4.7.0: + version "4.7.2" + resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.7.2.tgz#0dcd6fb330391d46332f4c6c1bf89a6514c2ddce" + integrity sha512-wuMsz4leaj5hbGgg4IvDU0bqJagpftG5l5cXIAvo8uZrqn0NJqwtfupTN00VnkQJPcIRrxYrm1Ue24btpCha2A== + dependencies: + resolve-pkg-maps "^1.0.0" + glob-parent@^5.1.2, glob-parent@~5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" @@ -1357,6 +1298,11 @@ ignore@^5.1.1, ignore@^5.2.0: resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== +ignore@^5.2.4: + version "5.2.4" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.4.tgz#a291c0c6178ff1b960befe47fcdec301674a6324" + integrity sha512-MAb38BcSbH0eHNBxn7ql2NH/kX33OkB3lZ1BNdh7ENeRChHTYsTvWrMubiIAMNS2llXEEgZ1MUOBtXChP3kaFQ== + import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" @@ -1750,11 +1696,6 @@ mz@^2.7.0: object-assign "^4.0.1" thenify-all "^1.0.0" -natural-compare-lite@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz#17b09581988979fddafe0201e931ba933c96cbb4" - integrity sha512-Tj+HTDSJJKaZnfiuw+iaF9skdPpTo2GtEly5JHnWV/hfv2Qj/9RKsGISQtLh2ox3l5EAGw487hnBee0sIJ6v2g== - natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" @@ -1932,23 +1873,23 @@ pirates@^4.0.1: resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== -postcss-load-config@^3.0.1: - version "3.1.4" - resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-3.1.4.tgz#1ab2571faf84bb078877e1d07905eabe9ebda855" - integrity sha512-6DiM4E7v4coTE4uzA8U//WhtPwyhiim3eyjEMFCnUpzbrkK9wJHgKDT2mR+HbtSrd/NubVaYTOpSpjUl8NQeRg== +postcss-load-config@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/postcss-load-config/-/postcss-load-config-4.0.1.tgz#152383f481c2758274404e4962743191d73875bd" + integrity sha512-vEJIc8RdiBRu3oRAI0ymerOn+7rPuMvRXslTvZUKZonDHFIczxztIyJ1urxM1x9JXEikvpWWTUUqal5j/8QgvA== dependencies: lilconfig "^2.0.5" - yaml "^1.10.2" + yaml "^2.1.1" prelude-ls@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== -prettier@2.8.8: - version "2.8.8" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" - integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== +prettier@3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.3.tgz#432a51f7ba422d1469096c0fdc28e235db8f9643" + integrity sha512-L/4pUDMxcNa8R/EthV08Zt42WBO4h1rarVtK0K+QJG0X187OLo7l699jWw0GKuwzkPQ//jMFA/8Xm6Fh3J/DAg== punycode@^2.1.0: version "2.1.1" @@ -2005,6 +1946,11 @@ resolve-from@^5.0.0: resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" integrity sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw== +resolve-pkg-maps@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz#616b3dc2c57056b5588c31cdf4b3d64db133720f" + integrity sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw== + resolve@^1.10.1: version "1.22.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.0.tgz#5e0b8c67c15df57a89bdbabe603a002f21731198" @@ -2023,7 +1969,7 @@ resolve@^1.22.1: path-parse "^1.0.7" supports-preserve-symlinks-flag "^1.0.0" -resolve@^1.22.3: +resolve@^1.22.2: version "1.22.4" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.4.tgz#1dc40df46554cdaf8948a486a10f6ba1e2026c34" integrity sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg== @@ -2084,7 +2030,7 @@ safe-regex@^2.1.1: dependencies: regexp-tree "~0.1.1" -semver@>=7.5.2, semver@^6.1.0, semver@^6.3.1, semver@^7.0.0, semver@^7.3.7, semver@^7.3.8: +semver@>=7.5.2, semver@^6.1.0, semver@^6.3.1, semver@^7.0.0, semver@^7.5.3, semver@^7.5.4: version "7.5.4" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== @@ -2273,6 +2219,11 @@ tree-kill@^1.2.2: resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== +ts-api-utils@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.0.1.tgz#8144e811d44c749cd65b2da305a032510774452d" + integrity sha512-lC/RGlPmwdrIBFTX59wwNzqh7aR2otPNPR/5brHZm/XKFYKsfqxihXUe9pU3JI+3vGkl+vyCoNNnPhJn3aLK1A== + ts-interface-checker@^0.1.9: version "0.1.13" resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699" @@ -2288,38 +2239,26 @@ tsconfig-paths@^3.14.2: minimist "^1.2.6" strip-bom "^3.0.0" -tslib@^1.8.1: - version "1.14.1" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" - integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== - -tsup@6.7.0: - version "6.7.0" - resolved "https://registry.yarnpkg.com/tsup/-/tsup-6.7.0.tgz#416f350f32a07b6ae86792ad7e52b0cafc566d64" - integrity sha512-L3o8hGkaHnu5TdJns+mCqFsDBo83bJ44rlK7e6VdanIvpea4ArPcU3swWGsLVbXak1PqQx/V+SSmFPujBK+zEQ== +tsup@7.2.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/tsup/-/tsup-7.2.0.tgz#bb24c0d5e436477900c712e42adc67200607303c" + integrity sha512-vDHlczXbgUvY3rWvqFEbSqmC1L7woozbzngMqTtL2PGBODTtWlRwGDDawhvWzr5c1QjKe4OAKqJGfE1xeXUvtQ== dependencies: bundle-require "^4.0.0" cac "^6.7.12" chokidar "^3.5.1" debug "^4.3.1" - esbuild "^0.17.6" + esbuild "^0.18.2" execa "^5.0.0" globby "^11.0.3" joycon "^3.0.1" - postcss-load-config "^3.0.1" + postcss-load-config "^4.0.1" resolve-from "^5.0.0" rollup "^3.2.5" source-map "0.8.0-beta.0" sucrase "^3.20.3" tree-kill "^1.2.2" -tsutils@^3.21.0: - version "3.21.0" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" - integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== - dependencies: - tslib "^1.8.1" - type-check@^0.4.0, type-check@~0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1" @@ -2500,10 +2439,10 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== -yaml@^1.10.2: - version "1.10.2" - resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" - integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== +yaml@^2.1.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.3.1.tgz#02fe0975d23cd441242aa7204e09fc28ac2ac33b" + integrity sha512-2eHWfjaoXgTBC2jNM1LRef62VQa0umtvRiDSk6HSzW7RvS5YtkabJrwYLLEKWBc8a5U2PTSCs+dJjUTJdlHsWQ== yocto-queue@^0.1.0: version "0.1.0"