@atlaskit/editor-common 74.11.1 → 74.13.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/__tests_external__/page-objects/EditorSmartLink.js +1 -1
- package/dist/cjs/i18n/cs.js +12 -0
- package/dist/cjs/i18n/da.js +12 -0
- package/dist/cjs/i18n/de.js +12 -0
- package/dist/cjs/i18n/en.js +12 -0
- package/dist/cjs/i18n/en_GB.js +12 -0
- package/dist/cjs/i18n/en_ZZ.js +12 -0
- package/dist/cjs/i18n/es.js +12 -0
- package/dist/cjs/i18n/fi.js +12 -0
- package/dist/cjs/i18n/fr.js +12 -0
- package/dist/cjs/i18n/hu.js +12 -0
- package/dist/cjs/i18n/it.js +12 -0
- package/dist/cjs/i18n/ja.js +12 -0
- package/dist/cjs/i18n/ko.js +12 -0
- package/dist/cjs/i18n/nb.js +12 -0
- package/dist/cjs/i18n/nl.js +12 -0
- package/dist/cjs/i18n/pl.js +12 -0
- package/dist/cjs/i18n/pt_BR.js +12 -0
- package/dist/cjs/i18n/ru.js +12 -0
- package/dist/cjs/i18n/sv.js +12 -0
- package/dist/cjs/i18n/th.js +12 -0
- package/dist/cjs/i18n/tr.js +12 -0
- package/dist/cjs/i18n/uk.js +12 -0
- package/dist/cjs/i18n/vi.js +12 -0
- package/dist/cjs/i18n/zh.js +12 -0
- package/dist/cjs/i18n/zh_TW.js +12 -0
- package/dist/cjs/messages/link-toolbar.js +5 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/react-node-view/getInlineNodeViewProducer.js +0 -1
- package/dist/cjs/react-node-view/index.js +0 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/utils/get-performance-options.js +1 -4
- package/dist/cjs/version.json +1 -1
- package/dist/cjs/with-plugin-state/index.js +1 -4
- package/dist/es2019/__tests_external__/page-objects/EditorSmartLink.js +1 -0
- package/dist/es2019/i18n/cs.js +12 -0
- package/dist/es2019/i18n/da.js +12 -0
- package/dist/es2019/i18n/de.js +12 -0
- package/dist/es2019/i18n/en.js +12 -0
- package/dist/es2019/i18n/en_GB.js +12 -0
- package/dist/es2019/i18n/en_ZZ.js +12 -0
- package/dist/es2019/i18n/es.js +12 -0
- package/dist/es2019/i18n/fi.js +12 -0
- package/dist/es2019/i18n/fr.js +12 -0
- package/dist/es2019/i18n/hu.js +12 -0
- package/dist/es2019/i18n/it.js +12 -0
- package/dist/es2019/i18n/ja.js +12 -0
- package/dist/es2019/i18n/ko.js +12 -0
- package/dist/es2019/i18n/nb.js +12 -0
- package/dist/es2019/i18n/nl.js +12 -0
- package/dist/es2019/i18n/pl.js +12 -0
- package/dist/es2019/i18n/pt_BR.js +12 -0
- package/dist/es2019/i18n/ru.js +12 -0
- package/dist/es2019/i18n/sv.js +12 -0
- package/dist/es2019/i18n/th.js +12 -0
- package/dist/es2019/i18n/tr.js +12 -0
- package/dist/es2019/i18n/uk.js +12 -0
- package/dist/es2019/i18n/vi.js +12 -0
- package/dist/es2019/i18n/zh.js +12 -0
- package/dist/es2019/i18n/zh_TW.js +12 -0
- package/dist/es2019/messages/link-toolbar.js +5 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/react-node-view/getInlineNodeViewProducer.js +0 -1
- package/dist/es2019/react-node-view/index.js +0 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/utils/get-performance-options.js +1 -4
- package/dist/es2019/version.json +1 -1
- package/dist/es2019/with-plugin-state/index.js +1 -4
- package/dist/esm/__tests_external__/page-objects/EditorSmartLink.js +1 -0
- package/dist/esm/i18n/cs.js +12 -0
- package/dist/esm/i18n/da.js +12 -0
- package/dist/esm/i18n/de.js +12 -0
- package/dist/esm/i18n/en.js +12 -0
- package/dist/esm/i18n/en_GB.js +12 -0
- package/dist/esm/i18n/en_ZZ.js +12 -0
- package/dist/esm/i18n/es.js +12 -0
- package/dist/esm/i18n/fi.js +12 -0
- package/dist/esm/i18n/fr.js +12 -0
- package/dist/esm/i18n/hu.js +12 -0
- package/dist/esm/i18n/it.js +12 -0
- package/dist/esm/i18n/ja.js +12 -0
- package/dist/esm/i18n/ko.js +12 -0
- package/dist/esm/i18n/nb.js +12 -0
- package/dist/esm/i18n/nl.js +12 -0
- package/dist/esm/i18n/pl.js +12 -0
- package/dist/esm/i18n/pt_BR.js +12 -0
- package/dist/esm/i18n/ru.js +12 -0
- package/dist/esm/i18n/sv.js +12 -0
- package/dist/esm/i18n/th.js +12 -0
- package/dist/esm/i18n/tr.js +12 -0
- package/dist/esm/i18n/uk.js +12 -0
- package/dist/esm/i18n/vi.js +12 -0
- package/dist/esm/i18n/zh.js +12 -0
- package/dist/esm/i18n/zh_TW.js +12 -0
- package/dist/esm/messages/link-toolbar.js +5 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/react-node-view/getInlineNodeViewProducer.js +0 -1
- package/dist/esm/react-node-view/index.js +0 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/utils/get-performance-options.js +1 -4
- package/dist/esm/version.json +1 -1
- package/dist/esm/with-plugin-state/index.js +1 -4
- package/dist/types/__tests_external__/page-objects/EditorSmartLink.d.ts +1 -1
- package/dist/types/analytics/types/general-events.d.ts +0 -2
- package/dist/types/i18n/cs.d.ts +12 -0
- package/dist/types/i18n/da.d.ts +12 -0
- package/dist/types/i18n/de.d.ts +12 -0
- package/dist/types/i18n/en.d.ts +12 -0
- package/dist/types/i18n/en_GB.d.ts +12 -0
- package/dist/types/i18n/en_ZZ.d.ts +12 -0
- package/dist/types/i18n/es.d.ts +12 -0
- package/dist/types/i18n/fi.d.ts +12 -0
- package/dist/types/i18n/fr.d.ts +12 -0
- package/dist/types/i18n/hu.d.ts +12 -0
- package/dist/types/i18n/it.d.ts +12 -0
- package/dist/types/i18n/ja.d.ts +12 -0
- package/dist/types/i18n/ko.d.ts +12 -0
- package/dist/types/i18n/nb.d.ts +12 -0
- package/dist/types/i18n/nl.d.ts +12 -0
- package/dist/types/i18n/pl.d.ts +12 -0
- package/dist/types/i18n/pt_BR.d.ts +12 -0
- package/dist/types/i18n/ru.d.ts +12 -0
- package/dist/types/i18n/sv.d.ts +12 -0
- package/dist/types/i18n/th.d.ts +12 -0
- package/dist/types/i18n/tr.d.ts +12 -0
- package/dist/types/i18n/uk.d.ts +12 -0
- package/dist/types/i18n/vi.d.ts +12 -0
- package/dist/types/i18n/zh.d.ts +12 -0
- package/dist/types/i18n/zh_TW.d.ts +12 -0
- package/dist/types/messages/link-toolbar.d.ts +5 -0
- package/dist/types/provider-factory/card-provider.d.ts +1 -1
- package/dist/types/utils/get-performance-options.d.ts +1 -3
- package/dist/types-ts4.5/__tests_external__/page-objects/EditorSmartLink.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/general-events.d.ts +0 -2
- package/dist/types-ts4.5/i18n/cs.d.ts +12 -0
- package/dist/types-ts4.5/i18n/da.d.ts +12 -0
- package/dist/types-ts4.5/i18n/de.d.ts +12 -0
- package/dist/types-ts4.5/i18n/en.d.ts +12 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +12 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +12 -0
- package/dist/types-ts4.5/i18n/es.d.ts +12 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +12 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +12 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +12 -0
- package/dist/types-ts4.5/i18n/it.d.ts +12 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +12 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +12 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +12 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +12 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +12 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +12 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +12 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +12 -0
- package/dist/types-ts4.5/i18n/th.d.ts +12 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +12 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +12 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +12 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +12 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +12 -0
- package/dist/types-ts4.5/messages/link-toolbar.d.ts +5 -0
- package/dist/types-ts4.5/provider-factory/card-provider.d.ts +1 -1
- package/dist/types-ts4.5/utils/get-performance-options.d.ts +1 -3
- package/package.json +6 -6
- package/dist/cjs/utils/collab.js +0 -18
- package/dist/es2019/utils/collab.js +0 -11
- package/dist/esm/utils/collab.js +0 -11
- package/dist/types/utils/collab.d.ts +0 -2
- package/dist/types-ts4.5/utils/collab.d.ts +0 -2
|
@@ -28,9 +28,11 @@ declare const _default: {
|
|
|
28
28
|
'fabric.editor.date.description': string;
|
|
29
29
|
'fabric.editor.decision': string;
|
|
30
30
|
'fabric.editor.decision.description': string;
|
|
31
|
+
'fabric.editor.editLink': string;
|
|
31
32
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
32
33
|
'fabric.editor.emoji': string;
|
|
33
34
|
'fabric.editor.emoji.description': string;
|
|
35
|
+
'fabric.editor.emptyLink': string;
|
|
34
36
|
'fabric.editor.expand': string;
|
|
35
37
|
'fabric.editor.expand.description': string;
|
|
36
38
|
'fabric.editor.expandDefaultTitle': string;
|
|
@@ -42,13 +44,18 @@ declare const _default: {
|
|
|
42
44
|
'fabric.editor.help.description': string;
|
|
43
45
|
'fabric.editor.horizontalRule': string;
|
|
44
46
|
'fabric.editor.horizontalRule.description': string;
|
|
47
|
+
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
45
48
|
'fabric.editor.image': string;
|
|
46
49
|
'fabric.editor.insertMenu': string;
|
|
50
|
+
'fabric.editor.invalidLink': string;
|
|
47
51
|
'fabric.editor.layoutFixedWidth': string;
|
|
48
52
|
'fabric.editor.layoutFullWidth': string;
|
|
49
53
|
'fabric.editor.layoutWide': string;
|
|
50
54
|
'fabric.editor.link': string;
|
|
51
55
|
'fabric.editor.link.description': string;
|
|
56
|
+
'fabric.editor.linkAddress': string;
|
|
57
|
+
'fabric.editor.linkPlaceholder': string;
|
|
58
|
+
'fabric.editor.mediaAddLink': string;
|
|
52
59
|
'fabric.editor.mediaFiles': string;
|
|
53
60
|
'fabric.editor.mediaFiles.description': string;
|
|
54
61
|
'fabric.editor.mention': string;
|
|
@@ -59,6 +66,7 @@ declare const _default: {
|
|
|
59
66
|
'fabric.editor.remove': string;
|
|
60
67
|
'fabric.editor.removeEmoji': string;
|
|
61
68
|
'fabric.editor.saveButton': string;
|
|
69
|
+
'fabric.editor.settingsLinks': string;
|
|
62
70
|
'fabric.editor.status': string;
|
|
63
71
|
'fabric.editor.status.description': string;
|
|
64
72
|
'fabric.editor.table': string;
|
|
@@ -72,11 +80,15 @@ declare const _default: {
|
|
|
72
80
|
'fabric.editor.tooltip.defaultBlockNode': string;
|
|
73
81
|
'fabric.editor.tooltip.nestedExpand': string;
|
|
74
82
|
'fabric.editor.tooltip.taskList': string;
|
|
83
|
+
'fabric.editor.unableToOpenLink': string;
|
|
84
|
+
'fabric.editor.unlink': string;
|
|
75
85
|
'fabric.editor.unsupportedBlockContent': string;
|
|
76
86
|
'fabric.editor.unsupportedContentTooltip': string;
|
|
77
87
|
'fabric.editor.unsupportedInlineContent': string;
|
|
78
88
|
'fabric.editor.viewMore': string;
|
|
79
89
|
'fabric.editor.visit': string;
|
|
90
|
+
'fabric.editor.wrapLeft': string;
|
|
91
|
+
'fabric.editor.wrapRight': string;
|
|
80
92
|
'fabric.theme.blue': string;
|
|
81
93
|
'fabric.theme.bold-blue': string;
|
|
82
94
|
'fabric.theme.bold-gray': string;
|
|
@@ -28,9 +28,11 @@ declare const _default: {
|
|
|
28
28
|
'fabric.editor.date.description': string;
|
|
29
29
|
'fabric.editor.decision': string;
|
|
30
30
|
'fabric.editor.decision.description': string;
|
|
31
|
+
'fabric.editor.editLink': string;
|
|
31
32
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
32
33
|
'fabric.editor.emoji': string;
|
|
33
34
|
'fabric.editor.emoji.description': string;
|
|
35
|
+
'fabric.editor.emptyLink': string;
|
|
34
36
|
'fabric.editor.expand': string;
|
|
35
37
|
'fabric.editor.expand.description': string;
|
|
36
38
|
'fabric.editor.expandDefaultTitle': string;
|
|
@@ -42,13 +44,18 @@ declare const _default: {
|
|
|
42
44
|
'fabric.editor.help.description': string;
|
|
43
45
|
'fabric.editor.horizontalRule': string;
|
|
44
46
|
'fabric.editor.horizontalRule.description': string;
|
|
47
|
+
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
45
48
|
'fabric.editor.image': string;
|
|
46
49
|
'fabric.editor.insertMenu': string;
|
|
50
|
+
'fabric.editor.invalidLink': string;
|
|
47
51
|
'fabric.editor.layoutFixedWidth': string;
|
|
48
52
|
'fabric.editor.layoutFullWidth': string;
|
|
49
53
|
'fabric.editor.layoutWide': string;
|
|
50
54
|
'fabric.editor.link': string;
|
|
51
55
|
'fabric.editor.link.description': string;
|
|
56
|
+
'fabric.editor.linkAddress': string;
|
|
57
|
+
'fabric.editor.linkPlaceholder': string;
|
|
58
|
+
'fabric.editor.mediaAddLink': string;
|
|
52
59
|
'fabric.editor.mediaFiles': string;
|
|
53
60
|
'fabric.editor.mediaFiles.description': string;
|
|
54
61
|
'fabric.editor.mention': string;
|
|
@@ -59,6 +66,7 @@ declare const _default: {
|
|
|
59
66
|
'fabric.editor.remove': string;
|
|
60
67
|
'fabric.editor.removeEmoji': string;
|
|
61
68
|
'fabric.editor.saveButton': string;
|
|
69
|
+
'fabric.editor.settingsLinks': string;
|
|
62
70
|
'fabric.editor.status': string;
|
|
63
71
|
'fabric.editor.status.description': string;
|
|
64
72
|
'fabric.editor.table': string;
|
|
@@ -72,11 +80,15 @@ declare const _default: {
|
|
|
72
80
|
'fabric.editor.tooltip.defaultBlockNode': string;
|
|
73
81
|
'fabric.editor.tooltip.nestedExpand': string;
|
|
74
82
|
'fabric.editor.tooltip.taskList': string;
|
|
83
|
+
'fabric.editor.unableToOpenLink': string;
|
|
84
|
+
'fabric.editor.unlink': string;
|
|
75
85
|
'fabric.editor.unsupportedBlockContent': string;
|
|
76
86
|
'fabric.editor.unsupportedContentTooltip': string;
|
|
77
87
|
'fabric.editor.unsupportedInlineContent': string;
|
|
78
88
|
'fabric.editor.viewMore': string;
|
|
79
89
|
'fabric.editor.visit': string;
|
|
90
|
+
'fabric.editor.wrapLeft': string;
|
|
91
|
+
'fabric.editor.wrapRight': string;
|
|
80
92
|
'fabric.theme.blue': string;
|
|
81
93
|
'fabric.theme.bold-blue': string;
|
|
82
94
|
'fabric.theme.bold-gray': string;
|
|
@@ -28,9 +28,11 @@ declare const _default: {
|
|
|
28
28
|
'fabric.editor.date.description': string;
|
|
29
29
|
'fabric.editor.decision': string;
|
|
30
30
|
'fabric.editor.decision.description': string;
|
|
31
|
+
'fabric.editor.editLink': string;
|
|
31
32
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
32
33
|
'fabric.editor.emoji': string;
|
|
33
34
|
'fabric.editor.emoji.description': string;
|
|
35
|
+
'fabric.editor.emptyLink': string;
|
|
34
36
|
'fabric.editor.expand': string;
|
|
35
37
|
'fabric.editor.expand.description': string;
|
|
36
38
|
'fabric.editor.expandDefaultTitle': string;
|
|
@@ -42,13 +44,18 @@ declare const _default: {
|
|
|
42
44
|
'fabric.editor.help.description': string;
|
|
43
45
|
'fabric.editor.horizontalRule': string;
|
|
44
46
|
'fabric.editor.horizontalRule.description': string;
|
|
47
|
+
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
45
48
|
'fabric.editor.image': string;
|
|
46
49
|
'fabric.editor.insertMenu': string;
|
|
50
|
+
'fabric.editor.invalidLink': string;
|
|
47
51
|
'fabric.editor.layoutFixedWidth': string;
|
|
48
52
|
'fabric.editor.layoutFullWidth': string;
|
|
49
53
|
'fabric.editor.layoutWide': string;
|
|
50
54
|
'fabric.editor.link': string;
|
|
51
55
|
'fabric.editor.link.description': string;
|
|
56
|
+
'fabric.editor.linkAddress': string;
|
|
57
|
+
'fabric.editor.linkPlaceholder': string;
|
|
58
|
+
'fabric.editor.mediaAddLink': string;
|
|
52
59
|
'fabric.editor.mediaFiles': string;
|
|
53
60
|
'fabric.editor.mediaFiles.description': string;
|
|
54
61
|
'fabric.editor.mention': string;
|
|
@@ -59,6 +66,7 @@ declare const _default: {
|
|
|
59
66
|
'fabric.editor.remove': string;
|
|
60
67
|
'fabric.editor.removeEmoji': string;
|
|
61
68
|
'fabric.editor.saveButton': string;
|
|
69
|
+
'fabric.editor.settingsLinks': string;
|
|
62
70
|
'fabric.editor.status': string;
|
|
63
71
|
'fabric.editor.status.description': string;
|
|
64
72
|
'fabric.editor.table': string;
|
|
@@ -72,11 +80,15 @@ declare const _default: {
|
|
|
72
80
|
'fabric.editor.tooltip.defaultBlockNode': string;
|
|
73
81
|
'fabric.editor.tooltip.nestedExpand': string;
|
|
74
82
|
'fabric.editor.tooltip.taskList': string;
|
|
83
|
+
'fabric.editor.unableToOpenLink': string;
|
|
84
|
+
'fabric.editor.unlink': string;
|
|
75
85
|
'fabric.editor.unsupportedBlockContent': string;
|
|
76
86
|
'fabric.editor.unsupportedContentTooltip': string;
|
|
77
87
|
'fabric.editor.unsupportedInlineContent': string;
|
|
78
88
|
'fabric.editor.viewMore': string;
|
|
79
89
|
'fabric.editor.visit': string;
|
|
90
|
+
'fabric.editor.wrapLeft': string;
|
|
91
|
+
'fabric.editor.wrapRight': string;
|
|
80
92
|
'fabric.theme.blue': string;
|
|
81
93
|
'fabric.theme.bold-blue': string;
|
|
82
94
|
'fabric.theme.bold-gray': string;
|
|
@@ -28,9 +28,11 @@ declare const _default: {
|
|
|
28
28
|
'fabric.editor.date.description': string;
|
|
29
29
|
'fabric.editor.decision': string;
|
|
30
30
|
'fabric.editor.decision.description': string;
|
|
31
|
+
'fabric.editor.editLink': string;
|
|
31
32
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
32
33
|
'fabric.editor.emoji': string;
|
|
33
34
|
'fabric.editor.emoji.description': string;
|
|
35
|
+
'fabric.editor.emptyLink': string;
|
|
34
36
|
'fabric.editor.expand': string;
|
|
35
37
|
'fabric.editor.expand.description': string;
|
|
36
38
|
'fabric.editor.expandDefaultTitle': string;
|
|
@@ -42,13 +44,18 @@ declare const _default: {
|
|
|
42
44
|
'fabric.editor.help.description': string;
|
|
43
45
|
'fabric.editor.horizontalRule': string;
|
|
44
46
|
'fabric.editor.horizontalRule.description': string;
|
|
47
|
+
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
45
48
|
'fabric.editor.image': string;
|
|
46
49
|
'fabric.editor.insertMenu': string;
|
|
50
|
+
'fabric.editor.invalidLink': string;
|
|
47
51
|
'fabric.editor.layoutFixedWidth': string;
|
|
48
52
|
'fabric.editor.layoutFullWidth': string;
|
|
49
53
|
'fabric.editor.layoutWide': string;
|
|
50
54
|
'fabric.editor.link': string;
|
|
51
55
|
'fabric.editor.link.description': string;
|
|
56
|
+
'fabric.editor.linkAddress': string;
|
|
57
|
+
'fabric.editor.linkPlaceholder': string;
|
|
58
|
+
'fabric.editor.mediaAddLink': string;
|
|
52
59
|
'fabric.editor.mediaFiles': string;
|
|
53
60
|
'fabric.editor.mediaFiles.description': string;
|
|
54
61
|
'fabric.editor.mention': string;
|
|
@@ -59,6 +66,7 @@ declare const _default: {
|
|
|
59
66
|
'fabric.editor.remove': string;
|
|
60
67
|
'fabric.editor.removeEmoji': string;
|
|
61
68
|
'fabric.editor.saveButton': string;
|
|
69
|
+
'fabric.editor.settingsLinks': string;
|
|
62
70
|
'fabric.editor.status': string;
|
|
63
71
|
'fabric.editor.status.description': string;
|
|
64
72
|
'fabric.editor.table': string;
|
|
@@ -72,11 +80,15 @@ declare const _default: {
|
|
|
72
80
|
'fabric.editor.tooltip.defaultBlockNode': string;
|
|
73
81
|
'fabric.editor.tooltip.nestedExpand': string;
|
|
74
82
|
'fabric.editor.tooltip.taskList': string;
|
|
83
|
+
'fabric.editor.unableToOpenLink': string;
|
|
84
|
+
'fabric.editor.unlink': string;
|
|
75
85
|
'fabric.editor.unsupportedBlockContent': string;
|
|
76
86
|
'fabric.editor.unsupportedContentTooltip': string;
|
|
77
87
|
'fabric.editor.unsupportedInlineContent': string;
|
|
78
88
|
'fabric.editor.viewMore': string;
|
|
79
89
|
'fabric.editor.visit': string;
|
|
90
|
+
'fabric.editor.wrapLeft': string;
|
|
91
|
+
'fabric.editor.wrapRight': string;
|
|
80
92
|
'fabric.theme.blue': string;
|
|
81
93
|
'fabric.theme.bold-blue': string;
|
|
82
94
|
'fabric.theme.bold-gray': string;
|
|
@@ -28,9 +28,11 @@ declare const _default: {
|
|
|
28
28
|
'fabric.editor.date.description': string;
|
|
29
29
|
'fabric.editor.decision': string;
|
|
30
30
|
'fabric.editor.decision.description': string;
|
|
31
|
+
'fabric.editor.editLink': string;
|
|
31
32
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
32
33
|
'fabric.editor.emoji': string;
|
|
33
34
|
'fabric.editor.emoji.description': string;
|
|
35
|
+
'fabric.editor.emptyLink': string;
|
|
34
36
|
'fabric.editor.expand': string;
|
|
35
37
|
'fabric.editor.expand.description': string;
|
|
36
38
|
'fabric.editor.expandDefaultTitle': string;
|
|
@@ -42,13 +44,18 @@ declare const _default: {
|
|
|
42
44
|
'fabric.editor.help.description': string;
|
|
43
45
|
'fabric.editor.horizontalRule': string;
|
|
44
46
|
'fabric.editor.horizontalRule.description': string;
|
|
47
|
+
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
45
48
|
'fabric.editor.image': string;
|
|
46
49
|
'fabric.editor.insertMenu': string;
|
|
50
|
+
'fabric.editor.invalidLink': string;
|
|
47
51
|
'fabric.editor.layoutFixedWidth': string;
|
|
48
52
|
'fabric.editor.layoutFullWidth': string;
|
|
49
53
|
'fabric.editor.layoutWide': string;
|
|
50
54
|
'fabric.editor.link': string;
|
|
51
55
|
'fabric.editor.link.description': string;
|
|
56
|
+
'fabric.editor.linkAddress': string;
|
|
57
|
+
'fabric.editor.linkPlaceholder': string;
|
|
58
|
+
'fabric.editor.mediaAddLink': string;
|
|
52
59
|
'fabric.editor.mediaFiles': string;
|
|
53
60
|
'fabric.editor.mediaFiles.description': string;
|
|
54
61
|
'fabric.editor.mention': string;
|
|
@@ -59,6 +66,7 @@ declare const _default: {
|
|
|
59
66
|
'fabric.editor.remove': string;
|
|
60
67
|
'fabric.editor.removeEmoji': string;
|
|
61
68
|
'fabric.editor.saveButton': string;
|
|
69
|
+
'fabric.editor.settingsLinks': string;
|
|
62
70
|
'fabric.editor.status': string;
|
|
63
71
|
'fabric.editor.status.description': string;
|
|
64
72
|
'fabric.editor.table': string;
|
|
@@ -72,11 +80,15 @@ declare const _default: {
|
|
|
72
80
|
'fabric.editor.tooltip.defaultBlockNode': string;
|
|
73
81
|
'fabric.editor.tooltip.nestedExpand': string;
|
|
74
82
|
'fabric.editor.tooltip.taskList': string;
|
|
83
|
+
'fabric.editor.unableToOpenLink': string;
|
|
84
|
+
'fabric.editor.unlink': string;
|
|
75
85
|
'fabric.editor.unsupportedBlockContent': string;
|
|
76
86
|
'fabric.editor.unsupportedContentTooltip': string;
|
|
77
87
|
'fabric.editor.unsupportedInlineContent': string;
|
|
78
88
|
'fabric.editor.viewMore': string;
|
|
79
89
|
'fabric.editor.visit': string;
|
|
90
|
+
'fabric.editor.wrapLeft': string;
|
|
91
|
+
'fabric.editor.wrapRight': string;
|
|
80
92
|
'fabric.theme.blue': string;
|
|
81
93
|
'fabric.theme.bold-blue': string;
|
|
82
94
|
'fabric.theme.bold-gray': string;
|
|
@@ -28,9 +28,11 @@ declare const _default: {
|
|
|
28
28
|
'fabric.editor.date.description': string;
|
|
29
29
|
'fabric.editor.decision': string;
|
|
30
30
|
'fabric.editor.decision.description': string;
|
|
31
|
+
'fabric.editor.editLink': string;
|
|
31
32
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
32
33
|
'fabric.editor.emoji': string;
|
|
33
34
|
'fabric.editor.emoji.description': string;
|
|
35
|
+
'fabric.editor.emptyLink': string;
|
|
34
36
|
'fabric.editor.expand': string;
|
|
35
37
|
'fabric.editor.expand.description': string;
|
|
36
38
|
'fabric.editor.expandDefaultTitle': string;
|
|
@@ -42,13 +44,18 @@ declare const _default: {
|
|
|
42
44
|
'fabric.editor.help.description': string;
|
|
43
45
|
'fabric.editor.horizontalRule': string;
|
|
44
46
|
'fabric.editor.horizontalRule.description': string;
|
|
47
|
+
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
45
48
|
'fabric.editor.image': string;
|
|
46
49
|
'fabric.editor.insertMenu': string;
|
|
50
|
+
'fabric.editor.invalidLink': string;
|
|
47
51
|
'fabric.editor.layoutFixedWidth': string;
|
|
48
52
|
'fabric.editor.layoutFullWidth': string;
|
|
49
53
|
'fabric.editor.layoutWide': string;
|
|
50
54
|
'fabric.editor.link': string;
|
|
51
55
|
'fabric.editor.link.description': string;
|
|
56
|
+
'fabric.editor.linkAddress': string;
|
|
57
|
+
'fabric.editor.linkPlaceholder': string;
|
|
58
|
+
'fabric.editor.mediaAddLink': string;
|
|
52
59
|
'fabric.editor.mediaFiles': string;
|
|
53
60
|
'fabric.editor.mediaFiles.description': string;
|
|
54
61
|
'fabric.editor.mention': string;
|
|
@@ -59,6 +66,7 @@ declare const _default: {
|
|
|
59
66
|
'fabric.editor.remove': string;
|
|
60
67
|
'fabric.editor.removeEmoji': string;
|
|
61
68
|
'fabric.editor.saveButton': string;
|
|
69
|
+
'fabric.editor.settingsLinks': string;
|
|
62
70
|
'fabric.editor.status': string;
|
|
63
71
|
'fabric.editor.status.description': string;
|
|
64
72
|
'fabric.editor.table': string;
|
|
@@ -72,11 +80,15 @@ declare const _default: {
|
|
|
72
80
|
'fabric.editor.tooltip.defaultBlockNode': string;
|
|
73
81
|
'fabric.editor.tooltip.nestedExpand': string;
|
|
74
82
|
'fabric.editor.tooltip.taskList': string;
|
|
83
|
+
'fabric.editor.unableToOpenLink': string;
|
|
84
|
+
'fabric.editor.unlink': string;
|
|
75
85
|
'fabric.editor.unsupportedBlockContent': string;
|
|
76
86
|
'fabric.editor.unsupportedContentTooltip': string;
|
|
77
87
|
'fabric.editor.unsupportedInlineContent': string;
|
|
78
88
|
'fabric.editor.viewMore': string;
|
|
79
89
|
'fabric.editor.visit': string;
|
|
90
|
+
'fabric.editor.wrapLeft': string;
|
|
91
|
+
'fabric.editor.wrapRight': string;
|
|
80
92
|
'fabric.theme.blue': string;
|
|
81
93
|
'fabric.theme.bold-blue': string;
|
|
82
94
|
'fabric.theme.bold-gray': string;
|
|
@@ -28,9 +28,11 @@ declare const _default: {
|
|
|
28
28
|
'fabric.editor.date.description': string;
|
|
29
29
|
'fabric.editor.decision': string;
|
|
30
30
|
'fabric.editor.decision.description': string;
|
|
31
|
+
'fabric.editor.editLink': string;
|
|
31
32
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
32
33
|
'fabric.editor.emoji': string;
|
|
33
34
|
'fabric.editor.emoji.description': string;
|
|
35
|
+
'fabric.editor.emptyLink': string;
|
|
34
36
|
'fabric.editor.expand': string;
|
|
35
37
|
'fabric.editor.expand.description': string;
|
|
36
38
|
'fabric.editor.expandDefaultTitle': string;
|
|
@@ -42,13 +44,18 @@ declare const _default: {
|
|
|
42
44
|
'fabric.editor.help.description': string;
|
|
43
45
|
'fabric.editor.horizontalRule': string;
|
|
44
46
|
'fabric.editor.horizontalRule.description': string;
|
|
47
|
+
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
45
48
|
'fabric.editor.image': string;
|
|
46
49
|
'fabric.editor.insertMenu': string;
|
|
50
|
+
'fabric.editor.invalidLink': string;
|
|
47
51
|
'fabric.editor.layoutFixedWidth': string;
|
|
48
52
|
'fabric.editor.layoutFullWidth': string;
|
|
49
53
|
'fabric.editor.layoutWide': string;
|
|
50
54
|
'fabric.editor.link': string;
|
|
51
55
|
'fabric.editor.link.description': string;
|
|
56
|
+
'fabric.editor.linkAddress': string;
|
|
57
|
+
'fabric.editor.linkPlaceholder': string;
|
|
58
|
+
'fabric.editor.mediaAddLink': string;
|
|
52
59
|
'fabric.editor.mediaFiles': string;
|
|
53
60
|
'fabric.editor.mediaFiles.description': string;
|
|
54
61
|
'fabric.editor.mention': string;
|
|
@@ -59,6 +66,7 @@ declare const _default: {
|
|
|
59
66
|
'fabric.editor.remove': string;
|
|
60
67
|
'fabric.editor.removeEmoji': string;
|
|
61
68
|
'fabric.editor.saveButton': string;
|
|
69
|
+
'fabric.editor.settingsLinks': string;
|
|
62
70
|
'fabric.editor.status': string;
|
|
63
71
|
'fabric.editor.status.description': string;
|
|
64
72
|
'fabric.editor.table': string;
|
|
@@ -72,11 +80,15 @@ declare const _default: {
|
|
|
72
80
|
'fabric.editor.tooltip.defaultBlockNode': string;
|
|
73
81
|
'fabric.editor.tooltip.nestedExpand': string;
|
|
74
82
|
'fabric.editor.tooltip.taskList': string;
|
|
83
|
+
'fabric.editor.unableToOpenLink': string;
|
|
84
|
+
'fabric.editor.unlink': string;
|
|
75
85
|
'fabric.editor.unsupportedBlockContent': string;
|
|
76
86
|
'fabric.editor.unsupportedContentTooltip': string;
|
|
77
87
|
'fabric.editor.unsupportedInlineContent': string;
|
|
78
88
|
'fabric.editor.viewMore': string;
|
|
79
89
|
'fabric.editor.visit': string;
|
|
90
|
+
'fabric.editor.wrapLeft': string;
|
|
91
|
+
'fabric.editor.wrapRight': string;
|
|
80
92
|
'fabric.theme.blue': string;
|
|
81
93
|
'fabric.theme.bold-blue': string;
|
|
82
94
|
'fabric.theme.bold-gray': string;
|
|
@@ -28,9 +28,11 @@ declare const _default: {
|
|
|
28
28
|
'fabric.editor.date.description': string;
|
|
29
29
|
'fabric.editor.decision': string;
|
|
30
30
|
'fabric.editor.decision.description': string;
|
|
31
|
+
'fabric.editor.editLink': string;
|
|
31
32
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
32
33
|
'fabric.editor.emoji': string;
|
|
33
34
|
'fabric.editor.emoji.description': string;
|
|
35
|
+
'fabric.editor.emptyLink': string;
|
|
34
36
|
'fabric.editor.expand': string;
|
|
35
37
|
'fabric.editor.expand.description': string;
|
|
36
38
|
'fabric.editor.expandDefaultTitle': string;
|
|
@@ -42,13 +44,18 @@ declare const _default: {
|
|
|
42
44
|
'fabric.editor.help.description': string;
|
|
43
45
|
'fabric.editor.horizontalRule': string;
|
|
44
46
|
'fabric.editor.horizontalRule.description': string;
|
|
47
|
+
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
45
48
|
'fabric.editor.image': string;
|
|
46
49
|
'fabric.editor.insertMenu': string;
|
|
50
|
+
'fabric.editor.invalidLink': string;
|
|
47
51
|
'fabric.editor.layoutFixedWidth': string;
|
|
48
52
|
'fabric.editor.layoutFullWidth': string;
|
|
49
53
|
'fabric.editor.layoutWide': string;
|
|
50
54
|
'fabric.editor.link': string;
|
|
51
55
|
'fabric.editor.link.description': string;
|
|
56
|
+
'fabric.editor.linkAddress': string;
|
|
57
|
+
'fabric.editor.linkPlaceholder': string;
|
|
58
|
+
'fabric.editor.mediaAddLink': string;
|
|
52
59
|
'fabric.editor.mediaFiles': string;
|
|
53
60
|
'fabric.editor.mediaFiles.description': string;
|
|
54
61
|
'fabric.editor.mention': string;
|
|
@@ -59,6 +66,7 @@ declare const _default: {
|
|
|
59
66
|
'fabric.editor.remove': string;
|
|
60
67
|
'fabric.editor.removeEmoji': string;
|
|
61
68
|
'fabric.editor.saveButton': string;
|
|
69
|
+
'fabric.editor.settingsLinks': string;
|
|
62
70
|
'fabric.editor.status': string;
|
|
63
71
|
'fabric.editor.status.description': string;
|
|
64
72
|
'fabric.editor.table': string;
|
|
@@ -72,11 +80,15 @@ declare const _default: {
|
|
|
72
80
|
'fabric.editor.tooltip.defaultBlockNode': string;
|
|
73
81
|
'fabric.editor.tooltip.nestedExpand': string;
|
|
74
82
|
'fabric.editor.tooltip.taskList': string;
|
|
83
|
+
'fabric.editor.unableToOpenLink': string;
|
|
84
|
+
'fabric.editor.unlink': string;
|
|
75
85
|
'fabric.editor.unsupportedBlockContent': string;
|
|
76
86
|
'fabric.editor.unsupportedContentTooltip': string;
|
|
77
87
|
'fabric.editor.unsupportedInlineContent': string;
|
|
78
88
|
'fabric.editor.viewMore': string;
|
|
79
89
|
'fabric.editor.visit': string;
|
|
90
|
+
'fabric.editor.wrapLeft': string;
|
|
91
|
+
'fabric.editor.wrapRight': string;
|
|
80
92
|
'fabric.theme.blue': string;
|
|
81
93
|
'fabric.theme.bold-blue': string;
|
|
82
94
|
'fabric.theme.bold-gray': string;
|
|
@@ -28,9 +28,11 @@ declare const _default: {
|
|
|
28
28
|
'fabric.editor.date.description': string;
|
|
29
29
|
'fabric.editor.decision': string;
|
|
30
30
|
'fabric.editor.decision.description': string;
|
|
31
|
+
'fabric.editor.editLink': string;
|
|
31
32
|
'fabric.editor.editMode.inviteToEditButton.title': string;
|
|
32
33
|
'fabric.editor.emoji': string;
|
|
33
34
|
'fabric.editor.emoji.description': string;
|
|
35
|
+
'fabric.editor.emptyLink': string;
|
|
34
36
|
'fabric.editor.expand': string;
|
|
35
37
|
'fabric.editor.expand.description': string;
|
|
36
38
|
'fabric.editor.expandDefaultTitle': string;
|
|
@@ -42,13 +44,18 @@ declare const _default: {
|
|
|
42
44
|
'fabric.editor.help.description': string;
|
|
43
45
|
'fabric.editor.horizontalRule': string;
|
|
44
46
|
'fabric.editor.horizontalRule.description': string;
|
|
47
|
+
'fabric.editor.hyperlinkToolbarPlaceholder': string;
|
|
45
48
|
'fabric.editor.image': string;
|
|
46
49
|
'fabric.editor.insertMenu': string;
|
|
50
|
+
'fabric.editor.invalidLink': string;
|
|
47
51
|
'fabric.editor.layoutFixedWidth': string;
|
|
48
52
|
'fabric.editor.layoutFullWidth': string;
|
|
49
53
|
'fabric.editor.layoutWide': string;
|
|
50
54
|
'fabric.editor.link': string;
|
|
51
55
|
'fabric.editor.link.description': string;
|
|
56
|
+
'fabric.editor.linkAddress': string;
|
|
57
|
+
'fabric.editor.linkPlaceholder': string;
|
|
58
|
+
'fabric.editor.mediaAddLink': string;
|
|
52
59
|
'fabric.editor.mediaFiles': string;
|
|
53
60
|
'fabric.editor.mediaFiles.description': string;
|
|
54
61
|
'fabric.editor.mention': string;
|
|
@@ -59,6 +66,7 @@ declare const _default: {
|
|
|
59
66
|
'fabric.editor.remove': string;
|
|
60
67
|
'fabric.editor.removeEmoji': string;
|
|
61
68
|
'fabric.editor.saveButton': string;
|
|
69
|
+
'fabric.editor.settingsLinks': string;
|
|
62
70
|
'fabric.editor.status': string;
|
|
63
71
|
'fabric.editor.status.description': string;
|
|
64
72
|
'fabric.editor.table': string;
|
|
@@ -72,11 +80,15 @@ declare const _default: {
|
|
|
72
80
|
'fabric.editor.tooltip.defaultBlockNode': string;
|
|
73
81
|
'fabric.editor.tooltip.nestedExpand': string;
|
|
74
82
|
'fabric.editor.tooltip.taskList': string;
|
|
83
|
+
'fabric.editor.unableToOpenLink': string;
|
|
84
|
+
'fabric.editor.unlink': string;
|
|
75
85
|
'fabric.editor.unsupportedBlockContent': string;
|
|
76
86
|
'fabric.editor.unsupportedContentTooltip': string;
|
|
77
87
|
'fabric.editor.unsupportedInlineContent': string;
|
|
78
88
|
'fabric.editor.viewMore': string;
|
|
79
89
|
'fabric.editor.visit': string;
|
|
90
|
+
'fabric.editor.wrapLeft': string;
|
|
91
|
+
'fabric.editor.wrapRight': string;
|
|
80
92
|
'fabric.theme.blue': string;
|
|
81
93
|
'fabric.theme.bold-blue': string;
|
|
82
94
|
'fabric.theme.bold-gray': string;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { EditorState } from 'prosemirror-state';
|
|
2
1
|
import type { EditorView } from 'prosemirror-view';
|
|
3
2
|
import { AnalyticsEventPayload } from '../analytics';
|
|
4
3
|
export declare function getPerformanceOptions(view: EditorView): {
|
|
@@ -9,10 +8,9 @@ export declare function getPerformanceOptions(view: EditorView): {
|
|
|
9
8
|
export declare function startMeasureReactNodeViewRendered({ nodeTypeName, }: {
|
|
10
9
|
nodeTypeName: string;
|
|
11
10
|
}): void;
|
|
12
|
-
export declare function stopMeasureReactNodeViewRendered({ nodeTypeName, dispatchAnalyticsEvent,
|
|
11
|
+
export declare function stopMeasureReactNodeViewRendered({ nodeTypeName, dispatchAnalyticsEvent, samplingRate, slowThreshold, }: {
|
|
13
12
|
nodeTypeName: string;
|
|
14
13
|
dispatchAnalyticsEvent(payload: AnalyticsEventPayload): void;
|
|
15
|
-
editorState: EditorState;
|
|
16
14
|
samplingRate: number;
|
|
17
15
|
slowThreshold: number;
|
|
18
16
|
}): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "74.
|
|
3
|
+
"version": "74.13.0",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@atlaskit/button": "^16.8.0",
|
|
83
83
|
"@atlaskit/code": "^14.6.0",
|
|
84
84
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
85
|
-
"@atlaskit/collab-provider": "^9.
|
|
85
|
+
"@atlaskit/collab-provider": "^9.5.0",
|
|
86
86
|
"@atlaskit/editor-palette": "1.5.1",
|
|
87
87
|
"@atlaskit/editor-shared-styles": "^2.4.0",
|
|
88
88
|
"@atlaskit/emoji": "^67.4.0",
|
|
@@ -95,11 +95,10 @@
|
|
|
95
95
|
"@atlaskit/menu": "^1.9.0",
|
|
96
96
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
97
97
|
"@atlaskit/profilecard": "^19.5.0",
|
|
98
|
-
"@atlaskit/smart-card": "^26.6.0",
|
|
99
98
|
"@atlaskit/smart-user-picker": "^6.1.0",
|
|
100
99
|
"@atlaskit/task-decision": "^17.6.0",
|
|
101
100
|
"@atlaskit/theme": "^12.5.0",
|
|
102
|
-
"@atlaskit/tokens": "^1.
|
|
101
|
+
"@atlaskit/tokens": "^1.11.0",
|
|
103
102
|
"@atlaskit/tooltip": "^17.8.0",
|
|
104
103
|
"@atlaskit/ufo": "^0.2.0",
|
|
105
104
|
"@atlaskit/width-detector": "^4.1.0",
|
|
@@ -138,18 +137,19 @@
|
|
|
138
137
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
139
138
|
},
|
|
140
139
|
"devDependencies": {
|
|
141
|
-
"@atlaskit/editor-core": "^185.
|
|
140
|
+
"@atlaskit/editor-core": "^185.6.0",
|
|
142
141
|
"@atlaskit/editor-json-transformer": "^8.9.0",
|
|
143
142
|
"@atlaskit/editor-plugin-analytics": "^0.0.3",
|
|
144
143
|
"@atlaskit/editor-plugin-content-insertion": "^0.0.3",
|
|
145
144
|
"@atlaskit/editor-plugin-decorations": "^0.1.0",
|
|
146
145
|
"@atlaskit/editor-plugin-feature-flags": "^0.1.0",
|
|
147
146
|
"@atlaskit/editor-plugin-grid": "^0.1.0",
|
|
148
|
-
"@atlaskit/editor-plugin-table": "^1.
|
|
147
|
+
"@atlaskit/editor-plugin-table": "^1.7.0",
|
|
149
148
|
"@atlaskit/editor-plugin-width": "^0.1.0",
|
|
150
149
|
"@atlaskit/editor-test-helpers": "^18.7.0",
|
|
151
150
|
"@atlaskit/media-core": "^34.1.0",
|
|
152
151
|
"@atlaskit/media-test-helpers": "^33.0.0",
|
|
152
|
+
"@atlaskit/smart-card": "^26.8.0",
|
|
153
153
|
"@atlaskit/util-data-test": "^17.8.0",
|
|
154
154
|
"@atlaskit/visual-regression": "*",
|
|
155
155
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
package/dist/cjs/utils/collab.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.getParticipantsCount = void 0;
|
|
7
|
-
var getParticipantsCount = function getParticipantsCount(editorState) {
|
|
8
|
-
var _collabEditPlugin$$pa, _collabEditPlugin$$pa2;
|
|
9
|
-
// TODO: ED-15663
|
|
10
|
-
// Please, do not copy or use this kind of code below
|
|
11
|
-
// @ts-ignore
|
|
12
|
-
if (!editorState || !editorState['collabEditPlugin$']) {
|
|
13
|
-
return 1;
|
|
14
|
-
}
|
|
15
|
-
var participantsCount = (_collabEditPlugin$$pa = (_collabEditPlugin$$pa2 = editorState['collabEditPlugin$'].participants) === null || _collabEditPlugin$$pa2 === void 0 ? void 0 : _collabEditPlugin$$pa2.size()) !== null && _collabEditPlugin$$pa !== void 0 ? _collabEditPlugin$$pa : 1;
|
|
16
|
-
return participantsCount;
|
|
17
|
-
};
|
|
18
|
-
exports.getParticipantsCount = getParticipantsCount;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export const getParticipantsCount = editorState => {
|
|
2
|
-
var _collabEditPlugin$$pa, _collabEditPlugin$$pa2;
|
|
3
|
-
// TODO: ED-15663
|
|
4
|
-
// Please, do not copy or use this kind of code below
|
|
5
|
-
// @ts-ignore
|
|
6
|
-
if (!editorState || !editorState['collabEditPlugin$']) {
|
|
7
|
-
return 1;
|
|
8
|
-
}
|
|
9
|
-
const participantsCount = (_collabEditPlugin$$pa = (_collabEditPlugin$$pa2 = editorState['collabEditPlugin$'].participants) === null || _collabEditPlugin$$pa2 === void 0 ? void 0 : _collabEditPlugin$$pa2.size()) !== null && _collabEditPlugin$$pa !== void 0 ? _collabEditPlugin$$pa : 1;
|
|
10
|
-
return participantsCount;
|
|
11
|
-
};
|
package/dist/esm/utils/collab.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export var getParticipantsCount = function getParticipantsCount(editorState) {
|
|
2
|
-
var _collabEditPlugin$$pa, _collabEditPlugin$$pa2;
|
|
3
|
-
// TODO: ED-15663
|
|
4
|
-
// Please, do not copy or use this kind of code below
|
|
5
|
-
// @ts-ignore
|
|
6
|
-
if (!editorState || !editorState['collabEditPlugin$']) {
|
|
7
|
-
return 1;
|
|
8
|
-
}
|
|
9
|
-
var participantsCount = (_collabEditPlugin$$pa = (_collabEditPlugin$$pa2 = editorState['collabEditPlugin$'].participants) === null || _collabEditPlugin$$pa2 === void 0 ? void 0 : _collabEditPlugin$$pa2.size()) !== null && _collabEditPlugin$$pa !== void 0 ? _collabEditPlugin$$pa : 1;
|
|
10
|
-
return participantsCount;
|
|
11
|
-
};
|