typo3-typescript-sources 13.4.22 → 13.4.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.last-synced-tag CHANGED
@@ -1 +1 @@
1
- v13.4.22
1
+ v13.4.24
package/README-TYPO3.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # TYPO3 CMS
2
2
 
3
3
  TYPO3 is an open source PHP based web content management system released
4
- under the GNU GPL. TYPO3 is copyright © 1999-2025 by Kasper Skårhøj.
4
+ under the GNU GPL. TYPO3 is copyright © 1999-2026 by Kasper Skårhøj.
5
5
 
6
6
  This document provides a basic introduction to TYPO3.
7
7
 
package/README.md CHANGED
@@ -16,7 +16,7 @@ npm install typo3-typescript-sources
16
16
 
17
17
  - **Original Repository:** [TYPO3/typo3](https://github.com/TYPO3/typo3)
18
18
  - **Source Path:** `Build/Sources/TypeScript/`
19
- - **Current TYPO3 Version:** `v13.4.22`
19
+ - **Current TYPO3 Version:** `v13.4.24`
20
20
 
21
21
  ## 📝 License
22
22
 
@@ -31,6 +31,7 @@ export type Pagination = {
31
31
  @customElement('typo3-backend-live-search-result-pagination')
32
32
  export class ResultPagination extends LitElement {
33
33
  @property({ type: Object }) pagination: Pagination|null = null;
34
+ @property({ type: Boolean, attribute: false }) loading: boolean = false;
34
35
 
35
36
  protected override createRenderRoot(): HTMLElement | ShadowRoot {
36
37
  // Avoid shadow DOM for Bootstrap CSS to be applied
@@ -38,7 +39,7 @@ export class ResultPagination extends LitElement {
38
39
  }
39
40
 
40
41
  protected override render(): TemplateResult | symbol {
41
- if (this.pagination === null || this.pagination.allPageNumbers.length <= 1) {
42
+ if (this.loading || this.pagination === null || this.pagination.allPageNumbers.length <= 1) {
42
43
  return nothing;
43
44
  }
44
45
 
package/backend/login.ts CHANGED
@@ -168,7 +168,11 @@ class BackendLogin {
168
168
  */
169
169
  private async initializeEvents(): Promise<void> {
170
170
  await DocumentService.ready();
171
- new RegularEvent('submit', this.handleSubmit.bind(this)).bindTo(document.querySelector(this.options.loginForm));
171
+
172
+ const loginForm: HTMLFormElement = document.querySelector(this.options.loginForm);
173
+ if (loginForm !== null) {
174
+ new RegularEvent('submit', this.handleSubmit.bind(this)).bindTo(loginForm);
175
+ }
172
176
 
173
177
  (document.querySelectorAll('.t3js-clearable') as NodeListOf<HTMLInputElement>).forEach(
174
178
  (clearableField: HTMLInputElement) => clearableField.clearable(),
@@ -226,7 +226,9 @@ class LiveSearch {
226
226
  this.updateSearchResults(null);
227
227
  } else {
228
228
  const searchResultContainer = document.querySelector(resultContainerComponentName) as ResultContainer;
229
+ const paginationElement: ResultPagination = document.querySelector('typo3-backend-live-search-result-pagination');
229
230
  searchResultContainer.loading = true;
231
+ paginationElement.loading = true;
230
232
 
231
233
  this.currentSearchRequest?.abort();
232
234
  try {
@@ -270,6 +272,7 @@ class LiveSearch {
270
272
  private updatePagination(pagination: Pagination): void {
271
273
  const paginationElement: ResultPagination = document.querySelector('typo3-backend-live-search-result-pagination');
272
274
  paginationElement.pagination = pagination;
275
+ paginationElement.loading = false;
273
276
  }
274
277
  }
275
278
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typo3-typescript-sources",
3
- "version": "13.4.22",
3
+ "version": "13.4.24",
4
4
  "description": "TYPO3 Core TypeScript Sources - Extracted from TYPO3/typo3 repository",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "typo3": {
30
30
  "sourceRepository": "https://github.com/TYPO3/typo3",
31
- "sourceTag": "v13.4.22",
31
+ "sourceTag": "v13.4.24",
32
32
  "sourcePath": "Build/Sources/TypeScript"
33
33
  }
34
34
  }