@atlaskit/renderer 108.15.9 → 108.15.11
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 +13 -0
- package/dist/cjs/react/nodes/fallback.js +2 -2
- package/dist/cjs/ui/Renderer/breakout-ssr.js +4 -0
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/react/nodes/fallback.js +3 -3
- package/dist/es2019/ui/Renderer/breakout-ssr.js +4 -0
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/nodes/fallback.js +3 -3
- package/dist/esm/ui/Renderer/breakout-ssr.js +4 -0
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/dist/types-ts4.5/actions/index.d.ts +61 -0
- package/dist/types-ts4.5/actions/matches-utils.d.ts +7 -0
- package/dist/types-ts4.5/actions.d.ts +3 -0
- package/dist/types-ts4.5/analytics/analyticsContext.d.ts +6 -0
- package/dist/types-ts4.5/analytics/enums.d.ts +58 -0
- package/dist/types-ts4.5/analytics/events.d.ts +118 -0
- package/dist/types-ts4.5/analytics/unsupported-content.d.ts +10 -0
- package/dist/types-ts4.5/consts.d.ts +12 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +25 -0
- package/dist/types-ts4.5/i18n/da.d.ts +20 -0
- package/dist/types-ts4.5/i18n/de.d.ts +20 -0
- package/dist/types-ts4.5/i18n/en.d.ts +25 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +25 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +25 -0
- package/dist/types-ts4.5/i18n/es.d.ts +20 -0
- package/dist/types-ts4.5/i18n/et.d.ts +8 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +25 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +20 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +20 -0
- package/dist/types-ts4.5/i18n/index.d.ts +31 -0
- package/dist/types-ts4.5/i18n/it.d.ts +20 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +25 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +20 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +20 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +20 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +20 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +25 -0
- package/dist/types-ts4.5/i18n/pt_PT.d.ts +8 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +25 -0
- package/dist/types-ts4.5/i18n/sk.d.ts +8 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +20 -0
- package/dist/types-ts4.5/i18n/th.d.ts +20 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +20 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +25 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +20 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +20 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +20 -0
- package/dist/types-ts4.5/index.d.ts +11 -0
- package/dist/types-ts4.5/messages.d.ts +88 -0
- package/dist/types-ts4.5/react/hooks/use-bidi-warnings.d.ts +10 -0
- package/dist/types-ts4.5/react/hooks/use-in-viewport.d.ts +5 -0
- package/dist/types-ts4.5/react/index.d.ts +124 -0
- package/dist/types-ts4.5/react/marks/alignment.d.ts +4 -0
- package/dist/types-ts4.5/react/marks/annotation.d.ts +6 -0
- package/dist/types-ts4.5/react/marks/breakout.d.ts +6 -0
- package/dist/types-ts4.5/react/marks/code.d.ts +16 -0
- package/dist/types-ts4.5/react/marks/confluence-inline-comment.d.ts +8 -0
- package/dist/types-ts4.5/react/marks/data-consumer.d.ts +4 -0
- package/dist/types-ts4.5/react/marks/em.d.ts +3 -0
- package/dist/types-ts4.5/react/marks/fragment.d.ts +4 -0
- package/dist/types-ts4.5/react/marks/indentation.d.ts +4 -0
- package/dist/types-ts4.5/react/marks/index.d.ts +21 -0
- package/dist/types-ts4.5/react/marks/link.d.ts +9 -0
- package/dist/types-ts4.5/react/marks/strike.d.ts +3 -0
- package/dist/types-ts4.5/react/marks/strong.d.ts +3 -0
- package/dist/types-ts4.5/react/marks/subsup.d.ts +4 -0
- package/dist/types-ts4.5/react/marks/textColor.d.ts +4 -0
- package/dist/types-ts4.5/react/marks/underline.d.ts +3 -0
- package/dist/types-ts4.5/react/marks/unsupportedMark.d.ts +3 -0
- package/dist/types-ts4.5/react/marks/unsupportedNodeAttribute.d.ts +3 -0
- package/dist/types-ts4.5/react/nodes/blockCard.d.ts +15 -0
- package/dist/types-ts4.5/react/nodes/blockquote.d.ts +2 -0
- package/dist/types-ts4.5/react/nodes/bodiedExtension.d.ts +24 -0
- package/dist/types-ts4.5/react/nodes/bulletList.d.ts +5 -0
- package/dist/types-ts4.5/react/nodes/caption.d.ts +4 -0
- package/dist/types-ts4.5/react/nodes/codeBlock/codeBlock.d.ts +15 -0
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockButtonContainer.d.ts +12 -0
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockContainer.d.ts +10 -0
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockCopyButton.d.ts +9 -0
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockWrapButton.d.ts +11 -0
- package/dist/types-ts4.5/react/nodes/codeBlock/components/lightWeightCodeBlock.d.ts +9 -0
- package/dist/types-ts4.5/react/nodes/codeBlock/windowedCodeBlock.d.ts +4 -0
- package/dist/types-ts4.5/react/nodes/date.d.ts +11 -0
- package/dist/types-ts4.5/react/nodes/decisionItem.d.ts +3 -0
- package/dist/types-ts4.5/react/nodes/decisionList.d.ts +7 -0
- package/dist/types-ts4.5/react/nodes/doc.d.ts +3 -0
- package/dist/types-ts4.5/react/nodes/embedCard.d.ts +19 -0
- package/dist/types-ts4.5/react/nodes/emoji.d.ts +12 -0
- package/dist/types-ts4.5/react/nodes/extension.d.ts +113 -0
- package/dist/types-ts4.5/react/nodes/fallback.d.ts +19 -0
- package/dist/types-ts4.5/react/nodes/hardBreak.d.ts +6 -0
- package/dist/types-ts4.5/react/nodes/heading-anchor.d.ts +14 -0
- package/dist/types-ts4.5/react/nodes/heading.d.ts +14 -0
- package/dist/types-ts4.5/react/nodes/index.d.ts +98 -0
- package/dist/types-ts4.5/react/nodes/inline.d.ts +1 -0
- package/dist/types-ts4.5/react/nodes/inlineCard.d.ts +65 -0
- package/dist/types-ts4.5/react/nodes/inlineExtension.d.ts +18 -0
- package/dist/types-ts4.5/react/nodes/layoutColumn.d.ts +6 -0
- package/dist/types-ts4.5/react/nodes/layoutSection.d.ts +2 -0
- package/dist/types-ts4.5/react/nodes/listItem.d.ts +2 -0
- package/dist/types-ts4.5/react/nodes/media/index.d.ts +27 -0
- package/dist/types-ts4.5/react/nodes/media/styles.d.ts +2 -0
- package/dist/types-ts4.5/react/nodes/mediaGroup.d.ts +30 -0
- package/dist/types-ts4.5/react/nodes/mediaInline.d.ts +38 -0
- package/dist/types-ts4.5/react/nodes/mediaSingle/index.d.ts +24 -0
- package/dist/types-ts4.5/react/nodes/mediaSingle/styles.d.ts +2 -0
- package/dist/types-ts4.5/react/nodes/mention.d.ts +13 -0
- package/dist/types-ts4.5/react/nodes/orderedList.d.ts +9 -0
- package/dist/types-ts4.5/react/nodes/panel.d.ts +17 -0
- package/dist/types-ts4.5/react/nodes/paragraph.d.ts +3 -0
- package/dist/types-ts4.5/react/nodes/placeholder.d.ts +6 -0
- package/dist/types-ts4.5/react/nodes/rule.d.ts +2 -0
- package/dist/types-ts4.5/react/nodes/status.d.ts +10 -0
- package/dist/types-ts4.5/react/nodes/table/colgroup.d.ts +9 -0
- package/dist/types-ts4.5/react/nodes/table/sticky.d.ts +43 -0
- package/dist/types-ts4.5/react/nodes/table/table.d.ts +7 -0
- package/dist/types-ts4.5/react/nodes/table/types.d.ts +12 -0
- package/dist/types-ts4.5/react/nodes/table.d.ts +282 -0
- package/dist/types-ts4.5/react/nodes/tableCell.d.ts +81 -0
- package/dist/types-ts4.5/react/nodes/tableRow.d.ts +24 -0
- package/dist/types-ts4.5/react/nodes/task-item-with-providers.d.ts +29 -0
- package/dist/types-ts4.5/react/nodes/taskItem.d.ts +19 -0
- package/dist/types-ts4.5/react/nodes/taskList.d.ts +8 -0
- package/dist/types-ts4.5/react/nodes/text-wrapper.d.ts +8 -0
- package/dist/types-ts4.5/react/nodes/unknownBlock.d.ts +2 -0
- package/dist/types-ts4.5/react/renderer-node.d.ts +5 -0
- package/dist/types-ts4.5/react/types.d.ts +58 -0
- package/dist/types-ts4.5/react/utils/appearance.d.ts +4 -0
- package/dist/types-ts4.5/react/utils/clipboard.d.ts +1 -0
- package/dist/types-ts4.5/react/utils/element-selection.d.ts +9 -0
- package/dist/types-ts4.5/react/utils/getCardClickHandler.d.ts +2 -0
- package/dist/types-ts4.5/react/utils/inject-props.d.ts +6 -0
- package/dist/types-ts4.5/react/utils/links.d.ts +3 -0
- package/dist/types-ts4.5/react/utils/lists.d.ts +2 -0
- package/dist/types-ts4.5/react/utils/performance/RenderTracking.d.ts +15 -0
- package/dist/types-ts4.5/react/utils/use-select-all-trap.d.ts +2 -0
- package/dist/types-ts4.5/render-document.d.ts +23 -0
- package/dist/types-ts4.5/renderer-context.d.ts +7 -0
- package/dist/types-ts4.5/serializer.d.ts +4 -0
- package/dist/types-ts4.5/steps/index.d.ts +14 -0
- package/dist/types-ts4.5/text/index.d.ts +8 -0
- package/dist/types-ts4.5/text/nodes/blockquote.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/bulletList.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/date.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/decisionItem.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/hardBreak.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/heading.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/index.d.ts +6 -0
- package/dist/types-ts4.5/text/nodes/inlineCard.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/listItem.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/mediaGroup.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/mention.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/orderedList.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/panel.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/paragraph.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/rule.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/status.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/table.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/taskItem.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/unknown.d.ts +3 -0
- package/dist/types-ts4.5/text-serializer.d.ts +1 -0
- package/dist/types-ts4.5/types/i18n.d.ts +5 -0
- package/dist/types-ts4.5/types/mediaOptions.d.ts +13 -0
- package/dist/types-ts4.5/types/smartLinksOptions.d.ts +7 -0
- package/dist/types-ts4.5/ui/Expand.d.ts +23 -0
- package/dist/types-ts4.5/ui/ExtensionRenderer.d.ts +42 -0
- package/dist/types-ts4.5/ui/MediaCard.d.ts +79 -0
- package/dist/types-ts4.5/ui/Renderer/ErrorBoundary.d.ts +24 -0
- package/dist/types-ts4.5/ui/Renderer/breakout-ssr.d.ts +11 -0
- package/dist/types-ts4.5/ui/Renderer/click-to-edit.d.ts +6 -0
- package/dist/types-ts4.5/ui/Renderer/index.d.ts +38 -0
- package/dist/types-ts4.5/ui/Renderer/style.d.ts +16 -0
- package/dist/types-ts4.5/ui/Renderer/truncated-wrapper.d.ts +12 -0
- package/dist/types-ts4.5/ui/Renderer/types.d.ts +16 -0
- package/dist/types-ts4.5/ui/RendererActionsContext/WithRendererActions.d.ts +6 -0
- package/dist/types-ts4.5/ui/RendererActionsContext/index.d.ts +9 -0
- package/dist/types-ts4.5/ui/SmartCardStorage.d.ts +60 -0
- package/dist/types-ts4.5/ui/SortingIcon.d.ts +23 -0
- package/dist/types-ts4.5/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +15 -0
- package/dist/types-ts4.5/ui/TaskItemsFormatContext/index.d.ts +2 -0
- package/dist/types-ts4.5/ui/active-header-id-provider.d.ts +18 -0
- package/dist/types-ts4.5/ui/annotations/context.d.ts +27 -0
- package/dist/types-ts4.5/ui/annotations/draft/component.d.ts +20 -0
- package/dist/types-ts4.5/ui/annotations/draft/dom.d.ts +7 -0
- package/dist/types-ts4.5/ui/annotations/draft/index.d.ts +2 -0
- package/dist/types-ts4.5/ui/annotations/draft/position.d.ts +2 -0
- package/dist/types-ts4.5/ui/annotations/draft/text.d.ts +13 -0
- package/dist/types-ts4.5/ui/annotations/element/index.d.ts +10 -0
- package/dist/types-ts4.5/ui/annotations/element/mark.d.ts +14 -0
- package/dist/types-ts4.5/ui/annotations/hooks/index.d.ts +3 -0
- package/dist/types-ts4.5/ui/annotations/hooks/use-events.d.ts +18 -0
- package/dist/types-ts4.5/ui/annotations/hooks/use-inline-comment-subscriber.d.ts +1 -0
- package/dist/types-ts4.5/ui/annotations/hooks/use-inline-comments-filter.d.ts +9 -0
- package/dist/types-ts4.5/ui/annotations/hooks/use-load-annotations.d.ts +6 -0
- package/dist/types-ts4.5/ui/annotations/hooks/user-selection.d.ts +9 -0
- package/dist/types-ts4.5/ui/annotations/hooks/utils.d.ts +2 -0
- package/dist/types-ts4.5/ui/annotations/index.d.ts +5 -0
- package/dist/types-ts4.5/ui/annotations/selection/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/annotations/selection/mounter.d.ts +20 -0
- package/dist/types-ts4.5/ui/annotations/selection/range-validator.d.ts +13 -0
- package/dist/types-ts4.5/ui/annotations/selection/wrapper.d.ts +8 -0
- package/dist/types-ts4.5/ui/annotations/types.d.ts +22 -0
- package/dist/types-ts4.5/ui/annotations/view/index.d.ts +7 -0
- package/dist/types-ts4.5/ui/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/renderer-props.d.ts +115 -0
- package/dist/types-ts4.5/use-feature-flags.d.ts +2 -0
- package/dist/types-ts4.5/utils.d.ts +24 -0
- package/package.json +4 -4
- package/tmp/api-report-tmp.d.ts +552 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 108.15.11
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#41579](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41579) [`826ee5c6530`](https://bitbucket.org/atlassian/atlassian-frontend/commits/826ee5c6530) - Handle comment nodes in Media SSR inline script
|
|
8
|
+
|
|
9
|
+
## 108.15.10
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#40745](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40745) [`dbc9194d7e1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dbc9194d7e1) - CardErrorBoundary now uses lazy loaded DatasourceRenderFailedAnalyticsWrapper
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 108.15.9
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -57,9 +57,9 @@ var CardErrorBoundary = exports.CardErrorBoundary = /*#__PURE__*/function (_Reac
|
|
|
57
57
|
}, _url);
|
|
58
58
|
if (isDatasource) {
|
|
59
59
|
if ((0, _adfSchema.isSafeUrl)(_url)) {
|
|
60
|
-
return /*#__PURE__*/_react.default.createElement(_linkDatasource.
|
|
60
|
+
return /*#__PURE__*/_react.default.createElement(_linkDatasource.LazyLoadedDatasourceRenderFailedAnalyticsWrapper, null, /*#__PURE__*/_react.default.createElement(_.InlineCard, this.props));
|
|
61
61
|
} else {
|
|
62
|
-
return /*#__PURE__*/_react.default.createElement(_linkDatasource.
|
|
62
|
+
return /*#__PURE__*/_react.default.createElement(_linkDatasource.LazyLoadedDatasourceRenderFailedAnalyticsWrapper, null, fallback);
|
|
63
63
|
}
|
|
64
64
|
} else {
|
|
65
65
|
return fallback;
|
|
@@ -67,6 +67,10 @@ function applyBreakoutAfterSSR(id, breakoutConsts) {
|
|
|
67
67
|
}
|
|
68
68
|
if (item.target.classList.contains('ak-renderer-document')) {
|
|
69
69
|
item.addedNodes.forEach(function (maybeNode) {
|
|
70
|
+
// maybeNode may contain comments which doesn't have a dataset property
|
|
71
|
+
if (maybeNode.nodeType !== Node.ELEMENT_NODE) {
|
|
72
|
+
return;
|
|
73
|
+
}
|
|
70
74
|
var width;
|
|
71
75
|
var node = maybeNode;
|
|
72
76
|
var mode = node.dataset.mode || node.dataset.layout || '';
|
|
@@ -53,7 +53,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
53
53
|
var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
54
54
|
var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
55
55
|
var packageName = "@atlaskit/renderer";
|
|
56
|
-
var packageVersion = "108.15.
|
|
56
|
+
var packageVersion = "108.15.11";
|
|
57
57
|
var Renderer = exports.Renderer = /*#__PURE__*/function (_PureComponent) {
|
|
58
58
|
(0, _inherits2.default)(Renderer, _PureComponent);
|
|
59
59
|
var _super = _createSuper(Renderer);
|
|
@@ -2,7 +2,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { InlineCard } from './';
|
|
4
4
|
import { isSafeUrl } from '@atlaskit/adf-schema';
|
|
5
|
-
import {
|
|
5
|
+
import { LazyLoadedDatasourceRenderFailedAnalyticsWrapper } from '@atlaskit/link-datasource';
|
|
6
6
|
export class CardErrorBoundary extends React.PureComponent {
|
|
7
7
|
constructor(...args) {
|
|
8
8
|
super(...args);
|
|
@@ -39,9 +39,9 @@ export class CardErrorBoundary extends React.PureComponent {
|
|
|
39
39
|
}, url);
|
|
40
40
|
if (isDatasource) {
|
|
41
41
|
if (isSafeUrl(url)) {
|
|
42
|
-
return /*#__PURE__*/React.createElement(
|
|
42
|
+
return /*#__PURE__*/React.createElement(LazyLoadedDatasourceRenderFailedAnalyticsWrapper, null, /*#__PURE__*/React.createElement(InlineCard, this.props));
|
|
43
43
|
} else {
|
|
44
|
-
return /*#__PURE__*/React.createElement(
|
|
44
|
+
return /*#__PURE__*/React.createElement(LazyLoadedDatasourceRenderFailedAnalyticsWrapper, null, fallback);
|
|
45
45
|
}
|
|
46
46
|
} else {
|
|
47
47
|
return fallback;
|
|
@@ -71,6 +71,10 @@ function applyBreakoutAfterSSR(id, breakoutConsts) {
|
|
|
71
71
|
}
|
|
72
72
|
if (item.target.classList.contains('ak-renderer-document')) {
|
|
73
73
|
item.addedNodes.forEach(maybeNode => {
|
|
74
|
+
// maybeNode may contain comments which doesn't have a dataset property
|
|
75
|
+
if (maybeNode.nodeType !== Node.ELEMENT_NODE) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
74
78
|
let width;
|
|
75
79
|
const node = maybeNode;
|
|
76
80
|
const mode = node.dataset.mode || node.dataset.layout || '';
|
|
@@ -35,7 +35,7 @@ import { RenderTracking } from '../../react/utils/performance/RenderTracking';
|
|
|
35
35
|
export const NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
36
36
|
export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
37
37
|
const packageName = "@atlaskit/renderer";
|
|
38
|
-
const packageVersion = "108.15.
|
|
38
|
+
const packageVersion = "108.15.11";
|
|
39
39
|
export class Renderer extends PureComponent {
|
|
40
40
|
constructor(props) {
|
|
41
41
|
super(props);
|
|
@@ -10,7 +10,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
|
|
|
10
10
|
import React from 'react';
|
|
11
11
|
import { InlineCard } from './';
|
|
12
12
|
import { isSafeUrl } from '@atlaskit/adf-schema';
|
|
13
|
-
import {
|
|
13
|
+
import { LazyLoadedDatasourceRenderFailedAnalyticsWrapper } from '@atlaskit/link-datasource';
|
|
14
14
|
export var CardErrorBoundary = /*#__PURE__*/function (_React$PureComponent) {
|
|
15
15
|
_inherits(CardErrorBoundary, _React$PureComponent);
|
|
16
16
|
var _super = _createSuper(CardErrorBoundary);
|
|
@@ -50,9 +50,9 @@ export var CardErrorBoundary = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
50
50
|
}, _url);
|
|
51
51
|
if (isDatasource) {
|
|
52
52
|
if (isSafeUrl(_url)) {
|
|
53
|
-
return /*#__PURE__*/React.createElement(
|
|
53
|
+
return /*#__PURE__*/React.createElement(LazyLoadedDatasourceRenderFailedAnalyticsWrapper, null, /*#__PURE__*/React.createElement(InlineCard, this.props));
|
|
54
54
|
} else {
|
|
55
|
-
return /*#__PURE__*/React.createElement(
|
|
55
|
+
return /*#__PURE__*/React.createElement(LazyLoadedDatasourceRenderFailedAnalyticsWrapper, null, fallback);
|
|
56
56
|
}
|
|
57
57
|
} else {
|
|
58
58
|
return fallback;
|
|
@@ -59,6 +59,10 @@ function applyBreakoutAfterSSR(id, breakoutConsts) {
|
|
|
59
59
|
}
|
|
60
60
|
if (item.target.classList.contains('ak-renderer-document')) {
|
|
61
61
|
item.addedNodes.forEach(function (maybeNode) {
|
|
62
|
+
// maybeNode may contain comments which doesn't have a dataset property
|
|
63
|
+
if (maybeNode.nodeType !== Node.ELEMENT_NODE) {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
62
66
|
var width;
|
|
63
67
|
var node = maybeNode;
|
|
64
68
|
var mode = node.dataset.mode || node.dataset.layout || '';
|
|
@@ -45,7 +45,7 @@ import { RenderTracking } from '../../react/utils/performance/RenderTracking';
|
|
|
45
45
|
export var NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
46
46
|
export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
47
47
|
var packageName = "@atlaskit/renderer";
|
|
48
|
-
var packageVersion = "108.15.
|
|
48
|
+
var packageVersion = "108.15.11";
|
|
49
49
|
export var Renderer = /*#__PURE__*/function (_PureComponent) {
|
|
50
50
|
_inherits(Renderer, _PureComponent);
|
|
51
51
|
var _super = _createSuper(Renderer);
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
3
|
+
import type { AnnotationActionResult, AnnotationByMatches } from '@atlaskit/editor-common/types';
|
|
4
|
+
import { AnnotationTypes } from '@atlaskit/adf-schema';
|
|
5
|
+
import { Node, Schema, Mark } from '@atlaskit/editor-prosemirror/model';
|
|
6
|
+
import { Step, RemoveMarkStep } from '@atlaskit/editor-prosemirror/transform';
|
|
7
|
+
import { AnalyticsEventPayload } from '../analytics/events';
|
|
8
|
+
type ActionResult = {
|
|
9
|
+
step: Step;
|
|
10
|
+
doc: JSONDocNode;
|
|
11
|
+
} | false;
|
|
12
|
+
type Position = {
|
|
13
|
+
from: number;
|
|
14
|
+
to: number;
|
|
15
|
+
};
|
|
16
|
+
type Annotation = {
|
|
17
|
+
annotationId: string;
|
|
18
|
+
annotationType: AnnotationTypes;
|
|
19
|
+
};
|
|
20
|
+
export interface RendererActionsOptions {
|
|
21
|
+
annotate: (range: Range, annotationId: string, annotationType: 'inlineComment') => ActionResult;
|
|
22
|
+
deleteAnnotation: (annotationId: string, annotationType: 'inlineComment') => ActionResult;
|
|
23
|
+
isValidAnnotationRange: (range: Range) => boolean;
|
|
24
|
+
}
|
|
25
|
+
export type ApplyAnnotation = (pos: Position, annotation: Annotation) => AnnotationActionResult;
|
|
26
|
+
export interface AnnotationsRendererActionsOptions {
|
|
27
|
+
isValidAnnotationPosition: (pos: Position) => boolean;
|
|
28
|
+
applyAnnotation: ApplyAnnotation;
|
|
29
|
+
getAnnotationMarks: () => Mark[];
|
|
30
|
+
}
|
|
31
|
+
export interface PositionRendererActionsOptions {
|
|
32
|
+
getPositionFromRange: (range: Range) => Position | false;
|
|
33
|
+
}
|
|
34
|
+
export default class RendererActions implements RendererActionsOptions, AnnotationsRendererActionsOptions, PositionRendererActionsOptions {
|
|
35
|
+
private initFromContext;
|
|
36
|
+
private transformer;
|
|
37
|
+
private doc?;
|
|
38
|
+
private schema?;
|
|
39
|
+
private ref?;
|
|
40
|
+
private onAnalyticsEvent?;
|
|
41
|
+
constructor(initFromContext?: boolean);
|
|
42
|
+
_privateRegisterRenderer(ref: React.MutableRefObject<null>, doc: Node, schema: Schema, onAnalyticsEvent?: (event: AnalyticsEventPayload) => void): void;
|
|
43
|
+
_privateUnregisterRenderer(): void;
|
|
44
|
+
/**
|
|
45
|
+
* Validate whether we can create an annotation between two positions
|
|
46
|
+
*/
|
|
47
|
+
_privateValidatePositionsForAnnotation(from: number, to: number): boolean;
|
|
48
|
+
deleteAnnotation(annotationId: string, annotationType: 'inlineComment'): false | {
|
|
49
|
+
step: RemoveMarkStep;
|
|
50
|
+
doc: JSONDocNode;
|
|
51
|
+
};
|
|
52
|
+
annotate(range: Range, annotationId: string, annotationType: 'inlineComment'): AnnotationActionResult;
|
|
53
|
+
isValidAnnotationRange(range: Range): boolean;
|
|
54
|
+
isValidAnnotationPosition(pos: Position): boolean;
|
|
55
|
+
getPositionFromRange(range: Range): Position | false;
|
|
56
|
+
getAnnotationMarks(): Mark[];
|
|
57
|
+
getAnnotationsByPosition(range: Range): string[];
|
|
58
|
+
applyAnnotation(pos: Position, annotation: Annotation): AnnotationActionResult;
|
|
59
|
+
generateAnnotationIndexMatch(pos: Position): AnnotationByMatches | false;
|
|
60
|
+
}
|
|
61
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Node, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
+
export declare function getIndexMatch(doc: Node, schema: Schema, selectedText: string, startIndex: number): {
|
|
3
|
+
numMatches: number;
|
|
4
|
+
matchIndex: number;
|
|
5
|
+
textContent: string;
|
|
6
|
+
};
|
|
7
|
+
export declare function countMatches(searchString: string, query: string): number;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { RendererActionsContext, RendererActionsContextConsumer } from './ui/RendererActionsContext';
|
|
2
|
+
import { WithRendererActions } from './ui/RendererActionsContext/WithRendererActions';
|
|
3
|
+
export { RendererActionsContext, RendererActionsContextConsumer, WithRendererActions, };
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export declare enum EVENT_TYPE {
|
|
2
|
+
OPERATIONAL = "operational",
|
|
3
|
+
SCREEN = "screen",
|
|
4
|
+
TRACK = "track",
|
|
5
|
+
UI = "ui"
|
|
6
|
+
}
|
|
7
|
+
export declare enum ACTION {
|
|
8
|
+
STARTED = "started",
|
|
9
|
+
RENDERED = "rendered",
|
|
10
|
+
RE_RENDERED = "reRendered",
|
|
11
|
+
RENDERER_TTI = "tti",
|
|
12
|
+
CRASHED = "unhandledErrorCaught",
|
|
13
|
+
INVALID_PROSEMIRROR_DOCUMENT = "invalidProsemirrorDocument",
|
|
14
|
+
SELECT_ALL_CAUGHT = "selectAllCaught",
|
|
15
|
+
SELECT_ALL_ESCAPED = "selectAllEscaped",
|
|
16
|
+
CLICKED = "clicked",
|
|
17
|
+
VIEWED = "viewed",
|
|
18
|
+
VISITED = "visited",
|
|
19
|
+
SORT_COLUMN = "sortedColumn",
|
|
20
|
+
SORT_COLUMN_NOT_ALLOWED = "sortColumnNotAllowed",
|
|
21
|
+
TOGGLE_EXPAND = "toggleExpand",
|
|
22
|
+
INSERTED = "inserted",
|
|
23
|
+
OPENED = "opened",
|
|
24
|
+
CLOSED = "closed",
|
|
25
|
+
DELETED = "deleted",
|
|
26
|
+
EDITED = "edited",
|
|
27
|
+
RESOLVED = "resolved",
|
|
28
|
+
CREATE_NOT_ALLOWED = "createNotAllowed",
|
|
29
|
+
UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED = "unsupportedContentLevelsTrackingSucceeded",
|
|
30
|
+
UNSUPPORTED_CONTENT_LEVELS_TRACKING_ERRORED = "unsupportedContentLevelsTrackingErrored",
|
|
31
|
+
MEDIA_LINK_TRANSFORMED = "mediaLinkTransformed"
|
|
32
|
+
}
|
|
33
|
+
export declare enum ACTION_SUBJECT {
|
|
34
|
+
RENDERER = "renderer",
|
|
35
|
+
BUTTON = "button",
|
|
36
|
+
ANCHOR_LINK = "anchorLink",
|
|
37
|
+
TABLE = "table",
|
|
38
|
+
EXPAND = "expand",
|
|
39
|
+
NESTED_EXPAND = "nestedExpand",
|
|
40
|
+
MEDIA_SINGLE = "mediaSingle",
|
|
41
|
+
LINK = "link",
|
|
42
|
+
ANNOTATION = "annotation",
|
|
43
|
+
MEDIA = "media"
|
|
44
|
+
}
|
|
45
|
+
export declare enum ACTION_SUBJECT_ID {
|
|
46
|
+
HEADING_ANCHOR_LINK = "headingAnchorLink",
|
|
47
|
+
LINK = "link",
|
|
48
|
+
INLINE_COMMENT = "inlineComment",
|
|
49
|
+
CODEBLOCK_COPY = "codeBlockCopy",
|
|
50
|
+
CODEBLOCK_WRAP = "codeBlockWrap"
|
|
51
|
+
}
|
|
52
|
+
export type AEP<Action, ActionSubject, ActionSubjectID, Attributes, EventType> = {
|
|
53
|
+
action: Action;
|
|
54
|
+
actionSubject: ActionSubject;
|
|
55
|
+
actionSubjectId?: ActionSubjectID;
|
|
56
|
+
attributes?: Attributes;
|
|
57
|
+
eventType: EventType;
|
|
58
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, OperationalAEP } from '@atlaskit/editor-common/analytics';
|
|
2
|
+
import { AEP } from './enums';
|
|
3
|
+
import { PropsDifference, SEVERITY, ShallowPropsDifference, UNSUPPORTED_CONTENT_LEVEL_SEVERITY } from '@atlaskit/editor-common/utils';
|
|
4
|
+
import type { UnsupportedContentPayload, UnsupportedContentTooltipPayload } from '@atlaskit/editor-common/utils';
|
|
5
|
+
import { SortOrder } from '@atlaskit/editor-common/types';
|
|
6
|
+
export declare enum PLATFORM {
|
|
7
|
+
NATIVE = "mobileNative",
|
|
8
|
+
HYBRID = "mobileHybrid",
|
|
9
|
+
WEB = "web"
|
|
10
|
+
}
|
|
11
|
+
export declare enum MODE {
|
|
12
|
+
RENDERER = "renderer",
|
|
13
|
+
EDITOR = "editor"
|
|
14
|
+
}
|
|
15
|
+
type RendererStartAEP = AEP<ACTION.STARTED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
16
|
+
platform: PLATFORM.WEB;
|
|
17
|
+
}, EVENT_TYPE.UI>;
|
|
18
|
+
type RendererRenderedAEP = AEP<ACTION.RENDERED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
19
|
+
platform: PLATFORM.WEB;
|
|
20
|
+
duration: number;
|
|
21
|
+
distortedDuration: boolean;
|
|
22
|
+
ttfb?: number;
|
|
23
|
+
nodes: Record<string, number>;
|
|
24
|
+
severity?: SEVERITY;
|
|
25
|
+
}, EVENT_TYPE.OPERATIONAL>;
|
|
26
|
+
type RendererReRenderedAEP<Props> = AEP<ACTION.RE_RENDERED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
27
|
+
propsDifference: PropsDifference<Props> | ShallowPropsDifference<Props>;
|
|
28
|
+
count: number;
|
|
29
|
+
componentId?: string;
|
|
30
|
+
}, EVENT_TYPE.OPERATIONAL>;
|
|
31
|
+
export type ComponentCrashErrorAEP = OperationalAEP<ACTION.CRASHED, ACTION_SUBJECT.RENDERER, ACTION_SUBJECT_ID, {
|
|
32
|
+
platform: PLATFORM.WEB;
|
|
33
|
+
errorMessage?: string;
|
|
34
|
+
errorStack?: string;
|
|
35
|
+
componentStack?: string;
|
|
36
|
+
errorRethrown?: boolean;
|
|
37
|
+
}, {
|
|
38
|
+
errorStack?: string;
|
|
39
|
+
}>;
|
|
40
|
+
type InvalidProsemirrorDocumentErrorAEP = AEP<ACTION.INVALID_PROSEMIRROR_DOCUMENT, ACTION_SUBJECT.RENDERER, ACTION_SUBJECT_ID, {
|
|
41
|
+
platform: PLATFORM.WEB;
|
|
42
|
+
errorStack?: string;
|
|
43
|
+
}, EVENT_TYPE.OPERATIONAL>;
|
|
44
|
+
type RendererUnsupportedContentLevelsTrackingSucceeded = AEP<ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
45
|
+
appearance?: string;
|
|
46
|
+
platform: PLATFORM.WEB;
|
|
47
|
+
unsupportedContentLevelSeverity: UNSUPPORTED_CONTENT_LEVEL_SEVERITY;
|
|
48
|
+
unsupportedContentLevelPercentage: number;
|
|
49
|
+
unsupportedNodesCount: number;
|
|
50
|
+
supportedNodesCount: number;
|
|
51
|
+
}, EVENT_TYPE.OPERATIONAL>;
|
|
52
|
+
type RendererUnsupportedContentLevelsTrackingErrored = AEP<ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_ERRORED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
53
|
+
platform: PLATFORM.WEB;
|
|
54
|
+
error: string;
|
|
55
|
+
}, EVENT_TYPE.OPERATIONAL>;
|
|
56
|
+
type RendererSelectAllCaughtAEP = AEP<ACTION.SELECT_ALL_CAUGHT, ACTION_SUBJECT.RENDERER, undefined, {
|
|
57
|
+
platform: PLATFORM.WEB;
|
|
58
|
+
}, EVENT_TYPE.TRACK>;
|
|
59
|
+
type RendererSelectAllEscapedAEP = AEP<ACTION.SELECT_ALL_ESCAPED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
60
|
+
platform: PLATFORM.WEB;
|
|
61
|
+
}, EVENT_TYPE.TRACK>;
|
|
62
|
+
type UIAEP<Action, ActionSubject, ActionSubjectID, Attributes> = AEP<Action, ActionSubject, ActionSubjectID, Attributes, EVENT_TYPE.UI>;
|
|
63
|
+
type ButtonAEP<ActionSubjectID, Attributes> = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTTON, ActionSubjectID, Attributes>;
|
|
64
|
+
type AnchorLinkAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.ANCHOR_LINK, undefined, {
|
|
65
|
+
platform: PLATFORM.WEB;
|
|
66
|
+
mode: MODE.RENDERER;
|
|
67
|
+
}>;
|
|
68
|
+
type CodeBlockCopyAEP = ButtonAEP<ACTION_SUBJECT_ID.CODEBLOCK_COPY, undefined>;
|
|
69
|
+
type CodeBlockWrapAEP = ButtonAEP<ACTION_SUBJECT_ID.CODEBLOCK_WRAP, {
|
|
70
|
+
wrapped: boolean;
|
|
71
|
+
}>;
|
|
72
|
+
type HeadingAnchorLinkButtonAEP = ButtonAEP<ACTION_SUBJECT_ID.HEADING_ANCHOR_LINK, undefined>;
|
|
73
|
+
type TableSortColumnNotAllowedAEP = AEP<ACTION.SORT_COLUMN_NOT_ALLOWED, ACTION_SUBJECT.TABLE, undefined, {
|
|
74
|
+
platform: PLATFORM.WEB;
|
|
75
|
+
mode: MODE.RENDERER;
|
|
76
|
+
}, EVENT_TYPE.TRACK>;
|
|
77
|
+
type TableSortColumnAEP = AEP<ACTION.SORT_COLUMN, ACTION_SUBJECT.TABLE, undefined, {
|
|
78
|
+
platform: PLATFORM.WEB;
|
|
79
|
+
mode: MODE.RENDERER;
|
|
80
|
+
sortOrder: SortOrder;
|
|
81
|
+
columnIndex: number;
|
|
82
|
+
}, EVENT_TYPE.TRACK>;
|
|
83
|
+
type VisitLinkAEP = AEP<ACTION.VISITED, ACTION_SUBJECT.LINK, undefined, {
|
|
84
|
+
platform: PLATFORM.WEB;
|
|
85
|
+
mode: MODE.RENDERER;
|
|
86
|
+
}, EVENT_TYPE.TRACK>;
|
|
87
|
+
type VisitMediaLinkAEP = AEP<ACTION.VISITED, ACTION_SUBJECT.MEDIA, ACTION_SUBJECT_ID.LINK, {
|
|
88
|
+
platform: PLATFORM.WEB;
|
|
89
|
+
mode: MODE.RENDERER;
|
|
90
|
+
}, EVENT_TYPE.TRACK>;
|
|
91
|
+
type ExpandAEP = AEP<ACTION.TOGGLE_EXPAND, ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND, undefined, {
|
|
92
|
+
platform: PLATFORM.WEB;
|
|
93
|
+
mode: MODE.RENDERER;
|
|
94
|
+
expanded: boolean;
|
|
95
|
+
}, EVENT_TYPE.TRACK>;
|
|
96
|
+
export type AnnotationActionType = ACTION.INSERTED | ACTION.CLOSED | ACTION.EDITED | ACTION.DELETED | ACTION.OPENED | ACTION.RESOLVED | ACTION.VIEWED | ACTION.CREATE_NOT_ALLOWED;
|
|
97
|
+
export type AnnotationAEPAttributes = AnnotationDraftAEPAttributes | AnnotationResolvedAEPAttributes;
|
|
98
|
+
export type AnnotationDraftAEPAttributes = {
|
|
99
|
+
overlap?: number;
|
|
100
|
+
};
|
|
101
|
+
export type AnnotationResolvedAEPAttributes = {
|
|
102
|
+
method?: RESOLVE_METHOD;
|
|
103
|
+
};
|
|
104
|
+
export type AnnotationDeleteAEP = AEP<AnnotationActionType, ACTION_SUBJECT.ANNOTATION, ACTION_SUBJECT_ID, undefined, EVENT_TYPE.TRACK>;
|
|
105
|
+
export declare enum RESOLVE_METHOD {
|
|
106
|
+
COMPONENT = "component",
|
|
107
|
+
CONSUMER = "consumer",
|
|
108
|
+
ORPHANED = "orphaned"
|
|
109
|
+
}
|
|
110
|
+
export type AnnotationAEP = AEP<AnnotationActionType, ACTION_SUBJECT.ANNOTATION, ACTION_SUBJECT_ID.INLINE_COMMENT, AnnotationAEPAttributes, undefined>;
|
|
111
|
+
type MediaLnkTransformedAEP = AEP<ACTION.MEDIA_LINK_TRANSFORMED, ACTION_SUBJECT.RENDERER, undefined, undefined, EVENT_TYPE.OPERATIONAL>;
|
|
112
|
+
type RendererTTIAEP = AEP<ACTION.RENDERER_TTI, ACTION_SUBJECT.RENDERER, undefined, {
|
|
113
|
+
tti: number;
|
|
114
|
+
ttiFromInvocation: number;
|
|
115
|
+
canceled: boolean;
|
|
116
|
+
}, EVENT_TYPE.OPERATIONAL>;
|
|
117
|
+
export type AnalyticsEventPayload<T = void> = RendererStartAEP | RendererRenderedAEP | RendererReRenderedAEP<T> | ComponentCrashErrorAEP | RendererUnsupportedContentLevelsTrackingSucceeded | RendererUnsupportedContentLevelsTrackingErrored | RendererSelectAllCaughtAEP | RendererSelectAllEscapedAEP | CodeBlockCopyAEP | CodeBlockWrapAEP | HeadingAnchorLinkButtonAEP | AnchorLinkAEP | TableSortColumnNotAllowedAEP | TableSortColumnAEP | VisitLinkAEP | VisitMediaLinkAEP | ExpandAEP | UnsupportedContentPayload | UnsupportedContentTooltipPayload | AnnotationAEP | AnnotationDeleteAEP | MediaLnkTransformedAEP | InvalidProsemirrorDocumentErrorAEP | RendererTTIAEP;
|
|
118
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { UnsupportedContentLevelsTracking } from '@atlaskit/editor-common/utils';
|
|
2
|
+
import { AnalyticsEventPayload } from './events';
|
|
3
|
+
type DispatchAnalyticsEvent = (event: AnalyticsEventPayload) => void;
|
|
4
|
+
type DocumentData = {
|
|
5
|
+
rendererId: string;
|
|
6
|
+
doc: any;
|
|
7
|
+
appearance?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const trackUnsupportedContentLevels: (item: DocumentData, trackingOptions: UnsupportedContentLevelsTracking, dispatchAnalyticsEvent: DispatchAnalyticsEvent) => void;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const RendererCssClassName: {
|
|
2
|
+
DOCUMENT: string;
|
|
3
|
+
EXTENSION: string;
|
|
4
|
+
EXTENSION_CENTER_ALIGN: string;
|
|
5
|
+
EXTENSION_OVERFLOW_CONTAINER: string;
|
|
6
|
+
NUMBER_COLUMN: string;
|
|
7
|
+
SORTABLE_COLUMN_WRAPPER: string;
|
|
8
|
+
SORTABLE_COLUMN: string;
|
|
9
|
+
SORTABLE_COLUMN_ICON_WRAPPER: string;
|
|
10
|
+
SORTABLE_COLUMN_ICON: string;
|
|
11
|
+
SORTABLE_COLUMN_NO_ORDER: string;
|
|
12
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
10
|
+
'fabric.editor.headingLink.copied': string;
|
|
11
|
+
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
12
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
13
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
14
|
+
'fabric.editor.headingLink.descSortingLabel': string;
|
|
15
|
+
'fabric.editor.headingLink.failedToCopy': string;
|
|
16
|
+
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
10
|
+
'fabric.editor.headingLink.copied': string;
|
|
11
|
+
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
12
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
13
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
14
|
+
'fabric.editor.headingLink.descSortingLabel': string;
|
|
15
|
+
'fabric.editor.headingLink.failedToCopy': string;
|
|
16
|
+
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
10
|
+
'fabric.editor.headingLink.copied': string;
|
|
11
|
+
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
12
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
13
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
14
|
+
'fabric.editor.headingLink.descSortingLabel': string;
|
|
15
|
+
'fabric.editor.headingLink.failedToCopy': string;
|
|
16
|
+
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
10
|
+
'fabric.editor.headingLink.copied': string;
|
|
11
|
+
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
12
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
13
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
14
|
+
'fabric.editor.headingLink.descSortingLabel': string;
|
|
15
|
+
'fabric.editor.headingLink.failedToCopy': string;
|
|
16
|
+
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
10
|
+
'fabric.editor.headingLink.copied': string;
|
|
11
|
+
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
12
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
13
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
14
|
+
'fabric.editor.headingLink.descSortingLabel': string;
|
|
15
|
+
'fabric.editor.headingLink.failedToCopy': string;
|
|
16
|
+
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
10
|
+
'fabric.editor.headingLink.copied': string;
|
|
11
|
+
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
12
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
13
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
14
|
+
'fabric.editor.headingLink.descSortingLabel': string;
|
|
15
|
+
'fabric.editor.headingLink.failedToCopy': string;
|
|
16
|
+
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
10
|
+
'fabric.editor.headingLink.copied': string;
|
|
11
|
+
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
12
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
13
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
14
|
+
'fabric.editor.headingLink.descSortingLabel': string;
|
|
15
|
+
'fabric.editor.headingLink.failedToCopy': string;
|
|
16
|
+
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
7
|
+
declare const _default: {
|
|
8
|
+
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
9
|
+
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
10
|
+
'fabric.editor.headingLink.copied': string;
|
|
11
|
+
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
12
|
+
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
13
|
+
'fabric.editor.headingLink.descOrderLabel': string;
|
|
14
|
+
'fabric.editor.headingLink.descSortingLabel': string;
|
|
15
|
+
'fabric.editor.headingLink.failedToCopy': string;
|
|
16
|
+
'fabric.editor.headingLink.invalidLabel': string;
|
|
17
|
+
'fabric.editor.headingLink.noOrderLabel': string;
|
|
18
|
+
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
19
|
+
'fabric.editor.tableHeader.sorting.asc': string;
|
|
20
|
+
'fabric.editor.tableHeader.sorting.default': string;
|
|
21
|
+
'fabric.editor.tableHeader.sorting.desc': string;
|
|
22
|
+
'fabric.editor.tableHeader.sorting.invalid': string;
|
|
23
|
+
'fabric.editor.tableHeader.sorting.no': string;
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|