@atlaskit/editor-core 188.13.5 → 189.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 +16 -0
- package/dist/cjs/i18n/cs.js +0 -6
- package/dist/cjs/i18n/da.js +0 -6
- package/dist/cjs/i18n/de.js +0 -6
- package/dist/cjs/i18n/en.js +0 -6
- package/dist/cjs/i18n/en_GB.js +0 -6
- package/dist/cjs/i18n/en_ZZ.js +0 -6
- package/dist/cjs/i18n/es.js +0 -6
- package/dist/cjs/i18n/fi.js +0 -6
- package/dist/cjs/i18n/fr.js +0 -6
- package/dist/cjs/i18n/hu.js +0 -6
- package/dist/cjs/i18n/it.js +0 -6
- package/dist/cjs/i18n/ja.js +0 -6
- package/dist/cjs/i18n/ko.js +0 -6
- package/dist/cjs/i18n/nb.js +0 -6
- package/dist/cjs/i18n/nl.js +0 -6
- package/dist/cjs/i18n/pl.js +0 -6
- package/dist/cjs/i18n/pt_BR.js +0 -6
- package/dist/cjs/i18n/ru.js +0 -6
- package/dist/cjs/i18n/sv.js +0 -6
- package/dist/cjs/i18n/th.js +0 -6
- package/dist/cjs/i18n/tr.js +0 -6
- package/dist/cjs/i18n/uk.js +0 -6
- package/dist/cjs/i18n/vi.js +0 -6
- package/dist/cjs/i18n/zh.js +0 -6
- package/dist/cjs/i18n/zh_TW.js +0 -6
- package/dist/cjs/labs/next/presets/default.js +2 -2
- package/dist/cjs/plugins/expand/commands.js +84 -72
- package/dist/cjs/plugins/expand/index.js +10 -5
- package/dist/cjs/plugins/expand/nodeviews/index.js +8 -5
- package/dist/cjs/plugins/expand/pm-plugins/keymap.js +2 -1
- package/dist/cjs/plugins/expand/toolbar.js +6 -2
- package/dist/cjs/plugins/feedback-dialog/index.js +7 -4
- package/dist/cjs/plugins/index.js +0 -7
- package/dist/cjs/plugins/insert-block/ui/ToolbarInsertBlock/index.js +37 -32
- package/dist/cjs/plugins/tasks-and-decisions/commands.js +95 -89
- package/dist/cjs/plugins/tasks-and-decisions/index.js +10 -5
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/input-rules.js +41 -38
- package/dist/cjs/plugins/tasks-and-decisions/pm-plugins/keymaps.js +1 -1
- package/dist/cjs/plugins/tasks-and-decisions/ui/ToolbarDecision/index.js +9 -6
- package/dist/cjs/plugins/tasks-and-decisions/ui/ToolbarTask/index.js +9 -6
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/i18n/cs.js +0 -6
- package/dist/es2019/i18n/da.js +0 -6
- package/dist/es2019/i18n/de.js +0 -6
- package/dist/es2019/i18n/en.js +0 -6
- package/dist/es2019/i18n/en_GB.js +0 -6
- package/dist/es2019/i18n/en_ZZ.js +0 -6
- package/dist/es2019/i18n/es.js +0 -6
- package/dist/es2019/i18n/fi.js +0 -6
- package/dist/es2019/i18n/fr.js +0 -6
- package/dist/es2019/i18n/hu.js +0 -6
- package/dist/es2019/i18n/it.js +0 -6
- package/dist/es2019/i18n/ja.js +0 -6
- package/dist/es2019/i18n/ko.js +0 -6
- package/dist/es2019/i18n/nb.js +0 -6
- package/dist/es2019/i18n/nl.js +0 -6
- package/dist/es2019/i18n/pl.js +0 -6
- package/dist/es2019/i18n/pt_BR.js +0 -6
- package/dist/es2019/i18n/ru.js +0 -6
- package/dist/es2019/i18n/sv.js +0 -6
- package/dist/es2019/i18n/th.js +0 -6
- package/dist/es2019/i18n/tr.js +0 -6
- package/dist/es2019/i18n/uk.js +0 -6
- package/dist/es2019/i18n/vi.js +0 -6
- package/dist/es2019/i18n/zh.js +0 -6
- package/dist/es2019/i18n/zh_TW.js +0 -6
- package/dist/es2019/labs/next/presets/default.js +1 -1
- package/dist/es2019/plugins/expand/commands.js +17 -9
- package/dist/es2019/plugins/expand/index.js +11 -6
- package/dist/es2019/plugins/expand/nodeviews/index.js +8 -5
- package/dist/es2019/plugins/expand/pm-plugins/keymap.js +2 -1
- package/dist/es2019/plugins/expand/toolbar.js +7 -2
- package/dist/es2019/plugins/feedback-dialog/index.js +7 -4
- package/dist/es2019/plugins/index.js +0 -1
- package/dist/es2019/plugins/insert-block/ui/ToolbarInsertBlock/index.js +14 -10
- package/dist/es2019/plugins/tasks-and-decisions/commands.js +7 -7
- package/dist/es2019/plugins/tasks-and-decisions/index.js +12 -5
- package/dist/es2019/plugins/tasks-and-decisions/pm-plugins/input-rules.js +8 -8
- package/dist/es2019/plugins/tasks-and-decisions/pm-plugins/keymaps.js +1 -1
- package/dist/es2019/plugins/tasks-and-decisions/ui/ToolbarDecision/index.js +4 -2
- package/dist/es2019/plugins/tasks-and-decisions/ui/ToolbarTask/index.js +4 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/i18n/cs.js +0 -6
- package/dist/esm/i18n/da.js +0 -6
- package/dist/esm/i18n/de.js +0 -6
- package/dist/esm/i18n/en.js +0 -6
- package/dist/esm/i18n/en_GB.js +0 -6
- package/dist/esm/i18n/en_ZZ.js +0 -6
- package/dist/esm/i18n/es.js +0 -6
- package/dist/esm/i18n/fi.js +0 -6
- package/dist/esm/i18n/fr.js +0 -6
- package/dist/esm/i18n/hu.js +0 -6
- package/dist/esm/i18n/it.js +0 -6
- package/dist/esm/i18n/ja.js +0 -6
- package/dist/esm/i18n/ko.js +0 -6
- package/dist/esm/i18n/nb.js +0 -6
- package/dist/esm/i18n/nl.js +0 -6
- package/dist/esm/i18n/pl.js +0 -6
- package/dist/esm/i18n/pt_BR.js +0 -6
- package/dist/esm/i18n/ru.js +0 -6
- package/dist/esm/i18n/sv.js +0 -6
- package/dist/esm/i18n/th.js +0 -6
- package/dist/esm/i18n/tr.js +0 -6
- package/dist/esm/i18n/uk.js +0 -6
- package/dist/esm/i18n/vi.js +0 -6
- package/dist/esm/i18n/zh.js +0 -6
- package/dist/esm/i18n/zh_TW.js +0 -6
- package/dist/esm/labs/next/presets/default.js +1 -1
- package/dist/esm/plugins/expand/commands.js +84 -72
- package/dist/esm/plugins/expand/index.js +11 -6
- package/dist/esm/plugins/expand/nodeviews/index.js +8 -5
- package/dist/esm/plugins/expand/pm-plugins/keymap.js +2 -1
- package/dist/esm/plugins/expand/toolbar.js +6 -2
- package/dist/esm/plugins/feedback-dialog/index.js +7 -4
- package/dist/esm/plugins/index.js +0 -1
- package/dist/esm/plugins/insert-block/ui/ToolbarInsertBlock/index.js +37 -32
- package/dist/esm/plugins/tasks-and-decisions/commands.js +95 -89
- package/dist/esm/plugins/tasks-and-decisions/index.js +10 -5
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/input-rules.js +40 -36
- package/dist/esm/plugins/tasks-and-decisions/pm-plugins/keymaps.js +1 -1
- package/dist/esm/plugins/tasks-and-decisions/ui/ToolbarDecision/index.js +9 -6
- package/dist/esm/plugins/tasks-and-decisions/ui/ToolbarTask/index.js +9 -6
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/i18n/cs.d.ts +0 -6
- package/dist/types/i18n/da.d.ts +0 -6
- package/dist/types/i18n/de.d.ts +0 -6
- package/dist/types/i18n/en.d.ts +0 -6
- package/dist/types/i18n/en_GB.d.ts +0 -6
- package/dist/types/i18n/en_ZZ.d.ts +0 -6
- package/dist/types/i18n/es.d.ts +0 -6
- package/dist/types/i18n/fi.d.ts +0 -6
- package/dist/types/i18n/fr.d.ts +0 -6
- package/dist/types/i18n/hu.d.ts +0 -6
- package/dist/types/i18n/it.d.ts +0 -6
- package/dist/types/i18n/ja.d.ts +0 -6
- package/dist/types/i18n/ko.d.ts +0 -6
- package/dist/types/i18n/nb.d.ts +0 -6
- package/dist/types/i18n/nl.d.ts +0 -6
- package/dist/types/i18n/pl.d.ts +0 -6
- package/dist/types/i18n/pt_BR.d.ts +0 -6
- package/dist/types/i18n/ru.d.ts +0 -6
- package/dist/types/i18n/sv.d.ts +0 -6
- package/dist/types/i18n/th.d.ts +0 -6
- package/dist/types/i18n/tr.d.ts +0 -6
- package/dist/types/i18n/uk.d.ts +0 -6
- package/dist/types/i18n/vi.d.ts +0 -6
- package/dist/types/i18n/zh.d.ts +0 -6
- package/dist/types/i18n/zh_TW.d.ts +0 -6
- package/dist/types/labs/next/presets/default.d.ts +4 -4
- package/dist/types/plugins/code-block/index.d.ts +2 -2
- package/dist/types/plugins/expand/commands.d.ts +6 -5
- package/dist/types/plugins/expand/index.d.ts +12 -5
- package/dist/types/plugins/expand/toolbar.d.ts +3 -3
- package/dist/types/plugins/feedback-dialog/index.d.ts +5 -2
- package/dist/types/plugins/index.d.ts +0 -1
- package/dist/types/plugins/insert-block/types.d.ts +13 -11
- package/dist/types/plugins/tasks-and-decisions/commands.d.ts +5 -4
- package/dist/types/plugins/tasks-and-decisions/pm-plugins/input-rules.d.ts +2 -1
- package/dist/types/plugins/tasks-and-decisions/ui/ToolbarDecision/index.d.ts +3 -0
- package/dist/types/plugins/tasks-and-decisions/ui/ToolbarTask/index.d.ts +3 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -6
- package/dist/types-ts4.5/i18n/da.d.ts +0 -6
- package/dist/types-ts4.5/i18n/de.d.ts +0 -6
- package/dist/types-ts4.5/i18n/en.d.ts +0 -6
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -6
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -6
- package/dist/types-ts4.5/i18n/es.d.ts +0 -6
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -6
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -6
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -6
- package/dist/types-ts4.5/i18n/it.d.ts +0 -6
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -6
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -6
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -6
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -6
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -6
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -6
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -6
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -6
- package/dist/types-ts4.5/i18n/th.d.ts +0 -6
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -6
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -6
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -6
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -6
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -6
- package/dist/types-ts4.5/labs/next/presets/default.d.ts +4 -4
- package/dist/types-ts4.5/plugins/code-block/index.d.ts +2 -2
- package/dist/types-ts4.5/plugins/expand/commands.d.ts +6 -5
- package/dist/types-ts4.5/plugins/expand/index.d.ts +12 -5
- package/dist/types-ts4.5/plugins/expand/toolbar.d.ts +3 -3
- package/dist/types-ts4.5/plugins/feedback-dialog/index.d.ts +7 -2
- package/dist/types-ts4.5/plugins/index.d.ts +0 -1
- package/dist/types-ts4.5/plugins/insert-block/types.d.ts +13 -11
- package/dist/types-ts4.5/plugins/tasks-and-decisions/commands.d.ts +5 -4
- package/dist/types-ts4.5/plugins/tasks-and-decisions/pm-plugins/input-rules.d.ts +2 -1
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarDecision/index.d.ts +3 -0
- package/dist/types-ts4.5/plugins/tasks-and-decisions/ui/ToolbarTask/index.d.ts +3 -0
- package/package.json +3 -2
- package/dist/cjs/plugins/submit-editor/index.js +0 -64
- package/dist/es2019/plugins/submit-editor/index.js +0 -53
- package/dist/esm/plugins/submit-editor/index.js +0 -56
- package/dist/types/plugins/submit-editor/index.d.ts +0 -14
- package/dist/types-ts4.5/plugins/submit-editor/index.d.ts +0 -16
|
@@ -2,9 +2,14 @@ import RemoveIcon from '@atlaskit/icon/glyph/editor/remove';
|
|
|
2
2
|
import commonMessages from '../../messages';
|
|
3
3
|
import { deleteExpand } from './commands';
|
|
4
4
|
import { getPluginState } from './pm-plugins/plugin-factory';
|
|
5
|
-
export const getToolbarConfig =
|
|
5
|
+
export const getToolbarConfig = api => (state, {
|
|
6
6
|
formatMessage
|
|
7
7
|
}) => {
|
|
8
|
+
var _api$decorations$acti, _api$decorations, _api$analytics;
|
|
9
|
+
const {
|
|
10
|
+
hoverDecoration
|
|
11
|
+
} = (_api$decorations$acti = api === null || api === void 0 ? void 0 : (_api$decorations = api.decorations) === null || _api$decorations === void 0 ? void 0 : _api$decorations.actions) !== null && _api$decorations$acti !== void 0 ? _api$decorations$acti : {};
|
|
12
|
+
const editorAnalyticsAPI = api === null || api === void 0 ? void 0 : (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions;
|
|
8
13
|
const {
|
|
9
14
|
expandRef
|
|
10
15
|
} = getPluginState(state);
|
|
@@ -33,7 +38,7 @@ export const getToolbarConfig = hoverDecoration => (state, {
|
|
|
33
38
|
appearance: 'danger',
|
|
34
39
|
focusEditoronEnter: true,
|
|
35
40
|
icon: RemoveIcon,
|
|
36
|
-
onClick: deleteExpand(),
|
|
41
|
+
onClick: deleteExpand(editorAnalyticsAPI),
|
|
37
42
|
onMouseEnter: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration([nestedExpand, expand], true),
|
|
38
43
|
onMouseLeave: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration([nestedExpand, expand], false),
|
|
39
44
|
onFocus: hoverDecoration === null || hoverDecoration === void 0 ? void 0 : hoverDecoration([nestedExpand, expand], true),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IconFeedback } from '@atlaskit/editor-common/quick-insert';
|
|
3
3
|
import { version as coreVersion } from '../../version-wrapper';
|
|
4
|
-
import {
|
|
4
|
+
import { ACTION, ACTION_SUBJECT, INPUT_METHOD, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
5
5
|
import loadJiraCollectorDialogScript from './loadJiraCollectorDialogScript';
|
|
6
6
|
import { messages } from '../insert-block/ui/ToolbarInsertBlock/messages';
|
|
7
7
|
let showJiraCollectorDialog;
|
|
@@ -45,7 +45,8 @@ export const openFeedbackDialog = async feedbackInfo => new Promise(async (resol
|
|
|
45
45
|
resolve(timeoutId);
|
|
46
46
|
});
|
|
47
47
|
const feedbackDialog = ({
|
|
48
|
-
config: feedbackInfo
|
|
48
|
+
config: feedbackInfo,
|
|
49
|
+
api
|
|
49
50
|
}) => {
|
|
50
51
|
defaultFeedbackInfo = feedbackInfo !== null && feedbackInfo !== void 0 ? feedbackInfo : {};
|
|
51
52
|
return {
|
|
@@ -61,16 +62,18 @@ const feedbackDialog = ({
|
|
|
61
62
|
keywords: ['bug'],
|
|
62
63
|
icon: () => /*#__PURE__*/React.createElement(IconFeedback, null),
|
|
63
64
|
action(insert, state) {
|
|
65
|
+
var _api$analytics;
|
|
64
66
|
const tr = insert('');
|
|
65
67
|
openFeedbackDialog(feedbackInfo);
|
|
66
|
-
|
|
68
|
+
api === null || api === void 0 ? void 0 : (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions.attachAnalyticsEvent({
|
|
67
69
|
action: ACTION.OPENED,
|
|
68
70
|
actionSubject: ACTION_SUBJECT.FEEDBACK_DIALOG,
|
|
69
71
|
attributes: {
|
|
70
72
|
inputMethod: INPUT_METHOD.QUICK_INSERT
|
|
71
73
|
},
|
|
72
74
|
eventType: EVENT_TYPE.UI
|
|
73
|
-
});
|
|
75
|
+
})(tr);
|
|
76
|
+
return tr;
|
|
74
77
|
}
|
|
75
78
|
}]
|
|
76
79
|
}
|
|
@@ -12,7 +12,6 @@ export { default as maxContentSizePlugin } from './max-content-size';
|
|
|
12
12
|
export { default as panelPlugin } from './panel';
|
|
13
13
|
export { default as pastePlugin } from './paste';
|
|
14
14
|
export { default as placeholderTextPlugin } from './placeholder-text';
|
|
15
|
-
export { default as submitEditorPlugin } from './submit-editor';
|
|
16
15
|
export { default as tasksAndDecisionsPlugin } from './tasks-and-decisions';
|
|
17
16
|
export { default as textColorPlugin } from './text-color';
|
|
18
17
|
export { default as breakoutPlugin } from './breakout';
|
|
@@ -11,7 +11,6 @@ import { separatorStyles, buttonGroupStyle, wrapperStyle } from '@atlaskit/edito
|
|
|
11
11
|
import { akEditorMenuZIndex } from '@atlaskit/editor-shared-styles';
|
|
12
12
|
import { showPlaceholderFloatingToolbar } from '../../../placeholder-text/actions';
|
|
13
13
|
import { insertTaskDecisionCommand } from '../../../tasks-and-decisions/commands';
|
|
14
|
-
import { insertExpand } from '../../../expand/commands';
|
|
15
14
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
16
15
|
import { messages } from './messages';
|
|
17
16
|
import { createItems } from './create-items';
|
|
@@ -242,7 +241,7 @@ export class ToolbarInsertBlock extends React.PureComponent {
|
|
|
242
241
|
}
|
|
243
242
|
return true;
|
|
244
243
|
});
|
|
245
|
-
_defineProperty(this, "insertTaskDecision", (name, inputMethod) => () => {
|
|
244
|
+
_defineProperty(this, "insertTaskDecision", editorAnalyticsAPI => (name, inputMethod) => () => {
|
|
246
245
|
const {
|
|
247
246
|
editorView: {
|
|
248
247
|
state,
|
|
@@ -250,7 +249,7 @@ export class ToolbarInsertBlock extends React.PureComponent {
|
|
|
250
249
|
}
|
|
251
250
|
} = this.props;
|
|
252
251
|
const listType = name === 'action' ? 'taskList' : 'decisionList';
|
|
253
|
-
return insertTaskDecisionCommand(listType, inputMethod)(state, dispatch);
|
|
252
|
+
return insertTaskDecisionCommand(editorAnalyticsAPI)(listType, inputMethod)(state, dispatch);
|
|
254
253
|
});
|
|
255
254
|
_defineProperty(this, "insertHorizontalRule", inputMethod => {
|
|
256
255
|
var _pluginInjectionApi$r, _pluginInjectionApi$r2;
|
|
@@ -264,11 +263,15 @@ export class ToolbarInsertBlock extends React.PureComponent {
|
|
|
264
263
|
return (_pluginInjectionApi$r = pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$r2 = pluginInjectionApi.rule) === null || _pluginInjectionApi$r2 === void 0 ? void 0 : _pluginInjectionApi$r2.actions.insertHorizontalRule(inputMethod)(state, dispatch)) !== null && _pluginInjectionApi$r !== void 0 ? _pluginInjectionApi$r : false;
|
|
265
264
|
});
|
|
266
265
|
_defineProperty(this, "insertExpand", () => {
|
|
266
|
+
var _pluginInjectionApi$e, _pluginInjectionApi$e2;
|
|
267
267
|
const {
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
268
|
+
editorView: {
|
|
269
|
+
state,
|
|
270
|
+
dispatch
|
|
271
|
+
},
|
|
272
|
+
pluginInjectionApi
|
|
273
|
+
} = this.props;
|
|
274
|
+
return (_pluginInjectionApi$e = pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : (_pluginInjectionApi$e2 = pluginInjectionApi.expand) === null || _pluginInjectionApi$e2 === void 0 ? void 0 : _pluginInjectionApi$e2.actions.insertExpand(state, dispatch)) !== null && _pluginInjectionApi$e !== void 0 ? _pluginInjectionApi$e : false;
|
|
272
275
|
});
|
|
273
276
|
_defineProperty(this, "insertBlockType", itemName => () => {
|
|
274
277
|
const {
|
|
@@ -283,12 +286,12 @@ export class ToolbarInsertBlock extends React.PureComponent {
|
|
|
283
286
|
return true;
|
|
284
287
|
});
|
|
285
288
|
_defineProperty(this, "handleSelectedEmoji", emojiId => {
|
|
286
|
-
var _pluginInjectionApi$
|
|
289
|
+
var _pluginInjectionApi$e3;
|
|
287
290
|
const {
|
|
288
291
|
pluginInjectionApi
|
|
289
292
|
} = this.props;
|
|
290
293
|
this.props.editorView.focus();
|
|
291
|
-
pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.core.actions.execute((_pluginInjectionApi$
|
|
294
|
+
pluginInjectionApi === null || pluginInjectionApi === void 0 ? void 0 : pluginInjectionApi.core.actions.execute((_pluginInjectionApi$e3 = pluginInjectionApi.emoji) === null || _pluginInjectionApi$e3 === void 0 ? void 0 : _pluginInjectionApi$e3.commands.insertEmoji(emojiId, INPUT_METHOD.PICKER));
|
|
292
295
|
this.toggleEmojiPicker();
|
|
293
296
|
return true;
|
|
294
297
|
});
|
|
@@ -303,6 +306,7 @@ export class ToolbarInsertBlock extends React.PureComponent {
|
|
|
303
306
|
item,
|
|
304
307
|
inputMethod
|
|
305
308
|
}) => {
|
|
309
|
+
var _this$props$pluginInj, _this$props$pluginInj2;
|
|
306
310
|
const {
|
|
307
311
|
editorView,
|
|
308
312
|
editorActions,
|
|
@@ -346,7 +350,7 @@ export class ToolbarInsertBlock extends React.PureComponent {
|
|
|
346
350
|
break;
|
|
347
351
|
case 'action':
|
|
348
352
|
case 'decision':
|
|
349
|
-
this.insertTaskDecision(item.value.name, inputMethod)();
|
|
353
|
+
this.insertTaskDecision((_this$props$pluginInj = this.props.pluginInjectionApi) === null || _this$props$pluginInj === void 0 ? void 0 : (_this$props$pluginInj2 = _this$props$pluginInj.analytics) === null || _this$props$pluginInj2 === void 0 ? void 0 : _this$props$pluginInj2.actions)(item.value.name, inputMethod)();
|
|
350
354
|
break;
|
|
351
355
|
case 'horizontalrule':
|
|
352
356
|
this.insertHorizontalRule(inputMethod);
|
|
@@ -3,7 +3,7 @@ import { TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
|
3
3
|
import { findParentNodeOfType, hasParentNodeOfType, replaceParentNodeOfType, safeInsert, setTextSelection } from '@atlaskit/editor-prosemirror/utils';
|
|
4
4
|
import { liftTarget } from '@atlaskit/editor-prosemirror/transform';
|
|
5
5
|
import { uuid } from '@atlaskit/adf-schema';
|
|
6
|
-
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID,
|
|
6
|
+
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD, USER_CONTEXT } from '@atlaskit/editor-common/analytics';
|
|
7
7
|
import { GapCursorSelection } from '@atlaskit/editor-common/selection';
|
|
8
8
|
import { stateKey as taskDecisionStateKey } from './pm-plugins/plugin-key';
|
|
9
9
|
import { autoJoinTr } from '@atlaskit/editor-common/utils';
|
|
@@ -65,7 +65,7 @@ export const getListTypes = (listType, schema) => {
|
|
|
65
65
|
item: decisionItem
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
|
-
export const insertTaskDecisionAction = (state, listType, inputMethod = INPUT_METHOD.TOOLBAR, addItem, listLocalId, itemLocalId, itemAttrs) => {
|
|
68
|
+
export const insertTaskDecisionAction = editorAnalyticsAPI => (state, listType, inputMethod = INPUT_METHOD.TOOLBAR, addItem, listLocalId, itemLocalId, itemAttrs) => {
|
|
69
69
|
const {
|
|
70
70
|
schema
|
|
71
71
|
} = state;
|
|
@@ -95,21 +95,21 @@ export const insertTaskDecisionAction = (state, listType, inputMethod = INPUT_ME
|
|
|
95
95
|
}]).setSelection(new TextSelection(tr.doc.resolve(newItemParagraphPos)));
|
|
96
96
|
};
|
|
97
97
|
const addAndCreateListFn = addItem !== null && addItem !== void 0 ? addItem : addAndCreateList;
|
|
98
|
-
const tr = insertTaskDecisionWithAnalytics(state, listType, inputMethod, addAndCreateListFn, addToList, listLocalId, itemLocalId, itemAttrs);
|
|
98
|
+
const tr = insertTaskDecisionWithAnalytics(editorAnalyticsAPI)(state, listType, inputMethod, addAndCreateListFn, addToList, listLocalId, itemLocalId, itemAttrs);
|
|
99
99
|
if (!tr) {
|
|
100
100
|
return state.tr;
|
|
101
101
|
}
|
|
102
102
|
autoJoinTr(tr, ['taskList', 'decisionList']);
|
|
103
103
|
return tr;
|
|
104
104
|
};
|
|
105
|
-
export const insertTaskDecisionCommand = (listType, inputMethod = INPUT_METHOD.TOOLBAR, addItem, listLocalId, itemLocalId) => (state, dispatch) => {
|
|
106
|
-
const tr = insertTaskDecisionAction(state, listType, inputMethod, addItem, listLocalId, itemLocalId);
|
|
105
|
+
export const insertTaskDecisionCommand = editorAnalyticsAPI => (listType, inputMethod = INPUT_METHOD.TOOLBAR, addItem, listLocalId, itemLocalId) => (state, dispatch) => {
|
|
106
|
+
const tr = insertTaskDecisionAction(editorAnalyticsAPI)(state, listType, inputMethod, addItem, listLocalId, itemLocalId);
|
|
107
107
|
if (dispatch) {
|
|
108
108
|
dispatch(tr);
|
|
109
109
|
}
|
|
110
110
|
return true;
|
|
111
111
|
};
|
|
112
|
-
export const insertTaskDecisionWithAnalytics = (state, listType, inputMethod, addAndCreateList, addToList, listLocalId, itemLocalId, itemAttrs) => {
|
|
112
|
+
export const insertTaskDecisionWithAnalytics = editorAnalyticsAPI => (state, listType, inputMethod, addAndCreateList, addToList, listLocalId, itemLocalId, itemAttrs) => {
|
|
113
113
|
const {
|
|
114
114
|
schema
|
|
115
115
|
} = state;
|
|
@@ -154,7 +154,7 @@ export const insertTaskDecisionWithAnalytics = (state, listType, inputMethod, ad
|
|
|
154
154
|
itemAttrs
|
|
155
155
|
});
|
|
156
156
|
if (insertTr) {
|
|
157
|
-
|
|
157
|
+
editorAnalyticsAPI === null || editorAnalyticsAPI === void 0 ? void 0 : editorAnalyticsAPI.attachAnalyticsEvent(generateAnalyticsPayload(listType, contextData, inputMethod, itemLocalId, listLocalId, itemIdx || 0, listSize || 0))(insertTr);
|
|
158
158
|
}
|
|
159
159
|
return insertTr;
|
|
160
160
|
}
|
|
@@ -67,7 +67,10 @@ const tasksAndDecisionsPlugin = ({
|
|
|
67
67
|
plugin: ({
|
|
68
68
|
schema,
|
|
69
69
|
featureFlags
|
|
70
|
-
}) =>
|
|
70
|
+
}) => {
|
|
71
|
+
var _api$analytics;
|
|
72
|
+
return inputRulePlugin(api === null || api === void 0 ? void 0 : (_api$analytics = api.analytics) === null || _api$analytics === void 0 ? void 0 : _api$analytics.actions)(schema, featureFlags);
|
|
73
|
+
}
|
|
71
74
|
}, {
|
|
72
75
|
name: 'tasksAndDecisionsKeyMap',
|
|
73
76
|
plugin: ({
|
|
@@ -86,11 +89,13 @@ const tasksAndDecisionsPlugin = ({
|
|
|
86
89
|
}, jsx(ToolbarDecision, {
|
|
87
90
|
editorView: editorView,
|
|
88
91
|
isDisabled: disabled,
|
|
89
|
-
isReducedSpacing: true
|
|
92
|
+
isReducedSpacing: true,
|
|
93
|
+
editorAPI: api
|
|
90
94
|
}), jsx(ToolbarTask, {
|
|
91
95
|
editorView: editorView,
|
|
92
96
|
isDisabled: disabled,
|
|
93
|
-
isReducedSpacing: true
|
|
97
|
+
isReducedSpacing: true,
|
|
98
|
+
editorAPI: api
|
|
94
99
|
}));
|
|
95
100
|
},
|
|
96
101
|
pluginsOptions: {
|
|
@@ -105,7 +110,8 @@ const tasksAndDecisionsPlugin = ({
|
|
|
105
110
|
keyshortcut: '[]',
|
|
106
111
|
icon: () => jsx(IconAction, null),
|
|
107
112
|
action(insert, state) {
|
|
108
|
-
|
|
113
|
+
var _api$analytics2;
|
|
114
|
+
return insertTaskDecisionAction(api === null || api === void 0 ? void 0 : (_api$analytics2 = api.analytics) === null || _api$analytics2 === void 0 ? void 0 : _api$analytics2.actions)(state, 'taskList', INPUT_METHOD.QUICK_INSERT, addItem(insert, 'taskList', state.schema));
|
|
109
115
|
}
|
|
110
116
|
}, {
|
|
111
117
|
id: 'decision',
|
|
@@ -115,7 +121,8 @@ const tasksAndDecisionsPlugin = ({
|
|
|
115
121
|
keyshortcut: '<>',
|
|
116
122
|
icon: () => jsx(IconDecision, null),
|
|
117
123
|
action(insert, state) {
|
|
118
|
-
|
|
124
|
+
var _api$analytics3;
|
|
125
|
+
return insertTaskDecisionAction(api === null || api === void 0 ? void 0 : (_api$analytics3 = api.analytics) === null || _api$analytics3 === void 0 ? void 0 : _api$analytics3.actions)(state, 'decisionList', INPUT_METHOD.QUICK_INSERT, addItem(insert, 'decisionList', state.schema));
|
|
119
126
|
}
|
|
120
127
|
}]
|
|
121
128
|
}
|
|
@@ -2,9 +2,9 @@ import { NodeSelection, TextSelection } from '@atlaskit/editor-prosemirror/state
|
|
|
2
2
|
import { canInsert } from '@atlaskit/editor-prosemirror/utils';
|
|
3
3
|
import { createRule, createPlugin } from '@atlaskit/prosemirror-input-rules';
|
|
4
4
|
import { leafNodeReplacementCharacter } from '@atlaskit/prosemirror-input-rules';
|
|
5
|
-
import { INPUT_METHOD } from '
|
|
5
|
+
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
6
6
|
import { changeInDepth, insertTaskDecisionAction, getListTypes } from '../commands';
|
|
7
|
-
const createListRule = (regex, listType, itemAttrs) => {
|
|
7
|
+
const createListRule = editorAnalyticsAPI => (regex, listType, itemAttrs) => {
|
|
8
8
|
return createRule(regex, (state, _match, start, end) => {
|
|
9
9
|
const {
|
|
10
10
|
paragraph
|
|
@@ -19,7 +19,7 @@ const createListRule = (regex, listType, itemAttrs) => {
|
|
|
19
19
|
if ($end.parent.type !== paragraph || !canInsert($endOfParent, list.createAndFill())) {
|
|
20
20
|
return null;
|
|
21
21
|
}
|
|
22
|
-
const insertTr = insertTaskDecisionAction(state, listType, INPUT_METHOD.FORMATTING, addItem(start, end), undefined, undefined, itemAttrs);
|
|
22
|
+
const insertTr = insertTaskDecisionAction(editorAnalyticsAPI)(state, listType, INPUT_METHOD.FORMATTING, addItem(start, end), undefined, undefined, itemAttrs);
|
|
23
23
|
return insertTr;
|
|
24
24
|
});
|
|
25
25
|
};
|
|
@@ -68,7 +68,7 @@ const addItem = (start, end) => ({
|
|
|
68
68
|
}
|
|
69
69
|
return tr;
|
|
70
70
|
};
|
|
71
|
-
export
|
|
71
|
+
export const inputRulePlugin = editorAnalyticsAPI => (schema, featureFlags) => {
|
|
72
72
|
const rules = [];
|
|
73
73
|
const {
|
|
74
74
|
decisionList,
|
|
@@ -77,16 +77,16 @@ export function inputRulePlugin(schema, featureFlags) {
|
|
|
77
77
|
taskItem
|
|
78
78
|
} = schema.nodes;
|
|
79
79
|
if (decisionList && decisionItem) {
|
|
80
|
-
rules.push(createListRule(new RegExp(`(^|${leafNodeReplacementCharacter})\\<\\>\\s$`), 'decisionList'));
|
|
80
|
+
rules.push(createListRule(editorAnalyticsAPI)(new RegExp(`(^|${leafNodeReplacementCharacter})\\<\\>\\s$`), 'decisionList'));
|
|
81
81
|
}
|
|
82
82
|
if (taskList && taskItem) {
|
|
83
|
-
rules.push(createListRule(new RegExp(`(^|${leafNodeReplacementCharacter})\\[\\]\\s$`), 'taskList'));
|
|
84
|
-
rules.push(createListRule(new RegExp(`(^|${leafNodeReplacementCharacter})\\[x\\]\\s$`), 'taskList', {
|
|
83
|
+
rules.push(createListRule(editorAnalyticsAPI)(new RegExp(`(^|${leafNodeReplacementCharacter})\\[\\]\\s$`), 'taskList'));
|
|
84
|
+
rules.push(createListRule(editorAnalyticsAPI)(new RegExp(`(^|${leafNodeReplacementCharacter})\\[x\\]\\s$`), 'taskList', {
|
|
85
85
|
state: 'DONE'
|
|
86
86
|
}));
|
|
87
87
|
}
|
|
88
88
|
return createPlugin('tasks-and-decisions', rules, {
|
|
89
89
|
isBlockNodeRule: true
|
|
90
90
|
});
|
|
91
|
-
}
|
|
91
|
+
};
|
|
92
92
|
export default inputRulePlugin;
|
|
@@ -308,7 +308,7 @@ const enter = editorAnalyticsAPI => filter(isInsideTaskOrDecisionItem, chainComm
|
|
|
308
308
|
}
|
|
309
309
|
}]);
|
|
310
310
|
};
|
|
311
|
-
const insertTr = insertTaskDecisionWithAnalytics(state, listType, INPUT_METHOD.KEYBOARD, addItem);
|
|
311
|
+
const insertTr = insertTaskDecisionWithAnalytics(editorAnalyticsAPI)(state, listType, INPUT_METHOD.KEYBOARD, addItem);
|
|
312
312
|
if (insertTr && dispatch) {
|
|
313
313
|
insertTr.scrollIntoView();
|
|
314
314
|
dispatch(insertTr);
|
|
@@ -12,13 +12,15 @@ export class ToolbarDecision extends PureComponent {
|
|
|
12
12
|
disabled: false
|
|
13
13
|
});
|
|
14
14
|
_defineProperty(this, "handleInsertDecision", () => {
|
|
15
|
+
var _editorAPI$analytics;
|
|
15
16
|
const {
|
|
16
|
-
editorView
|
|
17
|
+
editorView,
|
|
18
|
+
editorAPI
|
|
17
19
|
} = this.props;
|
|
18
20
|
if (!editorView) {
|
|
19
21
|
return false;
|
|
20
22
|
}
|
|
21
|
-
insertTaskDecisionCommand('decisionList')(editorView.state, editorView.dispatch);
|
|
23
|
+
insertTaskDecisionCommand(editorAPI === null || editorAPI === void 0 ? void 0 : (_editorAPI$analytics = editorAPI.analytics) === null || _editorAPI$analytics === void 0 ? void 0 : _editorAPI$analytics.actions)('decisionList')(editorView.state, editorView.dispatch);
|
|
22
24
|
return true;
|
|
23
25
|
});
|
|
24
26
|
}
|
|
@@ -12,13 +12,15 @@ export class ToolbarTask extends PureComponent {
|
|
|
12
12
|
disabled: false
|
|
13
13
|
});
|
|
14
14
|
_defineProperty(this, "handleInsertTask", () => {
|
|
15
|
+
var _editorAPI$analytics;
|
|
15
16
|
const {
|
|
16
|
-
editorView
|
|
17
|
+
editorView,
|
|
18
|
+
editorAPI
|
|
17
19
|
} = this.props;
|
|
18
20
|
if (!editorView) {
|
|
19
21
|
return false;
|
|
20
22
|
}
|
|
21
|
-
insertTaskDecisionCommand('taskList')(editorView.state, editorView.dispatch);
|
|
23
|
+
insertTaskDecisionCommand(editorAPI === null || editorAPI === void 0 ? void 0 : (_editorAPI$analytics = editorAPI.analytics) === null || _editorAPI$analytics === void 0 ? void 0 : _editorAPI$analytics.actions)('taskList')(editorView.state, editorView.dispatch);
|
|
22
24
|
return true;
|
|
23
25
|
});
|
|
24
26
|
}
|
package/dist/esm/i18n/cs.js
CHANGED
|
@@ -32,7 +32,6 @@ export default {
|
|
|
32
32
|
'fabric.editor.configPanel.submit': 'Odeslat',
|
|
33
33
|
'fabric.editor.decisionPlaceholder': 'Přidat rozhodnutí...',
|
|
34
34
|
'fabric.editor.edit': 'Upravit',
|
|
35
|
-
'fabric.editor.editDateText': 'Upravit datum',
|
|
36
35
|
'fabric.editor.editorAssistiveLabel': 'Hlavní oblast obsahu. Začněte psát, abyste zadali text.',
|
|
37
36
|
'fabric.editor.editors': 'Editoři',
|
|
38
37
|
'fabric.editor.error': 'Chyba',
|
|
@@ -49,13 +48,8 @@ export default {
|
|
|
49
48
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Otevřít dialog nápovědy',
|
|
50
49
|
'fabric.editor.indent': 'Zvětšit odsazení',
|
|
51
50
|
'fabric.editor.info': 'Informace',
|
|
52
|
-
'fabric.editor.invalidDateError': 'Zadejte platné datum.',
|
|
53
|
-
'fabric.editor.inviteItem.title': '{userRole, select, admin {Pozvat týmového kolegu do produktu {productName}} trusted {Pozvat týmového kolegu do produktu {productName}} other {Přidat týmového kolegu do produktu {productName}}}',
|
|
54
51
|
'fabric.editor.leftSidebar': 'Levý postranní panel',
|
|
55
52
|
'fabric.editor.matchCase': 'Rozlišovat malá a velká písmena',
|
|
56
|
-
'fabric.editor.mentionNode.label': 'Označený uživatel',
|
|
57
|
-
'fabric.editor.mentionsAddLabel': 'přidat-ikonu',
|
|
58
|
-
'fabric.editor.mentionsIconLabel': 'Zmínka',
|
|
59
53
|
'fabric.editor.noResultsFound': 'Žádné výsledky',
|
|
60
54
|
'fabric.editor.note': 'Poznámka',
|
|
61
55
|
'fabric.editor.outdent': 'Zmenšit odsazení',
|
package/dist/esm/i18n/da.js
CHANGED
|
@@ -32,7 +32,6 @@ export default {
|
|
|
32
32
|
'fabric.editor.configPanel.submit': 'Send',
|
|
33
33
|
'fabric.editor.decisionPlaceholder': 'Tilføj en beslutning ...',
|
|
34
34
|
'fabric.editor.edit': 'Redigér',
|
|
35
|
-
'fabric.editor.editDateText': 'Rediger dato',
|
|
36
35
|
'fabric.editor.editorAssistiveLabel': 'Område for hovedindhold. Begynd at taste for at skrive tekst.',
|
|
37
36
|
'fabric.editor.editors': 'Redaktører',
|
|
38
37
|
'fabric.editor.error': 'Fejl',
|
|
@@ -48,13 +47,8 @@ export default {
|
|
|
48
47
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Åbn dialogboksen Hjælp',
|
|
49
48
|
'fabric.editor.indent': 'Ryk ind',
|
|
50
49
|
'fabric.editor.info': 'Info',
|
|
51
|
-
'fabric.editor.invalidDateError': 'Indtast en gyldig dato',
|
|
52
|
-
'fabric.editor.inviteItem.title': '{userRole, select, admin {Inviter teammedlemmer til {productName}} trusted {Inviter teammedlemmer til {productName}} other {Tilføj teammedlem til {productName}}}',
|
|
53
50
|
'fabric.editor.leftSidebar': 'Venstre sidebjælke',
|
|
54
51
|
'fabric.editor.matchCase': 'Match store/små bogstaver',
|
|
55
|
-
'fabric.editor.mentionNode.label': 'Tagget bruger',
|
|
56
|
-
'fabric.editor.mentionsAddLabel': 'ikon for tilføj',
|
|
57
|
-
'fabric.editor.mentionsIconLabel': 'Benævnelse',
|
|
58
52
|
'fabric.editor.noResultsFound': 'Ingen resultater',
|
|
59
53
|
'fabric.editor.note': 'Note',
|
|
60
54
|
'fabric.editor.outdent': 'Ryk ud',
|
package/dist/esm/i18n/de.js
CHANGED
|
@@ -32,7 +32,6 @@ export default {
|
|
|
32
32
|
'fabric.editor.configPanel.submit': 'Senden',
|
|
33
33
|
'fabric.editor.decisionPlaceholder': 'Entscheidung hinzufügen …',
|
|
34
34
|
'fabric.editor.edit': 'Bearbeiten',
|
|
35
|
-
'fabric.editor.editDateText': 'Datum bearbeiten',
|
|
36
35
|
'fabric.editor.editorAssistiveLabel': 'Hauptinhaltsbereich – geben Sie hier Ihren Text ein.',
|
|
37
36
|
'fabric.editor.editors': 'Editoren',
|
|
38
37
|
'fabric.editor.error': 'Fehler',
|
|
@@ -48,13 +47,8 @@ export default {
|
|
|
48
47
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Hilfe öffnen',
|
|
49
48
|
'fabric.editor.indent': 'Einzug vergrößern',
|
|
50
49
|
'fabric.editor.info': 'Info',
|
|
51
|
-
'fabric.editor.invalidDateError': 'Bitte geben Sie ein gültiges Datum ein.',
|
|
52
|
-
'fabric.editor.inviteItem.title': '{userRole, select, admin {Teammitglied zu {productName} einladen} trusted {Teammitglied zu {productName} einladen} other {Teammitglied zu {productName} hinzufügen}}',
|
|
53
50
|
'fabric.editor.leftSidebar': 'Linke Seitenleiste',
|
|
54
51
|
'fabric.editor.matchCase': 'Groß-/Kleinschreibung beachten',
|
|
55
|
-
'fabric.editor.mentionNode.label': 'Markierung von Benutzer',
|
|
56
|
-
'fabric.editor.mentionsAddLabel': 'Hinzufügen-Symbol',
|
|
57
|
-
'fabric.editor.mentionsIconLabel': 'Erwähnen',
|
|
58
52
|
'fabric.editor.noResultsFound': 'Keine Ergebnisse',
|
|
59
53
|
'fabric.editor.note': 'Hinweis',
|
|
60
54
|
'fabric.editor.outdent': 'Einzug verkleinern',
|
package/dist/esm/i18n/en.js
CHANGED
|
@@ -33,7 +33,6 @@ export default {
|
|
|
33
33
|
'fabric.editor.configPanel.submit': 'Submit',
|
|
34
34
|
'fabric.editor.decisionPlaceholder': 'Add a decision…',
|
|
35
35
|
'fabric.editor.edit': 'Edit',
|
|
36
|
-
'fabric.editor.editDateText': 'Edit Date',
|
|
37
36
|
'fabric.editor.editorAssistiveLabel': 'Main content area, start typing to enter text.',
|
|
38
37
|
'fabric.editor.editors': 'Editors',
|
|
39
38
|
'fabric.editor.error': 'Error',
|
|
@@ -50,13 +49,8 @@ export default {
|
|
|
50
49
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Open help dialog',
|
|
51
50
|
'fabric.editor.indent': 'Indent',
|
|
52
51
|
'fabric.editor.info': 'Info',
|
|
53
|
-
'fabric.editor.invalidDateError': 'Enter a valid date',
|
|
54
|
-
'fabric.editor.inviteItem.title': '{userRole, select, admin {Invite} trusted {Invite} other {Add}} teammate to {productName}',
|
|
55
52
|
'fabric.editor.leftSidebar': 'Left sidebar',
|
|
56
53
|
'fabric.editor.matchCase': 'Match case',
|
|
57
|
-
'fabric.editor.mentionNode.label': 'Tagged user',
|
|
58
|
-
'fabric.editor.mentionsAddLabel': 'add-icon',
|
|
59
|
-
'fabric.editor.mentionsIconLabel': 'Mention',
|
|
60
54
|
'fabric.editor.noResultsFound': 'No results',
|
|
61
55
|
'fabric.editor.note': 'Note',
|
|
62
56
|
'fabric.editor.outdent': 'Outdent',
|
package/dist/esm/i18n/en_GB.js
CHANGED
|
@@ -33,7 +33,6 @@ export default {
|
|
|
33
33
|
'fabric.editor.configPanel.submit': 'Submit',
|
|
34
34
|
'fabric.editor.decisionPlaceholder': 'Add a decision…',
|
|
35
35
|
'fabric.editor.edit': 'Edit',
|
|
36
|
-
'fabric.editor.editDateText': 'Edit Date',
|
|
37
36
|
'fabric.editor.editorAssistiveLabel': 'Main content area, start typing to enter text.',
|
|
38
37
|
'fabric.editor.editors': 'Editors',
|
|
39
38
|
'fabric.editor.error': 'Error',
|
|
@@ -50,13 +49,8 @@ export default {
|
|
|
50
49
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Open help dialog',
|
|
51
50
|
'fabric.editor.indent': 'Indent',
|
|
52
51
|
'fabric.editor.info': 'Info',
|
|
53
|
-
'fabric.editor.invalidDateError': 'Enter a valid date',
|
|
54
|
-
'fabric.editor.inviteItem.title': '{userRole, select, admin {Invite} trusted {Invite} other {Add}} teammate to {productName}',
|
|
55
52
|
'fabric.editor.leftSidebar': 'Left sidebar',
|
|
56
53
|
'fabric.editor.matchCase': 'Match case',
|
|
57
|
-
'fabric.editor.mentionNode.label': 'Tagged user',
|
|
58
|
-
'fabric.editor.mentionsAddLabel': 'add-icon',
|
|
59
|
-
'fabric.editor.mentionsIconLabel': 'Mention',
|
|
60
54
|
'fabric.editor.noResultsFound': 'No results',
|
|
61
55
|
'fabric.editor.note': 'Note',
|
|
62
56
|
'fabric.editor.outdent': 'Outdent',
|
package/dist/esm/i18n/en_ZZ.js
CHANGED
|
@@ -33,7 +33,6 @@ export default {
|
|
|
33
33
|
'fabric.editor.configPanel.submit': 'Submit',
|
|
34
34
|
'fabric.editor.decisionPlaceholder': 'Add a decision…',
|
|
35
35
|
'fabric.editor.edit': 'Edit',
|
|
36
|
-
'fabric.editor.editDateText': 'Edit Date',
|
|
37
36
|
'fabric.editor.editorAssistiveLabel': 'Main content area, start typing to enter text.',
|
|
38
37
|
'fabric.editor.editors': 'Editors',
|
|
39
38
|
'fabric.editor.error': 'Error',
|
|
@@ -50,13 +49,8 @@ export default {
|
|
|
50
49
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Open help dialog',
|
|
51
50
|
'fabric.editor.indent': 'Indent',
|
|
52
51
|
'fabric.editor.info': 'Info',
|
|
53
|
-
'fabric.editor.invalidDateError': 'Enter a valid date',
|
|
54
|
-
'fabric.editor.inviteItem.title': '{userRole, select, admin {Invite teammate to {productName}} trusted {Invite teammate to {productName}} other {Add teammate to {productName}}}',
|
|
55
52
|
'fabric.editor.leftSidebar': 'Left sidebar',
|
|
56
53
|
'fabric.editor.matchCase': 'Match case',
|
|
57
|
-
'fabric.editor.mentionNode.label': 'Tagged user',
|
|
58
|
-
'fabric.editor.mentionsAddLabel': 'add-icon',
|
|
59
|
-
'fabric.editor.mentionsIconLabel': 'Mention',
|
|
60
54
|
'fabric.editor.noResultsFound': 'No results',
|
|
61
55
|
'fabric.editor.note': 'Note',
|
|
62
56
|
'fabric.editor.outdent': 'Outdent',
|
package/dist/esm/i18n/es.js
CHANGED
|
@@ -32,7 +32,6 @@ export default {
|
|
|
32
32
|
'fabric.editor.configPanel.submit': 'Enviar',
|
|
33
33
|
'fabric.editor.decisionPlaceholder': 'Añadir una decisión...',
|
|
34
34
|
'fabric.editor.edit': 'Editar',
|
|
35
|
-
'fabric.editor.editDateText': 'Editar fecha',
|
|
36
35
|
'fabric.editor.editorAssistiveLabel': 'Área de contenido principal, empieza a escribir para introducir texto.',
|
|
37
36
|
'fabric.editor.editors': 'Editores',
|
|
38
37
|
'fabric.editor.error': 'Error',
|
|
@@ -48,13 +47,8 @@ export default {
|
|
|
48
47
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Abrir diálogo de ayuda',
|
|
49
48
|
'fabric.editor.indent': 'Aplicar sangría',
|
|
50
49
|
'fabric.editor.info': 'Información',
|
|
51
|
-
'fabric.editor.invalidDateError': 'Introducir una fecha válida',
|
|
52
|
-
'fabric.editor.inviteItem.title': '{userRole, select, admin {Invita a un compañero de equipo a {productName}} trusted {Invita a un compañero de equipo a {productName}} other {Añade a un compañero de equipo a {productName}}}',
|
|
53
50
|
'fabric.editor.leftSidebar': 'Barra lateral izquierda',
|
|
54
51
|
'fabric.editor.matchCase': 'Coincidir mayúsculas y minúsculas',
|
|
55
|
-
'fabric.editor.mentionNode.label': 'Usuario etiquetado',
|
|
56
|
-
'fabric.editor.mentionsAddLabel': 'añadir-icono',
|
|
57
|
-
'fabric.editor.mentionsIconLabel': 'Mención',
|
|
58
52
|
'fabric.editor.noResultsFound': 'Sin resultados',
|
|
59
53
|
'fabric.editor.note': 'Nota',
|
|
60
54
|
'fabric.editor.outdent': 'Anular sangría',
|
package/dist/esm/i18n/fi.js
CHANGED
|
@@ -32,7 +32,6 @@ export default {
|
|
|
32
32
|
'fabric.editor.configPanel.submit': 'Lähetä',
|
|
33
33
|
'fabric.editor.decisionPlaceholder': 'Lisää päätös...',
|
|
34
34
|
'fabric.editor.edit': 'Muokkaa',
|
|
35
|
-
'fabric.editor.editDateText': 'Muokkaa päiväystä',
|
|
36
35
|
'fabric.editor.editorAssistiveLabel': 'Pääsisältöalue, aloita kirjoittaminen, jos haluat syöttää tekstiä.',
|
|
37
36
|
'fabric.editor.editors': 'Muokkaajat',
|
|
38
37
|
'fabric.editor.error': 'Virhe',
|
|
@@ -48,13 +47,8 @@ export default {
|
|
|
48
47
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Avaa ohjeikkuna',
|
|
49
48
|
'fabric.editor.indent': 'Sisennys',
|
|
50
49
|
'fabric.editor.info': 'Tietoja',
|
|
51
|
-
'fabric.editor.invalidDateError': 'Anna käypä päiväys',
|
|
52
|
-
'fabric.editor.inviteItem.title': '{userRole, select, admin {Kutsu tiimikaveri tuotteeseen {productName}} trusted {Kutsu tiimikaveri tuotteeseen {productName}} other {Lisää tiimikaveri tuotteeseen {productName}}}',
|
|
53
50
|
'fabric.editor.leftSidebar': 'Vasen sivupalkki',
|
|
54
51
|
'fabric.editor.matchCase': 'Sovita aakkoslaji',
|
|
55
|
-
'fabric.editor.mentionNode.label': 'Merkitty käyttäjä',
|
|
56
|
-
'fabric.editor.mentionsAddLabel': 'lisää-kuvake',
|
|
57
|
-
'fabric.editor.mentionsIconLabel': 'Maininta',
|
|
58
52
|
'fabric.editor.noResultsFound': 'Ei tuloksia',
|
|
59
53
|
'fabric.editor.note': 'Huomautus',
|
|
60
54
|
'fabric.editor.outdent': 'Ulonnus',
|
package/dist/esm/i18n/fr.js
CHANGED
|
@@ -32,7 +32,6 @@ export default {
|
|
|
32
32
|
'fabric.editor.configPanel.submit': 'Soumettre',
|
|
33
33
|
'fabric.editor.decisionPlaceholder': 'Ajoutez une décision…',
|
|
34
34
|
'fabric.editor.edit': 'Modifier',
|
|
35
|
-
'fabric.editor.editDateText': 'Modifier la date',
|
|
36
35
|
'fabric.editor.editorAssistiveLabel': 'Zone de contenu principale, commencez à taper pour saisir du texte.',
|
|
37
36
|
'fabric.editor.editors': 'Éditeurs',
|
|
38
37
|
'fabric.editor.error': 'Erreur',
|
|
@@ -48,13 +47,8 @@ export default {
|
|
|
48
47
|
'fabric.editor.headingLink.toolbarHelpTitle': "Ouvrir la boîte de dialogue d'aide",
|
|
49
48
|
'fabric.editor.indent': 'Retrait positif',
|
|
50
49
|
'fabric.editor.info': 'Informations',
|
|
51
|
-
'fabric.editor.invalidDateError': 'Saisissez une date valide',
|
|
52
|
-
'fabric.editor.inviteItem.title': '{userRole, select, admin {Inviter un coéquipier à rejoindre {productName}} trusted {Inviter un coéquipier à rejoindre {productName}} other {Ajouter un coéquipier à {productName}}}',
|
|
53
50
|
'fabric.editor.leftSidebar': 'Barre latérale de gauche',
|
|
54
51
|
'fabric.editor.matchCase': 'Respecter la casse',
|
|
55
|
-
'fabric.editor.mentionNode.label': 'Utilisateur mentionné',
|
|
56
|
-
'fabric.editor.mentionsAddLabel': 'icône-ajout',
|
|
57
|
-
'fabric.editor.mentionsIconLabel': 'Mention',
|
|
58
52
|
'fabric.editor.noResultsFound': 'Aucun résultat',
|
|
59
53
|
'fabric.editor.note': 'Note',
|
|
60
54
|
'fabric.editor.outdent': 'Retrait négatif',
|
package/dist/esm/i18n/hu.js
CHANGED
|
@@ -32,7 +32,6 @@ export default {
|
|
|
32
32
|
'fabric.editor.configPanel.submit': 'Küldés',
|
|
33
33
|
'fabric.editor.decisionPlaceholder': 'Döntés hozzáadása...',
|
|
34
34
|
'fabric.editor.edit': 'Szerkesztés',
|
|
35
|
-
'fabric.editor.editDateText': 'Dátum szerkesztése',
|
|
36
35
|
'fabric.editor.editorAssistiveLabel': 'Fő tartalmi terület, kezdj el gépelni a szöveg beviteléhez.',
|
|
37
36
|
'fabric.editor.editors': 'Szerkesztők',
|
|
38
37
|
'fabric.editor.error': 'Hiba',
|
|
@@ -48,13 +47,8 @@ export default {
|
|
|
48
47
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Súgópanel megnyitása',
|
|
49
48
|
'fabric.editor.indent': 'Behúzás',
|
|
50
49
|
'fabric.editor.info': 'Információ',
|
|
51
|
-
'fabric.editor.invalidDateError': 'Adj meg egy érvényes dátumot',
|
|
52
|
-
'fabric.editor.inviteItem.title': '{userRole, select, admin {Csapattag meghívása a(z) {productName} termékbe} trusted {Csapattag meghívása a(z) {productName} termékbe} other {Csapattag hozzáadása a(z) {productName} termékhez}}',
|
|
53
50
|
'fabric.editor.leftSidebar': 'Bal oldali oldalsáv',
|
|
54
51
|
'fabric.editor.matchCase': 'Kis- és nagybetűk megkülönböztetése',
|
|
55
|
-
'fabric.editor.mentionNode.label': 'Felhasználó felcímkézve',
|
|
56
|
-
'fabric.editor.mentionsAddLabel': 'Hozzáadás ikon',
|
|
57
|
-
'fabric.editor.mentionsIconLabel': 'Említés',
|
|
58
52
|
'fabric.editor.noResultsFound': 'Nincs találat',
|
|
59
53
|
'fabric.editor.note': 'Megjegyzés',
|
|
60
54
|
'fabric.editor.outdent': 'Kihúzás',
|
package/dist/esm/i18n/it.js
CHANGED
|
@@ -32,7 +32,6 @@ export default {
|
|
|
32
32
|
'fabric.editor.configPanel.submit': 'Invia',
|
|
33
33
|
'fabric.editor.decisionPlaceholder': 'Aggiungi una decisione…',
|
|
34
34
|
'fabric.editor.edit': 'Modifica',
|
|
35
|
-
'fabric.editor.editDateText': 'Modifica data',
|
|
36
35
|
'fabric.editor.editorAssistiveLabel': 'Area del contenuto principale; inizia a digitare per inserire il testo.',
|
|
37
36
|
'fabric.editor.editors': 'Editor',
|
|
38
37
|
'fabric.editor.error': 'Errore',
|
|
@@ -48,13 +47,8 @@ export default {
|
|
|
48
47
|
'fabric.editor.headingLink.toolbarHelpTitle': 'Apri finestra della guida',
|
|
49
48
|
'fabric.editor.indent': 'Rientro',
|
|
50
49
|
'fabric.editor.info': 'Info',
|
|
51
|
-
'fabric.editor.invalidDateError': 'Inserisci una data valida',
|
|
52
|
-
'fabric.editor.inviteItem.title': '{userRole, select, admin {Invita un collega in {productName}} trusted {Invita un collega in {productName}} other {Aggiunti un collega a {productName}}}',
|
|
53
50
|
'fabric.editor.leftSidebar': 'Barra laterale sinistra',
|
|
54
51
|
'fabric.editor.matchCase': 'Maiuscole/Minuscole',
|
|
55
|
-
'fabric.editor.mentionNode.label': 'Utente taggato',
|
|
56
|
-
'fabric.editor.mentionsAddLabel': 'icona aggiungi',
|
|
57
|
-
'fabric.editor.mentionsIconLabel': 'Menziona',
|
|
58
52
|
'fabric.editor.noResultsFound': 'Nessun risultato',
|
|
59
53
|
'fabric.editor.note': 'Nota',
|
|
60
54
|
'fabric.editor.outdent': 'Rientro negativo',
|