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
|
@@ -1,455 +1,338 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
8
6
|
exports.default = void 0;
|
|
9
|
-
|
|
10
7
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
-
|
|
12
8
|
var _FormControlLabel = _interopRequireDefault(require("@material-ui/core/FormControlLabel"));
|
|
13
|
-
|
|
14
9
|
var _reactIntl = require("react-intl");
|
|
15
|
-
|
|
16
10
|
var _Edit = _interopRequireDefault(require("@material-ui/icons/Edit"));
|
|
17
|
-
|
|
18
11
|
var _Schedule = _interopRequireDefault(require("@material-ui/icons/Schedule"));
|
|
19
|
-
|
|
20
12
|
var _FilterList = _interopRequireDefault(require("@material-ui/icons/FilterList"));
|
|
21
|
-
|
|
22
13
|
var _Typography = _interopRequireDefault(require("@material-ui/core/Typography"));
|
|
23
|
-
|
|
24
14
|
var _Button = _interopRequireDefault(require("@material-ui/core/Button"));
|
|
25
|
-
|
|
26
15
|
var _Link = _interopRequireDefault(require("@material-ui/core/Link"));
|
|
27
|
-
|
|
28
16
|
var _TextField = _interopRequireDefault(require("@material-ui/core/TextField"));
|
|
29
|
-
|
|
30
17
|
var _Switch = _interopRequireDefault(require("@material-ui/core/Switch"));
|
|
31
|
-
|
|
32
18
|
var _Dialog = _interopRequireDefault(require("@material-ui/core/Dialog"));
|
|
33
|
-
|
|
34
19
|
var _DialogActions = _interopRequireDefault(require("@material-ui/core/DialogActions"));
|
|
35
|
-
|
|
36
20
|
var _DialogContent = _interopRequireDefault(require("@material-ui/core/DialogContent"));
|
|
37
|
-
|
|
38
21
|
var _Chip = _interopRequireDefault(require("@material-ui/core/Chip"));
|
|
39
|
-
|
|
40
22
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
41
|
-
|
|
42
23
|
var _CoreToolbar = _interopRequireDefault(require("../CoreToolbar"));
|
|
43
|
-
|
|
44
24
|
var _scrollbarModule = _interopRequireDefault(require("../../css/scrollbar.module.css"));
|
|
45
|
-
|
|
46
|
-
function
|
|
47
|
-
|
|
48
|
-
function
|
|
49
|
-
|
|
50
|
-
function
|
|
51
|
-
|
|
52
|
-
function
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
63
|
-
|
|
64
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
65
|
-
|
|
66
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
67
|
-
|
|
68
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
69
|
-
|
|
70
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
71
|
-
|
|
72
|
-
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); } }
|
|
73
|
-
|
|
74
|
-
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
75
|
-
|
|
76
|
-
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); }
|
|
77
|
-
|
|
78
|
-
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
79
|
-
|
|
80
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
81
|
-
|
|
82
|
-
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
|
|
83
|
-
|
|
84
|
-
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
85
|
-
|
|
86
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
87
|
-
|
|
88
|
-
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
89
|
-
|
|
25
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
26
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
27
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
28
|
+
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; }
|
|
29
|
+
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; }
|
|
30
|
+
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; }
|
|
31
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
32
|
+
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); } // import RefreshIcon from '@material-ui/icons/DeleteSweep';
|
|
33
|
+
// import CardContent from '@material-ui/core/CardContent';
|
|
34
|
+
// import IconButton from '@material-ui/core/IconButton';
|
|
35
|
+
// import ListItem from '@material-ui/core/ListItem';
|
|
36
|
+
// import Tooltip from '@material-ui/core/Tooltip';
|
|
37
|
+
// import Avatar from '@material-ui/core/Avatar';
|
|
38
|
+
// import AddIcon from '@material-ui/icons/Add';
|
|
39
|
+
// import List from '@material-ui/core/List';
|
|
40
|
+
// import Card from '@material-ui/core/Card';
|
|
41
|
+
// import Grid from '@material-ui/core/Grid';
|
|
90
42
|
/* eslint-disable no-nested-ternary */
|
|
91
|
-
|
|
43
|
+
|
|
44
|
+
const style = {
|
|
92
45
|
list: {
|
|
93
46
|
maxHeight: 360,
|
|
94
47
|
overflowY: 'auto'
|
|
95
48
|
}
|
|
96
49
|
};
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
var _super = _createSuper(CoreShiftTagFilter);
|
|
102
|
-
|
|
103
|
-
function CoreShiftTagFilter() {
|
|
104
|
-
var _this;
|
|
105
|
-
|
|
106
|
-
_classCallCheck(this, CoreShiftTagFilter);
|
|
107
|
-
|
|
108
|
-
_this = _super.call(this);
|
|
109
|
-
_this.state = {
|
|
50
|
+
class CoreShiftTagFilter extends _react.Component {
|
|
51
|
+
constructor() {
|
|
52
|
+
super();
|
|
53
|
+
this.state = {
|
|
110
54
|
open: false,
|
|
111
55
|
showAddCustom: false,
|
|
112
56
|
customTag: ''
|
|
113
57
|
};
|
|
114
|
-
return _this;
|
|
115
58
|
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
value: function updateFilter(value) {
|
|
120
|
-
if (this.props.updateFilter) {
|
|
121
|
-
this.props.updateFilter(_objectSpread(_objectSpread({}, this.props.filter), value));
|
|
122
|
-
}
|
|
59
|
+
updateFilter(value) {
|
|
60
|
+
if (this.props.updateFilter) {
|
|
61
|
+
this.props.updateFilter(_objectSpread(_objectSpread({}, this.props.filter), value));
|
|
123
62
|
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
return shiftTag !== tag;
|
|
132
|
-
});
|
|
133
|
-
} else {
|
|
134
|
-
shiftTagFilters.push(tag);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
var basicFilter = shiftTagFilters.join(' OR ');
|
|
138
|
-
|
|
139
|
-
if (shiftTagFilters.length > 1) {
|
|
140
|
-
basicFilter = "(".concat(basicFilter, ")");
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
this.updateFilter({
|
|
144
|
-
shiftTagFilters: shiftTagFilters,
|
|
145
|
-
basicFilter: basicFilter
|
|
146
|
-
});
|
|
63
|
+
}
|
|
64
|
+
updateFilters(tag) {
|
|
65
|
+
let shiftTagFilters = JSON.parse(JSON.stringify(this.props.filter.shiftTagFilters));
|
|
66
|
+
if (shiftTagFilters.includes(tag)) {
|
|
67
|
+
shiftTagFilters = shiftTagFilters.filter(shiftTag => shiftTag !== tag);
|
|
68
|
+
} else {
|
|
69
|
+
shiftTagFilters.push(tag);
|
|
147
70
|
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
var customTag = this.state.customTag;
|
|
152
|
-
|
|
153
|
-
var newFilter = _objectSpread({}, this.props.filter);
|
|
154
|
-
|
|
155
|
-
if (!newFilter.shiftTagFilters.includes(customTag)) {
|
|
156
|
-
newFilter.shiftTagFilters.push(customTag);
|
|
157
|
-
this.props.updateFilter(newFilter);
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
this.setState({
|
|
161
|
-
showAddCustom: false
|
|
162
|
-
});
|
|
71
|
+
let basicFilter = shiftTagFilters.join(' OR ');
|
|
72
|
+
if (shiftTagFilters.length > 1) {
|
|
73
|
+
basicFilter = "(".concat(basicFilter, ")");
|
|
163
74
|
}
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
75
|
+
this.updateFilter({
|
|
76
|
+
shiftTagFilters: shiftTagFilters,
|
|
77
|
+
basicFilter: basicFilter
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
addCustom() {
|
|
81
|
+
const {
|
|
82
|
+
customTag
|
|
83
|
+
} = this.state;
|
|
84
|
+
const newFilter = _objectSpread({}, this.props.filter);
|
|
85
|
+
if (!newFilter.shiftTagFilters.includes(customTag)) {
|
|
86
|
+
newFilter.shiftTagFilters.push(customTag);
|
|
87
|
+
this.props.updateFilter(newFilter);
|
|
174
88
|
}
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
89
|
+
this.setState({
|
|
90
|
+
showAddCustom: false
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
handleKeyPress(e) {
|
|
94
|
+
const {
|
|
95
|
+
customTag
|
|
96
|
+
} = this.state;
|
|
97
|
+
if (e.which === 13) {
|
|
98
|
+
if (customTag.length > 0) {
|
|
99
|
+
this.addCustom();
|
|
186
100
|
}
|
|
187
|
-
|
|
188
|
-
return false;
|
|
189
101
|
}
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
key: tag
|
|
200
|
-
}, index !== 0 && /*#__PURE__*/_react.default.createElement("span", null, "\xA0OR\xA0"), /*#__PURE__*/_react.default.createElement(_Chip.default, {
|
|
201
|
-
icon: /*#__PURE__*/_react.default.createElement(_Schedule.default, null),
|
|
202
|
-
label: tag,
|
|
203
|
-
color: _this2.checkIfExists(tag) ? 'default' : 'secondary'
|
|
204
|
-
}));
|
|
205
|
-
})));
|
|
206
|
-
}
|
|
207
|
-
/* selectItem(tag) {
|
|
208
|
-
const newFilter = { ...this.props.filter };
|
|
209
|
-
newFilter.shiftTagFilters.push(tag);
|
|
210
|
-
this.updateFilter(newFilter);
|
|
211
|
-
};
|
|
212
|
-
const deselectItem = (filterListName, tag) => {
|
|
213
|
-
const newFilter = { ...filter };
|
|
214
|
-
const index = newFilter[filterListName].indexOf(tag);
|
|
215
|
-
if (index !== -1) {
|
|
216
|
-
newFilter[filterListName].splice(index, 1);
|
|
217
|
-
updateFilter(newFilter);
|
|
218
|
-
}
|
|
219
|
-
}; */
|
|
220
|
-
|
|
221
|
-
}, {
|
|
222
|
-
key: "renderTag",
|
|
223
|
-
value: function renderTag(tagInfo) {
|
|
224
|
-
var _this3 = this;
|
|
225
|
-
|
|
226
|
-
var isSelected = this.props.filter.shiftTagFilters.includes(tagInfo.tag);
|
|
227
|
-
return /*#__PURE__*/_react.default.createElement("div", {
|
|
228
|
-
key: tagInfo.tag,
|
|
229
|
-
style: {
|
|
230
|
-
margin: 5,
|
|
231
|
-
padding: 5,
|
|
232
|
-
backgroundColor: isSelected ? '#55b7dc' : '#ffffff',
|
|
233
|
-
border: '1px solid black',
|
|
234
|
-
display: 'flex',
|
|
235
|
-
alignItems: 'center',
|
|
236
|
-
cursor: 'pointer'
|
|
237
|
-
},
|
|
238
|
-
onClick: function onClick() {
|
|
239
|
-
return _this3.updateFilters(tagInfo.tag);
|
|
240
|
-
},
|
|
241
|
-
"aria-hidden": "true"
|
|
242
|
-
}, /*#__PURE__*/_react.default.createElement(_Schedule.default, null), /*#__PURE__*/_react.default.createElement("span", {
|
|
243
|
-
style: {
|
|
244
|
-
marginLeft: 10,
|
|
245
|
-
flexGrow: 1
|
|
246
|
-
}
|
|
247
|
-
}, tagInfo.tag), "(".concat(tagInfo.count, ")"));
|
|
102
|
+
}
|
|
103
|
+
checkIfExists(tag) {
|
|
104
|
+
const {
|
|
105
|
+
tags
|
|
106
|
+
} = this.props;
|
|
107
|
+
if (tags) {
|
|
108
|
+
if (tags.some(x => x.tag === tag)) {
|
|
109
|
+
return true;
|
|
110
|
+
}
|
|
248
111
|
}
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
customTag = _this$state.customTag;
|
|
112
|
+
return false;
|
|
113
|
+
}
|
|
114
|
+
renderFilter() {
|
|
115
|
+
const {
|
|
116
|
+
filter
|
|
117
|
+
} = this.props;
|
|
118
|
+
const {
|
|
119
|
+
shiftTagFilters
|
|
120
|
+
} = filter;
|
|
121
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement("span", null, shiftTagFilters.map((tag, index) => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
|
|
122
|
+
key: tag
|
|
123
|
+
}, index !== 0 && /*#__PURE__*/_react.default.createElement("span", null, "\xA0OR\xA0"), /*#__PURE__*/_react.default.createElement(_Chip.default, {
|
|
124
|
+
icon: /*#__PURE__*/_react.default.createElement(_Schedule.default, null),
|
|
125
|
+
label: tag,
|
|
126
|
+
color: this.checkIfExists(tag) ? 'default' : 'secondary'
|
|
127
|
+
})))));
|
|
128
|
+
}
|
|
267
129
|
|
|
268
|
-
|
|
130
|
+
/* selectItem(tag) {
|
|
131
|
+
const newFilter = { ...this.props.filter };
|
|
132
|
+
newFilter.shiftTagFilters.push(tag);
|
|
133
|
+
this.updateFilter(newFilter);
|
|
134
|
+
};
|
|
135
|
+
const deselectItem = (filterListName, tag) => {
|
|
136
|
+
const newFilter = { ...filter };
|
|
137
|
+
const index = newFilter[filterListName].indexOf(tag);
|
|
138
|
+
if (index !== -1) {
|
|
139
|
+
newFilter[filterListName].splice(index, 1);
|
|
140
|
+
updateFilter(newFilter);
|
|
141
|
+
}
|
|
142
|
+
}; */
|
|
143
|
+
|
|
144
|
+
renderTag(tagInfo) {
|
|
145
|
+
const isSelected = this.props.filter.shiftTagFilters.includes(tagInfo.tag);
|
|
146
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
147
|
+
key: tagInfo.tag,
|
|
148
|
+
style: {
|
|
149
|
+
margin: 5,
|
|
150
|
+
padding: 5,
|
|
151
|
+
backgroundColor: isSelected ? '#55b7dc' : '#ffffff',
|
|
152
|
+
border: '1px solid black',
|
|
153
|
+
display: 'flex',
|
|
154
|
+
alignItems: 'center',
|
|
155
|
+
cursor: 'pointer'
|
|
156
|
+
},
|
|
157
|
+
onClick: () => this.updateFilters(tagInfo.tag),
|
|
158
|
+
"aria-hidden": "true"
|
|
159
|
+
}, /*#__PURE__*/_react.default.createElement(_Schedule.default, null), /*#__PURE__*/_react.default.createElement("span", {
|
|
160
|
+
style: {
|
|
161
|
+
marginLeft: 10,
|
|
162
|
+
flexGrow: 1
|
|
163
|
+
}
|
|
164
|
+
}, tagInfo.tag), "(".concat(tagInfo.count, ")"));
|
|
165
|
+
}
|
|
269
166
|
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
checked: filter.isAdvanced,
|
|
312
|
-
disabled: disabled,
|
|
313
|
-
onChange: function onChange(event) {
|
|
314
|
-
return _this4.props.updateFilter(_objectSpread(_objectSpread({}, filter), {}, {
|
|
315
|
-
isAdvanced: event.target.checked
|
|
316
|
-
}));
|
|
317
|
-
}
|
|
318
|
-
})
|
|
319
|
-
})), filter.isAdvanced ? /*#__PURE__*/_react.default.createElement(_TextField.default, {
|
|
320
|
-
variant: "outlined",
|
|
321
|
-
label: intl.formatMessage({
|
|
322
|
-
id: '__filter'
|
|
323
|
-
}),
|
|
324
|
-
value: filter.advancedFilter,
|
|
325
|
-
onChange: function onChange(event) {
|
|
326
|
-
return _this4.props.updateFilter(_objectSpread(_objectSpread({}, filter), {}, {
|
|
327
|
-
advancedFilter: event.target.value
|
|
328
|
-
}));
|
|
329
|
-
},
|
|
330
|
-
InputLabelProps: {
|
|
331
|
-
shrink: true
|
|
332
|
-
},
|
|
333
|
-
placeholder: "Type in the filter here... (ex: first OR second)",
|
|
334
|
-
margin: "normal",
|
|
335
|
-
fullWidth: true,
|
|
336
|
-
multiline: true,
|
|
337
|
-
disabled: disabled
|
|
338
|
-
}) : filter.basicFilter.length > 0 ? /*#__PURE__*/_react.default.createElement("div", {
|
|
339
|
-
style: {
|
|
340
|
-
margin: 5
|
|
341
|
-
}
|
|
342
|
-
}, this.renderFilter()) : /*#__PURE__*/_react.default.createElement("div", {
|
|
343
|
-
style: {
|
|
344
|
-
margin: 5
|
|
345
|
-
}
|
|
346
|
-
}, /*#__PURE__*/_react.default.createElement("i", null, "No filter set, will include all shifts")), open && /*#__PURE__*/_react.default.createElement(_Dialog.default, {
|
|
347
|
-
maxWidth: "xs",
|
|
348
|
-
onClose: function onClose() {
|
|
349
|
-
return _this4.setState({
|
|
350
|
-
open: false
|
|
351
|
-
});
|
|
352
|
-
},
|
|
353
|
-
fullWidth: true,
|
|
167
|
+
/* eslint-disable jsx-a11y/anchor-is-valid */
|
|
168
|
+
render() {
|
|
169
|
+
const {
|
|
170
|
+
intl,
|
|
171
|
+
filter,
|
|
172
|
+
hideAdvanced,
|
|
173
|
+
disabled,
|
|
174
|
+
tags,
|
|
175
|
+
customTitle
|
|
176
|
+
} = this.props;
|
|
177
|
+
const {
|
|
178
|
+
open,
|
|
179
|
+
showAddCustom,
|
|
180
|
+
customTag
|
|
181
|
+
} = this.state;
|
|
182
|
+
const adjustedTags = [...tags];
|
|
183
|
+
filter.shiftTagFilters.forEach(x => {
|
|
184
|
+
if (!adjustedTags.find(tagInfo => tagInfo.tag === x)) {
|
|
185
|
+
adjustedTags.push({
|
|
186
|
+
tag: x,
|
|
187
|
+
count: 0
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
});
|
|
191
|
+
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", {
|
|
192
|
+
style: {
|
|
193
|
+
display: 'flex',
|
|
194
|
+
alignItems: 'center'
|
|
195
|
+
}
|
|
196
|
+
}, customTitle !== null ? customTitle : /*#__PURE__*/_react.default.createElement(_Typography.default, {
|
|
197
|
+
variant: "h6",
|
|
198
|
+
style: {
|
|
199
|
+
flexGrow: 1
|
|
200
|
+
}
|
|
201
|
+
}, /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, {
|
|
202
|
+
id: "__shift_filter"
|
|
203
|
+
})), !filter.isAdvanced && /*#__PURE__*/_react.default.createElement(_Button.default, {
|
|
204
|
+
variant: "outlined",
|
|
205
|
+
color: "secondary",
|
|
206
|
+
disabled: disabled,
|
|
207
|
+
onClick: () => this.setState({
|
|
354
208
|
open: true
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
209
|
+
})
|
|
210
|
+
}, /*#__PURE__*/_react.default.createElement(_Edit.default, null), /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, {
|
|
211
|
+
id: "__edit"
|
|
212
|
+
})), !hideAdvanced && /*#__PURE__*/_react.default.createElement(_FormControlLabel.default, {
|
|
213
|
+
style: {
|
|
214
|
+
marginLeft: 10
|
|
215
|
+
},
|
|
216
|
+
label: intl.formatMessage({
|
|
217
|
+
id: '__advanced'
|
|
218
|
+
}),
|
|
219
|
+
control: /*#__PURE__*/_react.default.createElement(_Switch.default, {
|
|
220
|
+
checked: filter.isAdvanced,
|
|
221
|
+
disabled: disabled,
|
|
222
|
+
onChange: event => this.props.updateFilter(_objectSpread(_objectSpread({}, filter), {}, {
|
|
223
|
+
isAdvanced: event.target.checked
|
|
224
|
+
}))
|
|
225
|
+
})
|
|
226
|
+
})), filter.isAdvanced ? /*#__PURE__*/_react.default.createElement(_TextField.default, {
|
|
227
|
+
variant: "outlined",
|
|
228
|
+
label: intl.formatMessage({
|
|
229
|
+
id: '__filter'
|
|
230
|
+
}),
|
|
231
|
+
value: filter.advancedFilter,
|
|
232
|
+
onChange: event => this.props.updateFilter(_objectSpread(_objectSpread({}, filter), {}, {
|
|
233
|
+
advancedFilter: event.target.value
|
|
234
|
+
})),
|
|
235
|
+
InputLabelProps: {
|
|
236
|
+
shrink: true
|
|
237
|
+
},
|
|
238
|
+
placeholder: "Type in the filter here... (ex: first OR second)",
|
|
239
|
+
margin: "normal",
|
|
240
|
+
fullWidth: true,
|
|
241
|
+
multiline: true,
|
|
242
|
+
disabled: disabled
|
|
243
|
+
}) : filter.basicFilter.length > 0 ? /*#__PURE__*/_react.default.createElement("div", {
|
|
244
|
+
style: {
|
|
245
|
+
margin: 5
|
|
246
|
+
}
|
|
247
|
+
}, this.renderFilter()) : /*#__PURE__*/_react.default.createElement("div", {
|
|
248
|
+
style: {
|
|
249
|
+
margin: 5
|
|
250
|
+
}
|
|
251
|
+
}, /*#__PURE__*/_react.default.createElement("i", null, "No filter set, will include all shifts")), open && /*#__PURE__*/_react.default.createElement(_Dialog.default, {
|
|
252
|
+
maxWidth: "xs",
|
|
253
|
+
onClose: () => this.setState({
|
|
254
|
+
open: false
|
|
255
|
+
}),
|
|
256
|
+
fullWidth: true,
|
|
257
|
+
open: true
|
|
258
|
+
}, /*#__PURE__*/_react.default.createElement(_CoreToolbar.default, {
|
|
259
|
+
icon: /*#__PURE__*/_react.default.createElement(_FilterList.default, {
|
|
384
260
|
style: {
|
|
385
261
|
marginRight: 10
|
|
386
|
-
},
|
|
387
|
-
onClick: function onClick() {
|
|
388
|
-
return _this4.props.updateFilter(_objectSpread(_objectSpread({}, filter), {}, {
|
|
389
|
-
shiftTagFilters: []
|
|
390
|
-
}));
|
|
391
|
-
}
|
|
392
|
-
}, intl.formatMessage({
|
|
393
|
-
id: '__clear'
|
|
394
|
-
})), /*#__PURE__*/_react.default.createElement(_Link.default, {
|
|
395
|
-
component: "button",
|
|
396
|
-
variant: "body2",
|
|
397
|
-
onClick: function onClick() {
|
|
398
|
-
return _this4.setState({
|
|
399
|
-
showAddCustom: true,
|
|
400
|
-
customTag: ''
|
|
401
|
-
});
|
|
402
|
-
}
|
|
403
|
-
}, intl.formatMessage({
|
|
404
|
-
id: '__add_custom'
|
|
405
|
-
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
406
|
-
style: style.list,
|
|
407
|
-
className: _scrollbarModule.default.scroll
|
|
408
|
-
}, adjustedTags.map(function (tagInfo) {
|
|
409
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, _this4.renderTag(tagInfo));
|
|
410
|
-
})), showAddCustom && /*#__PURE__*/_react.default.createElement(_Dialog.default, {
|
|
411
|
-
open: true,
|
|
412
|
-
onClose: function onClose() {
|
|
413
|
-
return _this4.setState({
|
|
414
|
-
showAddCustom: false
|
|
415
|
-
});
|
|
416
|
-
}
|
|
417
|
-
}, /*#__PURE__*/_react.default.createElement(_DialogContent.default, null, /*#__PURE__*/_react.default.createElement(_TextField.default, {
|
|
418
|
-
variant: "outlined",
|
|
419
|
-
label: intl.formatMessage({
|
|
420
|
-
id: '__custom_tag'
|
|
421
|
-
}),
|
|
422
|
-
value: customTag,
|
|
423
|
-
margin: "normal",
|
|
424
|
-
fullWidth: true,
|
|
425
|
-
autoFocus: true,
|
|
426
|
-
InputLabelProps: {
|
|
427
|
-
shrink: true
|
|
428
|
-
},
|
|
429
|
-
onChange: function onChange(e) {
|
|
430
|
-
return _this4.setState({
|
|
431
|
-
customTag: e.target.value.replace(/[^a-z0-9_]/g, '')
|
|
432
|
-
});
|
|
433
|
-
},
|
|
434
|
-
onKeyPress: function onKeyPress(e) {
|
|
435
|
-
return _this4.handleKeyPress(e);
|
|
436
262
|
}
|
|
437
|
-
})
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
}
|
|
452
|
-
|
|
263
|
+
}),
|
|
264
|
+
title: intl.formatMessage({
|
|
265
|
+
id: '__shift_filter_builder'
|
|
266
|
+
}),
|
|
267
|
+
handleClose: () => this.setState({
|
|
268
|
+
open: false
|
|
269
|
+
})
|
|
270
|
+
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
271
|
+
style: {
|
|
272
|
+
padding: 10
|
|
273
|
+
}
|
|
274
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
275
|
+
style: {
|
|
276
|
+
display: 'flex'
|
|
277
|
+
}
|
|
278
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
279
|
+
style: {
|
|
280
|
+
flexGrow: 1
|
|
281
|
+
}
|
|
282
|
+
}, "Shifts", " (".concat(filter.shiftTagFilters.length, ")")), /*#__PURE__*/_react.default.createElement(_Link.default, {
|
|
283
|
+
component: "button",
|
|
284
|
+
variant: "body2",
|
|
285
|
+
style: {
|
|
286
|
+
marginRight: 10
|
|
287
|
+
},
|
|
288
|
+
onClick: () => this.props.updateFilter(_objectSpread(_objectSpread({}, filter), {}, {
|
|
289
|
+
shiftTagFilters: []
|
|
290
|
+
}))
|
|
291
|
+
}, intl.formatMessage({
|
|
292
|
+
id: '__clear'
|
|
293
|
+
})), /*#__PURE__*/_react.default.createElement(_Link.default, {
|
|
294
|
+
component: "button",
|
|
295
|
+
variant: "body2",
|
|
296
|
+
onClick: () => this.setState({
|
|
297
|
+
showAddCustom: true,
|
|
298
|
+
customTag: ''
|
|
299
|
+
})
|
|
300
|
+
}, intl.formatMessage({
|
|
301
|
+
id: '__add_custom'
|
|
302
|
+
}))), /*#__PURE__*/_react.default.createElement("div", {
|
|
303
|
+
style: style.list,
|
|
304
|
+
className: _scrollbarModule.default.scroll
|
|
305
|
+
}, adjustedTags.map(tagInfo => /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, this.renderTag(tagInfo)))), showAddCustom && /*#__PURE__*/_react.default.createElement(_Dialog.default, {
|
|
306
|
+
open: true,
|
|
307
|
+
onClose: () => this.setState({
|
|
308
|
+
showAddCustom: false
|
|
309
|
+
})
|
|
310
|
+
}, /*#__PURE__*/_react.default.createElement(_DialogContent.default, null, /*#__PURE__*/_react.default.createElement(_TextField.default, {
|
|
311
|
+
variant: "outlined",
|
|
312
|
+
label: intl.formatMessage({
|
|
313
|
+
id: '__custom_tag'
|
|
314
|
+
}),
|
|
315
|
+
value: customTag,
|
|
316
|
+
margin: "normal",
|
|
317
|
+
fullWidth: true,
|
|
318
|
+
autoFocus: true,
|
|
319
|
+
InputLabelProps: {
|
|
320
|
+
shrink: true
|
|
321
|
+
},
|
|
322
|
+
onChange: e => this.setState({
|
|
323
|
+
customTag: e.target.value.replace(/[^a-z0-9_]/g, '')
|
|
324
|
+
}),
|
|
325
|
+
onKeyPress: e => this.handleKeyPress(e)
|
|
326
|
+
})), /*#__PURE__*/_react.default.createElement(_DialogActions.default, null, /*#__PURE__*/_react.default.createElement(_Button.default, {
|
|
327
|
+
variant: "contained",
|
|
328
|
+
color: "primary",
|
|
329
|
+
disabled: customTag.length === 0,
|
|
330
|
+
onClick: () => this.addCustom()
|
|
331
|
+
}, intl.formatMessage({
|
|
332
|
+
id: '__add'
|
|
333
|
+
})))))));
|
|
334
|
+
}
|
|
335
|
+
}
|
|
453
336
|
CoreShiftTagFilter.propTypes = {
|
|
454
337
|
hideAdvanced: _propTypes.default.bool,
|
|
455
338
|
disabled: _propTypes.default.bool,
|
|
@@ -465,7 +348,4 @@ CoreShiftTagFilter.defaultProps = {
|
|
|
465
348
|
disabled: false,
|
|
466
349
|
customTitle: null
|
|
467
350
|
};
|
|
468
|
-
|
|
469
|
-
var _default = (0, _reactIntl.injectIntl)(CoreShiftTagFilter);
|
|
470
|
-
|
|
471
|
-
exports.default = _default;
|
|
351
|
+
var _default = exports.default = (0, _reactIntl.injectIntl)(CoreShiftTagFilter);
|