mirror of
https://github.com/fmhy/edit.git
synced 2025-07-29 23:32:17 +10:00
k
This commit is contained in:
parent
5bbdf245ae
commit
0e976b0dbb
4 changed files with 137 additions and 17 deletions
|
@ -112,7 +112,7 @@ export default defineConfig({
|
|||
{
|
||||
find: /^.*VPLocalSearchBox.vue$/,
|
||||
replacement: fileURLToPath(
|
||||
new URL('./theme/components/Search.vue', import.meta.url)
|
||||
new URL('../../website/theme/components/Search.vue', import.meta.url)
|
||||
)
|
||||
}
|
||||
]
|
||||
|
|
15
docs/.vitepress/vue-shim.d.ts
vendored
15
docs/.vitepress/vue-shim.d.ts
vendored
|
@ -1,18 +1,3 @@
|
|||
/**
|
||||
* Copyright (c) 2025 taskylizard. Apache License 2.0.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
declare const __VP_HASH_MAP__: Record<string, string>
|
||||
declare const __VP_LOCAL_SEARCH__: boolean
|
||||
declare const __ALGOLIA__: boolean
|
||||
|
|
135
pnpm-lock.yaml
generated
135
pnpm-lock.yaml
generated
|
@ -26,6 +26,9 @@ importers:
|
|||
'@vueuse/core':
|
||||
specifier: ^13.0.0
|
||||
version: 13.0.0(vue@3.5.17(typescript@5.8.2))
|
||||
'@vueuse/integrations':
|
||||
specifier: ^13.1.0
|
||||
version: 13.5.0(change-case@5.4.4)(focus-trap@7.6.5)(nprogress@0.2.0)(vue@3.5.17(typescript@5.8.2))
|
||||
consola:
|
||||
specifier: ^3.2.3
|
||||
version: 3.2.3
|
||||
|
@ -35,6 +38,15 @@ importers:
|
|||
itty-fetcher:
|
||||
specifier: ^0.9.4
|
||||
version: 0.9.4
|
||||
mark.js:
|
||||
specifier: ^8.11.1
|
||||
version: 8.11.1
|
||||
markdown-it:
|
||||
specifier: ^14.1.0
|
||||
version: 14.1.0
|
||||
minisearch:
|
||||
specifier: ^7.1.2
|
||||
version: 7.1.2
|
||||
nitro-cors:
|
||||
specifier: ^0.7.1
|
||||
version: 0.7.1
|
||||
|
@ -50,6 +62,9 @@ importers:
|
|||
reka-ui:
|
||||
specifier: ^2.3.1
|
||||
version: 2.3.1(typescript@5.8.2)(vue@3.5.17(typescript@5.8.2))
|
||||
stemmer:
|
||||
specifier: ^2.0.1
|
||||
version: 2.0.1
|
||||
unocss:
|
||||
specifier: 66.3.2
|
||||
version: 66.3.2(vite@5.4.19(@types/node@20.16.12)(sass@1.85.1)(terser@5.39.0))(vue@3.5.17(typescript@5.8.2))
|
||||
|
@ -2049,6 +2064,11 @@ packages:
|
|||
peerDependencies:
|
||||
vue: ^3.5.0
|
||||
|
||||
'@vueuse/core@13.5.0':
|
||||
resolution: {integrity: sha512-wV7z0eUpifKmvmN78UBZX8T7lMW53Nrk6JP5+6hbzrB9+cJ3jr//hUlhl9TZO/03bUkMK6gGkQpqOPWoabr72g==}
|
||||
peerDependencies:
|
||||
vue: ^3.5.0
|
||||
|
||||
'@vueuse/integrations@12.8.2':
|
||||
resolution: {integrity: sha512-fbGYivgK5uBTRt7p5F3zy6VrETlV9RtZjBqd1/HxGdjdckBgBM4ugP8LHpjolqTj14TXTxSK1ZfgPbHYyGuH7g==}
|
||||
peerDependencies:
|
||||
|
@ -2090,12 +2110,57 @@ packages:
|
|||
universal-cookie:
|
||||
optional: true
|
||||
|
||||
'@vueuse/integrations@13.5.0':
|
||||
resolution: {integrity: sha512-7RACJySnlpl0MkSzxbtadioNGSX4TL5/Wl2cUy4nDq/XkeHwPYvVM880HJUSiap/FXhVEup9VKTM9y/n5UspAw==}
|
||||
peerDependencies:
|
||||
async-validator: ^4
|
||||
axios: ^1
|
||||
change-case: ^5
|
||||
drauu: ^0.4
|
||||
focus-trap: ^7
|
||||
fuse.js: ^7
|
||||
idb-keyval: ^6
|
||||
jwt-decode: ^4
|
||||
nprogress: ^0.2
|
||||
qrcode: ^1.5
|
||||
sortablejs: ^1
|
||||
universal-cookie: ^7 || ^8
|
||||
vue: ^3.5.0
|
||||
peerDependenciesMeta:
|
||||
async-validator:
|
||||
optional: true
|
||||
axios:
|
||||
optional: true
|
||||
change-case:
|
||||
optional: true
|
||||
drauu:
|
||||
optional: true
|
||||
focus-trap:
|
||||
optional: true
|
||||
fuse.js:
|
||||
optional: true
|
||||
idb-keyval:
|
||||
optional: true
|
||||
jwt-decode:
|
||||
optional: true
|
||||
nprogress:
|
||||
optional: true
|
||||
qrcode:
|
||||
optional: true
|
||||
sortablejs:
|
||||
optional: true
|
||||
universal-cookie:
|
||||
optional: true
|
||||
|
||||
'@vueuse/metadata@12.8.2':
|
||||
resolution: {integrity: sha512-rAyLGEuoBJ/Il5AmFHiziCPdQzRt88VxR+Y/A/QhJ1EWtWqPBBAxTAFaSkviwEuOEZNtW8pvkPgoCZQ+HxqW1A==}
|
||||
|
||||
'@vueuse/metadata@13.0.0':
|
||||
resolution: {integrity: sha512-TRNksqmvtvqsuHf7bbgH9OSXEV2b6+M3BSN4LR5oxWKykOFT9gV78+C2/0++Pq9KCp9KQ1OQDPvGlWNQpOb2Mw==}
|
||||
|
||||
'@vueuse/metadata@13.5.0':
|
||||
resolution: {integrity: sha512-euhItU3b0SqXxSy8u1XHxUCdQ8M++bsRs+TYhOLDU/OykS7KvJnyIFfep0XM5WjIFry9uAPlVSjmVHiqeshmkw==}
|
||||
|
||||
'@vueuse/shared@12.8.2':
|
||||
resolution: {integrity: sha512-dznP38YzxZoNloI0qpEfpkms8knDtaoQ6Y/sfS0L7Yki4zh40LFHEhur0odJC6xTHG5dxWVPiUWBXn+wCG2s5w==}
|
||||
|
||||
|
@ -2104,6 +2169,11 @@ packages:
|
|||
peerDependencies:
|
||||
vue: ^3.5.0
|
||||
|
||||
'@vueuse/shared@13.5.0':
|
||||
resolution: {integrity: sha512-K7GrQIxJ/ANtucxIXbQlUHdB0TPA8c+q5i+zbrjxuhJCnJ9GtBg75sBSnvmLSxHKPg2Yo8w62PWksl9kwH0Q8g==}
|
||||
peerDependencies:
|
||||
vue: ^3.5.0
|
||||
|
||||
abbrev@3.0.0:
|
||||
resolution: {integrity: sha512-+/kfrslGQ7TNV2ecmQwMJj/B65g5KVq1/L3SGVZ3tCYGqlzFuFCGBZJtMP99wH3NpEUyAjn0zPdPUg0D+DwrOA==}
|
||||
engines: {node: ^18.17.0 || >=20.5.0}
|
||||
|
@ -3113,6 +3183,9 @@ packages:
|
|||
lines-and-columns@1.2.4:
|
||||
resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}
|
||||
|
||||
linkify-it@5.0.0:
|
||||
resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==}
|
||||
|
||||
listhen@1.9.0:
|
||||
resolution: {integrity: sha512-I8oW2+QL5KJo8zXNWX046M134WchxsXC7SawLPvRQpogCbkyQIaFxPE89A2HiwR7vAK2Dm2ERBAmyjTYGYEpBg==}
|
||||
hasBin: true
|
||||
|
@ -3159,12 +3232,19 @@ packages:
|
|||
mark.js@8.11.1:
|
||||
resolution: {integrity: sha512-1I+1qpDt4idfgLQG+BNWmrqku+7/2bi5nLf4YwF8y8zXvmfiTBY3PV3ZibfrjBueCByROpuBjLLFCajqkgYoLQ==}
|
||||
|
||||
markdown-it@14.1.0:
|
||||
resolution: {integrity: sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==}
|
||||
hasBin: true
|
||||
|
||||
mdast-util-to-hast@13.2.0:
|
||||
resolution: {integrity: sha512-QGYKEuUsYT9ykKBCMOEDLsU5JRObWQusAolFMeko/tYPufNkRffBAQjIE+99jbA87xv6FgmjLtwjh9wBWajwAA==}
|
||||
|
||||
mdn-data@2.12.2:
|
||||
resolution: {integrity: sha512-IEn+pegP1aManZuckezWCO+XZQDplx1366JoVhTpMpBB1sPey/SbveZQUosKiKiGYjg1wH4pMlNgXbCiYgihQA==}
|
||||
|
||||
mdurl@2.0.0:
|
||||
resolution: {integrity: sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==}
|
||||
|
||||
merge-stream@2.0.0:
|
||||
resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}
|
||||
|
||||
|
@ -3599,6 +3679,10 @@ packages:
|
|||
property-information@7.0.0:
|
||||
resolution: {integrity: sha512-7D/qOz/+Y4X/rzSB6jKxKUsQnphO046ei8qxG59mtM3RG3DHgTK81HrxrmoDVINJb8NKT5ZsRbwHvQ6B68Iyhg==}
|
||||
|
||||
punycode.js@2.3.1:
|
||||
resolution: {integrity: sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==}
|
||||
engines: {node: '>=6'}
|
||||
|
||||
quansync@0.2.10:
|
||||
resolution: {integrity: sha512-t41VRkMYbkHyCYmOvx/6URnN80H7k4X0lLdBMGsz+maAwrJQYB1djpV6vHrQIBE0WBSGqhtEHrK9U3DWWH8v7A==}
|
||||
|
||||
|
@ -3865,6 +3949,10 @@ packages:
|
|||
std-env@3.8.1:
|
||||
resolution: {integrity: sha512-vj5lIj3Mwf9D79hBkltk5qmkFI+biIKWS2IBxEyEU3AX1tUf7AoL8nSazCOiiqQsGKIq01SClsKEzweu34uwvA==}
|
||||
|
||||
stemmer@2.0.1:
|
||||
resolution: {integrity: sha512-bkWvSX2JR4nSZFfs113kd4C6X13bBBrg4fBKv2pVdzpdQI2LA5pZcWzTFNdkYsiUNl13E4EzymSRjZ0D55jBYg==}
|
||||
hasBin: true
|
||||
|
||||
stoppable@1.1.0:
|
||||
resolution: {integrity: sha512-KXDYZ9dszj6bzvnEMRYvxgeTHU74QBFL54XKtP3nyMuJ81CFYtABZ3bAzL2EdFUaEwJOBOgENyFj3R7oTzDyyw==}
|
||||
engines: {node: '>=4', npm: '>=6'}
|
||||
|
@ -4004,6 +4092,9 @@ packages:
|
|||
engines: {node: '>=14.17'}
|
||||
hasBin: true
|
||||
|
||||
uc.micro@2.1.0:
|
||||
resolution: {integrity: sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==}
|
||||
|
||||
ufo@1.3.2:
|
||||
resolution: {integrity: sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA==}
|
||||
|
||||
|
@ -6226,6 +6317,13 @@ snapshots:
|
|||
'@vueuse/shared': 13.0.0(vue@3.5.17(typescript@5.8.2))
|
||||
vue: 3.5.17(typescript@5.8.2)
|
||||
|
||||
'@vueuse/core@13.5.0(vue@3.5.17(typescript@5.8.2))':
|
||||
dependencies:
|
||||
'@types/web-bluetooth': 0.0.21
|
||||
'@vueuse/metadata': 13.5.0
|
||||
'@vueuse/shared': 13.5.0(vue@3.5.17(typescript@5.8.2))
|
||||
vue: 3.5.17(typescript@5.8.2)
|
||||
|
||||
'@vueuse/integrations@12.8.2(change-case@5.4.4)(focus-trap@7.6.5)(nprogress@0.2.0)(typescript@5.8.2)':
|
||||
dependencies:
|
||||
'@vueuse/core': 12.8.2(typescript@5.8.2)
|
||||
|
@ -6238,10 +6336,22 @@ snapshots:
|
|||
transitivePeerDependencies:
|
||||
- typescript
|
||||
|
||||
'@vueuse/integrations@13.5.0(change-case@5.4.4)(focus-trap@7.6.5)(nprogress@0.2.0)(vue@3.5.17(typescript@5.8.2))':
|
||||
dependencies:
|
||||
'@vueuse/core': 13.5.0(vue@3.5.17(typescript@5.8.2))
|
||||
'@vueuse/shared': 13.5.0(vue@3.5.17(typescript@5.8.2))
|
||||
vue: 3.5.17(typescript@5.8.2)
|
||||
optionalDependencies:
|
||||
change-case: 5.4.4
|
||||
focus-trap: 7.6.5
|
||||
nprogress: 0.2.0
|
||||
|
||||
'@vueuse/metadata@12.8.2': {}
|
||||
|
||||
'@vueuse/metadata@13.0.0': {}
|
||||
|
||||
'@vueuse/metadata@13.5.0': {}
|
||||
|
||||
'@vueuse/shared@12.8.2(typescript@5.8.2)':
|
||||
dependencies:
|
||||
vue: 3.5.17(typescript@5.8.2)
|
||||
|
@ -6252,6 +6362,10 @@ snapshots:
|
|||
dependencies:
|
||||
vue: 3.5.17(typescript@5.8.2)
|
||||
|
||||
'@vueuse/shared@13.5.0(vue@3.5.17(typescript@5.8.2))':
|
||||
dependencies:
|
||||
vue: 3.5.17(typescript@5.8.2)
|
||||
|
||||
abbrev@3.0.0: {}
|
||||
|
||||
abort-controller@3.0.0:
|
||||
|
@ -7244,6 +7358,10 @@ snapshots:
|
|||
|
||||
lines-and-columns@1.2.4: {}
|
||||
|
||||
linkify-it@5.0.0:
|
||||
dependencies:
|
||||
uc.micro: 2.1.0
|
||||
|
||||
listhen@1.9.0:
|
||||
dependencies:
|
||||
'@parcel/watcher': 2.5.1
|
||||
|
@ -7312,6 +7430,15 @@ snapshots:
|
|||
|
||||
mark.js@8.11.1: {}
|
||||
|
||||
markdown-it@14.1.0:
|
||||
dependencies:
|
||||
argparse: 2.0.1
|
||||
entities: 4.5.0
|
||||
linkify-it: 5.0.0
|
||||
mdurl: 2.0.0
|
||||
punycode.js: 2.3.1
|
||||
uc.micro: 2.1.0
|
||||
|
||||
mdast-util-to-hast@13.2.0:
|
||||
dependencies:
|
||||
'@types/hast': 3.0.4
|
||||
|
@ -7326,6 +7453,8 @@ snapshots:
|
|||
|
||||
mdn-data@2.12.2: {}
|
||||
|
||||
mdurl@2.0.0: {}
|
||||
|
||||
merge-stream@2.0.0: {}
|
||||
|
||||
merge2@1.4.1: {}
|
||||
|
@ -7785,6 +7914,8 @@ snapshots:
|
|||
|
||||
property-information@7.0.0: {}
|
||||
|
||||
punycode.js@2.3.1: {}
|
||||
|
||||
quansync@0.2.10: {}
|
||||
|
||||
quansync@0.2.8: {}
|
||||
|
@ -8118,6 +8249,8 @@ snapshots:
|
|||
|
||||
std-env@3.8.1: {}
|
||||
|
||||
stemmer@2.0.1: {}
|
||||
|
||||
stoppable@1.1.0: {}
|
||||
|
||||
streamx@2.22.0:
|
||||
|
@ -8252,6 +8385,8 @@ snapshots:
|
|||
|
||||
typescript@5.8.2: {}
|
||||
|
||||
uc.micro@2.1.0: {}
|
||||
|
||||
ufo@1.3.2: {}
|
||||
|
||||
ufo@1.5.4: {}
|
||||
|
|
|
@ -145,7 +145,7 @@ const processedItems = computed(() => {
|
|||
<slot>{{ text }}</slot>
|
||||
</component>
|
||||
<button
|
||||
class="bg-$vp-c-default-soft text-text border-$vp-c-default-soft hover:bg-$vp-c-default-hover active:bg-$vp-c-default-active inline-flex items-center justify-center whitespace-nowrap rounded-md border-2 border-solid px-2.5 py-5 text-md font-medium sm:h-7 VPButtonTrigger"
|
||||
class="bg-$vp-c-default-soft text-text border-$vp-c-default-soft hover:bg-$vp-c-default-hover active:bg-$vp-c-default-active inline-flex items-center justify-center whitespace-nowrap rounded-md border-2 border-solid text-md font-medium VPButtonTrigger p-2"
|
||||
@click="toggleDropdown"
|
||||
:aria-expanded="isDropdownOpen"
|
||||
aria-label="Toggle dropdown menu"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue