@gkd-kit/docs 0.0.1707218812039 → 0.0.1707310164513
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.
- package/.vitepress/dist/404.html +4 -4
- package/.vitepress/dist/api/index.html +7 -7
- package/.vitepress/dist/api/interfaces/RawApp.html +7 -7
- package/.vitepress/dist/api/interfaces/RawAppGroup.html +8 -8
- package/.vitepress/dist/api/interfaces/RawAppRule.html +7 -7
- package/.vitepress/dist/api/interfaces/RawAppRuleProps.html +7 -7
- package/.vitepress/dist/api/interfaces/RawCategory.html +7 -7
- package/.vitepress/dist/api/interfaces/RawCommonProps.html +7 -7
- package/.vitepress/dist/api/interfaces/RawGlobalApp.html +7 -7
- package/.vitepress/dist/api/interfaces/RawGlobalGroup.html +8 -8
- package/.vitepress/dist/api/interfaces/RawGlobalRule.html +7 -7
- package/.vitepress/dist/api/interfaces/RawGlobalRuleProps.html +7 -7
- package/.vitepress/dist/api/interfaces/RawGroupProps.html +7 -7
- package/.vitepress/dist/api/interfaces/RawRuleProps.html +7 -7
- package/.vitepress/dist/api/interfaces/RawSubscription.html +7 -7
- package/.vitepress/dist/api/type-aliases/IArray.html +7 -7
- package/.vitepress/dist/api/type-aliases/Integer.html +7 -7
- package/.vitepress/dist/assets/{api_interfaces_RawAppGroup.md.FY3lS65D.js → api_interfaces_RawAppGroup.md.iPH_Ryur.js} +2 -2
- package/.vitepress/dist/assets/{api_interfaces_RawAppGroup.md.FY3lS65D.lean.js → api_interfaces_RawAppGroup.md.iPH_Ryur.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalGroup.md.GiXXUzRQ.js → api_interfaces_RawGlobalGroup.md.lXW_7uu9.js} +2 -2
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalGroup.md.GiXXUzRQ.lean.js → api_interfaces_RawGlobalGroup.md.lXW_7uu9.lean.js} +1 -1
- package/.vitepress/dist/assets/{app.kOvcn_0B.js → app.b-uREc2D.js} +1 -1
- package/.vitepress/dist/assets/chunks/@localSearchIndexroot.0lVEGynl.js +1 -0
- package/.vitepress/dist/assets/chunks/{VPLocalSearchBox.xkuEK57O.js → VPLocalSearchBox.oasC-smd.js} +2 -2
- package/.vitepress/dist/assets/chunks/{theme.yFgFlaEK.js → theme.LuVFQIpW.js} +1 -1
- package/.vitepress/dist/assets/{faq_index.md.GYJFLvV7.js → faq_index.md.UKJ7UpJ0.js} +1 -1
- package/.vitepress/dist/assets/{faq_index.md.GYJFLvV7.lean.js → faq_index.md.UKJ7UpJ0.lean.js} +1 -1
- package/.vitepress/dist/assets/{guide_index.md.f2iPwZpD.js → guide_index.md.AnsVcmGC.js} +1 -1
- package/.vitepress/dist/assets/{guide_index.md.f2iPwZpD.lean.js → guide_index.md.AnsVcmGC.lean.js} +1 -1
- package/.vitepress/dist/assets/{index.md.Z9LEOsqV.js → index.md.DPFMZPAE.js} +1 -1
- package/.vitepress/dist/assets/{index.md.Z9LEOsqV.lean.js → index.md.DPFMZPAE.lean.js} +1 -1
- package/.vitepress/dist/assets/{scription_index.md.uLyE0WPU.js → scription_index.md.gqW_rGK0.js} +1 -1
- package/.vitepress/dist/assets/{scription_index.md.uLyE0WPU.lean.js → scription_index.md.gqW_rGK0.lean.js} +1 -1
- package/.vitepress/dist/assets/{selector_index.md.1pga37o0.js → selector_index.md.4OmFycFK.js} +1 -1
- package/.vitepress/dist/assets/{selector_index.md.1pga37o0.lean.js → selector_index.md.4OmFycFK.lean.js} +1 -1
- package/.vitepress/dist/assets/style.WoxoFVlf.css +1 -1
- package/.vitepress/dist/faq/index.html +8 -8
- package/.vitepress/dist/guide/index.html +8 -8
- package/.vitepress/dist/hashmap.json +1 -1
- package/.vitepress/dist/index.html +7 -7
- package/.vitepress/dist/scription/index.html +8 -8
- package/.vitepress/dist/selector/index.html +8 -8
- package/package.json +1 -1
- package/.vitepress/dist/assets/chunks/@localSearchIndexroot.wjv0I4hJ.js +0 -1
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>RawGroupProps | GKD</title>
|
|
7
7
|
<meta name="description" content="自定义屏幕点击应用">
|
|
8
8
|
<meta name="generator" content="VitePress v1.0.0-rc.40">
|
|
9
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
9
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/style.WoxoFVlf.css" as="style">
|
|
10
10
|
|
|
11
|
-
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
12
|
-
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
13
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
14
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
15
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
11
|
+
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/app.b-uREc2D.js"></script>
|
|
12
|
+
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/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.1707310164513/files/.vitepress/dist/assets/chunks/framework.IfA2_2T5.js">
|
|
14
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/chunks/theme.LuVFQIpW.js">
|
|
15
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/api_interfaces_RawGroupProps.md.6EBSrEzq.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>
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 刷新 activity 并不代表 activityId 变化</span></span>
|
|
24
24
|
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 如 哔哩哔哩视频播放页 底部点击推荐视频 进入另一个 视频播放页, 进入了新 activity 但是 activityId 并没有变化</span></span></code></pre></div><h4 id="example-1" tabindex="-1">Example <a class="header-anchor" href="#example-1" aria-label="Permalink to "Example""></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:#032F62;--shiki-dark:#9ECBFF;">'app'</span></span>
|
|
25
25
|
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 重新进入 app 时, 唤醒规则</span></span></code></pre></div><h4 id="inherited-from-6" tabindex="-1">Inherited from <a class="header-anchor" href="#inherited-from-6" aria-label="Permalink to "Inherited from""></a></h4><p><a href="./RawCommonProps.html"><code>RawCommonProps</code></a>.<a href="./RawCommonProps.html#resetmatch"><code>resetMatch</code></a></p><hr><h3 id="actioncdkey" tabindex="-1">actionCdKey? <a class="header-anchor" href="#actioncdkey" aria-label="Permalink to "actionCdKey?""></a></h3><blockquote><p><strong>actionCdKey</strong>?: <a href="./../type-aliases/Integer.html"><code>Integer</code></a></p></blockquote><p>与这个 key 的 rule 共享 cd</p><p>比如开屏广告可能需要多个 rule 去匹配, 当一个 rule 触发时, 其它 rule 的触发是无意义的</p><p>如果你对这个 key 的 rule 设置 actionCd=3000, 那么当这个 rule 和 本 rule 触发任意一个时, 在 3000毫秒 内两个 rule 都将进入 cd</p><h4 id="inherited-from-7" tabindex="-1">Inherited from <a class="header-anchor" href="#inherited-from-7" aria-label="Permalink to "Inherited from""></a></h4><p><a href="./RawCommonProps.html"><code>RawCommonProps</code></a>.<a href="./RawCommonProps.html#actioncdkey"><code>actionCdKey</code></a></p><hr><h3 id="actionmaximumkey" tabindex="-1">actionMaximumKey? <a class="header-anchor" href="#actionmaximumkey" aria-label="Permalink to "actionMaximumKey?""></a></h3><blockquote><p><strong>actionMaximumKey</strong>?: <a href="./../type-aliases/Integer.html"><code>Integer</code></a></p></blockquote><p>与这个 key 的 rule 共享次数</p><p>比如开屏广告可能需要多个 rule 去匹配, 当一个 rule 触发时, 其它 rule 的触发是无意义的</p><p>如果你对这个 key 的 rule 设置 actionMaximum=1, 那么当这个 rule 和 本 rule 触发任意一个时, 两个 rule 都将进入休眠</p><h4 id="inherited-from-8" tabindex="-1">Inherited from <a class="header-anchor" href="#inherited-from-8" aria-label="Permalink to "Inherited from""></a></h4><p><a href="./RawCommonProps.html"><code>RawCommonProps</code></a>.<a href="./RawCommonProps.html#actionmaximumkey"><code>actionMaximumKey</code></a></p><hr><h3 id="order" tabindex="-1">order? <a class="header-anchor" href="#order" aria-label="Permalink to "order?""></a></h3><blockquote><p><strong>order</strong>?: <a href="./../type-aliases/Integer.html"><code>Integer</code></a></p></blockquote><p>规则参与匹配的顺序, 数字越小越先匹配</p><p>如果两个规则 order 相同, 按照 groups 中的数组顺序匹配, app 类型规则顺序优先于 global 类型规则</p><p>属于不同订阅的规则按照订阅列表中顺序匹配, 长按订阅卡片可以拖动排序</p><h4 id="default-2" tabindex="-1">Default <a class="header-anchor" href="#default-2" aria-label="Permalink to "Default""></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;">0</span></span></code></pre></div><h4 id="inherited-from-9" tabindex="-1">Inherited from <a class="header-anchor" href="#inherited-from-9" aria-label="Permalink to "Inherited from""></a></h4><p><a href="./RawCommonProps.html"><code>RawCommonProps</code></a>.<a href="./RawCommonProps.html#order"><code>order</code></a></p><hr><h3 id="snapshoturls" tabindex="-1">snapshotUrls? <a class="header-anchor" href="#snapshoturls" aria-label="Permalink to "snapshotUrls?""></a></h3><blockquote><p><strong>snapshotUrls</strong>?: <a href="./../type-aliases/IArray.html"><code>IArray</code></a><<code>string</code>></p></blockquote><p>当前 规则/规则组 的快照链接, 增强订阅可维护性</p><h4 id="inherited-from-10" tabindex="-1">Inherited from <a class="header-anchor" href="#inherited-from-10" aria-label="Permalink to "Inherited from""></a></h4><p><a href="./RawCommonProps.html"><code>RawCommonProps</code></a>.<a href="./RawCommonProps.html#snapshoturls"><code>snapshotUrls</code></a></p><hr><h3 id="exampleurls" tabindex="-1">exampleUrls? <a class="header-anchor" href="#exampleurls" aria-label="Permalink to "exampleUrls?""></a></h3><blockquote><p><strong>exampleUrls</strong>?: <a href="./../type-aliases/IArray.html"><code>IArray</code></a><<code>string</code>></p></blockquote><p>当前 规则/规则组 的规则在手机上的运行示例, 支持 jpg/png/webp/gif</p><p>如果规则是多个规则组合起来的, 可以更好看懂规则到底在干啥, 比如 点击关闭按钮-选择关闭原因-确认关闭 这种广告用 gif 看着更清楚在干啥</p><h4 id="inherited-from-11" tabindex="-1">Inherited from <a class="header-anchor" href="#inherited-from-11" aria-label="Permalink to "Inherited from""></a></h4><p><a href="./RawCommonProps.html"><code>RawCommonProps</code></a>.<a href="./RawCommonProps.html#exampleurls"><code>exampleUrls</code></a></p><hr><h3 id="key" tabindex="-1">key <a class="header-anchor" href="#key" aria-label="Permalink to "key""></a></h3><blockquote><p><strong>key</strong>: <a href="./../type-aliases/Integer.html"><code>Integer</code></a></p></blockquote><p>当前规则组在列表中的唯一标识</p><p>也是客户端禁用/启用此规则组的依据</p><p>设置后不可更改, 否则造成客户端启用/禁用错乱</p><p>key 没有顺序大小之分, 可以是任意数字</p><hr><h3 id="name" tabindex="-1">name <a class="header-anchor" href="#name" aria-label="Permalink to "name""></a></h3><blockquote><p><strong>name</strong>: <code>string</code></p></blockquote><p>规则组名称</p><hr><h3 id="desc" tabindex="-1">desc? <a class="header-anchor" href="#desc" aria-label="Permalink to "desc?""></a></h3><blockquote><p><strong>desc</strong>?: <code>string</code></p></blockquote><p>规则组描述</p><hr><h3 id="enable" tabindex="-1">enable? <a class="header-anchor" href="#enable" aria-label="Permalink to "enable?""></a></h3><blockquote><p><strong>enable</strong>?: <code>boolean</code></p></blockquote><p>控制规则默认情况下是启用还是禁用</p><h4 id="default-3" tabindex="-1">Default <a class="header-anchor" href="#default-3" aria-label="Permalink to "Default""></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;">true</span></span></code></pre></div><hr><h3 id="scopekeys" tabindex="-1">scopeKeys? <a class="header-anchor" href="#scopekeys" aria-label="Permalink to "scopeKeys?""></a></h3><blockquote><p><strong>scopeKeys</strong>?: <a href="./../type-aliases/IArray.html"><code>IArray</code></a><<a href="./../type-aliases/Integer.html"><code>Integer</code></a>></p></blockquote><p>其它 group 的 key, 允许将目标组的所有 rule 添加到当前组的作用域</p><p>假设 group1{key=1} 有一个 rule1{key=11}, group2{key=2} 有 rule2{key=22}, rule3{key=23}</p><p>如果 group1 的 scopeKeys=[2] 并且 group2 没有被禁用, 那么 rule1 的 preKeys/actionCdKey/actionMaximumKey 可以是 11/22/23</p><p>如果存在相同 key 的 rule, 优先使用本组的 rule, 其次按 scopeKeys 的顺序查找其它组的 rule</p></div></div></main><footer class="VPDocFooter" data-v-7d1bc5a0 data-v-87c05cf1><!--[--><!--]--><div class="edit-info" data-v-87c05cf1><div class="edit-link" data-v-87c05cf1><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/gkd-kit/docs/edit/main/api/interfaces/RawGroupProps.md" target="_blank" rel="noreferrer" data-v-87c05cf1><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="edit-link-icon" aria-label="edit icon" data-v-87c05cf1=""><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-87c05cf1><div class="pager" data-v-87c05cf1><a class="VPLink link pager-link prev" href="/api/interfaces/RawRuleProps.html" data-v-87c05cf1><!--[--><span class="desc" data-v-87c05cf1>Previous page</span><span class="title" data-v-87c05cf1>RawRuleProps</span><!--]--></a></div><div class="pager" data-v-87c05cf1><a class="VPLink link pager-link next" href="/api/interfaces/RawAppRuleProps.html" data-v-87c05cf1><!--[--><span class="desc" data-v-87c05cf1>Next page</span><span class="title" data-v-87c05cf1>RawAppRuleProps</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-b2ec6e95 data-v-9d57a1d7><div class="container" data-v-9d57a1d7><p class="message" data-v-9d57a1d7>Released under the GPL-v3 License.</p><p class="copyright" data-v-9d57a1d7>Copyright © 2024 GKD. All rights reserved</p></div></footer><!--[--><!--]--></div></div>
|
|
26
|
-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"
|
|
26
|
+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_type-aliases_integer.md\":\"ZefQAXKm\",\"api_index.md\":\"qg0PTsXu\",\"api_interfaces_rawappgroup.md\":\"iPH_Ryur\",\"api_interfaces_rawapp.md\":\"Xx6Gl_Vo\",\"api_interfaces_rawcommonprops.md\":\"8WCrzJDv\",\"api_interfaces_rawcategory.md\":\"BbftQkeU\",\"api_interfaces_rawgroupprops.md\":\"6EBSrEzq\",\"api_interfaces_rawglobalgroup.md\":\"lXW_7uu9\",\"api_interfaces_rawglobalapp.md\":\"8gQwMn0O\",\"api_interfaces_rawglobalrule.md\":\"6Wxn9D87\",\"api_interfaces_rawappruleprops.md\":\"CpnBN4T3\",\"api_interfaces_rawglobalruleprops.md\":\"IJsPvxKw\",\"index.md\":\"DPFMZPAE\",\"faq_index.md\":\"UKJ7UpJ0\",\"api_type-aliases_iarray.md\":\"SzXlEqwS\",\"api_interfaces_rawapprule.md\":\"yCCkftbY\",\"api_interfaces_rawsubscription.md\":\"TtRucg5C\",\"api_interfaces_rawruleprops.md\":\"4rWePZDv\",\"scription_index.md\":\"gqW_rGK0\",\"selector_index.md\":\"4OmFycFK\",\"guide_index.md\":\"AnsVcmGC\"}");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\":\"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>
|
|
27
27
|
|
|
28
28
|
</body>
|
|
29
29
|
</html>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>RawRuleProps | GKD</title>
|
|
7
7
|
<meta name="description" content="自定义屏幕点击应用">
|
|
8
8
|
<meta name="generator" content="VitePress v1.0.0-rc.40">
|
|
9
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
9
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/style.WoxoFVlf.css" as="style">
|
|
10
10
|
|
|
11
|
-
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
12
|
-
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
13
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
14
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
15
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
11
|
+
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/app.b-uREc2D.js"></script>
|
|
12
|
+
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/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.1707310164513/files/.vitepress/dist/assets/chunks/framework.IfA2_2T5.js">
|
|
14
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/chunks/theme.LuVFQIpW.js">
|
|
15
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/api_interfaces_RawRuleProps.md.4rWePZDv.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>
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 并且当 `longClickNode` 事件没有被应用接收时, 则使用 `longClickCenter`</span></span></code></pre></div><h4 id="example-7" tabindex="-1">Example <a class="header-anchor" href="#example-7" aria-label="Permalink to "Example""></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:#032F62;--shiki-dark:#9ECBFF;">`longClickNode`</span></span>
|
|
37
37
|
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 向系统发起一个长按无障碍节点事件,与 clickNode 类似</span></span></code></pre></div><h4 id="example-8" tabindex="-1">Example <a class="header-anchor" href="#example-8" aria-label="Permalink to "Example""></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:#032F62;--shiki-dark:#9ECBFF;">`longClickCenter`</span></span>
|
|
38
38
|
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 与 clickCenter 类似, 长按时间为 400 毫秒</span></span></code></pre></div><hr><h3 id="matches" tabindex="-1">matches? <a class="header-anchor" href="#matches" aria-label="Permalink to "matches?""></a></h3><blockquote><p><strong>matches</strong>?: <a href="./../type-aliases/IArray.html"><code>IArray</code></a><<code>string</code>></p></blockquote><p>一个或者多个合法的 GKD 选择器, 如果每个选择器都能匹配上节点, 那么点击最后一个选择器的目标节点</p><hr><h3 id="excludematches" tabindex="-1">excludeMatches? <a class="header-anchor" href="#excludematches" aria-label="Permalink to "excludeMatches?""></a></h3><blockquote><p><strong>excludeMatches</strong>?: <a href="./../type-aliases/IArray.html"><code>IArray</code></a><<code>string</code>></p></blockquote><p>一个或者多个合法的 GKD 选择器, 如果存在一个选择器匹配上节点, 则停止匹配此规则</p></div></div></main><footer class="VPDocFooter" data-v-7d1bc5a0 data-v-87c05cf1><!--[--><!--]--><div class="edit-info" data-v-87c05cf1><div class="edit-link" data-v-87c05cf1><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/gkd-kit/docs/edit/main/api/interfaces/RawRuleProps.md" target="_blank" rel="noreferrer" data-v-87c05cf1><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="edit-link-icon" aria-label="edit icon" data-v-87c05cf1=""><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-87c05cf1><div class="pager" data-v-87c05cf1><a class="VPLink link pager-link prev" href="/api/interfaces/RawCommonProps.html" data-v-87c05cf1><!--[--><span class="desc" data-v-87c05cf1>Previous page</span><span class="title" data-v-87c05cf1>RawCommonProps</span><!--]--></a></div><div class="pager" data-v-87c05cf1><a class="VPLink link pager-link next" href="/api/interfaces/RawGroupProps.html" data-v-87c05cf1><!--[--><span class="desc" data-v-87c05cf1>Next page</span><span class="title" data-v-87c05cf1>RawGroupProps</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-b2ec6e95 data-v-9d57a1d7><div class="container" data-v-9d57a1d7><p class="message" data-v-9d57a1d7>Released under the GPL-v3 License.</p><p class="copyright" data-v-9d57a1d7>Copyright © 2024 GKD. All rights reserved</p></div></footer><!--[--><!--]--></div></div>
|
|
39
|
-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"
|
|
39
|
+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_type-aliases_integer.md\":\"ZefQAXKm\",\"api_index.md\":\"qg0PTsXu\",\"api_interfaces_rawappgroup.md\":\"iPH_Ryur\",\"api_interfaces_rawapp.md\":\"Xx6Gl_Vo\",\"api_interfaces_rawcommonprops.md\":\"8WCrzJDv\",\"api_interfaces_rawcategory.md\":\"BbftQkeU\",\"api_interfaces_rawgroupprops.md\":\"6EBSrEzq\",\"api_interfaces_rawglobalgroup.md\":\"lXW_7uu9\",\"api_interfaces_rawglobalapp.md\":\"8gQwMn0O\",\"api_interfaces_rawglobalrule.md\":\"6Wxn9D87\",\"api_interfaces_rawappruleprops.md\":\"CpnBN4T3\",\"api_interfaces_rawglobalruleprops.md\":\"IJsPvxKw\",\"index.md\":\"DPFMZPAE\",\"faq_index.md\":\"UKJ7UpJ0\",\"api_type-aliases_iarray.md\":\"SzXlEqwS\",\"api_interfaces_rawapprule.md\":\"yCCkftbY\",\"api_interfaces_rawsubscription.md\":\"TtRucg5C\",\"api_interfaces_rawruleprops.md\":\"4rWePZDv\",\"scription_index.md\":\"gqW_rGK0\",\"selector_index.md\":\"4OmFycFK\",\"guide_index.md\":\"AnsVcmGC\"}");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\":\"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>
|
|
40
40
|
|
|
41
41
|
</body>
|
|
42
42
|
</html>
|
|
@@ -6,20 +6,20 @@
|
|
|
6
6
|
<title>RawSubscription | GKD</title>
|
|
7
7
|
<meta name="description" content="自定义屏幕点击应用">
|
|
8
8
|
<meta name="generator" content="VitePress v1.0.0-rc.40">
|
|
9
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
9
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/style.WoxoFVlf.css" as="style">
|
|
10
10
|
|
|
11
|
-
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
12
|
-
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
13
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
14
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
15
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
11
|
+
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/app.b-uREc2D.js"></script>
|
|
12
|
+
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/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.1707310164513/files/.vitepress/dist/assets/chunks/framework.IfA2_2T5.js">
|
|
14
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/chunks/theme.LuVFQIpW.js">
|
|
15
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/api_interfaces_RawSubscription.md.TtRucg5C.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>
|
|
19
19
|
</head>
|
|
20
20
|
<body>
|
|
21
21
|
<div id="app"><div class="Layout" data-v-b2ec6e95><!--[--><!--]--><!--[--><span tabindex="-1" data-v-90bcf273></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-90bcf273> Skip to content </a><!--]--><!----><header class="VPNav" data-v-b2ec6e95 data-v-3e747cf9><div class="VPNavBar has-sidebar" data-v-3e747cf9 data-v-d8387026><div class="wrapper" data-v-d8387026><div class="container" data-v-d8387026><div class="title" data-v-d8387026><div class="VPNavBarTitle has-sidebar" data-v-d8387026 data-v-75db0c0d><a class="title" href="/" data-v-75db0c0d><!--[--><!--]--><!--[--><img class="VPImage logo" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1706371840771/files/.vitepress/dist/logo.svg" alt data-v-2c32c815><!--]--><!--[-->GKD<!--]--><!--[--><!--]--></a></div></div><div class="content" data-v-d8387026><div class="content-body" data-v-d8387026><!--[--><!--]--><div class="VPNavBarSearch search" data-v-d8387026><!--[--><!----><div id="local-search"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><svg class="DocSearch-Search-Icon" width="20" height="20" viewBox="0 0 20 20" aria-label="search icon"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"/></svg><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"><kbd class="DocSearch-Button-Key"></kbd><kbd class="DocSearch-Button-Key">K</kbd></span></button></div><!--]--></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-d8387026 data-v-dd4b0fab><span id="main-nav-aria-label" class="visually-hidden" data-v-dd4b0fab>Main Navigation</span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/" tabindex="0" data-v-dd4b0fab data-v-81b8bea3><!--[--><span data-v-81b8bea3>首页</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/api/" tabindex="0" data-v-dd4b0fab data-v-81b8bea3><!--[--><span data-v-81b8bea3>API</span><!--]--></a><!--]--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-d8387026 data-v-a8ef30e9><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title="Switch to dark theme" aria-checked="false" data-v-a8ef30e9 data-v-3be8a232 data-v-3dc7ea7b><span class="check" data-v-3dc7ea7b><span class="icon" data-v-3dc7ea7b><!--[--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="sun" data-v-3be8a232=""><path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"/><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"/><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"/><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"/><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"/><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"/><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"/><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"/><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="moon" data-v-3be8a232=""><path d="M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"/></svg><!--]--></span></span></button></div><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-d8387026 data-v-c6add933 data-v-abd8961f><!--[--><a class="VPSocialLink no-icon" href="https://github.com/gkd-kit" aria-label="github" target="_blank" rel="noopener" data-v-abd8961f data-v-771e0054><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg></a><!--]--></div><div class="VPFlyout VPNavBarExtra extra" data-v-d8387026 data-v-c00b8f8e data-v-f028a3c7><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-f028a3c7><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="icon" data-v-f028a3c7=""><circle cx="12" cy="12" r="2"/><circle cx="19" cy="12" r="2"/><circle cx="5" cy="12" r="2"/></svg></button><div class="menu" data-v-f028a3c7><div class="VPMenu" data-v-f028a3c7 data-v-267dc1cb><!----><!--[--><!--[--><!----><div class="group" data-v-c00b8f8e><div class="item appearance" data-v-c00b8f8e><p class="label" data-v-c00b8f8e>Appearance</p><div class="appearance-action" data-v-c00b8f8e><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title="Switch to dark theme" aria-checked="false" data-v-c00b8f8e data-v-3be8a232 data-v-3dc7ea7b><span class="check" data-v-3dc7ea7b><span class="icon" data-v-3dc7ea7b><!--[--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="sun" data-v-3be8a232=""><path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"/><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"/><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"/><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"/><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"/><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"/><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"/><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"/><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="moon" data-v-3be8a232=""><path d="M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"/></svg><!--]--></span></span></button></div></div></div><div class="group" data-v-c00b8f8e><div class="item social-links" data-v-c00b8f8e><div class="VPSocialLinks social-links-list" data-v-c00b8f8e data-v-abd8961f><!--[--><a class="VPSocialLink no-icon" href="https://github.com/gkd-kit" aria-label="github" target="_blank" rel="noopener" data-v-abd8961f data-v-771e0054><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg></a><!--]--></div></div></div><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-d8387026 data-v-979783af><span class="container" data-v-979783af><span class="top" data-v-979783af></span><span class="middle" data-v-979783af></span><span class="bottom" data-v-979783af></span></span></button></div></div></div></div><div class="divider" data-v-d8387026><div class="divider-line" data-v-d8387026></div></div></div><!----></header><div class="VPLocalNav has-sidebar empty" data-v-b2ec6e95 data-v-1a6fa019><div class="container" data-v-1a6fa019><button class="menu" aria-expanded="false" aria-controls="VPSidebarNav" data-v-1a6fa019><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="menu-icon" data-v-1a6fa019=""><path d="M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"/><path d="M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"/><path d="M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"/><path d="M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"/></svg><span class="menu-text" data-v-1a6fa019>Menu</span></button><div class="VPLocalNavOutlineDropdown" style="--vp-vh:0px;" data-v-1a6fa019 data-v-de3bc88c><button data-v-de3bc88c>Return to top</button><!----></div></div></div><aside class="VPSidebar" data-v-b2ec6e95 data-v-03ba6490><div class="curtain" data-v-03ba6490></div><nav class="nav" id="VPSidebarNav" aria-labelledby="sidebar-aria-label" tabindex="-1" data-v-03ba6490><span class="visually-hidden" id="sidebar-aria-label" data-v-03ba6490> Sidebar Navigation </span><!--[--><!--]--><!--[--><div class="group" data-v-03ba6490><section class="VPSidebarItem level-0" data-v-03ba6490 data-v-d47475d6><div class="item" role="button" tabindex="0" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><h2 class="text" data-v-d47475d6>指引</h2><!----></div><div class="items" data-v-d47475d6><!--[--><div class="VPSidebarItem level-1 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/guide/" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>开始使用</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/selector/" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>高级选择器</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/scription/" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>订阅规则</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/faq/" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>疑难解答</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="group" data-v-03ba6490><section class="VPSidebarItem level-0 collapsible is-link has-active" data-v-03ba6490 data-v-d47475d6><div class="item" tabindex="0" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/" data-v-d47475d6><!--[--><h2 class="text" data-v-d47475d6>API</h2><!--]--></a><div class="caret" role="button" aria-label="toggle section" tabindex="0" data-v-d47475d6><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="caret-icon" data-v-d47475d6=""><path d="M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"/></svg></div></div><div class="items" data-v-d47475d6><!--[--><section class="VPSidebarItem level-1 collapsible has-active" data-v-d47475d6><div class="item" role="button" tabindex="0" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><h3 class="text" data-v-d47475d6>Interfaces</h3><div class="caret" role="button" aria-label="toggle section" tabindex="0" data-v-d47475d6><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="caret-icon" data-v-d47475d6=""><path d="M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"/></svg></div></div><div class="items" data-v-d47475d6><!--[--><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawSubscription.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawSubscription</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawApp.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawApp</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawGlobalGroup.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawGlobalGroup</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawCategory.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawCategory</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawAppRule.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawAppRule</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawAppGroup.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawAppGroup</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawGlobalRule.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawGlobalRule</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawGlobalApp.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawGlobalApp</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawCommonProps.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawCommonProps</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawRuleProps.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawRuleProps</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawGroupProps.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawGroupProps</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawAppRuleProps.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawAppRuleProps</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawGlobalRuleProps.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawGlobalRuleProps</p><!--]--></a><!----></div><!----></div><!--]--></div></section><section class="VPSidebarItem level-1 collapsible collapsed" data-v-d47475d6><div class="item" role="button" tabindex="0" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><h3 class="text" data-v-d47475d6>Type Aliases</h3><div class="caret" role="button" aria-label="toggle section" tabindex="0" data-v-d47475d6><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="caret-icon" data-v-d47475d6=""><path d="M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"/></svg></div></div><div class="items" data-v-d47475d6><!--[--><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/type-aliases/IArray.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>IArray</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/type-aliases/Integer.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>Integer</p><!--]--></a><!----></div><!----></div><!--]--></div></section><!--]--></div></section></div><!--]--><!--[--><!--]--></nav></aside><div class="VPContent has-sidebar" id="VPContent" data-v-b2ec6e95 data-v-a1607026><div class="VPDoc has-sidebar has-aside" data-v-a1607026 data-v-7d1bc5a0><!--[--><!--]--><div class="container" data-v-7d1bc5a0><div class="aside" data-v-7d1bc5a0><div class="aside-curtain" data-v-7d1bc5a0></div><div class="aside-container" data-v-7d1bc5a0><div class="aside-content" data-v-7d1bc5a0><div class="VPDocAside" data-v-7d1bc5a0 data-v-30b70da2><!--[--><!--]--><!--[--><!--]--><div class="VPDocAsideOutline" role="navigation" data-v-30b70da2 data-v-d29ebff4><div class="content" data-v-d29ebff4><div class="outline-marker" data-v-d29ebff4></div><div class="outline-title" role="heading" aria-level="2" data-v-d29ebff4>页面导航</div><nav aria-labelledby="doc-outline-aria-label" data-v-d29ebff4><span class="visually-hidden" id="doc-outline-aria-label" data-v-d29ebff4> Table of Contents for current page </span><ul class="VPDocOutlineItem root" data-v-d29ebff4 data-v-02b247a1><!--[--><!--]--></ul></nav></div></div><!--[--><!--]--><div class="spacer" data-v-30b70da2></div><!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-7d1bc5a0><div class="content-container" data-v-7d1bc5a0><!--[--><!--]--><main class="main" data-v-7d1bc5a0><div style="position:relative;" class="vp-doc _api_interfaces_RawSubscription" data-v-7d1bc5a0><div><h1 id="rawsubscription" tabindex="-1">RawSubscription <a class="header-anchor" href="#rawsubscription" aria-label="Permalink to "RawSubscription""></a></h1><p>订阅配置类型</p><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-label="Permalink to "Properties""></a></h2><h3 id="id" tabindex="-1">id <a class="header-anchor" href="#id" aria-label="Permalink to "id""></a></h3><blockquote><p><strong>id</strong>: <a href="./../type-aliases/Integer.html"><code>Integer</code></a></p></blockquote><p>当前订阅文件的标识, 如果新旧订阅文件id不一致则更新失败</p><p>负数 id 被 GKD 内部使用, 用户无法添加负数 id 的订阅</p><hr><h3 id="name" tabindex="-1">name <a class="header-anchor" href="#name" aria-label="Permalink to "name""></a></h3><blockquote><p><strong>name</strong>: <code>string</code></p></blockquote><p>订阅的名称</p><hr><h3 id="version" tabindex="-1">version <a class="header-anchor" href="#version" aria-label="Permalink to "version""></a></h3><blockquote><p><strong>version</strong>: <a href="./../type-aliases/Integer.html"><code>Integer</code></a></p></blockquote><p>订阅的版本号, 用于检测更新</p><p>只有当新订阅的 version 大于本地旧订阅的 version 才执行更新替换本地</p><hr><h3 id="author" tabindex="-1">author? <a class="header-anchor" href="#author" aria-label="Permalink to "author?""></a></h3><blockquote><p><strong>author</strong>?: <code>string</code></p></blockquote><p>作者名称</p><hr><h3 id="updateurl" tabindex="-1">updateUrl? <a class="header-anchor" href="#updateurl" aria-label="Permalink to "updateUrl?""></a></h3><blockquote><p><strong>updateUrl</strong>?: <code>string</code></p></blockquote><p>GKD 会定时或者用户手动刷新请求这个链接, 如果返回的订阅的 version 大于应用订阅当前的 version , 则更新</p><p>如果这个字段不存在, 则使用添加订阅时填写的链接</p><hr><h3 id="supporturi" tabindex="-1">supportUri? <a class="header-anchor" href="#supporturi" aria-label="Permalink to "supportUri?""></a></h3><blockquote><p><strong>supportUri</strong>?: <code>string</code></p></blockquote><p>一个自定义 uri 链接, 用户点击[用户反馈]时, 打开此链接</p><p>可以是一个网页链接, 也可以是一个应用内部的 uri 链接</p><hr><h3 id="checkupdateurl" tabindex="-1">checkUpdateUrl? <a class="header-anchor" href="#checkupdateurl" aria-label="Permalink to "checkUpdateUrl?""></a></h3><blockquote><p><strong>checkUpdateUrl</strong>?: <code>string</code></p></blockquote><p>一个只需要 id 和 version 的 json 文件链接, 检测更新时, 优先检测此链接, 如果 id 相等并且 version 增加, 则再去请求 updateUrl</p><p>目的是防止订阅文件过大而消耗过多的流量</p><hr><h3 id="apps" tabindex="-1">apps? <a class="header-anchor" href="#apps" aria-label="Permalink to "apps?""></a></h3><blockquote><p><strong>apps</strong>?: <a href="./RawApp.html"><code>RawApp</code></a>[]</p></blockquote><p>此订阅的应用列表</p><hr><h3 id="globalgroups" tabindex="-1">globalGroups? <a class="header-anchor" href="#globalgroups" aria-label="Permalink to "globalGroups?""></a></h3><blockquote><p><strong>globalGroups</strong>?: <a href="./RawGlobalGroup.html"><code>RawGlobalGroup</code></a>[]</p></blockquote><p>此订阅的全局规则组列表</p><hr><h3 id="categories" tabindex="-1">categories? <a class="header-anchor" href="#categories" aria-label="Permalink to "categories?""></a></h3><blockquote><p><strong>categories</strong>?: <a href="./RawCategory.html"><code>RawCategory</code></a>[]</p></blockquote><p>此订阅的应用规则分类列表</p></div></div></main><footer class="VPDocFooter" data-v-7d1bc5a0 data-v-87c05cf1><!--[--><!--]--><div class="edit-info" data-v-87c05cf1><div class="edit-link" data-v-87c05cf1><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://github.com/gkd-kit/docs/edit/main/api/interfaces/RawSubscription.md" target="_blank" rel="noreferrer" data-v-87c05cf1><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="edit-link-icon" aria-label="edit icon" data-v-87c05cf1=""><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-87c05cf1><div class="pager" data-v-87c05cf1><a class="VPLink link pager-link prev" href="/api/" data-v-87c05cf1><!--[--><span class="desc" data-v-87c05cf1>Previous page</span><span class="title" data-v-87c05cf1>API</span><!--]--></a></div><div class="pager" data-v-87c05cf1><a class="VPLink link pager-link next" href="/api/interfaces/RawApp.html" data-v-87c05cf1><!--[--><span class="desc" data-v-87c05cf1>Next page</span><span class="title" data-v-87c05cf1>RawApp</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-b2ec6e95 data-v-9d57a1d7><div class="container" data-v-9d57a1d7><p class="message" data-v-9d57a1d7>Released under the GPL-v3 License.</p><p class="copyright" data-v-9d57a1d7>Copyright © 2024 GKD. All rights reserved</p></div></footer><!--[--><!--]--></div></div>
|
|
22
|
-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"
|
|
22
|
+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_type-aliases_integer.md\":\"ZefQAXKm\",\"api_index.md\":\"qg0PTsXu\",\"api_interfaces_rawappgroup.md\":\"iPH_Ryur\",\"api_interfaces_rawapp.md\":\"Xx6Gl_Vo\",\"api_interfaces_rawcommonprops.md\":\"8WCrzJDv\",\"api_interfaces_rawcategory.md\":\"BbftQkeU\",\"api_interfaces_rawgroupprops.md\":\"6EBSrEzq\",\"api_interfaces_rawglobalgroup.md\":\"lXW_7uu9\",\"api_interfaces_rawglobalapp.md\":\"8gQwMn0O\",\"api_interfaces_rawglobalrule.md\":\"6Wxn9D87\",\"api_interfaces_rawappruleprops.md\":\"CpnBN4T3\",\"api_interfaces_rawglobalruleprops.md\":\"IJsPvxKw\",\"index.md\":\"DPFMZPAE\",\"faq_index.md\":\"UKJ7UpJ0\",\"api_type-aliases_iarray.md\":\"SzXlEqwS\",\"api_interfaces_rawapprule.md\":\"yCCkftbY\",\"api_interfaces_rawsubscription.md\":\"TtRucg5C\",\"api_interfaces_rawruleprops.md\":\"4rWePZDv\",\"scription_index.md\":\"gqW_rGK0\",\"selector_index.md\":\"4OmFycFK\",\"guide_index.md\":\"AnsVcmGC\"}");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\":\"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>
|
|
23
23
|
|
|
24
24
|
</body>
|
|
25
25
|
</html>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>IArray<T> | GKD</title>
|
|
7
7
|
<meta name="description" content="自定义屏幕点击应用">
|
|
8
8
|
<meta name="generator" content="VitePress v1.0.0-rc.40">
|
|
9
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
9
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/style.WoxoFVlf.css" as="style">
|
|
10
10
|
|
|
11
|
-
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
12
|
-
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
13
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
14
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
15
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
11
|
+
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/app.b-uREc2D.js"></script>
|
|
12
|
+
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/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.1707310164513/files/.vitepress/dist/assets/chunks/framework.IfA2_2T5.js">
|
|
14
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/chunks/theme.LuVFQIpW.js">
|
|
15
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/api_type-aliases_IArray.md.SzXlEqwS.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>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> n2</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IArray</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">number</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">> </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> [</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">1</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">]; </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// ✅</span></span>
|
|
23
23
|
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> s1</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IArray</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">> </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 'hello'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">; </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// ✅</span></span>
|
|
24
24
|
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> a2</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> IArray</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">> </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> [</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'hello'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">]; </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// ✅</span></span></code></pre></div><h2 id="type-parameters" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters" aria-label="Permalink to "Type parameters""></a></h2><p>• <strong>T</strong></p></div></div></main><footer class="VPDocFooter" data-v-7d1bc5a0 data-v-87c05cf1><!--[--><!--]--><div class="edit-info" data-v-87c05cf1><div class="edit-link" data-v-87c05cf1><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/IArray.md" target="_blank" rel="noreferrer" data-v-87c05cf1><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="edit-link-icon" aria-label="edit icon" data-v-87c05cf1=""><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-87c05cf1><div class="pager" data-v-87c05cf1><a class="VPLink link pager-link prev" href="/api/interfaces/RawGlobalRuleProps.html" data-v-87c05cf1><!--[--><span class="desc" data-v-87c05cf1>Previous page</span><span class="title" data-v-87c05cf1>RawGlobalRuleProps</span><!--]--></a></div><div class="pager" data-v-87c05cf1><a class="VPLink link pager-link next" href="/api/type-aliases/Integer.html" data-v-87c05cf1><!--[--><span class="desc" data-v-87c05cf1>Next page</span><span class="title" data-v-87c05cf1>Integer</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-b2ec6e95 data-v-9d57a1d7><div class="container" data-v-9d57a1d7><p class="message" data-v-9d57a1d7>Released under the GPL-v3 License.</p><p class="copyright" data-v-9d57a1d7>Copyright © 2024 GKD. All rights reserved</p></div></footer><!--[--><!--]--></div></div>
|
|
25
|
-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"
|
|
25
|
+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_type-aliases_integer.md\":\"ZefQAXKm\",\"api_index.md\":\"qg0PTsXu\",\"api_interfaces_rawappgroup.md\":\"iPH_Ryur\",\"api_interfaces_rawapp.md\":\"Xx6Gl_Vo\",\"api_interfaces_rawcommonprops.md\":\"8WCrzJDv\",\"api_interfaces_rawcategory.md\":\"BbftQkeU\",\"api_interfaces_rawgroupprops.md\":\"6EBSrEzq\",\"api_interfaces_rawglobalgroup.md\":\"lXW_7uu9\",\"api_interfaces_rawglobalapp.md\":\"8gQwMn0O\",\"api_interfaces_rawglobalrule.md\":\"6Wxn9D87\",\"api_interfaces_rawappruleprops.md\":\"CpnBN4T3\",\"api_interfaces_rawglobalruleprops.md\":\"IJsPvxKw\",\"index.md\":\"DPFMZPAE\",\"faq_index.md\":\"UKJ7UpJ0\",\"api_type-aliases_iarray.md\":\"SzXlEqwS\",\"api_interfaces_rawapprule.md\":\"yCCkftbY\",\"api_interfaces_rawsubscription.md\":\"TtRucg5C\",\"api_interfaces_rawruleprops.md\":\"4rWePZDv\",\"scription_index.md\":\"gqW_rGK0\",\"selector_index.md\":\"4OmFycFK\",\"guide_index.md\":\"AnsVcmGC\"}");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\":\"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>
|
|
26
26
|
|
|
27
27
|
</body>
|
|
28
28
|
</html>
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
<title>Integer | GKD</title>
|
|
7
7
|
<meta name="description" content="自定义屏幕点击应用">
|
|
8
8
|
<meta name="generator" content="VitePress v1.0.0-rc.40">
|
|
9
|
-
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
9
|
+
<link rel="preload stylesheet" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/style.WoxoFVlf.css" as="style">
|
|
10
10
|
|
|
11
|
-
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
12
|
-
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
13
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
14
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
15
|
-
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.
|
|
11
|
+
<script type="module" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/app.b-uREc2D.js"></script>
|
|
12
|
+
<link rel="preload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/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.1707310164513/files/.vitepress/dist/assets/chunks/framework.IfA2_2T5.js">
|
|
14
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/chunks/theme.LuVFQIpW.js">
|
|
15
|
+
<link rel="modulepreload" href="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1707310164513/files/.vitepress/dist/assets/api_type-aliases_Integer.md.ZefQAXKm.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>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<body>
|
|
21
21
|
<div id="app"><div class="Layout" data-v-b2ec6e95><!--[--><!--]--><!--[--><span tabindex="-1" data-v-90bcf273></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-90bcf273> Skip to content </a><!--]--><!----><header class="VPNav" data-v-b2ec6e95 data-v-3e747cf9><div class="VPNavBar has-sidebar" data-v-3e747cf9 data-v-d8387026><div class="wrapper" data-v-d8387026><div class="container" data-v-d8387026><div class="title" data-v-d8387026><div class="VPNavBarTitle has-sidebar" data-v-d8387026 data-v-75db0c0d><a class="title" href="/" data-v-75db0c0d><!--[--><!--]--><!--[--><img class="VPImage logo" src="https://registry.npmmirror.com/@gkd-kit/docs/0.0.1706371840771/files/.vitepress/dist/logo.svg" alt data-v-2c32c815><!--]--><!--[-->GKD<!--]--><!--[--><!--]--></a></div></div><div class="content" data-v-d8387026><div class="content-body" data-v-d8387026><!--[--><!--]--><div class="VPNavBarSearch search" data-v-d8387026><!--[--><!----><div id="local-search"><button type="button" class="DocSearch DocSearch-Button" aria-label="Search"><span class="DocSearch-Button-Container"><svg class="DocSearch-Search-Icon" width="20" height="20" viewBox="0 0 20 20" aria-label="search icon"><path d="M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z" stroke="currentColor" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round"/></svg><span class="DocSearch-Button-Placeholder">Search</span></span><span class="DocSearch-Button-Keys"><kbd class="DocSearch-Button-Key"></kbd><kbd class="DocSearch-Button-Key">K</kbd></span></button></div><!--]--></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-d8387026 data-v-dd4b0fab><span id="main-nav-aria-label" class="visually-hidden" data-v-dd4b0fab>Main Navigation</span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/" tabindex="0" data-v-dd4b0fab data-v-81b8bea3><!--[--><span data-v-81b8bea3>首页</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/api/" tabindex="0" data-v-dd4b0fab data-v-81b8bea3><!--[--><span data-v-81b8bea3>API</span><!--]--></a><!--]--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-d8387026 data-v-a8ef30e9><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title="Switch to dark theme" aria-checked="false" data-v-a8ef30e9 data-v-3be8a232 data-v-3dc7ea7b><span class="check" data-v-3dc7ea7b><span class="icon" data-v-3dc7ea7b><!--[--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="sun" data-v-3be8a232=""><path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"/><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"/><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"/><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"/><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"/><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"/><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"/><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"/><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="moon" data-v-3be8a232=""><path d="M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"/></svg><!--]--></span></span></button></div><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-d8387026 data-v-c6add933 data-v-abd8961f><!--[--><a class="VPSocialLink no-icon" href="https://github.com/gkd-kit" aria-label="github" target="_blank" rel="noopener" data-v-abd8961f data-v-771e0054><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg></a><!--]--></div><div class="VPFlyout VPNavBarExtra extra" data-v-d8387026 data-v-c00b8f8e data-v-f028a3c7><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-f028a3c7><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="icon" data-v-f028a3c7=""><circle cx="12" cy="12" r="2"/><circle cx="19" cy="12" r="2"/><circle cx="5" cy="12" r="2"/></svg></button><div class="menu" data-v-f028a3c7><div class="VPMenu" data-v-f028a3c7 data-v-267dc1cb><!----><!--[--><!--[--><!----><div class="group" data-v-c00b8f8e><div class="item appearance" data-v-c00b8f8e><p class="label" data-v-c00b8f8e>Appearance</p><div class="appearance-action" data-v-c00b8f8e><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title="Switch to dark theme" aria-checked="false" data-v-c00b8f8e data-v-3be8a232 data-v-3dc7ea7b><span class="check" data-v-3dc7ea7b><span class="icon" data-v-3dc7ea7b><!--[--><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="sun" data-v-3be8a232=""><path d="M12,18c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6S15.3,18,12,18zM12,8c-2.2,0-4,1.8-4,4c0,2.2,1.8,4,4,4c2.2,0,4-1.8,4-4C16,9.8,14.2,8,12,8z"/><path d="M12,4c-0.6,0-1-0.4-1-1V1c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,3.6,12.6,4,12,4z"/><path d="M12,24c-0.6,0-1-0.4-1-1v-2c0-0.6,0.4-1,1-1s1,0.4,1,1v2C13,23.6,12.6,24,12,24z"/><path d="M5.6,6.6c-0.3,0-0.5-0.1-0.7-0.3L3.5,4.9c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C6.2,6.5,5.9,6.6,5.6,6.6z"/><path d="M19.8,20.8c-0.3,0-0.5-0.1-0.7-0.3l-1.4-1.4c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l1.4,1.4c0.4,0.4,0.4,1,0,1.4C20.3,20.7,20,20.8,19.8,20.8z"/><path d="M3,13H1c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S3.6,13,3,13z"/><path d="M23,13h-2c-0.6,0-1-0.4-1-1s0.4-1,1-1h2c0.6,0,1,0.4,1,1S23.6,13,23,13z"/><path d="M4.2,20.8c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C4.7,20.7,4.5,20.8,4.2,20.8z"/><path d="M18.4,6.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l1.4-1.4c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-1.4,1.4C18.9,6.5,18.6,6.6,18.4,6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="moon" data-v-3be8a232=""><path d="M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"/></svg><!--]--></span></span></button></div></div></div><div class="group" data-v-c00b8f8e><div class="item social-links" data-v-c00b8f8e><div class="VPSocialLinks social-links-list" data-v-c00b8f8e data-v-abd8961f><!--[--><a class="VPSocialLink no-icon" href="https://github.com/gkd-kit" aria-label="github" target="_blank" rel="noopener" data-v-abd8961f data-v-771e0054><svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>GitHub</title><path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"/></svg></a><!--]--></div></div></div><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-d8387026 data-v-979783af><span class="container" data-v-979783af><span class="top" data-v-979783af></span><span class="middle" data-v-979783af></span><span class="bottom" data-v-979783af></span></span></button></div></div></div></div><div class="divider" data-v-d8387026><div class="divider-line" data-v-d8387026></div></div></div><!----></header><div class="VPLocalNav has-sidebar empty" data-v-b2ec6e95 data-v-1a6fa019><div class="container" data-v-1a6fa019><button class="menu" aria-expanded="false" aria-controls="VPSidebarNav" data-v-1a6fa019><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="menu-icon" data-v-1a6fa019=""><path d="M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"/><path d="M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"/><path d="M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"/><path d="M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"/></svg><span class="menu-text" data-v-1a6fa019>Menu</span></button><div class="VPLocalNavOutlineDropdown" style="--vp-vh:0px;" data-v-1a6fa019 data-v-de3bc88c><button data-v-de3bc88c>Return to top</button><!----></div></div></div><aside class="VPSidebar" data-v-b2ec6e95 data-v-03ba6490><div class="curtain" data-v-03ba6490></div><nav class="nav" id="VPSidebarNav" aria-labelledby="sidebar-aria-label" tabindex="-1" data-v-03ba6490><span class="visually-hidden" id="sidebar-aria-label" data-v-03ba6490> Sidebar Navigation </span><!--[--><!--]--><!--[--><div class="group" data-v-03ba6490><section class="VPSidebarItem level-0" data-v-03ba6490 data-v-d47475d6><div class="item" role="button" tabindex="0" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><h2 class="text" data-v-d47475d6>指引</h2><!----></div><div class="items" data-v-d47475d6><!--[--><div class="VPSidebarItem level-1 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/guide/" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>开始使用</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/selector/" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>高级选择器</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/scription/" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>订阅规则</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/faq/" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>疑难解答</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="group" data-v-03ba6490><section class="VPSidebarItem level-0 collapsible is-link has-active" data-v-03ba6490 data-v-d47475d6><div class="item" tabindex="0" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/" data-v-d47475d6><!--[--><h2 class="text" data-v-d47475d6>API</h2><!--]--></a><div class="caret" role="button" aria-label="toggle section" tabindex="0" data-v-d47475d6><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="caret-icon" data-v-d47475d6=""><path d="M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"/></svg></div></div><div class="items" data-v-d47475d6><!--[--><section class="VPSidebarItem level-1 collapsible collapsed" data-v-d47475d6><div class="item" role="button" tabindex="0" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><h3 class="text" data-v-d47475d6>Interfaces</h3><div class="caret" role="button" aria-label="toggle section" tabindex="0" data-v-d47475d6><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="caret-icon" data-v-d47475d6=""><path d="M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"/></svg></div></div><div class="items" data-v-d47475d6><!--[--><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawSubscription.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawSubscription</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawApp.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawApp</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawGlobalGroup.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawGlobalGroup</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawCategory.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawCategory</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawAppRule.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawAppRule</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawAppGroup.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawAppGroup</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawGlobalRule.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawGlobalRule</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawGlobalApp.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawGlobalApp</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawCommonProps.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawCommonProps</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawRuleProps.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawRuleProps</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawGroupProps.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawGroupProps</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawAppRuleProps.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawAppRuleProps</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/interfaces/RawGlobalRuleProps.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>RawGlobalRuleProps</p><!--]--></a><!----></div><!----></div><!--]--></div></section><section class="VPSidebarItem level-1 collapsible has-active" data-v-d47475d6><div class="item" role="button" tabindex="0" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><h3 class="text" data-v-d47475d6>Type Aliases</h3><div class="caret" role="button" aria-label="toggle section" tabindex="0" data-v-d47475d6><svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" viewBox="0 0 24 24" class="caret-icon" data-v-d47475d6=""><path d="M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"/></svg></div></div><div class="items" data-v-d47475d6><!--[--><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/type-aliases/IArray.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>IArray</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-2 is-link" data-v-d47475d6><div class="item" data-v-d47475d6><div class="indicator" data-v-d47475d6></div><a class="VPLink link link" href="/api/type-aliases/Integer.html" data-v-d47475d6><!--[--><p class="text" data-v-d47475d6>Integer</p><!--]--></a><!----></div><!----></div><!--]--></div></section><!--]--></div></section></div><!--]--><!--[--><!--]--></nav></aside><div class="VPContent has-sidebar" id="VPContent" data-v-b2ec6e95 data-v-a1607026><div class="VPDoc has-sidebar has-aside" data-v-a1607026 data-v-7d1bc5a0><!--[--><!--]--><div class="container" data-v-7d1bc5a0><div class="aside" data-v-7d1bc5a0><div class="aside-curtain" data-v-7d1bc5a0></div><div class="aside-container" data-v-7d1bc5a0><div class="aside-content" data-v-7d1bc5a0><div class="VPDocAside" data-v-7d1bc5a0 data-v-30b70da2><!--[--><!--]--><!--[--><!--]--><div class="VPDocAsideOutline" role="navigation" data-v-30b70da2 data-v-d29ebff4><div class="content" data-v-d29ebff4><div class="outline-marker" data-v-d29ebff4></div><div class="outline-title" role="heading" aria-level="2" data-v-d29ebff4>页面导航</div><nav aria-labelledby="doc-outline-aria-label" data-v-d29ebff4><span class="visually-hidden" id="doc-outline-aria-label" data-v-d29ebff4> Table of Contents for current page </span><ul class="VPDocOutlineItem root" data-v-d29ebff4 data-v-02b247a1><!--[--><!--]--></ul></nav></div></div><!--[--><!--]--><div class="spacer" data-v-30b70da2></div><!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-7d1bc5a0><div class="content-container" data-v-7d1bc5a0><!--[--><!--]--><main class="main" data-v-7d1bc5a0><div style="position:relative;" class="vp-doc _api_type-aliases_Integer" data-v-7d1bc5a0><div><h1 id="integer" tabindex="-1">Integer <a class="header-anchor" href="#integer" aria-label="Permalink to "Integer""></a></h1><blockquote><p><strong>Integer</strong>: <code>number</code> & <code>Object</code></p></blockquote><p>此类型表示一个整数</p><h2 id="example" tabindex="-1">Example <a class="header-anchor" href="#example" aria-label="Permalink to "Example""></a></h2><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;">114514</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span>
|
|
22
22
|
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">2.5</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ❌</span></span></code></pre></div><h2 id="type-declaration" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration" aria-label="Permalink to "Type declaration""></a></h2></div></div></main><footer class="VPDocFooter" data-v-7d1bc5a0 data-v-87c05cf1><!--[--><!--]--><div class="edit-info" data-v-87c05cf1><div class="edit-link" data-v-87c05cf1><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/Integer.md" target="_blank" rel="noreferrer" data-v-87c05cf1><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="edit-link-icon" aria-label="edit icon" data-v-87c05cf1=""><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-87c05cf1><div class="pager" data-v-87c05cf1><a class="VPLink link pager-link prev" href="/api/type-aliases/IArray.html" data-v-87c05cf1><!--[--><span class="desc" data-v-87c05cf1>Previous page</span><span class="title" data-v-87c05cf1>IArray</span><!--]--></a></div><div class="pager" data-v-87c05cf1><!----></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><footer class="VPFooter has-sidebar" data-v-b2ec6e95 data-v-9d57a1d7><div class="container" data-v-9d57a1d7><p class="message" data-v-9d57a1d7>Released under the GPL-v3 License.</p><p class="copyright" data-v-9d57a1d7>Copyright © 2024 GKD. All rights reserved</p></div></footer><!--[--><!--]--></div></div>
|
|
23
|
-
<script>window.__VP_HASH_MAP__=JSON.parse("{\"
|
|
23
|
+
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api_type-aliases_integer.md\":\"ZefQAXKm\",\"api_index.md\":\"qg0PTsXu\",\"api_interfaces_rawappgroup.md\":\"iPH_Ryur\",\"api_interfaces_rawapp.md\":\"Xx6Gl_Vo\",\"api_interfaces_rawcommonprops.md\":\"8WCrzJDv\",\"api_interfaces_rawcategory.md\":\"BbftQkeU\",\"api_interfaces_rawgroupprops.md\":\"6EBSrEzq\",\"api_interfaces_rawglobalgroup.md\":\"lXW_7uu9\",\"api_interfaces_rawglobalapp.md\":\"8gQwMn0O\",\"api_interfaces_rawglobalrule.md\":\"6Wxn9D87\",\"api_interfaces_rawappruleprops.md\":\"CpnBN4T3\",\"api_interfaces_rawglobalruleprops.md\":\"IJsPvxKw\",\"index.md\":\"DPFMZPAE\",\"faq_index.md\":\"UKJ7UpJ0\",\"api_type-aliases_iarray.md\":\"SzXlEqwS\",\"api_interfaces_rawapprule.md\":\"yCCkftbY\",\"api_interfaces_rawsubscription.md\":\"TtRucg5C\",\"api_interfaces_rawruleprops.md\":\"4rWePZDv\",\"scription_index.md\":\"gqW_rGK0\",\"selector_index.md\":\"4OmFycFK\",\"guide_index.md\":\"AnsVcmGC\"}");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\":\"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>
|
|
24
24
|
|
|
25
25
|
</body>
|
|
26
26
|
</html>
|