versacall-core-library-react 2.0.65 → 2.0.67
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/dist/components/CoreAlert/CoreAlert.js +43 -107
- package/dist/components/CoreAlert/index.js +2 -4
- package/dist/components/CoreAppBar/CoreAppBar.js +275 -418
- package/dist/components/CoreAppBar/CoreAppBarDrawer.js +88 -171
- package/dist/components/CoreAppBar/index.js +2 -4
- package/dist/components/CoreAppSelector/AppLink.js +36 -60
- package/dist/components/CoreAppSelector/CoreAppSelector.js +109 -200
- package/dist/components/CoreAppSelector/index.js +2 -4
- package/dist/components/CoreDialogueToolBar/CoreDialogueToolBar.js +43 -69
- package/dist/components/CoreDialogueToolBar/index.js +2 -4
- package/dist/components/CoreDrawer/CoreDrawer.js +168 -286
- package/dist/components/CoreDrawer/index.js +2 -4
- package/dist/components/CoreDropDownTextfield/CoreDropDownTextfield.js +57 -121
- package/dist/components/CoreDropDownTextfield/index.js +2 -4
- package/dist/components/CoreElapsedTime/CoreElapsedTime.js +38 -97
- package/dist/components/CoreElapsedTime/index.js +2 -4
- package/dist/components/CoreFrame/CoreFrame.js +17 -28
- package/dist/components/CoreFrame/index.js +2 -4
- package/dist/components/CoreImportDialog/CoreImportDialog.js +87 -189
- package/dist/components/CoreImportDialog/index.js +2 -4
- package/dist/components/CoreImportResultsDialog/CoreImportResultsDialog.js +19 -45
- package/dist/components/CoreImportResultsDialog/index.js +2 -4
- package/dist/components/CoreImporting/CoreImporting.js +23 -39
- package/dist/components/CoreImporting/index.js +2 -4
- package/dist/components/CorePlugin/CorePlugin.js +83 -160
- package/dist/components/CorePlugin/OldCorePlugin.js +73 -149
- package/dist/components/CorePlugin/index.js +2 -4
- package/dist/components/CoreSaveChangesDialog/CoreSaveChangesDialog.js +10 -32
- package/dist/components/CoreSaveChangesDialog/index.js +2 -4
- package/dist/components/CoreShiftTagFilter/CoreShiftTagFilter.js +288 -408
- package/dist/components/CoreShiftTagFilter/OldCoreShiftTagFilter.js +161 -257
- package/dist/components/CoreShiftTagFilter/index.js +2 -4
- package/dist/components/CoreSideBar/CoreSideBar.js +578 -737
- package/dist/components/CoreSideBar/CoreSideBarDrawer.js +122 -212
- package/dist/components/CoreSideBar/index.js +2 -4
- package/dist/components/CoreSnackBar/CoreSnackBar.js +76 -143
- package/dist/components/CoreSnackBar/index.js +2 -4
- package/dist/components/CoreTable/CoreTable.js +219 -337
- package/dist/components/CoreTable/CoreTableChips.js +11 -19
- package/dist/components/CoreTable/CoreTableHead.js +125 -205
- package/dist/components/CoreTable/CoreTableToolbar.js +34 -56
- package/dist/components/CoreTable/index.js +2 -4
- package/dist/components/CoreTagFilter/CoreTagFilter.js +212 -319
- package/dist/components/CoreTagFilter/OldCoreTagFilter.js +270 -402
- package/dist/components/CoreTagFilter/OldTagChip.js +10 -20
- package/dist/components/CoreTagFilter/OldTagFilterSelector.js +77 -148
- package/dist/components/CoreTagFilter/OldTagOption.js +21 -47
- package/dist/components/CoreTagFilter/TagFilterBuilder.js +114 -274
- package/dist/components/CoreTagFilter/index.js +2 -4
- package/dist/components/CoreTextField/CoreTextField.js +69 -132
- package/dist/components/CoreTextField/index.js +2 -4
- package/dist/components/CoreTheme/CoreTheme.js +13 -27
- package/dist/components/CoreTheme/index.js +2 -4
- package/dist/components/CoreTile/CoreTile.js +21 -34
- package/dist/components/CoreTile/CoreTileToolbar.js +21 -36
- package/dist/components/CoreTile/index.js +2 -4
- package/dist/components/CoreTimerInput/CoreTimerInput.js +36 -60
- package/dist/components/CoreTimerInput/CoreTimerInputOld.js +29 -47
- package/dist/components/CoreTimerInput/index.js +2 -4
- package/dist/components/CoreToolbar/CoreToolbar.js +65 -95
- package/dist/components/CoreToolbar/index.js +2 -4
- package/dist/components/CoreTracker/CoreTracker.js +32 -91
- package/dist/components/CoreTracker/index.js +2 -4
- package/dist/components/CoreTranslate/CoreTranslate.js +17 -48
- package/dist/components/CoreTranslate/index.js +2 -4
- package/dist/components/CoreTranslateWrapper/CoreTranslateWrapper.js +7 -15
- package/dist/components/CoreTranslateWrapper/index.js +2 -4
- package/dist/components/CoreWidget/CoreWidget.js +81 -149
- package/dist/components/CoreWidget/index.js +2 -4
- package/dist/components/CoreWrapper/CoreWrapper.js +8 -16
- package/dist/components/CoreWrapper/index.js +2 -4
- package/dist/components/index.js +29 -58
- package/dist/constants/index.js +3 -6
- package/dist/constants/testOrganization.js +2 -3
- package/dist/constants/testToken.js +2 -3
- package/dist/context/Authentication/AuthenticationContext.js +3 -8
- package/dist/context/Authentication/AuthenticationProvider.js +156 -257
- package/dist/context/Authentication/index.js +4 -8
- package/dist/context/Authentication/withAuthentication.js +5 -14
- package/dist/context/Channels/ChannelsConsumer.js +14 -70
- package/dist/context/Channels/ChannelsContext.js +3 -8
- package/dist/context/Channels/ChannelsProvider.js +132 -278
- package/dist/context/Channels/DataChannel.js +39 -103
- package/dist/context/Channels/EntityChannel.js +40 -104
- package/dist/context/Channels/EveryoneChannel.js +32 -92
- package/dist/context/Channels/OrganizationChannel.js +40 -104
- package/dist/context/Channels/UserChannel.js +37 -99
- package/dist/context/Channels/index.js +10 -20
- package/dist/context/Channels/withChannels.js +5 -14
- package/dist/context/Core/CoreContext.js +3 -8
- package/dist/context/Core/CoreProvider.js +68 -132
- package/dist/context/Core/index.js +4 -8
- package/dist/context/Core/withCore.js +5 -14
- package/dist/context/Organization/OrganizationContext.js +3 -8
- package/dist/context/Organization/OrganizationProvider.js +48 -120
- package/dist/context/Organization/index.js +4 -8
- package/dist/context/Organization/withOrganization.js +5 -14
- package/dist/context/Plugin/PluginContext.js +3 -8
- package/dist/context/Plugin/PluginProvider.js +55 -112
- package/dist/context/Plugin/index.js +4 -8
- package/dist/context/Plugin/withPlugin.js +5 -14
- package/dist/context/index.js +5 -15
- package/dist/css/index.js +3 -6
- package/dist/functions/TagEvaluator.js +107 -156
- package/dist/functions/compareObjects.js +0 -7
- package/dist/functions/formatElapsedTime.js +5 -6
- package/dist/functions/formatNameFileSafe.js +3 -4
- package/dist/functions/getIconUrl.js +0 -3
- package/dist/functions/getParameterByName.js +9 -12
- package/dist/functions/getProperty.js +4 -8
- package/dist/functions/getUrl.js +0 -3
- package/dist/functions/index.js +9 -18
- package/dist/icons/CopyIcon.js +11 -22
- package/dist/icons/DeleteIcon.js +11 -22
- package/dist/icons/DuplicateIcon.js +11 -22
- package/dist/icons/EditIcon.js +11 -22
- package/dist/icons/FabAddIcon.js +19 -35
- package/dist/icons/PasteIcon.js +11 -22
- package/dist/icons/index.js +7 -14
- package/dist/index.js +6 -18
- package/package.json +89 -79
package/dist/icons/DeleteIcon.js
CHANGED
|
@@ -4,40 +4,32 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _Delete = _interopRequireDefault(require("@material-ui/icons/Delete"));
|
|
11
|
-
|
|
12
9
|
var _IconButton = _interopRequireDefault(require("@material-ui/core/IconButton"));
|
|
13
|
-
|
|
14
10
|
var _Tooltip = _interopRequireDefault(require("@material-ui/core/Tooltip"));
|
|
15
|
-
|
|
16
11
|
var _reactIntl = require("react-intl");
|
|
17
|
-
|
|
18
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
const DeleteIcon = _ref => {
|
|
15
|
+
let {
|
|
16
|
+
title,
|
|
17
|
+
onClick,
|
|
18
|
+
style,
|
|
19
|
+
intl
|
|
20
|
+
} = _ref;
|
|
27
21
|
return /*#__PURE__*/_react.default.createElement(_Tooltip.default, {
|
|
28
22
|
title: intl.formatMessage({
|
|
29
23
|
id: title
|
|
30
24
|
})
|
|
31
25
|
}, /*#__PURE__*/_react.default.createElement(_IconButton.default, {
|
|
32
|
-
onClick:
|
|
26
|
+
onClick: e => {
|
|
33
27
|
e.stopPropagation();
|
|
34
|
-
|
|
35
|
-
_onClick(e);
|
|
28
|
+
onClick(e);
|
|
36
29
|
},
|
|
37
30
|
style: style
|
|
38
31
|
}, /*#__PURE__*/_react.default.createElement(_Delete.default, null)));
|
|
39
32
|
};
|
|
40
|
-
|
|
41
33
|
DeleteIcon.propTypes = {
|
|
42
34
|
title: _propTypes.default.string,
|
|
43
35
|
onClick: _propTypes.default.func.isRequired,
|
|
@@ -47,7 +39,4 @@ DeleteIcon.defaultProps = {
|
|
|
47
39
|
title: '__copy',
|
|
48
40
|
style: {}
|
|
49
41
|
};
|
|
50
|
-
|
|
51
|
-
var _default = (0, _reactIntl.injectIntl)(DeleteIcon);
|
|
52
|
-
|
|
53
|
-
exports.default = _default;
|
|
42
|
+
var _default = exports.default = (0, _reactIntl.injectIntl)(DeleteIcon);
|
|
@@ -4,40 +4,32 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _AddToPhotos = _interopRequireDefault(require("@material-ui/icons/AddToPhotos"));
|
|
11
|
-
|
|
12
9
|
var _IconButton = _interopRequireDefault(require("@material-ui/core/IconButton"));
|
|
13
|
-
|
|
14
10
|
var _Tooltip = _interopRequireDefault(require("@material-ui/core/Tooltip"));
|
|
15
|
-
|
|
16
11
|
var _reactIntl = require("react-intl");
|
|
17
|
-
|
|
18
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
const DuplicateIcon = _ref => {
|
|
15
|
+
let {
|
|
16
|
+
title,
|
|
17
|
+
onClick,
|
|
18
|
+
style,
|
|
19
|
+
intl
|
|
20
|
+
} = _ref;
|
|
27
21
|
return /*#__PURE__*/_react.default.createElement(_Tooltip.default, {
|
|
28
22
|
title: intl.formatMessage({
|
|
29
23
|
id: title
|
|
30
24
|
})
|
|
31
25
|
}, /*#__PURE__*/_react.default.createElement(_IconButton.default, {
|
|
32
|
-
onClick:
|
|
26
|
+
onClick: e => {
|
|
33
27
|
e.stopPropagation();
|
|
34
|
-
|
|
35
|
-
_onClick(e);
|
|
28
|
+
onClick(e);
|
|
36
29
|
},
|
|
37
30
|
style: style
|
|
38
31
|
}, /*#__PURE__*/_react.default.createElement(_AddToPhotos.default, null)));
|
|
39
32
|
};
|
|
40
|
-
|
|
41
33
|
DuplicateIcon.propTypes = {
|
|
42
34
|
title: _propTypes.default.string,
|
|
43
35
|
onClick: _propTypes.default.func.isRequired,
|
|
@@ -47,7 +39,4 @@ DuplicateIcon.defaultProps = {
|
|
|
47
39
|
title: '__duplicate',
|
|
48
40
|
style: {}
|
|
49
41
|
};
|
|
50
|
-
|
|
51
|
-
var _default = (0, _reactIntl.injectIntl)(DuplicateIcon);
|
|
52
|
-
|
|
53
|
-
exports.default = _default;
|
|
42
|
+
var _default = exports.default = (0, _reactIntl.injectIntl)(DuplicateIcon);
|
package/dist/icons/EditIcon.js
CHANGED
|
@@ -4,40 +4,32 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _Edit = _interopRequireDefault(require("@material-ui/icons/Edit"));
|
|
11
|
-
|
|
12
9
|
var _IconButton = _interopRequireDefault(require("@material-ui/core/IconButton"));
|
|
13
|
-
|
|
14
10
|
var _Tooltip = _interopRequireDefault(require("@material-ui/core/Tooltip"));
|
|
15
|
-
|
|
16
11
|
var _reactIntl = require("react-intl");
|
|
17
|
-
|
|
18
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
const EditIcon = _ref => {
|
|
15
|
+
let {
|
|
16
|
+
title,
|
|
17
|
+
onClick,
|
|
18
|
+
style,
|
|
19
|
+
intl
|
|
20
|
+
} = _ref;
|
|
27
21
|
return /*#__PURE__*/_react.default.createElement(_Tooltip.default, {
|
|
28
22
|
title: intl.formatMessage({
|
|
29
23
|
id: title
|
|
30
24
|
})
|
|
31
25
|
}, /*#__PURE__*/_react.default.createElement(_IconButton.default, {
|
|
32
|
-
onClick:
|
|
26
|
+
onClick: e => {
|
|
33
27
|
e.stopPropagation();
|
|
34
|
-
|
|
35
|
-
_onClick(e);
|
|
28
|
+
onClick(e);
|
|
36
29
|
},
|
|
37
30
|
style: style
|
|
38
31
|
}, /*#__PURE__*/_react.default.createElement(_Edit.default, null)));
|
|
39
32
|
};
|
|
40
|
-
|
|
41
33
|
EditIcon.propTypes = {
|
|
42
34
|
title: _propTypes.default.string,
|
|
43
35
|
onClick: _propTypes.default.func.isRequired,
|
|
@@ -47,7 +39,4 @@ EditIcon.defaultProps = {
|
|
|
47
39
|
title: '__edit',
|
|
48
40
|
style: {}
|
|
49
41
|
};
|
|
50
|
-
|
|
51
|
-
var _default = (0, _reactIntl.injectIntl)(EditIcon);
|
|
52
|
-
|
|
53
|
-
exports.default = _default;
|
|
42
|
+
var _default = exports.default = (0, _reactIntl.injectIntl)(EditIcon);
|
package/dist/icons/FabAddIcon.js
CHANGED
|
@@ -4,36 +4,28 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _Tooltip = _interopRequireDefault(require("@material-ui/core/Tooltip"));
|
|
11
|
-
|
|
12
9
|
var _Add = _interopRequireDefault(require("@material-ui/icons/Add"));
|
|
13
|
-
|
|
14
10
|
var _Fab = _interopRequireDefault(require("@material-ui/core/Fab"));
|
|
15
|
-
|
|
16
11
|
var _reactIntl = require("react-intl");
|
|
17
|
-
|
|
18
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
19
|
-
|
|
20
|
-
function
|
|
21
|
-
|
|
22
|
-
function
|
|
23
|
-
|
|
24
|
-
function
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
var getStyle = function getStyle() {
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
18
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19
|
+
const FabAddIcon = _ref => {
|
|
20
|
+
let {
|
|
21
|
+
title,
|
|
22
|
+
onClick,
|
|
23
|
+
style,
|
|
24
|
+
intl,
|
|
25
|
+
disabled,
|
|
26
|
+
baseStyle
|
|
27
|
+
} = _ref;
|
|
28
|
+
const getStyle = () => {
|
|
37
29
|
if (baseStyle === 'bottomLeft') {
|
|
38
30
|
return _objectSpread({
|
|
39
31
|
margin: 0,
|
|
@@ -44,11 +36,9 @@ var FabAddIcon = function FabAddIcon(_ref) {
|
|
|
44
36
|
position: 'fixed'
|
|
45
37
|
}, style);
|
|
46
38
|
}
|
|
47
|
-
|
|
48
39
|
if (baseStyle === 'none') {
|
|
49
40
|
return style;
|
|
50
41
|
}
|
|
51
|
-
|
|
52
42
|
return _objectSpread({
|
|
53
43
|
margin: 0,
|
|
54
44
|
top: 'auto',
|
|
@@ -58,23 +48,20 @@ var FabAddIcon = function FabAddIcon(_ref) {
|
|
|
58
48
|
position: 'fixed'
|
|
59
49
|
}, style);
|
|
60
50
|
};
|
|
61
|
-
|
|
62
51
|
return /*#__PURE__*/_react.default.createElement(_Tooltip.default, {
|
|
63
52
|
title: intl.formatMessage({
|
|
64
53
|
id: title
|
|
65
54
|
})
|
|
66
55
|
}, /*#__PURE__*/_react.default.createElement(_Fab.default, {
|
|
67
|
-
onClick:
|
|
56
|
+
onClick: e => {
|
|
68
57
|
e.stopPropagation();
|
|
69
|
-
|
|
70
|
-
_onClick(e);
|
|
58
|
+
onClick(e);
|
|
71
59
|
},
|
|
72
60
|
style: getStyle(),
|
|
73
61
|
color: "primary",
|
|
74
62
|
disabled: disabled
|
|
75
63
|
}, /*#__PURE__*/_react.default.createElement(_Add.default, null)));
|
|
76
64
|
};
|
|
77
|
-
|
|
78
65
|
FabAddIcon.propTypes = {
|
|
79
66
|
title: _propTypes.default.string,
|
|
80
67
|
onClick: _propTypes.default.func.isRequired,
|
|
@@ -88,7 +75,4 @@ FabAddIcon.defaultProps = {
|
|
|
88
75
|
disabled: false,
|
|
89
76
|
baseStyle: 'bottomRight'
|
|
90
77
|
};
|
|
91
|
-
|
|
92
|
-
var _default = (0, _reactIntl.injectIntl)(FabAddIcon);
|
|
93
|
-
|
|
94
|
-
exports.default = _default;
|
|
78
|
+
var _default = exports.default = (0, _reactIntl.injectIntl)(FabAddIcon);
|
package/dist/icons/PasteIcon.js
CHANGED
|
@@ -4,40 +4,32 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
-
|
|
8
7
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
|
|
10
8
|
var _FormatPaint = _interopRequireDefault(require("@material-ui/icons/FormatPaint"));
|
|
11
|
-
|
|
12
9
|
var _IconButton = _interopRequireDefault(require("@material-ui/core/IconButton"));
|
|
13
|
-
|
|
14
10
|
var _Tooltip = _interopRequireDefault(require("@material-ui/core/Tooltip"));
|
|
15
|
-
|
|
16
11
|
var _reactIntl = require("react-intl");
|
|
17
|
-
|
|
18
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
|
+
const PasteIcon = _ref => {
|
|
15
|
+
let {
|
|
16
|
+
title,
|
|
17
|
+
onClick,
|
|
18
|
+
style,
|
|
19
|
+
intl
|
|
20
|
+
} = _ref;
|
|
27
21
|
return /*#__PURE__*/_react.default.createElement(_Tooltip.default, {
|
|
28
22
|
title: intl.formatMessage({
|
|
29
23
|
id: title
|
|
30
24
|
})
|
|
31
25
|
}, /*#__PURE__*/_react.default.createElement(_IconButton.default, {
|
|
32
|
-
onClick:
|
|
26
|
+
onClick: e => {
|
|
33
27
|
e.stopPropagation();
|
|
34
|
-
|
|
35
|
-
_onClick(e);
|
|
28
|
+
onClick(e);
|
|
36
29
|
},
|
|
37
30
|
style: style
|
|
38
31
|
}, /*#__PURE__*/_react.default.createElement(_FormatPaint.default, null)));
|
|
39
32
|
};
|
|
40
|
-
|
|
41
33
|
PasteIcon.propTypes = {
|
|
42
34
|
title: _propTypes.default.string,
|
|
43
35
|
onClick: _propTypes.default.func.isRequired,
|
|
@@ -47,7 +39,4 @@ PasteIcon.defaultProps = {
|
|
|
47
39
|
title: '__paste',
|
|
48
40
|
style: {}
|
|
49
41
|
};
|
|
50
|
-
|
|
51
|
-
var _default = (0, _reactIntl.injectIntl)(PasteIcon);
|
|
52
|
-
|
|
53
|
-
exports.default = _default;
|
|
42
|
+
var _default = exports.default = (0, _reactIntl.injectIntl)(PasteIcon);
|
package/dist/icons/index.js
CHANGED
|
@@ -5,51 +5,44 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
Object.defineProperty(exports, "CopyIcon", {
|
|
7
7
|
enumerable: true,
|
|
8
|
-
get: function
|
|
8
|
+
get: function () {
|
|
9
9
|
return _CopyIcon.default;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "DeleteIcon", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function
|
|
14
|
+
get: function () {
|
|
15
15
|
return _DeleteIcon.default;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "DuplicateIcon", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function
|
|
20
|
+
get: function () {
|
|
21
21
|
return _DuplicateIcon.default;
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "EditIcon", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function
|
|
26
|
+
get: function () {
|
|
27
27
|
return _EditIcon.default;
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "FabAddIcon", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function
|
|
32
|
+
get: function () {
|
|
33
33
|
return _FabAddIcon.default;
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "PasteIcon", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function
|
|
38
|
+
get: function () {
|
|
39
39
|
return _PasteIcon.default;
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
|
|
43
42
|
var _CopyIcon = _interopRequireDefault(require("./CopyIcon"));
|
|
44
|
-
|
|
45
43
|
var _DeleteIcon = _interopRequireDefault(require("./DeleteIcon"));
|
|
46
|
-
|
|
47
44
|
var _DuplicateIcon = _interopRequireDefault(require("./DuplicateIcon"));
|
|
48
|
-
|
|
49
45
|
var _EditIcon = _interopRequireDefault(require("./EditIcon"));
|
|
50
|
-
|
|
51
46
|
var _PasteIcon = _interopRequireDefault(require("./PasteIcon"));
|
|
52
|
-
|
|
53
47
|
var _FabAddIcon = _interopRequireDefault(require("./FabAddIcon"));
|
|
54
|
-
|
|
55
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
48
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
package/dist/index.js
CHANGED
|
@@ -3,80 +3,68 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
|
|
7
6
|
var _components = require("./components");
|
|
8
|
-
|
|
9
7
|
Object.keys(_components).forEach(function (key) {
|
|
10
8
|
if (key === "default" || key === "__esModule") return;
|
|
11
9
|
if (key in exports && exports[key] === _components[key]) return;
|
|
12
10
|
Object.defineProperty(exports, key, {
|
|
13
11
|
enumerable: true,
|
|
14
|
-
get: function
|
|
12
|
+
get: function () {
|
|
15
13
|
return _components[key];
|
|
16
14
|
}
|
|
17
15
|
});
|
|
18
16
|
});
|
|
19
|
-
|
|
20
17
|
var _constants = require("./constants");
|
|
21
|
-
|
|
22
18
|
Object.keys(_constants).forEach(function (key) {
|
|
23
19
|
if (key === "default" || key === "__esModule") return;
|
|
24
20
|
if (key in exports && exports[key] === _constants[key]) return;
|
|
25
21
|
Object.defineProperty(exports, key, {
|
|
26
22
|
enumerable: true,
|
|
27
|
-
get: function
|
|
23
|
+
get: function () {
|
|
28
24
|
return _constants[key];
|
|
29
25
|
}
|
|
30
26
|
});
|
|
31
27
|
});
|
|
32
|
-
|
|
33
28
|
var _css = require("./css");
|
|
34
|
-
|
|
35
29
|
Object.keys(_css).forEach(function (key) {
|
|
36
30
|
if (key === "default" || key === "__esModule") return;
|
|
37
31
|
if (key in exports && exports[key] === _css[key]) return;
|
|
38
32
|
Object.defineProperty(exports, key, {
|
|
39
33
|
enumerable: true,
|
|
40
|
-
get: function
|
|
34
|
+
get: function () {
|
|
41
35
|
return _css[key];
|
|
42
36
|
}
|
|
43
37
|
});
|
|
44
38
|
});
|
|
45
|
-
|
|
46
39
|
var _context = require("./context");
|
|
47
|
-
|
|
48
40
|
Object.keys(_context).forEach(function (key) {
|
|
49
41
|
if (key === "default" || key === "__esModule") return;
|
|
50
42
|
if (key in exports && exports[key] === _context[key]) return;
|
|
51
43
|
Object.defineProperty(exports, key, {
|
|
52
44
|
enumerable: true,
|
|
53
|
-
get: function
|
|
45
|
+
get: function () {
|
|
54
46
|
return _context[key];
|
|
55
47
|
}
|
|
56
48
|
});
|
|
57
49
|
});
|
|
58
|
-
|
|
59
50
|
var _functions = require("./functions");
|
|
60
|
-
|
|
61
51
|
Object.keys(_functions).forEach(function (key) {
|
|
62
52
|
if (key === "default" || key === "__esModule") return;
|
|
63
53
|
if (key in exports && exports[key] === _functions[key]) return;
|
|
64
54
|
Object.defineProperty(exports, key, {
|
|
65
55
|
enumerable: true,
|
|
66
|
-
get: function
|
|
56
|
+
get: function () {
|
|
67
57
|
return _functions[key];
|
|
68
58
|
}
|
|
69
59
|
});
|
|
70
60
|
});
|
|
71
|
-
|
|
72
61
|
var _icons = require("./icons");
|
|
73
|
-
|
|
74
62
|
Object.keys(_icons).forEach(function (key) {
|
|
75
63
|
if (key === "default" || key === "__esModule") return;
|
|
76
64
|
if (key in exports && exports[key] === _icons[key]) return;
|
|
77
65
|
Object.defineProperty(exports, key, {
|
|
78
66
|
enumerable: true,
|
|
79
|
-
get: function
|
|
67
|
+
get: function () {
|
|
80
68
|
return _icons[key];
|
|
81
69
|
}
|
|
82
70
|
});
|
package/package.json
CHANGED
|
@@ -1,79 +1,89 @@
|
|
|
1
|
-
{
|
|
2
|
-
"versacall": {
|
|
3
|
-
"title": "Versacall Core Library React",
|
|
4
|
-
"applicationType": "react-library",
|
|
5
|
-
"build":
|
|
6
|
-
},
|
|
7
|
-
"name": "versacall-core-library-react",
|
|
8
|
-
"version": "2.0.
|
|
9
|
-
"description": "Versacall Core Library",
|
|
10
|
-
"main": "dist/index.js",
|
|
11
|
-
"module": "dist/index.js",
|
|
12
|
-
"files": [
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"del-cli
|
|
28
|
-
"
|
|
29
|
-
},
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"eslint-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"react
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"react
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"eslint-
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"react
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"react
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"versacall": {
|
|
3
|
+
"title": "Versacall Core Library React",
|
|
4
|
+
"applicationType": "react-library",
|
|
5
|
+
"build": 67
|
|
6
|
+
},
|
|
7
|
+
"name": "versacall-core-library-react",
|
|
8
|
+
"version": "2.0.67",
|
|
9
|
+
"description": "Versacall Core Library",
|
|
10
|
+
"main": "dist/index.js",
|
|
11
|
+
"module": "dist/index.js",
|
|
12
|
+
"files": [
|
|
13
|
+
"dist",
|
|
14
|
+
".eslintrc.json",
|
|
15
|
+
"Jenkinsfile",
|
|
16
|
+
"post-install.js"
|
|
17
|
+
],
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/versacall/versacall-core-library-react.git"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"start": "react-scripts start",
|
|
24
|
+
"build": "react-scripts build",
|
|
25
|
+
"test": "react-scripts test",
|
|
26
|
+
"eject": "react-scripts eject",
|
|
27
|
+
"compile": "del-cli dist/ && cross-env NODE_ENV=production babel src/lib --out-dir dist --copy-files --ignore __tests__,spec.js,test.js,__snapshots__",
|
|
28
|
+
"postinstall": "node ./post-install.js"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"cross-env": "^5.2.0",
|
|
32
|
+
"del-cli": "^1.1.0",
|
|
33
|
+
"gently-copy": "^2.3.1"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@babel/cli": "^7.2.3",
|
|
37
|
+
"@babel/preset-env": "^7.3.4",
|
|
38
|
+
"@babel/preset-react": "^7.0.0",
|
|
39
|
+
"@material-ui/core": "^4.12.1",
|
|
40
|
+
"@material-ui/icons": "^4.11.2",
|
|
41
|
+
"axios": "^0.21.1",
|
|
42
|
+
"deepmerge": "^3.2.0",
|
|
43
|
+
"emitter-io": "^1.39.0",
|
|
44
|
+
"eslint-config-airbnb": "^17.1.0",
|
|
45
|
+
"eslint-config-airbnb-base": "^13.1.0",
|
|
46
|
+
"eslint-plugin-import": "^2.16.0",
|
|
47
|
+
"eslint-plugin-jsx-a11y": "^6.2.1",
|
|
48
|
+
"eslint-plugin-react": "^7.12.4",
|
|
49
|
+
"eslint-plugin-reactintl": "^0.1.3",
|
|
50
|
+
"js-cookie": "^2.2.0",
|
|
51
|
+
"prop-types": "^15.7.2",
|
|
52
|
+
"react": "^16.8.4",
|
|
53
|
+
"react-dom": "^16.8.4",
|
|
54
|
+
"react-intl": "^2.8.0",
|
|
55
|
+
"react-router-dom": "^4.3.1",
|
|
56
|
+
"react-scripts": "2.1.8",
|
|
57
|
+
"react-testing-library": "^6.0.1"
|
|
58
|
+
},
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"@material-ui/core": "^4.12.1",
|
|
61
|
+
"@material-ui/icons": "^4.11.2",
|
|
62
|
+
"axios": "^0.21.1",
|
|
63
|
+
"deepmerge": "^3.2.0",
|
|
64
|
+
"emitter-io": "^1.39.0",
|
|
65
|
+
"eslint-config-airbnb": "^17.1.0",
|
|
66
|
+
"eslint-config-airbnb-base": "^13.1.0",
|
|
67
|
+
"eslint-plugin-import": "^2.16.0",
|
|
68
|
+
"eslint-plugin-jsx-a11y": "^6.2.1",
|
|
69
|
+
"eslint-plugin-react": "^7.12.4",
|
|
70
|
+
"eslint-plugin-reactintl": "^0.1.3",
|
|
71
|
+
"js-cookie": "^2.2.0",
|
|
72
|
+
"prop-types": "^15.7.2",
|
|
73
|
+
"react": "^16.8.4",
|
|
74
|
+
"react-dom": "^16.8.4",
|
|
75
|
+
"react-intl": "^2.8.0",
|
|
76
|
+
"react-router-dom": "^4.3.1",
|
|
77
|
+
"react-scripts": "2.1.8",
|
|
78
|
+
"react-testing-library": "^6.0.1"
|
|
79
|
+
},
|
|
80
|
+
"eslintConfig": {
|
|
81
|
+
"extends": "react-app"
|
|
82
|
+
},
|
|
83
|
+
"browserslist": [
|
|
84
|
+
">0.2%",
|
|
85
|
+
"not dead",
|
|
86
|
+
"not ie <= 11",
|
|
87
|
+
"not op_mini all"
|
|
88
|
+
]
|
|
89
|
+
}
|