@atlaskit/editor-common 125.0.0 → 125.1.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 +22 -0
- package/dist/cjs/element-browser/components/ElementBrowserLoader.js +31 -8
- package/dist/cjs/extensibility/Extension.js +4 -2
- package/dist/cjs/extensibility/ExtensionComponent.js +3 -1
- package/dist/cjs/extensibility/ExtensionNodeWrapper.js +3 -0
- package/dist/cjs/extensibility/GeneratedContentReveal.js +18 -20
- package/dist/cjs/extensibility/extensionNodeView.js +61 -24
- package/dist/cjs/extensions/extension-handlers.js +96 -17
- package/dist/cjs/floating-toolbar/DropdownMenuExtensionItems.js +25 -4
- package/dist/cjs/icons/index.js +33 -10
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/quick-insert/assets/index.js +888 -257
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Mention/mention-with-profilecard.js +30 -11
- package/dist/es2019/element-browser/components/ElementBrowserLoader.js +16 -2
- package/dist/es2019/extensibility/Extension.js +4 -2
- package/dist/es2019/extensibility/ExtensionComponent.js +3 -1
- package/dist/es2019/extensibility/ExtensionNodeWrapper.js +2 -0
- package/dist/es2019/extensibility/GeneratedContentReveal.js +11 -16
- package/dist/es2019/extensibility/extensionNodeView.js +51 -23
- package/dist/es2019/extensions/extension-handlers.js +70 -15
- package/dist/es2019/floating-toolbar/DropdownMenuExtensionItems.js +16 -2
- package/dist/es2019/icons/index.js +17 -3
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/quick-insert/assets/index.js +386 -66
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Mention/mention-with-profilecard.js +15 -4
- package/dist/esm/element-browser/components/ElementBrowserLoader.js +28 -6
- package/dist/esm/extensibility/Extension.js +4 -2
- package/dist/esm/extensibility/ExtensionComponent.js +3 -1
- package/dist/esm/extensibility/ExtensionNodeWrapper.js +3 -0
- package/dist/esm/extensibility/GeneratedContentReveal.js +18 -20
- package/dist/esm/extensibility/extensionNodeView.js +56 -23
- package/dist/esm/extensions/extension-handlers.js +97 -17
- package/dist/esm/floating-toolbar/DropdownMenuExtensionItems.js +24 -4
- package/dist/esm/icons/index.js +29 -7
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/quick-insert/assets/index.js +764 -194
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Mention/mention-with-profilecard.js +25 -8
- package/dist/types/analytics/types/ai-suggestions-events.d.ts +4 -6
- package/dist/types/extensibility/Extension.d.ts +2 -0
- package/dist/types/extensibility/ExtensionComponent.d.ts +2 -0
- package/dist/types/extensibility/ExtensionNodeWrapper.d.ts +3 -1
- package/dist/types/extensibility/GeneratedContentReveal.d.ts +3 -1
- package/dist/types/extensibility/extensionNodeView.d.ts +13 -12
- package/dist/types/icons/index.d.ts +5 -3
- package/dist/types/quick-insert/assets/index.d.ts +34 -32
- package/package.json +5 -4
- package/dist/cjs/extensibility/useNativeEmbedSettled.js +0 -56
- package/dist/es2019/extensibility/useNativeEmbedSettled.js +0 -49
- package/dist/esm/extensibility/useNativeEmbedSettled.js +0 -51
- package/dist/types/extensibility/useNativeEmbedSettled.d.ts +0 -12
|
@@ -3,246 +3,681 @@ function _tsRewriteRelativeImportExtensions(t, e) { return "string" == typeof t
|
|
|
3
3
|
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import Loadable from 'react-loadable';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
6
|
+
// oxlint-disable-next-line @atlassian/no-restricted-imports
|
|
7
|
+
import { lazy, LazySuspense } from 'react-loosely-lazy';
|
|
8
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
9
|
+
var loadIconAction = function loadIconAction() {
|
|
10
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-action" */'./action').then(function (module) {
|
|
11
|
+
return module.default;
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
var IconActionLazy = lazy(function () {
|
|
15
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-action" */'./action').then(function (module) {
|
|
16
|
+
return module.default;
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
IconActionLazy.displayName = 'lazy(IconAction)';
|
|
20
|
+
var IconActionLoadable = Loadable({
|
|
21
|
+
loader: loadIconAction,
|
|
12
22
|
loading: function loading() {
|
|
13
23
|
return null;
|
|
14
24
|
}
|
|
15
25
|
});
|
|
16
|
-
export var
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
26
|
+
export var IconAction = function IconAction(props) {
|
|
27
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
28
|
+
fallback: null
|
|
29
|
+
}, /*#__PURE__*/React.createElement(IconActionLazy, props)) :
|
|
30
|
+
/*#__PURE__*/
|
|
31
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
32
|
+
React.createElement(IconActionLoadable, props);
|
|
33
|
+
};
|
|
34
|
+
IconAction.preload = function () {
|
|
35
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconActionLazy.preload() : IconActionLoadable.preload();
|
|
36
|
+
};
|
|
37
|
+
var loadIconCode = function loadIconCode() {
|
|
38
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-code" */'./code').then(function (module) {
|
|
39
|
+
return module.default;
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
var IconCodeLazy = lazy(function () {
|
|
43
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-code" */'./code').then(function (module) {
|
|
44
|
+
return module.default;
|
|
45
|
+
});
|
|
46
|
+
});
|
|
47
|
+
IconCodeLazy.displayName = 'lazy(IconCode)';
|
|
48
|
+
var IconCodeLoadable = Loadable({
|
|
49
|
+
loader: loadIconCode,
|
|
22
50
|
loading: function loading() {
|
|
23
51
|
return null;
|
|
24
52
|
}
|
|
25
53
|
});
|
|
26
|
-
export var
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
54
|
+
export var IconCode = function IconCode(props) {
|
|
55
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
56
|
+
fallback: null
|
|
57
|
+
}, /*#__PURE__*/React.createElement(IconCodeLazy, props)) :
|
|
58
|
+
/*#__PURE__*/
|
|
59
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
60
|
+
React.createElement(IconCodeLoadable, props);
|
|
61
|
+
};
|
|
62
|
+
IconCode.preload = function () {
|
|
63
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconCodeLazy.preload() : IconCodeLoadable.preload();
|
|
64
|
+
};
|
|
65
|
+
var loadIconDate = function loadIconDate() {
|
|
66
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-date" */'./date').then(function (module) {
|
|
67
|
+
return module.default;
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
var IconDateLazy = lazy(function () {
|
|
71
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-date" */'./date').then(function (module) {
|
|
72
|
+
return module.default;
|
|
73
|
+
});
|
|
74
|
+
});
|
|
75
|
+
IconDateLazy.displayName = 'lazy(IconDate)';
|
|
76
|
+
var IconDateLoadable = Loadable({
|
|
77
|
+
loader: loadIconDate,
|
|
32
78
|
loading: function loading() {
|
|
33
79
|
return null;
|
|
34
80
|
}
|
|
35
81
|
});
|
|
36
|
-
export var
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
82
|
+
export var IconDate = function IconDate(props) {
|
|
83
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
84
|
+
fallback: null
|
|
85
|
+
}, /*#__PURE__*/React.createElement(IconDateLazy, props)) :
|
|
86
|
+
/*#__PURE__*/
|
|
87
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
88
|
+
React.createElement(IconDateLoadable, props);
|
|
89
|
+
};
|
|
90
|
+
IconDate.preload = function () {
|
|
91
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconDateLazy.preload() : IconDateLoadable.preload();
|
|
92
|
+
};
|
|
93
|
+
var loadIconDecision = function loadIconDecision() {
|
|
94
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-decision" */'./decision').then(function (module) {
|
|
95
|
+
return module.default;
|
|
96
|
+
});
|
|
97
|
+
};
|
|
98
|
+
var IconDecisionLazy = lazy(function () {
|
|
99
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-decision" */'./decision').then(function (module) {
|
|
100
|
+
return module.default;
|
|
101
|
+
});
|
|
102
|
+
});
|
|
103
|
+
IconDecisionLazy.displayName = 'lazy(IconDecision)';
|
|
104
|
+
var IconDecisionLoadable = Loadable({
|
|
105
|
+
loader: loadIconDecision,
|
|
42
106
|
loading: function loading() {
|
|
43
107
|
return null;
|
|
44
108
|
}
|
|
45
109
|
});
|
|
46
|
-
export var
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
110
|
+
export var IconDecision = function IconDecision(props) {
|
|
111
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
112
|
+
fallback: null
|
|
113
|
+
}, /*#__PURE__*/React.createElement(IconDecisionLazy, props)) :
|
|
114
|
+
/*#__PURE__*/
|
|
115
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
116
|
+
React.createElement(IconDecisionLoadable, props);
|
|
117
|
+
};
|
|
118
|
+
IconDecision.preload = function () {
|
|
119
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconDecisionLazy.preload() : IconDecisionLoadable.preload();
|
|
120
|
+
};
|
|
121
|
+
var loadIconDivider = function loadIconDivider() {
|
|
122
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-divider" */'./divider').then(function (module) {
|
|
123
|
+
return module.default;
|
|
124
|
+
});
|
|
125
|
+
};
|
|
126
|
+
var IconDividerLazy = lazy(function () {
|
|
127
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-divider" */'./divider').then(function (module) {
|
|
128
|
+
return module.default;
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
IconDividerLazy.displayName = 'lazy(IconDivider)';
|
|
132
|
+
var IconDividerLoadable = Loadable({
|
|
133
|
+
loader: loadIconDivider,
|
|
52
134
|
loading: function loading() {
|
|
53
135
|
return null;
|
|
54
136
|
}
|
|
55
137
|
});
|
|
56
|
-
export var
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
138
|
+
export var IconDivider = function IconDivider(props) {
|
|
139
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
140
|
+
fallback: null
|
|
141
|
+
}, /*#__PURE__*/React.createElement(IconDividerLazy, props)) :
|
|
142
|
+
/*#__PURE__*/
|
|
143
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
144
|
+
React.createElement(IconDividerLoadable, props);
|
|
145
|
+
};
|
|
146
|
+
IconDivider.preload = function () {
|
|
147
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconDividerLazy.preload() : IconDividerLoadable.preload();
|
|
148
|
+
};
|
|
149
|
+
var loadIconEmoji = function loadIconEmoji() {
|
|
150
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-emoji" */'./emoji').then(function (module) {
|
|
151
|
+
return module.default;
|
|
152
|
+
});
|
|
153
|
+
};
|
|
154
|
+
var IconEmojiLazy = lazy(function () {
|
|
155
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-emoji" */'./emoji').then(function (module) {
|
|
156
|
+
return module.default;
|
|
157
|
+
});
|
|
158
|
+
});
|
|
159
|
+
IconEmojiLazy.displayName = 'lazy(IconEmoji)';
|
|
160
|
+
var IconEmojiLoadable = Loadable({
|
|
161
|
+
loader: loadIconEmoji,
|
|
62
162
|
loading: function loading() {
|
|
63
163
|
return null;
|
|
64
164
|
}
|
|
65
165
|
});
|
|
66
|
-
export var
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
166
|
+
export var IconEmoji = function IconEmoji(props) {
|
|
167
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
168
|
+
fallback: null
|
|
169
|
+
}, /*#__PURE__*/React.createElement(IconEmojiLazy, props)) :
|
|
170
|
+
/*#__PURE__*/
|
|
171
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
172
|
+
React.createElement(IconEmojiLoadable, props);
|
|
173
|
+
};
|
|
174
|
+
IconEmoji.preload = function () {
|
|
175
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconEmojiLazy.preload() : IconEmojiLoadable.preload();
|
|
176
|
+
};
|
|
177
|
+
var loadIconImages = function loadIconImages() {
|
|
178
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-images" */'./images').then(function (module) {
|
|
179
|
+
return module.default;
|
|
180
|
+
});
|
|
181
|
+
};
|
|
182
|
+
var IconImagesLazy = lazy(function () {
|
|
183
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-images" */'./images').then(function (module) {
|
|
184
|
+
return module.default;
|
|
185
|
+
});
|
|
186
|
+
});
|
|
187
|
+
IconImagesLazy.displayName = 'lazy(IconImages)';
|
|
188
|
+
var IconImagesLoadable = Loadable({
|
|
189
|
+
loader: loadIconImages,
|
|
72
190
|
loading: function loading() {
|
|
73
191
|
return null;
|
|
74
192
|
}
|
|
75
193
|
});
|
|
76
|
-
export var
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
194
|
+
export var IconImages = function IconImages(props) {
|
|
195
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
196
|
+
fallback: null
|
|
197
|
+
}, /*#__PURE__*/React.createElement(IconImagesLazy, props)) :
|
|
198
|
+
/*#__PURE__*/
|
|
199
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
200
|
+
React.createElement(IconImagesLoadable, props);
|
|
201
|
+
};
|
|
202
|
+
IconImages.preload = function () {
|
|
203
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconImagesLazy.preload() : IconImagesLoadable.preload();
|
|
204
|
+
};
|
|
205
|
+
var loadIconLayout = function loadIconLayout() {
|
|
206
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-layout" */'./layout').then(function (module) {
|
|
207
|
+
return module.default;
|
|
208
|
+
});
|
|
209
|
+
};
|
|
210
|
+
var IconLayoutLazy = lazy(function () {
|
|
211
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-layout" */'./layout').then(function (module) {
|
|
212
|
+
return module.default;
|
|
213
|
+
});
|
|
214
|
+
});
|
|
215
|
+
IconLayoutLazy.displayName = 'lazy(IconLayout)';
|
|
216
|
+
var IconLayoutLoadable = Loadable({
|
|
217
|
+
loader: loadIconLayout,
|
|
82
218
|
loading: function loading() {
|
|
83
219
|
return null;
|
|
84
220
|
}
|
|
85
221
|
});
|
|
86
|
-
export var
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
222
|
+
export var IconLayout = function IconLayout(props) {
|
|
223
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
224
|
+
fallback: null
|
|
225
|
+
}, /*#__PURE__*/React.createElement(IconLayoutLazy, props)) :
|
|
226
|
+
/*#__PURE__*/
|
|
227
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
228
|
+
React.createElement(IconLayoutLoadable, props);
|
|
229
|
+
};
|
|
230
|
+
IconLayout.preload = function () {
|
|
231
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconLayoutLazy.preload() : IconLayoutLoadable.preload();
|
|
232
|
+
};
|
|
233
|
+
var loadIconLink = function loadIconLink() {
|
|
234
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-link" */'./link').then(function (module) {
|
|
235
|
+
return module.default;
|
|
236
|
+
});
|
|
237
|
+
};
|
|
238
|
+
var IconLinkLazy = lazy(function () {
|
|
239
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-link" */'./link').then(function (module) {
|
|
240
|
+
return module.default;
|
|
241
|
+
});
|
|
242
|
+
});
|
|
243
|
+
IconLinkLazy.displayName = 'lazy(IconLink)';
|
|
244
|
+
var IconLinkLoadable = Loadable({
|
|
245
|
+
loader: loadIconLink,
|
|
92
246
|
loading: function loading() {
|
|
93
247
|
return null;
|
|
94
248
|
}
|
|
95
249
|
});
|
|
96
|
-
export var
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
250
|
+
export var IconLink = function IconLink(props) {
|
|
251
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
252
|
+
fallback: null
|
|
253
|
+
}, /*#__PURE__*/React.createElement(IconLinkLazy, props)) :
|
|
254
|
+
/*#__PURE__*/
|
|
255
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
256
|
+
React.createElement(IconLinkLoadable, props);
|
|
257
|
+
};
|
|
258
|
+
IconLink.preload = function () {
|
|
259
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconLinkLazy.preload() : IconLinkLoadable.preload();
|
|
260
|
+
};
|
|
261
|
+
var loadIconListNumber = function loadIconListNumber() {
|
|
262
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-list-number" */'./list-number').then(function (module) {
|
|
263
|
+
return module.default;
|
|
264
|
+
});
|
|
265
|
+
};
|
|
266
|
+
var IconListNumberLazy = lazy(function () {
|
|
267
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-list-number" */'./list-number').then(function (module) {
|
|
268
|
+
return module.default;
|
|
269
|
+
});
|
|
270
|
+
});
|
|
271
|
+
IconListNumberLazy.displayName = 'lazy(IconListNumber)';
|
|
272
|
+
var IconListNumberLoadable = Loadable({
|
|
273
|
+
loader: loadIconListNumber,
|
|
102
274
|
loading: function loading() {
|
|
103
275
|
return null;
|
|
104
276
|
}
|
|
105
277
|
});
|
|
106
|
-
export var
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
278
|
+
export var IconListNumber = function IconListNumber(props) {
|
|
279
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
280
|
+
fallback: null
|
|
281
|
+
}, /*#__PURE__*/React.createElement(IconListNumberLazy, props)) :
|
|
282
|
+
/*#__PURE__*/
|
|
283
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
284
|
+
React.createElement(IconListNumberLoadable, props);
|
|
285
|
+
};
|
|
286
|
+
IconListNumber.preload = function () {
|
|
287
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconListNumberLazy.preload() : IconListNumberLoadable.preload();
|
|
288
|
+
};
|
|
289
|
+
var loadIconList = function loadIconList() {
|
|
290
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-list" */'./list').then(function (module) {
|
|
291
|
+
return module.default;
|
|
292
|
+
});
|
|
293
|
+
};
|
|
294
|
+
var IconListLazy = lazy(function () {
|
|
295
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-list" */'./list').then(function (module) {
|
|
296
|
+
return module.default;
|
|
297
|
+
});
|
|
298
|
+
});
|
|
299
|
+
IconListLazy.displayName = 'lazy(IconList)';
|
|
300
|
+
var IconListLoadable = Loadable({
|
|
301
|
+
loader: loadIconList,
|
|
112
302
|
loading: function loading() {
|
|
113
303
|
return null;
|
|
114
304
|
}
|
|
115
305
|
});
|
|
116
|
-
export var
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
306
|
+
export var IconList = function IconList(props) {
|
|
307
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
308
|
+
fallback: null
|
|
309
|
+
}, /*#__PURE__*/React.createElement(IconListLazy, props)) :
|
|
310
|
+
/*#__PURE__*/
|
|
311
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
312
|
+
React.createElement(IconListLoadable, props);
|
|
313
|
+
};
|
|
314
|
+
IconList.preload = function () {
|
|
315
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconListLazy.preload() : IconListLoadable.preload();
|
|
316
|
+
};
|
|
317
|
+
var loadIconMention = function loadIconMention() {
|
|
318
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-mention" */'./mention').then(function (module) {
|
|
319
|
+
return module.default;
|
|
320
|
+
});
|
|
321
|
+
};
|
|
322
|
+
var IconMentionLazy = lazy(function () {
|
|
323
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-mention" */'./mention').then(function (module) {
|
|
324
|
+
return module.default;
|
|
325
|
+
});
|
|
326
|
+
});
|
|
327
|
+
IconMentionLazy.displayName = 'lazy(IconMention)';
|
|
328
|
+
var IconMentionLoadable = Loadable({
|
|
329
|
+
loader: loadIconMention,
|
|
122
330
|
loading: function loading() {
|
|
123
331
|
return null;
|
|
124
332
|
}
|
|
125
333
|
});
|
|
126
|
-
export var
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
334
|
+
export var IconMention = function IconMention(props) {
|
|
335
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
336
|
+
fallback: null
|
|
337
|
+
}, /*#__PURE__*/React.createElement(IconMentionLazy, props)) :
|
|
338
|
+
/*#__PURE__*/
|
|
339
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
340
|
+
React.createElement(IconMentionLoadable, props);
|
|
341
|
+
};
|
|
342
|
+
IconMention.preload = function () {
|
|
343
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconMentionLazy.preload() : IconMentionLoadable.preload();
|
|
344
|
+
};
|
|
345
|
+
var loadIconPanelError = function loadIconPanelError() {
|
|
346
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-panel-error" */'./panel-error').then(function (module) {
|
|
347
|
+
return module.default;
|
|
348
|
+
});
|
|
349
|
+
};
|
|
350
|
+
var IconPanelErrorLazy = lazy(function () {
|
|
351
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-panel-error" */'./panel-error').then(function (module) {
|
|
352
|
+
return module.default;
|
|
353
|
+
});
|
|
354
|
+
});
|
|
355
|
+
IconPanelErrorLazy.displayName = 'lazy(IconPanelError)';
|
|
356
|
+
var IconPanelErrorLoadable = Loadable({
|
|
357
|
+
loader: loadIconPanelError,
|
|
132
358
|
loading: function loading() {
|
|
133
359
|
return null;
|
|
134
360
|
}
|
|
135
361
|
});
|
|
136
|
-
export var
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
362
|
+
export var IconPanelError = function IconPanelError(props) {
|
|
363
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
364
|
+
fallback: null
|
|
365
|
+
}, /*#__PURE__*/React.createElement(IconPanelErrorLazy, props)) :
|
|
366
|
+
/*#__PURE__*/
|
|
367
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
368
|
+
React.createElement(IconPanelErrorLoadable, props);
|
|
369
|
+
};
|
|
370
|
+
IconPanelError.preload = function () {
|
|
371
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconPanelErrorLazy.preload() : IconPanelErrorLoadable.preload();
|
|
372
|
+
};
|
|
373
|
+
var loadIconPanelNote = function loadIconPanelNote() {
|
|
374
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-panel-note" */'./panel-note').then(function (module) {
|
|
375
|
+
return module.default;
|
|
376
|
+
});
|
|
377
|
+
};
|
|
378
|
+
var IconPanelNoteLazy = lazy(function () {
|
|
379
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-panel-note" */'./panel-note').then(function (module) {
|
|
380
|
+
return module.default;
|
|
381
|
+
});
|
|
382
|
+
});
|
|
383
|
+
IconPanelNoteLazy.displayName = 'lazy(IconPanelNote)';
|
|
384
|
+
var IconPanelNoteLoadable = Loadable({
|
|
385
|
+
loader: loadIconPanelNote,
|
|
142
386
|
loading: function loading() {
|
|
143
387
|
return null;
|
|
144
388
|
}
|
|
145
389
|
});
|
|
146
|
-
export var
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
390
|
+
export var IconPanelNote = function IconPanelNote(props) {
|
|
391
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
392
|
+
fallback: null
|
|
393
|
+
}, /*#__PURE__*/React.createElement(IconPanelNoteLazy, props)) :
|
|
394
|
+
/*#__PURE__*/
|
|
395
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
396
|
+
React.createElement(IconPanelNoteLoadable, props);
|
|
397
|
+
};
|
|
398
|
+
IconPanelNote.preload = function () {
|
|
399
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconPanelNoteLazy.preload() : IconPanelNoteLoadable.preload();
|
|
400
|
+
};
|
|
401
|
+
var loadIconPanelSuccess = function loadIconPanelSuccess() {
|
|
402
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-panel-success" */'./panel-success').then(function (module) {
|
|
403
|
+
return module.default;
|
|
404
|
+
});
|
|
405
|
+
};
|
|
406
|
+
var IconPanelSuccessLazy = lazy(function () {
|
|
407
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-panel-success" */'./panel-success').then(function (module) {
|
|
408
|
+
return module.default;
|
|
409
|
+
});
|
|
410
|
+
});
|
|
411
|
+
IconPanelSuccessLazy.displayName = 'lazy(IconPanelSuccess)';
|
|
412
|
+
var IconPanelSuccessLoadable = Loadable({
|
|
413
|
+
loader: loadIconPanelSuccess,
|
|
152
414
|
loading: function loading() {
|
|
153
415
|
return null;
|
|
154
416
|
}
|
|
155
417
|
});
|
|
156
|
-
export var
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
418
|
+
export var IconPanelSuccess = function IconPanelSuccess(props) {
|
|
419
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
420
|
+
fallback: null
|
|
421
|
+
}, /*#__PURE__*/React.createElement(IconPanelSuccessLazy, props)) :
|
|
422
|
+
/*#__PURE__*/
|
|
423
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
424
|
+
React.createElement(IconPanelSuccessLoadable, props);
|
|
425
|
+
};
|
|
426
|
+
IconPanelSuccess.preload = function () {
|
|
427
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconPanelSuccessLazy.preload() : IconPanelSuccessLoadable.preload();
|
|
428
|
+
};
|
|
429
|
+
var loadIconPanelWarning = function loadIconPanelWarning() {
|
|
430
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-panel-warning" */'./panel-warning').then(function (module) {
|
|
431
|
+
return module.default;
|
|
432
|
+
});
|
|
433
|
+
};
|
|
434
|
+
var IconPanelWarningLazy = lazy(function () {
|
|
435
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-panel-warning" */'./panel-warning').then(function (module) {
|
|
436
|
+
return module.default;
|
|
437
|
+
});
|
|
438
|
+
});
|
|
439
|
+
IconPanelWarningLazy.displayName = 'lazy(IconPanelWarning)';
|
|
440
|
+
var IconPanelWarningLoadable = Loadable({
|
|
441
|
+
loader: loadIconPanelWarning,
|
|
162
442
|
loading: function loading() {
|
|
163
443
|
return null;
|
|
164
444
|
}
|
|
165
445
|
});
|
|
166
|
-
export var
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
446
|
+
export var IconPanelWarning = function IconPanelWarning(props) {
|
|
447
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
448
|
+
fallback: null
|
|
449
|
+
}, /*#__PURE__*/React.createElement(IconPanelWarningLazy, props)) :
|
|
450
|
+
/*#__PURE__*/
|
|
451
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
452
|
+
React.createElement(IconPanelWarningLoadable, props);
|
|
453
|
+
};
|
|
454
|
+
IconPanelWarning.preload = function () {
|
|
455
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconPanelWarningLazy.preload() : IconPanelWarningLoadable.preload();
|
|
456
|
+
};
|
|
457
|
+
var loadIconPanel = function loadIconPanel() {
|
|
458
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-panel" */'./panel').then(function (module) {
|
|
459
|
+
return module.default;
|
|
460
|
+
});
|
|
461
|
+
};
|
|
462
|
+
var IconPanelLazy = lazy(function () {
|
|
463
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-panel" */'./panel').then(function (module) {
|
|
464
|
+
return module.default;
|
|
465
|
+
});
|
|
466
|
+
});
|
|
467
|
+
IconPanelLazy.displayName = 'lazy(IconPanel)';
|
|
468
|
+
var IconPanelLoadable = Loadable({
|
|
469
|
+
loader: loadIconPanel,
|
|
172
470
|
loading: function loading() {
|
|
173
471
|
return null;
|
|
174
472
|
}
|
|
175
473
|
});
|
|
176
|
-
export var
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
474
|
+
export var IconPanel = function IconPanel(props) {
|
|
475
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
476
|
+
fallback: null
|
|
477
|
+
}, /*#__PURE__*/React.createElement(IconPanelLazy, props)) :
|
|
478
|
+
/*#__PURE__*/
|
|
479
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
480
|
+
React.createElement(IconPanelLoadable, props);
|
|
481
|
+
};
|
|
482
|
+
IconPanel.preload = function () {
|
|
483
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconPanelLazy.preload() : IconPanelLoadable.preload();
|
|
484
|
+
};
|
|
485
|
+
var loadIconQuote = function loadIconQuote() {
|
|
486
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-quote" */'./quote').then(function (module) {
|
|
487
|
+
return module.default;
|
|
488
|
+
});
|
|
489
|
+
};
|
|
490
|
+
var IconQuoteLazy = lazy(function () {
|
|
491
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-quote" */'./quote').then(function (module) {
|
|
492
|
+
return module.default;
|
|
493
|
+
});
|
|
494
|
+
});
|
|
495
|
+
IconQuoteLazy.displayName = 'lazy(IconQuote)';
|
|
496
|
+
var IconQuoteLoadable = Loadable({
|
|
497
|
+
loader: loadIconQuote,
|
|
182
498
|
loading: function loading() {
|
|
183
499
|
return null;
|
|
184
500
|
}
|
|
185
501
|
});
|
|
186
|
-
export var
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
502
|
+
export var IconQuote = function IconQuote(props) {
|
|
503
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
504
|
+
fallback: null
|
|
505
|
+
}, /*#__PURE__*/React.createElement(IconQuoteLazy, props)) :
|
|
506
|
+
/*#__PURE__*/
|
|
507
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
508
|
+
React.createElement(IconQuoteLoadable, props);
|
|
509
|
+
};
|
|
510
|
+
IconQuote.preload = function () {
|
|
511
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconQuoteLazy.preload() : IconQuoteLoadable.preload();
|
|
512
|
+
};
|
|
513
|
+
var loadIconStatus = function loadIconStatus() {
|
|
514
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-status" */'./status').then(function (module) {
|
|
515
|
+
return module.default;
|
|
516
|
+
});
|
|
517
|
+
};
|
|
518
|
+
var IconStatusLazy = lazy(function () {
|
|
519
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-status" */'./status').then(function (module) {
|
|
520
|
+
return module.default;
|
|
521
|
+
});
|
|
522
|
+
});
|
|
523
|
+
IconStatusLazy.displayName = 'lazy(IconStatus)';
|
|
524
|
+
var IconStatusLoadable = Loadable({
|
|
525
|
+
loader: loadIconStatus,
|
|
192
526
|
loading: function loading() {
|
|
193
527
|
return null;
|
|
194
528
|
}
|
|
195
529
|
});
|
|
196
|
-
export var
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
530
|
+
export var IconStatus = function IconStatus(props) {
|
|
531
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
532
|
+
fallback: null
|
|
533
|
+
}, /*#__PURE__*/React.createElement(IconStatusLazy, props)) :
|
|
534
|
+
/*#__PURE__*/
|
|
535
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
536
|
+
React.createElement(IconStatusLoadable, props);
|
|
537
|
+
};
|
|
538
|
+
IconStatus.preload = function () {
|
|
539
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconStatusLazy.preload() : IconStatusLoadable.preload();
|
|
540
|
+
};
|
|
541
|
+
var loadIconOneColumnLayout = function loadIconOneColumnLayout() {
|
|
542
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-one-column-layout" */'./one-column-layout').then(function (module) {
|
|
543
|
+
return module.default;
|
|
544
|
+
});
|
|
545
|
+
};
|
|
546
|
+
var IconOneColumnLayoutLazy = lazy(function () {
|
|
547
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-one-column-layout" */'./one-column-layout').then(function (module) {
|
|
548
|
+
return module.default;
|
|
549
|
+
});
|
|
550
|
+
});
|
|
551
|
+
IconOneColumnLayoutLazy.displayName = 'lazy(IconOneColumnLayout)';
|
|
552
|
+
var IconOneColumnLayoutLoadable = Loadable({
|
|
553
|
+
loader: loadIconOneColumnLayout,
|
|
202
554
|
loading: function loading() {
|
|
203
555
|
return null;
|
|
204
556
|
}
|
|
205
557
|
});
|
|
206
|
-
export var
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
558
|
+
export var IconOneColumnLayout = function IconOneColumnLayout(props) {
|
|
559
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
560
|
+
fallback: null
|
|
561
|
+
}, /*#__PURE__*/React.createElement(IconOneColumnLayoutLazy, props)) :
|
|
562
|
+
/*#__PURE__*/
|
|
563
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
564
|
+
React.createElement(IconOneColumnLayoutLoadable, props);
|
|
565
|
+
};
|
|
566
|
+
IconOneColumnLayout.preload = function () {
|
|
567
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconOneColumnLayoutLazy.preload() : IconOneColumnLayoutLoadable.preload();
|
|
568
|
+
};
|
|
569
|
+
var loadIconTwoColumnLayout = function loadIconTwoColumnLayout() {
|
|
570
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-two-column-layout" */'./two-column-layout').then(function (module) {
|
|
571
|
+
return module.default;
|
|
572
|
+
});
|
|
573
|
+
};
|
|
574
|
+
var IconTwoColumnLayoutLazy = lazy(function () {
|
|
575
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-two-column-layout" */'./two-column-layout').then(function (module) {
|
|
576
|
+
return module.default;
|
|
577
|
+
});
|
|
578
|
+
});
|
|
579
|
+
IconTwoColumnLayoutLazy.displayName = 'lazy(IconTwoColumnLayout)';
|
|
580
|
+
var IconTwoColumnLayoutLoadable = Loadable({
|
|
581
|
+
loader: loadIconTwoColumnLayout,
|
|
212
582
|
loading: function loading() {
|
|
213
583
|
return null;
|
|
214
584
|
}
|
|
215
585
|
});
|
|
216
|
-
export var
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
586
|
+
export var IconTwoColumnLayout = function IconTwoColumnLayout(props) {
|
|
587
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
588
|
+
fallback: null
|
|
589
|
+
}, /*#__PURE__*/React.createElement(IconTwoColumnLayoutLazy, props)) :
|
|
590
|
+
/*#__PURE__*/
|
|
591
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
592
|
+
React.createElement(IconTwoColumnLayoutLoadable, props);
|
|
593
|
+
};
|
|
594
|
+
IconTwoColumnLayout.preload = function () {
|
|
595
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconTwoColumnLayoutLazy.preload() : IconTwoColumnLayoutLoadable.preload();
|
|
596
|
+
};
|
|
597
|
+
var loadIconThreeColumnLayout = function loadIconThreeColumnLayout() {
|
|
598
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-three-column-layout" */'./three-column-layout').then(function (module) {
|
|
599
|
+
return module.default;
|
|
600
|
+
});
|
|
601
|
+
};
|
|
602
|
+
var IconThreeColumnLayoutLazy = lazy(function () {
|
|
603
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-three-column-layout" */'./three-column-layout').then(function (module) {
|
|
604
|
+
return module.default;
|
|
605
|
+
});
|
|
606
|
+
});
|
|
607
|
+
IconThreeColumnLayoutLazy.displayName = 'lazy(IconThreeColumnLayout)';
|
|
608
|
+
var IconThreeColumnLayoutLoadable = Loadable({
|
|
609
|
+
loader: loadIconThreeColumnLayout,
|
|
222
610
|
loading: function loading() {
|
|
223
611
|
return null;
|
|
224
612
|
}
|
|
225
613
|
});
|
|
226
|
-
export var
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
614
|
+
export var IconThreeColumnLayout = function IconThreeColumnLayout(props) {
|
|
615
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
616
|
+
fallback: null
|
|
617
|
+
}, /*#__PURE__*/React.createElement(IconThreeColumnLayoutLazy, props)) :
|
|
618
|
+
/*#__PURE__*/
|
|
619
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
620
|
+
React.createElement(IconThreeColumnLayoutLoadable, props);
|
|
621
|
+
};
|
|
622
|
+
IconThreeColumnLayout.preload = function () {
|
|
623
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconThreeColumnLayoutLazy.preload() : IconThreeColumnLayoutLoadable.preload();
|
|
624
|
+
};
|
|
625
|
+
var loadIconFourColumnLayout = function loadIconFourColumnLayout() {
|
|
626
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-four-column-layout" */'./four-column-layout').then(function (module) {
|
|
627
|
+
return module.default;
|
|
628
|
+
});
|
|
629
|
+
};
|
|
630
|
+
var IconFourColumnLayoutLazy = lazy(function () {
|
|
631
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-four-column-layout" */'./four-column-layout').then(function (module) {
|
|
632
|
+
return module.default;
|
|
633
|
+
});
|
|
634
|
+
});
|
|
635
|
+
IconFourColumnLayoutLazy.displayName = 'lazy(IconFourColumnLayout)';
|
|
636
|
+
var IconFourColumnLayoutLoadable = Loadable({
|
|
637
|
+
loader: loadIconFourColumnLayout,
|
|
232
638
|
loading: function loading() {
|
|
233
639
|
return null;
|
|
234
640
|
}
|
|
235
641
|
});
|
|
236
|
-
export var
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
642
|
+
export var IconFourColumnLayout = function IconFourColumnLayout(props) {
|
|
643
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
644
|
+
fallback: null
|
|
645
|
+
}, /*#__PURE__*/React.createElement(IconFourColumnLayoutLazy, props)) :
|
|
646
|
+
/*#__PURE__*/
|
|
647
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
648
|
+
React.createElement(IconFourColumnLayoutLoadable, props);
|
|
649
|
+
};
|
|
650
|
+
IconFourColumnLayout.preload = function () {
|
|
651
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconFourColumnLayoutLazy.preload() : IconFourColumnLayoutLoadable.preload();
|
|
652
|
+
};
|
|
653
|
+
var loadIconFiveColumnLayout = function loadIconFiveColumnLayout() {
|
|
654
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-five-column-layout" */'./five-column-layout').then(function (module) {
|
|
655
|
+
return module.default;
|
|
656
|
+
});
|
|
657
|
+
};
|
|
658
|
+
var IconFiveColumnLayoutLazy = lazy(function () {
|
|
659
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-five-column-layout" */'./five-column-layout').then(function (module) {
|
|
660
|
+
return module.default;
|
|
661
|
+
});
|
|
662
|
+
});
|
|
663
|
+
IconFiveColumnLayoutLazy.displayName = 'lazy(IconFiveColumnLayout)';
|
|
664
|
+
var IconFiveColumnLayoutLoadable = Loadable({
|
|
665
|
+
loader: loadIconFiveColumnLayout,
|
|
242
666
|
loading: function loading() {
|
|
243
667
|
return null;
|
|
244
668
|
}
|
|
245
669
|
});
|
|
670
|
+
export var IconFiveColumnLayout = function IconFiveColumnLayout(props) {
|
|
671
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
672
|
+
fallback: null
|
|
673
|
+
}, /*#__PURE__*/React.createElement(IconFiveColumnLayoutLazy, props)) :
|
|
674
|
+
/*#__PURE__*/
|
|
675
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
676
|
+
React.createElement(IconFiveColumnLayoutLoadable, props);
|
|
677
|
+
};
|
|
678
|
+
IconFiveColumnLayout.preload = function () {
|
|
679
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconFiveColumnLayoutLazy.preload() : IconFiveColumnLayoutLoadable.preload();
|
|
680
|
+
};
|
|
246
681
|
function importHeading(level) {
|
|
247
682
|
switch (level) {
|
|
248
683
|
case 1:
|
|
@@ -263,87 +698,222 @@ function importHeading(level) {
|
|
|
263
698
|
export var IconHeading = function IconHeading(_ref) {
|
|
264
699
|
var level = _ref.level,
|
|
265
700
|
label = _ref.label;
|
|
266
|
-
var
|
|
267
|
-
|
|
268
|
-
return
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
701
|
+
var loadIconHeading = function loadIconHeading() {
|
|
702
|
+
return importHeading(level).then(function (module) {
|
|
703
|
+
return module.default;
|
|
704
|
+
});
|
|
705
|
+
};
|
|
706
|
+
var IconHeadingLazy = lazy(function () {
|
|
707
|
+
return loadIconHeading();
|
|
708
|
+
});
|
|
709
|
+
IconHeadingLazy.displayName = "lazy(IconHeading".concat(level, ")");
|
|
710
|
+
var IconHeadingLoadable = Loadable({
|
|
711
|
+
loader: loadIconHeading,
|
|
272
712
|
loading: function loading() {
|
|
273
713
|
return null;
|
|
274
714
|
}
|
|
275
715
|
});
|
|
276
|
-
return /*#__PURE__*/React.createElement(
|
|
716
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
717
|
+
fallback: null
|
|
718
|
+
}, /*#__PURE__*/React.createElement(IconHeadingLazy, {
|
|
719
|
+
label: label
|
|
720
|
+
})) : /*#__PURE__*/React.createElement(IconHeadingLoadable, {
|
|
277
721
|
label: label
|
|
278
722
|
});
|
|
279
723
|
};
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
return
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
724
|
+
var loadIconFeedback = function loadIconFeedback() {
|
|
725
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-feedback" */'./feedback').then(function (module) {
|
|
726
|
+
return module.default;
|
|
727
|
+
});
|
|
728
|
+
};
|
|
729
|
+
var IconFeedbackLazy = lazy(function () {
|
|
730
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-feedback" */'./feedback').then(function (module) {
|
|
731
|
+
return module.default;
|
|
732
|
+
});
|
|
733
|
+
});
|
|
734
|
+
IconFeedbackLazy.displayName = 'lazy(IconFeedback)';
|
|
735
|
+
var IconFeedbackLoadable = Loadable({
|
|
736
|
+
loader: loadIconFeedback,
|
|
286
737
|
loading: function loading() {
|
|
287
738
|
return null;
|
|
288
739
|
}
|
|
289
740
|
});
|
|
290
|
-
export var
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
741
|
+
export var IconFeedback = function IconFeedback(props) {
|
|
742
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
743
|
+
fallback: null
|
|
744
|
+
}, /*#__PURE__*/React.createElement(IconFeedbackLazy, props)) :
|
|
745
|
+
/*#__PURE__*/
|
|
746
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
747
|
+
React.createElement(IconFeedbackLoadable, props);
|
|
748
|
+
};
|
|
749
|
+
IconFeedback.preload = function () {
|
|
750
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconFeedbackLazy.preload() : IconFeedbackLoadable.preload();
|
|
751
|
+
};
|
|
752
|
+
var loadIconExpand = function loadIconExpand() {
|
|
753
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-expand" */'./expand').then(function (module) {
|
|
754
|
+
return module.default;
|
|
755
|
+
});
|
|
756
|
+
};
|
|
757
|
+
var IconExpandLazy = lazy(function () {
|
|
758
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-expand" */'./expand').then(function (module) {
|
|
759
|
+
return module.default;
|
|
760
|
+
});
|
|
761
|
+
});
|
|
762
|
+
IconExpandLazy.displayName = 'lazy(IconExpand)';
|
|
763
|
+
var IconExpandLoadable = Loadable({
|
|
764
|
+
loader: loadIconExpand,
|
|
296
765
|
loading: function loading() {
|
|
297
766
|
return null;
|
|
298
767
|
}
|
|
299
768
|
});
|
|
300
|
-
export var
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
769
|
+
export var IconExpand = function IconExpand(props) {
|
|
770
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
771
|
+
fallback: null
|
|
772
|
+
}, /*#__PURE__*/React.createElement(IconExpandLazy, props)) :
|
|
773
|
+
/*#__PURE__*/
|
|
774
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
775
|
+
React.createElement(IconExpandLoadable, props);
|
|
776
|
+
};
|
|
777
|
+
IconExpand.preload = function () {
|
|
778
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconExpandLazy.preload() : IconExpandLoadable.preload();
|
|
779
|
+
};
|
|
780
|
+
var loadIconDatasourceJiraIssue = function loadIconDatasourceJiraIssue() {
|
|
781
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-datasource-jira-issue" */'./datasource-jira-issue').then(function (module) {
|
|
782
|
+
return module.default;
|
|
783
|
+
});
|
|
784
|
+
};
|
|
785
|
+
var IconDatasourceJiraIssueLazy = lazy(function () {
|
|
786
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-datasource-jira-issue" */'./datasource-jira-issue').then(function (module) {
|
|
787
|
+
return module.default;
|
|
788
|
+
});
|
|
789
|
+
});
|
|
790
|
+
IconDatasourceJiraIssueLazy.displayName = 'lazy(IconDatasourceJiraIssue)';
|
|
791
|
+
var IconDatasourceJiraIssueLoadable = Loadable({
|
|
792
|
+
loader: loadIconDatasourceJiraIssue,
|
|
306
793
|
loading: function loading() {
|
|
307
794
|
return null;
|
|
308
795
|
}
|
|
309
796
|
});
|
|
310
|
-
export var
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
797
|
+
export var IconDatasourceJiraIssue = function IconDatasourceJiraIssue(props) {
|
|
798
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
799
|
+
fallback: null
|
|
800
|
+
}, /*#__PURE__*/React.createElement(IconDatasourceJiraIssueLazy, props)) :
|
|
801
|
+
/*#__PURE__*/
|
|
802
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
803
|
+
React.createElement(IconDatasourceJiraIssueLoadable, props);
|
|
804
|
+
};
|
|
805
|
+
IconDatasourceJiraIssue.preload = function () {
|
|
806
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconDatasourceJiraIssueLazy.preload() : IconDatasourceJiraIssueLoadable.preload();
|
|
807
|
+
};
|
|
808
|
+
var loadIconDatasourceAssetsObjects = function loadIconDatasourceAssetsObjects() {
|
|
809
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-datasource-assets-objects" */'./datasource-assets-objects').then(function (module) {
|
|
810
|
+
return module.default;
|
|
811
|
+
});
|
|
812
|
+
};
|
|
813
|
+
var IconDatasourceAssetsObjectsLazy = lazy(function () {
|
|
814
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-datasource-assets-objects" */'./datasource-assets-objects').then(function (module) {
|
|
815
|
+
return module.default;
|
|
816
|
+
});
|
|
817
|
+
});
|
|
818
|
+
IconDatasourceAssetsObjectsLazy.displayName = 'lazy(IconDatasourceAssetsObjects)';
|
|
819
|
+
var IconDatasourceAssetsObjectsLoadable = Loadable({
|
|
820
|
+
loader: loadIconDatasourceAssetsObjects,
|
|
316
821
|
loading: function loading() {
|
|
317
822
|
return null;
|
|
318
823
|
}
|
|
319
824
|
});
|
|
320
|
-
export var
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
825
|
+
export var IconDatasourceAssetsObjects = function IconDatasourceAssetsObjects(props) {
|
|
826
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
827
|
+
fallback: null
|
|
828
|
+
}, /*#__PURE__*/React.createElement(IconDatasourceAssetsObjectsLazy, props)) :
|
|
829
|
+
/*#__PURE__*/
|
|
830
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
831
|
+
React.createElement(IconDatasourceAssetsObjectsLoadable, props);
|
|
832
|
+
};
|
|
833
|
+
IconDatasourceAssetsObjects.preload = function () {
|
|
834
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconDatasourceAssetsObjectsLazy.preload() : IconDatasourceAssetsObjectsLoadable.preload();
|
|
835
|
+
};
|
|
836
|
+
var loadIconDatasourceConfluenceSearch = function loadIconDatasourceConfluenceSearch() {
|
|
837
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-datasource-confluence-search" */'./datasource-confluence-search').then(function (module) {
|
|
838
|
+
return module.default;
|
|
839
|
+
});
|
|
840
|
+
};
|
|
841
|
+
var IconDatasourceConfluenceSearchLazy = lazy(function () {
|
|
842
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-datasource-confluence-search" */'./datasource-confluence-search').then(function (module) {
|
|
843
|
+
return module.default;
|
|
844
|
+
});
|
|
845
|
+
});
|
|
846
|
+
IconDatasourceConfluenceSearchLazy.displayName = 'lazy(IconDatasourceConfluenceSearch)';
|
|
847
|
+
var IconDatasourceConfluenceSearchLoadable = Loadable({
|
|
848
|
+
loader: loadIconDatasourceConfluenceSearch,
|
|
326
849
|
loading: function loading() {
|
|
327
850
|
return null;
|
|
328
851
|
}
|
|
329
852
|
});
|
|
330
|
-
export var
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
853
|
+
export var IconDatasourceConfluenceSearch = function IconDatasourceConfluenceSearch(props) {
|
|
854
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
855
|
+
fallback: null
|
|
856
|
+
}, /*#__PURE__*/React.createElement(IconDatasourceConfluenceSearchLazy, props)) :
|
|
857
|
+
/*#__PURE__*/
|
|
858
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
859
|
+
React.createElement(IconDatasourceConfluenceSearchLoadable, props);
|
|
860
|
+
};
|
|
861
|
+
IconDatasourceConfluenceSearch.preload = function () {
|
|
862
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconDatasourceConfluenceSearchLazy.preload() : IconDatasourceConfluenceSearchLoadable.preload();
|
|
863
|
+
};
|
|
864
|
+
var loadIconLoom = function loadIconLoom() {
|
|
865
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-loom" */'./loom').then(function (module) {
|
|
866
|
+
return module.default;
|
|
867
|
+
});
|
|
868
|
+
};
|
|
869
|
+
var IconLoomLazy = lazy(function () {
|
|
870
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-loom" */'./loom').then(function (module) {
|
|
871
|
+
return module.default;
|
|
872
|
+
});
|
|
873
|
+
});
|
|
874
|
+
IconLoomLazy.displayName = 'lazy(IconLoom)';
|
|
875
|
+
var IconLoomLoadable = Loadable({
|
|
876
|
+
loader: loadIconLoom,
|
|
336
877
|
loading: function loading() {
|
|
337
878
|
return null;
|
|
338
879
|
}
|
|
339
880
|
});
|
|
340
|
-
export var
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
881
|
+
export var IconLoom = function IconLoom(props) {
|
|
882
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
883
|
+
fallback: null
|
|
884
|
+
}, /*#__PURE__*/React.createElement(IconLoomLazy, props)) :
|
|
885
|
+
/*#__PURE__*/
|
|
886
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
887
|
+
React.createElement(IconLoomLoadable, props);
|
|
888
|
+
};
|
|
889
|
+
IconLoom.preload = function () {
|
|
890
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconLoomLazy.preload() : IconLoomLoadable.preload();
|
|
891
|
+
};
|
|
892
|
+
var loadIconSyncBlock = function loadIconSyncBlock() {
|
|
893
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-sync-block" */'./syncBlock').then(function (module) {
|
|
894
|
+
return module.default;
|
|
895
|
+
});
|
|
896
|
+
};
|
|
897
|
+
var IconSyncBlockLazy = lazy(function () {
|
|
898
|
+
return import( /* webpackChunkName: "@atlaskit-internal_editor-icon-sync-block" */'./syncBlock').then(function (module) {
|
|
899
|
+
return module.default;
|
|
900
|
+
});
|
|
901
|
+
});
|
|
902
|
+
IconSyncBlockLazy.displayName = 'lazy(IconSyncBlock)';
|
|
903
|
+
var IconSyncBlockLoadable = Loadable({
|
|
904
|
+
loader: loadIconSyncBlock,
|
|
346
905
|
loading: function loading() {
|
|
347
906
|
return null;
|
|
348
907
|
}
|
|
349
|
-
});
|
|
908
|
+
});
|
|
909
|
+
export var IconSyncBlock = function IconSyncBlock(props) {
|
|
910
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? /*#__PURE__*/React.createElement(LazySuspense, {
|
|
911
|
+
fallback: null
|
|
912
|
+
}, /*#__PURE__*/React.createElement(IconSyncBlockLazy, props)) :
|
|
913
|
+
/*#__PURE__*/
|
|
914
|
+
// eslint-disable-next-line react/jsx-props-no-spreading -- pass icon props to the legacy component
|
|
915
|
+
React.createElement(IconSyncBlockLoadable, props);
|
|
916
|
+
};
|
|
917
|
+
IconSyncBlock.preload = function () {
|
|
918
|
+
return isExperimentEnabled('platform_editor_loosely_lazy_migration') ? IconSyncBlockLazy.preload() : IconSyncBlockLoadable.preload();
|
|
919
|
+
};
|