typo3-typescript-sources 13.4.25 → 13.4.26
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.
|
|
1
|
+
v13.4.26
|
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.
|
|
19
|
+
- **Current TYPO3 Version:** `v13.4.26`
|
|
20
20
|
|
|
21
21
|
## 📝 License
|
|
22
22
|
|
|
@@ -109,7 +109,7 @@ export class EditablePageTitle extends LitElement {
|
|
|
109
109
|
color: var(--button-color);
|
|
110
110
|
background: var(--button-bg);
|
|
111
111
|
border: 1px solid var(--button-border-color);
|
|
112
|
-
opacity: .
|
|
112
|
+
opacity: .8;
|
|
113
113
|
outline-offset: 0;
|
|
114
114
|
transition: all .2s ease-in-out;
|
|
115
115
|
}
|
package/backend/modal.ts
CHANGED
|
@@ -173,7 +173,7 @@ export class ModalElement extends LitElement {
|
|
|
173
173
|
${this.hideCloseButton ? nothing : html`
|
|
174
174
|
<button class="t3js-modal-close close" @click=${() => this.bootstrapModal.hide()}>
|
|
175
175
|
<typo3-backend-icon identifier="actions-close" size="small"></typo3-backend-icon>
|
|
176
|
-
<span class="visually-hidden">${TYPO3?.lang?.['button.close'] || 'Close'
|
|
176
|
+
<span class="visually-hidden">${(TYPO3?.lang?.['button.close'] || 'Close') + ' ' + this.modalTitle}</span>
|
|
177
177
|
</button>
|
|
178
178
|
`}
|
|
179
179
|
</div>
|
|
@@ -163,7 +163,7 @@ export class LanguageMatrixElement extends LitElement {
|
|
|
163
163
|
<div class="btn-group">
|
|
164
164
|
${this.renderLanguageActions(language)}
|
|
165
165
|
</div>
|
|
166
|
-
|
|
166
|
+
<span class="ms-2">${language.name}</span>
|
|
167
167
|
</td>
|
|
168
168
|
<td>${language.iso}</td>
|
|
169
169
|
<td>${language.dependencies.join(', ')}</td>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "typo3-typescript-sources",
|
|
3
|
-
"version": "13.4.
|
|
3
|
+
"version": "13.4.26",
|
|
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.
|
|
31
|
+
"sourceTag": "v13.4.26",
|
|
32
32
|
"sourcePath": "Build/Sources/TypeScript"
|
|
33
33
|
}
|
|
34
34
|
}
|
|
@@ -360,7 +360,7 @@ type PseudoRegExp = {
|
|
|
360
360
|
};
|
|
361
361
|
|
|
362
362
|
function walkObj(data: RecurseMapInput, proc: (value: unknown) => unknown|null): RecurseMapInput {
|
|
363
|
-
if (typeof data === 'object') {
|
|
363
|
+
if (data !== null && typeof data === 'object') {
|
|
364
364
|
if (Array.isArray(data)) {
|
|
365
365
|
return data.map((element: RecurseMapInput) => proc(element) ?? walkObj(element, proc));
|
|
366
366
|
}
|
|
@@ -375,7 +375,7 @@ function walkObj(data: RecurseMapInput, proc: (value: unknown) => unknown|null):
|
|
|
375
375
|
|
|
376
376
|
function convertPseudoRegExp(data: RecurseMapInput): RecurseMapInput {
|
|
377
377
|
return walkObj(data, (entry: PseudoRegExp | unknown): RegExp | null => {
|
|
378
|
-
if (typeof entry === 'object' && 'pattern' in entry && typeof entry.pattern === 'string') {
|
|
378
|
+
if (entry !== null && typeof entry === 'object' && 'pattern' in entry && typeof entry.pattern === 'string') {
|
|
379
379
|
const pseudoRegExp = entry as PseudoRegExp;
|
|
380
380
|
return new RegExp(pseudoRegExp.pattern, pseudoRegExp.flags || undefined);
|
|
381
381
|
}
|