@gkd-kit/docs 0.0.1792080613269 → 0.0.1793377480416
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 +9 -8
- package/.vitepress/dist/404_.md +9 -8
- package/.vitepress/dist/_config.json +1 -1
- package/.vitepress/dist/api/index.html +13 -12
- package/.vitepress/dist/api/index_.md +13 -12
- package/.vitepress/dist/api/interfaces/RawApp.html +13 -12
- package/.vitepress/dist/api/interfaces/RawAppGroup.html +14 -13
- package/.vitepress/dist/api/interfaces/RawAppGroup_.md +14 -13
- package/.vitepress/dist/api/interfaces/RawAppRule.html +13 -12
- package/.vitepress/dist/api/interfaces/RawAppRuleProps.html +13 -12
- package/.vitepress/dist/api/interfaces/RawAppRuleProps_.md +13 -12
- package/.vitepress/dist/api/interfaces/RawAppRule_.md +13 -12
- package/.vitepress/dist/api/interfaces/RawApp_.md +13 -12
- package/.vitepress/dist/api/interfaces/RawCategory.html +13 -12
- package/.vitepress/dist/api/interfaces/RawCategory_.md +13 -12
- package/.vitepress/dist/api/interfaces/RawCommonProps.html +14 -13
- package/.vitepress/dist/api/interfaces/RawCommonProps_.md +14 -13
- package/.vitepress/dist/api/interfaces/RawGlobalApp.html +13 -12
- package/.vitepress/dist/api/interfaces/RawGlobalApp_.md +13 -12
- package/.vitepress/dist/api/interfaces/RawGlobalGroup.html +13 -12
- package/.vitepress/dist/api/interfaces/RawGlobalGroup_.md +13 -12
- package/.vitepress/dist/api/interfaces/RawGlobalRule.html +13 -12
- package/.vitepress/dist/api/interfaces/RawGlobalRuleProps.html +13 -12
- package/.vitepress/dist/api/interfaces/RawGlobalRuleProps_.md +13 -12
- package/.vitepress/dist/api/interfaces/RawGlobalRule_.md +13 -12
- package/.vitepress/dist/api/interfaces/RawGroupProps.html +13 -12
- package/.vitepress/dist/api/interfaces/RawGroupProps_.md +13 -12
- package/.vitepress/dist/api/interfaces/RawRuleProps.html +14 -13
- package/.vitepress/dist/api/interfaces/RawRuleProps_.md +14 -13
- package/.vitepress/dist/api/interfaces/RawSubscription.html +14 -13
- package/.vitepress/dist/api/interfaces/RawSubscription_.md +14 -13
- package/.vitepress/dist/api/type-aliases/IArray.html +14 -13
- package/.vitepress/dist/api/type-aliases/IArray_.md +14 -13
- package/.vitepress/dist/api/type-aliases/Integer.html +14 -13
- package/.vitepress/dist/api/type-aliases/IntegerMatcher.html +13 -12
- package/.vitepress/dist/api/type-aliases/IntegerMatcher_.md +13 -12
- package/.vitepress/dist/api/type-aliases/Integer_.md +14 -13
- package/.vitepress/dist/api/type-aliases/Position.html +14 -13
- package/.vitepress/dist/api/type-aliases/Position_.md +14 -13
- package/.vitepress/dist/api/type-aliases/StringMatcher.html +13 -12
- package/.vitepress/dist/api/type-aliases/StringMatcher_.md +13 -12
- package/.vitepress/dist/api/type-aliases/SwipeArg.html +13 -12
- package/.vitepress/dist/api/type-aliases/SwipeArg_.md +13 -12
- package/.vitepress/dist/assets/{api_index.md.CjQzKled.js → api_index.md.BNil6U6w.js} +1 -1
- package/.vitepress/dist/assets/api_index.md.BNil6U6w.lean.js +1 -0
- package/.vitepress/dist/assets/{api_interfaces_RawApp.md.BpzQ9G66.js → api_interfaces_RawApp.md.CGFbXRRf.js} +1 -1
- package/.vitepress/dist/assets/api_interfaces_RawApp.md.CGFbXRRf.lean.js +1 -0
- package/.vitepress/dist/assets/{api_interfaces_RawAppGroup.md.Ck2PMmew.js → api_interfaces_RawAppGroup.md.Cb2JZACi.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawAppGroup.md.Ck2PMmew.lean.js → api_interfaces_RawAppGroup.md.Cb2JZACi.lean.js} +1 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRule.md.16ToK1b4.js +1 -0
- package/.vitepress/dist/assets/{api_interfaces_RawAppRule.md.svCCf5YM.lean.js → api_interfaces_RawAppRule.md.16ToK1b4.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawAppRuleProps.md.Djcgq66H.js → api_interfaces_RawAppRuleProps.md.DLwp-mnf.js} +1 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.DLwp-mnf.lean.js +1 -0
- package/.vitepress/dist/assets/{api_interfaces_RawCategory.md.DHBN1t1h.js → api_interfaces_RawCategory.md.Dco13jky.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawCategory.md.DHBN1t1h.lean.js → api_interfaces_RawCategory.md.Dco13jky.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawCommonProps.md.BqWR20Ki.js → api_interfaces_RawCommonProps.md.BOfcCRCc.js} +1 -1
- package/.vitepress/dist/assets/api_interfaces_RawCommonProps.md.BOfcCRCc.lean.js +1 -0
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalApp.md.nzd5SVi6.js → api_interfaces_RawGlobalApp.md.DtVFQiTT.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalApp.md.nzd5SVi6.lean.js → api_interfaces_RawGlobalApp.md.DtVFQiTT.lean.js} +1 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalGroup.md.qiRNsoTF.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalGroup.md.qiRNsoTF.lean.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRule.md.DOrLrZz9.js +1 -0
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRule.md.DOrLrZz9.lean.js +1 -0
- package/.vitepress/dist/assets/{api_interfaces_RawGlobalRuleProps.md.CnnmlY17.js → api_interfaces_RawGlobalRuleProps.md.Bfh1BkN_.js} +1 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRuleProps.md.Bfh1BkN_.lean.js +1 -0
- package/.vitepress/dist/assets/{api_interfaces_RawGroupProps.md.b_Emqo9z.js → api_interfaces_RawGroupProps.md.BcXgEUF9.js} +1 -1
- package/.vitepress/dist/assets/api_interfaces_RawGroupProps.md.BcXgEUF9.lean.js +1 -0
- package/.vitepress/dist/assets/{api_interfaces_RawRuleProps.md.Dub6x9Ex.js → api_interfaces_RawRuleProps.md.COS91PDT.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawRuleProps.md.Dub6x9Ex.lean.js → api_interfaces_RawRuleProps.md.COS91PDT.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_interfaces_RawSubscription.md.DGEaq3vF.js → api_interfaces_RawSubscription.md.DgHbOknP.js} +1 -1
- package/.vitepress/dist/assets/api_interfaces_RawSubscription.md.DgHbOknP.lean.js +1 -0
- package/.vitepress/dist/assets/{api_type-aliases_IArray.md.CaN7hADu.js → api_type-aliases_IArray.md.Dcsu7ogp.js} +1 -1
- package/.vitepress/dist/assets/api_type-aliases_IArray.md.Dcsu7ogp.lean.js +1 -0
- package/.vitepress/dist/assets/{api_type-aliases_Integer.md.Dm63ynqV.js → api_type-aliases_Integer.md.BYxbDJD2.js} +1 -1
- package/.vitepress/dist/assets/api_type-aliases_Integer.md.BYxbDJD2.lean.js +1 -0
- package/.vitepress/dist/assets/{api_type-aliases_IntegerMatcher.md.BE39eIyQ.js → api_type-aliases_IntegerMatcher.md.trNeSlsr.js} +1 -1
- package/.vitepress/dist/assets/api_type-aliases_IntegerMatcher.md.trNeSlsr.lean.js +1 -0
- package/.vitepress/dist/assets/{api_type-aliases_Position.md.CieLiaPU.js → api_type-aliases_Position.md.BKJKrbwo.js} +1 -1
- package/.vitepress/dist/assets/{api_type-aliases_Position.md.CieLiaPU.lean.js → api_type-aliases_Position.md.BKJKrbwo.lean.js} +1 -1
- package/.vitepress/dist/assets/{api_type-aliases_StringMatcher.md.DMiH2Jb8.js → api_type-aliases_StringMatcher.md.4xzWhqtd.js} +1 -1
- package/.vitepress/dist/assets/api_type-aliases_StringMatcher.md.4xzWhqtd.lean.js +1 -0
- package/.vitepress/dist/assets/{api_type-aliases_SwipeArg.md.CJ5jBhMZ.js → api_type-aliases_SwipeArg.md.CFAUTlEO.js} +1 -1
- package/.vitepress/dist/assets/{api_type-aliases_SwipeArg.md.CJ5jBhMZ.lean.js → api_type-aliases_SwipeArg.md.CFAUTlEO.lean.js} +1 -1
- package/.vitepress/dist/assets/app.PkH4j9g4.js +1 -0
- package/.vitepress/dist/assets/chunks/{@localSearchIndexroot.DMTuGQCp.js → @localSearchIndexroot.lzgA63U0.js} +1 -1
- package/.vitepress/dist/assets/chunks/FileSaver.min.D7SHbo09.js +1 -0
- package/.vitepress/dist/assets/chunks/VPLocalSearchBox.pO3H9ama.js +3 -0
- package/.vitepress/dist/assets/chunks/framework.CKeY8dpZ.js +5 -0
- package/.vitepress/dist/assets/chunks/{metadata.17386902.js → metadata.63d20f31.js} +1 -1
- package/.vitepress/dist/assets/chunks/rolldown-runtime.WkwZ5CU-.js +1 -0
- package/.vitepress/dist/assets/chunks/theme.Dkyxannt.js +1 -0
- package/.vitepress/dist/assets/{guide_example.md.D2MSvgf4.js → guide_example.md.C2jGKoWR.js} +1 -1
- package/.vitepress/dist/assets/guide_example.md.C2jGKoWR.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_external.md.BksoEzHI.js → guide_external.md.1TgR_zL2.js} +1 -1
- package/.vitepress/dist/assets/guide_external.md.1TgR_zL2.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_faq.md.CZNrK2yz.js → guide_faq.md.CnNWovfh.js} +1 -1
- package/.vitepress/dist/assets/guide_faq.md.CnNWovfh.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_index.md.DCga0che.js → guide_index.md.CLMi5ZX_.js} +1 -1
- package/.vitepress/dist/assets/guide_index.md.CLMi5ZX_.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_node.md.1Q8T9u2Q.js → guide_node.md.CCvDuqWL.js} +1 -1
- package/.vitepress/dist/assets/guide_node.md.CCvDuqWL.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_optimize.md.BOLI440-.js → guide_optimize.md.BdyoOXj4.js} +1 -1
- package/.vitepress/dist/assets/guide_optimize.md.BdyoOXj4.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_privacy.md.C9nbUwLT.js → guide_privacy.md.C-eVaMY8.js} +1 -1
- package/.vitepress/dist/assets/guide_privacy.md.C-eVaMY8.lean.js +1 -0
- package/.vitepress/dist/assets/guide_selector.md.CdlqnHSS.js +1 -0
- package/.vitepress/dist/assets/guide_selector.md.CdlqnHSS.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_snapshot.md.BDXk9o46.js → guide_snapshot.md.COelQlvn.js} +1 -1
- package/.vitepress/dist/assets/guide_snapshot.md.COelQlvn.lean.js +1 -0
- package/.vitepress/dist/assets/guide_sponsor.md.C8FODN03.js +1 -0
- package/.vitepress/dist/assets/guide_sponsor.md.C8FODN03.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_subscription.md.BgsHr7t8.js → guide_subscription.md.CqG2RZHd.js} +6 -6
- package/.vitepress/dist/assets/guide_subscription.md.CqG2RZHd.lean.js +1 -0
- package/.vitepress/dist/assets/{guide_terms.md.k6Fr8Bh5.js → guide_terms.md.N-bKARyK.js} +1 -1
- package/.vitepress/dist/assets/guide_terms.md.N-bKARyK.lean.js +1 -0
- package/.vitepress/dist/assets/guide_what-is-gkd.md.D8BGCBHc.js +1 -0
- package/.vitepress/dist/assets/guide_what-is-gkd.md.D8BGCBHc.lean.js +1 -0
- package/.vitepress/dist/assets/{index.md.CitPk6b0.js → index.md.Cedtkwb7.js} +1 -1
- package/.vitepress/dist/assets/{index.md.CitPk6b0.lean.js → index.md.Cedtkwb7.lean.js} +1 -1
- package/.vitepress/dist/assets/inter-italic-cyrillic-ext._yYvJxaO.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-cyrillic.CR0FzlVp.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-greek-ext.DngHnpzC.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-greek.BeK1HKg-.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-latin-ext.Dm0n7MN1.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-latin.Duvr4T3O.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-symbols.DUl242AY.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-vietnamese.CNdtrOX_.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-cyrillic-ext.BIKsGeDD.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-cyrillic.R72SAhgh.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-greek-ext.CXd8zwEg.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-greek.brO7ZQXV.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-latin-ext.Cjca3GLw.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-latin.q5rAVC0E.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-symbols.CQZtw9ew.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-vietnamese.DaEDpkt8.woff2 +0 -0
- package/.vitepress/dist/assets/{polyfills.CHgXubMX.js → polyfills.DBTn7C85.js} +2 -2
- package/.vitepress/dist/assets/style.B21V_MoQ.css +3 -0
- package/.vitepress/dist/assets/vp-icons.139f4833.css +2 -0
- package/.vitepress/dist/guide/example.html +13 -12
- package/.vitepress/dist/guide/example_.md +13 -12
- package/.vitepress/dist/guide/external.html +13 -12
- package/.vitepress/dist/guide/external_.md +13 -12
- package/.vitepress/dist/guide/faq.html +14 -13
- package/.vitepress/dist/guide/faq_.md +14 -13
- package/.vitepress/dist/guide/index.html +13 -12
- package/.vitepress/dist/guide/index_.md +13 -12
- package/.vitepress/dist/guide/node.html +13 -12
- package/.vitepress/dist/guide/node_.md +13 -12
- package/.vitepress/dist/guide/optimize.html +13 -12
- package/.vitepress/dist/guide/optimize_.md +13 -12
- package/.vitepress/dist/guide/privacy.html +13 -12
- package/.vitepress/dist/guide/privacy_.md +13 -12
- package/.vitepress/dist/guide/selector.html +14 -13
- package/.vitepress/dist/guide/selector_.md +14 -13
- package/.vitepress/dist/guide/snapshot.html +13 -12
- package/.vitepress/dist/guide/snapshot_.md +13 -12
- package/.vitepress/dist/guide/sponsor.html +13 -12
- package/.vitepress/dist/guide/sponsor_.md +13 -12
- package/.vitepress/dist/guide/subscription.html +14 -13
- package/.vitepress/dist/guide/subscription_.md +14 -13
- package/.vitepress/dist/guide/terms.html +13 -12
- package/.vitepress/dist/guide/terms_.md +13 -12
- package/.vitepress/dist/guide/what-is-gkd.html +13 -12
- package/.vitepress/dist/guide/what-is-gkd_.md +13 -12
- package/.vitepress/dist/hashmap.json +1 -1
- package/.vitepress/dist/index.html +13 -12
- package/.vitepress/dist/index_.md +13 -12
- package/_config.json +1 -1
- package/package.json +3 -2
- package/.vitepress/dist/assets/api_index.md.CjQzKled.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawApp.md.BpzQ9G66.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRule.md.svCCf5YM.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawAppRuleProps.md.Djcgq66H.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawCommonProps.md.BqWR20Ki.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalGroup.md.BX5E3cY2.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalGroup.md.BX5E3cY2.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRule.md.BBIb-pml.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRule.md.BBIb-pml.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGlobalRuleProps.md.CnnmlY17.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawGroupProps.md.b_Emqo9z.lean.js +0 -1
- package/.vitepress/dist/assets/api_interfaces_RawSubscription.md.DGEaq3vF.lean.js +0 -1
- package/.vitepress/dist/assets/api_type-aliases_IArray.md.CaN7hADu.lean.js +0 -1
- package/.vitepress/dist/assets/api_type-aliases_Integer.md.Dm63ynqV.lean.js +0 -1
- package/.vitepress/dist/assets/api_type-aliases_IntegerMatcher.md.BE39eIyQ.lean.js +0 -1
- package/.vitepress/dist/assets/api_type-aliases_StringMatcher.md.DMiH2Jb8.lean.js +0 -1
- package/.vitepress/dist/assets/app.C9Syz9Q-.js +0 -1
- package/.vitepress/dist/assets/chunks/FileSaver.min.mmHyTxhb.js +0 -1
- package/.vitepress/dist/assets/chunks/VPLocalSearchBox.CWAJr3OK.js +0 -3
- package/.vitepress/dist/assets/chunks/framework.bo_0njjP.js +0 -5
- package/.vitepress/dist/assets/chunks/rolldown-runtime.CbXtAM7H.js +0 -1
- package/.vitepress/dist/assets/chunks/theme.BgtREQqS.js +0 -1
- package/.vitepress/dist/assets/guide_example.md.D2MSvgf4.lean.js +0 -1
- package/.vitepress/dist/assets/guide_external.md.BksoEzHI.lean.js +0 -1
- package/.vitepress/dist/assets/guide_faq.md.CZNrK2yz.lean.js +0 -1
- package/.vitepress/dist/assets/guide_index.md.DCga0che.lean.js +0 -1
- package/.vitepress/dist/assets/guide_node.md.1Q8T9u2Q.lean.js +0 -1
- package/.vitepress/dist/assets/guide_optimize.md.BOLI440-.lean.js +0 -1
- package/.vitepress/dist/assets/guide_privacy.md.C9nbUwLT.lean.js +0 -1
- package/.vitepress/dist/assets/guide_selector.md.DCRCfUuD.js +0 -1
- package/.vitepress/dist/assets/guide_selector.md.DCRCfUuD.lean.js +0 -1
- package/.vitepress/dist/assets/guide_snapshot.md.BDXk9o46.lean.js +0 -1
- package/.vitepress/dist/assets/guide_sponsor.md.C_yW6rHr.js +0 -1
- package/.vitepress/dist/assets/guide_sponsor.md.C_yW6rHr.lean.js +0 -1
- package/.vitepress/dist/assets/guide_subscription.md.BgsHr7t8.lean.js +0 -1
- package/.vitepress/dist/assets/guide_terms.md.k6Fr8Bh5.lean.js +0 -1
- package/.vitepress/dist/assets/guide_what-is-gkd.md.BJted3AI.js +0 -1
- package/.vitepress/dist/assets/guide_what-is-gkd.md.BJted3AI.lean.js +0 -1
- package/.vitepress/dist/assets/inter-italic-cyrillic-ext._dlW9xFb.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-cyrillic.D7dRslh9.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-greek-ext.Ct-Tf2bq.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-greek.DNcpQ8QC.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-latin-ext.DytegdRQ.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-latin.CoImASkB.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-symbols.DBflboKE.woff2 +0 -0
- package/.vitepress/dist/assets/inter-italic-vietnamese.BI5UxJD-.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-cyrillic-ext.BeNbU08G.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-cyrillic.CD0kT8R4.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-greek-ext.CFAEQ5Ow.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-greek.Dsf7YjP7.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-latin-ext.Dl_ayf4-.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-latin.BOE8-mWI.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-symbols.w-B2-dTa.woff2 +0 -0
- package/.vitepress/dist/assets/inter-roman-vietnamese.CpqCnS2H.woff2 +0 -0
- package/.vitepress/dist/assets/style.sQiVUa0J.css +0 -2
- package/.vitepress/dist/vp-icons.css +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{at as e,o as t,ot as n,yt as r}from"./chunks/framework.bo_0njjP.js";var i=JSON.parse(`{"title":"RawRuleProps","description":"","frontmatter":{},"headers":[],"relativePath":"api/interfaces/RawRuleProps.md","filePath":"api/interfaces/RawRuleProps.md","lastUpdated":0}`),a={name:`api/interfaces/RawRuleProps.md`};function o(t,i,a,o,s,c){return r(),e(`div`,null,[...i[0]||(i[0]=[n('<h1 id="rawruleprops" tabindex="-1">RawRuleProps <a class="header-anchor" href="#rawruleprops" aria-label="Permalink to “RawRuleProps”"></a></h1><p>全局规则和应用规则的基础通用属性</p><h2 id="继承" tabindex="-1">继承 <a class="header-anchor" href="#继承" aria-label="Permalink to “继承”"></a></h2><ul><li><a href="./RawCommonProps"><code>RawCommonProps</code></a></li></ul><h2 id="继承于" tabindex="-1">继承于 <a class="header-anchor" href="#继承于" aria-label="Permalink to “继承于”"></a></h2><ul><li><a href="./RawAppRule"><code>RawAppRule</code></a></li><li><a href="./RawGlobalRule"><code>RawGlobalRule</code></a></li></ul><h2 id="属性" tabindex="-1">属性 <a class="header-anchor" href="#属性" aria-label="Permalink to “属性”"></a></h2><h3 id="key" tabindex="-1">key? <a class="header-anchor" href="#key" aria-label="Permalink to “key?”"></a></h3><blockquote><p><code>可选</code> <a href="./../type-aliases/Integer"><code>Integer</code></a></p></blockquote><p>当前规则在列表中的唯一标识</p><p>key 没有顺序大小之分, 可以是任意数字</p><p>设置后不可更改, 否则造成点击记录错乱</p><hr><h3 id="name" tabindex="-1">name? <a class="header-anchor" href="#name" aria-label="Permalink to “name?”"></a></h3><blockquote><p><code>可选</code> <code>string</code></p></blockquote><p>规则名称</p><hr><p><a id="prekeys"></a></p><h3 id="preKeys" tabindex="-1">preKeys? <a class="header-anchor" href="#preKeys" aria-label="Permalink to “preKeys?”"></a></h3><blockquote><p><code>可选</code> <a href="./../type-aliases/IArray"><code>IArray</code></a><<a href="./../type-aliases/Integer"><code>Integer</code></a>></p></blockquote><p>要求当前列表里某个 key 刚刚执行</p><p>比如: 点击关闭按钮-选择关闭原因-确认关闭, key 分别是 1,2,3, preKeys 分别是 [],[1],[2]</p><p>那么 选择关闭原因 必须要求 点击关闭按钮 刚刚执行过才能执行, 确认关闭 也要求 选择关闭原因 刚刚执行过才执行</p><p>否则后面的规则不会触发, 也就是要求规则按顺序执行, 这是为了防止规则匹配范围太过广泛而误触</p><hr><h3 id="action" tabindex="-1">action? <a class="header-anchor" href="#action" aria-label="Permalink to “action?”"></a></h3><blockquote><p><code>可选</code> <code>"click"</code> | <code>"clickNode"</code> | <code>"clickCenter"</code> | <code>"back"</code> | <code>"longClick"</code> | <code>"longClickNode"</code> | <code>"longClickCenter"</code> | <code>"swipe"</code> | <code>"none"</code></p></blockquote><p>规则匹配后的操作行为</p><p>在 <a href="#position">position</a> 存在的情况下, action 的默认值为 <code>clickCenter</code></p><p>在 <a href="#swipeArg">swipeArg</a> 存在的情况下, action 的默认值为 <code>swipe</code></p><h4 id="示例" tabindex="-1">示例 <a class="header-anchor" href="#示例" aria-label="Permalink to “示例”"></a></h4><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`click`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 为默认值, 如果目标节点是 clickable 的, 则使用 `clickNode`, 反之使用 `clickCenter`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 并且当 `clickNode` 事件没有被应用接收时, 则使用 `clickCenter`</span></span></code></pre></div><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`clickNode`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 向系统发起一个点击无障碍节点事件. 即使节点在屏幕外部/或者被其它节点遮挡,也依然能够正确触发点击目标节点</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 但是如果目标节点不是 clickable 的, 目标应用通常不响应这个点击事件, 也就是点击无效果</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 在极少数情况下, 即使节点是 clickable 的,应用显示接收但是不响应节点点击事件, 此时需要手动设置 `clickCenter`</span></span></code></pre></div><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`clickCenter`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 计算出此控件的中心的坐标并且如果这个坐标在屏幕内部,那么就向系统发起一个点击屏幕坐标事件</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 如果这个坐标不在屏幕内部, 当作未匹配</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 另外如果目标节点的位置被其它节点遮挡覆盖, 则会点击触发最上层的节点(可能不是目标节点)</span></span></code></pre></div><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`back`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 向系统发起一个返回事件, 相当于按下返回键</span></span></code></pre></div><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`longClick`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 如果目标节点是 longClickable 的, 则使用 `longClickNode`, 反之使用 `longClickCenter`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 并且当 `longClickNode` 事件没有被应用接收时, 则使用 `longClickCenter`</span></span></code></pre></div><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`longClickNode`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 向系统发起一个长按无障碍节点事件,与 clickNode 类似</span></span></code></pre></div><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`longClickCenter`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 与 clickCenter 类似, 长按时间为 400 毫秒</span></span></code></pre></div><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`swipe`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 向系统发起一个滑动事件, 使用 swipeArg 定义滑动参数</span></span></code></pre></div><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`none`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 什么都不做, 仅作为匹配标记使用</span></span></code></pre></div><hr><h3 id="position" tabindex="-1">position? <a class="header-anchor" href="#position" aria-label="Permalink to “position?”"></a></h3><blockquote><p><code>可选</code> <a href="./../type-aliases/Position"><code>Position</code></a></p></blockquote><p>在使用 clickCenter/longClickCenter 时的自定义点击位置</p><p>默认坐标为节点中心</p><p>如果计算出的坐标不在屏幕内部, 当作未匹配</p><p>在 position 存在的情况下, <a href="#action">action</a> 的默认值为 <code>clickCenter</code></p><hr><p><a id="swipearg"></a></p><h3 id="swipeArg" tabindex="-1">swipeArg? <a class="header-anchor" href="#swipeArg" aria-label="Permalink to “swipeArg?”"></a></h3><blockquote><p><code>可选</code> <a href="./../type-aliases/SwipeArg"><code>SwipeArg</code></a></p></blockquote><p>在使用 swipe 时的滑动参数</p><p>在 swipeArg 存在的情况下, <a href="#action">action</a> 的默认值为 <code>swipe</code></p><hr><h3 id="matches" tabindex="-1">matches? <a class="header-anchor" href="#matches" aria-label="Permalink to “matches?”"></a></h3><blockquote><p><code>可选</code> <a href="./../type-aliases/IArray"><code>IArray</code></a><<code>string</code>></p></blockquote><p>一个或者多个合法的 GKD 选择器, 如果所有选择器都能匹配上节点, 那么点击最后一个选择器的目标节点</p><p>点击优先级大于 <a href="#anyMatches">anyMatches</a></p><hr><p><a id="anymatches"></a></p><h3 id="anyMatches" tabindex="-1">anyMatches? <a class="header-anchor" href="#anyMatches" aria-label="Permalink to “anyMatches?”"></a></h3><blockquote><p><code>可选</code> <a href="./../type-aliases/IArray"><code>IArray</code></a><<code>string</code>></p></blockquote><p>一个或者多个合法的 GKD 选择器, 如果存在一个选择器能匹配上节点, 那么点击这个节点</p><p>如果 anyMatches 的所有选择器都无法匹配, 则停止匹配此规则</p><p>与 <a href="#matches">matches</a> 一起使用时, 仍然点击 <a href="#matches">matches</a> 的最后一项</p><hr><p><a id="excludematches"></a></p><h3 id="excludeMatches" tabindex="-1">excludeMatches? <a class="header-anchor" href="#excludeMatches" aria-label="Permalink to “excludeMatches?”"></a></h3><blockquote><p><code>可选</code> <a href="./../type-aliases/IArray"><code>IArray</code></a><<code>string</code>></p></blockquote><p>一个或者多个合法的 GKD 选择器, 如果存在一个选择器匹配上节点, 则停止匹配此规则</p><hr><p><a id="excludeallmatches"></a></p><h3 id="excludeAllMatches" tabindex="-1">excludeAllMatches? <a class="header-anchor" href="#excludeAllMatches" aria-label="Permalink to “excludeAllMatches?”"></a></h3><blockquote><p><code>可选</code> <a href="./../type-aliases/IArray"><code>IArray</code></a><<code>string</code>></p></blockquote><p>一个或者多个合法的 GKD 选择器, 如果所有选择器匹配上节点, 则停止匹配此规则</p><h2 id="继承属性" tabindex="-1">继承属性 <a class="header-anchor" href="#继承属性" aria-label="Permalink to “继承属性”"></a></h2><ul><li><a href="./RawCommonProps">RawCommonProps</a>: <a href="RawCommonProps#actionCd"><code>actionCd?</code></a>, <a href="RawCommonProps#actionDelay"><code>actionDelay?</code></a>, <a href="RawCommonProps#fastQuery"><code>fastQuery?</code></a>, <a href="RawCommonProps#matchRoot"><code>matchRoot?</code></a>, <a href="RawCommonProps#matchDelay"><code>matchDelay?</code></a>, <a href="RawCommonProps#matchTime"><code>matchTime?</code></a>, <a href="RawCommonProps#actionMaximum"><code>actionMaximum?</code></a>, <a href="RawCommonProps#resetMatch"><code>resetMatch?</code></a>, <a href="RawCommonProps#actionCdKey"><code>actionCdKey?</code></a>, <a href="RawCommonProps#actionMaximumKey"><code>actionMaximumKey?</code></a>, <a href="RawCommonProps#order"><code>order?</code></a>, <a href="RawCommonProps#forcedTime"><code>forcedTime?</code></a>, <a href="RawCommonProps#priorityTime"><code>priorityTime?</code></a>, <a href="RawCommonProps#priorityActionMaximum"><code>priorityActionMaximum?</code></a>, <a href="RawCommonProps#snapshotUrls"><code>snapshotUrls?</code></a>, <a href="RawCommonProps#excludeSnapshotUrls"><code>excludeSnapshotUrls?</code></a>, <a href="RawCommonProps#exampleUrls"><code>exampleUrls?</code></a></li></ul>',77)])])}var s=t(a,[[`render`,o]]);export{i as __pageData,s as default};
|
|
1
|
+
import{it as e,n as t,rt as n,yt as r}from"./chunks/framework.CKeY8dpZ.js";var i=JSON.parse(`{"title":"RawRuleProps","description":"","frontmatter":{},"headers":[],"relativePath":"api/interfaces/RawRuleProps.md","filePath":"api/interfaces/RawRuleProps.md","lastUpdated":0}`),a={name:`api/interfaces/RawRuleProps.md`};function o(t,i,a,o,s,c){return r(),n(`div`,null,[...i[0]||(i[0]=[e('<h1 id="rawruleprops" tabindex="-1">RawRuleProps <a class="header-anchor" href="#rawruleprops" aria-label="Permalink to “RawRuleProps”"></a></h1><p>全局规则和应用规则的基础通用属性</p><h2 id="继承" tabindex="-1">继承 <a class="header-anchor" href="#继承" aria-label="Permalink to “继承”"></a></h2><ul><li><a href="./RawCommonProps"><code>RawCommonProps</code></a></li></ul><h2 id="继承于" tabindex="-1">继承于 <a class="header-anchor" href="#继承于" aria-label="Permalink to “继承于”"></a></h2><ul><li><a href="./RawAppRule"><code>RawAppRule</code></a></li><li><a href="./RawGlobalRule"><code>RawGlobalRule</code></a></li></ul><h2 id="属性" tabindex="-1">属性 <a class="header-anchor" href="#属性" aria-label="Permalink to “属性”"></a></h2><h3 id="key" tabindex="-1">key? <a class="header-anchor" href="#key" aria-label="Permalink to “key?”"></a></h3><blockquote><p><code>可选</code> <a href="./../type-aliases/Integer"><code>Integer</code></a></p></blockquote><p>当前规则在列表中的唯一标识</p><p>key 没有顺序大小之分, 可以是任意数字</p><p>设置后不可更改, 否则造成点击记录错乱</p><hr><h3 id="name" tabindex="-1">name? <a class="header-anchor" href="#name" aria-label="Permalink to “name?”"></a></h3><blockquote><p><code>可选</code> <code>string</code></p></blockquote><p>规则名称</p><hr><p><a id="prekeys"></a></p><h3 id="preKeys" tabindex="-1">preKeys? <a class="header-anchor" href="#preKeys" aria-label="Permalink to “preKeys?”"></a></h3><blockquote><p><code>可选</code> <a href="./../type-aliases/IArray"><code>IArray</code></a><<a href="./../type-aliases/Integer"><code>Integer</code></a>></p></blockquote><p>要求当前列表里某个 key 刚刚执行</p><p>比如: 点击关闭按钮-选择关闭原因-确认关闭, key 分别是 1,2,3, preKeys 分别是 [],[1],[2]</p><p>那么 选择关闭原因 必须要求 点击关闭按钮 刚刚执行过才能执行, 确认关闭 也要求 选择关闭原因 刚刚执行过才执行</p><p>否则后面的规则不会触发, 也就是要求规则按顺序执行, 这是为了防止规则匹配范围太过广泛而误触</p><hr><h3 id="action" tabindex="-1">action? <a class="header-anchor" href="#action" aria-label="Permalink to “action?”"></a></h3><blockquote><p><code>可选</code> <code>"click"</code> | <code>"clickNode"</code> | <code>"clickCenter"</code> | <code>"back"</code> | <code>"longClick"</code> | <code>"longClickNode"</code> | <code>"longClickCenter"</code> | <code>"swipe"</code> | <code>"none"</code></p></blockquote><p>规则匹配后的操作行为</p><p>在 <a href="#position">position</a> 存在的情况下, action 的默认值为 <code>clickCenter</code></p><p>在 <a href="#swipeArg">swipeArg</a> 存在的情况下, action 的默认值为 <code>swipe</code></p><h4 id="示例" tabindex="-1">示例 <a class="header-anchor" href="#示例" aria-label="Permalink to “示例”"></a></h4><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`click`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 为默认值, 如果目标节点是 clickable 的, 则使用 `clickNode`, 反之使用 `clickCenter`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 并且当 `clickNode` 事件没有被应用接收时, 则使用 `clickCenter`</span></span></code></pre></div><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`clickNode`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 向系统发起一个点击无障碍节点事件. 即使节点在屏幕外部/或者被其它节点遮挡,也依然能够正确触发点击目标节点</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 但是如果目标节点不是 clickable 的, 目标应用通常不响应这个点击事件, 也就是点击无效果</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 在极少数情况下, 即使节点是 clickable 的,应用显示接收但是不响应节点点击事件, 此时需要手动设置 `clickCenter`</span></span></code></pre></div><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`clickCenter`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 计算出此控件的中心的坐标并且如果这个坐标在屏幕内部,那么就向系统发起一个点击屏幕坐标事件</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 如果这个坐标不在屏幕内部, 当作未匹配</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 另外如果目标节点的位置被其它节点遮挡覆盖, 则会点击触发最上层的节点(可能不是目标节点)</span></span></code></pre></div><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`back`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 向系统发起一个返回事件, 相当于按下返回键</span></span></code></pre></div><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`longClick`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 如果目标节点是 longClickable 的, 则使用 `longClickNode`, 反之使用 `longClickCenter`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 并且当 `longClickNode` 事件没有被应用接收时, 则使用 `longClickCenter`</span></span></code></pre></div><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`longClickNode`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 向系统发起一个长按无障碍节点事件,与 clickNode 类似</span></span></code></pre></div><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`longClickCenter`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 与 clickCenter 类似, 长按时间为 400 毫秒</span></span></code></pre></div><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`swipe`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 向系统发起一个滑动事件, 使用 swipeArg 定义滑动参数</span></span></code></pre></div><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#032F62;--shiki-dark:#9ECBFF;">`none`</span></span>\n<span class="line"><span style="--shiki-light:#62687b;--shiki-dark:#818e99;">// 什么都不做, 仅作为匹配标记使用</span></span></code></pre></div><hr><h3 id="position" tabindex="-1">position? <a class="header-anchor" href="#position" aria-label="Permalink to “position?”"></a></h3><blockquote><p><code>可选</code> <a href="./../type-aliases/Position"><code>Position</code></a></p></blockquote><p>在使用 clickCenter/longClickCenter 时的自定义点击位置</p><p>默认坐标为节点中心</p><p>如果计算出的坐标不在屏幕内部, 当作未匹配</p><p>在 position 存在的情况下, <a href="#action">action</a> 的默认值为 <code>clickCenter</code></p><hr><p><a id="swipearg"></a></p><h3 id="swipeArg" tabindex="-1">swipeArg? <a class="header-anchor" href="#swipeArg" aria-label="Permalink to “swipeArg?”"></a></h3><blockquote><p><code>可选</code> <a href="./../type-aliases/SwipeArg"><code>SwipeArg</code></a></p></blockquote><p>在使用 swipe 时的滑动参数</p><p>在 swipeArg 存在的情况下, <a href="#action">action</a> 的默认值为 <code>swipe</code></p><hr><h3 id="matches" tabindex="-1">matches? <a class="header-anchor" href="#matches" aria-label="Permalink to “matches?”"></a></h3><blockquote><p><code>可选</code> <a href="./../type-aliases/IArray"><code>IArray</code></a><<code>string</code>></p></blockquote><p>一个或者多个合法的 GKD 选择器, 如果所有选择器都能匹配上节点, 那么点击最后一个选择器的目标节点</p><p>点击优先级大于 <a href="#anyMatches">anyMatches</a></p><hr><p><a id="anymatches"></a></p><h3 id="anyMatches" tabindex="-1">anyMatches? <a class="header-anchor" href="#anyMatches" aria-label="Permalink to “anyMatches?”"></a></h3><blockquote><p><code>可选</code> <a href="./../type-aliases/IArray"><code>IArray</code></a><<code>string</code>></p></blockquote><p>一个或者多个合法的 GKD 选择器, 如果存在一个选择器能匹配上节点, 那么点击这个节点</p><p>如果 anyMatches 的所有选择器都无法匹配, 则停止匹配此规则</p><p>与 <a href="#matches">matches</a> 一起使用时, 仍然点击 <a href="#matches">matches</a> 的最后一项</p><hr><p><a id="excludematches"></a></p><h3 id="excludeMatches" tabindex="-1">excludeMatches? <a class="header-anchor" href="#excludeMatches" aria-label="Permalink to “excludeMatches?”"></a></h3><blockquote><p><code>可选</code> <a href="./../type-aliases/IArray"><code>IArray</code></a><<code>string</code>></p></blockquote><p>一个或者多个合法的 GKD 选择器, 如果存在一个选择器匹配上节点, 则停止匹配此规则</p><hr><p><a id="excludeallmatches"></a></p><h3 id="excludeAllMatches" tabindex="-1">excludeAllMatches? <a class="header-anchor" href="#excludeAllMatches" aria-label="Permalink to “excludeAllMatches?”"></a></h3><blockquote><p><code>可选</code> <a href="./../type-aliases/IArray"><code>IArray</code></a><<code>string</code>></p></blockquote><p>一个或者多个合法的 GKD 选择器, 如果所有选择器匹配上节点, 则停止匹配此规则</p><h2 id="继承属性" tabindex="-1">继承属性 <a class="header-anchor" href="#继承属性" aria-label="Permalink to “继承属性”"></a></h2><ul><li><a href="./RawCommonProps">RawCommonProps</a>: <a href="RawCommonProps#actionCd"><code>actionCd?</code></a>, <a href="RawCommonProps#actionDelay"><code>actionDelay?</code></a>, <a href="RawCommonProps#fastQuery"><code>fastQuery?</code></a>, <a href="RawCommonProps#matchRoot"><code>matchRoot?</code></a>, <a href="RawCommonProps#matchDelay"><code>matchDelay?</code></a>, <a href="RawCommonProps#matchTime"><code>matchTime?</code></a>, <a href="RawCommonProps#actionMaximum"><code>actionMaximum?</code></a>, <a href="RawCommonProps#resetMatch"><code>resetMatch?</code></a>, <a href="RawCommonProps#actionCdKey"><code>actionCdKey?</code></a>, <a href="RawCommonProps#actionMaximumKey"><code>actionMaximumKey?</code></a>, <a href="RawCommonProps#order"><code>order?</code></a>, <a href="RawCommonProps#forcedTime"><code>forcedTime?</code></a>, <a href="RawCommonProps#priorityTime"><code>priorityTime?</code></a>, <a href="RawCommonProps#priorityActionMaximum"><code>priorityActionMaximum?</code></a>, <a href="RawCommonProps#snapshotUrls"><code>snapshotUrls?</code></a>, <a href="RawCommonProps#excludeSnapshotUrls"><code>excludeSnapshotUrls?</code></a>, <a href="RawCommonProps#exampleUrls"><code>exampleUrls?</code></a></li></ul>',77)])])}var s=t(a,[[`render`,o]]);export{i as __pageData,s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{it as e,n as t,rt as n,yt as r}from"./chunks/framework.CKeY8dpZ.js";var i=JSON.parse(`{"title":"RawRuleProps","description":"","frontmatter":{},"headers":[],"relativePath":"api/interfaces/RawRuleProps.md","filePath":"api/interfaces/RawRuleProps.md","lastUpdated":0}`),a={name:`api/interfaces/RawRuleProps.md`};function o(t,i,a,o,s,c){return r(),n(`div`,null,[...i[0]||(i[0]=[e("",77)])])}var s=t(a,[[`render`,o]]);export{i as __pageData,s as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{it as e,n as t,rt as n,yt as r}from"./chunks/framework.CKeY8dpZ.js";var i=JSON.parse(`{"title":"RawSubscription","description":"","frontmatter":{},"headers":[],"relativePath":"api/interfaces/RawSubscription.md","filePath":"api/interfaces/RawSubscription.md","lastUpdated":0}`),a={name:`api/interfaces/RawSubscription.md`};function o(t,i,a,o,s,c){return r(),n(`div`,null,[...i[0]||(i[0]=[e(`<h1 id="rawsubscription" tabindex="-1">RawSubscription <a class="header-anchor" href="#rawsubscription" aria-label="Permalink to “RawSubscription”"></a></h1><p>订阅配置类型</p><h2 id="属性" tabindex="-1">属性 <a class="header-anchor" href="#属性" aria-label="Permalink to “属性”"></a></h2><h3 id="id" tabindex="-1">id <a class="header-anchor" href="#id" aria-label="Permalink to “id”"></a></h3><blockquote><p><a href="./../type-aliases/Integer"><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><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><a href="./../type-aliases/Integer"><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><code>可选</code> <code>string</code></p></blockquote><p>作者名称</p><hr><p><a id="updateurl"></a></p><h3 id="updateUrl" tabindex="-1">updateUrl? <a class="header-anchor" href="#updateUrl" aria-label="Permalink to “updateUrl?”"></a></h3><blockquote><p><code>可选</code> <code>string</code></p></blockquote><p>GKD 会定时或者用户手动刷新请求这个链接, 如果返回的订阅的 version 大于应用订阅当前的 version , 则更新</p><p>如果这个字段不存在, 则使用添加订阅时填写的链接</p><hr><p><a id="supporturi"></a></p><h3 id="supportUri" tabindex="-1">supportUri? <a class="header-anchor" href="#supportUri" aria-label="Permalink to “supportUri?”"></a></h3><blockquote><p><code>可选</code> <code>string</code></p></blockquote><p>一个自定义 uri 链接, 用户点击[用户反馈]时, 打开此链接</p><p>可以是一个网页链接, 也可以是一个应用内部的 uri 链接</p><hr><p><a id="checkupdateurl"></a></p><h3 id="checkUpdateUrl" tabindex="-1">checkUpdateUrl? <a class="header-anchor" href="#checkUpdateUrl" aria-label="Permalink to “checkUpdateUrl?”"></a></h3><blockquote><p><code>可选</code> <code>string</code></p></blockquote><p>一个只需要 id 和 version 的 json5 文件链接, 检测更新时, 优先检测此链接, 如果 id 相等并且 version 增加, 则再去请求 updateUrl</p><p>目的是防止订阅文件过大而消耗过多的流量, 如下是一个简单的示例</p><div class="language-json5"><button title="Copy code" data-copied="Copied" 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
2
|
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 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:#032F62;--shiki-dark:#9ECBFF;"> 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><p>支持相对地址, 如果 <a href="#updateUrl">updateUrl</a> 或者用户添加订阅时填写的链接是 <code>https://gkd.li/gkd.json5</code> 并且 <a href="#checkUpdateUrl">checkUpdateUrl</a> 是 <code>./gkd.version.json5</code></p><p>那么最终请求的链接是 <code>https://gkd.li/gkd.version.json5</code></p><hr><h3 id="apps" tabindex="-1">apps? <a class="header-anchor" href="#apps" aria-label="Permalink to “apps?”"></a></h3><blockquote><p><code>可选</code> <a href="./RawApp"><code>RawApp</code></a>[]</p></blockquote><p>此订阅的应用列表</p><hr><p><a id="globalgroups"></a></p><h3 id="globalGroups" tabindex="-1">globalGroups? <a class="header-anchor" href="#globalGroups" aria-label="Permalink to “globalGroups?”"></a></h3><blockquote><p><code>可选</code> <a href="./RawGlobalGroup"><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><code>可选</code> <a href="./RawCategory"><code>RawCategory</code></a>[]</p></blockquote><p>此订阅的应用规则分类列表</p>`,54)])])}var s=t(a,[[`render`,o]]);export{i as __pageData,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{it as e,n as t,rt as n,yt as r}from"./chunks/framework.CKeY8dpZ.js";var i=JSON.parse(`{"title":"RawSubscription","description":"","frontmatter":{},"headers":[],"relativePath":"api/interfaces/RawSubscription.md","filePath":"api/interfaces/RawSubscription.md","lastUpdated":0}`),a={name:`api/interfaces/RawSubscription.md`};function o(t,i,a,o,s,c){return r(),n(`div`,null,[...i[0]||(i[0]=[e("",54)])])}var s=t(a,[[`render`,o]]);export{i as __pageData,s as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{it as e,n as t,rt as n,yt as r}from"./chunks/framework.CKeY8dpZ.js";var i=JSON.parse(`{"title":"IArray<T>","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/IArray.md","filePath":"api/type-aliases/IArray.md","lastUpdated":0}`),a={name:`api/type-aliases/IArray.md`};function o(t,i,a,o,s,c){return r(),n(`div`,null,[...i[0]||(i[0]=[e(`<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="类型参数" tabindex="-1">类型参数 <a class="header-anchor" href="#类型参数" aria-label="Permalink to “类型参数”"></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="示例" tabindex="-1">示例 <a class="header-anchor" href="#示例" aria-label="Permalink to “示例”"></a></h2><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#c62739;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> n1</span><span style="--shiki-light:#c62739;--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:#c62739;--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:#62687b;--shiki-dark:#818e99;">// ✅</span></span>
|
|
2
2
|
<span class="line"><span style="--shiki-light:#c62739;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> n2</span><span style="--shiki-light:#c62739;--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:#c62739;--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:#62687b;--shiki-dark:#818e99;">// ✅</span></span>
|
|
3
3
|
<span class="line"><span style="--shiki-light:#c62739;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> s1</span><span style="--shiki-light:#c62739;--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:#c62739;--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:#62687b;--shiki-dark:#818e99;">// ✅</span></span>
|
|
4
4
|
<span class="line"><span style="--shiki-light:#c62739;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> a2</span><span style="--shiki-light:#c62739;--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:#c62739;--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:#62687b;--shiki-dark:#818e99;">// ✅</span></span></code></pre></div>`,8)])])}var s=t(a,[[`render`,o]]);export{i as __pageData,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{it as e,n as t,rt as n,yt as r}from"./chunks/framework.CKeY8dpZ.js";var i=JSON.parse(`{"title":"IArray<T>","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/IArray.md","filePath":"api/type-aliases/IArray.md","lastUpdated":0}`),a={name:`api/type-aliases/IArray.md`};function o(t,i,a,o,s,c){return r(),n(`div`,null,[...i[0]||(i[0]=[e("",8)])])}var s=t(a,[[`render`,o]]);export{i as __pageData,s as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{it as e,n as t,rt as n,yt as r}from"./chunks/framework.CKeY8dpZ.js";var i=JSON.parse(`{"title":"Integer","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/Integer.md","filePath":"api/type-aliases/Integer.md","lastUpdated":0}`),a={name:`api/type-aliases/Integer.md`};function o(t,i,a,o,s,c){return r(),n(`div`,null,[...i[0]||(i[0]=[e(`<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="示例" tabindex="-1">示例 <a class="header-anchor" href="#示例" aria-label="Permalink to “示例”"></a></h2><div class="language-ts"><button title="Copy code" data-copied="Copied" 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:#62687b;--shiki-dark:#818e99;"> // ✅</span></span>
|
|
2
2
|
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">2.5</span><span style="--shiki-light:#62687b;--shiki-dark:#818e99;"> // ❌</span></span></code></pre></div>`,5)])])}var s=t(a,[[`render`,o]]);export{i as __pageData,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{it as e,n as t,rt as n,yt as r}from"./chunks/framework.CKeY8dpZ.js";var i=JSON.parse(`{"title":"Integer","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/Integer.md","filePath":"api/type-aliases/Integer.md","lastUpdated":0}`),a={name:`api/type-aliases/Integer.md`};function o(t,i,a,o,s,c){return r(),n(`div`,null,[...i[0]||(i[0]=[e("",5)])])}var s=t(a,[[`render`,o]]);export{i as __pageData,s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{it as e,n as t,rt as n,yt as r}from"./chunks/framework.CKeY8dpZ.js";var i=JSON.parse(`{"title":"IntegerMatcher","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/IntegerMatcher.md","filePath":"api/type-aliases/IntegerMatcher.md","lastUpdated":0}`),a={name:`api/type-aliases/IntegerMatcher.md`};function o(t,i,a,o,s,c){return r(),n(`div`,null,[...i[0]||(i[0]=[e(`<h1 id="integermatcher" tabindex="-1">IntegerMatcher <a class="header-anchor" href="#integermatcher" aria-label="Permalink to “IntegerMatcher”"></a></h1><blockquote><p><strong>IntegerMatcher</strong> = <code>object</code></p></blockquote><p>整数匹配规则</p><p>优先级: exclude > include > (minimum/maximum)</p><h2 id="属性" tabindex="-1">属性 <a class="header-anchor" href="#属性" aria-label="Permalink to “属性”"></a></h2><h3 id="exclude" tabindex="-1">exclude? <a class="header-anchor" href="#exclude" aria-label="Permalink to “exclude?”"></a></h3><blockquote><p><code>可选</code> <a href="./IArray"><code>IArray</code></a><<a href="./Integer"><code>Integer</code></a>></p></blockquote><p>如果在此列表中, 则排除匹配</p><hr><h3 id="include" tabindex="-1">include? <a class="header-anchor" href="#include" aria-label="Permalink to “include?”"></a></h3><blockquote><p><code>可选</code> <a href="./IArray"><code>IArray</code></a><<a href="./Integer"><code>Integer</code></a>></p></blockquote><p>如果不在此列表中, 则排除匹配</p><hr><h3 id="minimum" tabindex="-1">minimum? <a class="header-anchor" href="#minimum" aria-label="Permalink to “minimum?”"></a></h3><blockquote><p><code>可选</code> <a href="./Integer"><code>Integer</code></a></p></blockquote><p>如果小于此值, 则排除匹配</p><hr><h3 id="maximum" tabindex="-1">maximum? <a class="header-anchor" href="#maximum" aria-label="Permalink to “maximum?”"></a></h3><blockquote><p><code>可选</code> <a href="./Integer"><code>Integer</code></a></p></blockquote><p>如果大于此值, 则排除匹配</p>`,20)])])}var s=t(a,[[`render`,o]]);export{i as __pageData,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{it as e,n as t,rt as n,yt as r}from"./chunks/framework.CKeY8dpZ.js";var i=JSON.parse(`{"title":"IntegerMatcher","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/IntegerMatcher.md","filePath":"api/type-aliases/IntegerMatcher.md","lastUpdated":0}`),a={name:`api/type-aliases/IntegerMatcher.md`};function o(t,i,a,o,s,c){return r(),n(`div`,null,[...i[0]||(i[0]=[e("",20)])])}var s=t(a,[[`render`,o]]);export{i as __pageData,s as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{it as e,n as t,rt as n,yt as r}from"./chunks/framework.CKeY8dpZ.js";var i=JSON.parse(`{"title":"Position","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/Position.md","filePath":"api/type-aliases/Position.md","lastUpdated":0}`),a={name:`api/type-aliases/Position.md`};function o(t,i,a,o,s,c){return r(),n(`div`,null,[...i[0]||(i[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 节点四条边和 x/y 实现定位</p><p>选择两个属性分别为水平方向和垂直方向, 合法的定位组合为: left/right/x + top/bottom/y</p><p>示例1-点击目标节点的中心</p><div class="language-json5"><button title="Copy code" data-copied="Copied" 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
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"><button title="Copy code" data-copied="Copied" 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>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{it as e,n as t,rt as n,yt as r}from"./chunks/framework.CKeY8dpZ.js";var i=JSON.parse(`{"title":"Position","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/Position.md","filePath":"api/type-aliases/Position.md","lastUpdated":0}`),a={name:`api/type-aliases/Position.md`};function o(t,i,a,o,s,c){return r(),n(`div`,null,[...i[0]||(i[0]=[e("",48)])])}var s=t(a,[[`render`,o]]);export{i as __pageData,s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{it as e,n as t,rt as n,yt as r}from"./chunks/framework.CKeY8dpZ.js";var i=JSON.parse(`{"title":"StringMatcher","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/StringMatcher.md","filePath":"api/type-aliases/StringMatcher.md","lastUpdated":0}`),a={name:`api/type-aliases/StringMatcher.md`};function o(t,i,a,o,s,c){return r(),n(`div`,null,[...i[0]||(i[0]=[e(`<h1 id="stringmatcher" tabindex="-1">StringMatcher <a class="header-anchor" href="#stringmatcher" aria-label="Permalink to “StringMatcher”"></a></h1><blockquote><p><strong>StringMatcher</strong> = <code>object</code></p></blockquote><p>字符串匹配规则</p><p>优先级: exclude > include > pattern</p><h2 id="属性" tabindex="-1">属性 <a class="header-anchor" href="#属性" aria-label="Permalink to “属性”"></a></h2><h3 id="exclude" tabindex="-1">exclude? <a class="header-anchor" href="#exclude" aria-label="Permalink to “exclude?”"></a></h3><blockquote><p><code>可选</code> <a href="./IArray"><code>IArray</code></a><<code>string</code>></p></blockquote><p>如果在此列表中, 则排除匹配</p><hr><h3 id="include" tabindex="-1">include? <a class="header-anchor" href="#include" aria-label="Permalink to “include?”"></a></h3><blockquote><p><code>可选</code> <a href="./IArray"><code>IArray</code></a><<code>string</code>></p></blockquote><p>如果不在此列表中, 则排除匹配</p><hr><h3 id="pattern" tabindex="-1">pattern? <a class="header-anchor" href="#pattern" aria-label="Permalink to “pattern?”"></a></h3><blockquote><p><code>可选</code> <code>string</code></p></blockquote><p>如果匹配此正则表达式, 则匹配</p>`,16)])])}var s=t(a,[[`render`,o]]);export{i as __pageData,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{it as e,n as t,rt as n,yt as r}from"./chunks/framework.CKeY8dpZ.js";var i=JSON.parse(`{"title":"StringMatcher","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/StringMatcher.md","filePath":"api/type-aliases/StringMatcher.md","lastUpdated":0}`),a={name:`api/type-aliases/StringMatcher.md`};function o(t,i,a,o,s,c){return r(),n(`div`,null,[...i[0]||(i[0]=[e("",16)])])}var s=t(a,[[`render`,o]]);export{i as __pageData,s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{it as e,n as t,rt as n,yt as r}from"./chunks/framework.CKeY8dpZ.js";var i=JSON.parse(`{"title":"SwipeArg","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/SwipeArg.md","filePath":"api/type-aliases/SwipeArg.md","lastUpdated":0}`),a={name:`api/type-aliases/SwipeArg.md`};function o(t,i,a,o,s,c){return r(),n(`div`,null,[...i[0]||(i[0]=[e(`<h1 id="swipearg" tabindex="-1">SwipeArg <a class="header-anchor" href="#swipearg" aria-label="Permalink to “SwipeArg”"></a></h1><blockquote><p><strong>SwipeArg</strong> = <code>object</code></p></blockquote><h2 id="属性" tabindex="-1">属性 <a class="header-anchor" href="#属性" aria-label="Permalink to “属性”"></a></h2><h3 id="start" tabindex="-1">start <a class="header-anchor" href="#start" aria-label="Permalink to “start”"></a></h3><blockquote><p><a href="./Position"><code>Position</code></a></p></blockquote><p>起始坐标, 计算方式同 <a href="./Position">Position</a></p><hr><h3 id="end" tabindex="-1">end? <a class="header-anchor" href="#end" aria-label="Permalink to “end?”"></a></h3><blockquote><p><code>可选</code> <a href="./Position"><code>Position</code></a></p></blockquote><p>结束坐标, 计算方式同 <a href="./Position">Position</a>, 默认值为 start 位置</p><p>如果开始坐标和结束坐标完全相同, 可以作为自定义时长的点击使用</p><hr><h3 id="duration" tabindex="-1">duration <a class="header-anchor" href="#duration" aria-label="Permalink to “duration”"></a></h3><blockquote><p><a href="./Integer"><code>Integer</code></a></p></blockquote><p>滑动持续时间, 单位毫秒, 滑动曲线为线性移动</p>`,15)])])}var s=t(a,[[`render`,o]]);export{i as __pageData,s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{it as e,n as t,rt as n,yt as r}from"./chunks/framework.CKeY8dpZ.js";var i=JSON.parse(`{"title":"SwipeArg","description":"","frontmatter":{},"headers":[],"relativePath":"api/type-aliases/SwipeArg.md","filePath":"api/type-aliases/SwipeArg.md","lastUpdated":0}`),a={name:`api/type-aliases/SwipeArg.md`};function o(t,i,a,o,s,c){return r(),n(`div`,null,[...i[0]||(i[0]=[e("",15)])])}var s=t(a,[[`render`,o]]);export{i as __pageData,s as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{L as e,W as t,_ as n,a as r,b as i,c as a,ct as o,gt as s,i as c,kt as l,l as u,m as d,o as f,q as p,r as m,s as h,t as g,ut as _,v,y}from"./chunks/framework.CKeY8dpZ.js";import{t as b}from"./chunks/theme.Dkyxannt.js";function x(e){if(e.extends){let t=x(e.extends);return{...t,...e,async enhanceApp(n){var r,i;await((r=t.enhanceApp)==null?void 0:r.call(t,n)),await((i=e.enhanceApp)==null?void 0:i.call(e,n))},setup(){var n,r;(n=t.setup)==null||n.call(t),(r=e.setup)==null||r.call(e)}}}return e}var S=x(b),C=o({name:`VitePressApp`,setup(){let{site:e,lang:t,dir:n}=i();return s(()=>{l(()=>{document.documentElement.lang=t.value,document.documentElement.dir=n.value})}),e.value.router.prefetchLinks&&m(),r(),f(),S.setup&&S.setup(),()=>_(S.Layout)}});async function w(){globalThis.__VITEPRESS__=!0;let e=E(),r=T();r.provide(a,e);let i=v(e.route);return r.provide(n,i),r.component(`Content`,h),r.component(`ClientOnly`,t),Object.defineProperties(r.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}}),S.enhanceApp&&await S.enhanceApp({app:r,router:e,siteData:y}),{app:r,router:e,data:i}}function T(){return p(C)}function E(){let t=e;return u(n=>{let r=d(n),i=null;return r&&(t&&(r=r.replace(/\.js$/,`.lean.js`)),i=g(()=>import(((u)=>{if(u.startsWith('/')){return"https://registry.npmmirror.com/@gkd-kit/docs/0.0.1793377480416/files/.vitepress/dist"+u}return u})(r)),[])),e&&(t=!1),i},S.NotFound)}e&&w().then(({app:e,router:t,data:n})=>{t.go(location.href,{initialLoad:!0}).then(()=>{c(t.route,n.site),e.mount(`#app`)})});export{w as createApp};
|