mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-21 12:52:26 +00:00
chore(cache): 清理并忽略 fastdocs 的 .vitepress 缓存文件夹
- 在主.gitignore中添加 fastdocs/.vitepress/cache/* 忽略规则 - 在 fastdocs/.gitignore 中添加 .vitepress/cache/* 忽略规则 - 删除 fastdocs/.vitepress/cache 中的 @vueuse_core.js 文件及其全部内容
This commit is contained in:
-9731
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
+18
-24
@@ -1,58 +1,52 @@
|
||||
{
|
||||
"hash": "dc1fecbb",
|
||||
"configHash": "ae4c6fcf",
|
||||
"lockfileHash": "43a7a053",
|
||||
"browserHash": "0b5187ee",
|
||||
"hash": "64f3367d",
|
||||
"configHash": "4ba419f4",
|
||||
"lockfileHash": "179a46ea",
|
||||
"browserHash": "ebc7b62a",
|
||||
"optimized": {
|
||||
"vue": {
|
||||
"src": "../../../node_modules/.pnpm/vue@3.5.21/node_modules/vue/dist/vue.runtime.esm-bundler.js",
|
||||
"file": "vue.js",
|
||||
"fileHash": "ee42c443",
|
||||
"fileHash": "5867f423",
|
||||
"needsInterop": false
|
||||
},
|
||||
"vitepress > @vue/devtools-api": {
|
||||
"src": "../../../node_modules/.pnpm/@vue+devtools-api@8.0.0/node_modules/@vue/devtools-api/dist/index.js",
|
||||
"src": "../../../node_modules/.pnpm/@vue+devtools-api@7.7.7/node_modules/@vue/devtools-api/dist/index.js",
|
||||
"file": "vitepress___@vue_devtools-api.js",
|
||||
"fileHash": "557299ac",
|
||||
"fileHash": "57eb973b",
|
||||
"needsInterop": false
|
||||
},
|
||||
"vitepress > @vueuse/core": {
|
||||
"src": "../../../node_modules/.pnpm/@vueuse+core@13.6.0_vue@3.5.21/node_modules/@vueuse/core/index.mjs",
|
||||
"src": "../../../node_modules/.pnpm/@vueuse+core@12.8.2/node_modules/@vueuse/core/index.mjs",
|
||||
"file": "vitepress___@vueuse_core.js",
|
||||
"fileHash": "ca22e4ec",
|
||||
"fileHash": "7685a225",
|
||||
"needsInterop": false
|
||||
},
|
||||
"vitepress > @vueuse/integrations/useFocusTrap": {
|
||||
"src": "../../../node_modules/.pnpm/@vueuse+integrations@13.6.0_focus-trap@7.6.5_vue@3.5.21/node_modules/@vueuse/integrations/useFocusTrap.mjs",
|
||||
"src": "../../../node_modules/.pnpm/@vueuse+integrations@12.8.2_focus-trap@7.6.5/node_modules/@vueuse/integrations/useFocusTrap.mjs",
|
||||
"file": "vitepress___@vueuse_integrations_useFocusTrap.js",
|
||||
"fileHash": "07e21d43",
|
||||
"fileHash": "22e8a6e8",
|
||||
"needsInterop": false
|
||||
},
|
||||
"vitepress > mark.js/src/vanilla.js": {
|
||||
"src": "../../../node_modules/.pnpm/mark.js@8.11.1/node_modules/mark.js/src/vanilla.js",
|
||||
"file": "vitepress___mark__js_src_vanilla__js.js",
|
||||
"fileHash": "c6c04598",
|
||||
"fileHash": "5e834c0e",
|
||||
"needsInterop": false
|
||||
},
|
||||
"vitepress > minisearch": {
|
||||
"src": "../../../node_modules/.pnpm/minisearch@7.1.2/node_modules/minisearch/dist/es/index.js",
|
||||
"src": "../../../node_modules/.pnpm/minisearch@7.2.0/node_modules/minisearch/dist/es/index.js",
|
||||
"file": "vitepress___minisearch.js",
|
||||
"fileHash": "d0a90493",
|
||||
"needsInterop": false
|
||||
},
|
||||
"@vueuse/core": {
|
||||
"src": "../../../node_modules/.pnpm/@vueuse+core@12.8.2/node_modules/@vueuse/core/index.mjs",
|
||||
"file": "@vueuse_core.js",
|
||||
"fileHash": "7459b4c7",
|
||||
"fileHash": "5625f6cc",
|
||||
"needsInterop": false
|
||||
}
|
||||
},
|
||||
"chunks": {
|
||||
"chunk-IEXRY54B": {
|
||||
"file": "chunk-IEXRY54B.js"
|
||||
"chunk-VKYC36UR": {
|
||||
"file": "chunk-VKYC36UR.js"
|
||||
},
|
||||
"chunk-IBXOI5KQ": {
|
||||
"file": "chunk-IBXOI5KQ.js"
|
||||
"chunk-JNFF4ERX": {
|
||||
"file": "chunk-JNFF4ERX.js"
|
||||
}
|
||||
}
|
||||
}
|
||||
-12683
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
-9856
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
+2830
-2172
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -281,8 +281,8 @@ import {
|
||||
watchTriggerable,
|
||||
watchWithFilter,
|
||||
whenever
|
||||
} from "./chunk-IEXRY54B.js";
|
||||
import "./chunk-IBXOI5KQ.js";
|
||||
} from "./chunk-VKYC36UR.js";
|
||||
import "./chunk-JNFF4ERX.js";
|
||||
export {
|
||||
DefaultMagicKeysAliasMap,
|
||||
StorageSerializers,
|
||||
@@ -580,3 +580,4 @@ export {
|
||||
watchWithFilter,
|
||||
whenever
|
||||
};
|
||||
//# sourceMappingURL=vitepress___@vueuse_core.js.map
|
||||
|
||||
+17
-25
@@ -3,13 +3,13 @@ import {
|
||||
toArray,
|
||||
tryOnScopeDispose,
|
||||
unrefElement
|
||||
} from "./chunk-IEXRY54B.js";
|
||||
} from "./chunk-VKYC36UR.js";
|
||||
import {
|
||||
computed,
|
||||
shallowRef,
|
||||
toValue,
|
||||
watch
|
||||
} from "./chunk-IBXOI5KQ.js";
|
||||
} from "./chunk-JNFF4ERX.js";
|
||||
|
||||
// node_modules/.pnpm/tabbable@6.2.0/node_modules/tabbable/dist/index.esm.js
|
||||
var candidateSelectors = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"];
|
||||
@@ -1065,7 +1065,7 @@ var createFocusTrap = function createFocusTrap2(elements, userOptions) {
|
||||
return trap;
|
||||
};
|
||||
|
||||
// node_modules/.pnpm/@vueuse+integrations@13.6.0_focus-trap@7.6.5_vue@3.5.21/node_modules/@vueuse/integrations/useFocusTrap.mjs
|
||||
// node_modules/.pnpm/@vueuse+integrations@12.8.2_focus-trap@7.6.5/node_modules/@vueuse/integrations/useFocusTrap.mjs
|
||||
function useFocusTrap(target, options = {}) {
|
||||
let trap;
|
||||
const { immediate, ...focusTrapOptions } = options;
|
||||
@@ -1097,29 +1097,21 @@ function useFocusTrap(target, options = {}) {
|
||||
(els) => {
|
||||
if (!els.length)
|
||||
return;
|
||||
if (!trap) {
|
||||
trap = createFocusTrap(els, {
|
||||
...focusTrapOptions,
|
||||
onActivate() {
|
||||
hasFocus.value = true;
|
||||
if (options.onActivate)
|
||||
options.onActivate();
|
||||
},
|
||||
onDeactivate() {
|
||||
hasFocus.value = false;
|
||||
if (options.onDeactivate)
|
||||
options.onDeactivate();
|
||||
}
|
||||
});
|
||||
if (immediate)
|
||||
activate();
|
||||
} else {
|
||||
const isActive = trap == null ? void 0 : trap.active;
|
||||
trap == null ? void 0 : trap.updateContainerElements(els);
|
||||
if (!isActive && immediate) {
|
||||
activate();
|
||||
trap = createFocusTrap(els, {
|
||||
...focusTrapOptions,
|
||||
onActivate() {
|
||||
hasFocus.value = true;
|
||||
if (options.onActivate)
|
||||
options.onActivate();
|
||||
},
|
||||
onDeactivate() {
|
||||
hasFocus.value = false;
|
||||
if (options.onDeactivate)
|
||||
options.onDeactivate();
|
||||
}
|
||||
}
|
||||
});
|
||||
if (immediate)
|
||||
activate();
|
||||
},
|
||||
{ flush: "post" }
|
||||
);
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
@@ -1,4 +1,4 @@
|
||||
// node_modules/.pnpm/minisearch@7.1.2/node_modules/minisearch/dist/es/index.js
|
||||
// node_modules/.pnpm/minisearch@7.2.0/node_modules/minisearch/dist/es/index.js
|
||||
var ENTRIES = "ENTRIES";
|
||||
var KEYS = "KEYS";
|
||||
var VALUES = "VALUES";
|
||||
@@ -570,7 +570,7 @@ var MiniSearch = class _MiniSearch {
|
||||
* @param document The document to be indexed
|
||||
*/
|
||||
add(document) {
|
||||
const { extractField, tokenize, processTerm, fields, idField } = this._options;
|
||||
const { extractField, stringifyField, tokenize, processTerm, fields, idField } = this._options;
|
||||
const id = extractField(document, idField);
|
||||
if (id == null) {
|
||||
throw new Error(`MiniSearch: document does not have ID field "${idField}"`);
|
||||
@@ -584,7 +584,7 @@ var MiniSearch = class _MiniSearch {
|
||||
const fieldValue = extractField(document, field);
|
||||
if (fieldValue == null)
|
||||
continue;
|
||||
const tokens = tokenize(fieldValue.toString(), field);
|
||||
const tokens = tokenize(stringifyField(fieldValue, field), field);
|
||||
const fieldId = this._fieldIds[field];
|
||||
const uniqueTerms = new Set(tokens).size;
|
||||
this.addFieldLength(shortDocumentId, fieldId, this._documentCount - 1, uniqueTerms);
|
||||
@@ -651,7 +651,7 @@ var MiniSearch = class _MiniSearch {
|
||||
* @param document The document to be removed
|
||||
*/
|
||||
remove(document) {
|
||||
const { tokenize, processTerm, extractField, fields, idField } = this._options;
|
||||
const { tokenize, processTerm, extractField, stringifyField, fields, idField } = this._options;
|
||||
const id = extractField(document, idField);
|
||||
if (id == null) {
|
||||
throw new Error(`MiniSearch: document does not have ID field "${idField}"`);
|
||||
@@ -664,7 +664,7 @@ var MiniSearch = class _MiniSearch {
|
||||
const fieldValue = extractField(document, field);
|
||||
if (fieldValue == null)
|
||||
continue;
|
||||
const tokens = tokenize(fieldValue.toString(), field);
|
||||
const tokens = tokenize(stringifyField(fieldValue, field), field);
|
||||
const fieldId = this._fieldIds[field];
|
||||
const uniqueTerms = new Set(tokens).size;
|
||||
this.removeFieldLength(shortId, fieldId, this._documentCount, uniqueTerms);
|
||||
@@ -1747,6 +1747,7 @@ var termToQuerySpec = (options) => (term, i, terms) => {
|
||||
var defaultOptions = {
|
||||
idField: "id",
|
||||
extractField: (document, fieldName) => document[fieldName],
|
||||
stringifyField: (fieldValue, fieldName) => fieldValue.toString(),
|
||||
tokenize: (text) => text.split(SPACE_OR_PUNCTUATION),
|
||||
processTerm: (term) => term.toLowerCase(),
|
||||
fields: void 0,
|
||||
|
||||
File diff suppressed because one or more lines are too long
+2
-1
@@ -168,7 +168,7 @@ import {
|
||||
withMemo,
|
||||
withModifiers,
|
||||
withScopeId
|
||||
} from "./chunk-IBXOI5KQ.js";
|
||||
} from "./chunk-JNFF4ERX.js";
|
||||
export {
|
||||
BaseTransition,
|
||||
BaseTransitionPropsValidators,
|
||||
@@ -340,3 +340,4 @@ export {
|
||||
withModifiers,
|
||||
withScopeId
|
||||
};
|
||||
//# sourceMappingURL=vue.js.map
|
||||
|
||||
Reference in New Issue
Block a user