@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,20 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import DotNew from '../DotNew';
|
|
4
|
+
export default class DotNew__default extends Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement(DotNew, null);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
if (false) {
|
|
16
|
+
DotNew__default.docs = {
|
|
17
|
+
folderName: 'List',
|
|
18
|
+
componentGroup: 'DotNew'
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import GridStencils from '../GridStencils';
|
|
4
|
+
import style from '@zohodesk/components/lib/common/docStyle.module.css';
|
|
5
|
+
export default class GridStencils__default extends Component {
|
|
6
|
+
constructor(props) {
|
|
7
|
+
super(props);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
render() {
|
|
11
|
+
return /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement("div", {
|
|
12
|
+
className: style.w350
|
|
13
|
+
}, /*#__PURE__*/React.createElement(GridStencils, {
|
|
14
|
+
lineBar: "Bar",
|
|
15
|
+
from: "leftPanel",
|
|
16
|
+
isThreeLayout: true
|
|
17
|
+
}), /*#__PURE__*/React.createElement(GridStencils, {
|
|
18
|
+
lineBar: "Bar"
|
|
19
|
+
}), /*#__PURE__*/React.createElement(GridStencils, {
|
|
20
|
+
lineBar: "Bar"
|
|
21
|
+
}), /*#__PURE__*/React.createElement(GridStencils, {
|
|
22
|
+
lineBar: "Bar"
|
|
23
|
+
}), /*#__PURE__*/React.createElement(GridStencils, {
|
|
24
|
+
lineBar: "Bar"
|
|
25
|
+
})));
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
if (false) {
|
|
31
|
+
GridStencils__default.docs = {
|
|
32
|
+
folderName: 'List',
|
|
33
|
+
componentGroup: 'GridStencils'
|
|
34
|
+
};
|
|
35
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import FloatingIcons from '../FloatingIcons';
|
|
3
|
+
import EditIcon from '../EditIcon';
|
|
4
|
+
import DeleteIcon from '../DeleteIcon';
|
|
5
|
+
import SmartIcon from '../SmartIcon';
|
|
6
|
+
import ReadUnreadIcon from '../ReadUnreadIcon';
|
|
7
|
+
export default class FloatingIcons__default extends Component {
|
|
8
|
+
render() {
|
|
9
|
+
return /*#__PURE__*/React.createElement(FloatingIcons, null, /*#__PURE__*/React.createElement(ReadUnreadIcon, {
|
|
10
|
+
isRead: true,
|
|
11
|
+
iconSize: "15"
|
|
12
|
+
}), /*#__PURE__*/React.createElement(ReadUnreadIcon, {
|
|
13
|
+
iconSize: "15"
|
|
14
|
+
}), /*#__PURE__*/React.createElement(EditIcon, null), /*#__PURE__*/React.createElement(DeleteIcon, null), /*#__PURE__*/React.createElement(SmartIcon, null));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
if (false) {
|
|
20
|
+
FloatingIcons__default.docs = {
|
|
21
|
+
folderName: 'List',
|
|
22
|
+
componentGroup: 'FloatingIcons'
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import ListLayout, { Column } from '../ListLayout';
|
|
4
|
+
export default class ListLayout__default extends Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
generateFooter() {
|
|
10
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
11
|
+
style: {
|
|
12
|
+
padding: '20px'
|
|
13
|
+
}
|
|
14
|
+
}, "Footer Area..!");
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
render() {
|
|
18
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("h3", null, "We have to define at least 1 Column and maximum 3 column in ", /*#__PURE__*/React.createElement("b", null, "ListLayout"), " Component"), /*#__PURE__*/React.createElement("h4", null, "Variation1"), /*#__PURE__*/React.createElement(ListLayout, {
|
|
19
|
+
footer: this.generateFooter
|
|
20
|
+
}, /*#__PURE__*/React.createElement(Column, null, /*#__PURE__*/React.createElement("div", {
|
|
21
|
+
style: {
|
|
22
|
+
padding: '20px'
|
|
23
|
+
}
|
|
24
|
+
}, "Column One")), /*#__PURE__*/React.createElement(Column, {
|
|
25
|
+
flexible: true
|
|
26
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
27
|
+
style: {
|
|
28
|
+
padding: '20px'
|
|
29
|
+
}
|
|
30
|
+
}, "Column Two")), /*#__PURE__*/React.createElement(Column, null, /*#__PURE__*/React.createElement("div", {
|
|
31
|
+
style: {
|
|
32
|
+
padding: '20px'
|
|
33
|
+
}
|
|
34
|
+
}, "Column Three")), /*#__PURE__*/React.createElement(Column, null, /*#__PURE__*/React.createElement("div", {
|
|
35
|
+
style: {
|
|
36
|
+
padding: '20px'
|
|
37
|
+
}
|
|
38
|
+
}, "Column Four"))), /*#__PURE__*/React.createElement("h4", null, "Variation2"), /*#__PURE__*/React.createElement(ListLayout, {
|
|
39
|
+
needHover: true
|
|
40
|
+
}, /*#__PURE__*/React.createElement(Column, {
|
|
41
|
+
flexible: true
|
|
42
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
43
|
+
style: {
|
|
44
|
+
padding: '20px'
|
|
45
|
+
}
|
|
46
|
+
}, "Column One")), /*#__PURE__*/React.createElement(Column, null, /*#__PURE__*/React.createElement("div", {
|
|
47
|
+
style: {
|
|
48
|
+
padding: '20px'
|
|
49
|
+
}
|
|
50
|
+
}, "Column Two"))));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
if (false) {
|
|
56
|
+
ListLayout__default.docs = {
|
|
57
|
+
folderName: 'List',
|
|
58
|
+
componentGroup: 'ListLayout'
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import ListStencils from '../ListStencils';
|
|
4
|
+
export default class ListStencils__default extends Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement(ListStencils, null);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
if (false) {
|
|
16
|
+
ListStencils__default.docs = {
|
|
17
|
+
folderName: 'List',
|
|
18
|
+
componentGroup: 'ListStencils'
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import ContactName from '../ContactName';
|
|
4
|
+
export default class ContactName__default extends Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement(ContactName, {
|
|
11
|
+
text: "Antro Contact",
|
|
12
|
+
isPaidUser: true
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
if (false) {
|
|
19
|
+
ContactName__default.docs = {
|
|
20
|
+
folderName: 'List',
|
|
21
|
+
componentGroup: 'ContactName'
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
.layoutWrapper {
|
|
2
|
+
width: 100%;
|
|
3
|
+
margin-bottom: 20px;
|
|
4
|
+
padding: 10px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.minilayoutContainer {
|
|
8
|
+
flex-direction: column;
|
|
9
|
+
}
|
|
10
|
+
.container {
|
|
11
|
+
background: gray;
|
|
12
|
+
}
|
|
13
|
+
.itemId {
|
|
14
|
+
composes: flexshrink from '~@zohodesk/components/lib/common/common.module.css';
|
|
15
|
+
}
|
|
16
|
+
.itemInner {
|
|
17
|
+
composes: dflex alignVertical from '~@zohodesk/components/lib/common/common.module.css';
|
|
18
|
+
max-width: var(--zd_size240);
|
|
19
|
+
font-size: 13px;
|
|
20
|
+
padding: 5px;
|
|
21
|
+
background: #fafafa;
|
|
22
|
+
}
|
|
23
|
+
.itemText {
|
|
24
|
+
composes: flexgrow flexshrink flexbasis from '~@zohodesk/components/lib/common/common.module.css';
|
|
25
|
+
white-space: nowrap;
|
|
26
|
+
text-overflow: ellipsis;
|
|
27
|
+
overflow: hidden;
|
|
28
|
+
}
|
|
29
|
+
.itemDot {
|
|
30
|
+
display: inline-block;
|
|
31
|
+
vertical-align: middle;
|
|
32
|
+
width: 3px;
|
|
33
|
+
height: 3px;
|
|
34
|
+
background-color: red;
|
|
35
|
+
border-radius: 50%;
|
|
36
|
+
margin: 0 10px;
|
|
37
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import SecondryPanel, { SecondryPanelUL, SecondryPanelLI } from '../SecondryPanel';
|
|
4
|
+
import style from './SecondryPanelDocs.module.css';
|
|
5
|
+
import { ResponsiveReceiver } from '@zohodesk/components/lib/Responsive/CustomResponsive';
|
|
6
|
+
export default class SecondryPanel__default extends Component {
|
|
7
|
+
constructor(props) {
|
|
8
|
+
super(props);
|
|
9
|
+
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
responsiveFunc(_ref) {
|
|
13
|
+
let {
|
|
14
|
+
mediaQueryOR
|
|
15
|
+
} = _ref;
|
|
16
|
+
return {
|
|
17
|
+
uptoTablet: mediaQueryOR([{
|
|
18
|
+
maxWidth: 640
|
|
19
|
+
}])
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
render() {
|
|
24
|
+
return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
25
|
+
query: this.responsiveFunc
|
|
26
|
+
}, _ref2 => {
|
|
27
|
+
let {
|
|
28
|
+
uptoTablet
|
|
29
|
+
} = _ref2;
|
|
30
|
+
return /*#__PURE__*/React.createElement(SecondryPanel, {
|
|
31
|
+
className: style.layoutWrapper
|
|
32
|
+
}, /*#__PURE__*/React.createElement(SecondryPanelUL, {
|
|
33
|
+
className: `${uptoTablet ? style.minilayoutContainer : ''}`
|
|
34
|
+
}, /*#__PURE__*/React.createElement(SecondryPanelLI, null, /*#__PURE__*/React.createElement(SecondryPanelUL, {
|
|
35
|
+
className: style.container
|
|
36
|
+
}, /*#__PURE__*/React.createElement(SecondryPanelLI, {
|
|
37
|
+
className: `${style.itemId}`
|
|
38
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
39
|
+
className: style.itemInner
|
|
40
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
41
|
+
className: style.itemText
|
|
42
|
+
}, "#12303456789"), /*#__PURE__*/React.createElement("span", {
|
|
43
|
+
className: style.itemDot
|
|
44
|
+
}))), /*#__PURE__*/React.createElement(SecondryPanelLI, null, /*#__PURE__*/React.createElement("span", {
|
|
45
|
+
className: style.itemInner
|
|
46
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
47
|
+
className: style.itemText
|
|
48
|
+
}, "Nicole Hawkins"), /*#__PURE__*/React.createElement("span", {
|
|
49
|
+
className: style.itemDot
|
|
50
|
+
}))), /*#__PURE__*/React.createElement(SecondryPanelLI, null, /*#__PURE__*/React.createElement("span", {
|
|
51
|
+
className: style.itemInner
|
|
52
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
53
|
+
className: style.itemText
|
|
54
|
+
}, "Welcome to Diffchecker"), /*#__PURE__*/React.createElement("span", {
|
|
55
|
+
className: style.itemDot
|
|
56
|
+
}))))), /*#__PURE__*/React.createElement(SecondryPanelLI, null, /*#__PURE__*/React.createElement(SecondryPanelUL, {
|
|
57
|
+
className: style.container
|
|
58
|
+
}, /*#__PURE__*/React.createElement(SecondryPanelLI, null, /*#__PURE__*/React.createElement("span", {
|
|
59
|
+
className: style.itemInner
|
|
60
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
61
|
+
className: style.itemText
|
|
62
|
+
}, "28 Jun 2019"), /*#__PURE__*/React.createElement("span", {
|
|
63
|
+
className: style.itemDot
|
|
64
|
+
}))), /*#__PURE__*/React.createElement(SecondryPanelLI, null, /*#__PURE__*/React.createElement("span", {
|
|
65
|
+
className: style.itemInner
|
|
66
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
67
|
+
className: style.itemText
|
|
68
|
+
}, "28 May 2019 07:41 PM"), /*#__PURE__*/React.createElement("span", {
|
|
69
|
+
className: style.itemDot
|
|
70
|
+
})))))));
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
if (false) {
|
|
77
|
+
SecondryPanel__default.docs = {
|
|
78
|
+
folderName: 'List',
|
|
79
|
+
componentGroup: 'SecondaryLayout'
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import SentimentStatus from '../SentimentStatus';
|
|
4
|
+
export default class SentimentStatus__default extends React.Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement(SentimentStatus, null);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
if (false) {
|
|
16
|
+
SentimentStatus__default.docs = {
|
|
17
|
+
componentGroup: ''
|
|
18
|
+
};
|
|
19
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Subject from '../Subject';
|
|
4
|
+
export default class Subject__default extends Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
11
|
+
style: {
|
|
12
|
+
margin: '10px'
|
|
13
|
+
}
|
|
14
|
+
}, /*#__PURE__*/React.createElement("div", null, "Font Variant"), /*#__PURE__*/React.createElement("div", {
|
|
15
|
+
style: {
|
|
16
|
+
margin: '10px'
|
|
17
|
+
}
|
|
18
|
+
}, /*#__PURE__*/React.createElement(Subject, {
|
|
19
|
+
text: "MacBook Pro - A touch of genius"
|
|
20
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
21
|
+
style: {
|
|
22
|
+
margin: '10px'
|
|
23
|
+
}
|
|
24
|
+
}, /*#__PURE__*/React.createElement(Subject, {
|
|
25
|
+
text: "MacBook Pro - A touch of genius",
|
|
26
|
+
fontWeight: "semibold"
|
|
27
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
28
|
+
style: {
|
|
29
|
+
margin: '10px'
|
|
30
|
+
}
|
|
31
|
+
}, /*#__PURE__*/React.createElement(Subject, {
|
|
32
|
+
text: "MacBook Pro - A touch of genius",
|
|
33
|
+
fontWeight: "bold"
|
|
34
|
+
})));
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (false) {
|
|
40
|
+
Subject__default.docs = {
|
|
41
|
+
folderName: 'List',
|
|
42
|
+
componentGroup: 'Subject'
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import TagNew from '../TagNew';
|
|
4
|
+
export default class TagNew__default extends Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement(TagNew, {
|
|
11
|
+
text: "3 New",
|
|
12
|
+
animate: true
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
if (false) {
|
|
19
|
+
TagNew__default.docs = {
|
|
20
|
+
folderName: 'List',
|
|
21
|
+
componentGroup: 'TagNew'
|
|
22
|
+
};
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import Thread from '../Thread';
|
|
4
|
+
export default class Thread__default extends Component {
|
|
5
|
+
constructor(props) {
|
|
6
|
+
super(props);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
render() {
|
|
10
|
+
return /*#__PURE__*/React.createElement(Thread, {
|
|
11
|
+
count: "1"
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
if (false) {
|
|
18
|
+
Thread__default.docs = {
|
|
19
|
+
folderName: 'List',
|
|
20
|
+
componentGroup: 'Thread'
|
|
21
|
+
};
|
|
22
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import React, { Component } from 'react';
|
|
2
|
+
import UserTime from '../UserTime';
|
|
3
|
+
export default class UserTime__default extends Component {
|
|
4
|
+
constructor(props) {
|
|
5
|
+
super(props);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
render() {
|
|
9
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
10
|
+
style: {
|
|
11
|
+
margin: '10px'
|
|
12
|
+
}
|
|
13
|
+
}, /*#__PURE__*/React.createElement(UserTime, {
|
|
14
|
+
to: "2018-02-28T10:12:31.000Z",
|
|
15
|
+
icon: "closedTime",
|
|
16
|
+
format: _ref => {
|
|
17
|
+
let {
|
|
18
|
+
years,
|
|
19
|
+
days,
|
|
20
|
+
months,
|
|
21
|
+
hours
|
|
22
|
+
} = _ref;
|
|
23
|
+
|
|
24
|
+
if (years == 0 && days == 0 && months == 0) {
|
|
25
|
+
return 'hh:mm A';
|
|
26
|
+
} else if (years == 0 && days < 7 && months == 0) {
|
|
27
|
+
return 'ddd DD MMM';
|
|
28
|
+
} else if (years == 0 && months > 1) {
|
|
29
|
+
return 'DD MMM';
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
return 'DD MMM YYYY';
|
|
33
|
+
},
|
|
34
|
+
ago: "ago",
|
|
35
|
+
later: "late"
|
|
36
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
37
|
+
style: {
|
|
38
|
+
margin: '10px'
|
|
39
|
+
}
|
|
40
|
+
}, /*#__PURE__*/React.createElement(UserTime, {
|
|
41
|
+
to: "2018-02-28T10:12:31.000Z",
|
|
42
|
+
icon: "overdue",
|
|
43
|
+
iconColor: "red",
|
|
44
|
+
format: _ref2 => {
|
|
45
|
+
let {
|
|
46
|
+
years,
|
|
47
|
+
days,
|
|
48
|
+
months,
|
|
49
|
+
hours
|
|
50
|
+
} = _ref2;
|
|
51
|
+
|
|
52
|
+
if (years == 0 && days == 0 && months == 0) {
|
|
53
|
+
return 'hh:mm A';
|
|
54
|
+
} else if (years == 0 && days < 7 && months == 0) {
|
|
55
|
+
return 'ddd DD MMM';
|
|
56
|
+
} else if (years == 0 && months > 1) {
|
|
57
|
+
return 'DD MMM';
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return 'DD MMM YYYY';
|
|
61
|
+
},
|
|
62
|
+
ago: "ago",
|
|
63
|
+
later: "late"
|
|
64
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
65
|
+
style: {
|
|
66
|
+
margin: '10px'
|
|
67
|
+
}
|
|
68
|
+
}, /*#__PURE__*/React.createElement(UserTime, {
|
|
69
|
+
to: "2018-02-28T10:12:31.000Z",
|
|
70
|
+
icon: "createdtime",
|
|
71
|
+
iconColor: "green",
|
|
72
|
+
format: _ref3 => {
|
|
73
|
+
let {
|
|
74
|
+
years,
|
|
75
|
+
days,
|
|
76
|
+
months,
|
|
77
|
+
hours
|
|
78
|
+
} = _ref3;
|
|
79
|
+
|
|
80
|
+
if (years == 0 && days == 0 && months == 0) {
|
|
81
|
+
return 'hh:mm A';
|
|
82
|
+
} else if (years == 0 && days < 7 && months == 0) {
|
|
83
|
+
return 'ddd DD MMM';
|
|
84
|
+
} else if (years == 0 && months > 1) {
|
|
85
|
+
return 'DD MMM';
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return 'DD MMM YYYY';
|
|
89
|
+
},
|
|
90
|
+
ago: "ago",
|
|
91
|
+
later: "late"
|
|
92
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
93
|
+
style: {
|
|
94
|
+
margin: '10px'
|
|
95
|
+
}
|
|
96
|
+
}, /*#__PURE__*/React.createElement(UserTime, {
|
|
97
|
+
to: "2018-02-28T10:12:31.000Z",
|
|
98
|
+
icon: "completedTask",
|
|
99
|
+
format: _ref4 => {
|
|
100
|
+
let {
|
|
101
|
+
years,
|
|
102
|
+
days,
|
|
103
|
+
months,
|
|
104
|
+
hours
|
|
105
|
+
} = _ref4;
|
|
106
|
+
|
|
107
|
+
if (years == 0 && days == 0 && months == 0) {
|
|
108
|
+
return 'hh:mm A';
|
|
109
|
+
} else if (years == 0 && days < 7 && months == 0) {
|
|
110
|
+
return 'ddd DD MMM';
|
|
111
|
+
} else if (years == 0 && months > 1) {
|
|
112
|
+
return 'DD MMM';
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
return 'DD MMM YYYY';
|
|
116
|
+
},
|
|
117
|
+
ago: "ago",
|
|
118
|
+
later: "late"
|
|
119
|
+
})), /*#__PURE__*/React.createElement("div", {
|
|
120
|
+
style: {
|
|
121
|
+
margin: '10px'
|
|
122
|
+
}
|
|
123
|
+
}, /*#__PURE__*/React.createElement(UserTime, {
|
|
124
|
+
to: "2018-02-28T10:12:31.000Z",
|
|
125
|
+
icon: "dueTime",
|
|
126
|
+
iconColor: "orange",
|
|
127
|
+
format: _ref5 => {
|
|
128
|
+
let {
|
|
129
|
+
years,
|
|
130
|
+
days,
|
|
131
|
+
months,
|
|
132
|
+
hours
|
|
133
|
+
} = _ref5;
|
|
134
|
+
|
|
135
|
+
if (years == 0 && days == 0 && months == 0) {
|
|
136
|
+
return 'hh:mm A';
|
|
137
|
+
} else if (years == 0 && days < 7 && months == 0) {
|
|
138
|
+
return 'ddd DD MMM';
|
|
139
|
+
} else if (years == 0 && months > 1) {
|
|
140
|
+
return 'DD MMM';
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
return 'DD MMM YYYY';
|
|
144
|
+
},
|
|
145
|
+
ago: "ago",
|
|
146
|
+
later: "late"
|
|
147
|
+
})));
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
if (false) {
|
|
153
|
+
UserTime__default.docs = {
|
|
154
|
+
folderName: 'List',
|
|
155
|
+
componentGroup: 'UserTime'
|
|
156
|
+
};
|
|
157
|
+
}
|