@zohodesk/dot 1.0.0-beta.226 → 1.0.0-beta.227
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 +4 -0
- package/assets/Appearance/pureDark/mode/dotPureDarkMode.module.css +16 -16
- package/es/ActionButton/docs/ActionButton__default.docs.js +144 -0
- package/es/AlphabeticList/docs/AlphabeticList__default.docs.js +34 -0
- package/es/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +43 -0
- package/es/Attachment/docs/Attachment__default.docs.js +54 -0
- package/es/AttachmentViewer/docs/AttachmentViewer__default.docs.js +70 -0
- package/es/ChannelIcon/docs/ChannelIcon__default.docs.js +57 -0
- package/es/Drawer/docs/Drawer__default.docs.js +87 -0
- package/es/Drawer/docs/Drawer__multiDrawer.docs.js +112 -0
- package/es/Drawer/docs/Drawer__noFreeze.docs.js +20 -0
- package/es/Drawer/docs/Drawer__withModal.docs.js +74 -0
- package/es/ExternalLink/docs/ExternalLink__default.docs.js +19 -0
- package/es/FlipCard/docs/FlipCard__default.docs.js +66 -0
- package/es/FormAction/docs/FormAction__default.docs.js +72 -0
- package/es/FreezeLayer/docs/FreezeLayer__dark.docs.js +51 -0
- package/es/FreezeLayer/docs/FreezeLayer__default.docs.js +48 -0
- package/es/IconButton/docs/IconButton__default.docs.js +219 -0
- package/es/Image/docs/Image__default.docs.js +22 -0
- package/es/ImportantNotes/docs/ImportantNotes__default.docs.js +22 -0
- package/es/Link/docs/Link__default.docs.js +36 -0
- package/es/Loader/docs/Loader__default.docs.js +23 -0
- package/es/Message/docs/Message__default.docs.js +55 -0
- package/es/MessageBanner/docs/MessageBanner__default.docs.js +88 -0
- package/es/NewStar/docs/NewStar__default.docs.js +62 -0
- package/es/PlusIcon/docs/PlusIcon__default.docs.js +16 -0
- package/es/ToastMessage/docs/ToastMessage__custom.docs.js +92 -0
- package/es/ToastMessage/docs/ToastMessage__information.docs.js +54 -0
- package/es/ToastMessage/docs/ToastMessage__primary.docs.js +125 -0
- package/es/ToastMessage/docs/ToastMessage__secondary.docs.js +37 -0
- package/es/ToastMessage/docs/ToastMessage__success.docs.js +61 -0
- package/es/Upload/docs/Upload__default.docs.js +61 -0
- package/es/alert/AlertHeader/docs/AlertHeader__default.docs.js +63 -0
- package/es/alert/AlertLookup/docs/AlertLookup__default.docs.js +132 -0
- package/es/avatar/AvatarClose/docs/AvatarClose__default.docs.js +26 -0
- package/es/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +35 -0
- package/es/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +40 -0
- package/es/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +46 -0
- package/es/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +35 -0
- package/es/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +51 -0
- package/es/avatar/AvatarThread/docs/AvatarThread__default.docs.js +147 -0
- package/es/avatar/AvatarUser/docs/AvatarUser__default.docs.js +173 -0
- package/es/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +24 -0
- package/es/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +34 -0
- package/es/docs/formDocs.js +26 -0
- package/es/docs/generalDocs.js +135 -0
- package/es/docs/lookupDocs.js +44 -0
- package/es/docs/setupDocs.js +22 -0
- package/es/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +228 -0
- package/es/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +111 -0
- package/es/emptystate/EditionPage/docs/EditionPage__default.docs.js +21 -0
- package/es/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +19 -0
- package/es/errorstate/LinkText/docs/LinkText__default.docs.js +17 -0
- package/es/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +19 -0
- package/es/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +20 -0
- package/es/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +19 -0
- package/es/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +19 -0
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +20 -0
- package/es/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +19 -0
- package/es/errorstate/WillBack/docs/WillBack__default.docs.js +21 -0
- package/es/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +30 -0
- package/es/form/fields/DateField/docs/DateField__default.docs.js +25 -0
- package/es/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +48 -0
- package/es/form/fields/PhoneField/docs/PhoneField__default.docs.js +26 -0
- package/es/form/fields/SelectField/docs/SelectField__default.docs.js +58 -0
- package/es/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +77 -0
- package/es/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +82 -0
- package/es/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +45 -0
- package/es/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +43 -0
- package/es/form/fields/TextareaField/docs/TextareaField__default.docs.js +26 -0
- package/es/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +58 -0
- package/es/form/layout/Field/docs/Field__default.docs.js +25 -0
- package/es/form/layout/Section/docs/Section__default.docs.js +21 -0
- package/es/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +29 -0
- package/es/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +67 -0
- package/es/list/AvatarFlip/docs/AvatarFlip__default.docs.js +100 -0
- package/es/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +19 -0
- package/es/list/Comment/docs/Comment__default.docs.js +26 -0
- package/es/list/DotNew/docs/DotNew__default.docs.js +20 -0
- package/es/list/GridStencils/docs/GridStencils__default.docs.js +35 -0
- package/es/list/Icons/docs/FloatingIcons__default.docs.js +24 -0
- package/es/list/ListLayout/docs/ListLayout__default.docs.js +60 -0
- package/es/list/ListStencils/docs/ListStencils__default.docs.js +20 -0
- package/es/list/SecondaryText/docs/ContactName__default.docs.js +23 -0
- package/es/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -0
- package/es/list/SecondryPanel/docs/SecondryPanel__default.docs.js +81 -0
- package/es/list/SentimentStatus/docs/SentimentStatus__default.docs.js +19 -0
- package/es/list/Subject/docs/Subject__default.docs.js +44 -0
- package/es/list/TagNew/docs/TagNew__default.docs.js +23 -0
- package/es/list/Thread/docs/Thread__default.docs.js +22 -0
- package/es/list/UserTime/docs/UserTime__default.docs.js +157 -0
- package/es/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +129 -0
- package/es/list/status/StatusListItem/docs/StatusListItem__default.docs.js +27 -0
- package/es/lookup/EmptyPage/docs/EmptyPage__account.docs.js +20 -0
- package/es/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +20 -0
- package/es/lookup/EmptyPage/docs/EmptyPage__default.docs.js +17 -0
- package/es/lookup/EmptyPage/docs/EmptyPage__product.docs.js +20 -0
- package/es/lookup/Lookup/docs/Lookup__contact.docs.js +196 -0
- package/es/lookup/Lookup/docs/Lookup__default.docs.js +68 -0
- package/es/lookup/header/Close/docs/Close__default.docs.js +19 -0
- package/es/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +51 -0
- package/es/lookup/header/Search/docs/Search__default.docs.js +124 -0
- package/es/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +83 -0
- package/es/lookup/header/Title/docs/Title__default.docs.js +21 -0
- package/es/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +75 -0
- package/es/setup/header/Button/docs/Button__default.docs.js +22 -0
- package/es/setup/header/Link/docs/Link__default.docs.js +23 -0
- package/es/setup/header/Search/docs/Search__default.docs.js +41 -0
- package/es/setup/header/Views/docs/Views__default.docs.js +24 -0
- package/es/setup/helptips/Description/docs/Description__default.docs.js +26 -0
- package/es/setup/helptips/Link/docs/Link__default.docs.js +27 -0
- package/es/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +30 -0
- package/es/setup/helptips/Title/docs/Title__default.docs.js +26 -0
- package/es/setup/table/Table/docs/Table__default.docs.js +181 -0
- package/es/setup/table/Text/docs/Text__default.docs.js +35 -0
- package/es/svg/docs/SVG__default.docs.js +49 -0
- package/es/version2/AlertClose/docs/AlertClose__default.docs.js +47 -0
- package/es/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +95 -0
- package/es/version2/alertIcons/docs/AlertIcons__default.docs.js +138 -0
- package/es/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +18 -0
- package/es/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +20 -0
- package/es/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +30 -0
- package/es/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +18 -0
- package/es/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +20 -0
- package/es/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +18 -0
- package/es/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +56 -0
- package/es/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +157 -0
- package/es/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +92 -0
- package/es/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +57 -0
- package/lib/ActionButton/docs/ActionButton__default.docs.js +197 -0
- package/lib/AlphabeticList/docs/AlphabeticList__default.docs.js +82 -0
- package/lib/AlphabeticList/docs/AlphabeticList__horizontal.docs.js +91 -0
- package/lib/Attachment/docs/Attachment__default.docs.js +104 -0
- package/lib/AttachmentViewer/docs/AttachmentViewer__default.docs.js +123 -0
- package/lib/ChannelIcon/docs/ChannelIcon__default.docs.js +112 -0
- package/lib/Drawer/docs/Drawer__default.docs.js +143 -0
- package/lib/Drawer/docs/Drawer__multiDrawer.docs.js +171 -0
- package/lib/Drawer/docs/Drawer__noFreeze.docs.js +65 -0
- package/lib/Drawer/docs/Drawer__withModal.docs.js +131 -0
- package/lib/ExternalLink/docs/ExternalLink__default.docs.js +68 -0
- package/lib/FlipCard/docs/FlipCard__default.docs.js +121 -0
- package/lib/FormAction/docs/FormAction__default.docs.js +127 -0
- package/lib/FreezeLayer/docs/FreezeLayer__dark.docs.js +103 -0
- package/lib/FreezeLayer/docs/FreezeLayer__default.docs.js +100 -0
- package/lib/IconButton/docs/IconButton__default.docs.js +272 -0
- package/lib/Image/docs/Image__default.docs.js +76 -0
- package/lib/ImportantNotes/docs/ImportantNotes__default.docs.js +68 -0
- package/lib/Link/docs/Link__default.docs.js +90 -0
- package/lib/Loader/docs/Loader__default.docs.js +68 -0
- package/lib/Message/docs/Message__default.docs.js +100 -0
- package/lib/MessageBanner/docs/MessageBanner__default.docs.js +132 -0
- package/lib/NewStar/docs/NewStar__default.docs.js +111 -0
- package/lib/PlusIcon/docs/PlusIcon__default.docs.js +70 -0
- package/lib/ToastMessage/docs/ToastMessage__custom.docs.js +151 -0
- package/lib/ToastMessage/docs/ToastMessage__information.docs.js +108 -0
- package/lib/ToastMessage/docs/ToastMessage__primary.docs.js +175 -0
- package/lib/ToastMessage/docs/ToastMessage__secondary.docs.js +91 -0
- package/lib/ToastMessage/docs/ToastMessage__success.docs.js +115 -0
- package/lib/Upload/docs/Upload__default.docs.js +110 -0
- package/lib/alert/AlertHeader/docs/AlertHeader__default.docs.js +112 -0
- package/lib/alert/AlertLookup/docs/AlertLookup__default.docs.js +187 -0
- package/lib/avatar/AvatarClose/docs/AvatarClose__default.docs.js +72 -0
- package/lib/avatar/AvatarCollision/docs/AvatarCollision__default.docs.js +81 -0
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__palette.docs.js +95 -0
- package/lib/avatar/AvatarIcon/docs/AvatarIcon__size.docs.js +99 -0
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__size.docs.js +90 -0
- package/lib/avatar/AvatarStatus/docs/AvatarStatus__state.docs.js +104 -0
- package/lib/avatar/AvatarThread/docs/AvatarThread__default.docs.js +198 -0
- package/lib/avatar/AvatarUser/docs/AvatarUser__default.docs.js +224 -0
- package/lib/avatar/AvatarWithTeam/docs/AvatarWithTeam__default.docs.js +74 -0
- package/lib/deprecated/SelectDropdown/docs/SelectDropdown__default.docs.js +80 -0
- package/lib/docs/formDocs.js +215 -0
- package/lib/docs/generalDocs.js +1055 -0
- package/lib/docs/lookupDocs.js +287 -0
- package/lib/docs/setupDocs.js +183 -0
- package/lib/dropdown/ToggleDropDown/docs/ToggleDropDown__default.docs.js +279 -0
- package/lib/emptystate/CommonEmptyState/docs/CommonEmptyState__default.docs.js +171 -0
- package/lib/emptystate/EditionPage/docs/EditionPage__default.docs.js +74 -0
- package/lib/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +69 -0
- package/lib/errorstate/LinkText/docs/LinkText__default.docs.js +67 -0
- package/lib/errorstate/NoRequestFound/docs/NoRequestFound__default.docs.js +68 -0
- package/lib/errorstate/PermissionPlay/docs/PermissionPlay__default.docs.js +70 -0
- package/lib/errorstate/RequestUrlNotFound/docs/RequestUrlNotFound__default.docs.js +69 -0
- package/lib/errorstate/UnableToProcess/docs/UnableToProcess__default.docs.js +69 -0
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__insufficient.docs.js +70 -0
- package/lib/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__unauthorizedLogin.docs.js +69 -0
- package/lib/errorstate/WillBack/docs/WillBack__default.docs.js +71 -0
- package/lib/form/fields/CheckBoxField/docs/CheckBoxField__default.docs.js +80 -0
- package/lib/form/fields/DateField/docs/DateField__default.docs.js +74 -0
- package/lib/form/fields/MultiSelectField/docs/MultiSelectField__default.docs.js +100 -0
- package/lib/form/fields/PhoneField/docs/PhoneField__default.docs.js +76 -0
- package/lib/form/fields/SelectField/docs/SelectField__default.docs.js +110 -0
- package/lib/form/fields/TagsMultiSelect/docs/TagsMultiSelect__default.docs.js +126 -0
- package/lib/form/fields/TagsMultiSelectField/docs/TagsMultiSelectField__default.docs.js +96 -0
- package/lib/form/fields/TextBoxField/docs/TextBoxField__default.docs.js +97 -0
- package/lib/form/fields/TextEditorField/docs/TextEditorField__default.docs.js +94 -0
- package/lib/form/fields/TextareaField/docs/TextareaField__default.docs.js +76 -0
- package/lib/form/fields/ValidationMessage/docs/ValidationMessage__default.docs.js +103 -0
- package/lib/form/layout/Field/docs/Field__default.docs.js +74 -0
- package/lib/form/layout/Section/docs/Section__default.docs.js +71 -0
- package/lib/layout/SetupDetailLayout/docs/SetupDetailLayout__default.docs.js +80 -0
- package/lib/layout/SubtabLayout/docs/SubtabLayout__default.docs.js +118 -0
- package/lib/list/AvatarFlip/docs/AvatarFlip__default.docs.js +149 -0
- package/lib/list/BluePrintStatus/docs/BluePrintStatus__default.docs.js +65 -0
- package/lib/list/Comment/docs/Comment__default.docs.js +76 -0
- package/lib/list/DotNew/docs/DotNew__default.docs.js +70 -0
- package/lib/list/GridStencils/docs/GridStencils__default.docs.js +86 -0
- package/lib/list/Icons/docs/FloatingIcons__default.docs.js +81 -0
- package/lib/list/ListLayout/docs/ListLayout__default.docs.js +111 -0
- package/lib/list/ListStencils/docs/ListStencils__default.docs.js +70 -0
- package/lib/list/SecondaryText/docs/ContactName__default.docs.js +73 -0
- package/lib/list/SecondryPanel/docs/SecondryPanelDocs.module.css +37 -0
- package/lib/list/SecondryPanel/docs/SecondryPanel__default.docs.js +133 -0
- package/lib/list/SentimentStatus/docs/SentimentStatus__default.docs.js +65 -0
- package/lib/list/Subject/docs/Subject__default.docs.js +94 -0
- package/lib/list/TagNew/docs/TagNew__default.docs.js +73 -0
- package/lib/list/Thread/docs/Thread__default.docs.js +72 -0
- package/lib/list/UserTime/docs/UserTime__default.docs.js +196 -0
- package/lib/list/status/StatusDropdown/docs/StatusDropdown__default.docs.js +178 -0
- package/lib/list/status/StatusListItem/docs/StatusListItem__default.docs.js +77 -0
- package/lib/lookup/EmptyPage/docs/EmptyPage__account.docs.js +70 -0
- package/lib/lookup/EmptyPage/docs/EmptyPage__contact.docs.js +70 -0
- package/lib/lookup/EmptyPage/docs/EmptyPage__default.docs.js +67 -0
- package/lib/lookup/EmptyPage/docs/EmptyPage__product.docs.js +70 -0
- package/lib/lookup/Lookup/docs/Lookup__contact.docs.js +247 -0
- package/lib/lookup/Lookup/docs/Lookup__default.docs.js +121 -0
- package/lib/lookup/header/Close/docs/Close__default.docs.js +69 -0
- package/lib/lookup/header/ModuleHeader/docs/ModuleHeader__default.docs.js +99 -0
- package/lib/lookup/header/Search/docs/Search__default.docs.js +175 -0
- package/lib/lookup/header/TicketHeader/docs/TicketHeader__default.docs.js +133 -0
- package/lib/lookup/header/Title/docs/Title__default.docs.js +71 -0
- package/lib/lookup/header/ViewDropDown/docs/ViewDropDown__default.docs.js +119 -0
- package/lib/setup/header/Button/docs/Button__default.docs.js +68 -0
- package/lib/setup/header/Link/docs/Link__default.docs.js +69 -0
- package/lib/setup/header/Search/docs/Search__default.docs.js +92 -0
- package/lib/setup/header/Views/docs/Views__default.docs.js +70 -0
- package/lib/setup/helptips/Description/docs/Description__default.docs.js +72 -0
- package/lib/setup/helptips/Link/docs/Link__default.docs.js +73 -0
- package/lib/setup/helptips/ListGroup/docs/ListGroup__default.docs.js +76 -0
- package/lib/setup/helptips/Title/docs/Title__default.docs.js +72 -0
- package/lib/setup/table/Table/docs/Table__default.docs.js +238 -0
- package/lib/setup/table/Text/docs/Text__default.docs.js +84 -0
- package/lib/svg/docs/SVG__default.docs.js +101 -0
- package/lib/version2/AlertClose/docs/AlertClose__default.docs.js +97 -0
- package/lib/version2/GlobalNotification/docs/GlobalNotification__default.docs.js +143 -0
- package/lib/version2/alertIcons/docs/AlertIcons__default.docs.js +187 -0
- package/lib/version2/errorstate/Inconvenience/docs/Inconvenience__default.docs.js +68 -0
- package/lib/version2/errorstate/OopsSomethingMiss/docs/OopsSomethingMiss__default.docs.js +70 -0
- package/lib/version2/errorstate/UnableToProcessRequest/docs/UnableToProcessRequest__default.docs.js +80 -0
- package/lib/version2/errorstate/UnauthorizedLogin/docs/UnauthorizedLogin__default.docs.js +68 -0
- package/lib/version2/errorstate/UrlNotFound/docs/UrlNotFound__default.docs.js +70 -0
- package/lib/version2/errorstate/WillBeRightBack/docs/WillBeRightBack__default.docs.js +68 -0
- package/lib/version2/lookup/AlertHeader/docs/AlertHeader__default.docs.js +105 -0
- package/lib/version2/lookup/AlertLookup/docs/AlertLookup__default.docs.js +212 -0
- package/lib/version2/notification/DesktopNotification/docs/DesktopNotification__default.docs.js +142 -0
- package/lib/version2/notification/DesktopNotificationHeader/docs/DesktopNotificationHeader__default.docs.js +108 -0
- package/package.json +3 -3
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/*** Libraries ***/
|
|
2
|
+
import React, { Component } from 'react';
|
|
3
|
+
/*** Componets ***/
|
|
4
|
+
|
|
5
|
+
import TicketHeader from '../TicketHeader';
|
|
6
|
+
export default class TicketHeader__default extends Component {
|
|
7
|
+
constructor(props) {
|
|
8
|
+
super(props);
|
|
9
|
+
this.state = {
|
|
10
|
+
searchStr: '',
|
|
11
|
+
selectedViewId: '1'
|
|
12
|
+
};
|
|
13
|
+
this.handleSearch = this.handleSearch.bind(this);
|
|
14
|
+
this.handleSelectView = this.handleSelectView.bind(this);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
handleSearch(value) {
|
|
18
|
+
this.setState({
|
|
19
|
+
searchStr: value
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
handleSelectView(value) {
|
|
24
|
+
this.setState({
|
|
25
|
+
selectedViewId: value
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
render() {
|
|
30
|
+
let {
|
|
31
|
+
searchStr,
|
|
32
|
+
selectedViewId
|
|
33
|
+
} = this.state;
|
|
34
|
+
let allViews = [{
|
|
35
|
+
displayLabel: 'All Tickets',
|
|
36
|
+
id: '1'
|
|
37
|
+
}, {
|
|
38
|
+
displayLabel: 'Tickets for review',
|
|
39
|
+
id: '2'
|
|
40
|
+
}, {
|
|
41
|
+
displayLabel: 'Customer Responded Tickets',
|
|
42
|
+
id: '3'
|
|
43
|
+
}, {
|
|
44
|
+
displayLabel: 'Unassigned Open Tickets',
|
|
45
|
+
id: '4'
|
|
46
|
+
}, {
|
|
47
|
+
displayLabel: 'Spam Tickets',
|
|
48
|
+
id: '5'
|
|
49
|
+
}, {
|
|
50
|
+
displayLabel: 'SLA Violated Tickets',
|
|
51
|
+
id: '6'
|
|
52
|
+
}, {
|
|
53
|
+
displayLabel: 'Overdue Tickets',
|
|
54
|
+
id: '7'
|
|
55
|
+
}, {
|
|
56
|
+
displayLabel: 'My Tickets',
|
|
57
|
+
id: '8'
|
|
58
|
+
}, {
|
|
59
|
+
displayLabel: 'My Open Tickets',
|
|
60
|
+
id: '9'
|
|
61
|
+
}, {
|
|
62
|
+
displayLabel: 'My Overdue Tickets',
|
|
63
|
+
id: '10'
|
|
64
|
+
}];
|
|
65
|
+
return /*#__PURE__*/React.createElement(TicketHeader, {
|
|
66
|
+
title: "Select Ticket",
|
|
67
|
+
needSearch: true,
|
|
68
|
+
searchStr: searchStr,
|
|
69
|
+
onSearchChange: this.handleSearch,
|
|
70
|
+
searchPlaceHolder: "Search",
|
|
71
|
+
selectedViewId: selectedViewId,
|
|
72
|
+
onSelectView: this.handleSelectView,
|
|
73
|
+
allViews: allViews
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
if (false) {
|
|
80
|
+
TicketHeader__default.docs = {
|
|
81
|
+
componentGroup: 'Lookup'
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Title from '../Title';
|
|
4
|
+
export default class Title__default extends Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement(Title, {
|
|
11
|
+
text: "Select Product"
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
if (false) {
|
|
18
|
+
Title__default.docs = {
|
|
19
|
+
componentGroup: 'Lookup'
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**** Libraries ****/
|
|
2
|
+
import React from 'react';
|
|
3
|
+
/**** Components ****/
|
|
4
|
+
|
|
5
|
+
import ViewDropDown from '../ViewDropDown';
|
|
6
|
+
export default class ViewDropDown__default extends React.Component {
|
|
7
|
+
constructor(props) {
|
|
8
|
+
super(props);
|
|
9
|
+
this.state = {
|
|
10
|
+
value: '1'
|
|
11
|
+
};
|
|
12
|
+
this.handleChange = this.handleChange.bind(this);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
handleChange(value) {
|
|
16
|
+
this.setState({
|
|
17
|
+
value
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
render() {
|
|
22
|
+
let option = [{
|
|
23
|
+
text: 'All Tickets',
|
|
24
|
+
id: '1'
|
|
25
|
+
}, {
|
|
26
|
+
text: 'Tickets for review',
|
|
27
|
+
id: '2'
|
|
28
|
+
}, {
|
|
29
|
+
text: 'Customer Responded Tickets',
|
|
30
|
+
id: '3'
|
|
31
|
+
}, {
|
|
32
|
+
text: 'Unassigned Open Tickets',
|
|
33
|
+
id: '4'
|
|
34
|
+
}, {
|
|
35
|
+
text: 'Spam Tickets',
|
|
36
|
+
id: '5'
|
|
37
|
+
}, {
|
|
38
|
+
text: 'SLA Violated Tickets',
|
|
39
|
+
id: '6'
|
|
40
|
+
}, {
|
|
41
|
+
text: 'Overdue Tickets',
|
|
42
|
+
id: '7'
|
|
43
|
+
}, {
|
|
44
|
+
text: 'My Tickets',
|
|
45
|
+
id: '8'
|
|
46
|
+
}, {
|
|
47
|
+
text: 'My Open Tickets',
|
|
48
|
+
id: '9'
|
|
49
|
+
}, {
|
|
50
|
+
text: 'My Overdue Tickets',
|
|
51
|
+
id: '10'
|
|
52
|
+
}];
|
|
53
|
+
let {
|
|
54
|
+
value
|
|
55
|
+
} = this.state;
|
|
56
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
57
|
+
style: {
|
|
58
|
+
width: '360px'
|
|
59
|
+
}
|
|
60
|
+
}, /*#__PURE__*/React.createElement(ViewDropDown, {
|
|
61
|
+
options: option,
|
|
62
|
+
onChange: this.handleChange,
|
|
63
|
+
selectedValue: value,
|
|
64
|
+
needSearch: true,
|
|
65
|
+
emptyMessage: "No matches found"
|
|
66
|
+
}));
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
if (false) {
|
|
72
|
+
ViewDropDown__default.docs = {
|
|
73
|
+
componentGroup: 'Lookup'
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Button from '../Button';
|
|
4
|
+
export default class Button__default extends React.Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement(Button, {
|
|
11
|
+
text: "Add New"
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
if (false) {
|
|
18
|
+
Button__default.docs = {
|
|
19
|
+
componentGroup: 'Header',
|
|
20
|
+
folderName: 'Setup'
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Link from '../Link';
|
|
4
|
+
export default class Link__default extends React.Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement(Link, {
|
|
11
|
+
text: "View Page",
|
|
12
|
+
url: "https://zoho.com"
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
if (false) {
|
|
19
|
+
Link__default.docs = {
|
|
20
|
+
componentGroup: 'Header',
|
|
21
|
+
folderName: 'Setup'
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Search from '../Search';
|
|
4
|
+
export default class Search__default extends React.Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
this.state = {
|
|
8
|
+
value: ''
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
render() {
|
|
13
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
14
|
+
style: {
|
|
15
|
+
width: '200px',
|
|
16
|
+
margin: '50px'
|
|
17
|
+
}
|
|
18
|
+
}, /*#__PURE__*/React.createElement(Search, {
|
|
19
|
+
value: this.state.value,
|
|
20
|
+
placeHolder: "Search",
|
|
21
|
+
onChange: value => {
|
|
22
|
+
this.setState({
|
|
23
|
+
value: value
|
|
24
|
+
});
|
|
25
|
+
},
|
|
26
|
+
onBlur: () => {
|
|
27
|
+
this.setState({
|
|
28
|
+
value: ''
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
}));
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
if (false) {
|
|
37
|
+
Search__default.docs = {
|
|
38
|
+
componentGroup: 'Header',
|
|
39
|
+
folderName: 'Setup'
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Views from '../Views';
|
|
4
|
+
export default class Views__default extends React.Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
11
|
+
style: {
|
|
12
|
+
'margin': '50px'
|
|
13
|
+
}
|
|
14
|
+
}, /*#__PURE__*/React.createElement(Views, null));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
if (false) {
|
|
20
|
+
Views__default.docs = {
|
|
21
|
+
componentGroup: 'Header',
|
|
22
|
+
folderName: 'Setup'
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Description from '../Description';
|
|
4
|
+
export default class Description__default extends React.Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
11
|
+
style: {
|
|
12
|
+
margin: '1.25rem'
|
|
13
|
+
}
|
|
14
|
+
}, /*#__PURE__*/React.createElement(Description, {
|
|
15
|
+
text: "Create templates to customize email notifications and ticket details according to your specific needs. You can use email templates while replying to ticket, sending notification e-mails and for alerts associated with workflows, SLAs & escalations. These templates are specific to each module. Using ticket templates, you can automatically populate some pre-defined values into some ticket fields while adding new ticket. It saves you a lot of time and effort each time."
|
|
16
|
+
}));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
if (false) {
|
|
22
|
+
Description__default.docs = {
|
|
23
|
+
componentGroup: 'HelpTips',
|
|
24
|
+
folderName: 'Setup'
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Link from '../Link';
|
|
4
|
+
export default class Link__default extends React.Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
11
|
+
style: {
|
|
12
|
+
margin: '2rem'
|
|
13
|
+
}
|
|
14
|
+
}, /*#__PURE__*/React.createElement(Link, {
|
|
15
|
+
url: 'https://help.zoho.com/portal/kb/articles/creating-and-managing-email-templates',
|
|
16
|
+
text: "All you need to know about email templates "
|
|
17
|
+
}));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
if (false) {
|
|
23
|
+
Link__default.docs = {
|
|
24
|
+
componentGroup: 'HelpTips',
|
|
25
|
+
folderName: 'Setup'
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import ListGroup from '../ListGroup';
|
|
4
|
+
export default class ListGroup__default extends React.Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
11
|
+
style: {
|
|
12
|
+
margin: '1.125rem'
|
|
13
|
+
}
|
|
14
|
+
}, /*#__PURE__*/React.createElement(ListGroup, {
|
|
15
|
+
data: ['Receive automated bot notifications about ticket due-times, status updates, and comments', 'Receive automated bot notifications about ticket due-times, status updates, and comments'],
|
|
16
|
+
unOrderData: ['Receive automated bot notifications about ticket due-times, status updates, and comments.', 'Receive automated bot notifications about ticket due-times, status updates, and comments.']
|
|
17
|
+
}), /*#__PURE__*/React.createElement(ListGroup, {
|
|
18
|
+
isOrder: true,
|
|
19
|
+
data: ['Receive automated bot notifications about ticket due-times, status updates, and comments', 'Receive automated bot notifications about ticket due-times, status updates, and comments']
|
|
20
|
+
}));
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
if (false) {
|
|
26
|
+
ListGroup__default.docs = {
|
|
27
|
+
componentGroup: 'HelpTips',
|
|
28
|
+
folderName: 'Setup'
|
|
29
|
+
};
|
|
30
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Title from '../Title';
|
|
4
|
+
export default class Title__default extends React.Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
11
|
+
style: {
|
|
12
|
+
margin: '1.25rem'
|
|
13
|
+
}
|
|
14
|
+
}, /*#__PURE__*/React.createElement(Title, {
|
|
15
|
+
text: "Zoho Desk"
|
|
16
|
+
}));
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
if (false) {
|
|
22
|
+
Title__default.docs = {
|
|
23
|
+
componentGroup: 'HelpTips',
|
|
24
|
+
folderName: 'Setup'
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Table from '../Table';
|
|
3
|
+
import TableHead from '../../TableHead/TableHead';
|
|
4
|
+
import TableData from '../../TableData/TableData';
|
|
5
|
+
import TableBody from '../../TableBody/TableBody';
|
|
6
|
+
import TableRow from '../../TableRow/TableRow';
|
|
7
|
+
import Text from '../../Text/Text';
|
|
8
|
+
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
9
|
+
import hoverCss from '../../TableData/Tablehover.module.css';
|
|
10
|
+
export default class Table__default extends React.Component {
|
|
11
|
+
constructor(props) {
|
|
12
|
+
super(props);
|
|
13
|
+
this.over = this.over.bind(this);
|
|
14
|
+
this.out = this.out.bind(this);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
over() {
|
|
18
|
+
console.log('over');
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
out() {
|
|
22
|
+
console.log('out');
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
render() {
|
|
26
|
+
return /*#__PURE__*/React.createElement(Table, null, /*#__PURE__*/React.createElement(TableHead, null, /*#__PURE__*/React.createElement(TableData, {
|
|
27
|
+
flexible: true,
|
|
28
|
+
shrink: true,
|
|
29
|
+
type: "size150"
|
|
30
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
31
|
+
type: "heading",
|
|
32
|
+
text: "header1"
|
|
33
|
+
})), /*#__PURE__*/React.createElement(TableData, {
|
|
34
|
+
flexible: true,
|
|
35
|
+
shrink: true,
|
|
36
|
+
type: "size150"
|
|
37
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
38
|
+
type: "heading",
|
|
39
|
+
text: "header2"
|
|
40
|
+
})), /*#__PURE__*/React.createElement(TableData, {
|
|
41
|
+
flexible: true,
|
|
42
|
+
shrink: true,
|
|
43
|
+
type: "size150"
|
|
44
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
45
|
+
type: "heading",
|
|
46
|
+
text: "header3"
|
|
47
|
+
})), /*#__PURE__*/React.createElement(TableData, {
|
|
48
|
+
flexible: true,
|
|
49
|
+
shrink: true,
|
|
50
|
+
type: "size150",
|
|
51
|
+
align: "center"
|
|
52
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
53
|
+
type: "heading",
|
|
54
|
+
text: "header4"
|
|
55
|
+
}))), /*#__PURE__*/React.createElement(TableBody, null, /*#__PURE__*/React.createElement(TableRow, {
|
|
56
|
+
onMouseEnter: this.over,
|
|
57
|
+
onMouseLeave: this.out
|
|
58
|
+
}, /*#__PURE__*/React.createElement(TableData, {
|
|
59
|
+
flexible: true,
|
|
60
|
+
shrink: true,
|
|
61
|
+
type: "size150"
|
|
62
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
63
|
+
text: "Data1"
|
|
64
|
+
})), /*#__PURE__*/React.createElement(TableData, {
|
|
65
|
+
flexible: true,
|
|
66
|
+
shrink: true,
|
|
67
|
+
type: "size150"
|
|
68
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
69
|
+
type: "semiBold",
|
|
70
|
+
text: "Data2"
|
|
71
|
+
})), /*#__PURE__*/React.createElement(TableData, {
|
|
72
|
+
flexible: true,
|
|
73
|
+
shrink: true,
|
|
74
|
+
type: "size150"
|
|
75
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
76
|
+
alignBox: "row"
|
|
77
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
78
|
+
shrink: "true"
|
|
79
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
80
|
+
text: `Not Verified - `
|
|
81
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
82
|
+
style: {
|
|
83
|
+
'margin-left': '4px'
|
|
84
|
+
}
|
|
85
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
86
|
+
text: ` Verify`,
|
|
87
|
+
type: "primary"
|
|
88
|
+
})))), /*#__PURE__*/React.createElement(TableData, {
|
|
89
|
+
flexible: true,
|
|
90
|
+
shrink: true,
|
|
91
|
+
type: "size150",
|
|
92
|
+
align: "center"
|
|
93
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
94
|
+
text: "Data4"
|
|
95
|
+
}))), /*#__PURE__*/React.createElement(TableRow, null, /*#__PURE__*/React.createElement(TableData, {
|
|
96
|
+
flexible: true,
|
|
97
|
+
shrink: true,
|
|
98
|
+
type: "size150"
|
|
99
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
100
|
+
text: "Data1"
|
|
101
|
+
})), /*#__PURE__*/React.createElement(TableData, {
|
|
102
|
+
flexible: true,
|
|
103
|
+
shrink: true,
|
|
104
|
+
type: "size150"
|
|
105
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
106
|
+
type: "semiBold",
|
|
107
|
+
text: "Data2"
|
|
108
|
+
})), /*#__PURE__*/React.createElement(TableData, {
|
|
109
|
+
flexible: true,
|
|
110
|
+
shrink: true,
|
|
111
|
+
type: "size150"
|
|
112
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
113
|
+
style: {
|
|
114
|
+
'margin-left': '4px'
|
|
115
|
+
},
|
|
116
|
+
text: "-"
|
|
117
|
+
})), /*#__PURE__*/React.createElement(TableData, {
|
|
118
|
+
flexible: true,
|
|
119
|
+
shrink: true,
|
|
120
|
+
type: "size150",
|
|
121
|
+
align: "center"
|
|
122
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
123
|
+
text: "Data4"
|
|
124
|
+
}))), /*#__PURE__*/React.createElement(TableRow, {
|
|
125
|
+
className: `${hoverCss.container}`
|
|
126
|
+
}, /*#__PURE__*/React.createElement(TableData, {
|
|
127
|
+
flexible: true,
|
|
128
|
+
shrink: true,
|
|
129
|
+
type: "size150"
|
|
130
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
131
|
+
text: "Data1"
|
|
132
|
+
})), /*#__PURE__*/React.createElement(TableData, {
|
|
133
|
+
flexible: true,
|
|
134
|
+
shrink: true,
|
|
135
|
+
type: "size150"
|
|
136
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
137
|
+
type: "semiBold",
|
|
138
|
+
text: "Data2"
|
|
139
|
+
})), /*#__PURE__*/React.createElement(TableData, {
|
|
140
|
+
flexible: true,
|
|
141
|
+
shrink: true,
|
|
142
|
+
type: "size150"
|
|
143
|
+
}, /*#__PURE__*/React.createElement(Container, {
|
|
144
|
+
alignBox: "row"
|
|
145
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
146
|
+
shrink: "true"
|
|
147
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
148
|
+
text: "verified"
|
|
149
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
150
|
+
shrink: "true",
|
|
151
|
+
style: {
|
|
152
|
+
'margin-left': '4px'
|
|
153
|
+
}
|
|
154
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
155
|
+
text: ` - `
|
|
156
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
157
|
+
className: hoverCss.opac0,
|
|
158
|
+
style: {
|
|
159
|
+
'margin-left': '4px'
|
|
160
|
+
}
|
|
161
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
162
|
+
text: ` Details`,
|
|
163
|
+
palette: "primary"
|
|
164
|
+
})))), /*#__PURE__*/React.createElement(TableData, {
|
|
165
|
+
flexible: true,
|
|
166
|
+
shrink: true,
|
|
167
|
+
type: "size150",
|
|
168
|
+
align: "center"
|
|
169
|
+
}, /*#__PURE__*/React.createElement(Text, {
|
|
170
|
+
text: "Data4"
|
|
171
|
+
})))));
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
if (false) {
|
|
177
|
+
Table__default.docs = {
|
|
178
|
+
componentGroup: 'Table',
|
|
179
|
+
folderName: 'Setup'
|
|
180
|
+
};
|
|
181
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Text from '../Text';
|
|
3
|
+
export default class Text__default extends React.Component {
|
|
4
|
+
render() {
|
|
5
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Text, {
|
|
6
|
+
text: "Default Text"
|
|
7
|
+
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Text, {
|
|
8
|
+
text: "bold",
|
|
9
|
+
type: "bold",
|
|
10
|
+
url: "#",
|
|
11
|
+
palette: "primary"
|
|
12
|
+
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Text, {
|
|
13
|
+
text: "semiBold",
|
|
14
|
+
type: "semiBold",
|
|
15
|
+
palette: "primary",
|
|
16
|
+
url: "#"
|
|
17
|
+
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Text, {
|
|
18
|
+
text: "link Regular",
|
|
19
|
+
palette: "primary",
|
|
20
|
+
url: "#"
|
|
21
|
+
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Text, {
|
|
22
|
+
text: "Medium Text",
|
|
23
|
+
size: "medium",
|
|
24
|
+
onClick: "dummy()"
|
|
25
|
+
})));
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
if (false) {
|
|
31
|
+
Text__default.docs = {
|
|
32
|
+
componentGroup: 'Text',
|
|
33
|
+
folderName: 'Setup'
|
|
34
|
+
};
|
|
35
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PlusIcon from '../PlusIcon';
|
|
3
|
+
import SnippetIcon from '../SnippetIcon';
|
|
4
|
+
import TemplateIcon from '../TemplateIcon';
|
|
5
|
+
import { Container, Box } from '@zohodesk/components/lib/Layout';
|
|
6
|
+
export default class SVG__default extends React.Component {
|
|
7
|
+
render() {
|
|
8
|
+
let boxStyle = {
|
|
9
|
+
minWidth: '15%',
|
|
10
|
+
border: '1px solid #dcdcdc',
|
|
11
|
+
padding: '5px',
|
|
12
|
+
margin: '5px'
|
|
13
|
+
};
|
|
14
|
+
let textStyle = {
|
|
15
|
+
textAlign: 'center',
|
|
16
|
+
padding: '10px 0',
|
|
17
|
+
background: ' #f9f9f9',
|
|
18
|
+
marginTop: '10px',
|
|
19
|
+
color: '#000'
|
|
20
|
+
};
|
|
21
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Container, {
|
|
22
|
+
alignBox: "row",
|
|
23
|
+
align: "both",
|
|
24
|
+
wrap: "wrap"
|
|
25
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
26
|
+
flexible: true,
|
|
27
|
+
style: boxStyle
|
|
28
|
+
}, /*#__PURE__*/React.createElement(PlusIcon, null), /*#__PURE__*/React.createElement("div", {
|
|
29
|
+
style: textStyle
|
|
30
|
+
}, "PlusIcon")), /*#__PURE__*/React.createElement(Box, {
|
|
31
|
+
flexible: true,
|
|
32
|
+
style: boxStyle
|
|
33
|
+
}, /*#__PURE__*/React.createElement(SnippetIcon, null), /*#__PURE__*/React.createElement("div", {
|
|
34
|
+
style: textStyle
|
|
35
|
+
}, "SnippetIcon")), /*#__PURE__*/React.createElement(Box, {
|
|
36
|
+
flexible: true,
|
|
37
|
+
style: boxStyle
|
|
38
|
+
}, /*#__PURE__*/React.createElement(TemplateIcon, null), /*#__PURE__*/React.createElement("div", {
|
|
39
|
+
style: textStyle
|
|
40
|
+
}, "TemplateIcon"))));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
if (false) {
|
|
46
|
+
SVG__default.docs = {
|
|
47
|
+
componentGroup: 'SVG'
|
|
48
|
+
};
|
|
49
|
+
}
|