@gkd-kit/docs 0.0.1707311575305 → 0.0.1708192878634
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 +8 -8
- package/.vitepress/dist/api/interfaces/RawApp.html +8 -8
- package/.vitepress/dist/api/interfaces/RawAppGroup.html +9 -9
- package/.vitepress/dist/api/interfaces/RawAppRule.html +9 -9
- package/.vitepress/dist/api/interfaces/RawAppRuleProps.html +8 -8
- package/.vitepress/dist/api/interfaces/RawCategory.html +8 -8
- package/.vitepress/dist/api/interfaces/RawCommonProps.html +8 -8
- package/.vitepress/dist/api/interfaces/RawGlobalApp.html +8 -8
- package/.vitepress/dist/api/interfaces/RawGlobalGroup.html +9 -9
- package/.vitepress/dist/api/interfaces/RawGlobalRule.html +9 -9
- package/.vitepress/dist/api/interfaces/RawGlobalRuleProps.html +8 -8
- package/.vitepress/dist/api/interfaces/RawGroupProps.html +9 -9
- package/.vitepress/dist/api/interfaces/RawRuleProps.html +9 -9
- package/.vitepress/dist/api/interfaces/RawSubscription.html +8 -8
- package/.vitepress/dist/api/type-aliases/IArray.html +9 -9
- package/.vitepress/dist/api/type-aliases/Integer.html +8 -8
- package/.vitepress/dist/api/type-aliases/Position.html +47 -0
- package/.vitepress/dist/assets/{api_index.md.Fnn7fAQP.js → api_index.md.aMHhlw17.js} +1 -1
- package/.vitepress/dist/assets/{api_index.md.Fnn7fAQP.lean.js → api_index.md.aMHhlw17.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawAppGroup.md.SHWJVcBG.js → api_interfaces_RawAppGroup.md.sRqOsQ6V.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawAppGroup.md.SHWJVcBG.lean.js → api_interfaces_RawAppGroup.md.sRqOsQ6V.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawAppRule.md.kYKCOA_r.js → api_interfaces_RawAppRule.md.9ofILMkZ.js} +1 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRule.md.9ofILMkZ.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.8KeTIIw8.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.8KeTIIw8.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalApp.md.1a_q0jWK.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalApp.md.1a_q0jWK.lean.js +1 -0
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalGroup.md.kWrK2iA4.js → api_interfaces_RawGlobalGroup.md.gVwHEDU9.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalGroup.md.kWrK2iA4.lean.js → api_interfaces_RawGlobalGroup.md.gVwHEDU9.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalRule.md.LmghVfhf.js → api_interfaces_RawGlobalRule.md.t2XzoCtK.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalRule.md.LmghVfhf.lean.js → api_interfaces_RawGlobalRule.md.t2XzoCtK.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGroupProps.md.uRczOUfY.js → api_interfaces_RawGroupProps.md.IWuByOby.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGroupProps.md.uRczOUfY.lean.js → api_interfaces_RawGroupProps.md.IWuByOby.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawRuleProps.md.rT7xv_SO.js → api_interfaces_RawRuleProps.md.-71MX1QT.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawRuleProps.md.rT7xv_SO.lean.js → api_interfaces_RawRuleProps.md.-71MX1QT.lean.js} +1 -1
- package/.vitepress/dist/assets/api_type-aliases_Position.md.6moc9eol.js +23 -0
- package/.vitepress/dist/assets/api_type-aliases_Position.md.6moc9eol.lean.js +1 -0
- package/.vitepress/dist/assets/{app.DazYiPtw.js → app.h04_nwdA.js} +1 -1
- package/.vitepress/dist/assets/chunks/@localSearchIndexroot.lx0js48A.js +1 -0
- package/.vitepress/dist/assets/chunks/{VPLocalSearchBox.RgXUfnEK.js → VPLocalSearchBox.byPy61Vk.js} +2 -2
- package/.vitepress/dist/assets/chunks/{theme.prJi8Rkb.js → theme.v9e9F_DU.js} +1 -1
- package/.vitepress/dist/assets/{faq_index.md.uJMFdSCI.js → faq_index.md.5jM9WdHX.js} +1 -1
- package/.vitepress/dist/assets/{faq_index.md.uJMFdSCI.lean.js → faq_index.md.5jM9WdHX.lean.js} +1 -1
- package/.vitepress/dist/assets/{guide_index.md.lL_UC74O.js → guide_index.md.97DIkXci.js} +1 -1
- package/.vitepress/dist/assets/{guide_index.md.lL_UC74O.lean.js → guide_index.md.97DIkXci.lean.js} +1 -1
- package/.vitepress/dist/assets/{index.md.ysASpwwR.js → index.md.4D-760dj.js} +1 -1
- package/.vitepress/dist/assets/{index.md.ysASpwwR.lean.js → index.md.4D-760dj.lean.js} +1 -1
- package/.vitepress/dist/assets/{scription_index.md.txihUAHs.js → scription_index.md.Q28gFfmT.js} +1 -1
- package/.vitepress/dist/assets/{scription_index.md.txihUAHs.lean.js → scription_index.md.Q28gFfmT.lean.js} +1 -1
- package/.vitepress/dist/assets/{selector_index.md.a_RVIBQi.js → selector_index.md.CSCcmJZy.js} +1 -1
- package/.vitepress/dist/assets/{selector_index.md.a_RVIBQi.lean.js → selector_index.md.CSCcmJZy.lean.js} +1 -1
- package/.vitepress/dist/assets/style.neYbxcEm.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/api_interfaces_RawAppRule.md.kYKCOA_r.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.kUOun-J5.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.kUOun-J5.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalApp.md.XyhntH0b.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalApp.md.XyhntH0b.lean.js +0 -1
- package/.vitepress/dist/assets/chunks/@localSearchIndexroot.3CEFalsb.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as e,c as a,o as t,V as o}from"./chunks/framework.CR5kvWbS.js";const k=JSON.parse('{"title":"RawRuleProps","description":"","frontmatter":{},"headers":[],"relativePath":"api/interfaces/RawRuleProps.md","filePath":"api/interfaces/RawRuleProps.md","lastUpdated":null}'),i={name:"api/interfaces/RawRuleProps.md"},s=o("",
|
|
1
|
+
import{_ as e,c as a,o as t,V as o}from"./chunks/framework.CR5kvWbS.js";const k=JSON.parse('{"title":"RawRuleProps","description":"","frontmatter":{},"headers":[],"relativePath":"api/interfaces/RawRuleProps.md","filePath":"api/interfaces/RawRuleProps.md","lastUpdated":null}'),i={name:"api/interfaces/RawRuleProps.md"},s=o("",160),r=[s];function l(n,h,c,d,p,m){return t(),a("div",null,r)}const b=e(i,[["render",l]]);export{k as __pageData,b as default};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import{_ as s,c as i,o as a,V as t}from"./chunks/framework.CR5kvWbS.js";const E=JSON.parse('{"title":"Position","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/Position.md","filePath":"api/type-aliases/Position.md","lastUpdated":null}'),n={name:"api/type-aliases/Position.md"},e=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><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:#6A737D;--shiki-dark:#6A737D;">// 点击目标节点的中心</span></span>
|
|
2
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
|
|
3
|
+
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> 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>
|
|
4
|
+
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> 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>
|
|
5
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span>
|
|
6
|
+
<span class="line"></span>
|
|
7
|
+
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 点击目标节点的左上顶点</span></span>
|
|
8
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
|
|
9
|
+
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> left</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">0</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
10
|
+
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> top</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">0</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
11
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span>
|
|
12
|
+
<span class="line"></span>
|
|
13
|
+
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 点击目标节点的右上区域</span></span>
|
|
14
|
+
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// https://i.gkd.li/import/14112390</span></span>
|
|
15
|
+
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// https://i.gkd.li/import/14319672</span></span>
|
|
16
|
+
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// https://github.com/gkd-kit/gkd/assets/38517192/2cac0614-5eba-48a1-9149-4e564cb79945</span></span>
|
|
17
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
|
|
18
|
+
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> right</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'width*0.1352'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
19
|
+
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> top</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'width*0.0852'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
20
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><h2 id="type-declaration" tabindex="-1">Type declaration <a class="header-anchor" href="#type-declaration" aria-label="Permalink to "Type declaration""></a></h2><h3 id="left" tabindex="-1">left? <a class="header-anchor" href="#left" aria-label="Permalink to "left?""></a></h3><blockquote><p><strong>left</strong>?: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点左边的距离</p><p>方向: 边 -> 节点中心, 负数表示反方向(也可点击节点外部区域)</p><p>支持两种值类型, 字符串和数字, 数字等价于相同内容的字符串, 如 2.5 等价于 '2.5'</p><p>字符串类型支持来自快照属性面板上的 left/top/right/bottom/width/height 的数学表达式运算</p><h4 id="example-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:#005CC5;--shiki-dark:#79B8FF;">2.5</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span>
|
|
21
|
+
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'2.5'</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span>
|
|
22
|
+
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'2.5 + 1 - 2 * 3 / 4 ^ 5 % 6'</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span>
|
|
23
|
+
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'(right + left) / 2'</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span></code></pre></div><h3 id="top" tabindex="-1">top? <a class="header-anchor" href="#top" aria-label="Permalink to "top?""></a></h3><blockquote><p><strong>top</strong>?: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点上边的距离</p><h3 id="right" tabindex="-1">right? <a class="header-anchor" href="#right" aria-label="Permalink to "right?""></a></h3><blockquote><p><strong>right</strong>?: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点右边的距离</p><h3 id="bottom" tabindex="-1">bottom? <a class="header-anchor" href="#bottom" aria-label="Permalink to "bottom?""></a></h3><blockquote><p><strong>bottom</strong>?: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点下边的距离</p>`,25),l=[e];function p(h,o,k,r,d,c){return a(),i("div",null,l)}const y=s(n,[["render",p]]);export{E as __pageData,y as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as s,c as i,o as a,V as t}from"./chunks/framework.CR5kvWbS.js";const E=JSON.parse('{"title":"Position","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/Position.md","filePath":"api/type-aliases/Position.md","lastUpdated":null}'),n={name:"api/type-aliases/Position.md"},e=t("",25),l=[e];function p(h,o,k,r,d,c){return a(),i("div",null,l)}const y=s(n,[["render",p]]);export{E as __pageData,y as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{j as o,a4 as p,a5 as u,a6 as c,a7 as l,a8 as f,a9 as d,aa as m,ab as h,ac as A,ad as g,Y as v,d as P,u as w,l as y,z as C,ae as R,af as _,ag as b,ah as E}from"./chunks/framework.CR5kvWbS.js";import{R as D}from"./chunks/theme.
|
|
1
|
+
import{j as o,a4 as p,a5 as u,a6 as c,a7 as l,a8 as f,a9 as d,aa as m,ab as h,ac as A,ad as g,Y as v,d as P,u as w,l as y,z as C,ae as R,af as _,ag as b,ah as E}from"./chunks/framework.CR5kvWbS.js";import{R as D}from"./chunks/theme.v9e9F_DU.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(D),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=w();return y(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&R(),_(),b(),s.setup&&s.setup(),()=>E(s.Layout)}});async function j(){const e=O(),a=L();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function L(){return h(T)}function O(){let e=o,a;return A(t=>{let n=g(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=v(()=>import(((u)=>{if(u.startsWith('/')){return"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1708192878634/files/.vitepress/dist"+u}return u})(n)),__vite__mapDeps([]))),o&&(e=!1),r},s.NotFound)}o&&j().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{j as createApp};
|
|
2
2
|
function __vite__mapDeps(indexes) {
|
|
3
3
|
if (!__vite__mapDeps.viteFileDeps) {
|
|
4
4
|
__vite__mapDeps.viteFileDeps = []
|