@gkd-kit/docs 0.0.1746214530900 → 0.0.1746215876468
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 +8 -8
- package/.vitepress/dist/404_.md +8 -8
- package/.vitepress/dist/_config.json +1 -1
- package/.vitepress/dist/api/index.html +12 -12
- package/.vitepress/dist/api/index_.md +12 -12
- package/.vitepress/dist/api/interfaces/RawApp.html +12 -12
- package/.vitepress/dist/api/interfaces/RawAppGroup.html +18 -18
- package/.vitepress/dist/api/interfaces/RawAppGroup_.md +18 -18
- package/.vitepress/dist/api/interfaces/RawAppRule.html +21 -21
- package/.vitepress/dist/api/interfaces/RawAppRuleProps.html +12 -12
- package/.vitepress/dist/api/interfaces/RawAppRuleProps_.md +12 -12
- package/.vitepress/dist/api/interfaces/RawAppRule_.md +21 -21
- package/.vitepress/dist/api/interfaces/RawApp_.md +12 -12
- package/.vitepress/dist/api/interfaces/RawCategory.html +12 -12
- package/.vitepress/dist/api/interfaces/RawCategory_.md +12 -12
- package/.vitepress/dist/api/interfaces/RawCommonProps.html +14 -14
- package/.vitepress/dist/api/interfaces/RawCommonProps_.md +14 -14
- package/.vitepress/dist/api/interfaces/RawGlobalApp.html +12 -12
- package/.vitepress/dist/api/interfaces/RawGlobalApp_.md +12 -12
- package/.vitepress/dist/api/interfaces/RawGlobalGroup.html +14 -14
- package/.vitepress/dist/api/interfaces/RawGlobalGroup_.md +14 -14
- package/.vitepress/dist/api/interfaces/RawGlobalRule.html +21 -21
- package/.vitepress/dist/api/interfaces/RawGlobalRuleProps.html +12 -12
- package/.vitepress/dist/api/interfaces/RawGlobalRuleProps_.md +12 -12
- package/.vitepress/dist/api/interfaces/RawGlobalRule_.md +21 -21
- package/.vitepress/dist/api/interfaces/RawGroupProps.html +14 -14
- package/.vitepress/dist/api/interfaces/RawGroupProps_.md +14 -14
- package/.vitepress/dist/api/interfaces/RawRuleProps.html +21 -21
- package/.vitepress/dist/api/interfaces/RawRuleProps_.md +21 -21
- package/.vitepress/dist/api/interfaces/RawSubscription.html +13 -13
- package/.vitepress/dist/api/interfaces/RawSubscription_.md +13 -13
- package/.vitepress/dist/api/type-aliases/IArray.html +13 -13
- package/.vitepress/dist/api/type-aliases/IArray_.md +13 -13
- package/.vitepress/dist/api/type-aliases/Integer.html +13 -13
- package/.vitepress/dist/api/type-aliases/Integer_.md +13 -13
- package/.vitepress/dist/api/type-aliases/Position.html +16 -16
- package/.vitepress/dist/api/type-aliases/Position_.md +16 -16
- package/.vitepress/dist/assets/api_index.md.Bf0KFfJx.js +1 -0
- package/.vitepress/dist/assets/api_index.md.Bf0KFfJx.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawApp.md.IBITM3kc.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawApp.md.IBITM3kc.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppGroup.md.CoGi4LQd.js +22 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppGroup.md.CoGi4LQd.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppRule.md.DatXp-em.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppRule.md.DatXp-em.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.DO-QMZAC.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.DO-QMZAC.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawCategory.md.e9LIHsw-.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawCategory.md.e9LIHsw-.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawCommonProps.md.CqdT_QXA.js +5 -0
- package/.vitepress/dist/assets/api_interfaces_RawCommonProps.md.CqdT_QXA.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalApp.md.CinQMLSN.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalApp.md.CinQMLSN.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalGroup.md.D6HdKv7q.js +5 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalGroup.md.D6HdKv7q.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRule.md.DuE4i62g.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRule.md.DuE4i62g.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRuleProps.md.DcNlku1G.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRuleProps.md.DcNlku1G.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGroupProps.md.Dmrx6LKW.js +5 -0
- package/.vitepress/dist/assets/api_interfaces_RawGroupProps.md.Dmrx6LKW.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawRuleProps.md.D09T_bVF.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawRuleProps.md.D09T_bVF.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawSubscription.md.DNuJq1Hc.js +4 -0
- package/.vitepress/dist/assets/api_interfaces_RawSubscription.md.DNuJq1Hc.lean.js +1 -0
- package/.vitepress/dist/assets/{api_type-aliases_IArray.md.BV1HveiZ.js → api_type-aliases_IArray.md.DkP49flf.js} +2 -2
- package/.vitepress/dist/assets/api_type-aliases_IArray.md.DkP49flf.lean.js +1 -0
- package/.vitepress/dist/assets/api_type-aliases_Integer.md.Pjff9oE4.js +2 -0
- package/.vitepress/dist/assets/{api_type-aliases_Integer.md.D5K7JFq4.lean.js → api_type-aliases_Integer.md.Pjff9oE4.lean.js} +1 -1
- package/.vitepress/dist/assets/api_type-aliases_Position.md.Idumrk8e.js +13 -0
- package/.vitepress/dist/assets/api_type-aliases_Position.md.Idumrk8e.lean.js +1 -0
- package/.vitepress/dist/assets/app.DE-zbWsW.js +1 -0
- package/.vitepress/dist/assets/chunks/@localSearchIndexroot.KHMydUBT.js +1 -0
- package/.vitepress/dist/assets/chunks/FileSaver.min.BxHcgHsl.js +1 -0
- package/.vitepress/dist/assets/chunks/VPLocalSearchBox.Dv2rKtnd.js +8 -0
- package/.vitepress/dist/assets/chunks/framework.CBQNBEo4.js +18 -0
- package/.vitepress/dist/assets/chunks/{index.BMeD7MBc.js → index.YMDd8FRl.js} +27 -27
- package/.vitepress/dist/assets/chunks/theme.De5ivgzu.js +1 -0
- package/.vitepress/dist/assets/guide_example.md.wXnyIsga.js +1 -0
- package/.vitepress/dist/assets/guide_example.md.wXnyIsga.lean.js +1 -0
- package/.vitepress/dist/assets/guide_external.md.CYkiHxBU.js +1 -0
- package/.vitepress/dist/assets/guide_external.md.CYkiHxBU.lean.js +1 -0
- package/.vitepress/dist/assets/guide_faq.md.D2Dn9gHb.js +21 -0
- package/.vitepress/dist/assets/guide_faq.md.D2Dn9gHb.lean.js +1 -0
- package/.vitepress/dist/assets/guide_index.md.BAotlOHm.js +1 -0
- package/.vitepress/dist/assets/guide_index.md.BAotlOHm.lean.js +1 -0
- package/.vitepress/dist/assets/guide_node.md.uG2ZNubO.js +1 -0
- package/.vitepress/dist/assets/guide_node.md.uG2ZNubO.lean.js +1 -0
- package/.vitepress/dist/assets/guide_optimize.md.CmH-gARi.js +1 -0
- package/.vitepress/dist/assets/guide_optimize.md.CmH-gARi.lean.js +1 -0
- package/.vitepress/dist/assets/guide_privacy.md.EQVZQGYw.js +1 -0
- package/.vitepress/dist/assets/guide_privacy.md.EQVZQGYw.lean.js +1 -0
- package/.vitepress/dist/assets/guide_selector.md.Dcb9s8ra.js +12 -0
- package/.vitepress/dist/assets/guide_selector.md.Dcb9s8ra.lean.js +1 -0
- package/.vitepress/dist/assets/guide_snapshot.md.Bh1E-CuX.js +1 -0
- package/.vitepress/dist/assets/guide_snapshot.md.Bh1E-CuX.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_subscription.md.DYtHNPwp.js → guide_subscription.md.2DVhmK64.js} +6 -6
- package/.vitepress/dist/assets/guide_subscription.md.2DVhmK64.lean.js +1 -0
- package/.vitepress/dist/assets/guide_what-is-gkd.md.CMPCNCRp.js +1 -0
- package/.vitepress/dist/assets/guide_what-is-gkd.md.CMPCNCRp.lean.js +1 -0
- package/.vitepress/dist/assets/{index.md.7rhzn7Kn.js → index.md.DRBJ5-D-.js} +1 -1
- package/.vitepress/dist/assets/{index.md.7rhzn7Kn.lean.js → index.md.DRBJ5-D-.lean.js} +1 -1
- package/.vitepress/dist/assets/style.CuzzImqp.css +1 -0
- package/.vitepress/dist/guide/example.html +12 -12
- package/.vitepress/dist/guide/example_.md +12 -12
- package/.vitepress/dist/guide/external.html +12 -12
- package/.vitepress/dist/guide/external_.md +12 -12
- package/.vitepress/dist/guide/faq.html +13 -13
- package/.vitepress/dist/guide/faq_.md +13 -13
- package/.vitepress/dist/guide/index.html +12 -12
- package/.vitepress/dist/guide/index_.md +12 -12
- package/.vitepress/dist/guide/node.html +12 -12
- package/.vitepress/dist/guide/node_.md +12 -12
- package/.vitepress/dist/guide/optimize.html +12 -12
- package/.vitepress/dist/guide/optimize_.md +12 -12
- package/.vitepress/dist/guide/privacy.html +12 -12
- package/.vitepress/dist/guide/privacy_.md +12 -12
- package/.vitepress/dist/guide/selector.html +18 -18
- package/.vitepress/dist/guide/selector_.md +18 -18
- package/.vitepress/dist/guide/snapshot.html +12 -12
- package/.vitepress/dist/guide/snapshot_.md +12 -12
- package/.vitepress/dist/guide/subscription.html +17 -17
- package/.vitepress/dist/guide/subscription_.md +17 -17
- package/.vitepress/dist/guide/what-is-gkd.html +12 -12
- package/.vitepress/dist/guide/what-is-gkd_.md +12 -12
- package/.vitepress/dist/hashmap.json +1 -1
- package/.vitepress/dist/index.html +12 -12
- package/.vitepress/dist/index_.md +12 -12
- package/_config.json +1 -1
- package/package.json +1 -1
- package/.vitepress/dist/assets/api_index.md.SPk0I_cG.js +0 -1
- package/.vitepress/dist/assets/api_index.md.SPk0I_cG.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawApp.md.6OGjSK39.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawApp.md.6OGjSK39.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppGroup.md.CafPqXf8.js +0 -22
- package/.vitepress/dist/assets/api_interfaces_RawAppGroup.md.CafPqXf8.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRule.md.iYaIvuG9.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRule.md.iYaIvuG9.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.BHHzsHfF.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.BHHzsHfF.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawCategory.md.Bvvb_IP6.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawCategory.md.Bvvb_IP6.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawCommonProps.md.BOvk92j_.js +0 -5
- package/.vitepress/dist/assets/api_interfaces_RawCommonProps.md.BOvk92j_.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalApp.md.VRaORJOL.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalApp.md.VRaORJOL.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalGroup.md.DYYGIiKZ.js +0 -5
- package/.vitepress/dist/assets/api_interfaces_RawGlobalGroup.md.DYYGIiKZ.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRule.md.44L0hx4S.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRule.md.44L0hx4S.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRuleProps.md.BadeTnQB.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRuleProps.md.BadeTnQB.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGroupProps.md.B-GC65bR.js +0 -5
- package/.vitepress/dist/assets/api_interfaces_RawGroupProps.md.B-GC65bR.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawRuleProps.md.QnN60O_u.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawRuleProps.md.QnN60O_u.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawSubscription.md.CrYsZ3Kp.js +0 -4
- package/.vitepress/dist/assets/api_interfaces_RawSubscription.md.CrYsZ3Kp.lean.js +0 -1
- package/.vitepress/dist/assets/api_type-aliases_IArray.md.BV1HveiZ.lean.js +0 -1
- package/.vitepress/dist/assets/api_type-aliases_Integer.md.D5K7JFq4.js +0 -2
- package/.vitepress/dist/assets/api_type-aliases_Position.md.BTlWb-br.js +0 -13
- package/.vitepress/dist/assets/api_type-aliases_Position.md.BTlWb-br.lean.js +0 -1
- package/.vitepress/dist/assets/app.CixdghKV.js +0 -1
- package/.vitepress/dist/assets/chunks/@localSearchIndexroot.C7-frqcr.js +0 -1
- package/.vitepress/dist/assets/chunks/FileSaver.min.CvNQQnEe.js +0 -1
- package/.vitepress/dist/assets/chunks/VPLocalSearchBox.BbPG_Jzh.js +0 -8
- package/.vitepress/dist/assets/chunks/framework.DE7acwfO.js +0 -18
- package/.vitepress/dist/assets/chunks/theme.BChCNnNC.js +0 -1
- package/.vitepress/dist/assets/guide_example.md.D-NQkNj-.js +0 -1
- package/.vitepress/dist/assets/guide_example.md.D-NQkNj-.lean.js +0 -1
- package/.vitepress/dist/assets/guide_external.md.DWUXx7Un.js +0 -1
- package/.vitepress/dist/assets/guide_external.md.DWUXx7Un.lean.js +0 -1
- package/.vitepress/dist/assets/guide_faq.md.CwpXoXH-.js +0 -21
- package/.vitepress/dist/assets/guide_faq.md.CwpXoXH-.lean.js +0 -1
- package/.vitepress/dist/assets/guide_index.md.BvKfxqem.js +0 -1
- package/.vitepress/dist/assets/guide_index.md.BvKfxqem.lean.js +0 -1
- package/.vitepress/dist/assets/guide_node.md.DAtT86dU.js +0 -1
- package/.vitepress/dist/assets/guide_node.md.DAtT86dU.lean.js +0 -1
- package/.vitepress/dist/assets/guide_optimize.md.BSxtrrEA.js +0 -1
- package/.vitepress/dist/assets/guide_optimize.md.BSxtrrEA.lean.js +0 -1
- package/.vitepress/dist/assets/guide_privacy.md.D1905QvW.js +0 -1
- package/.vitepress/dist/assets/guide_privacy.md.D1905QvW.lean.js +0 -1
- package/.vitepress/dist/assets/guide_selector.md.BzeIG0u0.js +0 -12
- package/.vitepress/dist/assets/guide_selector.md.BzeIG0u0.lean.js +0 -1
- package/.vitepress/dist/assets/guide_snapshot.md.OsNjzptW.js +0 -1
- package/.vitepress/dist/assets/guide_snapshot.md.OsNjzptW.lean.js +0 -1
- package/.vitepress/dist/assets/guide_subscription.md.DYtHNPwp.lean.js +0 -1
- package/.vitepress/dist/assets/guide_what-is-gkd.md.ARqDeNY2.js +0 -1
- package/.vitepress/dist/assets/guide_what-is-gkd.md.ARqDeNY2.lean.js +0 -1
- package/.vitepress/dist/assets/style.Bm6EfVAK.css +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{_ as i,
|
|
1
|
+
import{_ as i,c as a,o as t,aq as h}from"./chunks/framework.CBQNBEo4.js";const g=JSON.parse('{"title":"IArray<T>","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/IArray.md","filePath":"api/type-aliases/IArray.md","lastUpdated":null}'),l={name:"api/type-aliases/IArray.md"};function e(k,s,n,p,r,d){return t(),a("div",null,s[0]||(s[0]=[h(`<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="type-parameters" tabindex="-1">Type Parameters <a class="header-anchor" href="#type-parameters" aria-label="Permalink to “Type Parameters”"></a></h2><h3 id="t" tabindex="-1">T <a class="header-anchor" href="#t" aria-label="Permalink to “T”"></a></h3><p><code>T</code></p><h2 id="example" tabindex="-1">Example <a class="header-anchor" href="#example" aria-label="Permalink to “Example”"></a></h2><div class="language-ts"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e;" tabindex="0" dir="ltr"><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
|
-
<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>`,8)]))}const
|
|
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>`,8)]))}const E=i(l,[["render",e]]);export{g as __pageData,E as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as i,c as a,o as t,aq as h}from"./chunks/framework.CBQNBEo4.js";const g=JSON.parse('{"title":"IArray<T>","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/IArray.md","filePath":"api/type-aliases/IArray.md","lastUpdated":null}'),l={name:"api/type-aliases/IArray.md"};function e(k,s,n,p,r,d){return t(),a("div",null,s[0]||(s[0]=[h("",8)]))}const E=i(l,[["render",e]]);export{g as __pageData,E as default};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{_ as a,c as s,o as t,aq as i}from"./chunks/framework.CBQNBEo4.js";const g=JSON.parse('{"title":"Integer","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/Integer.md","filePath":"api/type-aliases/Integer.md","lastUpdated":null}'),n={name:"api/type-aliases/Integer.md"};function l(r,e,p,o,d,h){return t(),s("div",null,e[0]||(e[0]=[i(`<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"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e;" tabindex="0" dir="ltr"><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
|
+
<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>`,5)]))}const k=a(n,[["render",l]]);export{g as __pageData,k as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{_ as a,
|
|
1
|
+
import{_ as a,c as s,o as t,aq as i}from"./chunks/framework.CBQNBEo4.js";const g=JSON.parse('{"title":"Integer","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/Integer.md","filePath":"api/type-aliases/Integer.md","lastUpdated":null}'),n={name:"api/type-aliases/Integer.md"};function l(r,e,p,o,d,h){return t(),s("div",null,e[0]||(e[0]=[i("",5)]))}const k=a(n,[["render",l]]);export{g as __pageData,k as default};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import{_ as i,c as a,o as t,aq as e}from"./chunks/framework.CBQNBEo4.js";const g=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"};function l(h,s,p,o,r,k){return t(),a("div",null,s[0]||(s[0]=[e(`<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>需要注意是相对目标节点位置, 不是相对屏幕位置</p><p>使用 left/top/right/bottom 四条边实现定位, 此对象只能有两个属性, 也就是两条相邻边</p><p>合法的定位组合为: left-top, left-bottom, right-top, right-bottom</p><p>示例1-点击目标节点的中心</p><div class="language-json5"><button title="Copy Code" class="copy"></button><span class="lang">json5</span><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e;" tabindex="0" dir="ltr"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
|
|
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
|
+
<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
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>示例2-点击目标节点的左上顶点</p><div class="language-json5"><button title="Copy Code" class="copy"></button><span class="lang">json5</span><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e;" tabindex="0" dir="ltr"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
|
|
5
|
+
<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:#005CC5;--shiki-dark:#79B8FF;">0</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
6
|
+
<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:#005CC5;--shiki-dark:#79B8FF;">0</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
7
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><p>示例2-点击目标节点的右上区域</p><ul><li><a href="https://i.gkd.li/i/14112390" target="_blank" rel="noreferrer">快照-1</a></li><li><a href="https://i.gkd.li/i/14319672" target="_blank" rel="noreferrer">快照-2</a></li><li><a href="https://a.gkd.li/0019.gif" target="_blank" rel="noreferrer">图片-1</a></li></ul><div class="language-json5"><button title="Copy Code" class="copy"></button><span class="lang">json5</span><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e;" tabindex="0" dir="ltr"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">{</span></span>
|
|
8
|
+
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> right</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'width*0.1352'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
9
|
+
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> top</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'width*0.0852'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
10
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-label="Permalink to “Properties”"></a></h2><h3 id="left" tabindex="-1">left? <a class="header-anchor" href="#left" aria-label="Permalink to “left?”"></a></h3><blockquote><p><code>optional</code> <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/random 的数学计算表达式</p><p>其中 random 是 0-1 的随机数, 需要注意 random 在单个表达式中是单个固定值, 即表达式 'random-random'=0</p><h4 id="example" tabindex="-1">Example <a class="header-anchor" href="#example" aria-label="Permalink to “Example”"></a></h4><div class="language-ts"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark" style="--shiki-light:#24292e;--shiki-dark:#e1e4e8;--shiki-light-bg:#fff;--shiki-dark-bg:#24292e;" tabindex="0" dir="ltr"><code><span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">2.5</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span>
|
|
11
|
+
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'2.5'</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // ✅</span></span>
|
|
12
|
+
<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>
|
|
13
|
+
<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><hr><h3 id="top" tabindex="-1">top? <a class="header-anchor" href="#top" aria-label="Permalink to “top?”"></a></h3><blockquote><p><code>optional</code> <strong>top</strong>: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点上边的距离</p><hr><h3 id="right" tabindex="-1">right? <a class="header-anchor" href="#right" aria-label="Permalink to “right?”"></a></h3><blockquote><p><code>optional</code> <strong>right</strong>: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点右边的距离</p><hr><h3 id="bottom" tabindex="-1">bottom? <a class="header-anchor" href="#bottom" aria-label="Permalink to “bottom?”"></a></h3><blockquote><p><code>optional</code> <strong>bottom</strong>: <code>string</code> | <code>number</code></p></blockquote><p>距离目标节点下边的距离</p>`,35)]))}const c=i(n,[["render",l]]);export{g as __pageData,c as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as i,c as a,o as t,aq as e}from"./chunks/framework.CBQNBEo4.js";const g=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"};function l(h,s,p,o,r,k){return t(),a("div",null,s[0]||(s[0]=[e("",35)]))}const c=i(n,[["render",l]]);export{g as __pageData,c as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{R as p}from"./chunks/theme.De5ivgzu.js";import{D as o,ad as i,ae as u,af as l,ag as c,ah as f,ai as d,aj as m,ak as h,al as g,am as A,d as y,u as v,p as w,y as C,an as P,ao as R,ap as b,a3 as E}from"./chunks/framework.CBQNBEo4.js";function r(e){if(e.extends){const a=r(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const n=r(p),S=y({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=v();return w(()=>{C(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&P(),R(),b(),n.setup&&n.setup(),()=>E(n.Layout)}});async function T(){globalThis.__VITEPRESS__=!0;const e=j(),a=D();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}}}),n.enhanceApp&&await n.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function D(){return A(S)}function j(){let e=o;return h(a=>{let t=g(a),s=null;return t&&(e&&(t=t.replace(/\.js$/,".lean.js")),s=import(((u)=>{if(u.startsWith('/')){return"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1746215876468/files/.vitepress/dist"+u}return u})(t))),o&&(e=!1),s},n.NotFound)}o&&T().then(({app:e,router:a,data:t})=>{a.go(location.href,{initialLoad:!0}).then(()=>{i(a.route,t.site),e.mount("#app")})});export{T as createApp};
|