typo3-typescript-sources 14.1.0 → 14.2.0
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 +1 -1
- package/README.md +1 -1
- package/backend/Contrib/bootstrap.ts +39 -0
- package/backend/action-button/deferred-action.ts +0 -2
- package/backend/action-button/immediate-action.ts +0 -2
- package/backend/action-dispatcher.ts +0 -2
- package/backend/bookmark/bookmark-manager.ts +1234 -0
- package/backend/bookmark/bookmark-store.ts +701 -0
- package/backend/bookmark/element/bookmark-button-element.ts +144 -0
- package/backend/bookmark/toolbar/bookmark-menu-element.ts +139 -0
- package/backend/clear-cache.ts +12 -4
- package/backend/clipboard-panel.ts +4 -4
- package/backend/code-editor/element/code-mirror-element.ts +6 -1
- package/backend/color-picker.ts +7 -5
- package/backend/color-scheme-switch.ts +1 -1
- package/backend/column-selector-button.ts +4 -4
- package/backend/context-menu-actions.ts +63 -9
- package/backend/context-menu.ts +3 -3
- package/backend/contextual-record-edit.ts +212 -0
- package/backend/copy-to-clipboard.ts +32 -13
- package/backend/date-time-picker.ts +7 -5
- package/backend/drag-tooltip.ts +1 -1
- package/backend/drag-uploader.ts +58 -43
- package/backend/dropdown.ts +317 -0
- package/backend/element/alert-element.ts +5 -5
- package/backend/element/breadcrumb.ts +162 -38
- package/backend/element/combobox-element.ts +3 -2
- package/backend/element/contextual-record-edit-trigger.ts +117 -0
- package/backend/element/datetime-element.ts +282 -0
- package/backend/element/dispatch-modal-button.ts +1 -1
- package/backend/element/draggable-resizable-element.ts +1 -1
- package/backend/element/editable-page-title.ts +8 -6
- package/backend/element/icon-element.ts +2 -2
- package/backend/element/link-browser-download-element.ts +86 -0
- package/backend/element/pagination.ts +4 -4
- package/backend/element/progress-bar-element.ts +6 -2
- package/backend/element/progress-tracker-element.ts +4 -4
- package/backend/element/pseudo-button.ts +1 -1
- package/backend/element/qrcode-element.ts +54 -7
- package/{redirects → backend}/element/qrcode-modal-button.ts +20 -14
- package/backend/element/sidebar-toggle-element.ts +1 -1
- package/backend/element/spinner-element.ts +1 -1
- package/backend/element-browser.ts +62 -6
- package/backend/event/form-engine-link-browser-set-link-event.ts +34 -0
- package/backend/form/submit-interceptor.ts +7 -5
- package/backend/form-engine/container/flex-form-container-container.ts +42 -32
- package/backend/form-engine/container/flex-form-section-container.ts +8 -28
- package/backend/form-engine/container/inline-control-container.ts +304 -293
- package/backend/form-engine/element/extra/char-counter.ts +3 -3
- package/backend/form-engine/element/online-media-form-element.ts +2 -2
- package/backend/form-engine/element/select-tree-toolbar.ts +6 -6
- package/backend/form-engine/element/select-tree.ts +1 -1
- package/backend/form-engine/element/suggest/result-container.ts +3 -3
- package/backend/form-engine/element/suggest/result-item.ts +1 -1
- package/backend/form-engine/element/table-wizard-element.ts +23 -22
- package/backend/form-engine/field-control/link-popup.ts +22 -3
- package/backend/form-engine/field-control/password-generator.ts +9 -3
- package/backend/form-engine-link-browser-adapter.ts +15 -86
- package/backend/form-engine-review.ts +9 -4
- package/backend/form-engine-validation.ts +13 -6
- package/backend/form-engine.ts +170 -113
- package/backend/grid-editor.ts +32 -29
- package/backend/hotkeys/events.ts +47 -0
- package/backend/hotkeys/hotkey-storage.ts +3 -18
- package/backend/hotkeys/hotkey-struct.ts +58 -0
- package/backend/hotkeys/negotiator.ts +53 -0
- package/backend/hotkeys.ts +27 -46
- package/backend/image-manipulation.ts +82 -2
- package/backend/input/clearable.ts +4 -3
- package/backend/layout-module/paste.ts +7 -6
- package/backend/link-browser.ts +1 -0
- package/backend/live-search/element/backend-search.ts +1 -1
- package/backend/live-search/element/hint.ts +1 -1
- package/backend/live-search/element/provider/default-result-item.ts +3 -3
- package/backend/live-search/element/provider/page-provider-result-item.ts +3 -3
- package/backend/live-search/element/result/item/action/action-container.ts +1 -1
- package/backend/live-search/element/result/item/action/action.ts +2 -2
- package/backend/live-search/element/result/item/item-container.ts +3 -3
- package/backend/live-search/element/result/item/item.ts +2 -1
- package/backend/live-search/element/result/result-container.ts +5 -5
- package/backend/live-search/element/result/result-detail-container.ts +1 -1
- package/backend/live-search/element/result/result-pagination.ts +2 -2
- package/backend/live-search/element/search-option-item.ts +2 -2
- package/backend/live-search/live-search-shortcut.ts +1 -14
- package/backend/{toolbar → live-search}/live-search.ts +10 -22
- package/backend/live-search/result-types/default-result-type.ts +6 -1
- package/backend/live-search/result-types/page-result-type.ts +2 -2
- package/backend/live-search/toolbar/live-search-toolbar-item.ts +24 -0
- package/backend/localization/finisher/localization-submission-service.ts +33 -0
- package/backend/localization/label-provider.ts +187 -0
- package/backend/localization/localization-button.ts +3 -3
- package/backend/localization/localization-wizard.ts +70 -351
- package/backend/localization/steps/content-record-selection-step.ts +35 -42
- package/backend/localization/steps/handler-selection-step.ts +27 -31
- package/backend/localization/steps/mode-step.ts +26 -30
- package/backend/localization/steps/source-language-step.ts +28 -30
- package/backend/localization/steps/target-language-step.ts +34 -35
- package/backend/login-refresh.ts +15 -14
- package/backend/modal.ts +81 -18
- package/backend/module/iframe.ts +5 -5
- package/backend/module/router.ts +1 -1
- package/backend/multi-record-selection-delete-action.ts +4 -2
- package/backend/multi-step-wizard.ts +7 -6
- package/backend/new-content-element-wizard-button.ts +1 -1
- package/backend/new-record-wizard.ts +14 -17
- package/backend/notification.ts +5 -5
- package/backend/online-media.ts +2 -1
- package/backend/page-wizard/finisher/page-wizard-submission-service.ts +42 -0
- package/backend/page-wizard/helper/wizard-helper.ts +34 -0
- package/backend/page-wizard/new-page-wizard-button.ts +32 -0
- package/backend/page-wizard/page-wizard-configuration.ts +20 -0
- package/backend/page-wizard/page-wizard.ts +114 -0
- package/backend/page-wizard/steps/doktype-step.ts +239 -0
- package/backend/page-wizard/steps/form-engine-step.ts +165 -0
- package/backend/page-wizard/steps/position-step.ts +158 -0
- package/backend/pagetsconfig/pagetsconfig-includes.ts +1 -1
- package/backend/record-download-button.ts +4 -4
- package/backend/security/element/csp-reports.ts +30 -30
- package/backend/security/element/sudo-mode.ts +1 -1
- package/backend/settings/editor/editable-setting.ts +7 -6
- package/backend/settings/editor.ts +9 -8
- package/backend/settings/type/base.ts +1 -1
- package/backend/settings/type/bool.ts +1 -1
- package/backend/settings/type/color.ts +1 -1
- package/backend/settings/type/int.ts +2 -2
- package/backend/settings/type/number.ts +2 -2
- package/backend/settings/type/page.ts +9 -5
- package/backend/settings/type/string.ts +2 -2
- package/backend/settings/type/stringlist.ts +1 -1
- package/backend/settings/type/url.ts +1 -1
- package/backend/sortable-table.ts +3 -2
- package/backend/switch-user.ts +1 -1
- package/backend/tab.ts +424 -0
- package/backend/tabs.ts +2 -59
- package/backend/tests/localization/label-provider-test.ts +72 -0
- package/backend/toolbar/clear-cache-menu.ts +12 -9
- package/backend/toolbar/system-information-menu.ts +6 -16
- package/backend/tree/file-storage-browser.ts +1 -1
- package/backend/tree/file-storage-tree-container.ts +14 -11
- package/backend/tree/page-browser.ts +13 -12
- package/backend/tree/page-position-select.ts +293 -0
- package/backend/tree/page-tree-element.ts +233 -83
- package/backend/tree/page-tree.ts +20 -0
- package/backend/tree/tree-module-state.ts +1 -1
- package/backend/tree/tree-node-toggle.ts +1 -1
- package/backend/tree/tree-toolbar.ts +43 -38
- package/backend/tree/tree.ts +69 -23
- package/backend/type/date-configuration.ts +31 -0
- package/backend/user-settings-manager.ts +34 -18
- package/backend/utility/collapse-state-search.ts +2 -1
- package/backend/viewport/content-container.ts +1 -1
- package/backend/viewport/content-navigation-toggle.ts +14 -4
- package/backend/viewport/content-navigation.ts +6 -6
- package/backend/viewport/loader.ts +6 -4
- package/backend/wizard/events/auto-advance-event.ts +21 -0
- package/backend/wizard/events/before-next-step-event.ts +24 -0
- package/backend/wizard/events/step-summary-event.ts +26 -0
- package/backend/wizard/finisher/finisher-config.ts +19 -0
- package/backend/{localization/localization-finisher.ts → wizard/finisher/finisher-interface.ts} +2 -11
- package/backend/wizard/finisher/finisher-result.ts +26 -0
- package/backend/{localization → wizard}/finisher/noop-finisher.ts +3 -2
- package/backend/{localization → wizard}/finisher/redirect-finisher.ts +3 -2
- package/backend/{localization → wizard}/finisher/reload-finisher.ts +4 -3
- package/backend/wizard/finisher/submission-service-interface.ts +17 -0
- package/backend/wizard/helper/dynamic-steps-loader.ts +60 -0
- package/backend/wizard/move-content-element.ts +14 -8
- package/backend/wizard/move-page.ts +7 -5
- package/backend/wizard/steps/confirm-step.ts +63 -0
- package/backend/{localization → wizard}/steps/finisher-step.ts +37 -61
- package/backend/wizard/steps/summary-item-interface.ts +19 -0
- package/backend/wizard/steps/wizard-step-after-render-interface.ts +16 -0
- package/backend/wizard/steps/wizard-step-interface.ts +26 -0
- package/backend/wizard/steps/wizard-step-summary-interface.ts +18 -0
- package/backend/wizard/steps/wizard-step-value-interface.ts +20 -0
- package/backend/wizard/wizard.ts +399 -0
- package/belog/backend-log.ts +8 -2
- package/core/authentication/mfa-provider/totp.ts +1 -1
- package/core/directive/markdown.ts +2 -2
- package/core/lit-helper.ts +2 -2
- package/core/utility/debug-exception-handler-service.ts +188 -0
- package/dashboard/dashboard.ts +51 -49
- package/dashboard/widget/bookmarks-widget-element.ts +140 -0
- package/extensionmanager/dependency-check.ts +179 -0
- package/extensionmanager/distribution-image.ts +1 -1
- package/extensionmanager/extension-toggle-button.ts +201 -0
- package/extensionmanager/main.ts +55 -69
- package/extensionmanager/repository.ts +22 -16
- package/extensionmanager/update.ts +4 -3
- package/filelist/context-menu-actions.ts +14 -13
- package/filelist/file-delete.ts +3 -2
- package/filelist/file-list-rename-handler.ts +6 -5
- package/filelist/file-list-replace-handler.ts +17 -14
- package/filelist/file-list-transfer-handler.ts +8 -11
- package/filelist/file-list.ts +38 -12
- package/filelist/rename-file.ts +9 -6
- package/form/backend/form-editor/component/date-editor.ts +265 -0
- package/form/backend/form-editor/component/form-element-selector.ts +74 -0
- package/form/backend/form-editor/component/form-element-stage-item-toolbar.ts +112 -0
- package/form/backend/form-editor/component/form-element-stage-item.ts +188 -0
- package/form/backend/form-editor/component/page-stage-item.ts +53 -0
- package/form/backend/form-editor/component/property-grid-editor.ts +54 -23
- package/form/backend/form-editor/core.ts +119 -105
- package/form/backend/form-editor/helper.ts +17 -10
- package/form/backend/form-editor/inspector-component.ts +689 -703
- package/form/backend/form-editor/mediator.ts +54 -43
- package/form/backend/form-editor/modals-component.ts +59 -61
- package/form/backend/form-editor/stage-component.ts +635 -328
- package/form/backend/form-editor/tree-component-adapter.ts +651 -0
- package/form/backend/form-editor/utility/string-utility.ts +33 -0
- package/form/backend/form-editor/view-model.ts +240 -229
- package/form/backend/form-editor-tree-container.ts +105 -0
- package/form/backend/form-editor-tree-events.ts +138 -0
- package/form/backend/form-editor-tree.ts +784 -0
- package/form/backend/form-editor.ts +26 -42
- package/form/backend/form-manager/view-model.ts +155 -674
- package/form/backend/form-manager.ts +26 -9
- package/form/backend/form-wizard/finisher/create-form-submission-service.ts +59 -0
- package/form/backend/form-wizard/finisher/duplicate-form-submission-service.ts +58 -0
- package/form/backend/form-wizard/form-wizard.ts +135 -0
- package/form/backend/form-wizard/steps/mode-step.ts +140 -0
- package/form/backend/form-wizard/steps/settings-step.ts +248 -0
- package/form/backend/form-wizard/steps/storage-step.ts +128 -0
- package/form/frontend/date-picker.ts +2 -0
- package/install/module/settings/extension-configuration.ts +0 -8
- package/install/module/settings/local-configuration.ts +0 -8
- package/install/renderable/flash-message.ts +1 -1
- package/install/renderable/info-box.ts +1 -1
- package/install/renderable/language-packs.ts +3 -3
- package/install/renderable/offset-group.ts +1 -1
- package/install/renderable/wrap-group.ts +1 -1
- package/install/router.ts +1 -1
- package/lowlevel/query-generator.ts +1 -1
- package/opendocs/open-document-store.ts +195 -0
- package/opendocs/toolbar/open-document-menu-element.ts +127 -0
- package/opendocs/widget/recent-documents-widget-element.ts +130 -0
- package/package.json +2 -2
- package/recycler/recycler.ts +55 -56
- package/redirects/event-handler.ts +15 -7
- package/redirects/short-url-generator.ts +145 -0
- package/rte-ckeditor/ckeditor5.ts +3 -3
- package/rte-ckeditor/plugin/typo3-link.ts +24 -4
- package/scheduler/new-scheduler-task-wizard-button.ts +1 -1
- package/scheduler/scheduler-add-group.ts +6 -6
- package/scheduler/setup-check-button.ts +1 -1
- package/styleguide/element/theme-switcher-element.ts +10 -9
- package/sys-note/element/delete-button.ts +1 -1
- package/tstemplate/template-analyzer.ts +1 -1
- package/workspaces/backend.ts +27 -25
- package/workspaces/element/workspace-selector-element.ts +186 -0
- package/workspaces/element/workspace-top-indicator-element.ts +159 -0
- package/workspaces/preview.ts +5 -4
- package/workspaces/renderable/comment-view.ts +3 -3
- package/workspaces/renderable/diff-view.ts +3 -3
- package/workspaces/renderable/history-view.ts +3 -3
- package/workspaces/renderable/record-information.ts +8 -12
- package/workspaces/renderable/record-table.ts +56 -32
- package/workspaces/renderable/send-to-stage-form.ts +14 -8
- package/workspaces/workspace-state.ts +251 -0
- package/workspaces/workspaces.ts +4 -5
- package/backend/form-engine/container/files-control-container.ts +0 -716
- package/backend/form-engine/container/site-language-container.ts +0 -616
- package/backend/key-bindings.ts +0 -42
- package/backend/localization/steps/confirm-step.ts +0 -61
- package/backend/toolbar/shortcut-menu.ts +0 -254
- package/form/backend/form-editor/tree-component.ts +0 -550
- package/opendocs/toolbar/opendocs-menu.ts +0 -117
- package/workspaces/toolbar/workspaces-menu.ts +0 -192
package/.last-synced-tag
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
v14.
|
|
1
|
+
v14.2.0
|
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:** `v14.
|
|
19
|
+
- **Current TYPO3 Version:** `v14.2.0`
|
|
20
20
|
|
|
21
21
|
## 🌿 Branches
|
|
22
22
|
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* This file is part of the TYPO3 CMS project.
|
|
3
|
+
*
|
|
4
|
+
* It is free software; you can redistribute it and/or modify it under
|
|
5
|
+
* the terms of the GNU General Public License, either version 2
|
|
6
|
+
* of the License, or any later version.
|
|
7
|
+
*
|
|
8
|
+
* For the full copyright and license information, please read the
|
|
9
|
+
* LICENSE.txt file that was distributed with this source code.
|
|
10
|
+
*
|
|
11
|
+
* The TYPO3 project - inspiring people to share!
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Module: @typo3/backend/Contrib/bootstrap
|
|
16
|
+
*
|
|
17
|
+
* This module bundles the `bootstrap` package and allows to add compatibility
|
|
18
|
+
* layers based on `@typo3/*` packages (which will not be bundled).
|
|
19
|
+
*
|
|
20
|
+
* The bundle configuration is located next to `filesToBundle`
|
|
21
|
+
* in `process-javascript` Grunt task.
|
|
22
|
+
*/
|
|
23
|
+
|
|
24
|
+
//export { default as Alert } from 'bootstrap/js/src/alert.js';
|
|
25
|
+
//export { default as Button } from 'bootstrap/js/src/button.js';
|
|
26
|
+
export { default as Carousel } from 'bootstrap/js/src/carousel.js';
|
|
27
|
+
export { default as Collapse } from 'bootstrap/js/src/collapse.js';
|
|
28
|
+
// Dropdown is handled by @typo3/backend/dropdown which includes keyboard navigation
|
|
29
|
+
// and legacy Bootstrap dropdown compatibility
|
|
30
|
+
import '@typo3/backend/dropdown';
|
|
31
|
+
//export { default as Modal } from 'bootstrap/js/src/modal.js';
|
|
32
|
+
//export { default as Offcanvas } from 'bootstrap/js/src/offcanvas.js';
|
|
33
|
+
export { default as Popover } from 'bootstrap/js/src/popover.js';
|
|
34
|
+
//export { default as ScrollSpy } from 'bootstrap/js/src/scrollspy.js';
|
|
35
|
+
// Tab is handled by @typo3/backend/tab which includes native tab switching
|
|
36
|
+
// and legacy Bootstrap tab compatibility
|
|
37
|
+
import '@typo3/backend/tab';
|
|
38
|
+
//export { default as Toast } from 'bootstrap/js/src/toast.js';
|
|
39
|
+
//export { default as Tooltip } from 'bootstrap/js/src/tooltip.js';
|
|
@@ -18,8 +18,6 @@ import Icons from '../icons';
|
|
|
18
18
|
* Action used when an operation execution time is unknown.
|
|
19
19
|
*/
|
|
20
20
|
class DeferredAction extends AbstractAction {
|
|
21
|
-
protected override callback: () => Promise<void>;
|
|
22
|
-
|
|
23
21
|
public async execute(el: HTMLAnchorElement|HTMLButtonElement): Promise<void> {
|
|
24
22
|
el.dataset.actionLabel = el.innerText;
|
|
25
23
|
el.classList.add('disabled');
|
|
@@ -17,8 +17,6 @@ import { AbstractAction } from './abstract-action';
|
|
|
17
17
|
* Action used when an operation is executed immediately.
|
|
18
18
|
*/
|
|
19
19
|
class ImmediateAction extends AbstractAction {
|
|
20
|
-
protected override callback: () => void;
|
|
21
|
-
|
|
22
20
|
public execute(): Promise<void> {
|
|
23
21
|
return this.executeCallback();
|
|
24
22
|
}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
|
|
14
14
|
import InfoWindow from '@typo3/backend/info-window';
|
|
15
15
|
import RegularEvent from '@typo3/core/event/regular-event';
|
|
16
|
-
import shortcutMenu from '@typo3/backend/toolbar/shortcut-menu';
|
|
17
16
|
import windowManager from '@typo3/backend/window-manager';
|
|
18
17
|
import moduleMenuApp from '@typo3/backend/module-menu';
|
|
19
18
|
import documentService from '@typo3/core/document-service';
|
|
@@ -60,7 +59,6 @@ class ActionDispatcher {
|
|
|
60
59
|
private createDelegates(): void {
|
|
61
60
|
this.delegates = {
|
|
62
61
|
'TYPO3.InfoWindow.showItem': InfoWindow.showItem.bind(null),
|
|
63
|
-
'TYPO3.ShortcutMenu.createShortcut': shortcutMenu.createShortcut.bind(shortcutMenu),
|
|
64
62
|
'TYPO3.WindowManager.localOpen': windowManager.localOpen.bind(windowManager),
|
|
65
63
|
'TYPO3.ModuleMenu.showModule': moduleMenuApp.App.showModule.bind(moduleMenuApp.App),
|
|
66
64
|
};
|