0af3505c2a
Make a generic AjaxSelect abstract class
2024-10-20 02:26:32 +02:00
0a0092e189
Add link-once and script-once web components
2024-10-19 18:55:32 +02:00
4165f8d4af
Add register decorator for web components and a better inheriting system for html elements
2024-10-17 23:14:54 +02:00
66dceefcf0
Fix bad constructor when adding attrs that are not part of the parent and fix tom-select on safari
2024-10-17 18:15:55 +02:00
677ff51ea5
Create web component util
2024-10-17 18:15:55 +02:00
74a506c48b
Add missing features
...
* Fix display
* Add internationalization
* Avoid querying under a certain amount of characters
* Update docs for translations with typescript
* Add interpolate to typescript globals
2024-10-17 18:15:55 +02:00
deda2b4055
Replace selec2 with tom-select
2024-10-17 18:15:55 +02:00
imperosol
5d16ba135a
fix: xss on select2 results
2024-10-17 08:15:34 +02:00
imperosol
19cd51043a
feat: display moderation requests to moderators
2024-10-14 00:47:07 +02:00
40c623b202
Optimize select2 import
2024-10-13 10:55:15 +02:00
b6e1c3bc88
Add helper function to export ts functions to html
2024-10-13 10:55:15 +02:00
3b1d06a71d
Update select2 documentation
2024-10-13 10:55:15 +02:00
a5d8c96bab
Remove select2 from vendored
...
* Make core/utils/select2.ts
* Convert viewer-index.js to typescript
2024-10-13 10:55:15 +02:00
f07a855e7e
Remove history management from script.js and migrate sas albums to webpack
2024-10-12 19:19:23 +02:00
NaNoMelo
a1bae7ced3
fix empty options in paginated with typescript
2024-10-12 18:59:06 +02:00
849177562d
Add a way to get the base url of an endpoint
2024-10-10 02:57:54 +02:00
46e58bb49e
Remove fetchPaginated and migrate viewer.js to viewer-index.js in webpack
2024-10-09 21:46:56 +02:00
9199f91151
Use typescript api for user pictures and allow imports across js files
...
* Add imports paths for js files in node
* Add a ts version of fetchPaginated
* Update documentation
2024-10-09 20:59:12 +02:00