mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-29 16:47:58 +08:00
Update JS and PY deps, misc tweaks (#33903)
- Update all updateable dependencies - Add a few more unupgradable ones to updates blocklist - Adapt to breaking changes - Update to typescript 5.8, enable `erasableSyntaxOnly` which necessitated a change because of forbidden syntax - Misc cleanups - Tested htmx, easymde, swagger, chart.js
This commit is contained in:
@ -30,9 +30,11 @@ class IssueSidebarComboList {
|
||||
elList: HTMLElement;
|
||||
elComboValue: HTMLInputElement;
|
||||
initialValues: string[];
|
||||
container: HTMLElement;
|
||||
|
||||
constructor(private container: HTMLElement) {
|
||||
this.updateUrl = this.container.getAttribute('data-update-url');
|
||||
constructor(container: HTMLElement) {
|
||||
this.container = container;
|
||||
this.updateUrl = container.getAttribute('data-update-url');
|
||||
this.updateAlgo = container.getAttribute('data-update-algo');
|
||||
this.selectionMode = container.getAttribute('data-selection-mode');
|
||||
if (!['single', 'multiple'].includes(this.selectionMode)) throw new Error(`Invalid data-update-on: ${this.selectionMode}`);
|
||||
|
@ -1,5 +1,5 @@
|
||||
import {showErrorToast} from './modules/toast.ts';
|
||||
import 'idiomorph/dist/idiomorph-ext.js'; // https://github.com/bigskysoftware/idiomorph#htmx
|
||||
import 'idiomorph/htmx';
|
||||
import type {HtmxResponseInfo} from 'htmx.org';
|
||||
|
||||
type HtmxEvent = Event & {detail: HtmxResponseInfo};
|
||||
|
Reference in New Issue
Block a user