[TASK] Migrate ModuleMenu to TypeScript 00/56000/6
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Sun, 4 Mar 2018 16:56:47 +0000 (17:56 +0100)
committerBenni Mack <benni@typo3.org>
Thu, 8 Mar 2018 12:38:53 +0000 (13:38 +0100)
commitcd694a885b8d4397f14072b8cf6c321ad3441e39
tree3c824e85c30cbf6b273964ad06bc9912eeb3a8e6
parentea406050deadab26ad488bc2f05722379bc19782
[TASK] Migrate ModuleMenu to TypeScript

This commit migrates the ModuleMenu to TypeScript. The following changes
are additionally done with with patch:

- NavigationComponentInterface requires a `initialize()` method
- Storage/Persistent.set() accepts objects as value
- ModuleMenu.App.ensurePageInTreeSelected is broken since #82426
  and has been removed

Resolves: #82597
Releases: master
Change-Id: I1dc8a79f7953a1e2504b0e7fd978c2e841ec93f4
Reviewed-on: https://review.typo3.org/56000
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Build/types/TYPO3/index.d.ts
typo3/sysext/backend/Resources/Private/TypeScript/ContextMenuActions.ts
typo3/sysext/backend/Resources/Private/TypeScript/ModuleMenu.ts [new file with mode: 0644]
typo3/sysext/backend/Resources/Private/TypeScript/Storage/Persistent.ts
typo3/sysext/backend/Resources/Private/TypeScript/Toolbar.ts
typo3/sysext/backend/Resources/Private/TypeScript/Viewport/NavigationComponentInterface.ts
typo3/sysext/backend/Resources/Public/JavaScript/ContextMenuActions.js
typo3/sysext/backend/Resources/Public/JavaScript/ModuleMenu.js
typo3/sysext/backend/Resources/Public/JavaScript/Toolbar.js