@zohodesk/icons 1.0.0-temp.7 → 1.0.0-test.114
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/README.md +64 -1
- package/assets_final/fonts/zd-customize.svg +2 -0
- package/assets_final/fonts/zd-customize.woff +0 -0
- package/assets_final/fonts/zd-customize.woff2 +0 -0
- package/assets_final/fonts/zd-gcFonts.svg +9 -0
- package/assets_final/fonts/zd-gcFonts.woff +0 -0
- package/assets_final/fonts/zd-gcFonts.woff2 +0 -0
- package/assets_final/fonts/zd-rCustomize.svg +10 -0
- package/assets_final/fonts/zd-rCustomize.woff +0 -0
- package/assets_final/fonts/zd-rCustomize.woff2 +0 -0
- package/assets_final/fonts/zd-rGeneral.svg +5 -2
- package/assets_final/fonts/zd-rGeneral.woff +0 -0
- package/assets_final/fonts/zd-rGeneral.woff2 +0 -0
- package/assets_final/fonts/zd-rIntegrations.svg +2 -0
- package/assets_final/fonts/zd-rIntegrations.woff +0 -0
- package/assets_final/fonts/zd-rIntegrations.woff2 +0 -0
- package/assets_final/fonts/zd-rMarketplace.svg +32 -30
- package/assets_final/fonts/zd-rMarketplace.woff +0 -0
- package/assets_final/fonts/zd-rMarketplace.woff2 +0 -0
- package/assets_final/fonts/zd-rTwotone.svg +32 -0
- package/assets_final/fonts/zd-rTwotone.woff +0 -0
- package/assets_final/fonts/zd-rTwotone.woff2 +0 -0
- package/assets_final/react/zd-font-rCustomize.module.css +33 -3
- package/assets_final/react/zd-font-rGeneral.module.css +12 -3
- package/assets_final/react/zd-font-rIntegrations.module.css +10 -3
- package/assets_final/react/zd-font-rMarketplace.module.css +12 -3
- package/assets_final/react/zd-font-rTwotone.module.css +147 -3
- package/assets_final/react/zd-font-react-customize.module.css +12 -3
- package/assets_final/react/zd-font-react-gcFonts.module.css +36 -3
- package/es/Icon/FontFactory.js +48 -8
- package/es/Icon/FontIcon.js +4 -26
- package/es/Icon/asyncComponent.js +3 -13
- package/es/Icon/index.js +1 -39
- package/es/Icon/props/defaultProps.js +3 -0
- package/es/Icon/props/propTypes.js +17 -0
- package/es/index.js +5 -5
- package/lib/Icon/CustomIcons.js +0 -3
- package/lib/Icon/FontFactory.js +38 -11
- package/lib/Icon/FontIcon.js +19 -63
- package/lib/Icon/asyncComponent.js +5 -28
- package/lib/Icon/index.js +9 -55
- package/lib/Icon/props/defaultProps.js +10 -0
- package/lib/Icon/props/propTypes.js +25 -0
- package/lib/index.js +0 -36
- package/package.json +28 -35
- package/es/common/IcondocStyle.module.css +0 -22
- package/lib/common/IcondocStyle.module.css +0 -22
package/es/Icon/index.js
CHANGED
|
@@ -2,135 +2,102 @@ import React from 'react';
|
|
|
2
2
|
import asyncComponent from './asyncComponent';
|
|
3
3
|
import { FontFactory } from './FontFactory';
|
|
4
4
|
import FontIcon from './FontIcon';
|
|
5
|
-
|
|
6
5
|
function getAddforms() {
|
|
7
6
|
return require('../../assets_final/react/zd-font-react-addforms.module.css');
|
|
8
7
|
}
|
|
9
|
-
|
|
10
8
|
function getAutomate() {
|
|
11
9
|
return require('../../assets_final/react/zd-font-react-automate.module.css');
|
|
12
10
|
}
|
|
13
|
-
|
|
14
11
|
function getChannels() {
|
|
15
12
|
return require('../../assets_final/react/zd-font-react-channels.module.css');
|
|
16
13
|
}
|
|
17
|
-
|
|
18
14
|
function getCommon() {
|
|
19
15
|
return require('../../assets_final/react/zd-font-react-common.module.css');
|
|
20
16
|
}
|
|
21
|
-
|
|
22
17
|
function getCommunity() {
|
|
23
18
|
return require('../../assets_final/react/zd-font-react-community.module.css');
|
|
24
19
|
}
|
|
25
|
-
|
|
26
20
|
function getCustomers() {
|
|
27
21
|
return require('../../assets_final/react/zd-font-react-customers.module.css');
|
|
28
22
|
}
|
|
29
|
-
|
|
30
23
|
function getCustomize() {
|
|
31
24
|
return require('../../assets_final/react/zd-font-react-customize.module.css');
|
|
32
25
|
}
|
|
33
|
-
|
|
34
26
|
function getGamescope() {
|
|
35
27
|
return require('../../assets_final/react/zd-font-react-gamescope.module.css');
|
|
36
28
|
}
|
|
37
|
-
|
|
38
29
|
function getGettingstarted() {
|
|
39
30
|
return require('../../assets_final/react/zd-font-react-gettingstarted.module.css');
|
|
40
31
|
}
|
|
41
|
-
|
|
42
32
|
function getKnowledgeBase() {
|
|
43
33
|
return require('../../assets_final/react/zd-font-react-kb.module.css');
|
|
44
34
|
}
|
|
45
|
-
|
|
46
35
|
function getOrganization() {
|
|
47
36
|
return require('../../assets_final/react/zd-font-react-organization.module.css');
|
|
48
37
|
}
|
|
49
|
-
|
|
50
38
|
function getOthers() {
|
|
51
39
|
return require('../../assets_final/react/zd-font-react-others.module.css');
|
|
52
40
|
}
|
|
53
|
-
|
|
54
41
|
function getReports() {
|
|
55
42
|
return require('../../assets_final/react/zd-font-react-reports.module.css');
|
|
56
43
|
}
|
|
57
|
-
|
|
58
44
|
function getSetup() {
|
|
59
45
|
return require('../../assets_final/react/zd-font-react-setup.module.css');
|
|
60
46
|
}
|
|
61
|
-
|
|
62
47
|
function getSocial() {
|
|
63
48
|
return require('../../assets_final/react/zd-font-react-social.module.css');
|
|
64
49
|
}
|
|
65
|
-
|
|
66
50
|
function getTickets() {
|
|
67
51
|
return require('../../assets_final/react/zd-font-react-tickets.module.css');
|
|
68
52
|
}
|
|
69
|
-
|
|
70
53
|
function getTopband() {
|
|
71
54
|
return require('../../assets_final/react/zd-font-react-topband.module.css');
|
|
72
55
|
}
|
|
73
|
-
|
|
74
56
|
function getTicketsChannel() {
|
|
75
57
|
return require('../../assets_final/react/zd-font-react-ticket-channels.module.css');
|
|
76
58
|
}
|
|
77
|
-
|
|
78
59
|
function getReactCallBar() {
|
|
79
60
|
return require('../../assets_final/react/zd-font-rCallBar.module.css');
|
|
80
61
|
}
|
|
81
|
-
|
|
82
62
|
function getReactChannels() {
|
|
83
63
|
return require('../../assets_final/react/zd-font-rChannels.module.css');
|
|
84
64
|
}
|
|
85
|
-
|
|
86
65
|
function getReactCutomize() {
|
|
87
66
|
return require('../../assets_final/react/zd-font-rCustomize.module.css');
|
|
88
67
|
}
|
|
89
|
-
|
|
90
68
|
function getReactExportFiles() {
|
|
91
69
|
return require('../../assets_final/react/zd-font-rExportFiles.module.css');
|
|
92
70
|
}
|
|
93
|
-
|
|
94
71
|
function getReactGeneral() {
|
|
95
72
|
return require('../../assets_final/react/zd-font-rGeneral.module.css');
|
|
96
73
|
}
|
|
97
|
-
|
|
98
74
|
function getReactIntegrations() {
|
|
99
75
|
return require('../../assets_final/react/zd-font-rIntegrations.module.css');
|
|
100
76
|
}
|
|
101
|
-
|
|
102
77
|
function getReactLhs() {
|
|
103
78
|
return require('../../assets_final/react/zd-font-rLhs.module.css');
|
|
104
79
|
}
|
|
105
|
-
|
|
106
80
|
function getReactMarketplace() {
|
|
107
81
|
return require('../../assets_final/react/zd-font-rMarketplace.module.css');
|
|
108
82
|
}
|
|
109
|
-
|
|
110
83
|
function getReactReports() {
|
|
111
84
|
return require('../../assets_final/react/zd-font-rReports.module.css');
|
|
112
85
|
}
|
|
113
|
-
|
|
114
86
|
function getReactSetup() {
|
|
115
87
|
return require('../../assets_final/react/zd-font-rSetup.module.css');
|
|
116
88
|
}
|
|
117
|
-
|
|
118
89
|
function getReactTickets() {
|
|
119
90
|
return require('../../assets_final/react/zd-font-rTickets.module.css');
|
|
120
91
|
}
|
|
121
|
-
|
|
122
92
|
function getReactTopband() {
|
|
123
93
|
return require('../../assets_final/react/zd-font-rTopband.module.css');
|
|
124
94
|
}
|
|
125
|
-
|
|
126
95
|
function getReactGC() {
|
|
127
96
|
return require('../../assets_final/react/zd-font-react-gcFonts.module.css');
|
|
128
97
|
}
|
|
129
|
-
|
|
130
98
|
function getReactTwotone() {
|
|
131
99
|
return require('../../assets_final/react/zd-font-rTwotone.module.css');
|
|
132
100
|
}
|
|
133
|
-
|
|
134
101
|
function IconRender(iconName, iconContent) {
|
|
135
102
|
return function (props) {
|
|
136
103
|
let {
|
|
@@ -159,7 +126,6 @@ function IconRender(iconName, iconContent) {
|
|
|
159
126
|
});
|
|
160
127
|
};
|
|
161
128
|
}
|
|
162
|
-
|
|
163
129
|
function getIcon(props) {
|
|
164
130
|
let iconName;
|
|
165
131
|
let filesMap = {
|
|
@@ -183,7 +149,7 @@ function getIcon(props) {
|
|
|
183
149
|
TicketsChannelFontIcon: getTicketsChannel,
|
|
184
150
|
ReactCallBarFontIcon: getReactCallBar,
|
|
185
151
|
ReactChannelsFontIcon: getReactChannels,
|
|
186
|
-
|
|
152
|
+
ReactCustomizeFontIcon: getReactCutomize,
|
|
187
153
|
ReactExportFilesFontIcon: getReactExportFiles,
|
|
188
154
|
ReactGeneralFontIcon: getReactGeneral,
|
|
189
155
|
ReactIntegrationsFontIcon: getReactIntegrations,
|
|
@@ -200,14 +166,12 @@ function getIcon(props) {
|
|
|
200
166
|
if (typeof require.ensure !== `function`) {
|
|
201
167
|
require.ensure = (d, c) => c(require);
|
|
202
168
|
}
|
|
203
|
-
|
|
204
169
|
require.ensure([], () => {
|
|
205
170
|
Object.keys(FontFactory).map(name => {
|
|
206
171
|
if (typeof FontFactory[name][props.name] !== 'undefined') {
|
|
207
172
|
iconName = name;
|
|
208
173
|
}
|
|
209
174
|
});
|
|
210
|
-
|
|
211
175
|
if (iconName) {
|
|
212
176
|
let iconContent = filesMap[iconName]();
|
|
213
177
|
let Icon = IconRender(iconName, iconContent);
|
|
@@ -219,10 +183,8 @@ function getIcon(props) {
|
|
|
219
183
|
}, 'FontFactory');
|
|
220
184
|
});
|
|
221
185
|
}
|
|
222
|
-
|
|
223
186
|
const Icon = asyncComponent(props => getIcon(props).then(res => res.Icon));
|
|
224
187
|
export default Icon;
|
|
225
|
-
|
|
226
188
|
if (false) {
|
|
227
189
|
Icon.docs = {
|
|
228
190
|
componentGroup: 'Icon'
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import PropTypes from 'prop-types';
|
|
2
|
+
export const IconProps = {
|
|
3
|
+
dataId: PropTypes.string,
|
|
4
|
+
iconClass: PropTypes.string,
|
|
5
|
+
iconContent: PropTypes.object,
|
|
6
|
+
isBold: PropTypes.bool,
|
|
7
|
+
name: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
|
|
8
|
+
onClick: PropTypes.func,
|
|
9
|
+
pathName: PropTypes.string,
|
|
10
|
+
size: PropTypes.string,
|
|
11
|
+
title: PropTypes.string,
|
|
12
|
+
iconName: PropTypes.string,
|
|
13
|
+
titlePosition: PropTypes.oneOf(['top', 'bottom', 'left', 'right']),
|
|
14
|
+
a11y: PropTypes.shape({
|
|
15
|
+
ariaHidden: PropTypes.bool
|
|
16
|
+
})
|
|
17
|
+
};
|
package/es/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { default as React } from 'react';
|
|
2
|
-
export { default as ReactDOM } from 'react-dom';
|
|
3
|
-
export { renderToStaticMarkup } from 'react-dom/server';
|
|
4
|
-
import '@zohodesk/variables/
|
|
1
|
+
// export { default as React } from 'react';
|
|
2
|
+
// export { default as ReactDOM } from 'react-dom';
|
|
3
|
+
// export { renderToStaticMarkup } from 'react-dom/server';
|
|
4
|
+
// import '@zohodesk/variables/assets/fontsizeVariables.module.css';
|
|
5
5
|
export { default as Icon } from './Icon';
|
|
6
|
-
export { default as Icon__default } from './Icon/docs/Icon__default.docs';
|
|
6
|
+
// export { default as Icon__default } from './Icon/docs/Icon__default.docs';
|
package/lib/Icon/CustomIcons.js
CHANGED
|
@@ -4,11 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.TwoToneIcons = exports.CustomIcons = void 0;
|
|
7
|
-
|
|
8
7
|
var _TwoToneIcons;
|
|
9
|
-
|
|
10
8
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11
|
-
|
|
12
9
|
var CustomIcons = {
|
|
13
10
|
'ZD-chChatMis': 'red',
|
|
14
11
|
'ZD-chEmailMis': 'red',
|
package/lib/Icon/FontFactory.js
CHANGED
|
@@ -4,11 +4,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.FontFactory = void 0;
|
|
7
|
-
|
|
8
7
|
var _ReactGeneralFontIcon, _ReactGCFontIcon;
|
|
9
|
-
|
|
10
8
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
11
|
-
|
|
12
9
|
// Syntax ==> IconName : [iconsClassName, Number of Path, IsNeed Rtl Support Bool]
|
|
13
10
|
var FontFactory = {
|
|
14
11
|
AddformsFontIcon: {
|
|
@@ -285,7 +282,8 @@ var FontFactory = {
|
|
|
285
282
|
'ZD-settings2': 'icon-settings2',
|
|
286
283
|
'ZD-sort1az': 'icon-sort1-a-z',
|
|
287
284
|
'ZD-callStatus': 'icon-callStatus',
|
|
288
|
-
'ZD-callDir': 'icon-callDir'
|
|
285
|
+
'ZD-callDir': 'icon-callDir',
|
|
286
|
+
'ZD-zdIm': ['icon-ZD-IM', 2]
|
|
289
287
|
},
|
|
290
288
|
GamescopeFontIcon: {
|
|
291
289
|
'ZD-game01': ['icon-game01', 2],
|
|
@@ -1339,7 +1337,7 @@ var FontFactory = {
|
|
|
1339
1337
|
'ZD-CH-happinessOut': ['icon-chHappinessIn', 2],
|
|
1340
1338
|
'ZD-CH-happinessMissed': ['icon-chHappinessIn', 2]
|
|
1341
1339
|
},
|
|
1342
|
-
|
|
1340
|
+
ReactCustomizeFontIcon: {
|
|
1343
1341
|
'ZD-CM-callStatus': 'icon-callStatus',
|
|
1344
1342
|
'ZD-CM-callTransfer': 'icon-callTransfer',
|
|
1345
1343
|
'ZD-CM-currency': 'icon-currency',
|
|
@@ -1359,7 +1357,17 @@ var FontFactory = {
|
|
|
1359
1357
|
'ZD-CM-textType': 'icon-textType',
|
|
1360
1358
|
'ZD-CM-customAction': 'icon-customAction',
|
|
1361
1359
|
'ZD-CM-formula': 'icon-formula',
|
|
1362
|
-
'ZD-CM-ticketID': 'icon-ticketID'
|
|
1360
|
+
'ZD-CM-ticketID': 'icon-ticketID',
|
|
1361
|
+
'ZD-CM-happinessLevel1': 'icon-happinessLevel1',
|
|
1362
|
+
'ZD-CM-happinessLevel2': 'icon-happinessLevel2',
|
|
1363
|
+
'ZD-CM-happinessLevel3': 'icon-happinessLevel3',
|
|
1364
|
+
'ZD-CM-happinessLevel4': 'icon-happinessLevel4',
|
|
1365
|
+
'ZD-CM-happinessLevel5': 'icon-happinessLevel5',
|
|
1366
|
+
'ZD-CM-happinessLevel6': 'icon-happinessLevel6',
|
|
1367
|
+
'ZD-CM-happinessLevel7': 'icon-happinessLevel7',
|
|
1368
|
+
'ZD-CM-happinessLevel8': 'icon-happinessLevel8',
|
|
1369
|
+
'ZD-CM-happinessLevel9': 'icon-happinessLevel9',
|
|
1370
|
+
'ZD-CM-happinessLevel10': 'icon-happinessLevel10'
|
|
1363
1371
|
},
|
|
1364
1372
|
ReactExportFilesFontIcon: {
|
|
1365
1373
|
'ZD-EF-android': 'icon-android',
|
|
@@ -1493,7 +1501,7 @@ var FontFactory = {
|
|
|
1493
1501
|
'ZD-GN-alignRight': ['icon-alignRight', 2],
|
|
1494
1502
|
'ZD-GN-allignCenter': ['icon-allignCenter', 2],
|
|
1495
1503
|
'ZD-GN-allignJustify': ['icon-allignJustify', 2]
|
|
1496
|
-
}, _defineProperty(_ReactGeneralFontIcon, "ZD-GN-bold", 'icon-bold'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-bullets', ['icon-bullets', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-clearFormat', ['icon-clearFormat', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-decreaceIndent', ['icon-decreaceIndent', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-font', 'icon-font'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-fontColour', ['icon-fontColour', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-formatPainter', ['icon-formatPainter', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-horizontalRule', ['icon-horizontalRule', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-increaceIndent', ['icon-increaceIndent', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-insertCode', 'icon-insertCode'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-insertHtml', ['icon-insertHtml', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-insertImage', ['icon-insertImage', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-insertQuote', 'icon-insertQuote'), _defineProperty(_ReactGeneralFontIcon, "ZD-GN-italic", 'icon-italic'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-numbering', ['icon-numbering', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-spellCheck', ['icon-spellCheck', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-strikeThrough', ['icon-strikeThrough', 3]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-underLine', ['icon-underLine', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-signOut', 'icon-signOut'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-phoneFill', 'icon-phoneFill'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-follow', 'icon-follow'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-forward', 'icon-forward'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-forwardFill', 'icon-forwardFill'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-unFollow', 'icon-unFollow'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-infoStroke', 'icon-infoStroke'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-onHold', 'icon-onHold'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-clearFilter', 'icon-clearFilter'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-placeholder', 'icon-placeholder'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-gift', 'icon-gift'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-freeTrial', 'icon-freeTrial'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-skills', 'icon-skills'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-contactInformation', 'icon-contactInformation'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-relatedDetails', 'icon-relatedDetails'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-template', ['icon-template', 5]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-department', 'icon-department'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-doubleTick', 'icon-doubleTick'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-bounce', 'icon-bounce'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-accessibility', ['icon-accessibility', 3]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-read', ['icon-read', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-unread', ['icon-unread', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-wmsSun', 'icon-wmsSun'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-wmsMoon', 'icon-wmsMoon'), _ReactGeneralFontIcon),
|
|
1504
|
+
}, _defineProperty(_ReactGeneralFontIcon, "ZD-GN-bold", 'icon-bold'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-bullets', ['icon-bullets', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-clearFormat', ['icon-clearFormat', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-decreaceIndent', ['icon-decreaceIndent', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-font', 'icon-font'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-fontColour', ['icon-fontColour', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-formatPainter', ['icon-formatPainter', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-horizontalRule', ['icon-horizontalRule', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-increaceIndent', ['icon-increaceIndent', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-insertCode', 'icon-insertCode'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-insertHtml', ['icon-insertHtml', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-insertImage', ['icon-insertImage', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-insertQuote', 'icon-insertQuote'), _defineProperty(_ReactGeneralFontIcon, "ZD-GN-italic", 'icon-italic'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-numbering', ['icon-numbering', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-spellCheck', ['icon-spellCheck', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-strikeThrough', ['icon-strikeThrough', 3]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-underLine', ['icon-underLine', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-signOut', 'icon-signOut'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-phoneFill', 'icon-phoneFill'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-follow', 'icon-follow'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-forward', 'icon-forward'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-forwardFill', 'icon-forwardFill'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-unFollow', 'icon-unFollow'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-infoStroke', 'icon-infoStroke'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-onHold', 'icon-onHold'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-clearFilter', 'icon-clearFilter'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-placeholder', 'icon-placeholder'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-gift', 'icon-gift'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-freeTrial', 'icon-freeTrial'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-skills', 'icon-skills'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-contactInformation', 'icon-contactInformation'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-relatedDetails', 'icon-relatedDetails'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-template', ['icon-template', 5]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-department', 'icon-department'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-doubleTick', 'icon-doubleTick'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-bounce', 'icon-bounce'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-accessibility', ['icon-accessibility', 3]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-read', ['icon-read', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-unread', ['icon-unread', 2]), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-wmsSun', 'icon-wmsSun'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-wmsMoon', 'icon-wmsMoon'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-configuaration', 'icon-configuaration'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-premium', 'icon-premium'), _defineProperty(_ReactGeneralFontIcon, 'ZD-GN-money', 'icon-money'), _ReactGeneralFontIcon),
|
|
1497
1505
|
ReactIntegrationsFontIcon: {
|
|
1498
1506
|
'ZD-IG-intAnalytics': 'icon-intAnalytics',
|
|
1499
1507
|
'ZD-IG-intBigin': 'icon-intBigin',
|
|
@@ -1512,7 +1520,9 @@ var FontFactory = {
|
|
|
1512
1520
|
'ZD-IG-intTwilio': 'icon-intTwilio',
|
|
1513
1521
|
'ZD-IG-zia': 'icon-zia',
|
|
1514
1522
|
'ZD-IG-intInvoice': 'icon-intInvoice',
|
|
1515
|
-
'ZD-IG-intSubscription': 'icon-intSubscription'
|
|
1523
|
+
'ZD-IG-intSubscription': 'icon-intSubscription',
|
|
1524
|
+
'ZD-IG-searchZoho': 'icon-searchZoho',
|
|
1525
|
+
'ZD-IG-inSalesIQ': 'icon-inSalesIQ'
|
|
1516
1526
|
},
|
|
1517
1527
|
ReactMarketplaceFontIcon: {
|
|
1518
1528
|
'ZD-MP-placeholder1': ['icon-placeholder1', 2],
|
|
@@ -1526,7 +1536,8 @@ var FontFactory = {
|
|
|
1526
1536
|
'ZD-MP-placeholder9': ['icon-placeholder9', 2],
|
|
1527
1537
|
'ZD-MP-placeholder10': ['icon-placeholder10', 2],
|
|
1528
1538
|
'ZD-MP-placeholder11': ['icon-placeholder11', 2],
|
|
1529
|
-
'ZD-MP-placeholder12': ['icon-placeholder12', 2]
|
|
1539
|
+
'ZD-MP-placeholder12': ['icon-placeholder12', 2],
|
|
1540
|
+
'ZD-MP-placeholder13': ['icon-placeholder13', 2]
|
|
1530
1541
|
},
|
|
1531
1542
|
ReactReportsFontIcon: {
|
|
1532
1543
|
'ZD-RP-addDashboard': 'icon-addDashboard',
|
|
@@ -1741,7 +1752,7 @@ var FontFactory = {
|
|
|
1741
1752
|
'GC-desktop': 'icon-Desktop',
|
|
1742
1753
|
'GC-duplicate': 'icon-Duplicate',
|
|
1743
1754
|
'GC-emojibutton': ['icon-emojibutton', 3]
|
|
1744
|
-
}, _defineProperty(_ReactGCFontIcon, "GC-duplicate", 'icon-Duplicate'), _defineProperty(_ReactGCFontIcon, 'GC-emojismile', ['icon-EmojiSmile', 3]), _defineProperty(_ReactGCFontIcon, 'GC-flag', 'icon-Flag'), _defineProperty(_ReactGCFontIcon, 'GC-fullscreen', 'icon-FullScreen'), _defineProperty(_ReactGCFontIcon, 'GC-grid', 'icon-Grid'), _defineProperty(_ReactGCFontIcon, 'GC-home', 'icon-Home'), _defineProperty(_ReactGCFontIcon, 'GC-image', 'icon-Image'), _defineProperty(_ReactGCFontIcon, 'GC-imagebutton', ['icon-imagebutton', 5]), _defineProperty(_ReactGCFontIcon, 'GC-info', 'icon-Info'), _defineProperty(_ReactGCFontIcon, 'GC-inputaudio', ['icon-inputaudio', 4]), _defineProperty(_ReactGCFontIcon, 'GC-inputcurrency', ['icon-inputcurrency', 3]), _defineProperty(_ReactGCFontIcon, 'GC-inputimage', ['icon-inputimage', 5]), _defineProperty(_ReactGCFontIcon, 'GC-inputmail', ['icon-inputmail', 4]), _defineProperty(_ReactGCFontIcon, 'GC-inputnumber', ['icon-inputnumber', 3]), _defineProperty(_ReactGCFontIcon, 'GC-inputslider', ['icon-inputslider', 4]), _defineProperty(_ReactGCFontIcon, 'GC-inputtext', ['icon-inputtext', 3]), _defineProperty(_ReactGCFontIcon, 'GC-inputurl', ['icon-inputurl', 4]), _defineProperty(_ReactGCFontIcon, 'GC-inputvideo', ['icon-inputvideo', 3]), _defineProperty(_ReactGCFontIcon, 'GC-italic', 'icon-Italic'), _defineProperty(_ReactGCFontIcon, 'GC-jump', ['icon-jump', 3]), _defineProperty(_ReactGCFontIcon, 'GC-layer', 'icon-Layer'), _defineProperty(_ReactGCFontIcon, 'GC-link', 'icon-Link'), _defineProperty(_ReactGCFontIcon, 'GC-list', 'icon-List'), _defineProperty(_ReactGCFontIcon, 'GC-maximize', 'icon-Maximize'), _defineProperty(_ReactGCFontIcon, 'GC-minimize', 'icon-Minimize'), _defineProperty(_ReactGCFontIcon, 'GC-mobile', 'icon-Mobile'), _defineProperty(_ReactGCFontIcon, 'GC-navigation', 'icon-Navigation'), _defineProperty(_ReactGCFontIcon, 'GC-pathdivider', ['icon-pathdivider', 3]), _defineProperty(_ReactGCFontIcon, 'GC-pen', 'icon-Pen'), _defineProperty(_ReactGCFontIcon, 'GC-plus', 'icon-Plus'), _defineProperty(_ReactGCFontIcon, 'GC-questioncircle', 'icon-QuestionCircle'), _defineProperty(_ReactGCFontIcon, 'GC-refresh', 'icon-Refresh'), _defineProperty(_ReactGCFontIcon, 'GC-search', 'icon-Search'), _defineProperty(_ReactGCFontIcon, 'GC-starbutton', ['icon-starbutton', 3]), _defineProperty(_ReactGCFontIcon, 'GC-textbutton', ['icon-textbutton', 3]), _defineProperty(_ReactGCFontIcon, 'GC-thumbbutton', ['icon-thumbbutton', 4]), _defineProperty(_ReactGCFontIcon, 'GC-tick', 'icon-Tick'), _defineProperty(_ReactGCFontIcon, 'GC-trash', 'icon-Trash'), _defineProperty(_ReactGCFontIcon, 'GC-trash2', 'icon-Trash2'), _defineProperty(_ReactGCFontIcon, 'GC-underLine', 'icon-UnderLine'), _defineProperty(_ReactGCFontIcon, 'GC-video', 'icon-Video'), _defineProperty(_ReactGCFontIcon, 'GC-video2', 'icon-Video2'), _defineProperty(_ReactGCFontIcon, 'GC-videobutton', ['icon-videobutton', 3]), _defineProperty(_ReactGCFontIcon, 'GC-webhook', ['icon-webhook', 4]), _defineProperty(_ReactGCFontIcon, 'GC-zap', 'icon-Zap'), _defineProperty(_ReactGCFontIcon, 'GC-zoomin', 'icon-Zoomin'), _defineProperty(_ReactGCFontIcon, 'GC-zoomout', 'icon-Zoomout'), _defineProperty(_ReactGCFontIcon, 'GC-audio', 'icon-audio'), _defineProperty(_ReactGCFontIcon, 'GC-download', 'icon-download'), _defineProperty(_ReactGCFontIcon, 'GC-faq', ['icon-faq', 3]), _defineProperty(_ReactGCFontIcon, 'GC-file', 'icon-file'), _defineProperty(_ReactGCFontIcon, "GC-image", 'icon-image'), _defineProperty(_ReactGCFontIcon, 'GC-location', 'icon-location'), _defineProperty(_ReactGCFontIcon, 'GC-message', ['icon-message', 2]), _defineProperty(_ReactGCFontIcon, 'GC-note', 'icon-note'), _defineProperty(_ReactGCFontIcon, 'GC-rightarrow', 'icon-rightarrow'), _defineProperty(_ReactGCFontIcon, 'GC-text', 'icon-text'), _defineProperty(_ReactGCFontIcon, 'GC-hearteyes', ['icon-hearteyes', 8]), _defineProperty(_ReactGCFontIcon, 'GC-neutralface', ['icon-neutralface', 4]), _defineProperty(_ReactGCFontIcon, 'GC-slightfrowning', ['icon-slightfrowning', 4]), _defineProperty(_ReactGCFontIcon, 'GC-slightsmile', ['icon-slightsmile', 4]), _defineProperty(_ReactGCFontIcon, 'GC-starfrowing', ['icon-starfrowing', 4]), _defineProperty(_ReactGCFontIcon, 'GC-starheart', ['icon-starheart', 8]), _defineProperty(_ReactGCFontIcon, 'GC-starneutral', ['icon-starneutral', 5]), _defineProperty(_ReactGCFontIcon, 'GC-starsmile', ['icon-starsmile', 4]), _defineProperty(_ReactGCFontIcon, 'GC-starunamused', ['icon-starunamused', 4]), _defineProperty(_ReactGCFontIcon, 'GC-thumbsdown', ['icon-thumbsdown', 2]), _defineProperty(_ReactGCFontIcon, 'GC-thumbsup', ['icon-thumbsup', 2]), _defineProperty(_ReactGCFontIcon, 'GC-unamused', ['icon-unamused', 4]), _defineProperty(_ReactGCFontIcon, 'GC-gcLogo', ['icon-gcLogo', 2]), _defineProperty(_ReactGCFontIcon, 'GC-button', ['icon-button', 2]), _defineProperty(_ReactGCFontIcon, 'GC-cloud', 'icon-cloud'), _defineProperty(_ReactGCFontIcon, 'GC-dynamicCard', ['icon-dynamicCard', 6]), _defineProperty(_ReactGCFontIcon, 'GC-staticCard', ['icon-staticCard', 10]), _defineProperty(_ReactGCFontIcon, 'GC-dynamicInfo', ['icon-dynamicInfo', 5]), _defineProperty(_ReactGCFontIcon, 'GC-staticInfo', ['icon-staticInfo', 9]), _defineProperty(_ReactGCFontIcon, 'GC-object', 'icon-object'), _defineProperty(_ReactGCFontIcon, 'GC-number', 'icon-number'), _defineProperty(_ReactGCFontIcon, 'GC-arrayOfString', 'icon-arrayOfString'), _defineProperty(_ReactGCFontIcon, 'GC-arrayOfObject', 'icon-arrayOfObject'), _defineProperty(_ReactGCFontIcon, 'GC-inputFile', ['icon-inputFile', 2]), _ReactGCFontIcon),
|
|
1755
|
+
}, _defineProperty(_ReactGCFontIcon, "GC-duplicate", 'icon-Duplicate'), _defineProperty(_ReactGCFontIcon, 'GC-emojismile', ['icon-EmojiSmile', 3]), _defineProperty(_ReactGCFontIcon, 'GC-flag', 'icon-Flag'), _defineProperty(_ReactGCFontIcon, 'GC-fullscreen', 'icon-FullScreen'), _defineProperty(_ReactGCFontIcon, 'GC-grid', 'icon-Grid'), _defineProperty(_ReactGCFontIcon, 'GC-home', 'icon-Home'), _defineProperty(_ReactGCFontIcon, 'GC-image', 'icon-Image'), _defineProperty(_ReactGCFontIcon, 'GC-imagebutton', ['icon-imagebutton', 5]), _defineProperty(_ReactGCFontIcon, 'GC-info', 'icon-Info'), _defineProperty(_ReactGCFontIcon, 'GC-inputaudio', ['icon-inputaudio', 4]), _defineProperty(_ReactGCFontIcon, 'GC-inputcurrency', ['icon-inputcurrency', 3]), _defineProperty(_ReactGCFontIcon, 'GC-inputimage', ['icon-inputimage', 5]), _defineProperty(_ReactGCFontIcon, 'GC-inputmail', ['icon-inputmail', 4]), _defineProperty(_ReactGCFontIcon, 'GC-inputnumber', ['icon-inputnumber', 3]), _defineProperty(_ReactGCFontIcon, 'GC-inputslider', ['icon-inputslider', 4]), _defineProperty(_ReactGCFontIcon, 'GC-inputtext', ['icon-inputtext', 3]), _defineProperty(_ReactGCFontIcon, 'GC-inputurl', ['icon-inputurl', 4]), _defineProperty(_ReactGCFontIcon, 'GC-inputvideo', ['icon-inputvideo', 3]), _defineProperty(_ReactGCFontIcon, 'GC-italic', 'icon-Italic'), _defineProperty(_ReactGCFontIcon, 'GC-jump', ['icon-jump', 3]), _defineProperty(_ReactGCFontIcon, 'GC-layer', 'icon-Layer'), _defineProperty(_ReactGCFontIcon, 'GC-link', 'icon-Link'), _defineProperty(_ReactGCFontIcon, 'GC-list', 'icon-List'), _defineProperty(_ReactGCFontIcon, 'GC-maximize', 'icon-Maximize'), _defineProperty(_ReactGCFontIcon, 'GC-minimize', 'icon-Minimize'), _defineProperty(_ReactGCFontIcon, 'GC-mobile', 'icon-Mobile'), _defineProperty(_ReactGCFontIcon, 'GC-navigation', 'icon-Navigation'), _defineProperty(_ReactGCFontIcon, 'GC-pathdivider', ['icon-pathdivider', 3]), _defineProperty(_ReactGCFontIcon, 'GC-pen', 'icon-Pen'), _defineProperty(_ReactGCFontIcon, 'GC-plus', 'icon-Plus'), _defineProperty(_ReactGCFontIcon, 'GC-questioncircle', 'icon-QuestionCircle'), _defineProperty(_ReactGCFontIcon, 'GC-refresh', 'icon-Refresh'), _defineProperty(_ReactGCFontIcon, 'GC-search', 'icon-Search'), _defineProperty(_ReactGCFontIcon, 'GC-starbutton', ['icon-starbutton', 3]), _defineProperty(_ReactGCFontIcon, 'GC-textbutton', ['icon-textbutton', 3]), _defineProperty(_ReactGCFontIcon, 'GC-thumbbutton', ['icon-thumbbutton', 4]), _defineProperty(_ReactGCFontIcon, 'GC-tick', 'icon-Tick'), _defineProperty(_ReactGCFontIcon, 'GC-trash', 'icon-Trash'), _defineProperty(_ReactGCFontIcon, 'GC-trash2', 'icon-Trash2'), _defineProperty(_ReactGCFontIcon, 'GC-underLine', 'icon-UnderLine'), _defineProperty(_ReactGCFontIcon, 'GC-video', 'icon-Video'), _defineProperty(_ReactGCFontIcon, 'GC-video2', 'icon-Video2'), _defineProperty(_ReactGCFontIcon, 'GC-videobutton', ['icon-videobutton', 3]), _defineProperty(_ReactGCFontIcon, 'GC-webhook', ['icon-webhook', 4]), _defineProperty(_ReactGCFontIcon, 'GC-zap', 'icon-Zap'), _defineProperty(_ReactGCFontIcon, 'GC-zoomin', 'icon-Zoomin'), _defineProperty(_ReactGCFontIcon, 'GC-zoomout', 'icon-Zoomout'), _defineProperty(_ReactGCFontIcon, 'GC-audio', 'icon-audio'), _defineProperty(_ReactGCFontIcon, 'GC-download', 'icon-download'), _defineProperty(_ReactGCFontIcon, 'GC-faq', ['icon-faq', 3]), _defineProperty(_ReactGCFontIcon, 'GC-file', 'icon-file'), _defineProperty(_ReactGCFontIcon, "GC-image", 'icon-image'), _defineProperty(_ReactGCFontIcon, 'GC-location', 'icon-location'), _defineProperty(_ReactGCFontIcon, 'GC-message', ['icon-message', 2]), _defineProperty(_ReactGCFontIcon, 'GC-note', 'icon-note'), _defineProperty(_ReactGCFontIcon, 'GC-rightarrow', 'icon-rightarrow'), _defineProperty(_ReactGCFontIcon, 'GC-text', 'icon-text'), _defineProperty(_ReactGCFontIcon, 'GC-hearteyes', ['icon-hearteyes', 8]), _defineProperty(_ReactGCFontIcon, 'GC-neutralface', ['icon-neutralface', 4]), _defineProperty(_ReactGCFontIcon, 'GC-slightfrowning', ['icon-slightfrowning', 4]), _defineProperty(_ReactGCFontIcon, 'GC-slightsmile', ['icon-slightsmile', 4]), _defineProperty(_ReactGCFontIcon, 'GC-starfrowing', ['icon-starfrowing', 4]), _defineProperty(_ReactGCFontIcon, 'GC-starheart', ['icon-starheart', 8]), _defineProperty(_ReactGCFontIcon, 'GC-starneutral', ['icon-starneutral', 5]), _defineProperty(_ReactGCFontIcon, 'GC-starsmile', ['icon-starsmile', 4]), _defineProperty(_ReactGCFontIcon, 'GC-starunamused', ['icon-starunamused', 4]), _defineProperty(_ReactGCFontIcon, 'GC-thumbsdown', ['icon-thumbsdown', 2]), _defineProperty(_ReactGCFontIcon, 'GC-thumbsup', ['icon-thumbsup', 2]), _defineProperty(_ReactGCFontIcon, 'GC-unamused', ['icon-unamused', 4]), _defineProperty(_ReactGCFontIcon, 'GC-gcLogo', ['icon-gcLogo', 2]), _defineProperty(_ReactGCFontIcon, 'GC-button', ['icon-button', 2]), _defineProperty(_ReactGCFontIcon, 'GC-cloud', 'icon-cloud'), _defineProperty(_ReactGCFontIcon, 'GC-dynamicCard', ['icon-dynamicCard', 6]), _defineProperty(_ReactGCFontIcon, 'GC-staticCard', ['icon-staticCard', 10]), _defineProperty(_ReactGCFontIcon, 'GC-dynamicInfo', ['icon-dynamicInfo', 5]), _defineProperty(_ReactGCFontIcon, 'GC-staticInfo', ['icon-staticInfo', 9]), _defineProperty(_ReactGCFontIcon, 'GC-object', 'icon-object'), _defineProperty(_ReactGCFontIcon, 'GC-number', 'icon-number'), _defineProperty(_ReactGCFontIcon, 'GC-arrayOfString', 'icon-arrayOfString'), _defineProperty(_ReactGCFontIcon, 'GC-arrayOfObject', 'icon-arrayOfObject'), _defineProperty(_ReactGCFontIcon, 'GC-inputFile', ['icon-inputFile', 2]), _defineProperty(_ReactGCFontIcon, 'GC-deskLogo', 'icon-deskLogo'), _defineProperty(_ReactGCFontIcon, 'GC-dynamicButton', ['icon-dynamicButton', 3]), _defineProperty(_ReactGCFontIcon, 'GC-blocks', 'icon-blocks'), _defineProperty(_ReactGCFontIcon, 'GC-connection', 'icon-connection'), _defineProperty(_ReactGCFontIcon, 'GC-request', 'icon-request'), _defineProperty(_ReactGCFontIcon, 'GC-response', 'icon-response'), _defineProperty(_ReactGCFontIcon, 'GC-agent', 'icon-agent'), _ReactGCFontIcon),
|
|
1745
1756
|
ReactTwotoneIcon: {
|
|
1746
1757
|
'ZD-TT-call': ['icon-chCall', 2],
|
|
1747
1758
|
'ZD-TT-callIn': ['icon-chCallIn', 3],
|
|
@@ -1840,7 +1851,23 @@ var FontFactory = {
|
|
|
1840
1851
|
'ZD-TT-instaIM': ['icon-instaIM', 3],
|
|
1841
1852
|
'ZD-TT-instaIMIn': ['icon-instaIM', 3],
|
|
1842
1853
|
'ZD-TT-instaIMOut': ['icon-instaIM', 3],
|
|
1843
|
-
'ZD-TT-instaIMMissed': ['icon-instaIM', 3]
|
|
1854
|
+
'ZD-TT-instaIMMissed': ['icon-instaIM', 3],
|
|
1855
|
+
'ZD-TT-imWeChat': ['icon-imWeChat', 2],
|
|
1856
|
+
'ZD-TT-imtwillio': ['icon-imtwillio', 2],
|
|
1857
|
+
'ZD-TT-imTelegram': ['icon-imTelegram', 2],
|
|
1858
|
+
'ZD-TT-imLine': ['icon-imLine', 2],
|
|
1859
|
+
'ZD-TT-imASAP': ['icon-imASAP', 2],
|
|
1860
|
+
'ZD-TT-mp3': ['icon-mp3', 2],
|
|
1861
|
+
'ZD-TT-pdf': ['icon-pdf', 2],
|
|
1862
|
+
'ZD-TT-mp4': ['icon-mp4', 2],
|
|
1863
|
+
'ZD-TT-image': ['icon-image', 2],
|
|
1864
|
+
'ZD-TT-zip': ['icon-zip', 2],
|
|
1865
|
+
'ZD-TT-unknown': ['icon-unknown', 2],
|
|
1866
|
+
'ZD-TT-txt': ['icon-txt', 2],
|
|
1867
|
+
'ZD-TT-code': ['icon-code', 2],
|
|
1868
|
+
'ZD-TT-ttLocation': ['icon-ttLocation', 2],
|
|
1869
|
+
'ZD-TT-ttAttach': ['icon-ttAttach', 2],
|
|
1870
|
+
'ZD-TT-ttHash': ['icon-ttHash', 2]
|
|
1844
1871
|
}
|
|
1845
1872
|
};
|
|
1846
1873
|
exports.FontFactory = FontFactory;
|
package/lib/Icon/FontIcon.js
CHANGED
|
@@ -4,68 +4,48 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
|
-
var _propTypes =
|
|
11
|
-
|
|
8
|
+
var _defaultProps = require("./props/defaultProps");
|
|
9
|
+
var _propTypes = require("./props/propTypes");
|
|
12
10
|
var _CustomIcons = require("./CustomIcons");
|
|
13
|
-
|
|
14
11
|
var _IconModule = _interopRequireDefault(require("./Icon.module.css"));
|
|
15
|
-
|
|
16
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
17
|
-
|
|
18
13
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
19
|
-
|
|
20
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
21
|
-
|
|
22
15
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
23
|
-
|
|
24
16
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
25
|
-
|
|
26
17
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
|
-
|
|
28
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
|
-
|
|
18
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
30
19
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
31
|
-
|
|
32
20
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
33
|
-
|
|
34
21
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
35
|
-
|
|
36
22
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
37
|
-
|
|
38
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
39
|
-
|
|
23
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
40
24
|
var FontIcon = /*#__PURE__*/function (_React$Component) {
|
|
41
25
|
_inherits(FontIcon, _React$Component);
|
|
42
|
-
|
|
43
26
|
var _super = _createSuper(FontIcon);
|
|
44
|
-
|
|
45
27
|
function FontIcon() {
|
|
46
28
|
_classCallCheck(this, FontIcon);
|
|
47
|
-
|
|
48
29
|
return _super.apply(this, arguments);
|
|
49
30
|
}
|
|
50
|
-
|
|
51
31
|
_createClass(FontIcon, [{
|
|
52
32
|
key: "render",
|
|
53
33
|
value: function render() {
|
|
54
34
|
var _this$props = this.props,
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
35
|
+
name = _this$props.name,
|
|
36
|
+
onClick = _this$props.onClick,
|
|
37
|
+
isBold = _this$props.isBold,
|
|
38
|
+
pathName = _this$props.pathName,
|
|
39
|
+
iconContent = _this$props.iconContent,
|
|
40
|
+
iconClass = _this$props.iconClass,
|
|
41
|
+
title = _this$props.title,
|
|
42
|
+
dataId = _this$props.dataId,
|
|
43
|
+
size = _this$props.size,
|
|
44
|
+
iconName = _this$props.iconName,
|
|
45
|
+
titlePosition = _this$props.titlePosition,
|
|
46
|
+
a11y = _this$props.a11y;
|
|
67
47
|
var _a11y$ariaHidden = a11y.ariaHidden,
|
|
68
|
-
|
|
48
|
+
ariaHidden = _a11y$ariaHidden === void 0 ? true : _a11y$ariaHidden;
|
|
69
49
|
var fontStyle = size ? {
|
|
70
50
|
'--zd-iconfont-size': 'var(--zd_font_size' + size + ')'
|
|
71
51
|
} : {};
|
|
@@ -75,12 +55,10 @@ var FontIcon = /*#__PURE__*/function (_React$Component) {
|
|
|
75
55
|
var isTwoTone = _CustomIcons.TwoToneIcons[iconName] || null;
|
|
76
56
|
isTwoTone = isTwoTone ? _IconModule["default"][isTwoTone] : '';
|
|
77
57
|
var fontClass = "".concat(_IconModule["default"].basic, " ").concat(pathName, " ").concat(isBold ? _IconModule["default"].fbold : '', " ").concat(iconClass ? iconClass : '', " ").concat(onClick ? _IconModule["default"].cursor : '');
|
|
78
|
-
|
|
79
58
|
if (_typeof(name) === 'object') {
|
|
80
59
|
isRtl = name[2] ? name[2] : false;
|
|
81
60
|
fontClass = isRtl ? "".concat(fontClass, " ").concat(_IconModule["default"].rtl) : fontClass;
|
|
82
61
|
var childArray = [];
|
|
83
|
-
|
|
84
62
|
for (var i = 1; i < name[1] + 1; i++) {
|
|
85
63
|
var pathClass = "".concat(iconContent["path".concat(i)], " ").concat(iconClass || isCustom || isTwoTone ? "path".concat(i) : '');
|
|
86
64
|
childArray.push( /*#__PURE__*/_react["default"].createElement("span", {
|
|
@@ -88,7 +66,6 @@ var FontIcon = /*#__PURE__*/function (_React$Component) {
|
|
|
88
66
|
key: i
|
|
89
67
|
}));
|
|
90
68
|
}
|
|
91
|
-
|
|
92
69
|
return /*#__PURE__*/_react["default"].createElement("i", {
|
|
93
70
|
className: 'zd_font_icons'.concat(" ", fontClass, " ").concat(isCustom, " ").concat(isTwoTone).trim(),
|
|
94
71
|
"data-title": title,
|
|
@@ -99,7 +76,6 @@ var FontIcon = /*#__PURE__*/function (_React$Component) {
|
|
|
99
76
|
"aria-hidden": ariaHidden
|
|
100
77
|
}, childArray);
|
|
101
78
|
}
|
|
102
|
-
|
|
103
79
|
return /*#__PURE__*/_react["default"].createElement("i", {
|
|
104
80
|
className: 'zd_font_icons'.concat(" ", fontClass).trim(),
|
|
105
81
|
"data-title": title,
|
|
@@ -111,31 +87,11 @@ var FontIcon = /*#__PURE__*/function (_React$Component) {
|
|
|
111
87
|
});
|
|
112
88
|
}
|
|
113
89
|
}]);
|
|
114
|
-
|
|
115
90
|
return FontIcon;
|
|
116
91
|
}(_react["default"].Component);
|
|
117
|
-
|
|
118
92
|
exports["default"] = FontIcon;
|
|
119
|
-
FontIcon.propTypes =
|
|
120
|
-
|
|
121
|
-
iconClass: _propTypes["default"].string,
|
|
122
|
-
iconContent: _propTypes["default"].object,
|
|
123
|
-
isBold: _propTypes["default"].bool,
|
|
124
|
-
name: _propTypes["default"].oneOfType([_propTypes["default"].string, _propTypes["default"].array]),
|
|
125
|
-
onClick: _propTypes["default"].func,
|
|
126
|
-
pathName: _propTypes["default"].string,
|
|
127
|
-
size: _propTypes["default"].string,
|
|
128
|
-
title: _propTypes["default"].string,
|
|
129
|
-
iconName: _propTypes["default"].string,
|
|
130
|
-
titlePosition: _propTypes["default"].oneOf(['top', 'bottom', 'left', 'right']),
|
|
131
|
-
a11y: _propTypes["default"].shape({
|
|
132
|
-
ariaHidden: _propTypes["default"].bool
|
|
133
|
-
})
|
|
134
|
-
};
|
|
135
|
-
FontIcon.defaultProps = {
|
|
136
|
-
a11y: {}
|
|
137
|
-
};
|
|
138
|
-
|
|
93
|
+
FontIcon.propTypes = _propTypes.IconProps;
|
|
94
|
+
FontIcon.defaultProps = _defaultProps.IconDefaultProps;
|
|
139
95
|
if (false) {
|
|
140
96
|
FontIcon.docs = {
|
|
141
97
|
componentGroup: 'Icon',
|
|
@@ -1,49 +1,30 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports["default"] = asyncComponent;
|
|
9
|
-
|
|
10
8
|
var _react = _interopRequireDefault(require("react"));
|
|
11
|
-
|
|
12
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
13
|
-
|
|
14
|
-
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
15
|
-
|
|
10
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
16
11
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
17
|
-
|
|
18
12
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
19
|
-
|
|
20
13
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
21
|
-
|
|
22
14
|
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
23
|
-
|
|
24
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
25
|
-
|
|
15
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
26
16
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
27
|
-
|
|
28
17
|
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
29
|
-
|
|
30
18
|
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
31
|
-
|
|
32
19
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
33
|
-
|
|
34
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
35
|
-
|
|
20
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
36
21
|
function asyncComponent(getComponent) {
|
|
37
22
|
return /*#__PURE__*/function (_React$Component) {
|
|
38
23
|
_inherits(AsyncComponent, _React$Component);
|
|
39
|
-
|
|
40
24
|
var _super = _createSuper(AsyncComponent);
|
|
41
|
-
|
|
42
25
|
function AsyncComponent(props) {
|
|
43
26
|
var _this;
|
|
44
|
-
|
|
45
27
|
_classCallCheck(this, AsyncComponent);
|
|
46
|
-
|
|
47
28
|
_this = _super.call(this, props);
|
|
48
29
|
_this.state = {
|
|
49
30
|
Component: null
|
|
@@ -53,12 +34,10 @@ function asyncComponent(getComponent) {
|
|
|
53
34
|
_this.loadComponent = _this.loadComponent.bind(_assertThisInitialized(_this));
|
|
54
35
|
return _this;
|
|
55
36
|
}
|
|
56
|
-
|
|
57
37
|
_createClass(AsyncComponent, [{
|
|
58
38
|
key: "loadComponent",
|
|
59
39
|
value: function loadComponent() {
|
|
60
40
|
var _this2 = this;
|
|
61
|
-
|
|
62
41
|
var component = getComponent(this.props);
|
|
63
42
|
component.then(function (Component) {
|
|
64
43
|
if (_this2.mount) {
|
|
@@ -66,7 +45,8 @@ function asyncComponent(getComponent) {
|
|
|
66
45
|
Component: Component
|
|
67
46
|
});
|
|
68
47
|
}
|
|
69
|
-
})["catch"](function (e) {
|
|
48
|
+
})["catch"](function (e) {
|
|
49
|
+
//console.log(e);
|
|
70
50
|
});
|
|
71
51
|
}
|
|
72
52
|
}, {
|
|
@@ -96,13 +76,11 @@ function asyncComponent(getComponent) {
|
|
|
96
76
|
key: "render",
|
|
97
77
|
value: function render() {
|
|
98
78
|
var Component = this.state.Component;
|
|
99
|
-
|
|
100
79
|
if (Component) {
|
|
101
80
|
return /*#__PURE__*/_react["default"].createElement(Component, _extends({}, this.props, {
|
|
102
81
|
ref: this.getRef
|
|
103
82
|
}));
|
|
104
83
|
}
|
|
105
|
-
|
|
106
84
|
return null;
|
|
107
85
|
}
|
|
108
86
|
}, {
|
|
@@ -111,7 +89,6 @@ function asyncComponent(getComponent) {
|
|
|
111
89
|
this.mount = null;
|
|
112
90
|
}
|
|
113
91
|
}]);
|
|
114
|
-
|
|
115
92
|
return AsyncComponent;
|
|
116
93
|
}(_react["default"].Component);
|
|
117
94
|
}
|