@gkd-kit/docs 0.0.1711030051194 → 0.0.1711359723261
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 +6 -6
- package/.vitepress/dist/api/index.html +9 -9
- package/.vitepress/dist/api/interfaces/RawApp.html +9 -9
- package/.vitepress/dist/api/interfaces/RawAppGroup.html +10 -10
- package/.vitepress/dist/api/interfaces/RawAppRule.html +10 -10
- package/.vitepress/dist/api/interfaces/RawAppRuleProps.html +9 -9
- package/.vitepress/dist/api/interfaces/RawCategory.html +9 -9
- package/.vitepress/dist/api/interfaces/RawCommonProps.html +10 -10
- package/.vitepress/dist/api/interfaces/RawGlobalApp.html +9 -9
- package/.vitepress/dist/api/interfaces/RawGlobalGroup.html +10 -10
- package/.vitepress/dist/api/interfaces/RawGlobalRule.html +10 -10
- package/.vitepress/dist/api/interfaces/RawGlobalRuleProps.html +9 -9
- package/.vitepress/dist/api/interfaces/RawGroupProps.html +10 -10
- package/.vitepress/dist/api/interfaces/RawRuleProps.html +10 -10
- package/.vitepress/dist/api/interfaces/RawSubscription.html +10 -10
- package/.vitepress/dist/api/type-aliases/IArray.html +10 -10
- package/.vitepress/dist/api/type-aliases/Integer.html +10 -10
- package/.vitepress/dist/api/type-aliases/Position.html +10 -10
- package/.vitepress/dist/assets/{api_index.md.Z2l_ZVVi.js → api_index.md.DHYZpTFh.js} +1 -1
- package/.vitepress/dist/assets/{api_index.md.Z2l_ZVVi.lean.js → api_index.md.DHYZpTFh.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawApp.md.zJj6rm-T.js → api_interfaces_RawApp.md.CFd9HKTX.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawApp.md.zJj6rm-T.lean.js → api_interfaces_RawApp.md.CFd9HKTX.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawAppGroup.md._izXQeRe.js → api_interfaces_RawAppGroup.md.BHNDof7j.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawAppGroup.md._izXQeRe.lean.js → api_interfaces_RawAppGroup.md.BHNDof7j.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawAppRule.md.QAZSWRMf.js → api_interfaces_RawAppRule.md.CVbqu8yb.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawAppRule.md.QAZSWRMf.lean.js → api_interfaces_RawAppRule.md.CVbqu8yb.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawAppRuleProps.md.LJFOj1NW.js → api_interfaces_RawAppRuleProps.md.CueY_8YH.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawAppRuleProps.md.LJFOj1NW.lean.js → api_interfaces_RawAppRuleProps.md.CueY_8YH.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawCategory.md.yjtqip6Q.js → api_interfaces_RawCategory.md.BVAVU77X.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawCategory.md.yjtqip6Q.lean.js → api_interfaces_RawCategory.md.BVAVU77X.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawCommonProps.md.6BXwsDeJ.js → api_interfaces_RawCommonProps.md.Bheh7Xis.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawCommonProps.md.6BXwsDeJ.lean.js → api_interfaces_RawCommonProps.md.Bheh7Xis.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalApp.md.7s6Db8fA.js → api_interfaces_RawGlobalApp.md.DfGtUccd.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalApp.md.7s6Db8fA.lean.js → api_interfaces_RawGlobalApp.md.DfGtUccd.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalGroup.md.babvgVSr.js → api_interfaces_RawGlobalGroup.md.BmxWpblS.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalGroup.md.babvgVSr.lean.js → api_interfaces_RawGlobalGroup.md.BmxWpblS.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalRule.md.XHFzuhW4.js → api_interfaces_RawGlobalRule.md.B9IkGj0q.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalRule.md.XHFzuhW4.lean.js → api_interfaces_RawGlobalRule.md.B9IkGj0q.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalRuleProps.md.2BK33L_V.js → api_interfaces_RawGlobalRuleProps.md.BfOzamQa.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalRuleProps.md.2BK33L_V.lean.js → api_interfaces_RawGlobalRuleProps.md.BfOzamQa.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGroupProps.md.1oS1BZli.js → api_interfaces_RawGroupProps.md.CDX2_EWA.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGroupProps.md.1oS1BZli.lean.js → api_interfaces_RawGroupProps.md.CDX2_EWA.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawRuleProps.md.-L48R_I6.js → api_interfaces_RawRuleProps.md.Cnzp46mK.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawRuleProps.md.-L48R_I6.lean.js → api_interfaces_RawRuleProps.md.Cnzp46mK.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawSubscription.md.Ww8ZZIT0.js → api_interfaces_RawSubscription.md.DXcLUdko.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawSubscription.md.Ww8ZZIT0.lean.js → api_interfaces_RawSubscription.md.DXcLUdko.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_type-aliases_IArray.md.TBZaO4rI.js → api_type-aliases_IArray.md.s10zCsGe.js} +1 -1
- package/.vitepress/dist/assets/{api_type-aliases_IArray.md.TBZaO4rI.lean.js → api_type-aliases_IArray.md.s10zCsGe.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_type-aliases_Integer.md.sDr9vO5p.js → api_type-aliases_Integer.md.BQ2CaRGu.js} +1 -1
- package/.vitepress/dist/assets/{api_type-aliases_Integer.md.sDr9vO5p.lean.js → api_type-aliases_Integer.md.BQ2CaRGu.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_type-aliases_Position.md.dSaq6e-z.js → api_type-aliases_Position.md.CyXqh5eg.js} +1 -1
- package/.vitepress/dist/assets/{api_type-aliases_Position.md.dSaq6e-z.lean.js → api_type-aliases_Position.md.CyXqh5eg.lean.js} +1 -1
- package/.vitepress/dist/assets/{app.sxKbAjZt.js → app.DJikmBhL.js} +1 -1
- package/.vitepress/dist/assets/chunks/{@localSearchIndexroot.bkMzp0ts.js → @localSearchIndexroot.DvqSOPbd.js} +1 -1
- package/.vitepress/dist/assets/chunks/{VPLocalSearchBox.ekVGr81b.js → VPLocalSearchBox.DzvOGcS_.js} +2 -2
- package/.vitepress/dist/assets/chunks/framework.CIBryV9e.js +17 -0
- package/.vitepress/dist/assets/chunks/theme.-0wIrq0W.js +9 -0
- package/.vitepress/dist/assets/faq_index.md.DK0Co6g2.js +1 -0
- package/.vitepress/dist/assets/faq_index.md.DK0Co6g2.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_index.md.b6h-uVEx.js → guide_index.md.BJWDMB2l.js} +2 -2
- package/.vitepress/dist/assets/{guide_index.md.b6h-uVEx.lean.js → guide_index.md.BJWDMB2l.lean.js} +2 -2
- package/.vitepress/dist/assets/{index.md.VUjPSGxj.js → index.md.D2TDQ2CG.js} +1 -1
- package/.vitepress/dist/assets/{index.md.VUjPSGxj.lean.js → index.md.D2TDQ2CG.lean.js} +1 -1
- package/.vitepress/dist/assets/{scription_index.md.3ESP-fl2.js → scription_index.md.BEpDXG2K.js} +1 -1
- package/.vitepress/dist/assets/{scription_index.md.3ESP-fl2.lean.js → scription_index.md.BEpDXG2K.lean.js} +1 -1
- package/.vitepress/dist/assets/{selector_index.md.weN-SHp3.js → selector_index.md.Bu1BZA8B.js} +1 -1
- package/.vitepress/dist/assets/{selector_index.md.weN-SHp3.lean.js → selector_index.md.Bu1BZA8B.lean.js} +1 -1
- package/.vitepress/dist/assets/style.lB7L5fOs.css +1 -0
- package/.vitepress/dist/faq/index.html +9 -9
- package/.vitepress/dist/guide/index.html +9 -9
- package/.vitepress/dist/hashmap.json +1 -1
- package/.vitepress/dist/index.html +9 -9
- package/.vitepress/dist/scription/index.html +9 -9
- package/.vitepress/dist/selector/index.html +9 -9
- package/package.json +1 -1
- package/.vitepress/dist/assets/chunks/framework.WfnzyNOW.js +0 -17
- package/.vitepress/dist/assets/chunks/theme.fTukj1BV.js +0 -9
- package/.vitepress/dist/assets/faq_index.md.TDme1Mu0.js +0 -1
- package/.vitepress/dist/assets/faq_index.md.TDme1Mu0.lean.js +0 -1
- package/.vitepress/dist/assets/style.f664FbbR.css +0 -1
- /package/.vitepress/dist/assets/{inter-italic-cyrillic-ext.OVycGSDq.woff2 → inter-italic-cyrillic-ext.5XJwZIOp.woff2} +0 -0
- /package/.vitepress/dist/assets/{inter-italic-cyrillic.-nLMcIwj.woff2 → inter-italic-cyrillic.D6csxwjC.woff2} +0 -0
- /package/.vitepress/dist/assets/{inter-italic-greek-ext.hznxWNZO.woff2 → inter-italic-greek-ext.CHOfFY1k.woff2} +0 -0
- /package/.vitepress/dist/assets/{inter-italic-greek.PSfer2Kc.woff2 → inter-italic-greek.9J96vYpw.woff2} +0 -0
- /package/.vitepress/dist/assets/{inter-italic-latin-ext.RnFly65-.woff2 → inter-italic-latin-ext.BGcWXLrn.woff2} +0 -0
- /package/.vitepress/dist/assets/{inter-italic-latin.27E69YJn.woff2 → inter-italic-latin.DbsTr1gm.woff2} +0 -0
- /package/.vitepress/dist/assets/{inter-italic-vietnamese.xzQHe1q1.woff2 → inter-italic-vietnamese.DHNAd7Wr.woff2} +0 -0
- /package/.vitepress/dist/assets/{inter-roman-cyrillic-ext.8T9wMG5w.woff2 → inter-roman-cyrillic-ext.DxP3Awbn.woff2} +0 -0
- /package/.vitepress/dist/assets/{inter-roman-cyrillic.jIZ9REo5.woff2 → inter-roman-cyrillic.CMhn1ESj.woff2} +0 -0
- /package/.vitepress/dist/assets/{inter-roman-greek-ext.9JiNzaSO.woff2 → inter-roman-greek-ext.D0mI3NpI.woff2} +0 -0
- /package/.vitepress/dist/assets/{inter-roman-greek.Cb5wWeGA.woff2 → inter-roman-greek.JvnBZ4YD.woff2} +0 -0
- /package/.vitepress/dist/assets/{inter-roman-latin-ext.GZWE-KO4.woff2 → inter-roman-latin-ext.ZlYT4o7i.woff2} +0 -0
- /package/.vitepress/dist/assets/{inter-roman-latin.bvIUbFQP.woff2 → inter-roman-latin.Bu8hRsVA.woff2} +0 -0
- /package/.vitepress/dist/assets/{inter-roman-vietnamese.paY3CzEB.woff2 → inter-roman-vietnamese.ClpjcLMQ.woff2} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as a,c as e,o,a4 as t}from"./chunks/framework.
|
|
1
|
+
import{_ as a,c as e,o,a4 as t}from"./chunks/framework.CIBryV9e.js";const b=JSON.parse('{"title":"RawSubscription","description":"","frontmatter":{},"headers":[],"relativePath":"api/interfaces/RawSubscription.md","filePath":"api/interfaces/RawSubscription.md","lastUpdated":null}'),r={name:"api/interfaces/RawSubscription.md"},s=t(`<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><p>如下是一个简单的示例</p><div class="language-json vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">json</span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
|
|
2
2
|
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> "id"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">114514</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
3
3
|
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> "version"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">1919810</span></span>
|
|
4
4
|
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><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>`,49),i=[s];function p(n,l,h,c,d,u){return o(),e("div",null,i)}const g=a(r,[["render",p]]);export{b as __pageData,g as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as a,c as e,o,a4 as t}from"./chunks/framework.
|
|
1
|
+
import{_ as a,c as e,o,a4 as t}from"./chunks/framework.CIBryV9e.js";const b=JSON.parse('{"title":"RawSubscription","description":"","frontmatter":{},"headers":[],"relativePath":"api/interfaces/RawSubscription.md","filePath":"api/interfaces/RawSubscription.md","lastUpdated":null}'),r={name:"api/interfaces/RawSubscription.md"},s=t("",49),i=[s];function p(n,l,h,c,d,u){return o(),e("div",null,i)}const g=a(r,[["render",p]]);export{b as __pageData,g as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.
|
|
1
|
+
import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.CIBryV9e.js";const E=JSON.parse('{"title":"IArray<T>","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/IArray.md","filePath":"api/type-aliases/IArray.md","lastUpdated":null}'),h={name:"api/type-aliases/IArray.md"},n=t(`<h1 id="iarray-t" tabindex="-1">IArray<T> <a class="header-anchor" href="#iarray-t" aria-label="Permalink to "IArray\\<T\\>""></a></h1><blockquote><p><strong>IArray</strong><<code>T</code>>: <code>T</code> | <code>T</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:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> n1</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:#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>
|
|
2
2
|
<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>
|
|
3
3
|
<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>
|
|
4
4
|
<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>`,7),l=[n];function e(k,p,r,d,y,g){return a(),i("div",null,l)}const c=s(h,[["render",e]]);export{E as __pageData,c as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.
|
|
1
|
+
import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.CIBryV9e.js";const E=JSON.parse('{"title":"IArray<T>","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/IArray.md","filePath":"api/type-aliases/IArray.md","lastUpdated":null}'),h={name:"api/type-aliases/IArray.md"},n=t("",7),l=[n];function e(k,p,r,d,y,g){return a(),i("div",null,l)}const c=s(h,[["render",e]]);export{E as __pageData,c as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{_ as e,c as a,o as t,a4 as s}from"./chunks/framework.
|
|
1
|
+
import{_ as e,c as a,o as t,a4 as s}from"./chunks/framework.CIBryV9e.js";const k=JSON.parse('{"title":"Integer","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/Integer.md","filePath":"api/type-aliases/Integer.md","lastUpdated":null}'),i={name:"api/type-aliases/Integer.md"},n=s(`<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>
|
|
2
2
|
<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>`,6),r=[n];function l(o,p,c,d,h,_){return t(),a("div",null,r)}const m=e(i,[["render",l]]);export{k as __pageData,m as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,c as a,o as t,a4 as s}from"./chunks/framework.
|
|
1
|
+
import{_ as e,c as a,o as t,a4 as s}from"./chunks/framework.CIBryV9e.js";const k=JSON.parse('{"title":"Integer","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/Integer.md","filePath":"api/type-aliases/Integer.md","lastUpdated":null}'),i={name:"api/type-aliases/Integer.md"},n=s("",6),r=[n];function l(o,p,c,d,h,_){return t(),a("div",null,r)}const m=e(i,[["render",l]]);export{k as __pageData,m as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.
|
|
1
|
+
import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.CIBryV9e.js";const E=JSON.parse('{"title":"Position","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/Position.md","filePath":"api/type-aliases/Position.md","lastUpdated":null}'),e={name:"api/type-aliases/Position.md"},n=t(`<h1 id="position" tabindex="-1">Position <a class="header-anchor" href="#position" aria-label="Permalink to "Position""></a></h1><blockquote><p><strong>Position</strong>: <code>Object</code></p></blockquote><p>位置类型, 用以描述自定义点击位置</p><p>使用 left/top/right/bottom 四条边实现定位, 此对象只能有两个属性, 也就是两条相邻边</p><p>合法的定位组合为: left-top, left-bottom, right-top, right-bottom</p><p>示例1-点击目标节点的中心</p><div class="language-json5 vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">json5</span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
|
|
2
2
|
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> left</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'width/2'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
3
3
|
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> top</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'height/2'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
4
4
|
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>示例2-点击目标节点的左上顶点</p><div class="language-json5 vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">json5</span><pre class="shiki shiki-themes github-light github-dark vp-code"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.
|
|
1
|
+
import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.CIBryV9e.js";const E=JSON.parse('{"title":"Position","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/Position.md","filePath":"api/type-aliases/Position.md","lastUpdated":null}'),e={name:"api/type-aliases/Position.md"},n=t("",30),l=[n];function p(h,o,r,k,d,c){return a(),i("div",null,l)}const b=s(e,[["render",p]]);export{E as __pageData,b as default};
|
|
@@ -4,4 +4,4 @@ function __vite__mapDeps(indexes) {
|
|
|
4
4
|
}
|
|
5
5
|
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
6
6
|
}
|
|
7
|
-
import{j as o,a5 as p,a6 as u,a7 as l,a8 as c,a9 as f,aa as d,ab as m,ac as h,ad as g,ae as A,Y as P,d as _,u as v,l as R,z as w,af as y,ag as C,ah as E,ai as b}from"./chunks/framework.
|
|
7
|
+
import{j as o,a5 as p,a6 as u,a7 as l,a8 as c,a9 as f,aa as d,ab as m,ac as h,ad as g,ae as A,Y as P,d as _,u as v,l as R,z as w,af as y,ag as C,ah as E,ai as b}from"./chunks/framework.CIBryV9e.js";import{R as T}from"./chunks/theme.-0wIrq0W.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(T),S=_({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=v();return R(()=>{w(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&y(),C(),E(),s.setup&&s.setup(),()=>b(s.Layout)}});async function D(){globalThis.__VITEPRESS__=!0;const e=L(),a=j();a.provide(u,e);const t=l(e.route);return a.provide(c,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function j(){return h(S)}function L(){let e=o,a;return g(t=>{let n=A(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=P(()=>import(((u)=>{if(u.startsWith('/')){return"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1711359723261/files/.vitepress/dist"+u}return u})(n)),__vite__mapDeps([]))),o&&(e=!1),r},s.NotFound)}o&&D().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{D as createApp};
|