@atlaskit/editor-common 63.0.1 → 66.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 +68 -0
- package/dist/cjs/i18n/cs.js +3 -3
- package/dist/cjs/i18n/da.js +3 -3
- package/dist/cjs/i18n/de.js +3 -3
- package/dist/cjs/i18n/en_ZZ.js +27 -0
- package/dist/cjs/i18n/es.js +3 -3
- package/dist/cjs/i18n/fi.js +3 -3
- package/dist/cjs/i18n/fr.js +3 -3
- package/dist/cjs/i18n/hu.js +3 -3
- package/dist/cjs/i18n/it.js +3 -3
- package/dist/cjs/i18n/ja.js +3 -3
- package/dist/cjs/i18n/ko.js +3 -3
- package/dist/cjs/i18n/nb.js +3 -3
- package/dist/cjs/i18n/nl.js +3 -3
- package/dist/cjs/i18n/pl.js +3 -3
- package/dist/cjs/i18n/pt_BR.js +3 -3
- package/dist/cjs/i18n/ru.js +3 -3
- package/dist/cjs/i18n/sv.js +3 -3
- package/dist/cjs/i18n/th.js +3 -3
- package/dist/cjs/i18n/tr.js +3 -3
- package/dist/cjs/i18n/uk.js +3 -3
- package/dist/cjs/i18n/vi.js +3 -3
- package/dist/cjs/i18n/zh.js +3 -2
- package/dist/cjs/i18n/zh_TW.js +3 -3
- package/dist/cjs/index.js +1 -29
- package/dist/cjs/normalize-feature-flags.js +40 -4
- package/dist/cjs/{ui/IntlLegacyFallbackProvider → safe-plugin}/index.js +17 -35
- package/dist/cjs/styles/index.js +0 -8
- package/dist/cjs/styles/shared/annotation.js +25 -17
- package/dist/cjs/styles/shared/block-marks.js +2 -2
- package/dist/cjs/styles/shared/blockquote.js +2 -2
- package/dist/cjs/styles/shared/code-mark.js +9 -5
- package/dist/cjs/styles/shared/column-layout.js +2 -2
- package/dist/cjs/styles/shared/date.js +2 -2
- package/dist/cjs/styles/shared/headings.js +5 -2
- package/dist/cjs/styles/shared/indentation.js +2 -2
- package/dist/cjs/styles/shared/link.js +2 -2
- package/dist/cjs/styles/shared/lists.js +4 -2
- package/dist/cjs/styles/shared/media-single.js +2 -2
- package/dist/cjs/styles/shared/panel.js +7 -4
- package/dist/cjs/styles/shared/paragraph.js +2 -2
- package/dist/cjs/styles/shared/rule.js +5 -2
- package/dist/cjs/styles/shared/shadow.js +2 -2
- package/dist/cjs/styles/shared/table.js +37 -33
- package/dist/cjs/styles/shared/task-decision.js +2 -2
- package/dist/cjs/styles/shared/text-color.js +2 -2
- package/dist/cjs/styles/shared/whitespace.js +2 -2
- package/dist/cjs/types/collab.js +5 -0
- package/dist/cjs/ui/BaseTheme/index.js +27 -11
- package/dist/cjs/ui/Caption/index.js +10 -7
- package/dist/cjs/ui/Expand/index.js +84 -46
- package/dist/cjs/ui/{IntlNextErrorBoundary → IntlErrorBoundary}/index.js +9 -9
- package/dist/cjs/ui/MediaSingle/index.js +15 -8
- package/dist/cjs/ui/MediaSingle/link.js +4 -6
- package/dist/cjs/ui/MediaSingle/styled.js +23 -20
- package/dist/cjs/ui/Mention/index.js +1 -3
- package/dist/cjs/ui/Mention/mention-with-profilecard.js +33 -194
- package/dist/cjs/ui/Mention/mention-with-providers.js +1 -5
- package/dist/cjs/ui/Messages/index.js +25 -22
- package/dist/cjs/ui/Popup/index.js +15 -1
- package/dist/cjs/ui/UnsupportedBlock/index.js +9 -6
- package/dist/cjs/ui/UnsupportedInline/index.js +8 -6
- package/dist/cjs/ui/WidthProvider/index.js +8 -9
- package/dist/cjs/ui/clear-next-sibling-margin-top.js +4 -5
- package/dist/cjs/ui/index.js +24 -34
- package/dist/cjs/utils/compare-props.js +136 -0
- package/dist/cjs/utils/index.js +23 -1
- package/dist/cjs/utils/performance/hooks/use-component-render-tracking/index.js +47 -0
- package/dist/cjs/utils/validator.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/i18n/cs.js +3 -3
- package/dist/es2019/i18n/da.js +3 -3
- package/dist/es2019/i18n/de.js +3 -3
- package/dist/es2019/i18n/en_ZZ.js +19 -0
- package/dist/es2019/i18n/es.js +3 -3
- package/dist/es2019/i18n/fi.js +3 -3
- package/dist/es2019/i18n/fr.js +3 -3
- package/dist/es2019/i18n/hu.js +3 -3
- package/dist/es2019/i18n/it.js +3 -3
- package/dist/es2019/i18n/ja.js +3 -3
- package/dist/es2019/i18n/ko.js +3 -3
- package/dist/es2019/i18n/nb.js +3 -3
- package/dist/es2019/i18n/nl.js +3 -3
- package/dist/es2019/i18n/pl.js +3 -3
- package/dist/es2019/i18n/pt_BR.js +3 -3
- package/dist/es2019/i18n/ru.js +3 -3
- package/dist/es2019/i18n/sv.js +3 -3
- package/dist/es2019/i18n/th.js +3 -3
- package/dist/es2019/i18n/tr.js +3 -3
- package/dist/es2019/i18n/uk.js +3 -3
- package/dist/es2019/i18n/vi.js +3 -3
- package/dist/es2019/i18n/zh.js +3 -2
- package/dist/es2019/i18n/zh_TW.js +3 -3
- package/dist/es2019/index.js +2 -7
- package/dist/es2019/normalize-feature-flags.js +40 -4
- package/dist/es2019/safe-plugin/index.js +10 -0
- package/dist/es2019/styles/index.js +0 -1
- package/dist/es2019/styles/shared/annotation.js +11 -11
- package/dist/es2019/styles/shared/block-marks.js +3 -2
- package/dist/es2019/styles/shared/blockquote.js +1 -1
- package/dist/es2019/styles/shared/code-mark.js +14 -11
- package/dist/es2019/styles/shared/column-layout.js +1 -1
- package/dist/es2019/styles/shared/date.js +1 -1
- package/dist/es2019/styles/shared/headings.js +8 -8
- package/dist/es2019/styles/shared/indentation.js +1 -1
- package/dist/es2019/styles/shared/link.js +1 -1
- package/dist/es2019/styles/shared/lists.js +19 -1
- package/dist/es2019/styles/shared/media-single.js +1 -1
- package/dist/es2019/styles/shared/panel.js +15 -15
- package/dist/es2019/styles/shared/paragraph.js +1 -1
- package/dist/es2019/styles/shared/rule.js +3 -3
- package/dist/es2019/styles/shared/shadow.js +1 -1
- package/dist/es2019/styles/shared/table.js +23 -13
- package/dist/es2019/styles/shared/task-decision.js +1 -1
- package/dist/es2019/styles/shared/text-color.js +1 -1
- package/dist/es2019/styles/shared/whitespace.js +1 -1
- package/dist/es2019/types/collab.js +1 -0
- package/dist/es2019/ui/BaseTheme/index.js +16 -5
- package/dist/es2019/ui/Caption/index.js +11 -5
- package/dist/es2019/ui/Expand/index.js +97 -67
- package/dist/es2019/ui/{IntlNextErrorBoundary → IntlErrorBoundary}/index.js +1 -1
- package/dist/es2019/ui/MediaSingle/index.js +15 -9
- package/dist/es2019/ui/MediaSingle/link.js +3 -4
- package/dist/es2019/ui/MediaSingle/styled.js +13 -12
- package/dist/es2019/ui/Mention/index.js +1 -3
- package/dist/es2019/ui/Mention/mention-with-profilecard.js +33 -146
- package/dist/es2019/ui/Mention/mention-with-providers.js +1 -5
- package/dist/es2019/ui/Messages/index.js +30 -22
- package/dist/es2019/ui/Popup/index.js +16 -1
- package/dist/es2019/ui/UnsupportedBlock/index.js +9 -6
- package/dist/es2019/ui/UnsupportedInline/index.js +8 -5
- package/dist/es2019/ui/WidthProvider/index.js +10 -8
- package/dist/es2019/ui/clear-next-sibling-margin-top.js +2 -2
- package/dist/es2019/ui/index.js +4 -6
- package/dist/es2019/utils/compare-props.js +99 -0
- package/dist/es2019/utils/index.js +3 -1
- package/dist/es2019/utils/performance/hooks/use-component-render-tracking/index.js +36 -0
- package/dist/es2019/utils/validator.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/i18n/cs.js +3 -3
- package/dist/esm/i18n/da.js +3 -3
- package/dist/esm/i18n/de.js +3 -3
- package/dist/esm/i18n/en_ZZ.js +19 -0
- package/dist/esm/i18n/es.js +3 -3
- package/dist/esm/i18n/fi.js +3 -3
- package/dist/esm/i18n/fr.js +3 -3
- package/dist/esm/i18n/hu.js +3 -3
- package/dist/esm/i18n/it.js +3 -3
- package/dist/esm/i18n/ja.js +3 -3
- package/dist/esm/i18n/ko.js +3 -3
- package/dist/esm/i18n/nb.js +3 -3
- package/dist/esm/i18n/nl.js +3 -3
- package/dist/esm/i18n/pl.js +3 -3
- package/dist/esm/i18n/pt_BR.js +3 -3
- package/dist/esm/i18n/ru.js +3 -3
- package/dist/esm/i18n/sv.js +3 -3
- package/dist/esm/i18n/th.js +3 -3
- package/dist/esm/i18n/tr.js +3 -3
- package/dist/esm/i18n/uk.js +3 -3
- package/dist/esm/i18n/vi.js +3 -3
- package/dist/esm/i18n/zh.js +3 -2
- package/dist/esm/i18n/zh_TW.js +3 -3
- package/dist/esm/index.js +2 -7
- package/dist/esm/normalize-feature-flags.js +39 -4
- package/dist/esm/{ui/IntlLegacyFallbackProvider → safe-plugin}/index.js +13 -31
- package/dist/esm/styles/index.js +0 -1
- package/dist/esm/styles/shared/annotation.js +21 -17
- package/dist/esm/styles/shared/block-marks.js +2 -2
- package/dist/esm/styles/shared/blockquote.js +1 -1
- package/dist/esm/styles/shared/code-mark.js +9 -6
- package/dist/esm/styles/shared/column-layout.js +1 -1
- package/dist/esm/styles/shared/date.js +1 -1
- package/dist/esm/styles/shared/headings.js +4 -2
- package/dist/esm/styles/shared/indentation.js +1 -1
- package/dist/esm/styles/shared/link.js +1 -1
- package/dist/esm/styles/shared/lists.js +3 -2
- package/dist/esm/styles/shared/media-single.js +1 -1
- package/dist/esm/styles/shared/panel.js +6 -4
- package/dist/esm/styles/shared/paragraph.js +1 -1
- package/dist/esm/styles/shared/rule.js +4 -2
- package/dist/esm/styles/shared/shadow.js +1 -1
- package/dist/esm/styles/shared/table.js +37 -33
- package/dist/esm/styles/shared/task-decision.js +1 -1
- package/dist/esm/styles/shared/text-color.js +1 -1
- package/dist/esm/styles/shared/whitespace.js +1 -1
- package/dist/esm/types/collab.js +1 -0
- package/dist/esm/ui/BaseTheme/index.js +23 -12
- package/dist/esm/ui/Caption/index.js +10 -5
- package/dist/esm/ui/Expand/index.js +79 -42
- package/dist/esm/ui/{IntlNextErrorBoundary → IntlErrorBoundary}/index.js +7 -7
- package/dist/esm/ui/MediaSingle/index.js +16 -9
- package/dist/esm/ui/MediaSingle/link.js +2 -3
- package/dist/esm/ui/MediaSingle/styled.js +17 -10
- package/dist/esm/ui/Mention/index.js +1 -3
- package/dist/esm/ui/Mention/mention-with-profilecard.js +33 -189
- package/dist/esm/ui/Mention/mention-with-providers.js +1 -5
- package/dist/esm/ui/Messages/index.js +26 -20
- package/dist/esm/ui/Popup/index.js +16 -1
- package/dist/esm/ui/UnsupportedBlock/index.js +9 -5
- package/dist/esm/ui/UnsupportedInline/index.js +8 -5
- package/dist/esm/ui/WidthProvider/index.js +7 -6
- package/dist/esm/ui/clear-next-sibling-margin-top.js +2 -2
- package/dist/esm/ui/index.js +4 -6
- package/dist/esm/utils/compare-props.js +115 -0
- package/dist/esm/utils/index.js +3 -1
- package/dist/esm/utils/performance/hooks/use-component-render-tracking/index.js +37 -0
- package/dist/esm/utils/validator.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/__tests_external__/page-objects/Editor.d.ts +0 -1
- package/dist/types/__tests_external__/page-objects/EditorMedia.d.ts +0 -1
- package/dist/types/__tests_external__/page-objects/EditorSmartLink.d.ts +0 -1
- package/dist/types/__tests_external__/page-objects/Renderer.d.ts +0 -1
- package/dist/types/collab/types.d.ts +14 -2
- package/dist/types/collab.d.ts +1 -1
- package/dist/types/extensions/types/field-definitions.d.ts +1 -1
- package/dist/types/i18n/cs.d.ts +2 -2
- package/dist/types/i18n/da.d.ts +2 -2
- package/dist/types/i18n/de.d.ts +2 -2
- package/dist/types/i18n/en_ZZ.d.ts +19 -0
- package/dist/types/i18n/es.d.ts +2 -2
- package/dist/types/i18n/fi.d.ts +2 -2
- package/dist/types/i18n/fr.d.ts +2 -2
- package/dist/types/i18n/hu.d.ts +2 -2
- package/dist/types/i18n/it.d.ts +2 -2
- package/dist/types/i18n/ja.d.ts +2 -2
- package/dist/types/i18n/ko.d.ts +2 -2
- package/dist/types/i18n/nb.d.ts +2 -2
- package/dist/types/i18n/nl.d.ts +2 -2
- package/dist/types/i18n/pl.d.ts +2 -2
- package/dist/types/i18n/pt_BR.d.ts +2 -2
- package/dist/types/i18n/ru.d.ts +2 -2
- package/dist/types/i18n/sv.d.ts +2 -2
- package/dist/types/i18n/th.d.ts +2 -2
- package/dist/types/i18n/tr.d.ts +2 -2
- package/dist/types/i18n/uk.d.ts +2 -2
- package/dist/types/i18n/vi.d.ts +2 -2
- package/dist/types/i18n/zh.d.ts +2 -2
- package/dist/types/i18n/zh_TW.d.ts +2 -2
- package/dist/types/index.d.ts +1 -14
- package/dist/types/normalize-feature-flags.d.ts +6 -3
- package/dist/types/safe-plugin/index.d.ts +6 -0
- package/dist/types/styles/index.d.ts +0 -1
- package/dist/types/styles/shared/annotation.d.ts +5 -4
- package/dist/types/styles/shared/block-marks.d.ts +1 -1
- package/dist/types/styles/shared/blockquote.d.ts +1 -1
- package/dist/types/styles/shared/code-mark.d.ts +2 -1
- package/dist/types/styles/shared/column-layout.d.ts +1 -1
- package/dist/types/styles/shared/date.d.ts +1 -1
- package/dist/types/styles/shared/headings.d.ts +2 -1
- package/dist/types/styles/shared/indentation.d.ts +1 -1
- package/dist/types/styles/shared/link.d.ts +1 -1
- package/dist/types/styles/shared/lists.d.ts +1 -1
- package/dist/types/styles/shared/media-single.d.ts +1 -1
- package/dist/types/styles/shared/panel.d.ts +1 -1
- package/dist/types/styles/shared/paragraph.d.ts +1 -1
- package/dist/types/styles/shared/rule.d.ts +2 -1
- package/dist/types/styles/shared/shadow.d.ts +1 -1
- package/dist/types/styles/shared/table.d.ts +2 -1
- package/dist/types/styles/shared/task-decision.d.ts +1 -1
- package/dist/types/styles/shared/text-color.d.ts +1 -1
- package/dist/types/styles/shared/whitespace.d.ts +1 -1
- package/dist/types/types/collab.d.ts +8 -0
- package/dist/types/types/index.d.ts +1 -0
- package/dist/types/ui/Caption/index.d.ts +3 -1
- package/dist/types/ui/Expand/index.d.ts +12 -10
- package/dist/types/ui/{IntlNextErrorBoundary → IntlErrorBoundary}/index.d.ts +1 -1
- package/dist/types/ui/MediaSingle/index.d.ts +4 -1
- package/dist/types/ui/MediaSingle/link.d.ts +1 -2
- package/dist/types/ui/MediaSingle/styled.d.ts +10 -5
- package/dist/types/ui/Mention/index.d.ts +0 -3
- package/dist/types/ui/Mention/mention-with-profilecard.d.ts +2 -25
- package/dist/types/ui/Mention/mention-with-providers.d.ts +0 -3
- package/dist/types/ui/Messages/index.d.ts +5 -3
- package/dist/types/ui/Popup/index.d.ts +3 -0
- package/dist/types/ui/UnsupportedBlock/index.d.ts +1 -0
- package/dist/types/ui/UnsupportedInline/index.d.ts +1 -0
- package/dist/types/ui/WidthProvider/index.d.ts +3 -1
- package/dist/types/ui/clear-next-sibling-margin-top.d.ts +1 -2
- package/dist/types/ui/index.d.ts +5 -7
- package/dist/types/utils/compare-props.d.ts +32 -0
- package/dist/types/utils/getModeFromTheme.d.ts +1 -1
- package/dist/types/utils/index.d.ts +4 -0
- package/dist/types/utils/performance/hooks/use-component-render-tracking/index.d.ts +19 -0
- package/package.json +20 -19
- package/safe-plugin/package.json +7 -0
- package/dist/cjs/styles/shared/inline-nodes.js +0 -17
- package/dist/cjs/ui/LegacyToNextIntlProvider/index.js +0 -67
- package/dist/es2019/styles/shared/inline-nodes.js +0 -7
- package/dist/es2019/ui/IntlLegacyFallbackProvider/index.js +0 -21
- package/dist/es2019/ui/LegacyToNextIntlProvider/index.js +0 -24
- package/dist/esm/styles/shared/inline-nodes.js +0 -7
- package/dist/esm/ui/LegacyToNextIntlProvider/index.js +0 -51
- package/dist/types/styles/shared/inline-nodes.d.ts +0 -2
- package/dist/types/ui/IntlLegacyFallbackProvider/index.d.ts +0 -8
- package/dist/types/ui/LegacyToNextIntlProvider/index.d.ts +0 -8
package/dist/cjs/ui/index.js
CHANGED
|
@@ -19,12 +19,6 @@ Object.defineProperty(exports, "Caption", {
|
|
|
19
19
|
return _Caption.default;
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
|
-
Object.defineProperty(exports, "ClearNextSiblingMarginTop", {
|
|
23
|
-
enumerable: true,
|
|
24
|
-
get: function get() {
|
|
25
|
-
return _clearNextSiblingMarginTop.ClearNextSiblingMarginTop;
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
22
|
Object.defineProperty(exports, "DEFAULT_IMAGE_HEIGHT", {
|
|
29
23
|
enumerable: true,
|
|
30
24
|
get: function get() {
|
|
@@ -49,10 +43,10 @@ Object.defineProperty(exports, "ExpandIconWrapper", {
|
|
|
49
43
|
return _Expand.ExpandIconWrapper;
|
|
50
44
|
}
|
|
51
45
|
});
|
|
52
|
-
Object.defineProperty(exports, "
|
|
46
|
+
Object.defineProperty(exports, "ExpandLayoutWrapperWithRef", {
|
|
53
47
|
enumerable: true,
|
|
54
48
|
get: function get() {
|
|
55
|
-
return _Expand.
|
|
49
|
+
return _Expand.ExpandLayoutWrapperWithRef;
|
|
56
50
|
}
|
|
57
51
|
});
|
|
58
52
|
Object.defineProperty(exports, "HelperMessage", {
|
|
@@ -61,28 +55,10 @@ Object.defineProperty(exports, "HelperMessage", {
|
|
|
61
55
|
return _Messages.HelperMessage;
|
|
62
56
|
}
|
|
63
57
|
});
|
|
64
|
-
Object.defineProperty(exports, "
|
|
65
|
-
enumerable: true,
|
|
66
|
-
get: function get() {
|
|
67
|
-
return _IntlLegacyFallbackProvider.IntlLegacyFallbackProvider;
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
Object.defineProperty(exports, "IntlNextErrorBoundary", {
|
|
71
|
-
enumerable: true,
|
|
72
|
-
get: function get() {
|
|
73
|
-
return _IntlNextErrorBoundary.IntlNextErrorBoundary;
|
|
74
|
-
}
|
|
75
|
-
});
|
|
76
|
-
Object.defineProperty(exports, "LegacyToNextIntlProvider", {
|
|
77
|
-
enumerable: true,
|
|
78
|
-
get: function get() {
|
|
79
|
-
return _LegacyToNextIntlProvider.LegacyToNextIntlProvider;
|
|
80
|
-
}
|
|
81
|
-
});
|
|
82
|
-
Object.defineProperty(exports, "MediaLink", {
|
|
58
|
+
Object.defineProperty(exports, "IntlErrorBoundary", {
|
|
83
59
|
enumerable: true,
|
|
84
60
|
get: function get() {
|
|
85
|
-
return
|
|
61
|
+
return _IntlErrorBoundary.IntlErrorBoundary;
|
|
86
62
|
}
|
|
87
63
|
});
|
|
88
64
|
Object.defineProperty(exports, "MediaSingle", {
|
|
@@ -106,7 +82,7 @@ Object.defineProperty(exports, "Popup", {
|
|
|
106
82
|
Object.defineProperty(exports, "REACT_INTL_ERROR_MESSAGE", {
|
|
107
83
|
enumerable: true,
|
|
108
84
|
get: function get() {
|
|
109
|
-
return
|
|
85
|
+
return _IntlErrorBoundary.REACT_INTL_ERROR_MESSAGE;
|
|
110
86
|
}
|
|
111
87
|
});
|
|
112
88
|
Object.defineProperty(exports, "UnsupportedBlock", {
|
|
@@ -169,6 +145,18 @@ Object.defineProperty(exports, "calcPxFromPct", {
|
|
|
169
145
|
return _grid.calcPxFromPct;
|
|
170
146
|
}
|
|
171
147
|
});
|
|
148
|
+
Object.defineProperty(exports, "clearNextSiblingMarginTopStyle", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function get() {
|
|
151
|
+
return _clearNextSiblingMarginTop.clearNextSiblingMarginTopStyle;
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
Object.defineProperty(exports, "expandLayoutWrapperStyle", {
|
|
155
|
+
enumerable: true,
|
|
156
|
+
get: function get() {
|
|
157
|
+
return _Expand.expandLayoutWrapperStyle;
|
|
158
|
+
}
|
|
159
|
+
});
|
|
172
160
|
Object.defineProperty(exports, "expandMessages", {
|
|
173
161
|
enumerable: true,
|
|
174
162
|
get: function get() {
|
|
@@ -199,6 +187,12 @@ Object.defineProperty(exports, "mapBreakpointToLayoutMaxWidth", {
|
|
|
199
187
|
return _BaseTheme.mapBreakpointToLayoutMaxWidth;
|
|
200
188
|
}
|
|
201
189
|
});
|
|
190
|
+
Object.defineProperty(exports, "mediaLinkStyle", {
|
|
191
|
+
enumerable: true,
|
|
192
|
+
get: function get() {
|
|
193
|
+
return _link.mediaLinkStyle;
|
|
194
|
+
}
|
|
195
|
+
});
|
|
202
196
|
Object.defineProperty(exports, "overflowShadow", {
|
|
203
197
|
enumerable: true,
|
|
204
198
|
get: function get() {
|
|
@@ -274,11 +268,7 @@ var _Messages = require("./Messages");
|
|
|
274
268
|
|
|
275
269
|
var _clearNextSiblingMarginTop = require("./clear-next-sibling-margin-top");
|
|
276
270
|
|
|
277
|
-
var
|
|
278
|
-
|
|
279
|
-
var _IntlLegacyFallbackProvider = require("./IntlLegacyFallbackProvider");
|
|
280
|
-
|
|
281
|
-
var _LegacyToNextIntlProvider = require("./LegacyToNextIntlProvider");
|
|
271
|
+
var _IntlErrorBoundary = require("./IntlErrorBoundary");
|
|
282
272
|
|
|
283
273
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
284
274
|
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.serializeValue = exports.getShallowPropsDifference = exports.getPropsDifference = exports.getKeysAddedRemovedCommon = exports.getKeys = void 0;
|
|
9
|
+
|
|
10
|
+
var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
|
|
11
|
+
|
|
12
|
+
var _react = _interopRequireDefault(require("react"));
|
|
13
|
+
|
|
14
|
+
var getKeys = Object.keys;
|
|
15
|
+
exports.getKeys = getKeys;
|
|
16
|
+
|
|
17
|
+
var getKeysAddedRemovedCommon = function getKeysAddedRemovedCommon(object1, object2) {
|
|
18
|
+
var oldKeys = object1 !== null ? getKeys(object1) : [];
|
|
19
|
+
var newKeys = object2 !== null ? getKeys(object2) : [];
|
|
20
|
+
var removed = oldKeys.filter(function (key) {
|
|
21
|
+
return !newKeys.includes(key);
|
|
22
|
+
});
|
|
23
|
+
var added = newKeys.filter(function (key) {
|
|
24
|
+
return !oldKeys.includes(key);
|
|
25
|
+
});
|
|
26
|
+
var common = oldKeys.filter(function (key) {
|
|
27
|
+
return newKeys.includes(key);
|
|
28
|
+
});
|
|
29
|
+
return {
|
|
30
|
+
added: added,
|
|
31
|
+
common: common,
|
|
32
|
+
removed: removed
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
exports.getKeysAddedRemovedCommon = getKeysAddedRemovedCommon;
|
|
37
|
+
|
|
38
|
+
var serializeValue = function serializeValue(value) {
|
|
39
|
+
var valueType = (0, _typeof2.default)(value);
|
|
40
|
+
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return 'null';
|
|
43
|
+
} else if (value === undefined) {
|
|
44
|
+
return 'undefined';
|
|
45
|
+
} else if (valueType === 'string' || valueType === 'number') {
|
|
46
|
+
return value;
|
|
47
|
+
} else if (valueType === 'symbol') {
|
|
48
|
+
return value.toString();
|
|
49
|
+
} // Calling toString of function returns whole function text with body.
|
|
50
|
+
// So, just return function with name.
|
|
51
|
+
else if (valueType === 'function') {
|
|
52
|
+
return "function:".concat(value.name);
|
|
53
|
+
} else if (valueType === 'object') {
|
|
54
|
+
return {
|
|
55
|
+
type: 'object',
|
|
56
|
+
keys: Object.keys(value)
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
exports.serializeValue = serializeValue;
|
|
62
|
+
|
|
63
|
+
var getPropsDifference = function getPropsDifference(object1, object2) {
|
|
64
|
+
var curDepth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
|
|
65
|
+
var maxDepth = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 2;
|
|
66
|
+
var keysToIgnore = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : [];
|
|
67
|
+
|
|
68
|
+
var _getKeysAddedRemovedC = getKeysAddedRemovedCommon(object1, object2),
|
|
69
|
+
added = _getKeysAddedRemovedC.added,
|
|
70
|
+
common = _getKeysAddedRemovedC.common,
|
|
71
|
+
removed = _getKeysAddedRemovedC.removed;
|
|
72
|
+
|
|
73
|
+
var changed = [];
|
|
74
|
+
common.forEach(function (key) {
|
|
75
|
+
var value1 = object1[key];
|
|
76
|
+
var value2 = object2[key];
|
|
77
|
+
var value1Type = (0, _typeof2.default)(value1);
|
|
78
|
+
var value2Type = (0, _typeof2.default)(value2); // Do comparision only if values doesn't match (or reference to same object in memory).
|
|
79
|
+
// Or if key does not exist in keys to ignore.
|
|
80
|
+
|
|
81
|
+
if (value1 !== value2 && keysToIgnore.indexOf(key) === -1) {
|
|
82
|
+
// if both key value are objects and not referencing same object in memory.
|
|
83
|
+
// then get recursive difference.
|
|
84
|
+
if ( /*#__PURE__*/_react.default.isValidElement(value1) || /*#__PURE__*/_react.default.isValidElement(value2)) {
|
|
85
|
+
changed.push({
|
|
86
|
+
key: key,
|
|
87
|
+
reactElementChanged: true
|
|
88
|
+
});
|
|
89
|
+
} else if (value1Type === 'object' && value2Type === 'object') {
|
|
90
|
+
if (curDepth <= maxDepth) {
|
|
91
|
+
var difference = getPropsDifference(value1, value2, curDepth + 1, maxDepth);
|
|
92
|
+
changed.push({
|
|
93
|
+
key: key,
|
|
94
|
+
difference: difference
|
|
95
|
+
});
|
|
96
|
+
} else {
|
|
97
|
+
changed.push({
|
|
98
|
+
key: key,
|
|
99
|
+
maxDepthReached: true
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
} else {
|
|
103
|
+
changed.push({
|
|
104
|
+
key: key,
|
|
105
|
+
oldValue: serializeValue(value1),
|
|
106
|
+
newValue: serializeValue(value2)
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
return {
|
|
112
|
+
added: added,
|
|
113
|
+
changed: changed,
|
|
114
|
+
removed: removed
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
exports.getPropsDifference = getPropsDifference;
|
|
119
|
+
|
|
120
|
+
var getShallowPropsDifference = function getShallowPropsDifference(object1, object2) {
|
|
121
|
+
var _getKeysAddedRemovedC2 = getKeysAddedRemovedCommon(object1, object2),
|
|
122
|
+
added = _getKeysAddedRemovedC2.added,
|
|
123
|
+
common = _getKeysAddedRemovedC2.common,
|
|
124
|
+
removed = _getKeysAddedRemovedC2.removed;
|
|
125
|
+
|
|
126
|
+
var changed = common.filter(function (key) {
|
|
127
|
+
return object1[key] !== object2[key];
|
|
128
|
+
});
|
|
129
|
+
return {
|
|
130
|
+
added: added,
|
|
131
|
+
changed: changed,
|
|
132
|
+
removed: removed
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
exports.getShallowPropsDifference = getShallowPropsDifference;
|
package/dist/cjs/utils/index.js
CHANGED
|
@@ -179,12 +179,24 @@ Object.defineProperty(exports, "getModeFromTheme", {
|
|
|
179
179
|
return _getModeFromTheme.getModeFromTheme;
|
|
180
180
|
}
|
|
181
181
|
});
|
|
182
|
+
Object.defineProperty(exports, "getPropsDifference", {
|
|
183
|
+
enumerable: true,
|
|
184
|
+
get: function get() {
|
|
185
|
+
return _compareProps.getPropsDifference;
|
|
186
|
+
}
|
|
187
|
+
});
|
|
182
188
|
Object.defineProperty(exports, "getResponseEndTime", {
|
|
183
189
|
enumerable: true,
|
|
184
190
|
get: function get() {
|
|
185
191
|
return _navigation.getResponseEndTime;
|
|
186
192
|
}
|
|
187
193
|
});
|
|
194
|
+
Object.defineProperty(exports, "getShallowPropsDifference", {
|
|
195
|
+
enumerable: true,
|
|
196
|
+
get: function get() {
|
|
197
|
+
return _compareProps.getShallowPropsDifference;
|
|
198
|
+
}
|
|
199
|
+
});
|
|
188
200
|
Object.defineProperty(exports, "getTTISeverity", {
|
|
189
201
|
enumerable: true,
|
|
190
202
|
get: function get() {
|
|
@@ -335,6 +347,12 @@ Object.defineProperty(exports, "todayTimestampInUTC", {
|
|
|
335
347
|
return _date.todayTimestampInUTC;
|
|
336
348
|
}
|
|
337
349
|
});
|
|
350
|
+
Object.defineProperty(exports, "useComponentRenderTracking", {
|
|
351
|
+
enumerable: true,
|
|
352
|
+
get: function get() {
|
|
353
|
+
return _useComponentRenderTracking.useComponentRenderTracking;
|
|
354
|
+
}
|
|
355
|
+
});
|
|
338
356
|
Object.defineProperty(exports, "validateADFEntity", {
|
|
339
357
|
enumerable: true,
|
|
340
358
|
get: function get() {
|
|
@@ -404,4 +422,8 @@ var _browserExtensions = require("./browser-extensions");
|
|
|
404
422
|
|
|
405
423
|
var _renderCount = require("./profiler/render-count");
|
|
406
424
|
|
|
407
|
-
var _validateUsingSpec = require("./validate-using-spec");
|
|
425
|
+
var _validateUsingSpec = require("./validate-using-spec");
|
|
426
|
+
|
|
427
|
+
var _compareProps = require("./compare-props");
|
|
428
|
+
|
|
429
|
+
var _useComponentRenderTracking = require("./performance/hooks/use-component-render-tracking");
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useComponentRenderTracking = useComponentRenderTracking;
|
|
7
|
+
|
|
8
|
+
var _react = require("react");
|
|
9
|
+
|
|
10
|
+
var _adfSchema = require("@atlaskit/adf-schema");
|
|
11
|
+
|
|
12
|
+
var _compareProps = require("../../../compare-props");
|
|
13
|
+
|
|
14
|
+
function useComponentRenderTracking(_ref) {
|
|
15
|
+
var onRender = _ref.onRender,
|
|
16
|
+
propsDiffingOptions = _ref.propsDiffingOptions,
|
|
17
|
+
_ref$zeroBasedCount = _ref.zeroBasedCount,
|
|
18
|
+
zeroBasedCount = _ref$zeroBasedCount === void 0 ? true : _ref$zeroBasedCount;
|
|
19
|
+
var propsRef = (0, _react.useRef)();
|
|
20
|
+
var renderCountRef = (0, _react.useRef)(zeroBasedCount ? 0 : 1);
|
|
21
|
+
|
|
22
|
+
var _useRef = (0, _react.useRef)(_adfSchema.uuid.generate()),
|
|
23
|
+
componentId = _useRef.current;
|
|
24
|
+
|
|
25
|
+
(0, _react.useEffect)(function () {
|
|
26
|
+
var lastProps = propsRef.current;
|
|
27
|
+
var renderCount = renderCountRef.current;
|
|
28
|
+
var propsDifference;
|
|
29
|
+
|
|
30
|
+
if (propsDiffingOptions !== null && propsDiffingOptions !== void 0 && propsDiffingOptions.enabled && lastProps) {
|
|
31
|
+
propsDifference = propsDiffingOptions !== null && propsDiffingOptions !== void 0 && propsDiffingOptions.useShallow ? (0, _compareProps.getShallowPropsDifference)(lastProps, propsDiffingOptions.props) : (0, _compareProps.getPropsDifference)(lastProps, propsDiffingOptions.props, 0, 2, propsDiffingOptions === null || propsDiffingOptions === void 0 ? void 0 : propsDiffingOptions.propsToIgnore);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
var result = {
|
|
35
|
+
renderCount: renderCount,
|
|
36
|
+
propsDifference: propsDifference,
|
|
37
|
+
componentId: componentId
|
|
38
|
+
};
|
|
39
|
+
onRender(result);
|
|
40
|
+
|
|
41
|
+
if (propsDiffingOptions !== null && propsDiffingOptions !== void 0 && propsDiffingOptions.enabled) {
|
|
42
|
+
propsRef.current = propsDiffingOptions.props;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
renderCountRef.current = renderCountRef.current + 1;
|
|
46
|
+
}); // No dependencies run on each render
|
|
47
|
+
}
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/i18n/cs.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Czech
|
|
8
8
|
export default {
|
|
9
|
-
'fabric.editor.codeBidiWarningLabel': 'Obousměrné znaky mění pořadí vykreslování textu. Může to být použito k zakrytí škodlivého kódu.',
|
|
10
9
|
'fabric.editor.captionPlaceholder': 'Přidejte popisek',
|
|
10
|
+
'fabric.editor.codeBidiWarningLabel': 'Obousměrné znaky mění pořadí vykreslování textu. Může to být použito k zakrytí škodlivého kódu.',
|
|
11
11
|
'fabric.editor.collapseNode': 'Sbalit obsah',
|
|
12
12
|
'fabric.editor.expandDefaultTitle': 'Klikněte sem pro rozbalení...',
|
|
13
13
|
'fabric.editor.expandNode': 'Rozbalit obsah',
|
package/dist/es2019/i18n/da.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Danish (Denmark)
|
|
8
8
|
export default {
|
|
9
|
-
'fabric.editor.codeBidiWarningLabel': 'Tegn med tovejsfunktionalitet ændrer rækkefølgen, som teksten er gengivet i. Dette kan udnyttes til at skjule skadelig kode.',
|
|
10
9
|
'fabric.editor.captionPlaceholder': 'Tilføj en billedtekst',
|
|
10
|
+
'fabric.editor.codeBidiWarningLabel': 'Tegn med tovejsfunktionalitet ændrer rækkefølgen, som teksten er gengivet i. Dette kan udnyttes til at skjule skadelig kode.',
|
|
11
11
|
'fabric.editor.collapseNode': 'skjul indhold',
|
|
12
12
|
'fabric.editor.expandDefaultTitle': 'Klik her for at udvide...',
|
|
13
13
|
'fabric.editor.expandNode': 'Udvid indhold',
|
package/dist/es2019/i18n/de.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//German (Germany)
|
|
8
8
|
export default {
|
|
9
|
-
'fabric.editor.codeBidiWarningLabel': 'Bidirektionale Zeichen ändern die Reihenfolge, in der Text gerendert wird. Dies könnte verwendet werden, um bösartigen Code zu verbergen.',
|
|
10
9
|
'fabric.editor.captionPlaceholder': 'Eine Bildunterschrift hinzufügen',
|
|
10
|
+
'fabric.editor.codeBidiWarningLabel': 'Bidirektionale Zeichen ändern die Reihenfolge, in der Text gerendert wird. Dies könnte verwendet werden, um bösartigen Code zu verbergen.',
|
|
11
11
|
'fabric.editor.collapseNode': 'Inhaltsanzeige reduzieren',
|
|
12
12
|
'fabric.editor.expandDefaultTitle': 'Klicken Sie hier, um zu erweitern …',
|
|
13
13
|
'fabric.editor.expandNode': 'Inhaltsanzeige erweitern',
|
|
@@ -0,0 +1,19 @@
|
|
|
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
|
+
//
|
|
8
|
+
export default {
|
|
9
|
+
'fabric.editor.captionPlaceholder': 'Add a caption',
|
|
10
|
+
'fabric.editor.codeBidiWarningLabel': 'Bidirectional characters change the order that text is rendered. This could be used to obscure malicious code.',
|
|
11
|
+
'fabric.editor.collapseNode': 'Collapse content',
|
|
12
|
+
'fabric.editor.expandDefaultTitle': 'Click here to expand...',
|
|
13
|
+
'fabric.editor.expandNode': 'Expand content',
|
|
14
|
+
'fabric.editor.expandPlaceholder': 'Give this expand a title...',
|
|
15
|
+
'fabric.editor.openLink': 'Open link in a new tab',
|
|
16
|
+
'fabric.editor.unsupportedBlockContent': 'This editor does not support displaying this content',
|
|
17
|
+
'fabric.editor.unsupportedContentTooltip': 'Content is not available in this editor, this will be preserved when you edit and save',
|
|
18
|
+
'fabric.editor.unsupportedInlineContent': 'Unsupported content'
|
|
19
|
+
};
|
package/dist/es2019/i18n/es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Spanish (International)
|
|
8
8
|
export default {
|
|
9
|
-
'fabric.editor.codeBidiWarningLabel': 'Los caracteres bidireccionales cambian el orden de renderización del texto. Esto podría utilizarse para ocultar código malicioso.',
|
|
10
9
|
'fabric.editor.captionPlaceholder': 'Añadir un subtítulo',
|
|
10
|
+
'fabric.editor.codeBidiWarningLabel': 'Los caracteres bidireccionales cambian el orden de renderización del texto. Esto podría utilizarse para ocultar código malicioso.',
|
|
11
11
|
'fabric.editor.collapseNode': 'contraer contenido',
|
|
12
12
|
'fabric.editor.expandDefaultTitle': 'Haz clic aquí para ampliar...',
|
|
13
13
|
'fabric.editor.expandNode': 'Ampliar contenido',
|
package/dist/es2019/i18n/fi.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Finnish
|
|
8
8
|
export default {
|
|
9
|
-
'fabric.editor.codeBidiWarningLabel': 'Kaksisuuntaiset merkit muuttavat tekstin renderöintijärjestystä. Tätä voidaan hyödyntää haitallisen koodin peittämisessä.',
|
|
10
9
|
'fabric.editor.captionPlaceholder': 'Lisää kuvateksti',
|
|
10
|
+
'fabric.editor.codeBidiWarningLabel': 'Kaksisuuntaiset merkit muuttavat tekstin renderöintijärjestystä. Tätä voidaan hyödyntää haitallisen koodin peittämisessä.',
|
|
11
11
|
'fabric.editor.collapseNode': 'piilota sisältö',
|
|
12
12
|
'fabric.editor.expandDefaultTitle': 'Klikkaa tähän laajentaaksesi...',
|
|
13
13
|
'fabric.editor.expandNode': 'Laajenna sisältöä',
|
package/dist/es2019/i18n/fr.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//French (France)
|
|
8
8
|
export default {
|
|
9
|
-
'fabric.editor.codeBidiWarningLabel': "Les caractères bidirectionnels changent l'ordre de rendu du texte. Ils peuvent être utilisés pour masquer du code malveillant.",
|
|
10
9
|
'fabric.editor.captionPlaceholder': 'Ajouter une légende',
|
|
10
|
+
'fabric.editor.codeBidiWarningLabel': "Les caractères bidirectionnels changent l'ordre de rendu du texte. Ils peuvent être utilisés pour masquer du code malveillant.",
|
|
11
11
|
'fabric.editor.collapseNode': 'Réduire le contenu',
|
|
12
12
|
'fabric.editor.expandDefaultTitle': 'Cliquez ici pour développer...',
|
|
13
13
|
'fabric.editor.expandNode': 'Développer le contenu',
|
package/dist/es2019/i18n/hu.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Hungarian
|
|
8
8
|
export default {
|
|
9
|
-
'fabric.editor.codeBidiWarningLabel': 'A kétirányú karakterek megváltoztatják a szöveg renderelési sorrendjét. Ez felhasználható rosszindulatú kód elfedésére.',
|
|
10
9
|
'fabric.editor.captionPlaceholder': 'Képaláírás hozzáadása',
|
|
10
|
+
'fabric.editor.codeBidiWarningLabel': 'A kétirányú karakterek megváltoztatják a szöveg renderelési sorrendjét. Ez felhasználható rosszindulatú kód elfedésére.',
|
|
11
11
|
'fabric.editor.collapseNode': 'tartalom összecsukása',
|
|
12
12
|
'fabric.editor.expandDefaultTitle': 'Kattints ide a kibontáshoz…',
|
|
13
13
|
'fabric.editor.expandNode': 'Tartalom kibontása',
|
package/dist/es2019/i18n/it.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Italian (Italy)
|
|
8
8
|
export default {
|
|
9
|
-
'fabric.editor.codeBidiWarningLabel': "I caratteri bidirezionali modificano l'ordine in cui è visualizzato il testo. Possono essere utilizzati per nascondere un codice dannoso.",
|
|
10
9
|
'fabric.editor.captionPlaceholder': 'Aggiungi didascalia',
|
|
10
|
+
'fabric.editor.codeBidiWarningLabel': "I caratteri bidirezionali modificano l'ordine in cui è visualizzato il testo. Possono essere utilizzati per nascondere un codice dannoso.",
|
|
11
11
|
'fabric.editor.collapseNode': 'Comprimi contenuto',
|
|
12
12
|
'fabric.editor.expandDefaultTitle': 'Clicca qui per espandere...',
|
|
13
13
|
'fabric.editor.expandNode': 'Espandi contenuto',
|
package/dist/es2019/i18n/ja.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Japanese
|
|
8
8
|
export default {
|
|
9
|
-
'fabric.editor.codeBidiWarningLabel': '双方向文字はテキストのレンダリング順序を変更します。このため、悪意あるコードを隠すために使用される場合があります。',
|
|
10
9
|
'fabric.editor.captionPlaceholder': 'キャプションを追加',
|
|
10
|
+
'fabric.editor.codeBidiWarningLabel': '双方向文字はテキストのレンダリング順序を変更します。このため、悪意のあるコードを隠すために使用される場合があります。',
|
|
11
11
|
'fabric.editor.collapseNode': 'コンテンツを折りたたむ',
|
|
12
12
|
'fabric.editor.expandDefaultTitle': 'こちらをクリックして展開…',
|
|
13
13
|
'fabric.editor.expandNode': 'コンテンツを展開',
|
package/dist/es2019/i18n/ko.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Korean
|
|
8
8
|
export default {
|
|
9
|
-
'fabric.editor.codeBidiWarningLabel': '양방향 문자가 텍스트가 렌더링되는 순서를 변경합니다. 악성 코드를 가리는 데 사용할 수 있습니다.',
|
|
10
9
|
'fabric.editor.captionPlaceholder': '캡션 추가',
|
|
10
|
+
'fabric.editor.codeBidiWarningLabel': '양방향 문자가 텍스트가 렌더링되는 순서를 변경합니다. 악성 코드를 가리는 데 사용할 수 있습니다.',
|
|
11
11
|
'fabric.editor.collapseNode': '콘텐츠 접기',
|
|
12
12
|
'fabric.editor.expandDefaultTitle': '여기를 클릭하여 펼치기...',
|
|
13
13
|
'fabric.editor.expandNode': '콘텐츠 펼치기',
|
package/dist/es2019/i18n/nb.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Norwegian (Bokmål)
|
|
8
8
|
export default {
|
|
9
|
-
'fabric.editor.codeBidiWarningLabel': 'Toveistegn endrer rekkefølgen som tekst vises i. Dette kan brukes til å skjule skadelig kode.',
|
|
10
9
|
'fabric.editor.captionPlaceholder': 'Legg til bildetekst',
|
|
10
|
+
'fabric.editor.codeBidiWarningLabel': 'Toveistegn endrer rekkefølgen som tekst vises i. Dette kan brukes til å skjule skadelig kode.',
|
|
11
11
|
'fabric.editor.collapseNode': 'Minimer innhold',
|
|
12
12
|
'fabric.editor.expandDefaultTitle': 'Klikk her for å utvide …',
|
|
13
13
|
'fabric.editor.expandNode': 'Utvid innhold',
|
package/dist/es2019/i18n/nl.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Dutch (Netherlands)
|
|
8
8
|
export default {
|
|
9
|
-
'fabric.editor.codeBidiWarningLabel': 'Bidirectionele tekens wijzigen de volgorde waarin de tekst wordt weergegeven. Dit kan worden gebruikt om schadelijke code te verdoezelen.',
|
|
10
9
|
'fabric.editor.captionPlaceholder': 'Bijschrift toevoegen',
|
|
10
|
+
'fabric.editor.codeBidiWarningLabel': 'Bidirectionele tekens wijzigen de volgorde waarin de tekst wordt weergegeven. Dit kan worden gebruikt om schadelijke code te verdoezelen.',
|
|
11
11
|
'fabric.editor.collapseNode': 'Content inklappen',
|
|
12
12
|
'fabric.editor.expandDefaultTitle': 'Klik hier om uit te breiden...',
|
|
13
13
|
'fabric.editor.expandNode': 'Content uitbreiden',
|
package/dist/es2019/i18n/pl.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Polish (Poland)
|
|
8
8
|
export default {
|
|
9
|
-
'fabric.editor.codeBidiWarningLabel': 'Znaki dwukierunkowe zmieniają kolejność, w jakiej tekst jest renderowany. Może to zostać wykorzystane do ukrycia złośliwego kodu.',
|
|
10
9
|
'fabric.editor.captionPlaceholder': 'Dodaj podpis',
|
|
10
|
+
'fabric.editor.codeBidiWarningLabel': 'Znaki dwukierunkowe zmieniają kolejność, w jakiej tekst jest renderowany. Może to zostać wykorzystane do ukrycia złośliwego kodu.',
|
|
11
11
|
'fabric.editor.collapseNode': 'Zwiń zawartość',
|
|
12
12
|
'fabric.editor.expandDefaultTitle': 'Kliknij tutaj, aby rozwinąć...',
|
|
13
13
|
'fabric.editor.expandNode': 'Rozwiń zawartość',
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Portuguese (Brazil)
|
|
8
8
|
export default {
|
|
9
|
-
'fabric.editor.codeBidiWarningLabel': 'Caracteres bidirecionais alteram a ordem em que o texto é renderizado. Eles podem ser usados para ocultar códigos mal-intencionados.',
|
|
10
9
|
'fabric.editor.captionPlaceholder': 'Adicionar legenda',
|
|
10
|
+
'fabric.editor.codeBidiWarningLabel': 'Caracteres bidirecionais alteram a ordem em que o texto é renderizado. Eles podem ser usados para ocultar códigos mal-intencionados.',
|
|
11
11
|
'fabric.editor.collapseNode': 'Recolher conteúdo',
|
|
12
12
|
'fabric.editor.expandDefaultTitle': 'Clique aqui para expandir...',
|
|
13
13
|
'fabric.editor.expandNode': 'Expandir conteúdo',
|
package/dist/es2019/i18n/ru.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file is automatically generated by
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
//
|
|
7
|
+
//Russian
|
|
8
8
|
export default {
|
|
9
|
-
'fabric.editor.codeBidiWarningLabel': 'Двунаправленные символы изменяют порядок отображения текста. Они могут использоваться для маскировки вредоносного кода.',
|
|
10
9
|
'fabric.editor.captionPlaceholder': 'Добавьте подпись',
|
|
10
|
+
'fabric.editor.codeBidiWarningLabel': 'Двунаправленные символы изменяют порядок отображения текста. Они могут использоваться для маскировки вредоносного кода.',
|
|
11
11
|
'fabric.editor.collapseNode': 'Свернуть содержимое',
|
|
12
12
|
'fabric.editor.expandDefaultTitle': 'Нажмите здесь, чтобы развернуть…',
|
|
13
13
|
'fabric.editor.expandNode': 'Разверните содержимое',
|