feat(扫描全能王): 其他-关闭[发现新截图]提示 (#354)

This commit is contained in:
DeepChirp
2024-09-12 17:14:43 +08:00
committed by GitHub
parent f9cf99f7aa
commit 0c32b0fb5c
2 changed files with 110 additions and 88 deletions

187
pnpm-lock.yaml generated
View File

@@ -89,66 +89,70 @@ packages:
resolution: {integrity: sha512-D5S5T7ilI5roybWGc8X35OBlRXLAwuTseH1ro0XgqkOWrhZU8yOwBOslrNmSDlTXhXLq8cnfhQyC42qaUCzlXA==}
engines: {node: '>=v18'}
'@commitlint/config-validator@19.0.3':
resolution: {integrity: sha512-2D3r4PKjoo59zBc2auodrSCaUnCSALCx54yveOFwwP/i2kfEAQrygwOleFWswLqK0UL/F9r07MFi5ev2ohyM4Q==}
'@commitlint/config-validator@19.5.0':
resolution: {integrity: sha512-CHtj92H5rdhKt17RmgALhfQt95VayrUo2tSqY9g2w+laAXyk7K/Ef6uPm9tn5qSIwSmrLjKaXK9eiNuxmQrDBw==}
engines: {node: '>=v18'}
'@commitlint/ensure@19.0.3':
resolution: {integrity: sha512-SZEpa/VvBLoT+EFZVb91YWbmaZ/9rPH3ESrINOl0HD2kMYsjvl0tF7nMHh0EpTcv4+gTtZBAe1y/SS6/OhfZzQ==}
'@commitlint/ensure@19.5.0':
resolution: {integrity: sha512-Kv0pYZeMrdg48bHFEU5KKcccRfKmISSm9MvgIgkpI6m+ohFTB55qZlBW6eYqh/XDfRuIO0x4zSmvBjmOwWTwkg==}
engines: {node: '>=v18'}
'@commitlint/execute-rule@19.0.0':
resolution: {integrity: sha512-mtsdpY1qyWgAO/iOK0L6gSGeR7GFcdW7tIjcNFxcWkfLDF5qVbPHKuGATFqRMsxcO8OUKNj0+3WOHB7EHm4Jdw==}
'@commitlint/execute-rule@19.5.0':
resolution: {integrity: sha512-aqyGgytXhl2ejlk+/rfgtwpPexYyri4t8/n4ku6rRJoRhGZpLFMqrZ+YaubeGysCP6oz4mMA34YSTaSOKEeNrg==}
engines: {node: '>=v18'}
'@commitlint/format@19.3.0':
resolution: {integrity: sha512-luguk5/aF68HiF4H23ACAfk8qS8AHxl4LLN5oxPc24H+2+JRPsNr1OS3Gaea0CrH7PKhArBMKBz5RX9sA5NtTg==}
'@commitlint/format@19.5.0':
resolution: {integrity: sha512-yNy088miE52stCI3dhG/vvxFo9e4jFkU1Mj3xECfzp/bIS/JUay4491huAlVcffOoMK1cd296q0W92NlER6r3A==}
engines: {node: '>=v18'}
'@commitlint/is-ignored@19.2.2':
resolution: {integrity: sha512-eNX54oXMVxncORywF4ZPFtJoBm3Tvp111tg1xf4zWXGfhBPKpfKG6R+G3G4v5CPlRROXpAOpQ3HMhA9n1Tck1g==}
'@commitlint/is-ignored@19.5.0':
resolution: {integrity: sha512-0XQ7Llsf9iL/ANtwyZ6G0NGp5Y3EQ8eDQSxv/SRcfJ0awlBY4tHFAvwWbw66FVUaWICH7iE5en+FD9TQsokZ5w==}
engines: {node: '>=v18'}
'@commitlint/lint@19.4.1':
resolution: {integrity: sha512-Ws4YVAZ0jACTv6VThumITC1I5AG0UyXMGua3qcf55JmXIXm/ejfaVKykrqx7RyZOACKVAs8uDRIsEsi87JZ3+Q==}
'@commitlint/lint@19.5.0':
resolution: {integrity: sha512-cAAQwJcRtiBxQWO0eprrAbOurtJz8U6MgYqLz+p9kLElirzSCc0vGMcyCaA1O7AqBuxo11l1XsY3FhOFowLAAg==}
engines: {node: '>=v18'}
'@commitlint/load@19.4.0':
resolution: {integrity: sha512-I4lCWaEZYQJ1y+Y+gdvbGAx9pYPavqZAZ3/7/8BpWh+QjscAn8AjsUpLV2PycBsEx7gupq5gM4BViV9xwTIJuw==}
'@commitlint/load@19.5.0':
resolution: {integrity: sha512-INOUhkL/qaKqwcTUvCE8iIUf5XHsEPCLY9looJ/ipzi7jtGhgmtH7OOFiNvwYgH7mA8osUWOUDV8t4E2HAi4xA==}
engines: {node: '>=v18'}
'@commitlint/message@19.0.0':
resolution: {integrity: sha512-c9czf6lU+9oF9gVVa2lmKaOARJvt4soRsVmbR7Njwp9FpbBgste5i7l/2l5o8MmbwGh4yE1snfnsy2qyA2r/Fw==}
'@commitlint/message@19.5.0':
resolution: {integrity: sha512-R7AM4YnbxN1Joj1tMfCyBryOC5aNJBdxadTZkuqtWi3Xj0kMdutq16XQwuoGbIzL2Pk62TALV1fZDCv36+JhTQ==}
engines: {node: '>=v18'}
'@commitlint/parse@19.0.3':
resolution: {integrity: sha512-Il+tNyOb8VDxN3P6XoBBwWJtKKGzHlitEuXA5BP6ir/3loWlsSqDr5aecl6hZcC/spjq4pHqNh0qPlfeWu38QA==}
'@commitlint/parse@19.5.0':
resolution: {integrity: sha512-cZ/IxfAlfWYhAQV0TwcbdR1Oc0/r0Ik1GEessDJ3Lbuma/MRO8FRQX76eurcXtmhJC//rj52ZSZuXUg0oIX0Fw==}
engines: {node: '>=v18'}
'@commitlint/read@19.4.0':
resolution: {integrity: sha512-r95jLOEZzKDakXtnQub+zR3xjdnrl2XzerPwm7ch1/cc5JGq04tyaNpa6ty0CRCWdVrk4CZHhqHozb8yZwy2+g==}
'@commitlint/read@19.5.0':
resolution: {integrity: sha512-TjS3HLPsLsxFPQj6jou8/CZFAmOP2y+6V4PGYt3ihbQKTY1Jnv0QG28WRKl/d1ha6zLODPZqsxLEov52dhR9BQ==}
engines: {node: '>=v18'}
'@commitlint/resolve-extends@19.1.0':
resolution: {integrity: sha512-z2riI+8G3CET5CPgXJPlzftH+RiWYLMYv4C9tSLdLXdr6pBNimSKukYP9MS27ejmscqCTVA4almdLh0ODD2KYg==}
'@commitlint/resolve-extends@19.5.0':
resolution: {integrity: sha512-CU/GscZhCUsJwcKTJS9Ndh3AKGZTNFIOoQB2n8CmFnizE0VnEuJoum+COW+C1lNABEeqk6ssfc1Kkalm4bDklA==}
engines: {node: '>=v18'}
'@commitlint/rules@19.4.1':
resolution: {integrity: sha512-AgctfzAONoVxmxOXRyxXIq7xEPrd7lK/60h2egp9bgGUMZK9v0+YqLOA+TH+KqCa63ZoCr8owP2YxoSSu7IgnQ==}
'@commitlint/rules@19.5.0':
resolution: {integrity: sha512-hDW5TPyf/h1/EufSHEKSp6Hs+YVsDMHazfJ2azIk9tHPXS6UqSz1dIRs1gpqS3eMXgtkT7JH6TW4IShdqOwhAw==}
engines: {node: '>=v18'}
'@commitlint/to-lines@19.0.0':
resolution: {integrity: sha512-vkxWo+VQU5wFhiP9Ub9Sre0FYe019JxFikrALVoD5UGa8/t3yOJEpEhxC5xKiENKKhUkTpEItMTRAjHw2SCpZw==}
'@commitlint/to-lines@19.5.0':
resolution: {integrity: sha512-R772oj3NHPkodOSRZ9bBVNq224DOxQtNef5Pl8l2M8ZnkkzQfeSTr4uxawV2Sd3ui05dUVzvLNnzenDBO1KBeQ==}
engines: {node: '>=v18'}
'@commitlint/top-level@19.0.0':
resolution: {integrity: sha512-KKjShd6u1aMGNkCkaX4aG1jOGdn7f8ZI8TR1VEuNqUOjWTOdcDSsmglinglJ18JTjuBX5I1PtjrhQCRcixRVFQ==}
'@commitlint/top-level@19.5.0':
resolution: {integrity: sha512-IP1YLmGAk0yWrImPRRc578I3dDUI5A2UBJx9FbSOjxe9sTlzFiwVJ+zeMLgAtHMtGZsC8LUnzmW1qRemkFU4ng==}
engines: {node: '>=v18'}
'@commitlint/types@19.0.3':
resolution: {integrity: sha512-tpyc+7i6bPG9mvaBbtKUeghfyZSDgWquIDfMgqYtTbmZ9Y9VzEm2je9EYcQ0aoz5o7NvGS+rcDec93yO08MHYA==}
engines: {node: '>=v18'}
'@commitlint/types@19.5.0':
resolution: {integrity: sha512-DSHae2obMSMkAtTBSOulg5X7/z+rGLxcXQIkg3OmWvY6wifojge5uVMydfhUvs7yQj+V7jNmRZ2Xzl8GJyqRgg==}
engines: {node: '>=v18'}
'@esbuild/aix-ppc64@0.23.1':
resolution: {integrity: sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==}
engines: {node: '>=18'}
@@ -462,8 +466,8 @@ packages:
resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}
engines: {node: '>=8'}
ansi-regex@6.0.1:
resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==}
ansi-regex@6.1.0:
resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==}
engines: {node: '>=12'}
ansi-styles@3.2.1:
@@ -589,8 +593,8 @@ packages:
resolution: {integrity: sha512-wAV9QHOsNbwnWdNW2FYvE1P56wtgSbM+3SZcdGiWQILwVjACCXDCI3Ai8QlCjMDB8YK5zySiXZYBiwGmNY3lnw==}
engines: {node: '>=12'}
debug@4.3.6:
resolution: {integrity: sha512-O/09Bd4Z1fBrU4VzkhFqVgpPzaGbw6Sm9FEkBT1A/YBXQFGuuSxa1dN2nxgxS34JmKXqYx8CZAwEVoJFImUXIg==}
debug@4.3.7:
resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==}
engines: {node: '>=6.0'}
peerDependencies:
supports-color: '*'
@@ -996,8 +1000,8 @@ packages:
minimist@1.2.8:
resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==}
ms@2.1.2:
resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==}
ms@2.1.3:
resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}
natural-compare@1.4.0:
resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==}
@@ -1198,6 +1202,9 @@ packages:
through@2.3.8:
resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==}
tinyexec@0.3.0:
resolution: {integrity: sha512-tVGE0mVJPGb0chKhqmsoosjsS+qUnJVGJpZgsHYQcGoPlG3B51R3PouqTgEGH2Dc9jjFyOqOpix6ZHNMXp1FZg==}
to-regex-range@5.0.1:
resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}
engines: {node: '>=8.0'}
@@ -1301,10 +1308,10 @@ snapshots:
'@commitlint/cli@19.4.1(@types/node@22.5.3)(typescript@5.5.4)':
dependencies:
'@commitlint/format': 19.3.0
'@commitlint/lint': 19.4.1
'@commitlint/load': 19.4.0(@types/node@22.5.3)(typescript@5.5.4)
'@commitlint/read': 19.4.0
'@commitlint/format': 19.5.0
'@commitlint/lint': 19.5.0
'@commitlint/load': 19.5.0(@types/node@22.5.3)(typescript@5.5.4)
'@commitlint/read': 19.5.0
'@commitlint/types': 19.0.3
execa: 8.0.1
yargs: 17.7.2
@@ -1317,45 +1324,45 @@ snapshots:
'@commitlint/types': 19.0.3
conventional-changelog-conventionalcommits: 7.0.2
'@commitlint/config-validator@19.0.3':
'@commitlint/config-validator@19.5.0':
dependencies:
'@commitlint/types': 19.0.3
'@commitlint/types': 19.5.0
ajv: 8.17.1
'@commitlint/ensure@19.0.3':
'@commitlint/ensure@19.5.0':
dependencies:
'@commitlint/types': 19.0.3
'@commitlint/types': 19.5.0
lodash.camelcase: 4.3.0
lodash.kebabcase: 4.1.1
lodash.snakecase: 4.1.1
lodash.startcase: 4.4.0
lodash.upperfirst: 4.3.1
'@commitlint/execute-rule@19.0.0': {}
'@commitlint/execute-rule@19.5.0': {}
'@commitlint/format@19.3.0':
'@commitlint/format@19.5.0':
dependencies:
'@commitlint/types': 19.0.3
'@commitlint/types': 19.5.0
chalk: 5.3.0
'@commitlint/is-ignored@19.2.2':
'@commitlint/is-ignored@19.5.0':
dependencies:
'@commitlint/types': 19.0.3
'@commitlint/types': 19.5.0
semver: 7.6.3
'@commitlint/lint@19.4.1':
'@commitlint/lint@19.5.0':
dependencies:
'@commitlint/is-ignored': 19.2.2
'@commitlint/parse': 19.0.3
'@commitlint/rules': 19.4.1
'@commitlint/types': 19.0.3
'@commitlint/is-ignored': 19.5.0
'@commitlint/parse': 19.5.0
'@commitlint/rules': 19.5.0
'@commitlint/types': 19.5.0
'@commitlint/load@19.4.0(@types/node@22.5.3)(typescript@5.5.4)':
'@commitlint/load@19.5.0(@types/node@22.5.3)(typescript@5.5.4)':
dependencies:
'@commitlint/config-validator': 19.0.3
'@commitlint/execute-rule': 19.0.0
'@commitlint/resolve-extends': 19.1.0
'@commitlint/types': 19.0.3
'@commitlint/config-validator': 19.5.0
'@commitlint/execute-rule': 19.5.0
'@commitlint/resolve-extends': 19.5.0
'@commitlint/types': 19.5.0
chalk: 5.3.0
cosmiconfig: 9.0.0(typescript@5.5.4)
cosmiconfig-typescript-loader: 5.0.0(@types/node@22.5.3)(cosmiconfig@9.0.0(typescript@5.5.4))(typescript@5.5.4)
@@ -1366,42 +1373,41 @@ snapshots:
- '@types/node'
- typescript
'@commitlint/message@19.0.0': {}
'@commitlint/message@19.5.0': {}
'@commitlint/parse@19.0.3':
'@commitlint/parse@19.5.0':
dependencies:
'@commitlint/types': 19.0.3
'@commitlint/types': 19.5.0
conventional-changelog-angular: 7.0.0
conventional-commits-parser: 5.0.0
'@commitlint/read@19.4.0':
'@commitlint/read@19.5.0':
dependencies:
'@commitlint/top-level': 19.0.0
'@commitlint/types': 19.0.3
execa: 8.0.1
'@commitlint/top-level': 19.5.0
'@commitlint/types': 19.5.0
git-raw-commits: 4.0.0
minimist: 1.2.8
tinyexec: 0.3.0
'@commitlint/resolve-extends@19.1.0':
'@commitlint/resolve-extends@19.5.0':
dependencies:
'@commitlint/config-validator': 19.0.3
'@commitlint/types': 19.0.3
'@commitlint/config-validator': 19.5.0
'@commitlint/types': 19.5.0
global-directory: 4.0.1
import-meta-resolve: 4.1.0
lodash.mergewith: 4.6.2
resolve-from: 5.0.0
'@commitlint/rules@19.4.1':
'@commitlint/rules@19.5.0':
dependencies:
'@commitlint/ensure': 19.0.3
'@commitlint/message': 19.0.0
'@commitlint/to-lines': 19.0.0
'@commitlint/types': 19.0.3
execa: 8.0.1
'@commitlint/ensure': 19.5.0
'@commitlint/message': 19.5.0
'@commitlint/to-lines': 19.5.0
'@commitlint/types': 19.5.0
'@commitlint/to-lines@19.0.0': {}
'@commitlint/to-lines@19.5.0': {}
'@commitlint/top-level@19.0.0':
'@commitlint/top-level@19.5.0':
dependencies:
find-up: 7.0.0
@@ -1410,6 +1416,11 @@ snapshots:
'@types/conventional-commits-parser': 5.0.0
chalk: 5.3.0
'@commitlint/types@19.5.0':
dependencies:
'@types/conventional-commits-parser': 5.0.0
chalk: 5.3.0
'@esbuild/aix-ppc64@0.23.1':
optional: true
@@ -1492,7 +1503,7 @@ snapshots:
'@eslint/config-array@0.18.0':
dependencies:
'@eslint/object-schema': 2.1.4
debug: 4.3.6
debug: 4.3.7
minimatch: 3.1.2
transitivePeerDependencies:
- supports-color
@@ -1500,7 +1511,7 @@ snapshots:
'@eslint/eslintrc@3.1.0':
dependencies:
ajv: 6.12.6
debug: 4.3.6
debug: 4.3.7
espree: 10.1.0
globals: 14.0.0
ignore: 5.3.2
@@ -1593,7 +1604,7 @@ snapshots:
'@typescript-eslint/types': 8.4.0
'@typescript-eslint/typescript-estree': 8.4.0(typescript@5.5.4)
'@typescript-eslint/visitor-keys': 8.4.0
debug: 4.3.6
debug: 4.3.7
eslint: 9.9.1(jiti@1.21.6)
optionalDependencies:
typescript: 5.5.4
@@ -1609,7 +1620,7 @@ snapshots:
dependencies:
'@typescript-eslint/typescript-estree': 8.4.0(typescript@5.5.4)
'@typescript-eslint/utils': 8.4.0(eslint@9.9.1(jiti@1.21.6))(typescript@5.5.4)
debug: 4.3.6
debug: 4.3.7
ts-api-utils: 1.3.0(typescript@5.5.4)
optionalDependencies:
typescript: 5.5.4
@@ -1623,7 +1634,7 @@ snapshots:
dependencies:
'@typescript-eslint/types': 8.4.0
'@typescript-eslint/visitor-keys': 8.4.0
debug: 4.3.6
debug: 4.3.7
fast-glob: 3.3.2
is-glob: 4.0.3
minimatch: 9.0.5
@@ -1681,7 +1692,7 @@ snapshots:
ansi-regex@5.0.1: {}
ansi-regex@6.0.1: {}
ansi-regex@6.1.0: {}
ansi-styles@3.2.1:
dependencies:
@@ -1804,9 +1815,9 @@ snapshots:
dargs@8.1.0: {}
debug@4.3.6:
debug@4.3.7:
dependencies:
ms: 2.1.2
ms: 2.1.3
deep-is@0.1.4: {}
@@ -1891,7 +1902,7 @@ snapshots:
ajv: 6.12.6
chalk: 4.1.2
cross-spawn: 7.0.3
debug: 4.3.6
debug: 4.3.7
escape-string-regexp: 4.0.0
eslint-scope: 8.0.2
eslint-visitor-keys: 4.0.0
@@ -2120,7 +2131,7 @@ snapshots:
dependencies:
chalk: 5.3.0
commander: 12.1.0
debug: 4.3.6
debug: 4.3.7
execa: 8.0.1
lilconfig: 3.1.2
listr2: 8.2.4
@@ -2199,7 +2210,7 @@ snapshots:
minimist@1.2.8: {}
ms@2.1.2: {}
ms@2.1.3: {}
natural-compare@1.4.0: {}
@@ -2340,7 +2351,7 @@ snapshots:
strip-ansi@7.1.0:
dependencies:
ansi-regex: 6.0.1
ansi-regex: 6.1.0
strip-final-newline@3.0.0: {}
@@ -2360,6 +2371,8 @@ snapshots:
through@2.3.8: {}
tinyexec@0.3.0: {}
to-regex-range@5.0.1:
dependencies:
is-number: 7.0.0

View File

@@ -19,9 +19,18 @@ export default defineGkdApp({
actionMaximum: 1,
resetMatch: 'app',
fastQuery: true,
rules: '[id="com.intsig.camscanner:id/iv_cancel"]',
rules: '[vid="iv_cancel"]',
exampleUrls: 'https://e.gkd.li/5f628895-e214-4a0b-8344-14f3d8c20807',
snapshotUrls: 'https://i.gkd.li/i/16761285',
},
{
key: 3,
name: '其他-关闭[发现新截图]提示',
fastQuery: true,
activityIds: '.mainmenu.mainactivity.MainActivity',
rules: 'RelativeLayout[vid="rl_screenshot"] + ImageView[vid="iv_esc"]',
exampleUrls: 'https://e.gkd.li/c66080aa-1758-4a69-9752-aa1373d7f2b5',
snapshotUrls: 'https://i.gkd.li/i/16975714',
},
],
});