[TASK] Use Lit-based template for SVG tree wrapper
The SVG tree is now building the SVG elements and needed containers ("<g>") via lit-helper. In addition, the update() method is renamed to this.updateVisibleNodes() to easier integrate this as Lit element, as update() is a reserved protected method in lit. The initialize() method is much cleaner, as the event listener registration is now separated in a custom method. Resolves: #93724 Releases: master Change-Id: I945cd620f9900c6ea535dfe5f0d44ee5ced46f89 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/68367 Tested-by:Richard Haeser <richard@richardhaeser.com> Tested-by:
TYPO3com <noreply@typo3.com> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Daniel Gorges <daniel.gorges@b13.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Richard Haeser <richard@richardhaeser.com> Reviewed-by:
Daniel Gorges <daniel.gorges@b13.com> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/Element/SelectTree.ts 41 additions, 25 deletions...ources/Public/TypeScript/FormEngine/Element/SelectTree.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/FormEngine/Element/SelectTreeElement.ts 1 addition, 1 deletion...Public/TypeScript/FormEngine/Element/SelectTreeElement.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/PageTree/PageTree.ts 3 additions, 3 deletions.../backend/Resources/Public/TypeScript/PageTree/PageTree.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/PageTree/PageTreeDragDrop.ts 2 additions, 2 deletions.../Resources/Public/TypeScript/PageTree/PageTreeDragDrop.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/PageTree/PageTreeElement.ts 2 additions, 6 deletions...d/Resources/Public/TypeScript/PageTree/PageTreeElement.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/SvgTree.ts 96 additions, 117 deletions...TypeScript/backend/Resources/Public/TypeScript/SvgTree.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Tree/DragDrop.ts 1 addition, 1 deletion...ript/backend/Resources/Public/TypeScript/Tree/DragDrop.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Tree/FileStorageTree.ts 4 additions, 12 deletions...ckend/Resources/Public/TypeScript/Tree/FileStorageTree.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Tree/FileStorageTreeActions.ts 1 addition, 1 deletion...esources/Public/TypeScript/Tree/FileStorageTreeActions.ts
- Build/Sources/TypeScript/backend/Resources/Public/TypeScript/Tree/FileStorageTreeContainer.ts 1 addition, 5 deletions...ources/Public/TypeScript/Tree/FileStorageTreeContainer.ts
- typo3/sysext/backend/Resources/Public/JavaScript/FormEngine/Element/SelectTree.js 1 addition, 1 deletion...ources/Public/JavaScript/FormEngine/Element/SelectTree.js
- typo3/sysext/backend/Resources/Public/JavaScript/FormEngine/Element/SelectTreeElement.js 1 addition, 1 deletion...Public/JavaScript/FormEngine/Element/SelectTreeElement.js
- typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTree.js 1 addition, 1 deletion.../backend/Resources/Public/JavaScript/PageTree/PageTree.js
- typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTreeDragDrop.js 1 addition, 1 deletion.../Resources/Public/JavaScript/PageTree/PageTreeDragDrop.js
- typo3/sysext/backend/Resources/Public/JavaScript/PageTree/PageTreeElement.js 2 additions, 6 deletions...d/Resources/Public/JavaScript/PageTree/PageTreeElement.js
- typo3/sysext/backend/Resources/Public/JavaScript/SvgTree.js 13 additions, 1 deletiontypo3/sysext/backend/Resources/Public/JavaScript/SvgTree.js
- typo3/sysext/backend/Resources/Public/JavaScript/Tree/DragDrop.js 1 addition, 1 deletion...sext/backend/Resources/Public/JavaScript/Tree/DragDrop.js
- typo3/sysext/backend/Resources/Public/JavaScript/Tree/FileStorageTree.js 1 addition, 1 deletion...ckend/Resources/Public/JavaScript/Tree/FileStorageTree.js
- typo3/sysext/backend/Resources/Public/JavaScript/Tree/FileStorageTreeActions.js 1 addition, 1 deletion...esources/Public/JavaScript/Tree/FileStorageTreeActions.js
- typo3/sysext/backend/Resources/Public/JavaScript/Tree/FileStorageTreeContainer.js 1 addition, 5 deletions...ources/Public/JavaScript/Tree/FileStorageTreeContainer.js
Please register or sign in to comment