orc-shared 1.7.0-dev.8 → 5.2.0-dev.1
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/actions/modules.js +15 -1
- package/dist/actions/navigation.js +1 -14
- package/dist/actions/scopes.js +2 -3
- package/dist/buildStore.js +1 -7
- package/dist/components/AppFrame/Sidebar.js +8 -4
- package/dist/components/MaterialUI/DataDisplay/Notification.js +0 -6
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/InformationItem.js +6 -18
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/StepperModal.js +1 -2
- package/dist/components/MaterialUI/DataDisplay/TooltippedElements/MultipleLinesText.js +2 -4
- package/dist/components/MaterialUI/DataDisplay/tableHelpers.js +7 -7
- package/dist/components/MaterialUI/Inputs/Autocomplete.js +0 -5
- package/dist/components/MaterialUI/Inputs/DatePicker.js +8 -15
- package/dist/components/MaterialUI/Inputs/InputBase.js +16 -102
- package/dist/components/MaterialUI/Inputs/InputBaseProps.js +1 -7
- package/dist/components/MaterialUI/Inputs/PredefinedElements/SearchControl.js +46 -43
- package/dist/components/MaterialUI/Inputs/TimePicker.js +2 -5
- package/dist/components/MaterialUI/Navigation/DropDownMenu.js +1 -6
- package/dist/components/MaterialUI/Surfaces/SectionExpansionPanel.js +0 -1
- package/dist/components/MaterialUI/hocs/withDeferredTooltip.js +1 -3
- package/dist/components/Routing/Page.js +1 -4
- package/dist/components/Routing/SegmentPage.js +1 -4
- package/dist/components/Routing/SubPage.js +8 -38
- package/dist/components/Scope/useScopeConfirmationModalState.js +3 -1
- package/dist/constants.js +2 -18
- package/dist/content/icons/hide.svg +1 -10
- package/dist/content/icons/open-in-new-tab.svg +1 -3
- package/dist/content/iconsSheet.svg +650 -117
- package/dist/content/orckestra-logo-white.png +0 -0
- package/dist/hooks/useEditState.js +2 -4
- package/dist/reducers/modules.js +3 -4
- package/dist/reducers/navigation.js +0 -16
- package/dist/reducers/request.js +1 -6
- package/dist/reducers/scopes.js +0 -3
- package/dist/reducers/view.js +1 -1
- package/dist/selectors/authentication.js +1 -15
- package/dist/selectors/metadata.js +1 -1
- package/dist/sharedMessages.js +1 -17
- package/dist/utils/propertyHelper.js +0 -33
- package/dist/utils/timezoneHelper.js +1 -23
- package/package.json +7 -10
- package/src/actions/modules.js +10 -0
- package/src/actions/modules.test.js +14 -0
- package/src/actions/navigation.js +0 -7
- package/src/actions/navigation.test.js +0 -12
- package/src/actions/scopes.js +1 -2
- package/src/actions/scopes.test.js +1 -2
- package/src/buildStore.js +0 -6
- package/src/components/AppFrame/About.test.js +3 -3
- package/src/components/AppFrame/Sidebar.js +3 -4
- package/src/components/Form/InputField.test.js +0 -18
- package/src/components/Form/Inputs/Date.test.js +0 -18
- package/src/components/MaterialUI/DataDisplay/Notification.js +0 -6
- package/src/components/MaterialUI/DataDisplay/Notification.test.js +0 -37
- package/src/components/MaterialUI/DataDisplay/PredefinedElements/InformationItem.js +5 -23
- package/src/components/MaterialUI/DataDisplay/PredefinedElements/InformationItem.test.js +0 -121
- package/src/components/MaterialUI/DataDisplay/PredefinedElements/StepperModal.js +1 -2
- package/src/components/MaterialUI/DataDisplay/PredefinedElements/StepperModal.test.js +0 -20
- package/src/components/MaterialUI/DataDisplay/TooltippedElements/MultipleLinesText.js +1 -2
- package/src/components/MaterialUI/DataDisplay/tableHelpers.js +8 -8
- package/src/components/MaterialUI/DataDisplay/tableHelpers.test.js +0 -93
- package/src/components/MaterialUI/Inputs/Autocomplete.js +0 -5
- package/src/components/MaterialUI/Inputs/Autocomplete.test.js +0 -15
- package/src/components/MaterialUI/Inputs/DatePicker.js +3 -17
- package/src/components/MaterialUI/Inputs/DatePicker.test.js +1 -143
- package/src/components/MaterialUI/Inputs/InputBase.js +15 -103
- package/src/components/MaterialUI/Inputs/InputBase.test.js +1 -376
- package/src/components/MaterialUI/Inputs/InputBaseProps.js +0 -6
- package/src/components/MaterialUI/Inputs/InputBaseProps.test.js +0 -6
- package/src/components/MaterialUI/Inputs/PredefinedElements/SearchControl.js +27 -39
- package/src/components/MaterialUI/Inputs/PredefinedElements/SearchControl.test.js +34 -39
- package/src/components/MaterialUI/Inputs/TimePicker.js +1 -5
- package/src/components/MaterialUI/Navigation/DropDownMenu.js +1 -6
- package/src/components/MaterialUI/Surfaces/SectionExpansionPanel.js +0 -1
- package/src/components/MaterialUI/hocs/withDeferredTooltip.js +1 -2
- package/src/components/MaterialUI/hocs/withDeferredTooltip.test.js +0 -52
- package/src/components/Routing/Page.js +1 -12
- package/src/components/Routing/SegmentPage.js +1 -12
- package/src/components/Routing/SubPage.js +9 -41
- package/src/components/Routing/SubPage.test.js +1 -295
- package/src/components/Scope/useScopeConfirmationModalState.js +3 -1
- package/src/components/Scope/useScopeConfirmationModalState.test.js +35 -4
- package/src/components/Text.test.js +59 -44
- package/src/constants.js +0 -15
- package/src/content/icons/hide.svg +1 -10
- package/src/content/icons/open-in-new-tab.svg +1 -3
- package/src/content/iconsSheet.svg +650 -117
- package/src/content/orckestra-logo-white.png +0 -0
- package/src/hooks/useEditState.js +2 -12
- package/src/hooks/useEditState.test.js +1 -1
- package/src/hooks/useLabelMessage.test.js +10 -16
- package/src/reducers/modules.js +4 -4
- package/src/reducers/modules.test.js +5 -5
- package/src/reducers/navigation.js +0 -24
- package/src/reducers/navigation.test.js +0 -38
- package/src/reducers/request.js +1 -6
- package/src/reducers/request.test.js +0 -34
- package/src/reducers/scopes.js +0 -3
- package/src/reducers/scopes.test.js +0 -47
- package/src/reducers/view.js +1 -1
- package/src/reducers/view.test.js +8 -1
- package/src/selectors/authentication.js +0 -13
- package/src/selectors/authentication.test.js +0 -322
- package/src/selectors/metadata.js +1 -1
- package/src/selectors/metadata.test.js +0 -12
- package/src/sharedMessages.js +1 -17
- package/src/translations/en-US.json +12 -16
- package/src/translations/fr-CA.json +12 -16
- package/src/utils/propertyHelper.js +0 -38
- package/src/utils/propertyHelper.test.js +0 -160
- package/src/utils/timezoneHelper.js +0 -18
- package/src/utils/timezoneHelper.test.js +1 -23
- package/dist/actions/globalErrorMessages.js +0 -63
- package/dist/actions/tasks.js +0 -170
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/GlobalErrorMessages.js +0 -160
- package/dist/components/MaterialUI/DataDisplay/PredefinedElements/LookupDisplayValue.js +0 -88
- package/dist/components/TaskDetailsModal.js +0 -191
- package/dist/content/icons/anonymize.svg +0 -3
- package/dist/content/icons/archives.svg +0 -3
- package/dist/content/icons/clean-index.svg +0 -3
- package/dist/content/icons/date-index.svg +0 -3
- package/dist/content/icons/inventory.svg +0 -4
- package/dist/content/icons/query-tester.svg +0 -10
- package/dist/content/icons/reciprocity.svg +0 -10
- package/dist/content/icons/schema.svg +0 -11
- package/dist/content/icons/synonyms.svg +0 -3
- package/dist/content/icons/tenant.svg +0 -3
- package/dist/content/icons/time-index.svg +0 -3
- package/dist/hooks/useDispatchWithErrorHandling.js +0 -103
- package/dist/hooks/useScopeGuardLoader.js +0 -77
- package/dist/reducers/globalErrorMessages.js +0 -78
- package/dist/reducers/scopeRouteState.js +0 -83
- package/dist/reducers/tasks.js +0 -98
- package/dist/selectors/globalErrorMessages.js +0 -57
- package/dist/selectors/scopeRouteState.js +0 -53
- package/dist/selectors/tasks.js +0 -64
- package/dist/utils/responseProcessingHelper.js +0 -86
- package/src/actions/globalErrorMessages.js +0 -12
- package/src/actions/globalErrorMessages.test.js +0 -21
- package/src/actions/tasks.js +0 -77
- package/src/actions/tasks.test.js +0 -169
- package/src/components/MaterialUI/DataDisplay/PredefinedElements/GlobalErrorMessages.js +0 -108
- package/src/components/MaterialUI/DataDisplay/PredefinedElements/GlobalErrorMessages.test.js +0 -468
- package/src/components/MaterialUI/DataDisplay/PredefinedElements/LookupDisplayValue.js +0 -29
- package/src/components/MaterialUI/DataDisplay/PredefinedElements/LookupDisplayValue.test.js +0 -147
- package/src/components/TaskDetailsModal.js +0 -132
- package/src/components/TaskDetailsModal.test.js +0 -317
- package/src/content/icons/anonymize.svg +0 -3
- package/src/content/icons/archives.svg +0 -3
- package/src/content/icons/clean-index.svg +0 -3
- package/src/content/icons/date-index.svg +0 -3
- package/src/content/icons/inventory.svg +0 -4
- package/src/content/icons/query-tester.svg +0 -10
- package/src/content/icons/reciprocity.svg +0 -10
- package/src/content/icons/schema.svg +0 -11
- package/src/content/icons/synonyms.svg +0 -3
- package/src/content/icons/tenant.svg +0 -3
- package/src/content/icons/time-index.svg +0 -3
- package/src/hooks/useDispatchWithErrorHandling.js +0 -57
- package/src/hooks/useDispatchWithErrorHandling.test.js +0 -230
- package/src/hooks/useScopeGuardLoader.js +0 -25
- package/src/hooks/useScopeGuardLoader.test.js +0 -187
- package/src/reducers/globalErrorMessages.js +0 -25
- package/src/reducers/globalErrorMessages.test.js +0 -66
- package/src/reducers/scopeRouteState.js +0 -29
- package/src/reducers/scopeRouteState.test.js +0 -49
- package/src/reducers/tasks.js +0 -56
- package/src/reducers/tasks.test.js +0 -404
- package/src/selectors/globalErrorMessages.js +0 -11
- package/src/selectors/globalErrorMessages.test.js +0 -25
- package/src/selectors/scopeRouteState.js +0 -5
- package/src/selectors/scopeRouteState.test.js +0 -13
- package/src/selectors/tasks.js +0 -16
- package/src/selectors/tasks.test.js +0 -60
- package/src/utils/responseProcessingHelper.js +0 -42
- package/src/utils/responseProcessingHelper.test.js +0 -218
|
@@ -21,6 +21,12 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
21
21
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
22
22
|
enterModule && enterModule(module);
|
|
23
23
|
})();
|
|
24
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
25
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
26
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
27
|
+
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; }
|
|
28
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
29
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
24
30
|
var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
|
|
25
31
|
return a;
|
|
26
32
|
};
|
|
@@ -101,9 +107,15 @@ var useStyles = exports.useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
101
107
|
},
|
|
102
108
|
parentInput: {
|
|
103
109
|
flex: "13 0 0",
|
|
104
|
-
zIndex:
|
|
105
|
-
|
|
106
|
-
|
|
110
|
+
zIndex: function zIndex(props) {
|
|
111
|
+
return props.focused ? 99 : 1;
|
|
112
|
+
},
|
|
113
|
+
border: function border(props) {
|
|
114
|
+
return props.focused ? "".concat(theme.spacing(0.1), " solid ").concat(theme.palette.focus) : "".concat(theme.spacing(0.1), " solid ").concat(theme.palette.grey.borders);
|
|
115
|
+
},
|
|
116
|
+
boxShadow: function boxShadow(props) {
|
|
117
|
+
return props.focused ? "0 0 4px ".concat(theme.palette.focus) : "none";
|
|
118
|
+
},
|
|
107
119
|
width: "100%",
|
|
108
120
|
display: "inherit",
|
|
109
121
|
marginLeft: theme.spacing(-0.1),
|
|
@@ -121,11 +133,6 @@ var useStyles = exports.useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
121
133
|
borderTopLeftRadius: 0,
|
|
122
134
|
borderBottomLeftRadius: 0
|
|
123
135
|
}
|
|
124
|
-
},
|
|
125
|
-
"&:focus-within": {
|
|
126
|
-
zIndex: 99,
|
|
127
|
-
border: "".concat(theme.spacing(0.1), " solid ").concat(theme.palette.focus),
|
|
128
|
-
boxShadow: "0 0 4px ".concat(theme.palette.focus)
|
|
129
136
|
}
|
|
130
137
|
},
|
|
131
138
|
selectRoot: {
|
|
@@ -173,29 +180,19 @@ var SearchControl = function SearchControl(_ref) {
|
|
|
173
180
|
searchOption = _ref.searchOption,
|
|
174
181
|
_ref$onSearch = _ref.onSearch,
|
|
175
182
|
onSearch = _ref$onSearch === void 0 ? function () {} : _ref$onSearch,
|
|
176
|
-
disabled = _ref.disabled
|
|
177
|
-
_ref$focusAndSelectSe = _ref.focusAndSelectSearchFieldOnLoad,
|
|
178
|
-
focusAndSelectSearchFieldOnLoad = _ref$focusAndSelectSe === void 0 ? true : _ref$focusAndSelectSe,
|
|
179
|
-
_ref$focusSearchOnSea = _ref.focusSearchOnSearchOptionChange,
|
|
180
|
-
focusSearchOnSearchOptionChange = _ref$focusSearchOnSea === void 0 ? false : _ref$focusSearchOnSea;
|
|
183
|
+
disabled = _ref.disabled;
|
|
181
184
|
searchOptions = !((_searchOptions = searchOptions) != null && _searchOptions.length) ? null : searchOptions;
|
|
182
185
|
searchOption = getSearchOptionValue(searchOptions, searchOption);
|
|
183
|
-
var
|
|
186
|
+
var _useState = (0, _react.useState)(false),
|
|
187
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
188
|
+
inputFocused = _useState2[0],
|
|
189
|
+
setInputFocused = _useState2[1];
|
|
190
|
+
var classes = useStyles({
|
|
191
|
+
focused: inputFocused
|
|
192
|
+
});
|
|
184
193
|
var inputRef = (0, _react.useRef)();
|
|
185
194
|
var update = function update(value) {
|
|
186
|
-
|
|
187
|
-
onSearch(value, "");
|
|
188
|
-
setTimeout(function () {
|
|
189
|
-
/* istanbul ignore next */
|
|
190
|
-
if (inputRef.current) {
|
|
191
|
-
inputRef.current.value = "";
|
|
192
|
-
inputRef.current.focus();
|
|
193
|
-
inputRef.current.select();
|
|
194
|
-
}
|
|
195
|
-
}, 0);
|
|
196
|
-
} else {
|
|
197
|
-
onSearch(value, defaultValue);
|
|
198
|
-
}
|
|
195
|
+
onSearch(value, defaultValue);
|
|
199
196
|
};
|
|
200
197
|
var selectProps = new _SelectProps.default();
|
|
201
198
|
selectProps.set(_SelectProps.default.propNames.update, update);
|
|
@@ -212,13 +209,18 @@ var SearchControl = function SearchControl(_ref) {
|
|
|
212
209
|
});
|
|
213
210
|
selectProps.setStyle(_SelectProps.default.ruleNames.root, classes.selectRoot);
|
|
214
211
|
selectProps.setStyle(_SelectProps.default.ruleNames.paper, classes.selectPaper);
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
212
|
+
var handleKeyDown = function handleKeyDown(e) {
|
|
213
|
+
if (e.key === "Enter") {
|
|
214
|
+
onSearch(searchOption, e.target.value);
|
|
215
|
+
e.preventDefault();
|
|
216
|
+
e.stopPropagation();
|
|
220
217
|
}
|
|
221
|
-
}
|
|
218
|
+
};
|
|
219
|
+
var onFocusedEvent = function onFocusedEvent(event, focused) {
|
|
220
|
+
setInputFocused(focused);
|
|
221
|
+
event.preventDefault();
|
|
222
|
+
event.stopPropagation();
|
|
223
|
+
};
|
|
222
224
|
var SelectSection = function SelectSection() {
|
|
223
225
|
if (searchOptions === null) return null;else return /*#__PURE__*/_react.default.createElement(_Select.default, {
|
|
224
226
|
className: classes.selectInput,
|
|
@@ -226,19 +228,13 @@ var SearchControl = function SearchControl(_ref) {
|
|
|
226
228
|
selectProps: selectProps
|
|
227
229
|
});
|
|
228
230
|
};
|
|
229
|
-
var onSubmit = function onSubmit(event) {
|
|
230
|
-
var _inputRef$current;
|
|
231
|
-
// using form submit instead of a keydown (with key=enter) to allow the 'enter key' event to be canceled elsewhere to avoid the submit event
|
|
232
|
-
onSearch(searchOption, (_inputRef$current = inputRef.current) == null ? void 0 : _inputRef$current.value);
|
|
233
|
-
event.preventDefault();
|
|
234
|
-
};
|
|
235
231
|
var inputSection = /*#__PURE__*/_react.default.createElement("div", {
|
|
236
232
|
"data-qa": "searchInput",
|
|
233
|
+
"data-qa-is-focused": inputFocused,
|
|
237
234
|
className: classes.parentInput
|
|
238
235
|
}, /*#__PURE__*/_react.default.createElement("form", {
|
|
239
236
|
"data-qa": "searchForm",
|
|
240
|
-
className: classes.fullWidth
|
|
241
|
-
onSubmitCapture: onSubmit
|
|
237
|
+
className: classes.fullWidth
|
|
242
238
|
}, /*#__PURE__*/_react.default.createElement(_Input.default, {
|
|
243
239
|
placeholder: placeholder,
|
|
244
240
|
defaultValue: defaultValue,
|
|
@@ -248,7 +244,14 @@ var SearchControl = function SearchControl(_ref) {
|
|
|
248
244
|
classes: {
|
|
249
245
|
input: classes.controlInput
|
|
250
246
|
},
|
|
247
|
+
onKeyDown: handleKeyDown,
|
|
251
248
|
disableUnderline: true,
|
|
249
|
+
onFocus: function onFocus(e) {
|
|
250
|
+
return onFocusedEvent(e, true);
|
|
251
|
+
},
|
|
252
|
+
onBlur: function onBlur(e) {
|
|
253
|
+
return onFocusedEvent(e, false);
|
|
254
|
+
},
|
|
252
255
|
endAdornment: /*#__PURE__*/_react.default.createElement(_InputAdornment.default, {
|
|
253
256
|
position: "start"
|
|
254
257
|
}, /*#__PURE__*/_react.default.createElement(_IconButton.default, {
|
|
@@ -282,10 +285,10 @@ var SearchControl = function SearchControl(_ref) {
|
|
|
282
285
|
className: classes.container
|
|
283
286
|
}, /*#__PURE__*/_react.default.createElement(SelectSection, null), inputSection, searchSection);
|
|
284
287
|
};
|
|
285
|
-
__signature__(SearchControl, "
|
|
288
|
+
__signature__(SearchControl, "useState{[inputFocused, setInputFocused](false)}\nuseStyles{classes}\nuseRef{inputRef}", function () {
|
|
286
289
|
return [useStyles];
|
|
287
290
|
});
|
|
288
|
-
__signature__(SearchControl, "
|
|
291
|
+
__signature__(SearchControl, "useState{[inputFocused, setInputFocused](false)}\nuseStyles{classes}\nuseRef{inputRef}", function () {
|
|
289
292
|
return [useStyles];
|
|
290
293
|
});
|
|
291
294
|
var _default = SearchControl;
|
|
@@ -238,9 +238,6 @@ var TimePicker = function TimePicker(_ref4) {
|
|
|
238
238
|
_useState2 = _slicedToArray(_useState, 2),
|
|
239
239
|
time = _useState2[0],
|
|
240
240
|
setTime = _useState2[1];
|
|
241
|
-
(0, _react.useEffect)(function () {
|
|
242
|
-
setTime(parseTime(value || "00:00"));
|
|
243
|
-
}, [value, setTime]);
|
|
244
241
|
var userTimeZone = (0, _timezoneHelper.getTimeZoneName)();
|
|
245
242
|
var localizedTimeZoneName = (0, _reactRedux.useSelector)((0, _metadata.namedLookupLocalizedSelector)("customer", "TimeZone", userTimeZone, null));
|
|
246
243
|
var onTimeChange = function onTimeChange(datetime) {
|
|
@@ -300,10 +297,10 @@ var TimePicker = function TimePicker(_ref4) {
|
|
|
300
297
|
className: classes.timeZoneWrapper
|
|
301
298
|
}, showTimeZone && getTimeZone(requestedTimeZone)));
|
|
302
299
|
};
|
|
303
|
-
__signature__(TimePicker, "useStyles{classes}\nuseState{[time, setTime](parseTime(value || \"00:00\"))}\
|
|
300
|
+
__signature__(TimePicker, "useStyles{classes}\nuseState{[time, setTime](parseTime(value || \"00:00\"))}\nuseSelector{localizedTimeZoneName}", function () {
|
|
304
301
|
return [useStyles, _reactRedux.useSelector];
|
|
305
302
|
});
|
|
306
|
-
__signature__(TimePicker, "useStyles{classes}\nuseState{[time, setTime](parseTime(value || \"00:00\"))}\
|
|
303
|
+
__signature__(TimePicker, "useStyles{classes}\nuseState{[time, setTime](parseTime(value || \"00:00\"))}\nuseSelector{localizedTimeZoneName}", function () {
|
|
307
304
|
return [useStyles, _reactRedux.useSelector];
|
|
308
305
|
});
|
|
309
306
|
var _default = TimePicker;
|
|
@@ -39,15 +39,10 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
39
39
|
textTransform: "none",
|
|
40
40
|
color: theme.palette.text.primary,
|
|
41
41
|
borderRadius: 0,
|
|
42
|
-
"&:hover": {
|
|
42
|
+
"&:hover, &:focus": {
|
|
43
43
|
borderRadius: 0,
|
|
44
44
|
boxShadow: "none",
|
|
45
45
|
backgroundColor: theme.palette.primary.light
|
|
46
|
-
},
|
|
47
|
-
"&:focus, &:active, &.Mui-focusVisible": {
|
|
48
|
-
borderRadius: 0,
|
|
49
|
-
boxShadow: "none",
|
|
50
|
-
outline: "none"
|
|
51
46
|
}
|
|
52
47
|
},
|
|
53
48
|
menu: {
|
|
@@ -5,7 +5,7 @@ exports.default = void 0;
|
|
|
5
5
|
var _react = _interopRequireWildcard(require("react"));
|
|
6
6
|
var _Tooltip = _interopRequireDefault(require("@material-ui/core/Tooltip"));
|
|
7
7
|
var _propertyValidator = require("../../../utils/propertyValidator");
|
|
8
|
-
var _excluded = ["titleValue", "alwaysDisplay"
|
|
8
|
+
var _excluded = ["titleValue", "alwaysDisplay"];
|
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10
10
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
11
11
|
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 && Object.prototype.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; }
|
|
@@ -39,7 +39,6 @@ var withDeferredTooltip = function withDeferredTooltip(Comp) {
|
|
|
39
39
|
return __signature__(__signature__(function (_ref) {
|
|
40
40
|
var titleValue = _ref.titleValue,
|
|
41
41
|
alwaysDisplay = _ref.alwaysDisplay,
|
|
42
|
-
tooltipClasses = _ref.tooltipClasses,
|
|
43
42
|
props = _objectWithoutProperties(_ref, _excluded);
|
|
44
43
|
var _useState = (0, _react.useState)(false),
|
|
45
44
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -63,7 +62,6 @@ var withDeferredTooltip = function withDeferredTooltip(Comp) {
|
|
|
63
62
|
if (shouldBeTooltipped === false) return defaultComponent;
|
|
64
63
|
return /*#__PURE__*/_react.default.createElement(_Tooltip.default, {
|
|
65
64
|
arrow: true,
|
|
66
|
-
classes: tooltipClasses != null ? tooltipClasses : null,
|
|
67
65
|
title: titleValue,
|
|
68
66
|
disableHoverListener: false,
|
|
69
67
|
disableFocusListener: true,
|
|
@@ -8,7 +8,6 @@ var _withErrorBoundary = _interopRequireDefault(require("../../hocs/withErrorBou
|
|
|
8
8
|
var _FullPage = _interopRequireDefault(require("./FullPage"));
|
|
9
9
|
var _SubPage = _interopRequireDefault(require("./SubPage"));
|
|
10
10
|
var _withWaypointing = _interopRequireDefault(require("./withWaypointing"));
|
|
11
|
-
var _urlPattern = _interopRequireDefault(require("url-pattern"));
|
|
12
11
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
12
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
14
13
|
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 && Object.prototype.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; }
|
|
@@ -46,7 +45,6 @@ var Page = function Page(_ref) {
|
|
|
46
45
|
var WrappedView = (0, _react.useMemo)(function () {
|
|
47
46
|
return (0, _withErrorBoundary.default)(path)((0, _withWaypointing.default)(View, isVisible));
|
|
48
47
|
}, [path, View, isVisible]);
|
|
49
|
-
var parentUrlPattern = new _urlPattern.default(path);
|
|
50
48
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactRouter.Switch, null, Object.entries(pages).map(function (_ref2) {
|
|
51
49
|
var _ref3 = _slicedToArray(_ref2, 2),
|
|
52
50
|
subpath = _ref3[0],
|
|
@@ -85,8 +83,7 @@ var Page = function Page(_ref) {
|
|
|
85
83
|
render: function render(route) {
|
|
86
84
|
return /*#__PURE__*/_react.default.createElement(_SubPage.default, _extends({
|
|
87
85
|
root: path,
|
|
88
|
-
config: config
|
|
89
|
-
parentUrlPattern: parentUrlPattern
|
|
86
|
+
config: config
|
|
90
87
|
}, route, {
|
|
91
88
|
modulePrependPath: modulePrependPath
|
|
92
89
|
}));
|
|
@@ -226,8 +226,6 @@ var SegmentPage = function SegmentPage(_ref4) {
|
|
|
226
226
|
}));
|
|
227
227
|
}
|
|
228
228
|
if (config.subpages) {
|
|
229
|
-
var parentUrl = path + segpath;
|
|
230
|
-
var parentUrlPattern = new _urlPattern.default(parentUrl);
|
|
231
229
|
subpages.push.apply(subpages, Object.entries(config.subpages).map(function (_ref9) {
|
|
232
230
|
var _ref10 = _slicedToArray(_ref9, 2),
|
|
233
231
|
subpath = _ref10[0],
|
|
@@ -239,8 +237,7 @@ var SegmentPage = function SegmentPage(_ref4) {
|
|
|
239
237
|
render: function render(route) {
|
|
240
238
|
return /*#__PURE__*/_react.default.createElement(_SubPage.default, _extends({
|
|
241
239
|
root: path,
|
|
242
|
-
config: config
|
|
243
|
-
parentUrlPattern: parentUrlPattern
|
|
240
|
+
config: config
|
|
244
241
|
}, route, {
|
|
245
242
|
modulePrependPath: modulePrependPath
|
|
246
243
|
}));
|
|
@@ -46,14 +46,13 @@ var useStyles = (0, _styles.makeStyles)(function (theme) {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
var SubPage = exports.SubPage = function SubPage(_ref) {
|
|
49
|
-
var _props$title, _props$title2, _props$title3
|
|
49
|
+
var _props$title, _props$title2, _props$title3;
|
|
50
50
|
var config = _ref.config,
|
|
51
51
|
match = _ref.match,
|
|
52
52
|
location = _ref.location,
|
|
53
53
|
history = _ref.history,
|
|
54
54
|
root = _ref.root,
|
|
55
|
-
modulePrependPath = _ref.modulePrependPath
|
|
56
|
-
parentUrlPattern = _ref.parentUrlPattern;
|
|
55
|
+
modulePrependPath = _ref.modulePrependPath;
|
|
57
56
|
var classes = useStyles();
|
|
58
57
|
var dispatch = (0, _reactRedux.useDispatch)();
|
|
59
58
|
var View = config.component,
|
|
@@ -61,13 +60,15 @@ var SubPage = exports.SubPage = function SubPage(_ref) {
|
|
|
61
60
|
var pattern = new _urlPattern.default(root);
|
|
62
61
|
var baseHref = pattern.stringify(match.params);
|
|
63
62
|
var path = location.pathname;
|
|
63
|
+
var basePathArr = path.split("/");
|
|
64
|
+
basePathArr.pop();
|
|
65
|
+
var basePath = basePathArr.join("/");
|
|
64
66
|
var WrappedView = (0, _react.useMemo)(function () {
|
|
65
67
|
return (0, _withErrorBoundary.default)(path)((0, _withWaypointing.default)(View));
|
|
66
68
|
}, [path, View]);
|
|
67
69
|
var closeSubPage = function closeSubPage() {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
dispatch((0, _navigation.mapHref)(parentHref, parentHref));
|
|
70
|
+
history.push(basePath);
|
|
71
|
+
dispatch((0, _navigation.mapHref)(basePath, basePath));
|
|
71
72
|
};
|
|
72
73
|
var message = /*#__PURE__*/_react.default.createElement(WrappedView, _extends({
|
|
73
74
|
match: match,
|
|
@@ -84,6 +85,7 @@ var SubPage = exports.SubPage = function SubPage(_ref) {
|
|
|
84
85
|
modalProps.set(_modalProps.default.propNames.title, titleComponent);
|
|
85
86
|
modalProps.set(_modalProps.default.propNames.open, true);
|
|
86
87
|
modalProps.set(_modalProps.default.propNames.type, "fullwidth");
|
|
88
|
+
modalProps.set(_modalProps.default.propNames.backdropClickCallback, closeSubPage);
|
|
87
89
|
var actionPanel = /*#__PURE__*/_react.default.createElement("div", {
|
|
88
90
|
className: classes.actionPanel
|
|
89
91
|
}, /*#__PURE__*/_react.default.createElement(_Button.default, {
|
|
@@ -92,38 +94,6 @@ var SubPage = exports.SubPage = function SubPage(_ref) {
|
|
|
92
94
|
disableElevation: true,
|
|
93
95
|
onClick: closeSubPage
|
|
94
96
|
}, /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, _sharedMessages.default.close)));
|
|
95
|
-
if (((_props$componentProps = props.componentProps) == null || (_props$componentProps = _props$componentProps.actionPanel()) == null ? void 0 : _props$componentProps.length) > 0) {
|
|
96
|
-
var _props$componentProps2;
|
|
97
|
-
actionPanel = /*#__PURE__*/_react.default.createElement("div", {
|
|
98
|
-
className: classes.actionPanel
|
|
99
|
-
}, (_props$componentProps2 = props.componentProps) == null ? void 0 : _props$componentProps2.actionPanel().map(function (action) {
|
|
100
|
-
var _action$label;
|
|
101
|
-
return /*#__PURE__*/_react.default.createElement(_Button.default, {
|
|
102
|
-
key: (_action$label = action.label) == null ? void 0 : _action$label.id,
|
|
103
|
-
variant: action.isPrimary ? "contained" : "outlined",
|
|
104
|
-
color: action.isPrimary ? "primary" : "default",
|
|
105
|
-
disableElevation: action.isPrimary,
|
|
106
|
-
disabled: action.disabled,
|
|
107
|
-
onClick: function onClick(e) {
|
|
108
|
-
if (!action.handler) {
|
|
109
|
-
closeSubPage();
|
|
110
|
-
return;
|
|
111
|
-
}
|
|
112
|
-
var actionHandlerResult = action.handler(e);
|
|
113
|
-
if (typeof actionHandlerResult === "object") {
|
|
114
|
-
// promise
|
|
115
|
-
actionHandlerResult.then(function (actionResult) {
|
|
116
|
-
if (action.validateBeforeClose && !actionResult) return;
|
|
117
|
-
closeSubPage();
|
|
118
|
-
});
|
|
119
|
-
} else {
|
|
120
|
-
if (action.validateBeforeClose && !actionHandlerResult) return;
|
|
121
|
-
closeSubPage();
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}, /*#__PURE__*/_react.default.createElement(_reactIntl.FormattedMessage, action.label));
|
|
125
|
-
}));
|
|
126
|
-
}
|
|
127
97
|
modalProps.set(_modalProps.default.propNames.actionPanel, actionPanel);
|
|
128
98
|
return /*#__PURE__*/_react.default.createElement(_Modal.default, {
|
|
129
99
|
message: message,
|
|
@@ -10,6 +10,7 @@ var _scopes = require("../../actions/scopes");
|
|
|
10
10
|
var _useScopeData3 = _interopRequireDefault(require("./useScopeData"));
|
|
11
11
|
var _view = require("../../selectors/view");
|
|
12
12
|
var _constants = require("../../constants");
|
|
13
|
+
var _modules = require("../../actions/modules");
|
|
13
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
15
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
16
|
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 && Object.prototype.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; }
|
|
@@ -76,7 +77,8 @@ var useApplicationScopeChanger = function useApplicationScopeChanger(closingTabH
|
|
|
76
77
|
var moduleName = (0, _useSelectorAndUnwrap.default)(_navigation.selectCurrentModuleName);
|
|
77
78
|
return function (previousScope, newScope) {
|
|
78
79
|
ExecuteClosingTabHandlerActions(closingTabHandlerActions).then(function () {
|
|
79
|
-
dispatch((0,
|
|
80
|
+
dispatch((0, _modules.setNewScopeAndModuleName)(newScope, moduleName));
|
|
81
|
+
dispatch((0, _scopes.applicationScopeHasChanged)(previousScope, newScope));
|
|
80
82
|
});
|
|
81
83
|
};
|
|
82
84
|
};
|
package/dist/constants.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
exports.__esModule = true;
|
|
4
|
-
exports.validationErrorTypes = exports.
|
|
4
|
+
exports.validationErrorTypes = exports.scopeTypes = exports.scopeConfirmationDialogTypes = exports.roleGroups = exports.requestStates = exports.requestStateOperations = exports.requestStateOperationMap = exports.platformRoles = exports.overtureModule = exports.infoBar = exports.displayMode = exports.definitionType = exports.attributeDataType = void 0;
|
|
5
5
|
(function () {
|
|
6
6
|
var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
|
|
7
7
|
enterModule && enterModule(module);
|
|
@@ -28,13 +28,11 @@ var platformRoles = exports.platformRoles = {
|
|
|
28
28
|
Integrator: "Integrator",
|
|
29
29
|
Administrator: "Administrator",
|
|
30
30
|
Editor: "Editor",
|
|
31
|
-
Reader: "Reader"
|
|
32
|
-
Recipient: "Recipient"
|
|
31
|
+
Reader: "Reader"
|
|
33
32
|
};
|
|
34
33
|
var roleGroups = exports.roleGroups = {
|
|
35
34
|
Products: "Products",
|
|
36
35
|
Orders: "Orders",
|
|
37
|
-
OrderReturn: "OrderReturn",
|
|
38
36
|
Marketing: "Marketing",
|
|
39
37
|
Analytics: "Analytics",
|
|
40
38
|
Shopping: "Shopping",
|
|
@@ -115,18 +113,6 @@ var requestStateOperationMap = exports.requestStateOperationMap = {
|
|
|
115
113
|
fetch: "fetches",
|
|
116
114
|
update: "updates"
|
|
117
115
|
};
|
|
118
|
-
var taskStatuses = exports.taskStatuses = {
|
|
119
|
-
created: "Created",
|
|
120
|
-
waitingToRun: "WaitingToRun",
|
|
121
|
-
running: "Running",
|
|
122
|
-
ranToCompletion: "RanToCompletion",
|
|
123
|
-
canceled: "Canceled",
|
|
124
|
-
faulted: "Faulted",
|
|
125
|
-
idle: "Idle",
|
|
126
|
-
waitingToCancel: "WaitingToCancel",
|
|
127
|
-
ignored: "Ignored",
|
|
128
|
-
queuedForSequence: "QueuedForSequence"
|
|
129
|
-
};
|
|
130
116
|
;
|
|
131
117
|
(function () {
|
|
132
118
|
var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;
|
|
@@ -146,7 +132,6 @@ var taskStatuses = exports.taskStatuses = {
|
|
|
146
132
|
reactHotLoader.register(definitionType, "definitionType", "/home/vsts/work/1/s/src/constants.js");
|
|
147
133
|
reactHotLoader.register(requestStateOperations, "requestStateOperations", "/home/vsts/work/1/s/src/constants.js");
|
|
148
134
|
reactHotLoader.register(requestStateOperationMap, "requestStateOperationMap", "/home/vsts/work/1/s/src/constants.js");
|
|
149
|
-
reactHotLoader.register(taskStatuses, "taskStatuses", "/home/vsts/work/1/s/src/constants.js");
|
|
150
135
|
})();
|
|
151
136
|
;
|
|
152
137
|
(function () {
|
|
@@ -172,7 +157,6 @@ var taskStatuses = exports.taskStatuses = {
|
|
|
172
157
|
reactHotLoader.register(definitionType, "definitionType", "/home/vsts/work/1/s/src/constants.js");
|
|
173
158
|
reactHotLoader.register(requestStateOperations, "requestStateOperations", "/home/vsts/work/1/s/src/constants.js");
|
|
174
159
|
reactHotLoader.register(requestStateOperationMap, "requestStateOperationMap", "/home/vsts/work/1/s/src/constants.js");
|
|
175
|
-
reactHotLoader.register(taskStatuses, "taskStatuses", "/home/vsts/work/1/s/src/constants.js");
|
|
176
160
|
})();
|
|
177
161
|
;
|
|
178
162
|
(function () {
|
|
@@ -1,10 +1 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="
|
|
2
|
-
<g clip-path="url(#clip0_441_1046)">
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M19.1125 7.99508C19.2743 7.77133 19.5869 7.72113 19.8106 7.88296C20.0216 8.03555 20.2302 8.1925 20.4364 8.35347C21.368 9.0809 22.2129 9.85943 22.9568 10.6384C23.0872 10.7749 23.2099 10.9067 23.3246 11.033L23.7704 11.542L23.8916 11.6896C24.0356 11.8715 24.0356 12.1286 23.8916 12.3105L23.7121 12.5272L23.6448 12.6058C23.4479 12.8343 23.2182 13.0881 22.9576 13.361C22.2144 14.1394 21.3702 14.9173 20.4393 15.6442C17.7581 17.7379 14.9082 19.0001 11.9996 19.0001C10.9498 19.0001 9.8986 18.8328 8.8517 18.5133C8.58758 18.4327 8.4388 18.1533 8.51938 17.8892C8.59997 17.6251 8.87941 17.4763 9.14354 17.5569C10.0988 17.8483 11.0522 18.0001 11.9996 18.0001C14.649 18.0001 17.3026 16.8248 19.8239 14.856C20.7139 14.161 21.5229 13.4155 22.2344 12.6704L22.5842 12.2951L22.845 11.999L22.7414 11.8803C22.6403 11.7661 22.5312 11.646 22.4144 11.5207L22.2336 11.329C21.5215 10.5833 20.7118 9.83721 19.821 9.14166C19.6243 8.98815 19.4255 8.83856 19.2246 8.69324C19.0008 8.53141 18.9506 8.21884 19.1125 7.99508ZM11.9998 5.0002C12.874 5.0002 13.751 5.11672 14.6276 5.34077C14.8952 5.40915 15.0566 5.68147 14.9882 5.94901C14.9199 6.21655 14.6475 6.37801 14.38 6.30963C13.5822 6.10571 12.788 6.0002 11.9998 6.0002C9.35085 6.0002 6.69737 7.17547 4.17591 9.14429C3.28583 9.83929 2.47675 10.5848 1.76518 11.3299L1.58445 11.5214L1.25778 11.8808L1.15302 12L1.41569 12.2955L1.76592 12.6711C2.47813 13.4167 3.28797 14.1628 4.17893 14.8582C4.37092 15.0081 4.56502 15.1542 4.76114 15.2963C4.98477 15.4583 5.03474 15.7709 4.87274 15.9945C4.71074 16.2182 4.39813 16.2681 4.17449 16.1061C3.96857 15.957 3.76492 15.8036 3.56362 15.6465C2.63181 14.9192 1.78677 14.1407 1.0428 13.3619C0.84715 13.157 0.668918 12.963 0.508892 12.7823L0.107909 12.3107C-0.0362056 12.1288 -0.0362146 11.8716 0.107887 11.6897L0.354739 11.3945C0.453192 11.2802 0.559843 11.1597 0.674462 11.0335L1.04199 10.6393C1.7853 9.86091 2.62957 9.08298 3.56047 8.35611C6.24182 6.26243 9.09166 5.0002 11.9998 5.0002ZM12 7.5C12.2762 7.5 12.5 7.72386 12.5 8C12.5 8.27614 12.2762 8.5 12 8.5C10.0668 8.5 8.50002 10.0665 8.50002 12C8.50002 12.2761 8.27616 12.5 8.00002 12.5C7.72388 12.5 7.50002 12.2761 7.50002 12C7.50002 9.51418 9.51455 7.5 12 7.5ZM16 11.5C16.2762 11.5 16.5 11.7239 16.5 12C16.5 14.4858 14.4855 16.5 12 16.5C11.7239 16.5 11.5 16.2761 11.5 16C11.5 15.7239 11.7239 15.5 12 15.5C13.9332 15.5 15.5 13.9335 15.5 12C15.5 11.7239 15.7239 11.5 16 11.5ZM21.3965 1.89645C21.5917 1.70118 21.9083 1.70118 22.1036 1.89645C22.2771 2.07001 22.2964 2.33944 22.1614 2.53431L22.1036 2.60355L2.60357 22.1036C2.40831 22.2988 2.09173 22.2988 1.89646 22.1036C1.7229 21.93 1.70361 21.6606 1.83861 21.4657L1.89646 21.3964L21.3965 1.89645Z" fill="#333333"/>
|
|
4
|
-
</g>
|
|
5
|
-
<defs>
|
|
6
|
-
<clipPath id="clip0_441_1046">
|
|
7
|
-
<rect width="24" height="24" fill="white"/>
|
|
8
|
-
</clipPath>
|
|
9
|
-
</defs>
|
|
10
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="#333" fill-rule="evenodd" d="M19.1124576,7.99508187 C19.274287,7.77132789 19.5868642,7.72112814 19.8106181,7.88295759 C20.0216019,8.03555104 20.2302145,8.19250179 20.4363636,8.35346554 C21.367999,9.08089762 22.2129121,9.85942668 22.9567728,10.6383637 C23.0871893,10.7749299 23.2098645,10.9067227 23.3245662,11.0329511 L23.770342,11.541957 L23.8915413,11.6896455 C24.0356128,11.8715323 24.0356203,12.1286366 23.8915593,12.3105318 L23.7120419,12.5272329 L23.6447456,12.6058087 C23.4478713,12.8342536 23.2182022,13.0880997 22.9575938,13.3610246 C22.2143749,14.1393688 21.3701824,14.9173051 20.4393301,15.644184 C17.7581326,17.7378629 14.9081955,19.0001 11.9996,19.0001 C10.949806,19.0001 9.89858165,18.8327644 8.85168118,18.5133339 C8.58755987,18.4327452 8.43877732,18.1533025 8.51936606,17.8891812 C8.5999548,17.6250599 8.87939751,17.4762773 9.14351882,17.5568661 C10.0987601,17.8483294 11.0522027,18.0001 11.9996,18.0001 C14.6490045,18.0001 17.3025674,16.8248371 19.8238699,14.856016 C20.7138926,14.1610199 21.5228876,13.4155187 22.2343562,12.6704254 L22.5842248,12.29506 L22.845,11.999 L22.7413564,11.8803057 C22.6402396,11.7661224 22.5311815,11.6459877 22.414432,11.5206988 L22.2335702,11.3289997 C21.521459,10.5833093 20.7117419,9.8372109 19.820934,9.14165736 C19.6243281,8.98814509 19.4255054,8.83855979 19.2245819,8.69324241 C19.0008279,8.53141297 18.9506281,8.21883585 19.1124576,7.99508187 Z M11.9998,5.0002 C12.8739327,5.0002 13.7509817,5.11671997 14.6276117,5.34077181 C14.895154,5.40915111 15.0566075,5.68146937 14.9882282,5.94901167 C14.9198489,6.21655397 14.6475306,6.37800749 14.3799883,6.30962819 C13.5821401,6.10571164 12.7879511,6.0002 11.9998,6.0002 C9.35083458,6.0002 6.69735512,7.17546602 4.17589366,9.14429292 C3.28581154,9.83929367 2.47673061,10.5848001 1.76516129,11.3298989 L1.58443686,11.5214458 L1.25775824,11.8807668 L1.153,12 L1.41566931,12.295517 L1.76590094,12.6711398 C2.47810874,13.4167439 3.2879515,14.1627565 4.17891753,14.8582309 C4.37090306,15.0080918 4.56500745,15.1542135 4.76112272,15.2962781 C4.98475494,15.4582757 5.03471961,15.7708905 4.87272194,15.9945227 C4.71072428,16.2181549 4.39810949,16.2681196 4.17447728,16.1061219 C3.96855449,15.9569529 3.76489987,15.8036418 3.56359925,15.6465096 C2.63179756,14.9191595 1.78675034,14.1407173 1.04278511,13.3618666 C0.847132571,13.1570397 0.668901439,12.9629517 0.508875241,12.7822717 L0.107891812,12.3106963 C-0.0362224624,12.1287954 -0.0362314836,11.8716422 0.107870028,11.6897312 L0.354722203,11.3944602 C0.453174682,11.2802389 0.559826322,11.1596673 0.674444991,11.0335357 L1.04196996,10.6392511 C1.78528345,9.8609124 2.62955408,9.08298133 3.56045634,8.35610708 C6.24180738,6.26243398 9.09164042,5.0002 11.9998,5.0002 Z M12,7.5 C12.2761424,7.5 12.5,7.72385763 12.5,8 C12.5,8.27614237 12.2761424,8.5 12,8.5 C10.0667776,8.5 8.5,10.0665071 8.5,12 C8.5,12.2761424 8.27614237,12.5 8,12.5 C7.72385763,12.5 7.5,12.2761424 7.5,12 C7.5,9.51418366 9.51453153,7.5 12,7.5 Z M16,11.5 C16.2761424,11.5 16.5,11.7238576 16.5,12 C16.5,14.4858163 14.4854685,16.5 12,16.5 C11.7238576,16.5 11.5,16.2761424 11.5,16 C11.5,15.7238576 11.7238576,15.5 12,15.5 C13.9332224,15.5 15.5,13.9334929 15.5,12 C15.5,11.7238576 15.7238576,11.5 16,11.5 Z M21.3964466,1.89644661 C21.5917088,1.70118446 21.9082912,1.70118446 22.1035534,1.89644661 C22.2771197,2.07001296 22.2964049,2.33943736 22.1614088,2.5343055 L22.1035534,2.60355339 L2.60355339,22.1035534 C2.40829124,22.2988155 2.09170876,22.2988155 1.89644661,22.1035534 C1.72288026,21.929987 1.70359511,21.6605626 1.83859116,21.4656945 L1.89644661,21.3964466 L21.3964466,1.89644661 Z"/></svg>
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="
|
|
2
|
-
<path d="M6.5 2.98C6.77614 2.98 7 3.20386 7 3.48C7 3.72546 6.82312 3.92961 6.58988 3.97194L6.5 3.98H1V14.98H12V9.52C12 9.27454 12.1769 9.07039 12.4101 9.02806L12.5 9.02C12.7455 9.02 12.9496 9.19687 12.9919 9.43012L13 9.52V15.48C13 15.7255 12.8231 15.9296 12.5899 15.9719L12.5 15.98H0.5C0.25454 15.98 0.0503916 15.8031 0.00805567 15.5699L0 15.48V3.48C0 3.23454 0.176875 3.03039 0.410124 2.98806L0.5 2.98H6.5ZM9.41012 0.00805567L9.5 0L15.5115 0.000132377C15.5324 0.000610998 15.5532 0.0023875 15.5739 0.00546187L15.5 0L15.5534 0.00282096L15.6281 0.0166083L15.691 0.0377922L15.767 0.077188L15.8221 0.117584L15.8536 0.146447L15.891 0.188338L15.9333 0.250235L15.9624 0.309405L15.9834 0.371861L15.9979 0.454214L16 0.5V6.5C16 6.77614 15.7761 7 15.5 7C15.2545 7 15.0504 6.82312 15.0081 6.58988L15 6.5V1.706L3.85355 12.8536C3.65829 13.0488 3.34171 13.0488 3.14645 12.8536C2.97288 12.68 2.9536 12.4106 3.08859 12.2157L3.14645 12.1464L14.292 1H9.5C9.25454 1 9.05039 0.823125 9.00806 0.589876L9 0.5C9 0.25454 9.17688 0.0503916 9.41012 0.00805567Z" fill="#333333"/>
|
|
3
|
-
</svg>
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="#333" d="M6.5,2.98 C6.77614237,2.98 7,3.20385763 7,3.48 C7,3.72545989 6.82312484,3.92960837 6.58987563,3.97194433 L6.5,3.98 L1,3.98 L1,14.98 L12,14.98 L12,9.52 C12,9.27454011 12.1768752,9.07039163 12.4101244,9.02805567 L12.5,9.02 C12.7454599,9.02 12.9496084,9.19687516 12.9919443,9.43012437 L13,9.52 L13,15.48 C13,15.7254599 12.8231248,15.9296084 12.5898756,15.9719443 L12.5,15.98 L0.5,15.98 C0.254540111,15.98 0.0503916296,15.8031248 0.00805566941,15.5698756 L0,15.48 L0,3.48 C0,3.23454011 0.176875161,3.03039163 0.410124368,2.98805567 L0.5,2.98 L6.5,2.98 Z M9.41012437,0.00805566941 L9.5,0 L15.5115408,0.000132376874 C15.5324012,0.0006109983 15.5532373,0.00238749635 15.5739178,0.00546187104 L15.5,0 L15.5534276,0.00282096186 L15.6281458,0.0166082551 L15.6910366,0.0377922373 L15.7670103,0.0771880058 L15.8221372,0.117583716 L15.8535534,0.146446609 L15.891039,0.188337752 L15.9332526,0.250234852 L15.9623894,0.3094049 L15.9833892,0.371860863 L15.997912,0.454213822 L16,0.5 L16,6.5 C16,6.77614237 15.7761424,7 15.5,7 C15.2545401,7 15.0503916,6.82312484 15.0080557,6.58987563 L15,6.5 L15,1.706 L3.85355339,12.8535534 C3.65829124,13.0488155 3.34170876,13.0488155 3.14644661,12.8535534 C2.97288026,12.679987 2.95359511,12.4105626 3.08859116,12.2156945 L3.14644661,12.1464466 L14.292,1 L9.5,1 C9.25454011,1 9.05039163,0.823124839 9.00805567,0.589875632 L9,0.5 C9,0.254540111 9.17687516,0.0503916296 9.41012437,0.00805566941 Z"/></svg>
|