@atlaskit/editor-common 81.2.1 → 82.0.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/CHANGELOG.md +39 -0
- package/dist/cjs/analytics/index.js +6 -0
- package/dist/cjs/analytics/types/index.js +6 -0
- package/dist/cjs/analytics/types/table-events.js +8 -2
- package/dist/cjs/extensibility/Extension/InlineExtension/index.js +1 -1
- package/dist/cjs/guideline/utils.js +1 -1
- package/dist/cjs/i18n/cs.js +5 -0
- package/dist/cjs/i18n/da.js +3 -2
- package/dist/cjs/i18n/de.js +1 -0
- package/dist/cjs/i18n/en.js +4 -0
- package/dist/cjs/i18n/en_GB.js +4 -0
- package/dist/cjs/i18n/en_ZZ.js +4 -0
- package/dist/cjs/i18n/es.js +1 -0
- package/dist/cjs/i18n/fi.js +1 -0
- package/dist/cjs/i18n/fr.js +1 -0
- package/dist/cjs/i18n/hu.js +1 -0
- package/dist/cjs/i18n/it.js +1 -0
- package/dist/cjs/i18n/ja.js +1 -0
- package/dist/cjs/i18n/ko.js +1 -0
- package/dist/cjs/i18n/nb.js +5 -0
- package/dist/cjs/i18n/nl.js +1 -0
- package/dist/cjs/i18n/pl.js +1 -0
- package/dist/cjs/i18n/pt_BR.js +1 -0
- package/dist/cjs/i18n/ru.js +1 -0
- package/dist/cjs/i18n/sv.js +1 -0
- package/dist/cjs/i18n/th.js +1 -0
- package/dist/cjs/i18n/tr.js +1 -0
- package/dist/cjs/i18n/uk.js +1 -0
- package/dist/cjs/i18n/vi.js +1 -0
- package/dist/cjs/i18n/zh.js +1 -0
- package/dist/cjs/i18n/zh_TW.js +5 -0
- package/dist/cjs/keymaps/index.js +8 -3
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +24 -29
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/index.js +10 -5
- package/dist/cjs/media-single/utils.js +1 -1
- package/dist/cjs/messages/help-dialog.js +12 -12
- package/dist/cjs/messages/insert-block.js +5 -0
- package/dist/cjs/messages/table.js +0 -5
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/utils/breakout.js +7 -6
- package/dist/es2019/analytics/index.js +1 -1
- package/dist/es2019/analytics/types/index.js +1 -1
- package/dist/es2019/analytics/types/table-events.js +8 -1
- package/dist/es2019/extensibility/Extension/InlineExtension/index.js +2 -2
- package/dist/es2019/guideline/utils.js +2 -2
- package/dist/es2019/i18n/cs.js +5 -0
- package/dist/es2019/i18n/da.js +3 -2
- package/dist/es2019/i18n/de.js +1 -0
- package/dist/es2019/i18n/en.js +4 -0
- package/dist/es2019/i18n/en_GB.js +4 -0
- package/dist/es2019/i18n/en_ZZ.js +4 -0
- package/dist/es2019/i18n/es.js +1 -0
- package/dist/es2019/i18n/fi.js +1 -0
- package/dist/es2019/i18n/fr.js +1 -0
- package/dist/es2019/i18n/hu.js +1 -0
- package/dist/es2019/i18n/it.js +1 -0
- package/dist/es2019/i18n/ja.js +1 -0
- package/dist/es2019/i18n/ko.js +1 -0
- package/dist/es2019/i18n/nb.js +5 -0
- package/dist/es2019/i18n/nl.js +1 -0
- package/dist/es2019/i18n/pl.js +1 -0
- package/dist/es2019/i18n/pt_BR.js +1 -0
- package/dist/es2019/i18n/ru.js +1 -0
- package/dist/es2019/i18n/sv.js +1 -0
- package/dist/es2019/i18n/th.js +1 -0
- package/dist/es2019/i18n/tr.js +1 -0
- package/dist/es2019/i18n/uk.js +1 -0
- package/dist/es2019/i18n/vi.js +1 -0
- package/dist/es2019/i18n/zh.js +1 -0
- package/dist/es2019/i18n/zh_TW.js +5 -0
- package/dist/es2019/keymaps/index.js +5 -0
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +19 -23
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/index.js +10 -5
- package/dist/es2019/media-single/utils.js +2 -2
- package/dist/es2019/messages/help-dialog.js +12 -12
- package/dist/es2019/messages/insert-block.js +5 -0
- package/dist/es2019/messages/table.js +0 -5
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/utils/breakout.js +7 -7
- package/dist/esm/analytics/index.js +1 -1
- package/dist/esm/analytics/types/index.js +1 -1
- package/dist/esm/analytics/types/table-events.js +8 -1
- package/dist/esm/extensibility/Extension/InlineExtension/index.js +2 -2
- package/dist/esm/guideline/utils.js +2 -2
- package/dist/esm/i18n/cs.js +5 -0
- package/dist/esm/i18n/da.js +3 -2
- package/dist/esm/i18n/de.js +1 -0
- package/dist/esm/i18n/en.js +4 -0
- package/dist/esm/i18n/en_GB.js +4 -0
- package/dist/esm/i18n/en_ZZ.js +4 -0
- package/dist/esm/i18n/es.js +1 -0
- package/dist/esm/i18n/fi.js +1 -0
- package/dist/esm/i18n/fr.js +1 -0
- package/dist/esm/i18n/hu.js +1 -0
- package/dist/esm/i18n/it.js +1 -0
- package/dist/esm/i18n/ja.js +1 -0
- package/dist/esm/i18n/ko.js +1 -0
- package/dist/esm/i18n/nb.js +5 -0
- package/dist/esm/i18n/nl.js +1 -0
- package/dist/esm/i18n/pl.js +1 -0
- package/dist/esm/i18n/pt_BR.js +1 -0
- package/dist/esm/i18n/ru.js +1 -0
- package/dist/esm/i18n/sv.js +1 -0
- package/dist/esm/i18n/th.js +1 -0
- package/dist/esm/i18n/tr.js +1 -0
- package/dist/esm/i18n/uk.js +1 -0
- package/dist/esm/i18n/vi.js +1 -0
- package/dist/esm/i18n/zh.js +1 -0
- package/dist/esm/i18n/zh_TW.js +5 -0
- package/dist/esm/keymaps/index.js +5 -0
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +24 -29
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/index.js +10 -5
- package/dist/esm/media-single/utils.js +2 -2
- package/dist/esm/messages/help-dialog.js +12 -12
- package/dist/esm/messages/insert-block.js +5 -0
- package/dist/esm/messages/table.js +0 -5
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/utils/breakout.js +7 -6
- package/dist/types/analytics/index.d.ts +1 -1
- package/dist/types/analytics/types/index.d.ts +1 -1
- package/dist/types/analytics/types/table-events.d.ts +7 -1
- package/dist/types/card/types.d.ts +10 -4
- package/dist/types/i18n/cs.d.ts +5 -0
- package/dist/types/i18n/da.d.ts +1 -0
- package/dist/types/i18n/de.d.ts +1 -0
- package/dist/types/i18n/en.d.ts +4 -0
- package/dist/types/i18n/en_GB.d.ts +4 -0
- package/dist/types/i18n/en_ZZ.d.ts +4 -0
- package/dist/types/i18n/es.d.ts +1 -0
- package/dist/types/i18n/fi.d.ts +1 -0
- package/dist/types/i18n/fr.d.ts +1 -0
- package/dist/types/i18n/hu.d.ts +1 -0
- package/dist/types/i18n/it.d.ts +1 -0
- package/dist/types/i18n/ja.d.ts +1 -0
- package/dist/types/i18n/ko.d.ts +1 -0
- package/dist/types/i18n/nb.d.ts +5 -0
- package/dist/types/i18n/nl.d.ts +1 -0
- package/dist/types/i18n/pl.d.ts +1 -0
- package/dist/types/i18n/pt_BR.d.ts +1 -0
- package/dist/types/i18n/ru.d.ts +1 -0
- package/dist/types/i18n/sv.d.ts +1 -0
- package/dist/types/i18n/th.d.ts +1 -0
- package/dist/types/i18n/tr.d.ts +1 -0
- package/dist/types/i18n/uk.d.ts +1 -0
- package/dist/types/i18n/vi.d.ts +1 -0
- package/dist/types/i18n/zh.d.ts +1 -0
- package/dist/types/i18n/zh_TW.d.ts +5 -0
- package/dist/types/keymaps/index.d.ts +4 -0
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +3 -2
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +6 -5
- package/dist/types/messages/help-dialog.d.ts +6 -6
- package/dist/types/messages/insert-block.d.ts +5 -0
- package/dist/types/messages/table.d.ts +0 -5
- package/dist/types/utils/breakout.d.ts +1 -1
- package/dist/types-ts4.5/analytics/index.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/index.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/table-events.d.ts +7 -1
- package/dist/types-ts4.5/card/types.d.ts +10 -4
- package/dist/types-ts4.5/i18n/cs.d.ts +5 -0
- package/dist/types-ts4.5/i18n/da.d.ts +1 -0
- package/dist/types-ts4.5/i18n/de.d.ts +1 -0
- package/dist/types-ts4.5/i18n/en.d.ts +4 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +4 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +4 -0
- package/dist/types-ts4.5/i18n/es.d.ts +1 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +1 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +1 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +1 -0
- package/dist/types-ts4.5/i18n/it.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +1 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +5 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +1 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +1 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +1 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +1 -0
- package/dist/types-ts4.5/i18n/th.d.ts +1 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +1 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +1 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +1 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +1 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +5 -0
- package/dist/types-ts4.5/keymaps/index.d.ts +4 -0
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +3 -2
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/index.d.ts +6 -5
- package/dist/types-ts4.5/messages/help-dialog.d.ts +6 -6
- package/dist/types-ts4.5/messages/insert-block.d.ts +5 -0
- package/dist/types-ts4.5/messages/table.d.ts +0 -5
- package/dist/types-ts4.5/utils/breakout.d.ts +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 82.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#106543](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/106543)
|
|
8
|
+
[`2141b277161c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/2141b277161c) -
|
|
9
|
+
Added new API actions `getStartingToolbarItems` and `getEndingToolbarItems` to the card plugin
|
|
10
|
+
actions.
|
|
11
|
+
|
|
12
|
+
Removed `pluginState` from the `HyperlinkAddToolbar` props, and added a prop consume analytics
|
|
13
|
+
props via a different prop `meta`.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#106586](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/106586)
|
|
18
|
+
[`f3486a7d141c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f3486a7d141c) -
|
|
19
|
+
Update usage of akEditorGutterPadding to its dynamic version which can increase padding to support
|
|
20
|
+
editor drag and drop. Breakout logic is also updated to accommodate extra padding.
|
|
21
|
+
- [#107920](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107920)
|
|
22
|
+
[`f918580d1700`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f918580d1700) -
|
|
23
|
+
[ux] Removes Table Lock button and addes a new menu item 'Fixed column widths' in the table's
|
|
24
|
+
floating toolbar menu instead of the button.
|
|
25
|
+
- [#107415](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107415)
|
|
26
|
+
[`f7f135cdedb8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f7f135cdedb8) -
|
|
27
|
+
ED-23441: Added analytics for table aligment changes caused by resizing or appearance changes"
|
|
28
|
+
- [#100714](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/100714)
|
|
29
|
+
[`81849acfe13c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/81849acfe13c) -
|
|
30
|
+
ECA11Y-228: Added new shortcuts for insert column and row and added correct formatting for help
|
|
31
|
+
modal dialog
|
|
32
|
+
- Updated dependencies
|
|
33
|
+
|
|
34
|
+
## 81.2.2
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- [#107463](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/107463)
|
|
39
|
+
[`5c4e84045a40`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5c4e84045a40) -
|
|
40
|
+
[ux] Add responsive label to loom plugin toolbar
|
|
41
|
+
|
|
3
42
|
## 81.2.1
|
|
4
43
|
|
|
5
44
|
### Patch Changes
|
|
@@ -27,6 +27,12 @@ Object.defineProperty(exports, "BROWSER_FREEZE_INTERACTION_TYPE", {
|
|
|
27
27
|
return _types.BROWSER_FREEZE_INTERACTION_TYPE;
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
+
Object.defineProperty(exports, "CHANGE_ALIGNMENT_REASON", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function get() {
|
|
33
|
+
return _types.CHANGE_ALIGNMENT_REASON;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
30
36
|
Object.defineProperty(exports, "CONTENT_COMPONENT", {
|
|
31
37
|
enumerable: true,
|
|
32
38
|
get: function get() {
|
|
@@ -27,6 +27,12 @@ Object.defineProperty(exports, "BROWSER_FREEZE_INTERACTION_TYPE", {
|
|
|
27
27
|
return _generalEvents.BROWSER_FREEZE_INTERACTION_TYPE;
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
+
Object.defineProperty(exports, "CHANGE_ALIGNMENT_REASON", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function get() {
|
|
33
|
+
return _tableEvents.CHANGE_ALIGNMENT_REASON;
|
|
34
|
+
}
|
|
35
|
+
});
|
|
30
36
|
Object.defineProperty(exports, "CONTENT_COMPONENT", {
|
|
31
37
|
enumerable: true,
|
|
32
38
|
get: function get() {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.TABLE_STATUS = exports.TABLE_OVERFLOW_CHANGE_TRIGGER = exports.TABLE_DISPLAY_MODE = exports.TABLE_BREAKOUT = exports.TABLE_ACTION = void 0;
|
|
6
|
+
exports.TABLE_STATUS = exports.TABLE_OVERFLOW_CHANGE_TRIGGER = exports.TABLE_DISPLAY_MODE = exports.TABLE_BREAKOUT = exports.TABLE_ACTION = exports.CHANGE_ALIGNMENT_REASON = void 0;
|
|
7
7
|
var TABLE_ACTION = exports.TABLE_ACTION = /*#__PURE__*/function (TABLE_ACTION) {
|
|
8
8
|
TABLE_ACTION["DELETED"] = "deleted";
|
|
9
9
|
TABLE_ACTION["CLEARED"] = "cleared";
|
|
@@ -68,4 +68,10 @@ var TABLE_DISPLAY_MODE = exports.TABLE_DISPLAY_MODE = /*#__PURE__*/function (TAB
|
|
|
68
68
|
TABLE_DISPLAY_MODE["DEFAULT"] = "default";
|
|
69
69
|
TABLE_DISPLAY_MODE["INITIAL"] = "initial";
|
|
70
70
|
return TABLE_DISPLAY_MODE;
|
|
71
|
-
}({}); // currently duplicated in editor-plugin-table/src/types.ts
|
|
71
|
+
}({}); // currently duplicated in editor-plugin-table/src/types.ts
|
|
72
|
+
var CHANGE_ALIGNMENT_REASON = exports.CHANGE_ALIGNMENT_REASON = /*#__PURE__*/function (CHANGE_ALIGNMENT_REASON) {
|
|
73
|
+
CHANGE_ALIGNMENT_REASON["TABLE_RESIZING"] = "tableResizing";
|
|
74
|
+
CHANGE_ALIGNMENT_REASON["EDITOR_APPEARANCE_CHANGED"] = "editorAppearanceChanged";
|
|
75
|
+
CHANGE_ALIGNMENT_REASON["TOOLBAR_OPTION_CHANGED"] = "toolbarOptionChanged";
|
|
76
|
+
return CHANGE_ALIGNMENT_REASON;
|
|
77
|
+
}({});
|
|
@@ -38,7 +38,7 @@ var InlineExtension = function InlineExtension(props) {
|
|
|
38
38
|
'with-border': showMacroInteractionDesignUpdates,
|
|
39
39
|
'with-hover-border': showMacroInteractionDesignUpdates && isNodeHovered
|
|
40
40
|
});
|
|
41
|
-
var rendererContainerWidth = widthState ? widthState.width - _editorSharedStyles.
|
|
41
|
+
var rendererContainerWidth = widthState ? widthState.width - (0, _editorSharedStyles.akEditorGutterPaddingDynamic)() * 2 : 0;
|
|
42
42
|
var extendedInlineExtension = (0, _platformFeatureFlags.getBooleanFF)('platform.editor.inline_extension.extended_lcqdn') || false;
|
|
43
43
|
var handleMouseEvent = function handleMouseEvent(didHover) {
|
|
44
44
|
if (setIsNodeHovered) {
|
|
@@ -60,7 +60,7 @@ var getGuidelineTypeFromKey = exports.getGuidelineTypeFromKey = function getGuid
|
|
|
60
60
|
* width and editor gutter padding.
|
|
61
61
|
*/
|
|
62
62
|
var getContainerWidthOrFullEditorWidth = exports.getContainerWidthOrFullEditorWidth = function getContainerWidthOrFullEditorWidth(containerWidth) {
|
|
63
|
-
return Math.min(containerWidth - _editorSharedStyles.
|
|
63
|
+
return Math.min(containerWidth - (0, _editorSharedStyles.akEditorGutterPaddingDynamic)() * 2, _editorSharedStyles.akEditorFullWidthLayoutWidth) / 2;
|
|
64
64
|
};
|
|
65
65
|
|
|
66
66
|
/**
|
package/dist/cjs/i18n/cs.js
CHANGED
|
@@ -136,6 +136,10 @@ var _default = exports.default = {
|
|
|
136
136
|
'fabric.editor.edit.searchInput': 'Přidat odkaz',
|
|
137
137
|
'fabric.editor.editAltText': 'Upravit alternativní text',
|
|
138
138
|
'fabric.editor.editDateText': 'Upravit datum',
|
|
139
|
+
'fabric.editor.editDropdownEditDatasourceTitle': 'Upravit vyhledávací dotaz',
|
|
140
|
+
'fabric.editor.editDropdownEditLinkTitle': 'Upravit odkaz',
|
|
141
|
+
'fabric.editor.editDropdownExpandIconLabel': 'Rozbalit rozevírací nabídku',
|
|
142
|
+
'fabric.editor.editDropdownTriggerTitle': 'Upravit',
|
|
139
143
|
'fabric.editor.editLink': 'Upravit odkaz',
|
|
140
144
|
'fabric.editor.editMode.inviteToEditButton.title': 'Pozvat k úpravám',
|
|
141
145
|
'fabric.editor.editStatusColor': 'Upravit barvu stavu',
|
|
@@ -251,6 +255,7 @@ var _default = exports.default = {
|
|
|
251
255
|
'fabric.editor.info': 'Informace',
|
|
252
256
|
'fabric.editor.infoPanel': 'Informační panel',
|
|
253
257
|
'fabric.editor.infoPanel.description': 'Zvýraznit informace v barevném panelu',
|
|
258
|
+
'fabric.editor.inlineConfigureLink': 'Konfigurovat odkaz',
|
|
254
259
|
'fabric.editor.inlineDescription': 'Zobrazit odkaz jako vložený text',
|
|
255
260
|
'fabric.editor.inlineOverlay': 'Konfigurovat',
|
|
256
261
|
'fabric.editor.inlineTitle': 'Vložený',
|
package/dist/cjs/i18n/da.js
CHANGED
|
@@ -221,7 +221,7 @@ var _default = exports.default = {
|
|
|
221
221
|
'fabric.editor.headingLink.hyperlinkIconBugLabel': 'Fejl',
|
|
222
222
|
'fabric.editor.headingLink.hyperlinkIconIssueLabel': 'Sag',
|
|
223
223
|
'fabric.editor.headingLink.hyperlinkIconPageLabel': 'Side',
|
|
224
|
-
'fabric.editor.headingLink.hyperlinkIconStoryLabel': '
|
|
224
|
+
'fabric.editor.headingLink.hyperlinkIconStoryLabel': 'Historie',
|
|
225
225
|
'fabric.editor.headingLink.hyperlinkIconTaskLabel': 'Opgave',
|
|
226
226
|
'fabric.editor.headingLink.invalidLabel': '⚠️ En tabel med flettede celler kan ikke sorteres',
|
|
227
227
|
'fabric.editor.headingLink.noOrderLabel': 'Sortér kolonnen fra A til Å',
|
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': 'Info',
|
|
252
252
|
'fabric.editor.infoPanel': 'Informationspanel',
|
|
253
253
|
'fabric.editor.infoPanel.description': 'Fremhæv information i et farvet panel',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'Konfigurer link',
|
|
254
255
|
'fabric.editor.inlineDescription': 'Vis link som indbygget tekst',
|
|
255
256
|
'fabric.editor.inlineOverlay': 'Konfigurer',
|
|
256
257
|
'fabric.editor.inlineTitle': 'Indbyg',
|
|
@@ -372,7 +373,7 @@ var _default = exports.default = {
|
|
|
372
373
|
'fabric.editor.status': 'Status',
|
|
373
374
|
'fabric.editor.status.description': 'Tilføj en brugerdefineret statusetiket',
|
|
374
375
|
'fabric.editor.statusPlaceholder': 'Angiv en status',
|
|
375
|
-
'fabric.editor.story': '
|
|
376
|
+
'fabric.editor.story': 'Historie',
|
|
376
377
|
'fabric.editor.strike': 'Gennemstreget',
|
|
377
378
|
'fabric.editor.subTask': 'Underopgave',
|
|
378
379
|
'fabric.editor.subscript': 'Sænket skrift',
|
package/dist/cjs/i18n/de.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': 'Info',
|
|
252
252
|
'fabric.editor.infoPanel': 'Info-Panel',
|
|
253
253
|
'fabric.editor.infoPanel.description': 'Informationen in einem farbigen Panel hervorheben',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'Link konfigurieren',
|
|
254
255
|
'fabric.editor.inlineDescription': 'Link als Inline-Text anzeigen',
|
|
255
256
|
'fabric.editor.inlineOverlay': 'Konfigurieren',
|
|
256
257
|
'fabric.editor.inlineTitle': 'Inline',
|
package/dist/cjs/i18n/en.js
CHANGED
|
@@ -136,6 +136,10 @@ var _default = exports.default = {
|
|
|
136
136
|
'fabric.editor.edit.searchInput': 'Add a link',
|
|
137
137
|
'fabric.editor.editAltText': 'Edit alt text',
|
|
138
138
|
'fabric.editor.editDateText': 'Edit Date',
|
|
139
|
+
'fabric.editor.editDropdownEditDatasourceTitle': 'Edit search query',
|
|
140
|
+
'fabric.editor.editDropdownEditLinkTitle': 'Edit link',
|
|
141
|
+
'fabric.editor.editDropdownExpandIconLabel': 'Expand dropdown menu',
|
|
142
|
+
'fabric.editor.editDropdownTriggerTitle': 'Edit',
|
|
139
143
|
'fabric.editor.editLink': 'Edit link',
|
|
140
144
|
'fabric.editor.editMode.inviteToEditButton.title': 'Invite to edit',
|
|
141
145
|
'fabric.editor.editStatusColor': 'Edit Status Color',
|
package/dist/cjs/i18n/en_GB.js
CHANGED
|
@@ -136,6 +136,10 @@ var _default = exports.default = {
|
|
|
136
136
|
'fabric.editor.edit.searchInput': 'Add a link',
|
|
137
137
|
'fabric.editor.editAltText': 'Edit alt text',
|
|
138
138
|
'fabric.editor.editDateText': 'Edit Date',
|
|
139
|
+
'fabric.editor.editDropdownEditDatasourceTitle': 'Edit search query',
|
|
140
|
+
'fabric.editor.editDropdownEditLinkTitle': 'Edit link',
|
|
141
|
+
'fabric.editor.editDropdownExpandIconLabel': 'Expand dropdown menu',
|
|
142
|
+
'fabric.editor.editDropdownTriggerTitle': 'Edit',
|
|
139
143
|
'fabric.editor.editLink': 'Edit link',
|
|
140
144
|
'fabric.editor.editMode.inviteToEditButton.title': 'Invite to edit',
|
|
141
145
|
'fabric.editor.editStatusColor': 'Edit Status Colour',
|
package/dist/cjs/i18n/en_ZZ.js
CHANGED
|
@@ -136,6 +136,10 @@ var _default = exports.default = {
|
|
|
136
136
|
'fabric.editor.edit.searchInput': 'Add a link',
|
|
137
137
|
'fabric.editor.editAltText': 'Edit alt text',
|
|
138
138
|
'fabric.editor.editDateText': 'Edit Date',
|
|
139
|
+
'fabric.editor.editDropdownEditDatasourceTitle': 'Edit search query',
|
|
140
|
+
'fabric.editor.editDropdownEditLinkTitle': 'Edit link',
|
|
141
|
+
'fabric.editor.editDropdownExpandIconLabel': 'Expand dropdown menu',
|
|
142
|
+
'fabric.editor.editDropdownTriggerTitle': 'Edit',
|
|
139
143
|
'fabric.editor.editLink': 'Edit link',
|
|
140
144
|
'fabric.editor.editMode.inviteToEditButton.title': 'Invite to edit',
|
|
141
145
|
'fabric.editor.editStatusColor': 'Edit Status Color',
|
package/dist/cjs/i18n/es.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': 'Información',
|
|
252
252
|
'fabric.editor.infoPanel': 'Panel de información',
|
|
253
253
|
'fabric.editor.infoPanel.description': 'Destacar información en un panel de color',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'Configurar enlace',
|
|
254
255
|
'fabric.editor.inlineDescription': 'Mostrar enlace como texto insertado',
|
|
255
256
|
'fabric.editor.inlineOverlay': 'Configurar',
|
|
256
257
|
'fabric.editor.inlineTitle': 'Insertado',
|
package/dist/cjs/i18n/fi.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': 'Tietoja',
|
|
252
252
|
'fabric.editor.infoPanel': 'Tietopaneeli',
|
|
253
253
|
'fabric.editor.infoPanel.description': 'Korosta tietoja värillisessä paneelissa',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'Määritä linkki',
|
|
254
255
|
'fabric.editor.inlineDescription': 'Näytä linkki sitoutuvana tekstinä',
|
|
255
256
|
'fabric.editor.inlineOverlay': 'Muokkaa',
|
|
256
257
|
'fabric.editor.inlineTitle': 'Tekstiin sitoutuva',
|
package/dist/cjs/i18n/fr.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': 'Informations',
|
|
252
252
|
'fabric.editor.infoPanel': "Volet d'informations",
|
|
253
253
|
'fabric.editor.infoPanel.description': 'Mettre en valeur des informations dans un cadre coloré',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'Configurer le lien',
|
|
254
255
|
'fabric.editor.inlineDescription': 'Affichez le lien sous forme de texte sur la même ligne',
|
|
255
256
|
'fabric.editor.inlineOverlay': 'Configurer',
|
|
256
257
|
'fabric.editor.inlineTitle': 'Sur la même ligne',
|
package/dist/cjs/i18n/hu.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': 'Információ',
|
|
252
252
|
'fabric.editor.infoPanel': 'Információs panel',
|
|
253
253
|
'fabric.editor.infoPanel.description': 'Információ kiemelése színes panelen',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'Link konfigurálása',
|
|
254
255
|
'fabric.editor.inlineDescription': 'Link megjelenítése beágyazott szövegként',
|
|
255
256
|
'fabric.editor.inlineOverlay': 'Konfigurálás',
|
|
256
257
|
'fabric.editor.inlineTitle': 'Beágyazott',
|
package/dist/cjs/i18n/it.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': 'Info',
|
|
252
252
|
'fabric.editor.infoPanel': 'Pannello informazioni',
|
|
253
253
|
'fabric.editor.infoPanel.description': 'Metti in evidenza l’informazione in un pannello colorato',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'Configura il link',
|
|
254
255
|
'fabric.editor.inlineDescription': 'Visualizza il link come testo in linea',
|
|
255
256
|
'fabric.editor.inlineOverlay': 'Configura',
|
|
256
257
|
'fabric.editor.inlineTitle': 'In linea',
|
package/dist/cjs/i18n/ja.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': '情報',
|
|
252
252
|
'fabric.editor.infoPanel': '情報パネル',
|
|
253
253
|
'fabric.editor.infoPanel.description': '色付きのパネルで情報を強調',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'リンクを設定',
|
|
254
255
|
'fabric.editor.inlineDescription': 'リンクをインライン テキストとして表示します。',
|
|
255
256
|
'fabric.editor.inlineOverlay': '構成',
|
|
256
257
|
'fabric.editor.inlineTitle': 'インライン',
|
package/dist/cjs/i18n/ko.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': '정보',
|
|
252
252
|
'fabric.editor.infoPanel': '정보 패널',
|
|
253
253
|
'fabric.editor.infoPanel.description': '색상 있는 패널에서 정보 강조 표시',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': '링크 구성',
|
|
254
255
|
'fabric.editor.inlineDescription': '링크를 인라인 텍스트로 표시',
|
|
255
256
|
'fabric.editor.inlineOverlay': '구성',
|
|
256
257
|
'fabric.editor.inlineTitle': '인라인',
|
package/dist/cjs/i18n/nb.js
CHANGED
|
@@ -136,6 +136,10 @@ var _default = exports.default = {
|
|
|
136
136
|
'fabric.editor.edit.searchInput': 'Legg til en kobling',
|
|
137
137
|
'fabric.editor.editAltText': 'Rediger alternativ tekst',
|
|
138
138
|
'fabric.editor.editDateText': 'Rediger dato',
|
|
139
|
+
'fabric.editor.editDropdownEditDatasourceTitle': 'Rediger søkespørring',
|
|
140
|
+
'fabric.editor.editDropdownEditLinkTitle': 'Rediger kobling',
|
|
141
|
+
'fabric.editor.editDropdownExpandIconLabel': 'Utvid rullegardinmenyen',
|
|
142
|
+
'fabric.editor.editDropdownTriggerTitle': 'Rediger',
|
|
139
143
|
'fabric.editor.editLink': 'Rediger kobling',
|
|
140
144
|
'fabric.editor.editMode.inviteToEditButton.title': 'Inviter til å redigere',
|
|
141
145
|
'fabric.editor.editStatusColor': 'Rediger statusfarge',
|
|
@@ -251,6 +255,7 @@ var _default = exports.default = {
|
|
|
251
255
|
'fabric.editor.info': 'Informasjon',
|
|
252
256
|
'fabric.editor.infoPanel': 'Informasjonspanel',
|
|
253
257
|
'fabric.editor.infoPanel.description': 'Uthev informasjonen i et farget panel',
|
|
258
|
+
'fabric.editor.inlineConfigureLink': 'Konfigurer kobling',
|
|
254
259
|
'fabric.editor.inlineDescription': 'Vis kobling som innebygd tekst',
|
|
255
260
|
'fabric.editor.inlineOverlay': 'Konfigurer',
|
|
256
261
|
'fabric.editor.inlineTitle': 'Innebygd',
|
package/dist/cjs/i18n/nl.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': 'Informatie',
|
|
252
252
|
'fabric.editor.infoPanel': 'Infopaneel',
|
|
253
253
|
'fabric.editor.infoPanel.description': 'Informatie markeren in een gekleurd paneel',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'Link configureren',
|
|
254
255
|
'fabric.editor.inlineDescription': 'Link als inline-tekst weergeven',
|
|
255
256
|
'fabric.editor.inlineOverlay': 'Configureren',
|
|
256
257
|
'fabric.editor.inlineTitle': 'Inline',
|
package/dist/cjs/i18n/pl.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': 'Informacje',
|
|
252
252
|
'fabric.editor.infoPanel': 'Panel informacyjny',
|
|
253
253
|
'fabric.editor.infoPanel.description': 'Wyróżnij informacje kolorem',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'Konfiguruj łącze',
|
|
254
255
|
'fabric.editor.inlineDescription': 'Wyświetla łącze bezpośrednio w tekście',
|
|
255
256
|
'fabric.editor.inlineOverlay': 'Konfiguruj',
|
|
256
257
|
'fabric.editor.inlineTitle': 'Bezpośrednio w tekście',
|
package/dist/cjs/i18n/pt_BR.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': 'Informações',
|
|
252
252
|
'fabric.editor.infoPanel': 'Painel de informações',
|
|
253
253
|
'fabric.editor.infoPanel.description': 'Destacar informações em um painel colorido',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'Configurar link',
|
|
254
255
|
'fabric.editor.inlineDescription': 'Mostrar link como texto em linha',
|
|
255
256
|
'fabric.editor.inlineOverlay': 'Configurar',
|
|
256
257
|
'fabric.editor.inlineTitle': 'Em linha',
|
package/dist/cjs/i18n/ru.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': 'Информация',
|
|
252
252
|
'fabric.editor.infoPanel': 'Информационная панель',
|
|
253
253
|
'fabric.editor.infoPanel.description': 'Выделение информации цветом',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'Настроить ссылку',
|
|
254
255
|
'fabric.editor.inlineDescription': 'Отображение ссылки в виде встроенного текста',
|
|
255
256
|
'fabric.editor.inlineOverlay': 'Настроить',
|
|
256
257
|
'fabric.editor.inlineTitle': 'Встроенный текст',
|
package/dist/cjs/i18n/sv.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': 'Info',
|
|
252
252
|
'fabric.editor.infoPanel': 'Informationspanel',
|
|
253
253
|
'fabric.editor.infoPanel.description': 'Markera information med en färgad panel',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'Konfigurera länk',
|
|
254
255
|
'fabric.editor.inlineDescription': 'Visa länk som infogad text',
|
|
255
256
|
'fabric.editor.inlineOverlay': 'Konfigurera',
|
|
256
257
|
'fabric.editor.inlineTitle': 'Inline',
|
package/dist/cjs/i18n/th.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': 'ข้อมูล',
|
|
252
252
|
'fabric.editor.infoPanel': 'แผงข้อมูล',
|
|
253
253
|
'fabric.editor.infoPanel.description': 'ไฮไลท์ข้อมูลในแผงสี',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'กำหนดค่าลิงก์',
|
|
254
255
|
'fabric.editor.inlineDescription': 'แสดงลิงก์เป็นข้อความแบบบรรทัดเดียว',
|
|
255
256
|
'fabric.editor.inlineOverlay': 'กำหนดค่า',
|
|
256
257
|
'fabric.editor.inlineTitle': 'บรรทัดเดียว',
|
package/dist/cjs/i18n/tr.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': 'Bilgi',
|
|
252
252
|
'fabric.editor.infoPanel': 'Bilgi panosu',
|
|
253
253
|
'fabric.editor.infoPanel.description': 'Renkli bir panoda bilgileri vurgulayın',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'Bağlantıyı yapılandırın',
|
|
254
255
|
'fabric.editor.inlineDescription': 'Bağlantıyı satır içi metin olarak gösterir',
|
|
255
256
|
'fabric.editor.inlineOverlay': 'Yapılandır',
|
|
256
257
|
'fabric.editor.inlineTitle': 'Satır içi',
|
package/dist/cjs/i18n/uk.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': 'Інформація',
|
|
252
252
|
'fabric.editor.infoPanel': 'Панель з інформацією',
|
|
253
253
|
'fabric.editor.infoPanel.description': 'Панель із виділеною кольорами інформацією',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'Посилання для налаштування',
|
|
254
255
|
'fabric.editor.inlineDescription': 'Показати посилання як вбудований текст',
|
|
255
256
|
'fabric.editor.inlineOverlay': 'Налаштування',
|
|
256
257
|
'fabric.editor.inlineTitle': 'У рядку',
|
package/dist/cjs/i18n/vi.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': 'Thông tin',
|
|
252
252
|
'fabric.editor.infoPanel': 'Ô thông tin',
|
|
253
253
|
'fabric.editor.infoPanel.description': 'Bôi đậm thông tin bằng ô màu',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': 'Định cấu hình liên kết',
|
|
254
255
|
'fabric.editor.inlineDescription': 'Hiển thị liên kết dưới dạng văn bản nội tuyến',
|
|
255
256
|
'fabric.editor.inlineOverlay': 'Đặt cấu hình',
|
|
256
257
|
'fabric.editor.inlineTitle': 'Nội tuyến',
|
package/dist/cjs/i18n/zh.js
CHANGED
|
@@ -251,6 +251,7 @@ var _default = exports.default = {
|
|
|
251
251
|
'fabric.editor.info': '信息',
|
|
252
252
|
'fabric.editor.infoPanel': '信息面板',
|
|
253
253
|
'fabric.editor.infoPanel.description': '在彩色面板高亮显示信息',
|
|
254
|
+
'fabric.editor.inlineConfigureLink': '配置链接',
|
|
254
255
|
'fabric.editor.inlineDescription': '以内联文本显示链接',
|
|
255
256
|
'fabric.editor.inlineOverlay': '配置',
|
|
256
257
|
'fabric.editor.inlineTitle': '内联',
|
package/dist/cjs/i18n/zh_TW.js
CHANGED
|
@@ -136,6 +136,10 @@ var _default = exports.default = {
|
|
|
136
136
|
'fabric.editor.edit.searchInput': '新增連結',
|
|
137
137
|
'fabric.editor.editAltText': '編輯替代文字',
|
|
138
138
|
'fabric.editor.editDateText': '編輯日期',
|
|
139
|
+
'fabric.editor.editDropdownEditDatasourceTitle': '編輯搜尋查詢',
|
|
140
|
+
'fabric.editor.editDropdownEditLinkTitle': '編輯連結',
|
|
141
|
+
'fabric.editor.editDropdownExpandIconLabel': '展開下拉式選單',
|
|
142
|
+
'fabric.editor.editDropdownTriggerTitle': '編輯',
|
|
139
143
|
'fabric.editor.editLink': '編輯連結',
|
|
140
144
|
'fabric.editor.editMode.inviteToEditButton.title': '邀請編輯',
|
|
141
145
|
'fabric.editor.editStatusColor': '編輯狀態顏色',
|
|
@@ -251,6 +255,7 @@ var _default = exports.default = {
|
|
|
251
255
|
'fabric.editor.info': '資訊',
|
|
252
256
|
'fabric.editor.infoPanel': '資訊面板',
|
|
253
257
|
'fabric.editor.infoPanel.description': '以彩色面板醒目提示資訊',
|
|
258
|
+
'fabric.editor.inlineConfigureLink': '設定連結',
|
|
254
259
|
'fabric.editor.inlineDescription': '將連結顯示為內嵌文字',
|
|
255
260
|
'fabric.editor.inlineOverlay': '設定',
|
|
256
261
|
'fabric.editor.inlineTitle': '內嵌',
|
|
@@ -78,7 +78,7 @@ Object.defineProperty(exports, "UP", {
|
|
|
78
78
|
return _consts.UP;
|
|
79
79
|
}
|
|
80
80
|
});
|
|
81
|
-
exports.backspace = exports.altPaste = exports.alignRight = exports.alignLeft = exports.alignCenter = exports.addRowBefore = exports.addRowAfter = exports.addLink = exports.addInlineComment = exports.addColumnBefore = exports.addColumnAfter = exports.addAltText = exports.activateVideoControls = void 0;
|
|
81
|
+
exports.backspace = exports.altPaste = exports.alignRight = exports.alignLeft = exports.alignCenter = exports.addRowBeforeVO = exports.addRowBefore = exports.addRowAfterVO = exports.addRowAfter = exports.addLink = exports.addInlineComment = exports.addColumnBeforeVO = exports.addColumnBefore = exports.addColumnAfterVO = exports.addColumnAfter = exports.addAltText = exports.activateVideoControls = void 0;
|
|
82
82
|
exports.bindKeymapArrayWithCommand = bindKeymapArrayWithCommand;
|
|
83
83
|
exports.bindKeymapWithCommand = bindKeymapWithCommand;
|
|
84
84
|
exports.bindKeymapWithEditorCommand = bindKeymapWithEditorCommand;
|
|
@@ -100,8 +100,8 @@ Object.defineProperty(exports, "keymap", {
|
|
|
100
100
|
exports.makeKeyMapArrayWithCommon = makeKeyMapArrayWithCommon;
|
|
101
101
|
exports.makeKeyMapWithCommon = makeKeyMapWithCommon;
|
|
102
102
|
exports.makeKeymap = makeKeymap;
|
|
103
|
-
exports.
|
|
104
|
-
exports.toggleUnderline = exports.toggleTaskItemCheckbox = exports.toggleTable = exports.toggleSuperscript = exports.toggleSubscript = exports.toggleStrikethrough = exports.toggleOrderedList = void 0;
|
|
103
|
+
exports.toggleHeading3 = exports.toggleHeading2 = exports.toggleHeading1 = exports.toggleCode = exports.toggleBulletList = exports.toggleBold = exports.toggleBlockQuote = exports.tab = exports.submit = exports.startColumnResizing = exports.splitListItem = exports.splitCodeBlock = exports.space = exports.shiftTab = exports.shiftEnter = exports.shiftBackspace = exports.shiftArrowUp = exports.setNormalText = exports.selectTable = exports.selectRow = exports.selectColumn = exports.redo = exports.previousCell = exports.pastePlainText = exports.paste = exports.outdentList = exports.outdent = exports.openHelp = exports.nextCell = exports.navToFloatingToolbar = exports.navToEditorToolbar = exports.moveUp = exports.moveRowUp = exports.moveRowDown = exports.moveRight = exports.moveLeft = exports.moveDown = exports.moveColumnRight = exports.moveColumnLeft = void 0;
|
|
104
|
+
exports.toggleUnderline = exports.toggleTaskItemCheckbox = exports.toggleTable = exports.toggleSuperscript = exports.toggleSubscript = exports.toggleStrikethrough = exports.toggleOrderedList = exports.toggleItalic = exports.toggleHeading6 = exports.toggleHeading5 = exports.toggleHeading4 = void 0;
|
|
105
105
|
exports.tooltip = tooltip;
|
|
106
106
|
exports.undo = void 0;
|
|
107
107
|
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
@@ -177,6 +177,11 @@ var addRowBefore = exports.addRowBefore = makeKeyMapWithCommon('Add Row Above',
|
|
|
177
177
|
var addRowAfter = exports.addRowAfter = makeKeyMapWithCommon('Add Row Below', 'Ctrl-Alt-ArrowDown');
|
|
178
178
|
var addColumnAfter = exports.addColumnAfter = makeKeyMapWithCommon('Add Column After', 'Ctrl-Alt-ArrowRight');
|
|
179
179
|
var addColumnBefore = exports.addColumnBefore = makeKeyMapWithCommon('Add Column Before', 'Ctrl-Alt-ArrowLeft');
|
|
180
|
+
// The following few shortcuts that end in VO are added specifically for Voice Over users, as shortcuts that perform the same role when using Voice Over don't work because they conflict with default shortcuts in Voice Over
|
|
181
|
+
var addRowBeforeVO = exports.addRowBeforeVO = makeKeyMapWithCommon('Add Row Above', 'Mod-Alt-[');
|
|
182
|
+
var addRowAfterVO = exports.addRowAfterVO = makeKeyMapWithCommon('Add Row Below', 'Mod-Alt-]');
|
|
183
|
+
var addColumnAfterVO = exports.addColumnAfterVO = makeKeyMapWithCommon('Add Column After', 'Mod-Alt-=');
|
|
184
|
+
var addColumnBeforeVO = exports.addColumnBeforeVO = makeKeyMapWithCommon('Add Column Before', 'Mod-Alt--');
|
|
180
185
|
var moveColumnLeft = exports.moveColumnLeft = makeKeyMapWithCommon('Move Column Left', 'Ctrl-Alt-Shift-ArrowLeft');
|
|
181
186
|
var moveColumnRight = exports.moveColumnRight = makeKeyMapWithCommon('Move Column Right', 'Ctrl-Alt-Shift-ArrowRight');
|
|
182
187
|
var moveRowDown = exports.moveRowDown = makeKeyMapWithCommon('Move Row Down', 'Ctrl-Alt-Shift-ArrowDown');
|
|
@@ -172,13 +172,12 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
172
172
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "analyticSource", 'createLinkInlineDialog');
|
|
173
173
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "quickSearch", /*#__PURE__*/function () {
|
|
174
174
|
var _ref3 = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(input, items, quickSearchLimit) {
|
|
175
|
-
var
|
|
176
|
-
var _this$state, searchProvider, displayUrl, pluginState, queryVersion, perfStart, _pluginState$searchSe2, searchProviderResultItems, searchItems, perfStop, duration, _perfStop, _duration;
|
|
175
|
+
var _this$state, searchProvider, displayUrl, searchSessionId, queryVersion, perfStart, searchProviderResultItems, searchItems, perfStop, duration, _perfStop, _duration;
|
|
177
176
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
178
177
|
while (1) switch (_context.prev = _context.next) {
|
|
179
178
|
case 0:
|
|
180
179
|
_this$state = _this.state, searchProvider = _this$state.searchProvider, displayUrl = _this$state.displayUrl;
|
|
181
|
-
|
|
180
|
+
searchSessionId = _this.props.searchSessionId;
|
|
182
181
|
if (searchProvider) {
|
|
183
182
|
_context.next = 4;
|
|
184
183
|
break;
|
|
@@ -194,7 +193,7 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
194
193
|
queryLength: input.length,
|
|
195
194
|
queryVersion: queryVersion,
|
|
196
195
|
queryHash: (0, _utils2.sha1)(input),
|
|
197
|
-
searchSessionId:
|
|
196
|
+
searchSessionId: searchSessionId !== null && searchSessionId !== void 0 ? searchSessionId : '',
|
|
198
197
|
wordCount: (0, _utils2.wordCount)(input),
|
|
199
198
|
source: _this.analyticSource
|
|
200
199
|
},
|
|
@@ -237,7 +236,7 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
237
236
|
attributes: {
|
|
238
237
|
source: _this.analyticSource,
|
|
239
238
|
postQueryRequestDurationMs: duration,
|
|
240
|
-
searchSessionId:
|
|
239
|
+
searchSessionId: searchSessionId !== null && searchSessionId !== void 0 ? searchSessionId : '',
|
|
241
240
|
resultCount: searchProviderResultItems.length,
|
|
242
241
|
results: searchProviderResultItems.map(function (item) {
|
|
243
242
|
return {
|
|
@@ -443,7 +442,7 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
443
442
|
});
|
|
444
443
|
(0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleInsert", function (href, title, inputType, interaction) {
|
|
445
444
|
var _this$props2 = _this.props,
|
|
446
|
-
|
|
445
|
+
searchSessionId = _this$props2.searchSessionId,
|
|
447
446
|
onSubmit = _this$props2.onSubmit;
|
|
448
447
|
var _this$state5 = _this.state,
|
|
449
448
|
items = _this$state5.items,
|
|
@@ -454,7 +453,7 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
454
453
|
onSubmit(href, title, displayText, inputType);
|
|
455
454
|
}
|
|
456
455
|
if (interaction === 'click' || _this.isUrlPopulatedWithSelectedItem()) {
|
|
457
|
-
var
|
|
456
|
+
var _selectedItem$prefetc;
|
|
458
457
|
/**
|
|
459
458
|
* When it's a mouse click even or the selectedItem.url matches displayUrl, we think
|
|
460
459
|
* it's selected from the result list and fire the
|
|
@@ -466,7 +465,7 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
466
465
|
actionSubject: _analytics.ACTION_SUBJECT.SEARCH_RESULT,
|
|
467
466
|
attributes: {
|
|
468
467
|
source: _this.analyticSource,
|
|
469
|
-
searchSessionId:
|
|
468
|
+
searchSessionId: searchSessionId !== null && searchSessionId !== void 0 ? searchSessionId : '',
|
|
470
469
|
trigger: interaction,
|
|
471
470
|
resultCount: items.length,
|
|
472
471
|
selectedResultId: selectedItem.objectId,
|
|
@@ -535,9 +534,9 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
535
534
|
items = _this$state9.items,
|
|
536
535
|
selectedIndex = _this$state9.selectedIndex;
|
|
537
536
|
var _this$props3 = _this.props,
|
|
538
|
-
pluginState = _this$props3.pluginState,
|
|
539
537
|
view = _this$props3.view,
|
|
540
|
-
onEscapeCallback = _this$props3.onEscapeCallback
|
|
538
|
+
onEscapeCallback = _this$props3.onEscapeCallback,
|
|
539
|
+
searchSessionId = _this$props3.searchSessionId;
|
|
541
540
|
var keyCode = event.keyCode;
|
|
542
541
|
var KEY_CODE_ESCAPE = 27;
|
|
543
542
|
var KEY_CODE_ARROW_DOWN = 40;
|
|
@@ -564,7 +563,6 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
564
563
|
updatedIndex = selectedIndex > 0 ? selectedIndex - 1 : items.length - 1;
|
|
565
564
|
}
|
|
566
565
|
if ([KEY_CODE_ARROW_DOWN, KEY_CODE_ARROW_UP].includes(keyCode) && items[updatedIndex]) {
|
|
567
|
-
var _pluginState$searchSe4;
|
|
568
566
|
_this.setState({
|
|
569
567
|
selectedIndex: updatedIndex,
|
|
570
568
|
displayUrl: items[updatedIndex].url
|
|
@@ -574,7 +572,7 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
574
572
|
actionSubject: _analytics.ACTION_SUBJECT.SEARCH_RESULT,
|
|
575
573
|
attributes: {
|
|
576
574
|
source: _this.analyticSource,
|
|
577
|
-
searchSessionId:
|
|
575
|
+
searchSessionId: searchSessionId !== null && searchSessionId !== void 0 ? searchSessionId : '',
|
|
578
576
|
selectedResultId: items[updatedIndex].objectId,
|
|
579
577
|
selectedRelativePosition: updatedIndex
|
|
580
578
|
},
|
|
@@ -615,22 +613,20 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
615
613
|
key: "componentDidMount",
|
|
616
614
|
value: function () {
|
|
617
615
|
var _componentDidMount = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
|
618
|
-
var
|
|
619
|
-
|
|
620
|
-
_this2 = this;
|
|
621
|
-
var pluginState, _yield$Promise$all, _yield$Promise$all2, activityProvider, searchProvider;
|
|
616
|
+
var _this2 = this;
|
|
617
|
+
var _this$props5, timesViewed, inputMethod, searchSessionId, _yield$Promise$all, _yield$Promise$all2, activityProvider, searchProvider;
|
|
622
618
|
return _regenerator.default.wrap(function _callee4$(_context4) {
|
|
623
619
|
while (1) switch (_context4.prev = _context4.next) {
|
|
624
620
|
case 0:
|
|
625
|
-
|
|
621
|
+
_this$props5 = this.props, timesViewed = _this$props5.timesViewed, inputMethod = _this$props5.inputMethod, searchSessionId = _this$props5.searchSessionId;
|
|
626
622
|
document.addEventListener('mousedown', this.handleClickOutside);
|
|
627
623
|
this.fireAnalytics({
|
|
628
624
|
action: _analytics.ACTION.VIEWED,
|
|
629
625
|
actionSubject: _analytics.ACTION_SUBJECT.CREATE_LINK_INLINE_DIALOG,
|
|
630
626
|
attributes: {
|
|
631
|
-
timesViewed:
|
|
632
|
-
searchSessionId:
|
|
633
|
-
trigger:
|
|
627
|
+
timesViewed: timesViewed !== null && timesViewed !== void 0 ? timesViewed : 0,
|
|
628
|
+
searchSessionId: searchSessionId !== null && searchSessionId !== void 0 ? searchSessionId : '',
|
|
629
|
+
trigger: inputMethod !== null && inputMethod !== void 0 ? inputMethod : ''
|
|
634
630
|
},
|
|
635
631
|
eventType: _analytics.EVENT_TYPE.SCREEN
|
|
636
632
|
});
|
|
@@ -664,16 +660,15 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
664
660
|
}, {
|
|
665
661
|
key: "componentWillUnmount",
|
|
666
662
|
value: function componentWillUnmount() {
|
|
667
|
-
var
|
|
663
|
+
var searchSessionId = this.props.searchSessionId;
|
|
668
664
|
document.removeEventListener('mousedown', this.handleClickOutside);
|
|
669
665
|
if (!this.submitted) {
|
|
670
|
-
var _pluginState$searchSe6;
|
|
671
666
|
this.fireAnalytics({
|
|
672
667
|
action: _analytics.ACTION.DISMISSED,
|
|
673
668
|
actionSubject: _analytics.ACTION_SUBJECT.CREATE_LINK_INLINE_DIALOG,
|
|
674
669
|
attributes: {
|
|
675
670
|
source: this.analyticSource,
|
|
676
|
-
searchSessionId:
|
|
671
|
+
searchSessionId: searchSessionId !== null && searchSessionId !== void 0 ? searchSessionId : '',
|
|
677
672
|
trigger: 'blur'
|
|
678
673
|
},
|
|
679
674
|
eventType: _analytics.EVENT_TYPE.UI
|
|
@@ -684,11 +679,11 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
684
679
|
key: "getRecentItems",
|
|
685
680
|
value: function () {
|
|
686
681
|
var _getRecentItems = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee5(activityProvider, query) {
|
|
687
|
-
var
|
|
682
|
+
var searchSessionId, perfStart, activityRecentItems, _items2, perfStop, duration, _perfStop2, _duration2;
|
|
688
683
|
return _regenerator.default.wrap(function _callee5$(_context5) {
|
|
689
684
|
while (1) switch (_context5.prev = _context5.next) {
|
|
690
685
|
case 0:
|
|
691
|
-
|
|
686
|
+
searchSessionId = this.props.searchSessionId;
|
|
692
687
|
perfStart = performance.now();
|
|
693
688
|
_context5.prev = 2;
|
|
694
689
|
_context5.t0 = limit;
|
|
@@ -730,7 +725,7 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
730
725
|
attributes: {
|
|
731
726
|
source: this.analyticSource,
|
|
732
727
|
preQueryRequestDurationMs: duration,
|
|
733
|
-
searchSessionId:
|
|
728
|
+
searchSessionId: searchSessionId !== null && searchSessionId !== void 0 ? searchSessionId : '',
|
|
734
729
|
resultCount: _items2.length,
|
|
735
730
|
results: activityRecentItems.map(function (item) {
|
|
736
731
|
var _item$type;
|
|
@@ -831,9 +826,9 @@ var HyperlinkLinkAddToolbar = exports.HyperlinkLinkAddToolbar = /*#__PURE__*/fun
|
|
|
831
826
|
selectedIndex = _this$state11.selectedIndex,
|
|
832
827
|
displayUrl = _this$state11.displayUrl,
|
|
833
828
|
displayText = _this$state11.displayText;
|
|
834
|
-
var _this$
|
|
835
|
-
formatMessage = _this$
|
|
836
|
-
activityProvider = _this$
|
|
829
|
+
var _this$props6 = this.props,
|
|
830
|
+
formatMessage = _this$props6.intl.formatMessage,
|
|
831
|
+
activityProvider = _this$props6.activityProvider;
|
|
837
832
|
var formatClearLinkText = formatMessage(messages.clearLink);
|
|
838
833
|
var screenReaderDescriptionId = 'search-recent-links-field-description';
|
|
839
834
|
var linkSearchListId = 'hyperlink-search-list';
|