@atlaskit/smart-card 34.5.0 → 34.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/cjs/common/ui/icons/angle-brackets-icon.js +2 -11
- package/dist/cjs/common/ui/icons/audio-icon.js +2 -11
- package/dist/cjs/common/ui/icons/blog-icon.js +13 -0
- package/dist/cjs/common/ui/icons/chart-bar-icon.js +2 -11
- package/dist/cjs/common/ui/icons/file-icon.js +2 -11
- package/dist/cjs/common/ui/icons/folder-icon.js +2 -11
- package/dist/cjs/common/ui/icons/image-icon.js +2 -11
- package/dist/cjs/common/ui/icons/list-bullet-icon.js +2 -11
- package/dist/cjs/common/ui/icons/page-icon.js +2 -12
- package/dist/cjs/common/ui/icons/types.js +5 -0
- package/dist/cjs/common/ui/icons/utils.js +47 -0
- package/dist/cjs/common/ui/icons/video-icon.js +2 -11
- package/dist/cjs/utils/analytics/analytics.js +1 -1
- package/dist/cjs/utils/index.js +395 -180
- package/dist/cjs/view/BlockCard/views/ErroredView.js +12 -2
- package/dist/cjs/view/BlockCard/views/ForbiddenView.js +12 -1
- package/dist/cjs/view/BlockCard/views/NotFoundView.js +12 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/title-block/errored/index.compiled.css +1 -0
- package/dist/cjs/view/FlexibleCard/components/blocks/title-block/errored/index.js +16 -8
- package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolved/index.compiled.css +2 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolved/index.js +38 -20
- package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolving/TitleBlockResolvingViewOld.js +2 -2
- package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolving/index.compiled.css +2 -1
- package/dist/cjs/view/FlexibleCard/components/blocks/title-block/resolving/index.js +23 -2
- package/dist/cjs/view/FlexibleCard/components/common/atlaskit-icon/index.js +43 -17
- package/dist/cjs/view/FlexibleCard/components/common/image-icon/index.js +28 -8
- package/dist/cjs/view/FlexibleCard/components/common/loading-skeleton/index.compiled.css +0 -2
- package/dist/cjs/view/FlexibleCard/components/common/loading-skeleton/index.js +13 -12
- package/dist/cjs/view/FlexibleCard/components/container/index.compiled.css +5 -2
- package/dist/cjs/view/FlexibleCard/components/container/index.js +1 -1
- package/dist/cjs/view/FlexibleCard/components/elements/icon/index.js +35 -8
- package/dist/cjs/view/FlexibleCard/components/utils.js +23 -2
- package/dist/cjs/view/HoverCard/components/views/resolving/index.js +29 -14
- package/dist/cjs/view/LinkUrl/index.js +1 -1
- package/dist/es2019/common/ui/icons/angle-brackets-icon.js +2 -11
- package/dist/es2019/common/ui/icons/audio-icon.js +2 -11
- package/dist/es2019/common/ui/icons/blog-icon.js +6 -0
- package/dist/es2019/common/ui/icons/chart-bar-icon.js +2 -11
- package/dist/es2019/common/ui/icons/file-icon.js +2 -11
- package/dist/es2019/common/ui/icons/folder-icon.js +2 -11
- package/dist/es2019/common/ui/icons/image-icon.js +2 -11
- package/dist/es2019/common/ui/icons/list-bullet-icon.js +2 -11
- package/dist/es2019/common/ui/icons/page-icon.js +2 -12
- package/dist/es2019/common/ui/icons/types.js +1 -0
- package/dist/es2019/common/ui/icons/utils.js +39 -0
- package/dist/es2019/common/ui/icons/video-icon.js +2 -11
- package/dist/es2019/utils/analytics/analytics.js +1 -1
- package/dist/es2019/utils/index.js +166 -53
- package/dist/es2019/view/BlockCard/views/ErroredView.js +12 -2
- package/dist/es2019/view/BlockCard/views/ForbiddenView.js +13 -2
- package/dist/es2019/view/BlockCard/views/NotFoundView.js +13 -2
- package/dist/es2019/view/FlexibleCard/components/blocks/title-block/errored/index.compiled.css +1 -0
- package/dist/es2019/view/FlexibleCard/components/blocks/title-block/errored/index.js +8 -3
- package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolved/index.compiled.css +2 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolved/index.js +24 -4
- package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolving/TitleBlockResolvingViewOld.js +2 -2
- package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolving/index.compiled.css +2 -1
- package/dist/es2019/view/FlexibleCard/components/blocks/title-block/resolving/index.js +23 -2
- package/dist/es2019/view/FlexibleCard/components/common/atlaskit-icon/index.js +46 -21
- package/dist/es2019/view/FlexibleCard/components/common/image-icon/index.js +28 -8
- package/dist/es2019/view/FlexibleCard/components/common/loading-skeleton/index.compiled.css +0 -2
- package/dist/es2019/view/FlexibleCard/components/common/loading-skeleton/index.js +14 -12
- package/dist/es2019/view/FlexibleCard/components/container/index.compiled.css +5 -2
- package/dist/es2019/view/FlexibleCard/components/container/index.js +1 -1
- package/dist/es2019/view/FlexibleCard/components/elements/icon/index.js +35 -10
- package/dist/es2019/view/FlexibleCard/components/utils.js +22 -1
- package/dist/es2019/view/HoverCard/components/views/resolving/index.js +21 -6
- package/dist/es2019/view/LinkUrl/index.js +1 -1
- package/dist/esm/common/ui/icons/angle-brackets-icon.js +2 -11
- package/dist/esm/common/ui/icons/audio-icon.js +2 -11
- package/dist/esm/common/ui/icons/blog-icon.js +6 -0
- package/dist/esm/common/ui/icons/chart-bar-icon.js +2 -11
- package/dist/esm/common/ui/icons/file-icon.js +2 -11
- package/dist/esm/common/ui/icons/folder-icon.js +2 -11
- package/dist/esm/common/ui/icons/image-icon.js +2 -11
- package/dist/esm/common/ui/icons/list-bullet-icon.js +2 -11
- package/dist/esm/common/ui/icons/page-icon.js +2 -12
- package/dist/esm/common/ui/icons/types.js +1 -0
- package/dist/esm/common/ui/icons/utils.js +40 -0
- package/dist/esm/common/ui/icons/video-icon.js +2 -11
- package/dist/esm/utils/analytics/analytics.js +1 -1
- package/dist/esm/utils/index.js +261 -96
- package/dist/esm/view/BlockCard/views/ErroredView.js +12 -2
- package/dist/esm/view/BlockCard/views/ForbiddenView.js +13 -2
- package/dist/esm/view/BlockCard/views/NotFoundView.js +13 -2
- package/dist/esm/view/FlexibleCard/components/blocks/title-block/errored/index.compiled.css +1 -0
- package/dist/esm/view/FlexibleCard/components/blocks/title-block/errored/index.js +8 -3
- package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolved/index.compiled.css +2 -1
- package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolved/index.js +37 -19
- package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolving/TitleBlockResolvingViewOld.js +2 -2
- package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolving/index.compiled.css +2 -1
- package/dist/esm/view/FlexibleCard/components/blocks/title-block/resolving/index.js +23 -2
- package/dist/esm/view/FlexibleCard/components/common/atlaskit-icon/index.js +47 -21
- package/dist/esm/view/FlexibleCard/components/common/image-icon/index.js +28 -8
- package/dist/esm/view/FlexibleCard/components/common/loading-skeleton/index.compiled.css +0 -2
- package/dist/esm/view/FlexibleCard/components/common/loading-skeleton/index.js +13 -11
- package/dist/esm/view/FlexibleCard/components/container/index.compiled.css +5 -2
- package/dist/esm/view/FlexibleCard/components/container/index.js +1 -1
- package/dist/esm/view/FlexibleCard/components/elements/icon/index.js +35 -8
- package/dist/esm/view/FlexibleCard/components/utils.js +22 -1
- package/dist/esm/view/HoverCard/components/views/resolving/index.js +21 -6
- package/dist/esm/view/LinkUrl/index.js +1 -1
- package/dist/types/common/ui/icons/angle-brackets-icon.d.ts +2 -6
- package/dist/types/common/ui/icons/audio-icon.d.ts +2 -6
- package/dist/types/common/ui/icons/blog-icon.d.ts +8 -0
- package/dist/types/common/ui/icons/chart-bar-icon.d.ts +2 -6
- package/dist/types/common/ui/icons/file-icon.d.ts +2 -6
- package/dist/types/common/ui/icons/folder-icon.d.ts +2 -6
- package/dist/types/common/ui/icons/image-icon.d.ts +2 -6
- package/dist/types/common/ui/icons/list-bullet-icon.d.ts +2 -6
- package/dist/types/common/ui/icons/page-icon.d.ts +2 -6
- package/dist/types/common/ui/icons/types.d.ts +6 -0
- package/dist/types/common/ui/icons/utils.d.ts +15 -0
- package/dist/types/common/ui/icons/video-icon.d.ts +2 -6
- package/dist/types/utils/index.d.ts +6 -2
- package/dist/types/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +3 -1
- package/dist/types/view/FlexibleCard/components/common/atlaskit-icon/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +2 -1
- package/dist/types/view/FlexibleCard/components/common/image-icon/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/common/image-icon/types.d.ts +2 -0
- package/dist/types/view/FlexibleCard/components/common/loading-skeleton/LoadingSkeletonOld.d.ts +2 -2
- package/dist/types/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +4 -3
- package/dist/types/view/FlexibleCard/components/common/loading-skeleton/types.d.ts +17 -1
- package/dist/types/view/FlexibleCard/components/utils.d.ts +2 -0
- package/dist/types/view/HoverCard/components/views/resolving/index.d.ts +0 -4
- package/dist/types-ts4.5/common/ui/icons/angle-brackets-icon.d.ts +2 -6
- package/dist/types-ts4.5/common/ui/icons/audio-icon.d.ts +2 -6
- package/dist/types-ts4.5/common/ui/icons/blog-icon.d.ts +8 -0
- package/dist/types-ts4.5/common/ui/icons/chart-bar-icon.d.ts +2 -6
- package/dist/types-ts4.5/common/ui/icons/file-icon.d.ts +2 -6
- package/dist/types-ts4.5/common/ui/icons/folder-icon.d.ts +2 -6
- package/dist/types-ts4.5/common/ui/icons/image-icon.d.ts +2 -6
- package/dist/types-ts4.5/common/ui/icons/list-bullet-icon.d.ts +2 -6
- package/dist/types-ts4.5/common/ui/icons/page-icon.d.ts +2 -6
- package/dist/types-ts4.5/common/ui/icons/types.d.ts +6 -0
- package/dist/types-ts4.5/common/ui/icons/utils.d.ts +15 -0
- package/dist/types-ts4.5/common/ui/icons/video-icon.d.ts +2 -6
- package/dist/types-ts4.5/utils/index.d.ts +6 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/title-block/resolved/index.d.ts +3 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/common/atlaskit-icon/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/common/atlaskit-icon/types.d.ts +2 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/common/image-icon/types.d.ts +2 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/LoadingSkeletonOld.d.ts +2 -2
- package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/index.d.ts +4 -3
- package/dist/types-ts4.5/view/FlexibleCard/components/common/loading-skeleton/types.d.ts +17 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/utils.d.ts +2 -0
- package/dist/types-ts4.5/view/HoverCard/components/views/resolving/index.d.ts +0 -4
- package/package.json +14 -2
package/dist/cjs/utils/index.js
CHANGED
|
@@ -5,7 +5,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.sleep = exports.openUrl = exports.isSpecialKey = exports.isSpecialEvent = exports.isSpecialClick = exports.isIntersectionObserverSupported = exports.isIframe = exports.importWithRetry = exports.handleOnClick = exports.getPreviewUrlWithTheme = exports.getLazyIcons = exports.getLabelForFileType = exports.getIframeSandboxAttribute = exports.getIconForFileType = exports.downloadUrl = void 0;
|
|
8
|
+
exports.sleep = exports.openUrl = exports.isSpecialKey = exports.isSpecialEvent = exports.isSpecialClick = exports.isIntersectionObserverSupported = exports.isIframe = exports.isIconSizeLarge = exports.importWithRetry = exports.handleOnClick = exports.getPreviewUrlWithTheme = exports.getLazyIcons = exports.getLabelForFileType = exports.getIframeSandboxAttribute = exports.getIconForFileType = exports.downloadUrl = void 0;
|
|
9
9
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
10
10
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
11
11
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
@@ -334,195 +334,407 @@ var typeToIcon = {
|
|
|
334
334
|
});
|
|
335
335
|
}]
|
|
336
336
|
};
|
|
337
|
+
|
|
338
|
+
// prettier-ignore
|
|
337
339
|
var getLazyIcons = exports.getLazyIcons = function getLazyIcons() {
|
|
338
340
|
var _ref3;
|
|
339
|
-
return _ref3 = {}, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ref3, _constants.IconType.Document,
|
|
340
|
-
|
|
341
|
-
return
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
}
|
|
351
|
-
}), _constants.IconType.
|
|
352
|
-
|
|
353
|
-
return
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
}
|
|
363
|
-
}), _constants.IconType.
|
|
364
|
-
|
|
365
|
-
return
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
}
|
|
375
|
-
}), _constants.IconType.
|
|
376
|
-
|
|
377
|
-
return
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
}
|
|
387
|
-
}), _constants.IconType.
|
|
388
|
-
|
|
389
|
-
return
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
}
|
|
399
|
-
}),
|
|
400
|
-
|
|
401
|
-
return
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
}
|
|
411
|
-
}), _constants.IconType.
|
|
412
|
-
|
|
413
|
-
return
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
}
|
|
423
|
-
}), _constants.IconType.
|
|
424
|
-
|
|
425
|
-
return
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
}
|
|
451
|
-
}), _constants.IconType.
|
|
452
|
-
|
|
453
|
-
return
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
return
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
}
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
}
|
|
495
|
-
}), _constants.IconType.
|
|
496
|
-
|
|
497
|
-
return
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
}
|
|
512
|
-
|
|
513
|
-
return {
|
|
514
|
-
|
|
515
|
-
};
|
|
516
|
-
}
|
|
341
|
+
return _ref3 = {}, (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ref3, _constants.IconType.Document, {
|
|
342
|
+
default: function _default() {
|
|
343
|
+
return Promise.resolve().then(function () {
|
|
344
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_page-icon" */'../common/ui/icons/page-icon'));
|
|
345
|
+
});
|
|
346
|
+
}
|
|
347
|
+
}), _constants.IconType.Blog, {
|
|
348
|
+
default: function _default() {
|
|
349
|
+
return Promise.resolve().then(function () {
|
|
350
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphBlock" */'../common/ui/icons/blog-icon'));
|
|
351
|
+
});
|
|
352
|
+
}
|
|
353
|
+
}), _constants.IconType.Audio, {
|
|
354
|
+
default: function _default() {
|
|
355
|
+
return Promise.resolve().then(function () {
|
|
356
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_audio-icon" */'../common/ui/icons/audio-icon'));
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
|
+
}), _constants.IconType.Code, {
|
|
360
|
+
default: function _default() {
|
|
361
|
+
return Promise.resolve().then(function () {
|
|
362
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_angle-brackets-icon" */'../common/ui/icons/angle-brackets-icon'));
|
|
363
|
+
});
|
|
364
|
+
}
|
|
365
|
+
}), _constants.IconType.File, {
|
|
366
|
+
default: function _default() {
|
|
367
|
+
return Promise.resolve().then(function () {
|
|
368
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_file-icon" */'../common/ui/icons/file-icon'));
|
|
369
|
+
});
|
|
370
|
+
}
|
|
371
|
+
}), _constants.IconType.Folder, {
|
|
372
|
+
default: function _default() {
|
|
373
|
+
return Promise.resolve().then(function () {
|
|
374
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_folder-icon" */'../common/ui/icons/folder-icon'));
|
|
375
|
+
});
|
|
376
|
+
}
|
|
377
|
+
}), _constants.IconType.Generic, {
|
|
378
|
+
default: function _default() {
|
|
379
|
+
return Promise.resolve().then(function () {
|
|
380
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_file-icon" */'../common/ui/icons/file-icon'));
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
}), _constants.IconType.Image, {
|
|
384
|
+
default: function _default() {
|
|
385
|
+
return Promise.resolve().then(function () {
|
|
386
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_image-icon" */'../common/ui/icons/image-icon'));
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
}), _constants.IconType.Presentation, {
|
|
390
|
+
default: function _default() {
|
|
391
|
+
return Promise.resolve().then(function () {
|
|
392
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_chart-bar-icon" */'../common/ui/icons/chart-bar-icon'));
|
|
393
|
+
});
|
|
394
|
+
}
|
|
395
|
+
}), _constants.IconType.Spreadsheet, {
|
|
396
|
+
default: function _default() {
|
|
397
|
+
return Promise.resolve().then(function () {
|
|
398
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_list-bullet-icon" */'../common/ui/icons/list-bullet-icon'));
|
|
399
|
+
});
|
|
400
|
+
}
|
|
401
|
+
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ref3, _constants.IconType.Video, {
|
|
402
|
+
default: function _default() {
|
|
403
|
+
return Promise.resolve().then(function () {
|
|
404
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_video-icon" */'../common/ui/icons/video-icon'));
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
}), _constants.IconType.Project, {
|
|
408
|
+
default: function _default() {
|
|
409
|
+
return Promise.resolve().then(function () {
|
|
410
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphProject" */'@atlaskit/icon/core/migration/people-group'));
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
}), _constants.IconType.Template, {
|
|
414
|
+
default: function _default() {
|
|
415
|
+
return Promise.resolve().then(function () {
|
|
416
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphTemplate" */'@atlaskit/icon/core/migration/file--document-filled'));
|
|
417
|
+
});
|
|
418
|
+
}
|
|
419
|
+
}), _constants.IconType.Forbidden, {
|
|
420
|
+
default: function _default() {
|
|
421
|
+
return Promise.resolve().then(function () {
|
|
422
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphForbidden" */'@atlaskit/icon/core/migration/lock-locked--lock-filled'));
|
|
423
|
+
});
|
|
424
|
+
}
|
|
425
|
+
}), _constants.IconType.Default, {
|
|
426
|
+
default: function _default() {
|
|
427
|
+
return Promise.resolve().then(function () {
|
|
428
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphDefault" */'@atlaskit/icon/core/migration/link'));
|
|
429
|
+
});
|
|
430
|
+
}
|
|
431
|
+
}), _constants.IconType.Archive, {
|
|
432
|
+
default: function _default() {
|
|
433
|
+
return Promise.resolve().then(function () {
|
|
434
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphArchive" */'@atlaskit/icon-file-type/glyph/archive/16'));
|
|
435
|
+
});
|
|
436
|
+
},
|
|
437
|
+
large: function large() {
|
|
438
|
+
return Promise.resolve().then(function () {
|
|
439
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphArchive" */'@atlaskit/icon-file-type/glyph/archive/24'));
|
|
440
|
+
});
|
|
441
|
+
}
|
|
442
|
+
}), _constants.IconType.Executable, {
|
|
443
|
+
default: function _default() {
|
|
444
|
+
return Promise.resolve().then(function () {
|
|
445
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphExecutable" */'@atlaskit/icon-file-type/glyph/executable/16'));
|
|
446
|
+
});
|
|
447
|
+
},
|
|
448
|
+
large: function large() {
|
|
449
|
+
return Promise.resolve().then(function () {
|
|
450
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphExecutable" */'@atlaskit/icon-file-type/glyph/executable/24'));
|
|
451
|
+
});
|
|
452
|
+
}
|
|
453
|
+
}), _constants.IconType.GIF, {
|
|
454
|
+
default: function _default() {
|
|
455
|
+
return Promise.resolve().then(function () {
|
|
456
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphGIF" */'@atlaskit/icon-file-type/glyph/gif/16'));
|
|
457
|
+
});
|
|
458
|
+
},
|
|
459
|
+
large: function large() {
|
|
460
|
+
return Promise.resolve().then(function () {
|
|
461
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphGIF" */'@atlaskit/icon-file-type/glyph/gif/24'));
|
|
462
|
+
});
|
|
463
|
+
}
|
|
464
|
+
}), _constants.IconType.GoogleDocs, {
|
|
465
|
+
default: function _default() {
|
|
466
|
+
return Promise.resolve().then(function () {
|
|
467
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphGoogleDocs" */'@atlaskit/icon-file-type/glyph/google-doc/16'));
|
|
468
|
+
});
|
|
469
|
+
},
|
|
470
|
+
large: function large() {
|
|
471
|
+
return Promise.resolve().then(function () {
|
|
472
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphGoogleDocs" */'@atlaskit/icon-file-type/glyph/google-doc/24'));
|
|
473
|
+
});
|
|
474
|
+
}
|
|
475
|
+
}), _constants.IconType.GoogleForms, {
|
|
476
|
+
default: function _default() {
|
|
477
|
+
return Promise.resolve().then(function () {
|
|
478
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphGoogleForms" */'@atlaskit/icon-file-type/glyph/google-form/16'));
|
|
479
|
+
});
|
|
480
|
+
},
|
|
481
|
+
large: function large() {
|
|
482
|
+
return Promise.resolve().then(function () {
|
|
483
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphGoogleForms" */'@atlaskit/icon-file-type/glyph/google-form/24'));
|
|
484
|
+
});
|
|
485
|
+
}
|
|
486
|
+
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ref3, _constants.IconType.GoogleSheets, {
|
|
487
|
+
default: function _default() {
|
|
488
|
+
return Promise.resolve().then(function () {
|
|
489
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphGoogleSheets" */'@atlaskit/icon-file-type/glyph/google-sheet/16'));
|
|
490
|
+
});
|
|
491
|
+
},
|
|
492
|
+
large: function large() {
|
|
493
|
+
return Promise.resolve().then(function () {
|
|
494
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphGoogleSheets" */'@atlaskit/icon-file-type/glyph/google-sheet/24'));
|
|
495
|
+
});
|
|
496
|
+
}
|
|
497
|
+
}), _constants.IconType.GoogleSlides, {
|
|
498
|
+
default: function _default() {
|
|
499
|
+
return Promise.resolve().then(function () {
|
|
500
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphGoogleSlides" */'@atlaskit/icon-file-type/glyph/google-slide/16'));
|
|
501
|
+
});
|
|
502
|
+
},
|
|
503
|
+
large: function large() {
|
|
504
|
+
return Promise.resolve().then(function () {
|
|
505
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphGoogleSlides" */'@atlaskit/icon-file-type/glyph/google-slide/24'));
|
|
506
|
+
});
|
|
507
|
+
}
|
|
508
|
+
}), _constants.IconType.MSExcel, {
|
|
509
|
+
default: function _default() {
|
|
510
|
+
return Promise.resolve().then(function () {
|
|
511
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphMSExcel" */'@atlaskit/icon-file-type/glyph/excel-spreadsheet/16'));
|
|
512
|
+
});
|
|
513
|
+
},
|
|
514
|
+
large: function large() {
|
|
515
|
+
return Promise.resolve().then(function () {
|
|
516
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphMSExcel" */'@atlaskit/icon-file-type/glyph/excel-spreadsheet/24'));
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
}), _constants.IconType.MSPowerpoint, {
|
|
520
|
+
default: function _default() {
|
|
521
|
+
return Promise.resolve().then(function () {
|
|
522
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphMSPowerpoint" */'@atlaskit/icon-file-type/glyph/powerpoint-presentation/16'));
|
|
523
|
+
});
|
|
524
|
+
},
|
|
525
|
+
large: function large() {
|
|
526
|
+
return Promise.resolve().then(function () {
|
|
527
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphMSPowerpoint" */'@atlaskit/icon-file-type/glyph/powerpoint-presentation/24'));
|
|
528
|
+
});
|
|
529
|
+
}
|
|
530
|
+
}), _constants.IconType.MSWord, {
|
|
531
|
+
default: function _default() {
|
|
532
|
+
return Promise.resolve().then(function () {
|
|
533
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphMSWord" */'@atlaskit/icon-file-type/glyph/word-document/16'));
|
|
534
|
+
});
|
|
535
|
+
},
|
|
536
|
+
large: function large() {
|
|
537
|
+
return Promise.resolve().then(function () {
|
|
538
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphMSWord" */'@atlaskit/icon-file-type/glyph/word-document/24'));
|
|
539
|
+
});
|
|
540
|
+
}
|
|
541
|
+
}), _constants.IconType.PDF, {
|
|
542
|
+
default: function _default() {
|
|
543
|
+
return Promise.resolve().then(function () {
|
|
544
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphPDF" */'@atlaskit/icon-file-type/glyph/pdf-document/16'));
|
|
545
|
+
});
|
|
546
|
+
},
|
|
547
|
+
large: function large() {
|
|
548
|
+
return Promise.resolve().then(function () {
|
|
549
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphPDF" */'@atlaskit/icon-file-type/glyph/pdf-document/24'));
|
|
550
|
+
});
|
|
551
|
+
}
|
|
552
|
+
}), _constants.IconType.Sketch, {
|
|
553
|
+
default: function _default() {
|
|
554
|
+
return Promise.resolve().then(function () {
|
|
555
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphSketch" */'@atlaskit/icon-file-type/glyph/sketch/16'));
|
|
556
|
+
});
|
|
557
|
+
},
|
|
558
|
+
large: function large() {
|
|
559
|
+
return Promise.resolve().then(function () {
|
|
560
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphSketch" */'@atlaskit/icon-file-type/glyph/sketch/24'));
|
|
561
|
+
});
|
|
562
|
+
}
|
|
563
|
+
}), _constants.IconType.Branch, {
|
|
564
|
+
default: function _default() {
|
|
565
|
+
return Promise.resolve().then(function () {
|
|
566
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphBranch" */'@atlaskit/icon-object/glyph/branch/16'));
|
|
567
|
+
});
|
|
568
|
+
},
|
|
569
|
+
large: function large() {
|
|
570
|
+
return Promise.resolve().then(function () {
|
|
571
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphBranch" */'@atlaskit/icon-object/glyph/branch/24'));
|
|
572
|
+
});
|
|
573
|
+
}
|
|
574
|
+
}), _constants.IconType.Commit, {
|
|
575
|
+
default: function _default() {
|
|
576
|
+
return Promise.resolve().then(function () {
|
|
577
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphCommit" */'@atlaskit/icon-object/glyph/commit/16'));
|
|
578
|
+
});
|
|
579
|
+
},
|
|
580
|
+
large: function large() {
|
|
581
|
+
return Promise.resolve().then(function () {
|
|
582
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphCommit" */'@atlaskit/icon-object/glyph/commit/24'));
|
|
583
|
+
});
|
|
584
|
+
}
|
|
585
|
+
}), _constants.IconType.PullRequest, {
|
|
586
|
+
default: function _default() {
|
|
587
|
+
return Promise.resolve().then(function () {
|
|
588
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphPullRequest" */'@atlaskit/icon-object/glyph/pull-request/16'));
|
|
589
|
+
});
|
|
590
|
+
},
|
|
591
|
+
large: function large() {
|
|
592
|
+
return Promise.resolve().then(function () {
|
|
593
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphPullRequest" */'@atlaskit/icon-object/glyph/pull-request/24'));
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
}), (0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)(_ref3, _constants.IconType.Repo, {
|
|
597
|
+
default: function _default() {
|
|
598
|
+
return Promise.resolve().then(function () {
|
|
599
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphRepo" */'@atlaskit/icon-object/glyph/code/16'));
|
|
600
|
+
});
|
|
601
|
+
},
|
|
602
|
+
large: function large() {
|
|
603
|
+
return Promise.resolve().then(function () {
|
|
604
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphRepo" */'@atlaskit/icon-object/glyph/code/24'));
|
|
605
|
+
});
|
|
606
|
+
}
|
|
607
|
+
}), _constants.IconType.Bug, {
|
|
608
|
+
default: function _default() {
|
|
609
|
+
return Promise.resolve().then(function () {
|
|
610
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphBug" */'@atlaskit/icon-object/glyph/bug/16'));
|
|
611
|
+
});
|
|
612
|
+
},
|
|
613
|
+
large: function large() {
|
|
614
|
+
return Promise.resolve().then(function () {
|
|
615
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphBug" */'@atlaskit/icon-object/glyph/bug/24'));
|
|
616
|
+
});
|
|
617
|
+
}
|
|
618
|
+
}), _constants.IconType.Change, {
|
|
619
|
+
default: function _default() {
|
|
620
|
+
return Promise.resolve().then(function () {
|
|
621
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphChange" */'@atlaskit/icon-object/glyph/changes/16'));
|
|
622
|
+
});
|
|
623
|
+
},
|
|
624
|
+
large: function large() {
|
|
625
|
+
return Promise.resolve().then(function () {
|
|
626
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphChange" */'@atlaskit/icon-object/glyph/changes/24'));
|
|
627
|
+
});
|
|
628
|
+
}
|
|
629
|
+
}), _constants.IconType.Epic, {
|
|
630
|
+
default: function _default() {
|
|
631
|
+
return Promise.resolve().then(function () {
|
|
632
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphEpic" */'@atlaskit/icon-object/glyph/epic/16'));
|
|
633
|
+
});
|
|
634
|
+
},
|
|
635
|
+
large: function large() {
|
|
636
|
+
return Promise.resolve().then(function () {
|
|
637
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphEpic" */'@atlaskit/icon-object/glyph/epic/24'));
|
|
638
|
+
});
|
|
639
|
+
}
|
|
640
|
+
}), _constants.IconType.Incident, {
|
|
641
|
+
default: function _default() {
|
|
642
|
+
return Promise.resolve().then(function () {
|
|
643
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphIncident" */'@atlaskit/icon-object/glyph/incident/16'));
|
|
644
|
+
});
|
|
645
|
+
},
|
|
646
|
+
large: function large() {
|
|
647
|
+
return Promise.resolve().then(function () {
|
|
648
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphIncident" */'@atlaskit/icon-object/glyph/incident/24'));
|
|
649
|
+
});
|
|
650
|
+
}
|
|
651
|
+
}), _constants.IconType.Problem, {
|
|
652
|
+
default: function _default() {
|
|
653
|
+
return Promise.resolve().then(function () {
|
|
654
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphProblem" */'@atlaskit/icon-object/glyph/problem/16'));
|
|
655
|
+
});
|
|
656
|
+
},
|
|
657
|
+
large: function large() {
|
|
658
|
+
return Promise.resolve().then(function () {
|
|
659
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphProblem" */'@atlaskit/icon-object/glyph/problem/24'));
|
|
660
|
+
});
|
|
661
|
+
}
|
|
662
|
+
}), _constants.IconType.ServiceRequest, {
|
|
663
|
+
default: function _default() {
|
|
664
|
+
return Promise.resolve().then(function () {
|
|
665
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphServiceRequest" */'@atlaskit/icon-object/glyph/issue/16'));
|
|
666
|
+
});
|
|
667
|
+
},
|
|
668
|
+
large: function large() {
|
|
669
|
+
return Promise.resolve().then(function () {
|
|
670
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphServiceRequest" */'@atlaskit/icon-object/glyph/issue/24'));
|
|
671
|
+
});
|
|
672
|
+
}
|
|
673
|
+
}), _constants.IconType.Story, {
|
|
674
|
+
default: function _default() {
|
|
675
|
+
return Promise.resolve().then(function () {
|
|
676
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphStory" */'@atlaskit/icon-object/glyph/story/16'));
|
|
677
|
+
});
|
|
678
|
+
},
|
|
679
|
+
large: function large() {
|
|
680
|
+
return Promise.resolve().then(function () {
|
|
681
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphStory" */'@atlaskit/icon-object/glyph/story/24'));
|
|
682
|
+
});
|
|
683
|
+
}
|
|
684
|
+
}), _constants.IconType.SubTask, {
|
|
685
|
+
default: function _default() {
|
|
686
|
+
return Promise.resolve().then(function () {
|
|
687
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphSubTask" */'@atlaskit/icon-object/glyph/subtask/16'));
|
|
688
|
+
});
|
|
689
|
+
},
|
|
690
|
+
large: function large() {
|
|
691
|
+
return Promise.resolve().then(function () {
|
|
692
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphSubTask" */'@atlaskit/icon-object/glyph/subtask/24'));
|
|
693
|
+
});
|
|
694
|
+
}
|
|
695
|
+
}), _constants.IconType.Task, {
|
|
696
|
+
default: function _default() {
|
|
697
|
+
return Promise.resolve().then(function () {
|
|
698
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphTask" */'@atlaskit/icon-object/glyph/task/16'));
|
|
699
|
+
});
|
|
700
|
+
},
|
|
701
|
+
large: function large() {
|
|
702
|
+
return Promise.resolve().then(function () {
|
|
703
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphTask" */'@atlaskit/icon-object/glyph/task/24'));
|
|
704
|
+
});
|
|
705
|
+
}
|
|
706
|
+
}), (0, _defineProperty2.default)((0, _defineProperty2.default)(_ref3, _constants.IconType.Confluence, {
|
|
707
|
+
default: function _default() {
|
|
708
|
+
return Promise.resolve().then(function () {
|
|
709
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphConfluence" */'@atlaskit/logo/confluence-icon'));
|
|
710
|
+
}).then(function (_ref) {
|
|
711
|
+
var ConfluenceIcon = _ref.ConfluenceIcon;
|
|
712
|
+
return {
|
|
713
|
+
default: ConfluenceIcon
|
|
714
|
+
};
|
|
715
|
+
});
|
|
716
|
+
}
|
|
717
|
+
}), _constants.IconType.Jira, {
|
|
718
|
+
default: function _default() {
|
|
719
|
+
return Promise.resolve().then(function () {
|
|
720
|
+
return _interopRequireWildcard(require( /* webpackChunkName: "@atlaskit-internal_glyphJira" */'@atlaskit/logo/jira-icon'));
|
|
721
|
+
}).then(function (_ref2) {
|
|
722
|
+
var JiraIcon = _ref2.JiraIcon;
|
|
723
|
+
return {
|
|
724
|
+
default: JiraIcon
|
|
725
|
+
};
|
|
726
|
+
});
|
|
727
|
+
}
|
|
517
728
|
});
|
|
518
729
|
};
|
|
519
730
|
var getTypeToIconMap = function getTypeToIconMap(fileFormat) {
|
|
731
|
+
var _lazyIcons$iconDescri;
|
|
520
732
|
var iconDescriptor = (0, _extractFileFormatIcon.default)(fileFormat);
|
|
521
733
|
if (!(iconDescriptor !== null && iconDescriptor !== void 0 && iconDescriptor.icon) || !iconDescriptor.label) {
|
|
522
734
|
return null;
|
|
523
735
|
}
|
|
524
736
|
var lazyIcons = getLazyIcons();
|
|
525
|
-
return [iconDescriptor.label, lazyIcons[iconDescriptor.icon]];
|
|
737
|
+
return [iconDescriptor.label, (_lazyIcons$iconDescri = lazyIcons[iconDescriptor.icon]) === null || _lazyIcons$iconDescri === void 0 ? void 0 : _lazyIcons$iconDescri.default];
|
|
526
738
|
};
|
|
527
739
|
var getIframeSandboxAttribute = exports.getIframeSandboxAttribute = function getIframeSandboxAttribute(isTrusted) {
|
|
528
740
|
if (isTrusted) {
|
|
@@ -660,4 +872,7 @@ var getPreviewUrlWithTheme = exports.getPreviewUrlWithTheme = function getPrevie
|
|
|
660
872
|
} catch (_unused) {
|
|
661
873
|
return previewUrl;
|
|
662
874
|
}
|
|
875
|
+
};
|
|
876
|
+
var isIconSizeLarge = exports.isIconSizeLarge = function isIconSizeLarge(size) {
|
|
877
|
+
return size && [_constants.SmartLinkSize.Large, _constants.SmartLinkSize.XLarge].includes(size);
|
|
663
878
|
};
|