@zohodesk/dot 1.0.0-temp-187.15 → 1.0.0-temp-200.5
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/.cli/propValidation_report.html +1 -1
- package/es/Attachment/Attachment.module.css +7 -3
- package/es/AttachmentViewer/Attachment.js +208 -3
- package/es/AttachmentViewer/AttachmentViewer.js +81 -24
- package/es/AttachmentViewer/AttachmentViewer.module.css +55 -9
- package/es/AttachmentViewer/props/propTypes.js +3 -1
- package/es/AttachmentViewer/utils.js +36 -2
- package/es/Onboarding/Onboarding.js +1 -1
- package/es/VideoLookup/VideoLookup.js +1 -1
- package/es/form/fields/Fields.module.css +0 -4
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +4 -8
- package/es/form/fields/TagsMultiSelect/props/propTypes.js +1 -2
- package/es/list/DepartmentDropDown/DepartmentDropDown.js +2 -7
- package/es/list/DepartmentDropDown/props/defaultProps.js +1 -2
- package/es/list/DepartmentDropDown/props/propTypes.js +0 -3
- package/es/list/status/StatusDropdown/StatusDropdown.js +2 -7
- package/es/list/status/StatusDropdown/props/defaultProps.js +1 -2
- package/es/list/status/StatusDropdown/props/propTypes.js +1 -4
- package/es/list/status/StatusListItem/StatusListItem.module.css +6 -5
- package/es/utils/General.js +23 -1
- package/lib/Attachment/Attachment.module.css +7 -3
- package/lib/AttachmentViewer/Attachment.js +226 -3
- package/lib/AttachmentViewer/AttachmentViewer.js +82 -21
- package/lib/AttachmentViewer/AttachmentViewer.module.css +55 -9
- package/lib/AttachmentViewer/props/propTypes.js +3 -1
- package/lib/AttachmentViewer/utils.js +47 -1
- package/lib/Onboarding/Onboarding.js +2 -2
- package/lib/VideoLookup/VideoLookup.js +2 -2
- package/lib/form/fields/Fields.module.css +0 -4
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +5 -10
- package/lib/form/fields/TagsMultiSelect/props/propTypes.js +1 -2
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +3 -8
- package/lib/list/DepartmentDropDown/props/defaultProps.js +1 -2
- package/lib/list/DepartmentDropDown/props/propTypes.js +0 -2
- package/lib/list/status/StatusDropdown/StatusDropdown.js +2 -6
- package/lib/list/status/StatusDropdown/props/defaultProps.js +1 -2
- package/lib/list/status/StatusDropdown/props/propTypes.js +1 -3
- package/lib/list/status/StatusListItem/StatusListItem.module.css +6 -5
- package/lib/utils/General.js +25 -1
- package/package.json +2 -2
- package/result.json +1 -1
- package/unittest/index.html +2 -14
- package/es/common/dot_common.module.css +0 -4
- package/lib/common/dot_common.module.css +0 -4
- /package/es/Onboarding/css/{CardOnboarding.module.css → Onboarding.module.css} +0 -0
- /package/es/VideoLookup/css/{VideoLookupStyles.module.css → VideoLookup.module.css} +0 -0
- /package/lib/Onboarding/css/{CardOnboarding.module.css → Onboarding.module.css} +0 -0
- /package/lib/VideoLookup/css/{VideoLookupStyles.module.css → VideoLookup.module.css} +0 -0
|
@@ -160,14 +160,12 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
160
160
|
let {
|
|
161
161
|
tagCustomClass = '',
|
|
162
162
|
listItemClass = '',
|
|
163
|
-
textBoxIconWrapperClass = ''
|
|
164
|
-
dropBoxClass = ''
|
|
163
|
+
textBoxIconWrapperClass = ''
|
|
165
164
|
} = customClass;
|
|
166
165
|
const {
|
|
167
166
|
TextBoxIconProps = {},
|
|
168
167
|
TagWrapperProps = {},
|
|
169
|
-
TagProps = {}
|
|
170
|
-
ListItemProps = {}
|
|
168
|
+
TagProps = {}
|
|
171
169
|
} = customProps;
|
|
172
170
|
const isEditable = !isReadOnly;
|
|
173
171
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -256,8 +254,7 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
256
254
|
boxPosition: boxPosition,
|
|
257
255
|
isPadding: false,
|
|
258
256
|
customClass: {
|
|
259
|
-
customDropBoxWrap: style.dropdown
|
|
260
|
-
customDropBox: dropBoxClass
|
|
257
|
+
customDropBoxWrap: style.dropdown
|
|
261
258
|
},
|
|
262
259
|
dataId: `${dataId}_dropbox`,
|
|
263
260
|
isResponsivePadding: true,
|
|
@@ -303,8 +300,7 @@ export default class TagsMultiSelect extends React.Component {
|
|
|
303
300
|
getRef: this.getSelectedItemRef,
|
|
304
301
|
isDisabled: listDisabled,
|
|
305
302
|
customProps: listItemProps,
|
|
306
|
-
customClass: listItemClass
|
|
307
|
-
...ListItemProps
|
|
303
|
+
customClass: listItemClass
|
|
308
304
|
}, isNew ? /*#__PURE__*/React.createElement(Container, {
|
|
309
305
|
alignBox: "row",
|
|
310
306
|
align: "vertical"
|
|
@@ -52,8 +52,7 @@ export const propTypes = {
|
|
|
52
52
|
customProps: PropTypes.shape({
|
|
53
53
|
TextBoxIconProps: PropTypes.object,
|
|
54
54
|
TagWrapperProps: PropTypes.object,
|
|
55
|
-
TagProps: PropTypes.object
|
|
56
|
-
ListItemProps: PropTypes.object
|
|
55
|
+
TagProps: PropTypes.object
|
|
57
56
|
}),
|
|
58
57
|
isFocus: PropTypes.bool
|
|
59
58
|
};
|
|
@@ -48,12 +48,8 @@ class DepartmentDropDown extends Component {
|
|
|
48
48
|
onSearch,
|
|
49
49
|
needSearchFetching,
|
|
50
50
|
searchStr,
|
|
51
|
-
i18nKeys
|
|
52
|
-
customProps
|
|
51
|
+
i18nKeys
|
|
53
52
|
} = this.props;
|
|
54
|
-
const {
|
|
55
|
-
ToggleDropDownProps = {}
|
|
56
|
-
} = customProps;
|
|
57
53
|
let {
|
|
58
54
|
title = 'Move Department',
|
|
59
55
|
searchEmptyText = 'No results found',
|
|
@@ -88,8 +84,7 @@ class DepartmentDropDown extends Component {
|
|
|
88
84
|
getNextOptions: getNextOptions,
|
|
89
85
|
isNextOptions: isNextOptions,
|
|
90
86
|
onSearch: onSearch,
|
|
91
|
-
needSearchFetching: needSearchFetching
|
|
92
|
-
...ToggleDropDownProps
|
|
87
|
+
needSearchFetching: needSearchFetching
|
|
93
88
|
});
|
|
94
89
|
}
|
|
95
90
|
|
|
@@ -178,12 +178,8 @@ export class StatusDropdown extends React.Component {
|
|
|
178
178
|
targetOffset,
|
|
179
179
|
renderTargetElement,
|
|
180
180
|
renderFooterElement,
|
|
181
|
-
a11y = {}
|
|
182
|
-
customClass
|
|
181
|
+
a11y = {}
|
|
183
182
|
} = this.props;
|
|
184
|
-
const {
|
|
185
|
-
dropBoxClass = ''
|
|
186
|
-
} = customClass;
|
|
187
183
|
const {
|
|
188
184
|
tabIndex = 0,
|
|
189
185
|
ariaLabelledby,
|
|
@@ -251,8 +247,7 @@ export class StatusDropdown extends React.Component {
|
|
|
251
247
|
isAnimate: true,
|
|
252
248
|
getRef: getContainerRef,
|
|
253
249
|
customClass: {
|
|
254
|
-
customDropBoxWrap: style.dropBoxContainer
|
|
255
|
-
customDropBox: dropBoxClass
|
|
250
|
+
customDropBoxWrap: style.dropBoxContainer
|
|
256
251
|
},
|
|
257
252
|
needResponsive: needResponsive,
|
|
258
253
|
isResponsivePadding: true,
|
|
@@ -56,8 +56,5 @@ export const propTypes = {
|
|
|
56
56
|
positionsOffset: PropTypes.object,
|
|
57
57
|
renderTargetElement: PropTypes.func,
|
|
58
58
|
renderFooterElement: PropTypes.node,
|
|
59
|
-
targetOffset: PropTypes.object
|
|
60
|
-
customClass: PropTypes.shape({
|
|
61
|
-
dropBoxClass: PropTypes.string
|
|
62
|
-
})
|
|
59
|
+
targetOffset: PropTypes.object
|
|
63
60
|
};
|
|
@@ -36,8 +36,9 @@
|
|
|
36
36
|
.value {
|
|
37
37
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
38
38
|
}
|
|
39
|
-
.multiLineValue
|
|
40
|
-
|
|
39
|
+
.multiLineValue{
|
|
40
|
+
word-break: break-word;
|
|
41
|
+
composes: clamp from '~@zohodesk/components/lib/common/common.module.css';
|
|
41
42
|
}
|
|
42
43
|
[dir=ltr] .withBorder.active {
|
|
43
44
|
border-left-color: var(--zdt_statuslistitem_default_active_border);
|
|
@@ -45,6 +46,7 @@
|
|
|
45
46
|
[dir=rtl] .withBorder.active {
|
|
46
47
|
border-right-color: var(--zdt_statuslistitem_default_active_border);
|
|
47
48
|
}
|
|
49
|
+
|
|
48
50
|
.default.hover, .default.effect:hover {
|
|
49
51
|
background-color: var(--zdt_statuslistitem_default_effect_bg);
|
|
50
52
|
}
|
|
@@ -88,9 +90,8 @@
|
|
|
88
90
|
}
|
|
89
91
|
/* Status Type */
|
|
90
92
|
.statusType {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
font-size: var(--zd_font_size8) ;
|
|
93
|
+
width: var(--zd_size8) ;
|
|
94
|
+
height: var(--zd_size8) ;
|
|
94
95
|
border-radius: 50%;
|
|
95
96
|
}
|
|
96
97
|
[dir=ltr] .statusType {
|
package/es/utils/General.js
CHANGED
|
@@ -43,4 +43,26 @@ export function formatPhoneUrl(phone) {
|
|
|
43
43
|
|
|
44
44
|
return phone;
|
|
45
45
|
}
|
|
46
|
-
export const DUMMY_OBJECT = Object.freeze({});
|
|
46
|
+
export const DUMMY_OBJECT = Object.freeze({});
|
|
47
|
+
export function getBrowserWithVersion() {
|
|
48
|
+
const userAgent = navigator.userAgent;
|
|
49
|
+
let tempMatch;
|
|
50
|
+
let browserMatch = userAgent.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*([\d\.]+)/i) || [];
|
|
51
|
+
|
|
52
|
+
if (userAgent.toLowerCase().indexOf('edge') !== -1) {
|
|
53
|
+
return userAgent.substring(userAgent.toLowerCase().indexOf('edge'));
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
if (/trident/i.test(browserMatch[1])) {
|
|
57
|
+
tempMatch = /\brv[ :]+(\d+(\.\d+)?)/g.exec(userAgent) || [];
|
|
58
|
+
return `IE ${tempMatch[1] || ''}`;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
browserMatch = browserMatch[2] ? [browserMatch[1], browserMatch[2]] : [navigator.appName, navigator.appVersion, '-?'];
|
|
62
|
+
|
|
63
|
+
if ((tempMatch = userAgent.match(/version\/([\.\d]+)/i)) !== null) {
|
|
64
|
+
browserMatch[2] = tempMatch[1];
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return browserMatch.join(' ');
|
|
68
|
+
}
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
height: 100% ;
|
|
15
15
|
width: 100% ;
|
|
16
16
|
position: absolute;
|
|
17
|
-
top:0
|
|
17
|
+
top: 0
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
[dir=ltr] .disableLayer {
|
|
21
|
-
left:0
|
|
21
|
+
left: 0
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
[dir=rtl] .disableLayer {
|
|
25
|
-
right:0
|
|
25
|
+
right: 0
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
.attachmentHover {
|
|
@@ -66,6 +66,10 @@
|
|
|
66
66
|
height: var(--zd_size40) ;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
+
.attachleft {
|
|
70
|
+
padding: var(--zd_size3) ;
|
|
71
|
+
}
|
|
72
|
+
|
|
69
73
|
[dir=ltr] .attachleft {
|
|
70
74
|
border-right: 1px solid var(--zdt_attachment_default_border);
|
|
71
75
|
}
|
|
@@ -3,15 +3,53 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
exports.getAttachmentIconDetails = getAttachmentIconDetails;
|
|
6
7
|
exports.getExtensionFromFileName = getExtensionFromFileName;
|
|
7
8
|
exports.isAudioFile = isAudioFile;
|
|
8
9
|
exports.isBrowserSupportedFile = isBrowserSupportedFile;
|
|
10
|
+
exports.isDocsFile = isDocsFile;
|
|
11
|
+
exports.isEmailFile = isEmailFile;
|
|
12
|
+
exports.isImageFile = isImageFile;
|
|
13
|
+
exports.isPdfFile = isPdfFile;
|
|
14
|
+
exports.isPresentationFile = isPresentationFile;
|
|
15
|
+
exports.isSheetFile = isSheetFile;
|
|
16
|
+
exports.isVideoFile = isVideoFile;
|
|
17
|
+
|
|
18
|
+
var _General = require("../utils/General");
|
|
19
|
+
|
|
9
20
|
var UNASSIGNED = 'Unassigned';
|
|
10
21
|
var BROWSER_SUPPORTED_FILES = ['pdf', 'text', 'txt', 'css', 'jpg', 'jpeg', 'gif', 'png', 'bmp', 'ico', 'sh', 'mp3', 'wav', 'ogg'];
|
|
11
22
|
|
|
12
|
-
function isAudioFile(
|
|
13
|
-
|
|
14
|
-
|
|
23
|
+
function isAudioFile(extension) {
|
|
24
|
+
return /mp3|wav|ogg|oga|m4a|weba|opus|m4b|webma|aac/i.test(extension);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function isVideoFile(extension) {
|
|
28
|
+
return /mp4|webm|ogg/i.test(extension);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function isPdfFile(extension) {
|
|
32
|
+
return /pdf/i.test(extension);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
function isDocsFile(extension) {
|
|
36
|
+
return /docx|doc|docm|rtf|odt|dot|dotm|dotx|pages/i.test(extension);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
function isSheetFile(extension) {
|
|
40
|
+
return /xlsx|numbers/i.test(extension);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function isPresentationFile(extension) {
|
|
44
|
+
return /pptx|ppt|pps|ppsx|key/i.test(extension);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
function isEmailFile(extension) {
|
|
48
|
+
return /eml|msg/i.test(extension);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
function isImageFile(extension) {
|
|
52
|
+
return /jpeg|jpg|png|gif|bmp|ico/i.test(extension);
|
|
15
53
|
}
|
|
16
54
|
|
|
17
55
|
function getExtensionFromFileName(fileName) {
|
|
@@ -25,4 +63,189 @@ function getExtensionFromFileName(fileName) {
|
|
|
25
63
|
function isBrowserSupportedFile(fileName) {
|
|
26
64
|
var extension = getExtensionFromFileName(fileName);
|
|
27
65
|
return BROWSER_SUPPORTED_FILES.indexOf(extension) !== -1;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
function getAttachmentIconDetails(fileName, size) {
|
|
69
|
+
var extension = getExtensionFromFileName(fileName);
|
|
70
|
+
var browserName = (0, _General.getBrowserWithVersion)().toLowerCase() || '';
|
|
71
|
+
var OSName = navigator.platform.toLowerCase() || '';
|
|
72
|
+
|
|
73
|
+
switch (extension) {
|
|
74
|
+
case 'jpeg':
|
|
75
|
+
case 'jpg':
|
|
76
|
+
case 'png':
|
|
77
|
+
case 'apng':
|
|
78
|
+
case 'gif':
|
|
79
|
+
case 'bmp':
|
|
80
|
+
case 'tiff':
|
|
81
|
+
case 'tif':
|
|
82
|
+
case 'ico':
|
|
83
|
+
case 'svg':
|
|
84
|
+
case 'heic':
|
|
85
|
+
case 'webp':
|
|
86
|
+
return {
|
|
87
|
+
iconName: 'ZD-EF-fileImage',
|
|
88
|
+
iconSize: size
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
case 'txt':
|
|
92
|
+
return {
|
|
93
|
+
iconName: 'ZD-GN-fileDoc',
|
|
94
|
+
iconSize: size
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
case 'pdf':
|
|
98
|
+
return {
|
|
99
|
+
iconName: 'ZD-EF-filePdf',
|
|
100
|
+
iconSize: size
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
case 'html':
|
|
104
|
+
case 'htm':
|
|
105
|
+
case 'xhtml':
|
|
106
|
+
if (browserName.indexOf('chrome') !== -1 || browserName.indexOf('safari') !== -1) {
|
|
107
|
+
return {
|
|
108
|
+
iconName: 'ZD-EF-fileXml',
|
|
109
|
+
iconSize: size
|
|
110
|
+
};
|
|
111
|
+
} else if (browserName.indexOf('ie') !== -1 || browserName.indexOf('edge') !== -1) {
|
|
112
|
+
return {
|
|
113
|
+
iconName: 'ZD-EF-explorer',
|
|
114
|
+
iconSize: size
|
|
115
|
+
};
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
return {
|
|
119
|
+
iconName: 'ZD-EF-firebox',
|
|
120
|
+
iconSize: size
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
case 'ppt':
|
|
124
|
+
case 'pps':
|
|
125
|
+
case 'odp':
|
|
126
|
+
case 'sxi':
|
|
127
|
+
case 'pptx':
|
|
128
|
+
case 'ppsx':
|
|
129
|
+
case 'pot':
|
|
130
|
+
case 'potx':
|
|
131
|
+
case 'key':
|
|
132
|
+
return {
|
|
133
|
+
iconName: 'ZD-GN-filePpt',
|
|
134
|
+
iconSize: size
|
|
135
|
+
};
|
|
136
|
+
|
|
137
|
+
case 'rar':
|
|
138
|
+
case 'jar':
|
|
139
|
+
case 'zip':
|
|
140
|
+
return {
|
|
141
|
+
iconName: 'ZD-EF-fileZip',
|
|
142
|
+
iconSize: size
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
case 'doc':
|
|
146
|
+
case 'docx':
|
|
147
|
+
case 'sxw':
|
|
148
|
+
case 'odt':
|
|
149
|
+
case 'docm':
|
|
150
|
+
case 'dot':
|
|
151
|
+
case 'dotm':
|
|
152
|
+
case 'dotx':
|
|
153
|
+
case 'rtf':
|
|
154
|
+
case 'pages':
|
|
155
|
+
if (OSName.indexOf('mac') !== -1 || OSName.indexOf('linux') !== -1) {
|
|
156
|
+
return {
|
|
157
|
+
iconName: 'ZD-EF-fileOffice',
|
|
158
|
+
iconSize: size
|
|
159
|
+
};
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
return {
|
|
163
|
+
iconName: 'ZD-EF-fileWord',
|
|
164
|
+
iconSize: size
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
case 'xml':
|
|
168
|
+
return {
|
|
169
|
+
iconName: 'ZD-EF-fileXml',
|
|
170
|
+
iconSize: size
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
case 'xls':
|
|
174
|
+
case 'xlsx':
|
|
175
|
+
case 'xlsm':
|
|
176
|
+
case 'xlsb':
|
|
177
|
+
case 'sxc':
|
|
178
|
+
case 'ods':
|
|
179
|
+
case 'csv':
|
|
180
|
+
case 'tsv':
|
|
181
|
+
case 'numbers':
|
|
182
|
+
return {
|
|
183
|
+
iconName: 'ZD-GN-fileSheet',
|
|
184
|
+
iconSize: size
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
case 'ics':
|
|
188
|
+
return {
|
|
189
|
+
iconName: 'ZD-TK-event',
|
|
190
|
+
iconSize: size
|
|
191
|
+
};
|
|
192
|
+
|
|
193
|
+
case 'exe':
|
|
194
|
+
return {
|
|
195
|
+
iconName: 'ZD-EF-exe',
|
|
196
|
+
iconSize: size
|
|
197
|
+
};
|
|
198
|
+
|
|
199
|
+
case 'sh':
|
|
200
|
+
case 'bin':
|
|
201
|
+
return {
|
|
202
|
+
iconName: 'ZD-EF-linux',
|
|
203
|
+
iconSize: size
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
case 'css':
|
|
207
|
+
return {
|
|
208
|
+
iconName: 'ZD-EF-clrCss',
|
|
209
|
+
iconSize: size
|
|
210
|
+
};
|
|
211
|
+
|
|
212
|
+
case 'mp3':
|
|
213
|
+
case 'wav':
|
|
214
|
+
case 'wma':
|
|
215
|
+
case 'aac':
|
|
216
|
+
case 'm4r':
|
|
217
|
+
case 'ogg':
|
|
218
|
+
case 'opus':
|
|
219
|
+
return {
|
|
220
|
+
iconName: 'ZD-EF-fileMp3',
|
|
221
|
+
iconSize: size
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
case 'mp4':
|
|
225
|
+
case 'mkv':
|
|
226
|
+
case 'mov':
|
|
227
|
+
case 'mpeg':
|
|
228
|
+
case 'flv':
|
|
229
|
+
case 'wmv':
|
|
230
|
+
case 'avi':
|
|
231
|
+
case 'webm':
|
|
232
|
+
case 'ogv':
|
|
233
|
+
return {
|
|
234
|
+
iconName: 'ZD-EF-fileMp4',
|
|
235
|
+
iconSize: size
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
case 'eml':
|
|
239
|
+
case 'msg':
|
|
240
|
+
return {
|
|
241
|
+
iconName: 'ZD-GN-fileMail',
|
|
242
|
+
iconSize: size
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
default:
|
|
246
|
+
return {
|
|
247
|
+
iconName: 'ZD-GN-fileUnknown',
|
|
248
|
+
iconSize: size
|
|
249
|
+
};
|
|
250
|
+
}
|
|
28
251
|
}
|