@gkd-kit/docs 0.0.1708194226702 → 0.0.1708194553694

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/.vitepress/dist/404.html +4 -4
  2. package/.vitepress/dist/api/index.html +7 -7
  3. package/.vitepress/dist/api/interfaces/RawApp.html +7 -7
  4. package/.vitepress/dist/api/interfaces/RawAppGroup.html +7 -7
  5. package/.vitepress/dist/api/interfaces/RawAppRule.html +7 -7
  6. package/.vitepress/dist/api/interfaces/RawAppRuleProps.html +7 -7
  7. package/.vitepress/dist/api/interfaces/RawCategory.html +7 -7
  8. package/.vitepress/dist/api/interfaces/RawCommonProps.html +7 -7
  9. package/.vitepress/dist/api/interfaces/RawGlobalApp.html +7 -7
  10. package/.vitepress/dist/api/interfaces/RawGlobalGroup.html +7 -7
  11. package/.vitepress/dist/api/interfaces/RawGlobalRule.html +7 -7
  12. package/.vitepress/dist/api/interfaces/RawGlobalRuleProps.html +7 -7
  13. package/.vitepress/dist/api/interfaces/RawGroupProps.html +7 -7
  14. package/.vitepress/dist/api/interfaces/RawRuleProps.html +7 -7
  15. package/.vitepress/dist/api/interfaces/RawSubscription.html +7 -7
  16. package/.vitepress/dist/api/type-aliases/IArray.html +7 -7
  17. package/.vitepress/dist/api/type-aliases/Integer.html +7 -7
  18. package/.vitepress/dist/api/type-aliases/Position.html +8 -8
  19. package/.vitepress/dist/assets/{api_type-aliases_Position.md.tcCL-m6Z.js → api_type-aliases_Position.md.TYqejZ3I.js} +1 -1
  20. package/.vitepress/dist/assets/{app.tJNN2Ilv.js → app.2WOq_4WV.js} +1 -1
  21. package/.vitepress/dist/assets/chunks/@localSearchIndexroot.ttD-8lQj.js +1 -0
  22. package/.vitepress/dist/assets/chunks/{VPLocalSearchBox.pBfwUwW9.js → VPLocalSearchBox.Gc37iIEs.js} +2 -2
  23. package/.vitepress/dist/assets/chunks/{theme.HGLlTAcT.js → theme.goU0gbjD.js} +1 -1
  24. package/.vitepress/dist/assets/{faq_index.md.iV9EhRFM.js → faq_index.md.XMySyGkN.js} +1 -1
  25. package/.vitepress/dist/assets/{faq_index.md.iV9EhRFM.lean.js → faq_index.md.XMySyGkN.lean.js} +1 -1
  26. package/.vitepress/dist/assets/{guide_index.md.gzQkpZy1.js → guide_index.md.MiiOBWyM.js} +1 -1
  27. package/.vitepress/dist/assets/{guide_index.md.gzQkpZy1.lean.js → guide_index.md.MiiOBWyM.lean.js} +1 -1
  28. package/.vitepress/dist/assets/{index.md.-pEWd_tZ.js → index.md.Fp7QGIHx.js} +1 -1
  29. package/.vitepress/dist/assets/{index.md.-pEWd_tZ.lean.js → index.md.Fp7QGIHx.lean.js} +1 -1
  30. package/.vitepress/dist/assets/{scription_index.md.T30vokbh.js → scription_index.md.E6LU-0-O.js} +1 -1
  31. package/.vitepress/dist/assets/{scription_index.md.T30vokbh.lean.js → scription_index.md.E6LU-0-O.lean.js} +1 -1
  32. package/.vitepress/dist/assets/{selector_index.md.iksy7quu.js → selector_index.md.Fs1SLBfj.js} +1 -1
  33. package/.vitepress/dist/assets/{selector_index.md.iksy7quu.lean.js → selector_index.md.Fs1SLBfj.lean.js} +1 -1
  34. package/.vitepress/dist/assets/style.neYbxcEm.css +1 -1
  35. package/.vitepress/dist/faq/index.html +8 -8
  36. package/.vitepress/dist/guide/index.html +8 -8
  37. package/.vitepress/dist/hashmap.json +1 -1
  38. package/.vitepress/dist/index.html +7 -7
  39. package/.vitepress/dist/scription/index.html +8 -8
  40. package/.vitepress/dist/selector/index.html +8 -8
  41. package/package.json +1 -1
  42. package/.vitepress/dist/assets/chunks/@localSearchIndexroot.P8n6De6j.js +0 -1
  43. /package/.vitepress/dist/assets/{api_type-aliases_Position.md.tcCL-m6Z.lean.js → api_type-aliases_Position.md.TYqejZ3I.lean.js} +0 -0
@@ -6,13 +6,13 @@
6
6
  <title>Position | GKD</title>
7
7
  <meta name="description" content="自定义屏幕点击应用">
8
8
  <meta name="generator" content="VitePress v1.0.0-rc.42">
9
- <link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1708194226702/files/.vitepress/dist/assets/style.neYbxcEm.css" as="style">
9
+ <link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1708194553694/files/.vitepress/dist/assets/style.neYbxcEm.css" as="style">
10
10
 
11
- <script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1708194226702/files/.vitepress/dist/assets/app.tJNN2Ilv.js"></script>
12
- <link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1708194226702/files/.vitepress/dist/assets/inter-roman-latin.bvIUbFQP.woff2" as="font" type="font/woff2" crossorigin>
13
- <link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1708194226702/files/.vitepress/dist/assets/chunks/framework.CR5kvWbS.js">
14
- <link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1708194226702/files/.vitepress/dist/assets/chunks/theme.HGLlTAcT.js">
15
- <link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1708194226702/files/.vitepress/dist/assets/api_type-aliases_Position.md.tcCL-m6Z.lean.js">
11
+ <script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1708194553694/files/.vitepress/dist/assets/app.2WOq_4WV.js"></script>
12
+ <link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1708194553694/files/.vitepress/dist/assets/inter-roman-latin.bvIUbFQP.woff2" as="font" type="font/woff2" crossorigin>
13
+ <link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1708194553694/files/.vitepress/dist/assets/chunks/framework.CR5kvWbS.js">
14
+ <link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1708194553694/files/.vitepress/dist/assets/chunks/theme.goU0gbjD.js">
15
+ <link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1708194553694/files/.vitepress/dist/assets/api_type-aliases_Position.md.TYqejZ3I.lean.js">
16
16
  <link rel="icon" type="image/svg+xml" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1706371840771/files/.vitepress/dist/logo.svg">
17
17
  <script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
18
18
  <script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
@@ -27,11 +27,11 @@
27
27
  <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>示例2-点击目标节点的右上区域</p><ul><li><a href="https://i.gkd.li/import/14112390" target="_blank" rel="noreferrer">https://i.gkd.li/import/14112390</a></li><li><a href="https://i.gkd.li/import/14319672" target="_blank" rel="noreferrer">https://i.gkd.li/import/14319672</a></li><li><a href="https://github.com/gkd-kit/gkd/assets/38517192/2cac0614-5eba-48a1-9149-4e564cb79945" target="_blank" rel="noreferrer">https://github.com/gkd-kit/gkd/assets/38517192/2cac0614-5eba-48a1-9149-4e564cb79945</a></li></ul><div class="language-json5 vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">json5</span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
28
28
  <span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> right</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'width*0.1352'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
29
29
  <span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> top</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'width*0.0852'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
30
- <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><h2 id="type-declaration" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration" aria-label="Permalink to &quot;Type declaration&quot;">​</a></h2><h3 id="left" tabindex="-1">left? <a class="header-anchor" href="#left" aria-label="Permalink to &quot;left?&quot;">​</a></h3><blockquote><p><strong>left</strong>?: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点左边的距离</p><p>方向: 边 -> 节点中心, 负数表示反方向(也可点击节点外部区域)</p><p>支持两种值类型, 字符串和数字, 数字等价于相同内容的字符串, 如 2.5 等价于 '2.5'</p><p>字符串类型支持来自快照属性面板上的 left/top/right/bottom/width/height 的数学表达式运算</p><h4 id="example" tabindex="-1">Example <a class="header-anchor" href="#example" aria-label="Permalink to &quot;Example&quot;">​</a></h4><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">2.5</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span>
30
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><h2 id="type-declaration" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration" aria-label="Permalink to &quot;Type declaration&quot;">​</a></h2><h3 id="left" tabindex="-1">left? <a class="header-anchor" href="#left" aria-label="Permalink to &quot;left?&quot;">​</a></h3><blockquote><p><strong>left</strong>?: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点左边的距离</p><p>方向: 边 -> 节点中心, 负数表示反方向(也可点击节点外部区域)</p><p>支持两种值类型, 字符串和数字, 数字等价于相同内容的字符串, 如 2.5 等价于 '2.5'</p><p>字符串类型支持来自快照属性面板上的 left/top/right/bottom/width/height 的数学计算表达式</p><h4 id="example" tabindex="-1">Example <a class="header-anchor" href="#example" aria-label="Permalink to &quot;Example&quot;">​</a></h4><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">2.5</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span>
31
31
  <span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'2.5'</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span>
32
32
  <span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'2.5 + 1 - 2 * 3 / 4 ^ 5 % 6'</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span>
33
33
  <span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'(right + left) / 2'</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span></code></pre></div><h3 id="top" tabindex="-1">top? <a class="header-anchor" href="#top" aria-label="Permalink to &quot;top?&quot;">​</a></h3><blockquote><p><strong>top</strong>?: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点上边的距离</p><h3 id="right" tabindex="-1">right? <a class="header-anchor" href="#right" aria-label="Permalink to &quot;right?&quot;">​</a></h3><blockquote><p><strong>right</strong>?: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点右边的距离</p><h3 id="bottom" tabindex="-1">bottom? <a class="header-anchor" href="#bottom" aria-label="Permalink to &quot;bottom?&quot;">​</a></h3><blockquote><p><strong>bottom</strong>?: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点下边的距离</p></div></div></main><footer class="VPDocFooter" data-v-85aca90a data-v-4f9daa67><!--[--><!--]--><div class="edit-info" data-v-4f9daa67><div class="edit-link" data-v-4f9daa67><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/gkd-kit/docs/edit/main/api/type-aliases/Position.md" target="_blank" rel="noreferrer" data-v-4f9daa67><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="edit-link-icon" aria-label="edit icon" data-v-4f9daa67=""><path d="M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"/><path d="M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"/></svg> 为此页提供修改建议<!--]--></a></div><!----></div><nav class="prev-next" data-v-4f9daa67><div class="pager" data-v-4f9daa67><a class="VPLink link pager-link prev" href="/api/interfaces/RawGlobalRuleProps.html" data-v-4f9daa67><!--[--><span class="desc" data-v-4f9daa67>Previous page</span><span class="title" data-v-4f9daa67>RawGlobalRuleProps</span><!--]--></a></div><div class="pager" data-v-4f9daa67><a class="VPLink link pager-link next" href="/api/type-aliases/IArray.html" data-v-4f9daa67><!--[--><span class="desc" data-v-4f9daa67>Next page</span><span class="title" data-v-4f9daa67>IArray</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-120b6ba4 data-v-995d78c1><div class="container" data-v-995d78c1><p class="message" data-v-995d78c1>Released under the GPL-v3 License.</p><p class="copyright" data-v-995d78c1>Copyright © 2024 GKD. All rights reserved</p></div></footer><!--[--><!--]--></div></div>
34
- <script>window.__VP_HASH_MAP__=JSON.parse("{\"api_index.md\":\"aMHhlw17\",\"api_interfaces_rawglobalruleprops.md\":\"C4GPyQwY\",\"api_interfaces_rawgroupprops.md\":\"IWuByOby\",\"api_interfaces_rawcommonprops.md\":\"4nTNWagF\",\"api_interfaces_rawappruleprops.md\":\"8KeTIIw8\",\"api_type-aliases_iarray.md\":\"YOTqGaCi\",\"api_interfaces_rawapp.md\":\"fc6I_RrC\",\"api_type-aliases_integer.md\":\"EMl-Vf1_\",\"faq_index.md\":\"iV9EhRFM\",\"api_type-aliases_position.md\":\"tcCL-m6Z\",\"api_interfaces_rawglobalapp.md\":\"1a_q0jWK\",\"api_interfaces_rawglobalrule.md\":\"t2XzoCtK\",\"api_interfaces_rawappgroup.md\":\"sRqOsQ6V\",\"api_interfaces_rawsubscription.md\":\"KS-qtgFO\",\"api_interfaces_rawruleprops.md\":\"-71MX1QT\",\"index.md\":\"-pEWd_tZ\",\"scription_index.md\":\"T30vokbh\",\"api_interfaces_rawapprule.md\":\"9ofILMkZ\",\"api_interfaces_rawglobalgroup.md\":\"gVwHEDU9\",\"api_interfaces_rawcategory.md\":\"04prqjmH\",\"selector_index.md\":\"iksy7quu\",\"guide_index.md\":\"gzQkpZy1\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"GKD\",\"description\":\"自定义屏幕点击应用\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1706371840771/files/.vitepress/dist/logo.svg\",\"nav\":[{\"text\":\"首页\",\"link\":\"/\"},{\"text\":\"API\",\"link\":\"/api/\"}],\"sidebar\":[{\"text\":\"指引\",\"items\":[{\"text\":\"开始使用\",\"link\":\"/guide/\"},{\"text\":\"高级选择器\",\"link\":\"/selector/\"},{\"text\":\"订阅规则\",\"link\":\"/scription/\"},{\"text\":\"疑难解答\",\"link\":\"/faq/\"}]},{\"text\":\"API\",\"link\":\"/api/\",\"collapsed\":true,\"items\":[{\"text\":\"Interfaces\",\"collapsed\":true,\"items\":[{\"text\":\"RawSubscription\",\"link\":\"/api/interfaces/RawSubscription.md\"},{\"text\":\"RawApp\",\"link\":\"/api/interfaces/RawApp.md\"},{\"text\":\"RawGlobalGroup\",\"link\":\"/api/interfaces/RawGlobalGroup.md\"},{\"text\":\"RawCategory\",\"link\":\"/api/interfaces/RawCategory.md\"},{\"text\":\"RawAppRule\",\"link\":\"/api/interfaces/RawAppRule.md\"},{\"text\":\"RawAppGroup\",\"link\":\"/api/interfaces/RawAppGroup.md\"},{\"text\":\"RawGlobalRule\",\"link\":\"/api/interfaces/RawGlobalRule.md\"},{\"text\":\"RawGlobalApp\",\"link\":\"/api/interfaces/RawGlobalApp.md\"},{\"text\":\"RawCommonProps\",\"link\":\"/api/interfaces/RawCommonProps.md\"},{\"text\":\"RawRuleProps\",\"link\":\"/api/interfaces/RawRuleProps.md\"},{\"text\":\"RawGroupProps\",\"link\":\"/api/interfaces/RawGroupProps.md\"},{\"text\":\"RawAppRuleProps\",\"link\":\"/api/interfaces/RawAppRuleProps.md\"},{\"text\":\"RawGlobalRuleProps\",\"link\":\"/api/interfaces/RawGlobalRuleProps.md\"}]},{\"text\":\"Type Aliases\",\"collapsed\":true,\"items\":[{\"text\":\"Position\",\"link\":\"/api/type-aliases/Position.md\"},{\"text\":\"IArray\",\"link\":\"/api/type-aliases/IArray.md\"},{\"text\":\"Integer\",\"link\":\"/api/type-aliases/Integer.md\"}]}]}],\"outline\":{\"label\":\"页面导航\"},\"editLink\":{\"pattern\":\"https://github.com/gkd-kit/docs/edit/main/:path\",\"text\":\"为此页提供修改建议\"},\"search\":{\"provider\":\"local\"},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/gkd-kit\"}],\"footer\":{\"message\":\"Released under the GPL-v3 License.\",\"copyright\":\"Copyright © 2024 GKD. All rights reserved\"}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
34
+ <script>window.__VP_HASH_MAP__=JSON.parse("{\"api_interfaces_rawcommonprops.md\":\"4nTNWagF\",\"scription_index.md\":\"E6LU-0-O\",\"api_index.md\":\"aMHhlw17\",\"api_type-aliases_iarray.md\":\"YOTqGaCi\",\"api_interfaces_rawapp.md\":\"fc6I_RrC\",\"api_interfaces_rawglobalapp.md\":\"1a_q0jWK\",\"api_interfaces_rawglobalrule.md\":\"t2XzoCtK\",\"api_interfaces_rawappgroup.md\":\"sRqOsQ6V\",\"index.md\":\"Fp7QGIHx\",\"api_type-aliases_integer.md\":\"EMl-Vf1_\",\"api_interfaces_rawsubscription.md\":\"KS-qtgFO\",\"api_interfaces_rawglobalruleprops.md\":\"C4GPyQwY\",\"api_type-aliases_position.md\":\"TYqejZ3I\",\"guide_index.md\":\"MiiOBWyM\",\"selector_index.md\":\"Fs1SLBfj\",\"api_interfaces_rawgroupprops.md\":\"IWuByOby\",\"api_interfaces_rawapprule.md\":\"9ofILMkZ\",\"api_interfaces_rawappruleprops.md\":\"8KeTIIw8\",\"api_interfaces_rawcategory.md\":\"04prqjmH\",\"faq_index.md\":\"XMySyGkN\",\"api_interfaces_rawglobalgroup.md\":\"gVwHEDU9\",\"api_interfaces_rawruleprops.md\":\"-71MX1QT\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"GKD\",\"description\":\"自定义屏幕点击应用\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"logo\":\"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1706371840771/files/.vitepress/dist/logo.svg\",\"nav\":[{\"text\":\"首页\",\"link\":\"/\"},{\"text\":\"API\",\"link\":\"/api/\"}],\"sidebar\":[{\"text\":\"指引\",\"items\":[{\"text\":\"开始使用\",\"link\":\"/guide/\"},{\"text\":\"高级选择器\",\"link\":\"/selector/\"},{\"text\":\"订阅规则\",\"link\":\"/scription/\"},{\"text\":\"疑难解答\",\"link\":\"/faq/\"}]},{\"text\":\"API\",\"link\":\"/api/\",\"collapsed\":true,\"items\":[{\"text\":\"Interfaces\",\"collapsed\":true,\"items\":[{\"text\":\"RawSubscription\",\"link\":\"/api/interfaces/RawSubscription.md\"},{\"text\":\"RawApp\",\"link\":\"/api/interfaces/RawApp.md\"},{\"text\":\"RawGlobalGroup\",\"link\":\"/api/interfaces/RawGlobalGroup.md\"},{\"text\":\"RawCategory\",\"link\":\"/api/interfaces/RawCategory.md\"},{\"text\":\"RawAppRule\",\"link\":\"/api/interfaces/RawAppRule.md\"},{\"text\":\"RawAppGroup\",\"link\":\"/api/interfaces/RawAppGroup.md\"},{\"text\":\"RawGlobalRule\",\"link\":\"/api/interfaces/RawGlobalRule.md\"},{\"text\":\"RawGlobalApp\",\"link\":\"/api/interfaces/RawGlobalApp.md\"},{\"text\":\"RawCommonProps\",\"link\":\"/api/interfaces/RawCommonProps.md\"},{\"text\":\"RawRuleProps\",\"link\":\"/api/interfaces/RawRuleProps.md\"},{\"text\":\"RawGroupProps\",\"link\":\"/api/interfaces/RawGroupProps.md\"},{\"text\":\"RawAppRuleProps\",\"link\":\"/api/interfaces/RawAppRuleProps.md\"},{\"text\":\"RawGlobalRuleProps\",\"link\":\"/api/interfaces/RawGlobalRuleProps.md\"}]},{\"text\":\"Type Aliases\",\"collapsed\":true,\"items\":[{\"text\":\"Position\",\"link\":\"/api/type-aliases/Position.md\"},{\"text\":\"IArray\",\"link\":\"/api/type-aliases/IArray.md\"},{\"text\":\"Integer\",\"link\":\"/api/type-aliases/Integer.md\"}]}]}],\"outline\":{\"label\":\"页面导航\"},\"editLink\":{\"pattern\":\"https://github.com/gkd-kit/docs/edit/main/:path\",\"text\":\"为此页提供修改建议\"},\"search\":{\"provider\":\"local\"},\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/gkd-kit\"}],\"footer\":{\"message\":\"Released under the GPL-v3 License.\",\"copyright\":\"Copyright © 2024 GKD. All rights reserved\"}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
35
35
 
36
36
  </body>
37
37
  </html>
@@ -7,7 +7,7 @@ import{_ as s,c as i,o as a,V as t}from"./chunks/framework.CR5kvWbS.js";const E=
7
7
  <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>示例2-点击目标节点的右上区域</p><ul><li><a href="https://i.gkd.li/import/14112390" target="_blank" rel="noreferrer">https://i.gkd.li/import/14112390</a></li><li><a href="https://i.gkd.li/import/14319672" target="_blank" rel="noreferrer">https://i.gkd.li/import/14319672</a></li><li><a href="https://github.com/gkd-kit/gkd/assets/38517192/2cac0614-5eba-48a1-9149-4e564cb79945" target="_blank" rel="noreferrer">https://github.com/gkd-kit/gkd/assets/38517192/2cac0614-5eba-48a1-9149-4e564cb79945</a></li></ul><div class="language-json5 vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">json5</span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
8
8
  <span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> right</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;width*0.1352&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
9
9
  <span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> top</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;width*0.0852&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
10
- <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><h2 id="type-declaration" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration" aria-label="Permalink to &quot;Type declaration&quot;">​</a></h2><h3 id="left" tabindex="-1">left? <a class="header-anchor" href="#left" aria-label="Permalink to &quot;left?&quot;">​</a></h3><blockquote><p><strong>left</strong>?: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点左边的距离</p><p>方向: 边 -&gt; 节点中心, 负数表示反方向(也可点击节点外部区域)</p><p>支持两种值类型, 字符串和数字, 数字等价于相同内容的字符串, 如 2.5 等价于 &#39;2.5&#39;</p><p>字符串类型支持来自快照属性面板上的 left/top/right/bottom/width/height 的数学表达式运算</p><h4 id="example" tabindex="-1">Example <a class="header-anchor" href="#example" aria-label="Permalink to &quot;Example&quot;">​</a></h4><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">2.5</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span>
10
+ <span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><h2 id="type-declaration" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration" aria-label="Permalink to &quot;Type declaration&quot;">​</a></h2><h3 id="left" tabindex="-1">left? <a class="header-anchor" href="#left" aria-label="Permalink to &quot;left?&quot;">​</a></h3><blockquote><p><strong>left</strong>?: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点左边的距离</p><p>方向: 边 -&gt; 节点中心, 负数表示反方向(也可点击节点外部区域)</p><p>支持两种值类型, 字符串和数字, 数字等价于相同内容的字符串, 如 2.5 等价于 &#39;2.5&#39;</p><p>字符串类型支持来自快照属性面板上的 left/top/right/bottom/width/height 的数学计算表达式</p><h4 id="example" tabindex="-1">Example <a class="header-anchor" href="#example" aria-label="Permalink to &quot;Example&quot;">​</a></h4><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">2.5</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span>
11
11
  <span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;2.5&#39;</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span>
12
12
  <span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;2.5 + 1 - 2 * 3 / 4 ^ 5 % 6&#39;</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span>
13
13
  <span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;(right + left) / 2&#39;</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span></code></pre></div><h3 id="top" tabindex="-1">top? <a class="header-anchor" href="#top" aria-label="Permalink to &quot;top?&quot;">​</a></h3><blockquote><p><strong>top</strong>?: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点上边的距离</p><h3 id="right" tabindex="-1">right? <a class="header-anchor" href="#right" aria-label="Permalink to &quot;right?&quot;">​</a></h3><blockquote><p><strong>right</strong>?: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点右边的距离</p><h3 id="bottom" tabindex="-1">bottom? <a class="header-anchor" href="#bottom" aria-label="Permalink to &quot;bottom?&quot;">​</a></h3><blockquote><p><strong>bottom</strong>?: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点下边的距离</p>`,30),l=[n];function p(h,o,r,k,d,c){return a(),i("div",null,l)}const b=s(e,[["render",p]]);export{E as __pageData,b as default};
@@ -1,4 +1,4 @@
1
- import{j as o,a4 as p,a5 as u,a6 as c,a7 as l,a8 as f,a9 as d,aa as m,ab as h,ac as A,ad as g,Y as v,d as P,u as w,l as y,z as C,ae as R,af as _,ag as b,ah as E}from"./chunks/framework.CR5kvWbS.js";import{R as D}from"./chunks/theme.HGLlTAcT.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(D),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=w();return y(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&R(),_(),b(),s.setup&&s.setup(),()=>E(s.Layout)}});async function j(){const e=O(),a=L();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function L(){return h(T)}function O(){let e=o,a;return A(t=>{let n=g(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=v(()=>import(((u)=>{if(u.startsWith('/')){return"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1708194226702/files/.vitepress/dist"+u}return u})(n)),__vite__mapDeps([]))),o&&(e=!1),r},s.NotFound)}o&&j().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{j as createApp};
1
+ import{j as o,a4 as p,a5 as u,a6 as c,a7 as l,a8 as f,a9 as d,aa as m,ab as h,ac as A,ad as g,Y as v,d as P,u as w,l as y,z as C,ae as R,af as _,ag as b,ah as E}from"./chunks/framework.CR5kvWbS.js";import{R as D}from"./chunks/theme.goU0gbjD.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(D),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=w();return y(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&R(),_(),b(),s.setup&&s.setup(),()=>E(s.Layout)}});async function j(){const e=O(),a=L();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function L(){return h(T)}function O(){let e=o,a;return A(t=>{let n=g(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=v(()=>import(((u)=>{if(u.startsWith('/')){return"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1708194553694/files/.vitepress/dist"+u}return u})(n)),__vite__mapDeps([]))),o&&(e=!1),r},s.NotFound)}o&&j().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{j as createApp};
2
2
  function __vite__mapDeps(indexes) {
3
3
  if (!__vite__mapDeps.viteFileDeps) {
4
4
  __vite__mapDeps.viteFileDeps = []