@zohodesk/dot 1.0.0-temp-89 → 1.0.0-temp-94
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 +26 -1
- package/es/Provider.js +5 -105
- package/es/alert/AlertLookup/AlertLookup.js +11 -4
- package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +4 -3
- package/es/docs/formDocs.js +5 -1
- package/es/docs/generalDocs.js +5 -2
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +3 -2
- package/es/dropdown/ToggleDropDown/ToggleDropDown.module.css +3 -2
- 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/CheckBoxField/CheckBoxField.js +16 -28
- package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +8 -1
- package/es/form/fields/CurrencyField/CurrencyField.js +16 -29
- package/es/form/fields/CurrencyField/docs/CurrencyField__default.docs.js +36 -0
- package/es/form/fields/DateField/DateField.js +16 -28
- package/es/form/fields/DateField/docs/DateField__default.docs.js +8 -1
- package/es/form/fields/FieldContainer/FieldContainer.js +82 -0
- package/es/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +49 -0
- package/es/form/fields/MultiSelectField/MultiSelectField.js +16 -28
- package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +8 -1
- package/es/form/fields/SelectField/SelectField.js +16 -28
- package/es/form/fields/SelectField/docs/SelectField__default.docs.js +8 -1
- package/es/form/fields/TagsMultiSelect/TagsMultiSelect.js +9 -6
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +32 -28
- package/es/form/fields/TextBoxField/TextBoxField.js +18 -43
- package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +28 -1
- package/es/form/fields/TextEditorField/TextEditorField.js +27 -44
- package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +9 -2
- package/es/form/fields/TextareaField/TextareaField.js +16 -28
- package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +8 -1
- package/es/form/fields/props/FieldCommonDefaultProps.js +10 -0
- package/es/form/fields/props/FieldCommonPropTypes.js +22 -0
- package/es/list/BluePrintStatus/BluePrintStatus.js +2 -4
- package/es/list/BluePrintStatus/BluePrintStatus.module.css +6 -8
- package/es/list/GridStencils/GridStencils.module.css +7 -18
- package/es/list/SecondaryText/AccountName.js +22 -39
- package/es/list/SecondaryText/ContactName.js +1 -3
- package/es/list/SecondaryText/SecondaryText.module.css +45 -15
- package/es/list/SecondaryText/docs/SecondaryText__default.docs.js +114 -0
- package/es/list/SentimentStatus/SentimentStatus.js +4 -6
- package/es/list/SentimentStatus/SentimentStatus.module.css +4 -9
- package/es/list/UserTime/UserTime.js +3 -5
- package/es/list/UserTime/UserTime.module.css +20 -3
- 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/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/Provider.js +6 -123
- package/lib/alert/AlertLookup/AlertLookup.js +11 -4
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +4 -3
- package/lib/docs/formDocs.js +32 -0
- package/lib/docs/generalDocs.js +8 -0
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +3 -2
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.module.css +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/CheckBoxField/CheckBoxField.js +23 -29
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +8 -1
- package/lib/form/fields/CurrencyField/CurrencyField.js +23 -30
- package/lib/{list/SecondaryText/docs/ContactName__default.docs.js → form/fields/CurrencyField/docs/CurrencyField__default.docs.js} +29 -16
- package/lib/form/fields/DateField/DateField.js +23 -29
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +8 -1
- package/lib/form/fields/FieldContainer/FieldContainer.js +136 -0
- package/lib/form/fields/FieldContainer/docs/FieldContainer__default.docs.js +104 -0
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +23 -29
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +8 -1
- package/lib/form/fields/SelectField/SelectField.js +23 -29
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +8 -1
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +9 -6
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +36 -30
- package/lib/form/fields/TextBoxField/TextBoxField.js +25 -45
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +35 -2
- package/lib/form/fields/TextEditorField/TextEditorField.js +33 -47
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +9 -2
- package/lib/form/fields/TextareaField/TextareaField.js +23 -29
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +8 -1
- package/lib/form/fields/props/FieldCommonDefaultProps.js +19 -0
- package/lib/form/fields/props/FieldCommonPropTypes.js +34 -0
- package/lib/list/BluePrintStatus/BluePrintStatus.js +2 -4
- package/lib/list/BluePrintStatus/BluePrintStatus.module.css +6 -8
- package/lib/list/GridStencils/GridStencils.module.css +7 -18
- package/lib/list/SecondaryText/AccountName.js +22 -40
- package/lib/list/SecondaryText/ContactName.js +1 -4
- package/lib/list/SecondaryText/SecondaryText.module.css +45 -15
- package/lib/list/SecondaryText/docs/SecondaryText__default.docs.js +162 -0
- package/lib/list/SentimentStatus/SentimentStatus.js +4 -6
- package/lib/list/SentimentStatus/SentimentStatus.module.css +4 -9
- package/lib/list/UserTime/UserTime.js +3 -5
- package/lib/list/UserTime/UserTime.module.css +20 -3
- 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 +10 -9
- package/es/list/SecondaryText/docs/ContactName__default.docs.js +0 -23
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
.stenLoading {
|
|
2
2
|
position: relative;
|
|
3
|
-
width: var(--zd_size265);
|
|
4
3
|
background-color: var(--zdt_gridstencils_default_bg);
|
|
5
4
|
border-bottom: 1px solid var(--zdt_gridstencils_default_border);
|
|
6
|
-
padding: var(--zd_size13) var(--
|
|
7
|
-
margin:
|
|
5
|
+
padding: var(--zd_size13) var(--zd_size15) var(--zd_size11) var(--zd_size15);
|
|
6
|
+
margin-bottom: var(--zd_size10) ;
|
|
8
7
|
border-radius: var(--zd_size5);
|
|
9
8
|
}
|
|
10
9
|
[dir=ltr] .stenLoadbody {
|
|
@@ -28,7 +27,6 @@
|
|
|
28
27
|
[dir=rtl] .stenLoadbody::after {
|
|
29
28
|
left: var(--zd_size20);
|
|
30
29
|
}
|
|
31
|
-
|
|
32
30
|
.lineBar {
|
|
33
31
|
width: 90%;
|
|
34
32
|
}
|
|
@@ -54,14 +52,14 @@
|
|
|
54
52
|
background-repeat: no-repeat;
|
|
55
53
|
}
|
|
56
54
|
[dir=ltr] .stenListBAr {
|
|
57
|
-
-webkit-animation-duration:var(--zd_transition10);
|
|
55
|
+
-webkit-animation-duration: var(--zd_transition10);
|
|
58
56
|
-webkit-animation-fill-mode: forwards;
|
|
59
57
|
-webkit-animation-iteration-count: infinite;
|
|
60
58
|
-webkit-animation-name: placeHolderShimmer;
|
|
61
59
|
-webkit-animation-timing-function: linear;
|
|
62
60
|
}
|
|
63
61
|
[dir=rtl] .stenListBAr {
|
|
64
|
-
-webkit-animation-duration:var(--zd_transition10);
|
|
62
|
+
-webkit-animation-duration: var(--zd_transition10);
|
|
65
63
|
-webkit-animation-fill-mode: forwards;
|
|
66
64
|
-webkit-animation-iteration-count: infinite;
|
|
67
65
|
-webkit-animation-name: placeHolderShimmer;
|
|
@@ -104,13 +102,11 @@
|
|
|
104
102
|
[dir=rtl] .threeLayout .stenLoadbody::before {
|
|
105
103
|
right: var(--zd_size16);
|
|
106
104
|
}
|
|
107
|
-
|
|
108
105
|
[dir=ltr] .threeLayout .stenLoadbody {
|
|
109
|
-
margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) 0
|
|
106
|
+
margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) 0;
|
|
110
107
|
}
|
|
111
|
-
|
|
112
108
|
[dir=rtl] .threeLayout .stenLoadbody {
|
|
113
|
-
margin: var(--zd_size8) 0 var(--zd_size8) var(--zd_size20)
|
|
109
|
+
margin: var(--zd_size8) 0 var(--zd_size8) var(--zd_size20);
|
|
114
110
|
}
|
|
115
111
|
.threeLayout .stenLoadbody::after {
|
|
116
112
|
top: var(--zd_size15);
|
|
@@ -122,31 +118,24 @@
|
|
|
122
118
|
[dir=rtl] .threeLayout .stenLoadbody::after {
|
|
123
119
|
left: var(--zd_size20);
|
|
124
120
|
}
|
|
125
|
-
|
|
126
121
|
[dir=ltr] .leftCont .stenLoadbody::before {
|
|
127
122
|
left: var(--zd_size33);
|
|
128
123
|
}
|
|
129
|
-
|
|
130
124
|
[dir=rtl] .leftCont .stenLoadbody::before {
|
|
131
125
|
right: var(--zd_size33);
|
|
132
126
|
}
|
|
133
|
-
|
|
134
127
|
[dir=ltr] .leftCont .stenLoadbody {
|
|
135
128
|
margin: var(--zd_size8) var(--zd_size20) var(--zd_size8) var(--zd_size46);
|
|
136
129
|
}
|
|
137
|
-
|
|
138
130
|
[dir=rtl] .leftCont .stenLoadbody {
|
|
139
131
|
margin: var(--zd_size8) var(--zd_size46) var(--zd_size8) var(--zd_size20);
|
|
140
132
|
}
|
|
141
|
-
|
|
142
133
|
[dir=ltr] .leftCont .stenLoadbody::after {
|
|
143
134
|
right: var(--zd_size40);
|
|
144
135
|
}
|
|
145
|
-
|
|
146
136
|
[dir=rtl] .leftCont .stenLoadbody::after {
|
|
147
137
|
left: var(--zd_size40);
|
|
148
138
|
}
|
|
149
|
-
|
|
150
139
|
.leftCont .lineBar {
|
|
151
140
|
width: 80%;
|
|
152
141
|
}
|
|
@@ -155,4 +144,4 @@
|
|
|
155
144
|
}
|
|
156
145
|
.leftCont .lineBar3 {
|
|
157
146
|
width: 40%;
|
|
158
|
-
}
|
|
147
|
+
}
|
|
@@ -11,8 +11,6 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
11
11
|
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
13
|
|
|
14
|
-
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
15
|
-
|
|
16
14
|
var _Link = _interopRequireDefault(require("../../Link/Link"));
|
|
17
15
|
|
|
18
16
|
var _SecondaryTextModule = _interopRequireDefault(require("./SecondaryText.module.css"));
|
|
@@ -82,44 +80,28 @@ var AccountName = /*#__PURE__*/function (_Component) {
|
|
|
82
80
|
TextProps = _customProps$TextProp === void 0 ? {} : _customProps$TextProp,
|
|
83
81
|
_customProps$Secondar = customProps.SecondaryTextProps,
|
|
84
82
|
SecondaryTextProps = _customProps$Secondar === void 0 ? {} : _customProps$Secondar;
|
|
85
|
-
return (
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
dataId: "".concat(dataId, "_link"),
|
|
108
|
-
className: "".concat(_SecondaryTextModule["default"].gridItem, " ").concat(_SecondaryTextModule["default"].link)
|
|
109
|
-
}, LinkProps), /*#__PURE__*/_react["default"].createElement("div", {
|
|
110
|
-
className: "".concat(_SecondaryTextModule["default"].textStyle, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '')
|
|
111
|
-
}, text)) : /*#__PURE__*/_react["default"].createElement("div", _extends({
|
|
112
|
-
className: "".concat(_SecondaryTextModule["default"].gridItem, " ").concat(_SecondaryTextModule["default"].secondaryText, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '', " ").concat(notAccessible ? _SecondaryTextModule["default"].disable : '')
|
|
113
|
-
}, TextProps), text)), secondaryAccountText && /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
114
|
-
href: secondaryAccountHref,
|
|
115
|
-
onClick: secondaryAccountClick,
|
|
116
|
-
className: "".concat(_SecondaryTextModule["default"].gridItem, " ").concat(_SecondaryTextModule["default"].link)
|
|
117
|
-
}, /*#__PURE__*/_react["default"].createElement("div", _extends({
|
|
118
|
-
className: "".concat(_SecondaryTextModule["default"].textStyle, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '')
|
|
119
|
-
}, SecondaryTextProps), secondaryAccountText))) // </Box>
|
|
120
|
-
// </Container>
|
|
121
|
-
|
|
122
|
-
);
|
|
83
|
+
return /*#__PURE__*/_react["default"].createElement("div", {
|
|
84
|
+
className: _SecondaryTextModule["default"].primaryAccountNameCnt,
|
|
85
|
+
"data-title": dataTitle,
|
|
86
|
+
"data-id": dataId
|
|
87
|
+
}, /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, isLink ? /*#__PURE__*/_react["default"].createElement(_Link["default"], _extends({
|
|
88
|
+
href: href,
|
|
89
|
+
urlName: urlName,
|
|
90
|
+
urlData: urlData,
|
|
91
|
+
onClick: onClick,
|
|
92
|
+
dataId: "".concat(dataId, "_link"),
|
|
93
|
+
className: "".concat(_SecondaryTextModule["default"].gridItem, " ").concat(_SecondaryTextModule["default"].link)
|
|
94
|
+
}, LinkProps), /*#__PURE__*/_react["default"].createElement("div", {
|
|
95
|
+
className: "".concat(_SecondaryTextModule["default"].textStyle, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '')
|
|
96
|
+
}, text)) : /*#__PURE__*/_react["default"].createElement("div", _extends({
|
|
97
|
+
className: "".concat(_SecondaryTextModule["default"].gridItem, " ").concat(_SecondaryTextModule["default"].secondaryText, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '', " ").concat(notAccessible ? _SecondaryTextModule["default"].disable : '')
|
|
98
|
+
}, TextProps), text)), secondaryAccountText && /*#__PURE__*/_react["default"].createElement(_Link["default"], {
|
|
99
|
+
href: secondaryAccountHref,
|
|
100
|
+
onClick: secondaryAccountClick,
|
|
101
|
+
className: "".concat(_SecondaryTextModule["default"].gridItem, " ").concat(_SecondaryTextModule["default"].link)
|
|
102
|
+
}, /*#__PURE__*/_react["default"].createElement("div", _extends({
|
|
103
|
+
className: "".concat(_SecondaryTextModule["default"].textStyle, " ").concat(_SecondaryTextModule["default"]["font_".concat(fontWeight)], " ").concat(className ? className : '')
|
|
104
|
+
}, SecondaryTextProps), secondaryAccountText)));
|
|
123
105
|
}
|
|
124
106
|
}]);
|
|
125
107
|
|
|
@@ -11,8 +11,6 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
11
11
|
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
13
|
|
|
14
|
-
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
15
|
-
|
|
16
14
|
var _Link = _interopRequireDefault(require("../../Link/Link"));
|
|
17
15
|
|
|
18
16
|
var _SentimentStatus = _interopRequireDefault(require("../SentimentStatus/SentimentStatus"));
|
|
@@ -158,8 +156,7 @@ ContactName.defaultProps = {
|
|
|
158
156
|
dataId: 'contactName',
|
|
159
157
|
fontWeight: 'regular',
|
|
160
158
|
i18nKeys: {},
|
|
161
|
-
customProps: {}
|
|
162
|
-
sentimentType: 'positive'
|
|
159
|
+
customProps: {}
|
|
163
160
|
};
|
|
164
161
|
|
|
165
162
|
if (false) {
|
|
@@ -1,20 +1,26 @@
|
|
|
1
1
|
.icon {
|
|
2
2
|
display: block;
|
|
3
3
|
}
|
|
4
|
+
|
|
4
5
|
.disable {
|
|
5
6
|
cursor: not-allowed;
|
|
6
7
|
}
|
|
8
|
+
|
|
7
9
|
.textBold {
|
|
8
10
|
font-family: var(--zd_bold);
|
|
9
11
|
color: var(--zdt_secondaryText_black_text);
|
|
10
12
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
|
|
14
|
+
.textStyle,
|
|
15
|
+
.link {
|
|
16
|
+
display: block
|
|
13
17
|
}
|
|
18
|
+
|
|
14
19
|
.textStyle.textBold {
|
|
15
20
|
font-family: var(--zd_bold);
|
|
16
21
|
color: var(--zdt_secondaryText_black_text);
|
|
17
22
|
}
|
|
23
|
+
|
|
18
24
|
.ticketId,
|
|
19
25
|
.link,
|
|
20
26
|
.textStyle,
|
|
@@ -23,15 +29,18 @@ display: block
|
|
|
23
29
|
.phoneNumber {
|
|
24
30
|
color: var(--zdt_secondaryText_secondaryText_text);
|
|
25
31
|
}
|
|
32
|
+
|
|
26
33
|
.textStyle,
|
|
27
34
|
.secondaryText {
|
|
28
35
|
font-size: var(--zd_font_size12);
|
|
29
36
|
}
|
|
37
|
+
|
|
30
38
|
.ticketId,
|
|
31
39
|
.phoneNumber,
|
|
32
40
|
.ratingText {
|
|
33
41
|
font-size: var(--zd_font_size12);
|
|
34
42
|
}
|
|
43
|
+
|
|
35
44
|
.textStyle,
|
|
36
45
|
.secondaryText,
|
|
37
46
|
.phoneNumber {
|
|
@@ -39,39 +48,49 @@ display: block
|
|
|
39
48
|
max-width: 100%;
|
|
40
49
|
display: block;
|
|
41
50
|
}
|
|
51
|
+
|
|
42
52
|
.textStyle, .secondaryText, .phoneNumber {
|
|
43
53
|
cursor: pointer;
|
|
44
54
|
}
|
|
55
|
+
|
|
45
56
|
.textStyle:hover,
|
|
46
57
|
.ticketIdLink,
|
|
47
58
|
.phoneNumber:hover,
|
|
48
59
|
.link:hover {
|
|
49
60
|
color: var(--zdt_secondaryText_blue_text);
|
|
50
61
|
}
|
|
51
|
-
|
|
62
|
+
|
|
63
|
+
/* .link:focus, .link:focus .textStyle, .link:focus .phoneNumber{
|
|
52
64
|
color: var(--zdt_secondaryText_blue_text);
|
|
53
|
-
}
|
|
65
|
+
} */
|
|
54
66
|
.ticketIdLink {
|
|
55
67
|
cursor: pointer;
|
|
56
68
|
}
|
|
57
|
-
|
|
69
|
+
|
|
70
|
+
.ticketIdLink:hover,
|
|
71
|
+
.ticketIdLink:focus {
|
|
58
72
|
color: var(--zdt_secondaryText_blue_hover_text);
|
|
59
73
|
}
|
|
74
|
+
|
|
60
75
|
/* status */
|
|
61
76
|
.font_regular {
|
|
62
77
|
font-family: var(--zd_regular);
|
|
63
78
|
}
|
|
79
|
+
|
|
64
80
|
.font_semibold {
|
|
65
81
|
font-family: var(--zd_semibold);
|
|
66
82
|
}
|
|
83
|
+
|
|
67
84
|
.font_bold {
|
|
68
85
|
font-family: var(--zd_bold);
|
|
69
86
|
}
|
|
87
|
+
|
|
70
88
|
.font_semibold,
|
|
71
89
|
.font_bold,
|
|
72
90
|
.textBold {
|
|
73
91
|
composes: ftsmooth from '~@zohodesk/components/lib/common/common.module.css';
|
|
74
92
|
}
|
|
93
|
+
|
|
75
94
|
.priorityText,
|
|
76
95
|
.statusText {
|
|
77
96
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
@@ -81,23 +100,28 @@ display: block
|
|
|
81
100
|
font-size: var(--zd_font_size12);
|
|
82
101
|
max-width: 100%;
|
|
83
102
|
}
|
|
103
|
+
|
|
84
104
|
.departmentText {
|
|
85
105
|
font-size: var(--zd_font_size12);
|
|
86
106
|
color: var(--zdt_secondaryText_secondaryText_text);
|
|
87
107
|
max-width: 100%;
|
|
88
108
|
composes: dotted from '~@zohodesk/components/lib/common/common.module.css';
|
|
89
109
|
}
|
|
110
|
+
|
|
90
111
|
/* HappinessRating Style */
|
|
91
112
|
.happinessContainer {
|
|
92
113
|
composes: inlineBlockMiddle from '../listCommon.module.css';
|
|
93
114
|
}
|
|
115
|
+
|
|
94
116
|
.happinessImg {
|
|
95
117
|
width: var(--zd_size13);
|
|
96
118
|
vertical-align: middle;
|
|
97
119
|
}
|
|
120
|
+
|
|
98
121
|
[dir=ltr] .happinessImg {
|
|
99
122
|
margin: 0 var(--zd_size4) 0 0;
|
|
100
123
|
}
|
|
124
|
+
|
|
101
125
|
[dir=rtl] .happinessImg {
|
|
102
126
|
margin: 0 0 0 var(--zd_size4);
|
|
103
127
|
}
|
|
@@ -106,46 +130,52 @@ display: block
|
|
|
106
130
|
.gray {
|
|
107
131
|
color: var(--zdt_secondaryText_gray_text);
|
|
108
132
|
}
|
|
133
|
+
|
|
109
134
|
.orange {
|
|
110
135
|
color: var(--zdt_secondaryText_orage_text);
|
|
111
136
|
}
|
|
137
|
+
|
|
112
138
|
.green {
|
|
113
139
|
color: var(--zdt_secondaryText_green_text);
|
|
114
140
|
}
|
|
141
|
+
|
|
115
142
|
.red {
|
|
116
143
|
color: var(--zdt_secondaryText_red_text);
|
|
117
144
|
}
|
|
145
|
+
|
|
118
146
|
.blue {
|
|
119
147
|
color: var(--zdt_secondaryText_blue_text);
|
|
120
148
|
}
|
|
149
|
+
|
|
121
150
|
.black {
|
|
122
151
|
color: var(--zdt_secondaryText_black_text);
|
|
123
152
|
}
|
|
153
|
+
|
|
124
154
|
/* Contact Name */
|
|
125
|
-
.contactNameCnt
|
|
155
|
+
.contactNameCnt,
|
|
156
|
+
.primaryAccountNameCnt {
|
|
126
157
|
display: inline-grid;
|
|
127
|
-
grid-template-columns: minmax(auto,max-content) 1fr minmax(auto,max-content);
|
|
128
158
|
align-items: baseline;
|
|
159
|
+
grid-auto-flow: column;
|
|
160
|
+
grid-auto-columns: minmax(0, max-content);
|
|
161
|
+
max-width: 100%;
|
|
129
162
|
}
|
|
163
|
+
|
|
130
164
|
.paidUserIcon {
|
|
131
165
|
vertical-align: middle;
|
|
132
166
|
bottom: var(--zd_size1);
|
|
133
167
|
position: relative;
|
|
134
168
|
font-size: var(--zd_font_size8);
|
|
135
169
|
}
|
|
170
|
+
|
|
136
171
|
[dir=ltr] .paidUserIcon {
|
|
137
172
|
margin-right: var(--zd_size5);
|
|
138
173
|
}
|
|
174
|
+
|
|
139
175
|
[dir=rtl] .paidUserIcon {
|
|
140
176
|
margin-left: var(--zd_size5);
|
|
141
177
|
}
|
|
178
|
+
|
|
142
179
|
.gridItem {
|
|
143
180
|
min-width: 0;
|
|
144
|
-
}
|
|
145
|
-
/* Account Name */
|
|
146
|
-
.primaryAccountNameCnt {
|
|
147
|
-
max-width: 100%;
|
|
148
|
-
display: grid;
|
|
149
|
-
grid-template-columns: 1fr minmax(auto,max-content);
|
|
150
|
-
align-items: baseline;
|
|
151
|
-
}
|
|
181
|
+
}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
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
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports["default"] = void 0;
|
|
9
|
+
|
|
10
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
|
|
12
|
+
var _Layout = require("@zohodesk/components/lib/Layout");
|
|
13
|
+
|
|
14
|
+
var _index = require("../index");
|
|
15
|
+
|
|
16
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
|
+
|
|
18
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
19
|
+
|
|
20
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
21
|
+
|
|
22
|
+
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
|
+
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
|
+
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
|
+
|
|
30
|
+
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
|
+
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
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
35
|
+
|
|
36
|
+
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
|
+
|
|
40
|
+
var SecondaryText__default = /*#__PURE__*/function (_Component) {
|
|
41
|
+
_inherits(SecondaryText__default, _Component);
|
|
42
|
+
|
|
43
|
+
var _super = _createSuper(SecondaryText__default);
|
|
44
|
+
|
|
45
|
+
function SecondaryText__default(props) {
|
|
46
|
+
_classCallCheck(this, SecondaryText__default);
|
|
47
|
+
|
|
48
|
+
return _super.call(this, props);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
_createClass(SecondaryText__default, [{
|
|
52
|
+
key: "render",
|
|
53
|
+
value: function render() {
|
|
54
|
+
var boxStyle = {
|
|
55
|
+
padding: '10px',
|
|
56
|
+
border: '2px solid #000',
|
|
57
|
+
width: '30%',
|
|
58
|
+
margin: '5px'
|
|
59
|
+
};
|
|
60
|
+
return /*#__PURE__*/_react["default"].createElement("div", null, /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
61
|
+
alignBox: "column",
|
|
62
|
+
wrap: "wrap",
|
|
63
|
+
align: "both"
|
|
64
|
+
}, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
65
|
+
style: boxStyle
|
|
66
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null, "ContactName"), /*#__PURE__*/_react["default"].createElement(_index.ContactName, {
|
|
67
|
+
text: "Antro Contact",
|
|
68
|
+
isPaidUser: true,
|
|
69
|
+
sentimentType: "positive"
|
|
70
|
+
}), /*#__PURE__*/_react["default"].createElement(_index.ContactName, {
|
|
71
|
+
text: "Antro Contact",
|
|
72
|
+
isPaidUser: true,
|
|
73
|
+
sentimentType: "negative"
|
|
74
|
+
}), /*#__PURE__*/_react["default"].createElement(_index.ContactName, {
|
|
75
|
+
text: "Antro Contact",
|
|
76
|
+
isPaidUser: true,
|
|
77
|
+
sentimentType: "neutral"
|
|
78
|
+
})), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
79
|
+
style: boxStyle
|
|
80
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null, "AccountName"), /*#__PURE__*/_react["default"].createElement(_index.AccountName, {
|
|
81
|
+
text: "Antro Contact ",
|
|
82
|
+
secondaryAccountText: " secondaryAccountText",
|
|
83
|
+
fontWeight: "semibold"
|
|
84
|
+
}), /*#__PURE__*/_react["default"].createElement(_index.AccountName, {
|
|
85
|
+
text: "Antro Contact ",
|
|
86
|
+
secondaryAccountText: " secondaryAccountText",
|
|
87
|
+
fontWeight: "bold"
|
|
88
|
+
})), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
89
|
+
style: boxStyle
|
|
90
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null, "DepartmentText"), /*#__PURE__*/_react["default"].createElement(_index.DepartmentText, {
|
|
91
|
+
text: "Antro Contact"
|
|
92
|
+
})), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
93
|
+
style: boxStyle
|
|
94
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null, "Email"), /*#__PURE__*/_react["default"].createElement(_index.Email, {
|
|
95
|
+
text: "Antro Contact"
|
|
96
|
+
})), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
97
|
+
style: boxStyle
|
|
98
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null, "HappinessRating"), /*#__PURE__*/_react["default"].createElement(_index.HappinessRating, {
|
|
99
|
+
text: "100",
|
|
100
|
+
src: "https://hjemly.dk/wp-content/uploads/2016/05/facebook-default-no-profile-pic.jpg"
|
|
101
|
+
})), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
102
|
+
style: boxStyle
|
|
103
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null, "PhoneNumber"), /*#__PURE__*/_react["default"].createElement(_index.PhoneNumber, {
|
|
104
|
+
text: "1243123434543"
|
|
105
|
+
})), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
106
|
+
style: boxStyle
|
|
107
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null, "PriorityText"), /*#__PURE__*/_react["default"].createElement(_index.PriorityText, {
|
|
108
|
+
text: "Antro Contact",
|
|
109
|
+
color: "red"
|
|
110
|
+
}), /*#__PURE__*/_react["default"].createElement(_index.PriorityText, {
|
|
111
|
+
text: "Antro Contact",
|
|
112
|
+
color: "green"
|
|
113
|
+
}), /*#__PURE__*/_react["default"].createElement(_index.PriorityText, {
|
|
114
|
+
text: "Antro Contact",
|
|
115
|
+
color: "gray"
|
|
116
|
+
}), /*#__PURE__*/_react["default"].createElement(_index.PriorityText, {
|
|
117
|
+
text: "Antro Contact",
|
|
118
|
+
color: "orange"
|
|
119
|
+
})), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
120
|
+
style: boxStyle
|
|
121
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null, "SecondaryText"), /*#__PURE__*/_react["default"].createElement(_index.SecondaryText, {
|
|
122
|
+
text: "Antro Contact"
|
|
123
|
+
})), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
124
|
+
style: boxStyle
|
|
125
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null, "StatusText"), /*#__PURE__*/_react["default"].createElement(_index.StatusText, {
|
|
126
|
+
text: "Antro Contact",
|
|
127
|
+
color: "red"
|
|
128
|
+
}), /*#__PURE__*/_react["default"].createElement(_index.StatusText, {
|
|
129
|
+
text: "Antro Contact",
|
|
130
|
+
color: "green"
|
|
131
|
+
}), /*#__PURE__*/_react["default"].createElement(_index.StatusText, {
|
|
132
|
+
text: "Antro Contact",
|
|
133
|
+
color: "gray"
|
|
134
|
+
}), /*#__PURE__*/_react["default"].createElement(_index.StatusText, {
|
|
135
|
+
text: "Antro Contact",
|
|
136
|
+
color: "orange"
|
|
137
|
+
}), /*#__PURE__*/_react["default"].createElement(_index.StatusText, {
|
|
138
|
+
text: "Antro Contact",
|
|
139
|
+
color: "black"
|
|
140
|
+
})), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
141
|
+
style: boxStyle
|
|
142
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null, "TicketId"), /*#__PURE__*/_react["default"].createElement(_index.TicketId, {
|
|
143
|
+
text: "124213234"
|
|
144
|
+
})), /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
145
|
+
style: boxStyle
|
|
146
|
+
}, /*#__PURE__*/_react["default"].createElement("div", null, "Website"), /*#__PURE__*/_react["default"].createElement(_index.Website, {
|
|
147
|
+
text: "https://www.zoho.com/"
|
|
148
|
+
}))));
|
|
149
|
+
}
|
|
150
|
+
}]);
|
|
151
|
+
|
|
152
|
+
return SecondaryText__default;
|
|
153
|
+
}(_react.Component);
|
|
154
|
+
|
|
155
|
+
exports["default"] = SecondaryText__default;
|
|
156
|
+
|
|
157
|
+
if (false) {
|
|
158
|
+
SecondaryText__default.docs = {
|
|
159
|
+
folderName: 'List',
|
|
160
|
+
componentGroup: 'SecondaryText'
|
|
161
|
+
};
|
|
162
|
+
}
|
|
@@ -59,13 +59,11 @@ var SentimentStatus = /*#__PURE__*/function (_React$Component) {
|
|
|
59
59
|
negative: 'ZD-botNegative',
|
|
60
60
|
positive: 'ZD-botPositive'
|
|
61
61
|
};
|
|
62
|
-
return /*#__PURE__*/_react["default"].createElement("
|
|
63
|
-
className: _SentimentStatusModule["default"].container,
|
|
64
|
-
"data-title": dataTitle
|
|
65
|
-
}, /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
62
|
+
return /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
66
63
|
name: icons[type],
|
|
67
|
-
iconClass: _SentimentStatusModule["default"].sentimentIcon
|
|
68
|
-
|
|
64
|
+
iconClass: _SentimentStatusModule["default"].sentimentIcon,
|
|
65
|
+
title: dataTitle
|
|
66
|
+
});
|
|
69
67
|
}
|
|
70
68
|
}]);
|
|
71
69
|
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
.
|
|
2
|
-
vertical-align: middle;
|
|
1
|
+
.sentimentIcon {
|
|
3
2
|
font-size: var(--zd_font_size10);
|
|
4
|
-
}[dir=ltr] .
|
|
3
|
+
}[dir=ltr] .sentimentIcon {
|
|
5
4
|
margin: 0 0 0 var(--zd_size5);
|
|
6
|
-
}[dir=rtl] .
|
|
5
|
+
}[dir=rtl] .sentimentIcon {
|
|
7
6
|
margin: 0 var(--zd_size5) 0 0;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.sentimentIcon {
|
|
11
|
-
display: block;
|
|
12
|
-
}
|
|
7
|
+
}
|
|
@@ -79,7 +79,7 @@ var UserTime = /*#__PURE__*/function (_Component) {
|
|
|
79
79
|
className: "".concat(_UserTimeModule["default"].container, " ").concat(containerClass ? containerClass : ''),
|
|
80
80
|
"data-title": title,
|
|
81
81
|
"data-id": dataId
|
|
82
|
-
}, icon && /*#__PURE__*/_react["default"].createElement(
|
|
82
|
+
}, icon && /*#__PURE__*/_react["default"].createElement("span", {
|
|
83
83
|
className: "".concat(_UserTimeModule["default"].iconColor, " ").concat(_UserTimeModule["default"][iconColor] ? _UserTimeModule["default"][iconColor] : '')
|
|
84
84
|
}, icon === 'closedTime' ? /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
85
85
|
iconClass: "".concat(_UserTimeModule["default"].iconStyle, " ").concat(_UserTimeModule["default"].closedTime, " ").concat(_UserTimeModule["default"].f8, " ").concat(iconClass ? iconClass : ''),
|
|
@@ -102,9 +102,7 @@ var UserTime = /*#__PURE__*/function (_Component) {
|
|
|
102
102
|
}) : /*#__PURE__*/_react["default"].createElement(_Icon["default"], {
|
|
103
103
|
name: "ZD-dueTime",
|
|
104
104
|
iconClass: "".concat(_UserTimeModule["default"].iconStyle, " ").concat(_UserTimeModule["default"].f8, " ").concat(iconClass ? iconClass : '')
|
|
105
|
-
})), /*#__PURE__*/_react["default"].createElement(
|
|
106
|
-
flexible: true
|
|
107
|
-
}, /*#__PURE__*/_react["default"].createElement(_i18n.UserTimeDiffFormat, {
|
|
105
|
+
})), /*#__PURE__*/_react["default"].createElement(_i18n.UserTimeDiffFormat, {
|
|
108
106
|
type: type,
|
|
109
107
|
page: page,
|
|
110
108
|
isNeedTime: isNeedTime,
|
|
@@ -114,7 +112,7 @@ var UserTime = /*#__PURE__*/function (_Component) {
|
|
|
114
112
|
later: later,
|
|
115
113
|
to: to,
|
|
116
114
|
isOverdue: isOverdue
|
|
117
|
-
}))
|
|
115
|
+
}));
|
|
118
116
|
}
|
|
119
117
|
}]);
|
|
120
118
|
|