@zohodesk/dot 1.0.0-temp-61 → 1.0.0-temp-64
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 +14 -0
- package/es/ActionButton/ActionButton.js +10 -6
- package/es/ActionButton/ActionButton.module.css +1 -0
- package/es/Drawer/Drawer.js +8 -6
- package/es/ExternalLink/__tests__/ExternalLink.spec.js +0 -1
- package/es/Link/Link.js +1 -1
- package/es/alert/AlertLookup/AlertLookup.js +10 -5
- package/es/dropdown/ToggleDropDown/ToggleDropDown.js +11 -5
- package/es/errorstate/Inconvenience/Inconvenience.js +36 -32
- package/es/errorstate/NoRequestFound/NoRequestFound.js +36 -32
- package/es/errorstate/PermissionPlay/PermissionPlay.js +35 -31
- package/es/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +36 -32
- package/es/errorstate/UnableToProcess/UnableToProcess.js +36 -32
- package/es/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +36 -32
- package/es/errorstate/WillBack/WillBack.js +34 -30
- package/es/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +0 -2
- package/es/form/fields/TextEditor/TextEditor.js +7 -4
- package/es/form/fields/TextEditor/TextEditor.module.css +2 -1
- package/es/list/status/StatusListItem/StatusListItem.js +0 -2
- package/es/lookup/header/ViewDropDown/ViewDropDown.js +8 -4
- package/es/utils/General.js +7 -3
- package/es/utils/KeyboardApi.js +3 -1
- package/es/utils/editorUtils.js +5 -2
- package/es/version2/lookup/AlertLookup/AlertLookup.js +10 -5
- package/lib/ActionButton/ActionButton.js +13 -9
- package/lib/ActionButton/ActionButton.module.css +1 -0
- package/lib/AlphabeticList/AlphabeticList.js +3 -3
- package/lib/Attachment/Attachment.js +3 -3
- package/lib/ChannelIcon/ChannelIcon.js +3 -3
- package/lib/Drawer/Drawer.js +4 -4
- package/lib/ExternalLink/ExternalLink.js +3 -3
- package/lib/FlipCard/FlipCard.js +3 -3
- package/lib/FormAction/FormAction.js +4 -4
- package/lib/FreezeLayer/FreezeLayer.js +3 -3
- package/lib/IconButton/IconButton.js +3 -3
- package/lib/Image/Image.js +3 -3
- package/lib/ImportantNotes/ImportantNotes.js +3 -3
- package/lib/Link/Link.js +4 -4
- package/lib/Loader/Loader.js +3 -3
- package/lib/Message/Message.js +4 -4
- package/lib/MessageBanner/MessageBanner.js +3 -3
- package/lib/NewStar/NewStar.js +3 -3
- package/lib/PlusIcon/PlusIcon.js +3 -3
- package/lib/Provider.js +3 -3
- package/lib/ToastMessage/ToastMessage.js +1 -1
- package/lib/Upload/Upload.js +3 -3
- package/lib/actions/AutoClose.js +1 -1
- package/lib/alert/AlertHeader/AlertHeader.js +3 -3
- package/lib/alert/AlertLookup/AlertLookup.js +11 -7
- package/lib/avatar/AvatarClose/AvatarClose.js +3 -3
- package/lib/avatar/AvatarCollision/AvatarCollision.js +3 -3
- package/lib/avatar/AvatarIcon/AvatarIcon.js +3 -3
- package/lib/avatar/AvatarStatus/AvatarStatus.js +3 -3
- package/lib/avatar/AvatarThread/AvatarThread.js +3 -3
- package/lib/avatar/AvatarUser/AvatarUser.js +3 -3
- package/lib/avatar/AvatarWithTeam/AvatarWithTeam.js +3 -3
- package/lib/deprecated/SelectDropdown/SelectDropdown.js +3 -3
- package/lib/dropdown/ToggleDropDown/ToggleDropDown.js +3 -3
- package/lib/emptystate/CommonEmptyState/CommonEmptyState.js +3 -3
- package/lib/emptystate/EditionPage/EditionPage.js +3 -3
- package/lib/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/lib/errorstate/LinkText/LinkText.js +3 -3
- package/lib/errorstate/NoRequestFound/NoRequestFound.js +3 -3
- package/lib/errorstate/PermissionPlay/PermissionPlay.js +3 -3
- package/lib/errorstate/RequestUrlNotFound/RequestUrlNotFound.js +3 -3
- package/lib/errorstate/UnableToProcess/UnableToProcess.js +3 -3
- package/lib/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/lib/errorstate/WillBack/WillBack.js +3 -3
- package/lib/form/fields/CheckBoxField/CheckBoxField.js +3 -3
- package/lib/form/fields/CurrencyField/CurrencyField.js +3 -3
- package/lib/form/fields/DateField/DateField.js +3 -3
- package/lib/form/fields/MultiSelectField/MultiSelectField.js +3 -3
- package/lib/form/fields/PhoneField/PhoneField.js +3 -3
- package/lib/form/fields/RadioField/RadioField.js +3 -3
- package/lib/form/fields/SelectField/SelectField.js +3 -3
- package/lib/form/fields/TagsMultiSelect/TagsMultiSelect.js +3 -3
- package/lib/form/fields/TagsMultiSelectField/TagsMultiSelectField.js +1 -1
- package/lib/form/fields/TextBoxField/TextBoxField.js +3 -3
- package/lib/form/fields/TextEditor/TextEditor.js +11 -7
- package/lib/form/fields/TextEditor/TextEditor.module.css +2 -1
- package/lib/form/fields/TextEditorField/TextEditorField.js +3 -3
- package/lib/form/fields/TextEditorWrapper/TextEditorWrapper.js +3 -3
- package/lib/form/fields/TextareaField/TextareaField.js +3 -3
- package/lib/form/fields/ValidationMessage/ValidationMessage.js +3 -3
- package/lib/form/layout/Field/Field.js +3 -3
- package/lib/form/layout/Section/Section.js +3 -3
- package/lib/index.js +4 -4
- package/lib/layout/SetupDetailLayout/SetupDetailLayout.js +4 -4
- package/lib/layout/SetupDetailLayout/index.js +7 -7
- package/lib/layout/SubtabLayout/SubtabLayout.js +4 -4
- package/lib/layout/SubtabLayout/index.js +9 -9
- package/lib/list/AvatarFlip/AvatarFlip.js +3 -3
- package/lib/list/BluePrintStatus/BluePrintStatus.js +3 -3
- package/lib/list/Comment/Comment.js +3 -3
- package/lib/list/DepartmentDropDown/DepartmentDropDown.js +3 -3
- package/lib/list/Dot/Dot.js +3 -3
- package/lib/list/DotNew/DotNew.js +3 -3
- package/lib/list/GridStencils/GridStencils.js +3 -3
- package/lib/list/Icons/AddNewIcon.js +3 -3
- package/lib/list/Icons/CompleteIcon.js +3 -3
- package/lib/list/Icons/DeleteIcon.js +3 -3
- package/lib/list/Icons/EditIcon.js +3 -3
- package/lib/list/Icons/FloatingIcons.js +3 -3
- package/lib/list/Icons/ReadUnreadIcon.js +3 -3
- package/lib/list/Icons/SmartIcon.js +3 -3
- package/lib/list/ListLayout/ListLayout.js +4 -4
- package/lib/list/ListStencils/ListStencils.js +3 -3
- package/lib/list/SecondaryText/AccountName.js +3 -3
- package/lib/list/SecondaryText/ContactName.js +3 -3
- package/lib/list/SecondaryText/DepartmentText.js +3 -3
- package/lib/list/SecondaryText/Email.js +3 -3
- package/lib/list/SecondaryText/HappinessRating.js +3 -3
- package/lib/list/SecondaryText/PhoneNumber.js +3 -3
- package/lib/list/SecondaryText/PriorityText.js +3 -3
- package/lib/list/SecondaryText/SecondaryText.js +3 -3
- package/lib/list/SecondaryText/StatusText.js +3 -3
- package/lib/list/SecondaryText/TicketId.js +3 -3
- package/lib/list/SecondaryText/Website.js +3 -3
- package/lib/list/SecondaryText/index.js +22 -22
- package/lib/list/SecondryPanel/SecondryPanel.js +4 -4
- package/lib/list/SentimentStatus/SentimentStatus.js +3 -3
- package/lib/list/Subject/Subject.js +3 -3
- package/lib/list/TagNew/TagNew.js +3 -3
- package/lib/list/Thread/Thread.js +3 -3
- package/lib/list/UserTime/UserTime.js +3 -3
- package/lib/list/status/StatusDropdown/StatusDropdown.js +3 -3
- package/lib/list/status/StatusListItem/StatusListItem.js +3 -3
- package/lib/lookup/EmptyPage/EmptyPage.js +3 -3
- package/lib/lookup/Lookup/Lookup.js +3 -3
- package/lib/lookup/Section/Section.js +3 -3
- package/lib/lookup/header/Close/Close.js +3 -3
- package/lib/lookup/header/ModuleHeader/ModuleHeader.js +3 -3
- package/lib/lookup/header/Search/Search.js +3 -3
- package/lib/lookup/header/TicketHeader/TicketHeader.js +3 -3
- package/lib/lookup/header/Title/Title.js +3 -3
- package/lib/lookup/header/ViewDropDown/ViewDropDown.js +3 -3
- package/lib/setup/header/Button/Button.js +3 -3
- package/lib/setup/header/Link/Link.js +3 -3
- package/lib/setup/header/Search/Search.js +3 -3
- package/lib/setup/header/Views/Views.js +3 -3
- package/lib/setup/helptips/Description/Description.js +3 -3
- package/lib/setup/helptips/Link/Link.js +3 -3
- package/lib/setup/helptips/ListGroup/ListGroup.js +3 -3
- package/lib/setup/helptips/Title/Title.js +3 -3
- package/lib/setup/table/Table/Table.js +3 -3
- package/lib/setup/table/TableBody/TableBody.js +3 -3
- package/lib/setup/table/TableData/TableData.js +3 -3
- package/lib/setup/table/TableHead/TableHead.js +3 -3
- package/lib/setup/table/TableRow/TableRow.js +3 -3
- package/lib/setup/table/Text/Text.js +3 -3
- package/lib/svg/PlusIcon.js +3 -3
- package/lib/svg/SnippetIcon.js +3 -3
- package/lib/svg/TemplateIcon.js +3 -3
- package/lib/utils/ChannelIconMapping.js +1 -1
- package/lib/utils/General.js +4 -4
- package/lib/utils/KeyboardApi.js +3 -1
- package/lib/utils/editorUtils.js +6 -6
- package/lib/version2/AlertClose/AlertClose.js +3 -3
- package/lib/version2/GlobalNotification/GlobalNotification.js +4 -4
- package/lib/version2/alertIcons/AlarmAlertIcon.js +3 -3
- package/lib/version2/alertIcons/AlertIcons.js +3 -3
- package/lib/version2/alertIcons/DangerAlertIcon.js +3 -3
- package/lib/version2/alertIcons/ErrorAlertIcon.js +3 -3
- package/lib/version2/alertIcons/InfoAlertIcon.js +3 -3
- package/lib/version2/alertIcons/NotificationAlertIcon.js +3 -3
- package/lib/version2/alertIcons/SuccessAlertIcon.js +3 -3
- package/lib/version2/alertIcons/WarningAlertIcon.js +3 -3
- package/lib/version2/errorstate/Inconvenience/Inconvenience.js +3 -3
- package/lib/version2/errorstate/OopsSomethingMiss/OopsSomethingMiss.js +3 -3
- package/lib/version2/errorstate/UnableToProcessRequest/UnableToProcessRequest.js +3 -3
- package/lib/version2/errorstate/UnauthorizedLogin/UnauthorizedLogin.js +3 -3
- package/lib/version2/errorstate/UrlNotFound/UrlNotFound.js +3 -3
- package/lib/version2/errorstate/WillBeRightBack/WillBeRightBack.js +3 -3
- package/lib/version2/lookup/AlertHeader/AlertHeader.js +3 -3
- package/lib/version2/lookup/AlertLookup/AlertLookup.js +11 -7
- package/lib/version2/notification/DesktopNotification/DesktopNotification.js +1 -1
- package/lib/version2/notification/DesktopNotificationHeader/DesktopNotificationHeader.js +3 -3
- package/package.json +3 -3
|
@@ -12,9 +12,10 @@ export default class UnauthorizedLogin extends React.Component {
|
|
|
12
12
|
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
responsiveFunc({
|
|
16
|
-
|
|
17
|
-
|
|
15
|
+
responsiveFunc(_ref) {
|
|
16
|
+
let {
|
|
17
|
+
mediaQueryOR
|
|
18
|
+
} = _ref;
|
|
18
19
|
return {
|
|
19
20
|
tablet: mediaQueryOR([{
|
|
20
21
|
minWidth: 481,
|
|
@@ -39,35 +40,38 @@ export default class UnauthorizedLogin extends React.Component {
|
|
|
39
40
|
} = this.props;
|
|
40
41
|
return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
41
42
|
query: this.responsiveFunc
|
|
42
|
-
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
43
|
+
}, _ref2 => {
|
|
44
|
+
let {
|
|
45
|
+
tablet,
|
|
46
|
+
uptoMobile
|
|
47
|
+
} = _ref2;
|
|
48
|
+
return /*#__PURE__*/React.createElement(Container, {
|
|
49
|
+
className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
|
|
50
|
+
dataId: dataId,
|
|
51
|
+
scroll: "vertical"
|
|
52
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
53
|
+
className: commonStyle.top
|
|
54
|
+
}, title ? /*#__PURE__*/React.createElement("div", {
|
|
55
|
+
className: uptoMobile ? commonStyle.mobileTitle : tablet ? commonStyle.tabletTitle : commonStyle.title
|
|
56
|
+
}, title) : null, subtitle ? /*#__PURE__*/React.createElement("div", {
|
|
57
|
+
className: uptoMobile ? commonStyle.mobileSubTitle : tablet ? commonStyle.tabletSubTitle : commonStyle.subtitle
|
|
58
|
+
}, subtitle) : null), /*#__PURE__*/React.createElement(Box, {
|
|
59
|
+
className: `${style.imageContainer} ${uptoMobile ? commonStyle.mobileImageContainer : commonStyle.tabletImageContainer}`
|
|
60
|
+
}, /*#__PURE__*/React.createElement(UnauthorizedLoginSVG, {
|
|
61
|
+
isFluid: true,
|
|
62
|
+
dataId: `${dataId}_svg`
|
|
63
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
64
|
+
className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
|
|
65
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
66
|
+
className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
|
|
67
|
+
}, description), /*#__PURE__*/React.createElement(LinkText, {
|
|
68
|
+
text: urlText,
|
|
69
|
+
href: url,
|
|
70
|
+
onClick: onClick,
|
|
71
|
+
dataId: `${dataId}_link`,
|
|
72
|
+
customClass: uptoMobile || tablet ? commonStyle.tabletBtmText : ''
|
|
73
|
+
})));
|
|
74
|
+
});
|
|
71
75
|
}
|
|
72
76
|
|
|
73
77
|
}
|
|
@@ -11,9 +11,10 @@ export default class WillBack extends React.Component {
|
|
|
11
11
|
this.responsiveFunc = this.responsiveFunc.bind(this);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
responsiveFunc({
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
responsiveFunc(_ref) {
|
|
15
|
+
let {
|
|
16
|
+
mediaQueryOR
|
|
17
|
+
} = _ref;
|
|
17
18
|
return {
|
|
18
19
|
tablet: mediaQueryOR([{
|
|
19
20
|
minWidth: 481,
|
|
@@ -32,33 +33,36 @@ export default class WillBack extends React.Component {
|
|
|
32
33
|
} = this.props;
|
|
33
34
|
return /*#__PURE__*/React.createElement(ResponsiveReceiver, {
|
|
34
35
|
query: this.responsiveFunc
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
36
|
+
}, _ref2 => {
|
|
37
|
+
let {
|
|
38
|
+
tablet,
|
|
39
|
+
uptoMobile
|
|
40
|
+
} = _ref2;
|
|
41
|
+
return /*#__PURE__*/React.createElement(Container, {
|
|
42
|
+
className: `${uptoMobile || tablet ? commonStyle.tabletContainer : commonStyle.container} ${customClass}`,
|
|
43
|
+
dataId: dataId,
|
|
44
|
+
scroll: "vertical"
|
|
45
|
+
}, /*#__PURE__*/React.createElement(Box, {
|
|
46
|
+
className: commonStyle.top
|
|
47
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
48
|
+
className: uptoMobile || tablet ? '' : `${commonStyle.header} ${style.header} `
|
|
49
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
50
|
+
className: uptoMobile ? style.mobileTitle : tablet ? style.tabletTitle : style.title
|
|
51
|
+
}, "We'll be right back !"))), /*#__PURE__*/React.createElement(Box, {
|
|
52
|
+
className: uptoMobile ? style.mobileImageContainer : tablet ? style.tabletImageContainer : style.imageContainer
|
|
53
|
+
}, /*#__PURE__*/React.createElement(WillBeRightBack, {
|
|
54
|
+
isFluid: true,
|
|
55
|
+
dataId: `${dataId}_svg`
|
|
56
|
+
})), /*#__PURE__*/React.createElement(Box, {
|
|
57
|
+
className: `${uptoMobile || tablet ? '' : commonStyle.footerWidth} ${commonStyle.footer}`
|
|
58
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
59
|
+
className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
|
|
60
|
+
}, "Our Service is temporarity unavailable. We are currently working to restore it."), /*#__PURE__*/React.createElement("div", {
|
|
61
|
+
className: `${uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText} ${style.bottomSpace} `
|
|
62
|
+
}, "Please try again later or report this issue"), /*#__PURE__*/React.createElement("div", {
|
|
63
|
+
className: uptoMobile || tablet ? commonStyle.tabletBtmText : commonStyle.btmText
|
|
64
|
+
}, "2013, Zoho Corp, All rights reserved.")));
|
|
65
|
+
});
|
|
62
66
|
}
|
|
63
67
|
|
|
64
68
|
}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import "core-js/modules/es.string.replace";
|
|
2
|
-
|
|
3
1
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
2
|
|
|
5
3
|
import React, { useState, useEffect } from 'react';
|
|
@@ -21,7 +21,8 @@ export default class TextEditor extends Component {
|
|
|
21
21
|
super(props);
|
|
22
22
|
this.state = {
|
|
23
23
|
isEditorLoad: false,
|
|
24
|
-
isResourceLoaded: false
|
|
24
|
+
isResourceLoaded: false,
|
|
25
|
+
isEditorShow: false
|
|
25
26
|
};
|
|
26
27
|
let methods = ['editorCallback', 'handleUpload', 'handleChange', 'focusCallback', 'handleInlineUpload', 'handleDropUpload', 'blurCallback', 'handleGetContent', 'initializeEditor', 'clearEditorData', 'plainTextSwitchCallback', 'onWindowClick', 'toggleEditor'];
|
|
27
28
|
bind.apply(this, methods);
|
|
@@ -199,7 +200,8 @@ export default class TextEditor extends Component {
|
|
|
199
200
|
isCustomScroll
|
|
200
201
|
} = this.props;
|
|
201
202
|
this.setState({
|
|
202
|
-
isEditorLoad: true
|
|
203
|
+
isEditorLoad: true,
|
|
204
|
+
isEditorShow: true
|
|
203
205
|
});
|
|
204
206
|
let {
|
|
205
207
|
id
|
|
@@ -377,12 +379,13 @@ export default class TextEditor extends Component {
|
|
|
377
379
|
isReadOnly
|
|
378
380
|
} = this.props;
|
|
379
381
|
let {
|
|
380
|
-
isEditorLoad
|
|
382
|
+
isEditorLoad,
|
|
383
|
+
isEditorShow
|
|
381
384
|
} = this.state;
|
|
382
385
|
let editorDoc = ImgLazyLoad && global.editor && global.editor[id] ? global.editor[id].doc : null;
|
|
383
386
|
return /*#__PURE__*/React.createElement(Container, {
|
|
384
387
|
className: `${styles.textEditor} ${styles[type]} ${styles[border]}
|
|
385
|
-
${isNightMode ? styles.night : styles.light} ${isReadOnly ? styles.readOnly : ''}`,
|
|
388
|
+
${isNightMode ? styles.night : styles.light} ${isReadOnly ? styles.readOnly : ''} ${!isEditorShow ? styles.editorHide : ''}`,
|
|
386
389
|
dataId: dataId,
|
|
387
390
|
"data-isEditor": true
|
|
388
391
|
}, loadingComponent && !isEditorLoad ? loadingComponent : null, /*#__PURE__*/React.createElement(Box, {
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import "core-js/modules/es.string.replace";
|
|
2
|
-
|
|
3
1
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
4
2
|
|
|
5
3
|
/**** Libraries ****/
|
|
@@ -38,6 +38,8 @@ class DropDown extends SelectComponent {
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
render() {
|
|
41
|
+
var _this = this;
|
|
42
|
+
|
|
41
43
|
const {
|
|
42
44
|
needSearch,
|
|
43
45
|
dropBoxSize,
|
|
@@ -101,19 +103,21 @@ class DropDown extends SelectComponent {
|
|
|
101
103
|
customClass: dropBoxSize ? style[dropBoxSize] : ''
|
|
102
104
|
}, suggestions.length ? /*#__PURE__*/React.createElement("div", {
|
|
103
105
|
className: style.listItemContainer
|
|
104
|
-
}, suggestions.map((
|
|
106
|
+
}, suggestions.map(function () {
|
|
107
|
+
let option = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
108
|
+
let index = arguments.length > 1 ? arguments[1] : undefined;
|
|
105
109
|
const {
|
|
106
110
|
id,
|
|
107
111
|
value
|
|
108
112
|
} = option;
|
|
109
113
|
return /*#__PURE__*/React.createElement(ListItem, {
|
|
110
114
|
active: id === selectedId,
|
|
111
|
-
getRef:
|
|
115
|
+
getRef: _this.suggestionItemRef,
|
|
112
116
|
highlight: hoverIndex === index ? true : false,
|
|
113
117
|
id: id,
|
|
114
118
|
key: `${id}dropDown`,
|
|
115
|
-
onClick:
|
|
116
|
-
onMouseEnter:
|
|
119
|
+
onClick: _this.handleChange,
|
|
120
|
+
onMouseEnter: _this.handleMouseEnter,
|
|
117
121
|
size: "medium",
|
|
118
122
|
value: value,
|
|
119
123
|
index: index,
|
package/es/utils/General.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import "core-js/modules/es.string.replace";
|
|
2
1
|
export function stopBubbling(event) {
|
|
3
2
|
event.preventDefault();
|
|
4
3
|
event.stopPropagation && event.stopPropagation();
|
|
5
4
|
event.nativeEvent && event.nativeEvent.stopImmediatePropagation && event.nativeEvent.stopImmediatePropagation();
|
|
6
5
|
}
|
|
7
|
-
export function getFullName(
|
|
6
|
+
export function getFullName() {
|
|
7
|
+
let firstName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
|
|
8
|
+
let lastName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
8
9
|
let fullName = '';
|
|
9
10
|
|
|
10
11
|
if (firstName !== null && firstName !== '') {
|
|
@@ -17,7 +18,10 @@ export function getFullName(firstName = '', lastName = '') {
|
|
|
17
18
|
|
|
18
19
|
return fullName;
|
|
19
20
|
}
|
|
20
|
-
export function shallowDiff(
|
|
21
|
+
export function shallowDiff() {
|
|
22
|
+
let a = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
23
|
+
let b = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
24
|
+
|
|
21
25
|
for (let i in a) {
|
|
22
26
|
if (!(i in b)) {
|
|
23
27
|
return true;
|
package/es/utils/KeyboardApi.js
CHANGED
|
@@ -284,7 +284,9 @@ function _shortRestrictionPlaces(e) {
|
|
|
284
284
|
let keyCode = e.keyCode || e.charCode;
|
|
285
285
|
let isContentEditable = _target.contentEditable === 'true';
|
|
286
286
|
|
|
287
|
-
if (['TEXTAREA', 'INPUT', 'SELECT'].indexOf(tagName) !== -1 ||
|
|
287
|
+
if (['TEXTAREA', 'INPUT', 'SELECT'].indexOf(tagName) !== -1 || //!SupportUI.CurrentUser.getKBStatus() ||
|
|
288
|
+
//restrict_keyUI() ||
|
|
289
|
+
keyCode >= 112 && keyCode <= 123 || isContentEditable) {
|
|
288
290
|
return true;
|
|
289
291
|
}
|
|
290
292
|
|
package/es/utils/editorUtils.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "core-js/modules/es.string.replace";
|
|
2
1
|
const ATTACHMENT_FILE_NAME_SIZE_LIMIT = 200; // editorUtils
|
|
3
2
|
|
|
4
3
|
export function editorContentValidate(editorObj) {
|
|
@@ -177,7 +176,11 @@ export function loadResource(url, type, id, callback) {
|
|
|
177
176
|
});
|
|
178
177
|
} // bind
|
|
179
178
|
|
|
180
|
-
export function bind(
|
|
179
|
+
export function bind() {
|
|
180
|
+
for (var _len = arguments.length, handlers = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
181
|
+
handlers[_key] = arguments[_key];
|
|
182
|
+
}
|
|
183
|
+
|
|
181
184
|
handlers.forEach(handler => {
|
|
182
185
|
if (__DEVELOPMENT__) {
|
|
183
186
|
if (!this[handler]) {
|
|
@@ -57,16 +57,19 @@ export default class AlertLookup extends Component {
|
|
|
57
57
|
document.removeEventListener('keydown', this.documentKeydownHandler);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
documentKeydownHandler(
|
|
60
|
+
documentKeydownHandler() {
|
|
61
|
+
let e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
61
62
|
let {
|
|
62
63
|
onSubmitClick,
|
|
63
64
|
onCancelClick,
|
|
64
|
-
isActive
|
|
65
|
+
isActive,
|
|
66
|
+
onEsc,
|
|
67
|
+
onClose
|
|
65
68
|
} = this.props;
|
|
66
69
|
|
|
67
70
|
if (e.keyCode === 27 && isActive) {
|
|
68
71
|
e && e.preventDefault && e.preventDefault();
|
|
69
|
-
onCancelClick && onCancelClick(e);
|
|
72
|
+
onEsc == 'close' ? onClose && onClose(e) : onCancelClick && onCancelClick(e);
|
|
70
73
|
} else if (e.keyCode === 13 && isActive) {
|
|
71
74
|
e && e.preventDefault && e.preventDefault();
|
|
72
75
|
onSubmitClick && onSubmitClick(e);
|
|
@@ -226,7 +229,8 @@ AlertLookup.propTypes = {
|
|
|
226
229
|
align: PropTypes.oneOf(['top', 'vertical']),
|
|
227
230
|
childAnimationName: PropTypes.oneOf(['expand', 'flyDown']),
|
|
228
231
|
isHtmlContent: PropTypes.bool,
|
|
229
|
-
scroll: PropTypes.oneOf(['horizontal', 'vertical', 'both'])
|
|
232
|
+
scroll: PropTypes.oneOf(['horizontal', 'vertical', 'both']),
|
|
233
|
+
onEsc: PropTypes.oneOf(['close', 'cancel'])
|
|
230
234
|
};
|
|
231
235
|
AlertLookup.defaultProps = {
|
|
232
236
|
isActive: false,
|
|
@@ -238,7 +242,8 @@ AlertLookup.defaultProps = {
|
|
|
238
242
|
align: 'top',
|
|
239
243
|
childAnimationName: 'flyDown',
|
|
240
244
|
isHtmlContent: false,
|
|
241
|
-
scroll: ''
|
|
245
|
+
scroll: '',
|
|
246
|
+
onEsc: 'cancel'
|
|
242
247
|
};
|
|
243
248
|
|
|
244
249
|
if (false) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
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
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -31,9 +31,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
31
31
|
|
|
32
32
|
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); } }
|
|
33
33
|
|
|
34
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
34
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
35
35
|
|
|
36
|
-
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
36
|
+
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); }
|
|
37
37
|
|
|
38
38
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
39
39
|
|
|
@@ -97,7 +97,8 @@ var ActionButton = /*#__PURE__*/function (_React$Component) {
|
|
|
97
97
|
dropBoxClass = _this$props2.dropBoxClass,
|
|
98
98
|
isBoxPaddingNeed = _this$props2.isBoxPaddingNeed,
|
|
99
99
|
getContainerRef = _this$props2.getContainerRef,
|
|
100
|
-
getTargetRef = _this$props2.getTargetRef
|
|
100
|
+
getTargetRef = _this$props2.getTargetRef,
|
|
101
|
+
removeChildrenTooltip = _this$props2.removeChildrenTooltip;
|
|
101
102
|
return /*#__PURE__*/_react["default"].createElement(_Layout.Container, {
|
|
102
103
|
alignBox: "row",
|
|
103
104
|
isCover: false,
|
|
@@ -114,7 +115,8 @@ var ActionButton = /*#__PURE__*/function (_React$Component) {
|
|
|
114
115
|
size: "medium",
|
|
115
116
|
customClass: {
|
|
116
117
|
customButton: _ActionButtonModule["default"].btn
|
|
117
|
-
}
|
|
118
|
+
},
|
|
119
|
+
text: text
|
|
118
120
|
})) : /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
119
121
|
flexible: true,
|
|
120
122
|
onClick: onClick,
|
|
@@ -136,9 +138,9 @@ var ActionButton = /*#__PURE__*/function (_React$Component) {
|
|
|
136
138
|
}) : null, text ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
137
139
|
shrink: true,
|
|
138
140
|
className: _ActionButtonModule["default"].txt,
|
|
139
|
-
"data-title": text
|
|
141
|
+
"data-title": removeChildrenTooltip ? null : text
|
|
140
142
|
}, text) : null)), subText ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
141
|
-
"data-title": subText,
|
|
143
|
+
"data-title": removeChildrenTooltip ? null : subText,
|
|
142
144
|
className: _ActionButtonModule["default"].subTxt
|
|
143
145
|
}, subText) : null)), children ? /*#__PURE__*/_react["default"].createElement(_Layout.Box, {
|
|
144
146
|
onClick: onClick ? !onHover && this.handleTogglePopup : undefined,
|
|
@@ -184,7 +186,8 @@ ActionButton.defaultProps = {
|
|
|
184
186
|
dropBoxClass: '',
|
|
185
187
|
arrowBoxSize: 'medium',
|
|
186
188
|
isBoxPaddingNeed: true,
|
|
187
|
-
palette: 'primaryFilled'
|
|
189
|
+
palette: 'primaryFilled',
|
|
190
|
+
removeChildrenTooltip: false
|
|
188
191
|
};
|
|
189
192
|
ActionButton.propTypes = {
|
|
190
193
|
arrowBoxDataId: _propTypes["default"].string,
|
|
@@ -211,7 +214,8 @@ ActionButton.propTypes = {
|
|
|
211
214
|
subText: _propTypes["default"].string,
|
|
212
215
|
text: _propTypes["default"].string,
|
|
213
216
|
getContainerRef: _propTypes["default"].func,
|
|
214
|
-
getTargetRef: _propTypes["default"].func
|
|
217
|
+
getTargetRef: _propTypes["default"].func,
|
|
218
|
+
removeChildrenTooltip: _propTypes["default"].bool
|
|
215
219
|
};
|
|
216
220
|
ActionButton.docs = {
|
|
217
221
|
componentGroup: 'Atom'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
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
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -33,9 +33,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
33
33
|
|
|
34
34
|
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); } }
|
|
35
35
|
|
|
36
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
36
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
37
37
|
|
|
38
|
-
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
38
|
+
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); }
|
|
39
39
|
|
|
40
40
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
41
41
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
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
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -25,9 +25,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
25
25
|
|
|
26
26
|
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); } }
|
|
27
27
|
|
|
28
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
28
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
29
29
|
|
|
30
|
-
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
30
|
+
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); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
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
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -31,9 +31,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
31
31
|
|
|
32
32
|
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); } }
|
|
33
33
|
|
|
34
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
34
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
35
35
|
|
|
36
|
-
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
36
|
+
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); }
|
|
37
37
|
|
|
38
38
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
39
39
|
|
package/lib/Drawer/Drawer.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
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
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports["default"] = exports.
|
|
8
|
+
exports["default"] = exports.Header = exports.Footer = exports.Content = void 0;
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
@@ -37,9 +37,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
37
37
|
|
|
38
38
|
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); } }
|
|
39
39
|
|
|
40
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
40
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
41
41
|
|
|
42
|
-
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
42
|
+
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); }
|
|
43
43
|
|
|
44
44
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
45
45
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
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
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
21
21
|
|
|
22
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
23
|
|
|
24
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
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
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
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
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
package/lib/FlipCard/FlipCard.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
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
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
@@ -39,9 +39,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
39
39
|
|
|
40
40
|
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); } }
|
|
41
41
|
|
|
42
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
42
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
43
43
|
|
|
44
|
-
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
44
|
+
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); }
|
|
45
45
|
|
|
46
46
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
47
47
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof";
|
|
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
4
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports["default"] = exports.
|
|
8
|
+
exports["default"] = exports.RightSide = exports.LeftSide = exports.Center = void 0;
|
|
9
9
|
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
|
|
@@ -21,9 +21,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
|
|
|
21
21
|
|
|
22
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
23
|
|
|
24
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
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
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
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
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|