@zohodesk/dot 1.0.0-beta.231 → 1.0.0-beta.234
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 +13 -1
- package/es/alert/AlertLookup/AlertLookup.js +11 -4
- package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +4 -3
- package/es/docs/generalDocs.js +5 -2
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +3 -4
- package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +3 -3
- package/es/emptystate/EditionPage/EditionPage.js +1 -1
- package/es/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/es/errorstate/NoRequestFound/NoRequestFound.js +1 -1
- package/es/errorstate/PermissionPlay/PermissionPlay.js +1 -1
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +1 -1
- package/es/errorstate/UnableToProcess/UnableToProcess.js +1 -1
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/es/errorstate/WillBack/WillBack.js +1 -1
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
- package/es/list/SecondaryText/docs/SecondaryText__default.docs.js +114 -0
- package/es/list/status/StatusDropdown/StatusDropdown.js +3 -2
- package/es/lookup/EmptyPage/EmptyPage.js +4 -4
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/es/svg/PlusIcon.js +1 -1
- package/es/svg/SnippetIcon.js +1 -1
- package/es/svg/TemplateIcon.js +1 -1
- package/es/version2/GlobalNotification/GlobalNotification.js +0 -2
- package/es/version2/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/es/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -1
- package/es/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
- package/es/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/es/version2/errorstate/UrlNotFound/UrlNotFound.js +1 -1
- package/es/version2/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
- package/lib/alert/AlertLookup/AlertLookup.js +11 -4
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +4 -3
- package/lib/docs/generalDocs.js +8 -0
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +3 -2
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +3 -3
- package/lib/emptystate/EditionPage/EditionPage.js +1 -1
- package/lib/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +1 -1
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +1 -1
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +1 -1
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +1 -1
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/lib/errorstate/WillBack/WillBack.js +1 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +2 -2
- package/lib/list/SecondaryText/docs/SecondaryText__default.docs.js +162 -0
- package/lib/list/status/StatusDropdown/StatusDropdown.js +3 -2
- package/lib/lookup/EmptyPage/EmptyPage.js +4 -4
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +1 -1
- package/lib/svg/PlusIcon.js +1 -1
- package/lib/svg/SnippetIcon.js +1 -1
- package/lib/svg/TemplateIcon.js +1 -1
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +1 -1
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +1 -1
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +1 -1
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +1 -1
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +1 -1
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +1 -1
- package/package.json +7 -6
- package/es/list/SecondaryText/docs/ContactName__default.docs.js +0 -23
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +0 -73
package/README.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
In this Library, we Provide Some Basic Components to Build Your Application
|
|
4
4
|
|
|
5
|
+
# 1.0.0-beta.234
|
|
6
|
+
|
|
7
|
+
- AlertLookup V1 => isHtmlContent prop added
|
|
8
|
+
|
|
9
|
+
# 1.0.0-beta.233
|
|
10
|
+
|
|
11
|
+
- ToggleDropDown , StatusDropdown => preventParentScroll implemented
|
|
12
|
+
|
|
13
|
+
# 1.0.0-beta.232
|
|
14
|
+
|
|
15
|
+
- Svg path updated
|
|
16
|
+
|
|
5
17
|
# 1.0.0-beta.231
|
|
6
18
|
|
|
7
19
|
- :focus in css removed
|
|
@@ -62,7 +74,7 @@ In this Library, we Provide Some Basic Components to Build Your Application
|
|
|
62
74
|
|
|
63
75
|
# 1.0.0-beta.216
|
|
64
76
|
|
|
65
|
-
- CurrencyField => formatCurrency call if check fixed (
|
|
77
|
+
- CurrencyField => formatCurrency call if check fixed (value will formatted when isActive is false)
|
|
66
78
|
|
|
67
79
|
# 1.0.0-beta.215
|
|
68
80
|
|
|
@@ -90,7 +90,8 @@ export default class AlertLookup extends Component {
|
|
|
90
90
|
iconName,
|
|
91
91
|
iconClass,
|
|
92
92
|
iconSize,
|
|
93
|
-
customProps
|
|
93
|
+
customProps,
|
|
94
|
+
isHtmlContent
|
|
94
95
|
} = this.props;
|
|
95
96
|
const {
|
|
96
97
|
LookupProps = {},
|
|
@@ -120,7 +121,11 @@ export default class AlertLookup extends Component {
|
|
|
120
121
|
className: style.section
|
|
121
122
|
}, /*#__PURE__*/React.createElement("div", {
|
|
122
123
|
className: `${style.innerSection} ${sectionClassName}`
|
|
123
|
-
}, children ? children : /*#__PURE__*/React.createElement(React.Fragment, null,
|
|
124
|
+
}, children ? children : /*#__PURE__*/React.createElement(React.Fragment, null, isHtmlContent && message ? /*#__PURE__*/React.createElement("div", {
|
|
125
|
+
dangerouslySetInnerHTML: {
|
|
126
|
+
__html: message
|
|
127
|
+
}
|
|
128
|
+
}) : /*#__PURE__*/React.createElement("div", null, message), confirmationMessage && /*#__PURE__*/React.createElement("div", {
|
|
124
129
|
className: style.text
|
|
125
130
|
}, confirmationMessage))), submitText || onSubmitClick || cancelText || onCancelClick ? /*#__PURE__*/React.createElement(FormAction, {
|
|
126
131
|
size: "small",
|
|
@@ -172,7 +177,8 @@ AlertLookup.propTypes = {
|
|
|
172
177
|
PrimaryButtonProps: PropTypes.object,
|
|
173
178
|
SecondaryButtonProps: PropTypes.object
|
|
174
179
|
}),
|
|
175
|
-
onEsc: PropTypes.oneOf(['close', 'cancel'])
|
|
180
|
+
onEsc: PropTypes.oneOf(['close', 'cancel']),
|
|
181
|
+
isHtmlContent: PropTypes.bool
|
|
176
182
|
};
|
|
177
183
|
AlertLookup.defaultProps = {
|
|
178
184
|
isActive: false,
|
|
@@ -185,7 +191,8 @@ AlertLookup.defaultProps = {
|
|
|
185
191
|
customClass: '',
|
|
186
192
|
isDefaultFocus: true,
|
|
187
193
|
customProps: {},
|
|
188
|
-
onEsc: 'cancel'
|
|
194
|
+
onEsc: 'cancel',
|
|
195
|
+
isHtmlContent: false
|
|
189
196
|
};
|
|
190
197
|
|
|
191
198
|
if (false) {
|
|
@@ -80,12 +80,13 @@ export default class AlertLookup__default extends Component {
|
|
|
80
80
|
},
|
|
81
81
|
onCancelClick: this.onCancel,
|
|
82
82
|
title: "Delete Ticket",
|
|
83
|
-
message: "Deleting this Ticket will move their Activities, and Time Entry to the Recycle Bin
|
|
83
|
+
message: "<h2>Deleting this Ticket will move their Activities, and Time Entry to the Recycle Bin.</h2>",
|
|
84
84
|
confirmationMessage: "Would you like to delete?",
|
|
85
85
|
submitText: "Delete",
|
|
86
86
|
cancelText: "Cancel",
|
|
87
87
|
onClose: this.onClose,
|
|
88
|
-
onEsc: "close"
|
|
88
|
+
onEsc: "close",
|
|
89
|
+
isHtmlContent: true
|
|
89
90
|
}), /*#__PURE__*/React.createElement(AlertLookup, {
|
|
90
91
|
isActive: lookup === 'remoteAssist' ? true : false,
|
|
91
92
|
type: "remoteAssist",
|
|
@@ -95,7 +96,7 @@ export default class AlertLookup__default extends Component {
|
|
|
95
96
|
},
|
|
96
97
|
onCancelClick: this.onCancel,
|
|
97
98
|
title: "Remote Assist",
|
|
98
|
-
message: /*#__PURE__*/React.createElement("div", null, "You are about to send an invite for remote assistance to",
|
|
99
|
+
message: /*#__PURE__*/React.createElement("div", null, "You are about to send an invite for remote assistance to ", /*#__PURE__*/React.createElement("b", null, "antro.avemaxa@gmail.com")),
|
|
99
100
|
confirmationMessage: "Would you like to continue?",
|
|
100
101
|
submitText: "Continue",
|
|
101
102
|
cancelText: "Cancel"
|
package/es/docs/generalDocs.js
CHANGED
|
@@ -131,5 +131,8 @@ export { default as V2_ErrState_OopsSomethingMiss } from '../version2/errorstate
|
|
|
131
131
|
export { default as V2_ErrState_OopsSomethingMiss__default } from '../version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs';
|
|
132
132
|
/* Attachment Viewer */
|
|
133
133
|
|
|
134
|
-
export { default as AttachmentViewer } from
|
|
135
|
-
export { default as AttachmentViewer__default } from
|
|
134
|
+
export { default as AttachmentViewer } from '../AttachmentViewer/AttachmentViewer';
|
|
135
|
+
export { default as AttachmentViewer__default } from '../AttachmentViewer/docs/AttachmentViewer__default.docs';
|
|
136
|
+
/* Secondary Text */
|
|
137
|
+
|
|
138
|
+
export { default as SecondaryText__default } from '../list/SecondaryText/docs/SecondaryText__default.docs';
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import "core-js/modules/es.array.includes";
|
|
2
|
-
|
|
3
1
|
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); }
|
|
4
2
|
|
|
5
3
|
import React, { Component, Fragment } from 'react';
|
|
@@ -11,9 +9,9 @@ import ListItem from '@zohodesk/components/lib/ListItem/ListItem';
|
|
|
11
9
|
import ListItemWithIcon from '@zohodesk/components/lib/ListItem/ListItemWithIcon';
|
|
12
10
|
import DropDownHeading from '@zohodesk/components/lib/DropDown/DropDownHeading';
|
|
13
11
|
import TextBoxIcon from '@zohodesk/components/lib/TextBoxIcon/TextBoxIcon';
|
|
14
|
-
import Loader from '@zohodesk/svg/lib/
|
|
12
|
+
import Loader from '@zohodesk/svg/lib/Loader/Loader';
|
|
15
13
|
import CommonEmptyState from '../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
16
|
-
import EmptySearch from '@zohodesk/svg/lib/
|
|
14
|
+
import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
|
|
17
15
|
import CssProvider from '@zohodesk/components/lib/Provider/CssProvider';
|
|
18
16
|
import { scrollTo } from '@zohodesk/components/lib/utils/Common';
|
|
19
17
|
import { getUniqueId } from '@zohodesk/components/lib/Provider/IdProvider';
|
|
@@ -675,6 +673,7 @@ export class ToggleDropDown extends Component {
|
|
|
675
673
|
flexible: true,
|
|
676
674
|
shrink: true,
|
|
677
675
|
scroll: "vertical",
|
|
676
|
+
preventParentScroll: "vertical",
|
|
678
677
|
dataId: `${dataId}_list`,
|
|
679
678
|
className: `${tabletMode ? style.responsivemaxHgt : style.maxHgt}`,
|
|
680
679
|
eleRef: this.scrollContentRef,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import CommonEmptyState from '../CommonEmptyState';
|
|
3
|
-
import EmptySearch from '@zohodesk/svg/lib/
|
|
4
|
-
import EmptyAccounts from '@zohodesk/svg/lib/
|
|
5
|
-
import EmptyTicket from '@zohodesk/svg/lib/
|
|
3
|
+
import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
|
|
4
|
+
import EmptyAccounts from '@zohodesk/svg/lib/emptystate/version3/EmptyAccounts';
|
|
5
|
+
import EmptyTicket from '@zohodesk/svg/lib/emptystate/version3/EmptyTicket';
|
|
6
6
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
7
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
8
8
|
export default class CommonEmptyState__default extends Component {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import { PropTypes } from 'prop-types';
|
|
3
|
-
import EmptyCrmPotential from '@zohodesk/svg/lib/
|
|
3
|
+
import EmptyCrmPotential from '@zohodesk/svg/lib/emptystate/version3/EmptyCrmPotential';
|
|
4
4
|
import style from './EditionPage.css';
|
|
5
5
|
export default class EditionPage extends Component {
|
|
6
6
|
constructor(props) {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import LinkText from '../LinkText/LinkText';
|
|
5
|
-
import InconvenienceSVG from '@zohodesk/svg/lib/
|
|
5
|
+
import InconvenienceSVG from '@zohodesk/svg/lib/errorstate/version1/EmptyInconvenience';
|
|
6
6
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
7
7
|
import commonStyle from '../EmptyStates.module.css';
|
|
8
8
|
import style from './Inconvenience.module.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import commonStyle from '../EmptyStates.module.css';
|
|
4
|
-
import NoRequestFoundSVG from '@zohodesk/svg/lib/
|
|
4
|
+
import NoRequestFoundSVG from '@zohodesk/svg/lib/errorstate/version1/NoRequestFound';
|
|
5
5
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
6
6
|
import LinkText from '../LinkText/LinkText';
|
|
7
7
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import LinkText from '../LinkText/LinkText';
|
|
5
|
-
import UnauthorizedLoginSVG from '@zohodesk/svg/lib/
|
|
5
|
+
import UnauthorizedLoginSVG from '@zohodesk/svg/lib/errorstate/version1/UnauthorizedLogin';
|
|
6
6
|
import commonStyle from '../EmptyStates.module.css';
|
|
7
7
|
import style from './PermissionPlay.module.css';
|
|
8
8
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
4
|
-
import UrlNotFound from '@zohodesk/svg/lib/
|
|
4
|
+
import UrlNotFound from '@zohodesk/svg/lib/errorstate/version1/UrlNotFound';
|
|
5
5
|
import LinkText from '../LinkText/LinkText';
|
|
6
6
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
7
7
|
import commonStyle from '../EmptyStates.module.css';
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import LinkText from '../LinkText/LinkText';
|
|
5
|
-
import UnableToProcessRequest from '@zohodesk/svg/lib/
|
|
5
|
+
import UnableToProcessRequest from '@zohodesk/svg/lib/errorstate/version1/UnableToProcessRequest';
|
|
6
6
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
7
7
|
import commonStyle from '../EmptyStates.module.css';
|
|
8
8
|
import style from './UnableToProcess.module.css';
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import LinkText from '../LinkText/LinkText';
|
|
5
|
-
import UnauthorizedLoginSVG from '@zohodesk/svg/lib/
|
|
5
|
+
import UnauthorizedLoginSVG from '@zohodesk/svg/lib/errorstate/version1/UnauthorizedLogin';
|
|
6
6
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
7
7
|
import commonStyle from '../EmptyStates.module.css';
|
|
8
8
|
import style from './UnauthorizedLogin.module.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
4
|
-
import WillBeRightBack from '@zohodesk/svg/lib/
|
|
4
|
+
import WillBeRightBack from '@zohodesk/svg/lib/errorstate/version1/WillBeRightBack';
|
|
5
5
|
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
6
6
|
import commonStyle from '../EmptyStates.module.css';
|
|
7
7
|
import style from './WillBack.module.css';
|
|
@@ -3,9 +3,9 @@ import PropTypes from 'prop-types';
|
|
|
3
3
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import Tag from '@zohodesk/components/lib/Tag/Tag';
|
|
5
5
|
import TextBoxIcon from '@zohodesk/components/lib/TextBoxIcon/TextBoxIcon';
|
|
6
|
-
import EmptySearch from '@zohodesk/svg/lib/
|
|
6
|
+
import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
|
|
7
7
|
import ListItem from '@zohodesk/components/lib/ListItem/ListItem';
|
|
8
|
-
import Loader from '@zohodesk/svg/lib/
|
|
8
|
+
import Loader from '@zohodesk/svg/lib/Loader/Loader';
|
|
9
9
|
import DropDownSeparator from '@zohodesk/components/lib/DropDown/DropDownSeparator';
|
|
10
10
|
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
11
11
|
import ResponsiveDropBox from '@zohodesk/components/lib/ResponsiveDropBox/ResponsiveDropBox';
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
3
|
+
import { ContactName, AccountName, DepartmentText, Email, HappinessRating, PhoneNumber, PriorityText, SecondaryText, StatusText, TicketId, Website } from '../index';
|
|
4
|
+
export default class SecondaryText__default extends Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
const boxStyle = {
|
|
11
|
+
padding: '10px',
|
|
12
|
+
border: '2px solid #000',
|
|
13
|
+
width: '30%',
|
|
14
|
+
margin: '5px'
|
|
15
|
+
};
|
|
16
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Container, {
|
|
17
|
+
alignBox: "column",
|
|
18
|
+
wrap: "wrap",
|
|
19
|
+
align: "both"
|
|
20
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
21
|
+
style: boxStyle
|
|
22
|
+
}, /*#__PURE__*/React.createElement("div", null, "ContactName"), /*#__PURE__*/React.createElement(ContactName, {
|
|
23
|
+
text: "Antro Contact",
|
|
24
|
+
isPaidUser: true,
|
|
25
|
+
sentimentType: "positive"
|
|
26
|
+
}), /*#__PURE__*/React.createElement(ContactName, {
|
|
27
|
+
text: "Antro Contact",
|
|
28
|
+
isPaidUser: true,
|
|
29
|
+
sentimentType: "negative"
|
|
30
|
+
}), /*#__PURE__*/React.createElement(ContactName, {
|
|
31
|
+
text: "Antro Contact",
|
|
32
|
+
isPaidUser: true,
|
|
33
|
+
sentimentType: "neutral"
|
|
34
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
35
|
+
style: boxStyle
|
|
36
|
+
}, /*#__PURE__*/React.createElement("div", null, "AccountName"), /*#__PURE__*/React.createElement(AccountName, {
|
|
37
|
+
text: "Antro Contact ",
|
|
38
|
+
secondaryAccountText: " secondaryAccountText",
|
|
39
|
+
fontWeight: "semibold"
|
|
40
|
+
}), /*#__PURE__*/React.createElement(AccountName, {
|
|
41
|
+
text: "Antro Contact ",
|
|
42
|
+
secondaryAccountText: " secondaryAccountText",
|
|
43
|
+
fontWeight: "bold"
|
|
44
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
45
|
+
style: boxStyle
|
|
46
|
+
}, /*#__PURE__*/React.createElement("div", null, "DepartmentText"), /*#__PURE__*/React.createElement(DepartmentText, {
|
|
47
|
+
text: "Antro Contact"
|
|
48
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
49
|
+
style: boxStyle
|
|
50
|
+
}, /*#__PURE__*/React.createElement("div", null, "Email"), /*#__PURE__*/React.createElement(Email, {
|
|
51
|
+
text: "Antro Contact"
|
|
52
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
53
|
+
style: boxStyle
|
|
54
|
+
}, /*#__PURE__*/React.createElement("div", null, "HappinessRating"), /*#__PURE__*/React.createElement(HappinessRating, {
|
|
55
|
+
text: "100",
|
|
56
|
+
src: "https://hjemly.dk/wp-content/uploads/2016/05/facebook-default-no-profile-pic.jpg"
|
|
57
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
58
|
+
style: boxStyle
|
|
59
|
+
}, /*#__PURE__*/React.createElement("div", null, "PhoneNumber"), /*#__PURE__*/React.createElement(PhoneNumber, {
|
|
60
|
+
text: "1243123434543"
|
|
61
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
62
|
+
style: boxStyle
|
|
63
|
+
}, /*#__PURE__*/React.createElement("div", null, "PriorityText"), /*#__PURE__*/React.createElement(PriorityText, {
|
|
64
|
+
text: "Antro Contact",
|
|
65
|
+
color: "red"
|
|
66
|
+
}), /*#__PURE__*/React.createElement(PriorityText, {
|
|
67
|
+
text: "Antro Contact",
|
|
68
|
+
color: "green"
|
|
69
|
+
}), /*#__PURE__*/React.createElement(PriorityText, {
|
|
70
|
+
text: "Antro Contact",
|
|
71
|
+
color: "gray"
|
|
72
|
+
}), /*#__PURE__*/React.createElement(PriorityText, {
|
|
73
|
+
text: "Antro Contact",
|
|
74
|
+
color: "orange"
|
|
75
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
76
|
+
style: boxStyle
|
|
77
|
+
}, /*#__PURE__*/React.createElement("div", null, "SecondaryText"), /*#__PURE__*/React.createElement(SecondaryText, {
|
|
78
|
+
text: "Antro Contact"
|
|
79
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
80
|
+
style: boxStyle
|
|
81
|
+
}, /*#__PURE__*/React.createElement("div", null, "StatusText"), /*#__PURE__*/React.createElement(StatusText, {
|
|
82
|
+
text: "Antro Contact",
|
|
83
|
+
color: "red"
|
|
84
|
+
}), /*#__PURE__*/React.createElement(StatusText, {
|
|
85
|
+
text: "Antro Contact",
|
|
86
|
+
color: "green"
|
|
87
|
+
}), /*#__PURE__*/React.createElement(StatusText, {
|
|
88
|
+
text: "Antro Contact",
|
|
89
|
+
color: "gray"
|
|
90
|
+
}), /*#__PURE__*/React.createElement(StatusText, {
|
|
91
|
+
text: "Antro Contact",
|
|
92
|
+
color: "orange"
|
|
93
|
+
}), /*#__PURE__*/React.createElement(StatusText, {
|
|
94
|
+
text: "Antro Contact",
|
|
95
|
+
color: "black"
|
|
96
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
97
|
+
style: boxStyle
|
|
98
|
+
}, /*#__PURE__*/React.createElement("div", null, "TicketId"), /*#__PURE__*/React.createElement(TicketId, {
|
|
99
|
+
text: "124213234"
|
|
100
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
101
|
+
style: boxStyle
|
|
102
|
+
}, /*#__PURE__*/React.createElement("div", null, "Website"), /*#__PURE__*/React.createElement(Website, {
|
|
103
|
+
text: "https://www.zoho.com/"
|
|
104
|
+
}))));
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
if (false) {
|
|
110
|
+
SecondaryText__default.docs = {
|
|
111
|
+
folderName: 'List',
|
|
112
|
+
componentGroup: 'SecondaryText'
|
|
113
|
+
};
|
|
114
|
+
}
|
|
@@ -5,8 +5,8 @@ import Popup from '@zohodesk/components/lib/Popup/Popup';
|
|
|
5
5
|
import { Box, Container } from '@zohodesk/components/lib/Layout';
|
|
6
6
|
import DropDownHeading from '@zohodesk/components/lib/DropDown/DropDownHeading';
|
|
7
7
|
import TextBoxIcon from '@zohodesk/components/lib/TextBoxIcon/TextBoxIcon';
|
|
8
|
-
import Loader from '@zohodesk/svg/lib/
|
|
9
|
-
import EmptySearch from '@zohodesk/svg/lib/
|
|
8
|
+
import Loader from '@zohodesk/svg/lib/Loader/Loader';
|
|
9
|
+
import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
|
|
10
10
|
import { scrollTo } from '@zohodesk/components/lib/utils/Common.js';
|
|
11
11
|
import TextBox from '@zohodesk/components/lib/TextBox/TextBox';
|
|
12
12
|
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
@@ -402,6 +402,7 @@ export class StatusDropdown extends React.Component {
|
|
|
402
402
|
flexible: true,
|
|
403
403
|
shrink: true,
|
|
404
404
|
dataId: `${dataId}_list`,
|
|
405
|
+
preventParentScroll: "vertical",
|
|
405
406
|
className: `${tabletMode ? style.responsivemaxHgt : style.maxHgt}`,
|
|
406
407
|
eleRef: this.scrollContentRef,
|
|
407
408
|
onScroll: this.handleScroll,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/*** Libraries ***/
|
|
2
2
|
import React, { Component } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
|
-
import EmptySearch from '@zohodesk/svg/lib/
|
|
5
|
-
import EmptyAccounts from '@zohodesk/svg/lib/
|
|
6
|
-
import EmptyContact from '@zohodesk/svg/lib/
|
|
7
|
-
import EmptyProducts from '@zohodesk/svg/lib/
|
|
4
|
+
import EmptySearch from '@zohodesk/svg/lib/emptystate/version3/EmptySearch';
|
|
5
|
+
import EmptyAccounts from '@zohodesk/svg/lib/emptystate/version3/EmptyAccounts';
|
|
6
|
+
import EmptyContact from '@zohodesk/svg/lib/emptystate/version3/EmptyContact';
|
|
7
|
+
import EmptyProducts from '@zohodesk/svg/lib/emptystate/version3/EmptyProducts';
|
|
8
8
|
/*** CSS ***/
|
|
9
9
|
|
|
10
10
|
import style from './LookupEmptyPage.module.css';
|
|
@@ -14,7 +14,7 @@ import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomRe
|
|
|
14
14
|
|
|
15
15
|
import Icon from '@zohodesk/icons/lib/Icon';
|
|
16
16
|
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
17
|
-
import Loader from '@zohodesk/svg/lib/
|
|
17
|
+
import Loader from '@zohodesk/svg/lib/Loader/Loader';
|
|
18
18
|
import style from './ViewDropDown.module.css';
|
|
19
19
|
/* eslint-disable react/forbid-component-props */
|
|
20
20
|
|
package/es/svg/PlusIcon.js
CHANGED
package/es/svg/SnippetIcon.js
CHANGED
package/es/svg/TemplateIcon.js
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import "core-js/modules/es.array.includes";
|
|
2
|
-
|
|
3
1
|
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); }
|
|
4
2
|
|
|
5
3
|
import React from 'react';
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import CommonEmptyState from './../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
5
|
-
import ErrorInconvenience from '@zohodesk/svg/lib/
|
|
5
|
+
import ErrorInconvenience from '@zohodesk/svg/lib/errorstate/version3/ErrorInconvenience';
|
|
6
6
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
7
|
import style from './../V2_ErrorStates.module.css';
|
|
8
8
|
export default class Inconvenience extends React.Component {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
5
|
-
import ErrorOopsSomethingMiss from '@zohodesk/svg/lib/
|
|
5
|
+
import ErrorOopsSomethingMiss from '@zohodesk/svg/lib/errorstate/version3/ErrorOopsSomethingMiss';
|
|
6
6
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
7
|
import style from './../V2_ErrorStates.module.css';
|
|
8
8
|
export default class OopsSomethingMiss extends React.Component {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
5
|
-
import ErrorUnableToProcessRequest from '@zohodesk/svg/lib/
|
|
5
|
+
import ErrorUnableToProcessRequest from '@zohodesk/svg/lib/errorstate/version3/ErrorUnableToProcessRequest';
|
|
6
6
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
7
|
import style from './../V2_ErrorStates.module.css';
|
|
8
8
|
export default class UnableToProcessRequest extends React.Component {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
5
|
-
import ErrorUnauthorizedLogin from '@zohodesk/svg/lib/
|
|
5
|
+
import ErrorUnauthorizedLogin from '@zohodesk/svg/lib/errorstate/version3/ErrorUnauthorizedLogin';
|
|
6
6
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
7
|
import style from './../V2_ErrorStates.module.css';
|
|
8
8
|
export default class UnauthorizedLogin extends React.Component {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
5
|
-
import ErrorUrlNotFound from '@zohodesk/svg/lib/
|
|
5
|
+
import ErrorUrlNotFound from '@zohodesk/svg/lib/errorstate/version3/ErrorUrlNotFound';
|
|
6
6
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
7
|
import style from './../V2_ErrorStates.module.css';
|
|
8
8
|
export default class UrlNotFound extends React.Component {
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import { Container } from '@zohodesk/components/lib/Layout';
|
|
4
4
|
import CommonEmptyState from '../../../emptystate/CommonEmptyState/CommonEmptyState';
|
|
5
|
-
import ErrorWillBeRightBack from '@zohodesk/svg/lib/
|
|
5
|
+
import ErrorWillBeRightBack from '@zohodesk/svg/lib/errorstate/version3/ErrorWillBeRightBack';
|
|
6
6
|
import Button from '@zohodesk/components/lib/Button/Button';
|
|
7
7
|
import style from './../V2_ErrorStates.module.css';
|
|
8
8
|
export default class WillBeRightBack extends React.Component {
|
|
@@ -138,7 +138,8 @@ var AlertLookup = /*#__PURE__*/function (_Component) {
|
|
|
138
138
|
iconName = _this$props2.iconName,
|
|
139
139
|
iconClass = _this$props2.iconClass,
|
|
140
140
|
iconSize = _this$props2.iconSize,
|
|
141
|
-
customProps = _this$props2.customProps
|
|
141
|
+
customProps = _this$props2.customProps,
|
|
142
|
+
isHtmlContent = _this$props2.isHtmlContent;
|
|
142
143
|
var _customProps$LookupPr = customProps.LookupProps,
|
|
143
144
|
LookupProps = _customProps$LookupPr === void 0 ? {} : _customProps$LookupPr,
|
|
144
145
|
_customProps$AlertHea = customProps.AlertHeaderProps,
|
|
@@ -169,7 +170,11 @@ var AlertLookup = /*#__PURE__*/function (_Component) {
|
|
|
169
170
|
className: _AlertLookupModule["default"].section
|
|
170
171
|
}, /*#__PURE__*/_react["default"].createElement("div", {
|
|
171
172
|
className: "".concat(_AlertLookupModule["default"].innerSection, " ").concat(sectionClassName)
|
|
172
|
-
}, children ? children : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null,
|
|
173
|
+
}, children ? children : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isHtmlContent && message ? /*#__PURE__*/_react["default"].createElement("div", {
|
|
174
|
+
dangerouslySetInnerHTML: {
|
|
175
|
+
__html: message
|
|
176
|
+
}
|
|
177
|
+
}) : /*#__PURE__*/_react["default"].createElement("div", null, message), confirmationMessage && /*#__PURE__*/_react["default"].createElement("div", {
|
|
173
178
|
className: _AlertLookupModule["default"].text
|
|
174
179
|
}, confirmationMessage))), submitText || onSubmitClick || cancelText || onCancelClick ? /*#__PURE__*/_react["default"].createElement(_FormAction["default"], {
|
|
175
180
|
size: "small",
|
|
@@ -225,7 +230,8 @@ AlertLookup.propTypes = {
|
|
|
225
230
|
PrimaryButtonProps: _propTypes["default"].object,
|
|
226
231
|
SecondaryButtonProps: _propTypes["default"].object
|
|
227
232
|
}),
|
|
228
|
-
onEsc: _propTypes["default"].oneOf(['close', 'cancel'])
|
|
233
|
+
onEsc: _propTypes["default"].oneOf(['close', 'cancel']),
|
|
234
|
+
isHtmlContent: _propTypes["default"].bool
|
|
229
235
|
};
|
|
230
236
|
AlertLookup.defaultProps = {
|
|
231
237
|
isActive: false,
|
|
@@ -238,7 +244,8 @@ AlertLookup.defaultProps = {
|
|
|
238
244
|
customClass: '',
|
|
239
245
|
isDefaultFocus: true,
|
|
240
246
|
customProps: {},
|
|
241
|
-
onEsc: 'cancel'
|
|
247
|
+
onEsc: 'cancel',
|
|
248
|
+
isHtmlContent: false
|
|
242
249
|
};
|
|
243
250
|
|
|
244
251
|
if (false) {
|
|
@@ -131,12 +131,13 @@ var AlertLookup__default = /*#__PURE__*/function (_Component) {
|
|
|
131
131
|
},
|
|
132
132
|
onCancelClick: this.onCancel,
|
|
133
133
|
title: "Delete Ticket",
|
|
134
|
-
message: "Deleting this Ticket will move their Activities, and Time Entry to the Recycle Bin
|
|
134
|
+
message: "<h2>Deleting this Ticket will move their Activities, and Time Entry to the Recycle Bin.</h2>",
|
|
135
135
|
confirmationMessage: "Would you like to delete?",
|
|
136
136
|
submitText: "Delete",
|
|
137
137
|
cancelText: "Cancel",
|
|
138
138
|
onClose: this.onClose,
|
|
139
|
-
onEsc: "close"
|
|
139
|
+
onEsc: "close",
|
|
140
|
+
isHtmlContent: true
|
|
140
141
|
}), /*#__PURE__*/_react["default"].createElement(_AlertLookup["default"], {
|
|
141
142
|
isActive: lookup === 'remoteAssist' ? true : false,
|
|
142
143
|
type: "remoteAssist",
|
|
@@ -146,7 +147,7 @@ var AlertLookup__default = /*#__PURE__*/function (_Component) {
|
|
|
146
147
|
},
|
|
147
148
|
onCancelClick: this.onCancel,
|
|
148
149
|
title: "Remote Assist",
|
|
149
|
-
message: /*#__PURE__*/_react["default"].createElement("div", null, "You are about to send an invite for remote assistance to",
|
|
150
|
+
message: /*#__PURE__*/_react["default"].createElement("div", null, "You are about to send an invite for remote assistance to ", /*#__PURE__*/_react["default"].createElement("b", null, "antro.avemaxa@gmail.com")),
|
|
150
151
|
confirmationMessage: "Would you like to continue?",
|
|
151
152
|
submitText: "Continue",
|
|
152
153
|
cancelText: "Cancel"
|
package/lib/docs/generalDocs.js
CHANGED
|
@@ -621,6 +621,12 @@ Object.defineProperty(exports, "SVG__default", {
|
|
|
621
621
|
return _SVG__default["default"];
|
|
622
622
|
}
|
|
623
623
|
});
|
|
624
|
+
Object.defineProperty(exports, "SecondaryText__default", {
|
|
625
|
+
enumerable: true,
|
|
626
|
+
get: function get() {
|
|
627
|
+
return _SecondaryText__default["default"];
|
|
628
|
+
}
|
|
629
|
+
});
|
|
624
630
|
Object.defineProperty(exports, "SecondryPanel", {
|
|
625
631
|
enumerable: true,
|
|
626
632
|
get: function get() {
|
|
@@ -1052,4 +1058,6 @@ var _AttachmentViewer = _interopRequireDefault(require("../AttachmentViewer/Atta
|
|
|
1052
1058
|
|
|
1053
1059
|
var _AttachmentViewer__default = _interopRequireDefault(require("../AttachmentViewer/docs/AttachmentViewer__default.docs"));
|
|
1054
1060
|
|
|
1061
|
+
var _SecondaryText__default = _interopRequireDefault(require("../list/SecondaryText/docs/SecondaryText__default.docs"));
|
|
1062
|
+
|
|
1055
1063
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
@@ -25,11 +25,11 @@ var _DropDownHeading = _interopRequireDefault(require("@zohodesk/components/lib/
|
|
|
25
25
|
|
|
26
26
|
var _TextBoxIcon = _interopRequireDefault(require("@zohodesk/components/lib/TextBoxIcon/TextBoxIcon"));
|
|
27
27
|
|
|
28
|
-
var _Loader = _interopRequireDefault(require("@zohodesk/svg/lib/
|
|
28
|
+
var _Loader = _interopRequireDefault(require("@zohodesk/svg/lib/Loader/Loader"));
|
|
29
29
|
|
|
30
30
|
var _CommonEmptyState = _interopRequireDefault(require("../../emptystate/CommonEmptyState/CommonEmptyState"));
|
|
31
31
|
|
|
32
|
-
var _EmptySearch = _interopRequireDefault(require("@zohodesk/svg/lib/
|
|
32
|
+
var _EmptySearch = _interopRequireDefault(require("@zohodesk/svg/lib/emptystate/version3/EmptySearch"));
|
|
33
33
|
|
|
34
34
|
var _CssProvider = _interopRequireDefault(require("@zohodesk/components/lib/Provider/CssProvider"));
|
|
35
35
|
|
|
@@ -737,6 +737,7 @@ var ToggleDropDown = /*#__PURE__*/function (_Component) {
|
|
|
737
737
|
flexible: true,
|
|
738
738
|
shrink: true,
|
|
739
739
|
scroll: "vertical",
|
|
740
|
+
preventParentScroll: "vertical",
|
|
740
741
|
dataId: "".concat(dataId, "_list"),
|
|
741
742
|
className: "".concat(tabletMode ? _ToggleDropDownModule["default"].responsivemaxHgt : _ToggleDropDownModule["default"].maxHgt),
|
|
742
743
|
eleRef: _this5.scrollContentRef,
|