zischenstand

This commit is contained in:
centron\schwoerer
2025-11-14 14:52:43 +01:00
parent 30aa03c6db
commit f054a31b20
8733 changed files with 900639 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
.foundry-filepicker-favorites>.favbutton{width:auto;margin-bottom:.3rem;line-height:22px}#foundry-filepicker-search-form form{gap:1rem}
/*# sourceMappingURL=bundle.css.map*/

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,6 @@
/*!
localForage -- Offline Storage, Improved
Version 1.10.0
https://localforage.github.io/localForage
(c) 2013-2017 Mozilla, Apache License 2.0
*/

View File

@@ -0,0 +1,42 @@
{
"id": "foundry-filepicker-favorites",
"title": "Filepicker Improvements",
"description": "A simple module to add favorite directories and favorite directories and a search to the file picker",
"version": "1.6.0",
"compatibility": {
"minimum": "11",
"verified": "11.315",
"maximum": "12"
},
"authors": [
{
"name": "manuel-hegner",
"flags": {}
}
],
"scripts": [],
"esmodules": [
"bundle.js"
],
"styles": [
"bundle.css"
],
"relationships": {
"requires": [
{
"id": "lib-wrapper",
"type": "module",
"compatibility": {}
}
]
},
"packs": [],
"languages": [],
"url": "https://github.com/manuel-hegner/foundry-filepicker-favorites",
"manifest": "https://github.com/manuel-hegner/foundry-filepicker-favorites/releases/latest/download/module.json",
"download": "https://github.com/manuel-hegner/foundry-filepicker-favorites/releases/download/v1.6.0/foundry-filepicker-favorites-v1.6.0.zip",
"license": "https://github.com/manuel-hegner/foundry-filepicker-favorites/blob/main/LICENSE",
"readme": "https://github.com/manuel-hegner/foundry-filepicker-favorites/blob/main/README.md",
"bugs": "https://github.com/manuel-hegner/foundry-filepicker-favorites/issues",
"changelog": "https://github.com/manuel-hegner/foundry-filepicker-favorites/releases"
}

View File

@@ -0,0 +1,25 @@
<form class="flexcol">
<table>
<tr>
<th>Label</th>
<th>Source</th>
<th colspan="2">Path</th>
<td><button type="button" id="addFavorite"><i class="fas fa-plus"></i></button></td>
</tr>
{{#each this.data}}
<tr>
<td><input required type="text" name="{{@key}}.label" value="{{this.label}}"></td>
<td><select required name="{{@key}}.source">{{selectOptions ../sources selected=this.source labelAttr='label'}}</select></td>
<td><input required type="text" name="{{@key}}.path" value="{{this.path}}"></td>
<td style="padding-right: .5em;">{{filePicker target=(concat @key ".path") type="folder"}}</td>
<!---->
<td><button type="button" data-index="{{@key}}" class="deleteFavoriteOption"><i class="fas fa-trash-alt" style="color:darkred"></i></button></td>
</tr>
{{/each}}
</table>
<footer class="sheet-footer flexrow">
<button type="submit" name="submit">
<i class="fa fa-check"></i> OK
</button>
</footer>
</form>

View File

@@ -0,0 +1,5 @@
<div class="foundry-filepicker-favorites">
{{#each this}}
<button class="favbutton" data-source="{{this.source}}" data-path="{{this.path}}">{{this.label}}</button>
{{/each}}
</div>

View File

@@ -0,0 +1,45 @@
<form class="flexcol">
<div>
This will recreate the search cache. Use this if your image directory content changed.
<button type="button" id="storeIndex"><i class="fas fa-floppy-disk"></i>Recreate Search Cache</button>
</div>
<div>
Include only files with these prefixes:
<table>
<tr>
<th colspan="2">Path</th>
<td><button type="button" id="addIncludePath"><i class="fas fa-plus"></i></button></td>
</tr>
{{#each includes}}
<tr>
<td><input required type="text" name="includes.{{@key}}" value="{{this}}"></td>
<td style="padding-right: .5em;">{{filePicker target=(concat "includes." @key) type="folder"}}</td>
<!---->
<td><button type="button" data-index="{{@key}}" class="deleteIncludePathOption"><i class="fas fa-trash-alt" style="color:darkred"></i></button></td>
</tr>
{{/each}}
</table>
</div>
<div>
Exclude files with all these prefixes:
<table>
<tr>
<th colspan="2">Path</th>
<td><button type="button" id="addExcludePath"><i class="fas fa-plus"></i></button></td>
</tr>
{{#each excludes}}
<tr>
<td><input required type="text" name="excludes.{{@key}}" value="{{this}}"></td>
<td style="padding-right: .5em;">{{filePicker target=(concat "excludes." @key) type="folder"}}</td>
<!---->
<td><button type="button" data-index="{{@key}}" class="deleteExcludePathOption"><i class="fas fa-trash-alt" style="color:darkred"></i></button></td>
</tr>
{{/each}}
</table>
</div>
<footer class="sheet-footer flexrow">
<button type="submit" name="submit">
<i class="fa fa-check"></i> OK
</button>
</footer>
</form>