@vitrosoftware/common-ui-ts 1.1.20 → 1.1.21

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.
@@ -2,7 +2,6 @@ import React__default, { useState, useRef, useEffect, useMemo, useCallback, useC
2
2
  import { ScrollBar, ScriptLoader, Progress, ButtonGroup, Image, TaskUserList } from '@vitrosoftware/common-ui';
3
3
  import { useInjection } from 'inversify-react';
4
4
  import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
5
- import { LinkContainer } from 'react-router-bootstrap';
6
5
 
7
6
  var app = {
8
7
  common: {
@@ -213,6 +212,8 @@ var EVENT;
213
212
  EVENT["RESIZE"] = "resize";
214
213
  EVENT["DRAGOVER"] = "dragover";
215
214
  EVENT["DRAGLEAVE"] = "dragleave";
215
+ EVENT["HISTORY_UPDATE"] = "vitro.history.update";
216
+ EVENT["HISTORY_CHANGED"] = "vitro.history.changed";
216
217
  })(EVENT || (EVENT = {}));
217
218
 
218
219
  var styles = {"vitro-breadcrumbs":"_breadcrumbs_vitro-breadcrumbs_3r4NcQY","vitro-breadcrumbs-list-wrap":"_breadcrumbs_vitro-breadcrumbs-list-wrap_1_JBrw0","vitro-breadcrumbs-list":"_breadcrumbs_vitro-breadcrumbs-list_1SNtgtJ","vitro-breadcrumbs-button":"_breadcrumbs_vitro-breadcrumbs-button_3fazq3c","vitro-root":"_breadcrumbs_vitro-root_1S5-6AY","vitro-drop-down-list":"_breadcrumbs_vitro-drop-down-list_2PhrR2a"};
@@ -20896,6 +20897,9 @@ var renderMicrofrontend = function renderMicrofrontend(rendererName, microFronte
20896
20897
  }
20897
20898
  console.log(rendererName + " load error. tryCnt: " + tryCnt);
20898
20899
  } else {
20900
+ if (microFrontendState.unmountAction) {
20901
+ microFrontendState.unmountAction();
20902
+ }
20899
20903
  microFrontendState.unmountAction = window[rendererName](rootElement, data);
20900
20904
  }
20901
20905
  };
@@ -59350,6 +59354,13 @@ var Button$2 = function Button(props) {
59350
59354
  } else {
59351
59355
  setPending(false);
59352
59356
  }
59357
+ } else if (props.to) {
59358
+ var event = new CustomEvent(EVENT.HISTORY_UPDATE, {
59359
+ detail: {
59360
+ pathname: props.to
59361
+ }
59362
+ });
59363
+ window.dispatchEvent(event);
59353
59364
  }
59354
59365
  };
59355
59366
  var button = React__default.createElement("button", {
@@ -59371,11 +59382,6 @@ var Button$2 = function Button(props) {
59371
59382
  hoverUrl: props.imageHoverUrl,
59372
59383
  className: "" + (props.imageClassName || CTRL.EMPTY)
59373
59384
  }), React__default.createElement("div", null, props.text)));
59374
- if (props.to) {
59375
- return React__default.createElement(LinkContainer, {
59376
- to: props.to
59377
- }, button);
59378
- }
59379
59385
  return button;
59380
59386
  };
59381
59387
 
@@ -61548,257 +61554,6 @@ var CommandMenuLookupPicker = function CommandMenuLookupPicker(props) {
61548
61554
  })));
61549
61555
  };
61550
61556
 
61551
- function isAbsolute(pathname) {
61552
- return pathname.charAt(0) === '/';
61553
- }
61554
-
61555
- // About 1.5x faster than the two-arg version of Array#splice()
61556
- function spliceOne(list, index) {
61557
- for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) {
61558
- list[i] = list[k];
61559
- }
61560
-
61561
- list.pop();
61562
- }
61563
-
61564
- // This implementation is based heavily on node's url.parse
61565
- function resolvePathname(to, from) {
61566
- if (from === undefined) from = '';
61567
-
61568
- var toParts = (to && to.split('/')) || [];
61569
- var fromParts = (from && from.split('/')) || [];
61570
-
61571
- var isToAbs = to && isAbsolute(to);
61572
- var isFromAbs = from && isAbsolute(from);
61573
- var mustEndAbs = isToAbs || isFromAbs;
61574
-
61575
- if (to && isAbsolute(to)) {
61576
- // to is absolute
61577
- fromParts = toParts;
61578
- } else if (toParts.length) {
61579
- // to is relative, drop the filename
61580
- fromParts.pop();
61581
- fromParts = fromParts.concat(toParts);
61582
- }
61583
-
61584
- if (!fromParts.length) return '/';
61585
-
61586
- var hasTrailingSlash;
61587
- if (fromParts.length) {
61588
- var last = fromParts[fromParts.length - 1];
61589
- hasTrailingSlash = last === '.' || last === '..' || last === '';
61590
- } else {
61591
- hasTrailingSlash = false;
61592
- }
61593
-
61594
- var up = 0;
61595
- for (var i = fromParts.length; i >= 0; i--) {
61596
- var part = fromParts[i];
61597
-
61598
- if (part === '.') {
61599
- spliceOne(fromParts, i);
61600
- } else if (part === '..') {
61601
- spliceOne(fromParts, i);
61602
- up++;
61603
- } else if (up) {
61604
- spliceOne(fromParts, i);
61605
- up--;
61606
- }
61607
- }
61608
-
61609
- if (!mustEndAbs) for (; up--; up) fromParts.unshift('..');
61610
-
61611
- if (
61612
- mustEndAbs &&
61613
- fromParts[0] !== '' &&
61614
- (!fromParts[0] || !isAbsolute(fromParts[0]))
61615
- )
61616
- fromParts.unshift('');
61617
-
61618
- var result = fromParts.join('/');
61619
-
61620
- if (hasTrailingSlash && result.substr(-1) !== '/') result += '/';
61621
-
61622
- return result;
61623
- }
61624
-
61625
- function parsePath(path) {
61626
- var pathname = path || '/';
61627
- var search = '';
61628
- var hash = '';
61629
- var hashIndex = pathname.indexOf('#');
61630
-
61631
- if (hashIndex !== -1) {
61632
- hash = pathname.substr(hashIndex);
61633
- pathname = pathname.substr(0, hashIndex);
61634
- }
61635
-
61636
- var searchIndex = pathname.indexOf('?');
61637
-
61638
- if (searchIndex !== -1) {
61639
- search = pathname.substr(searchIndex);
61640
- pathname = pathname.substr(0, searchIndex);
61641
- }
61642
-
61643
- return {
61644
- pathname: pathname,
61645
- search: search === '?' ? '' : search,
61646
- hash: hash === '#' ? '' : hash
61647
- };
61648
- }
61649
-
61650
- function createLocation(path, state, key, currentLocation) {
61651
- var location;
61652
-
61653
- if (typeof path === 'string') {
61654
- // Two-arg form: push(path, state)
61655
- location = parsePath(path);
61656
- location.state = state;
61657
- } else {
61658
- // One-arg form: push(location)
61659
- location = _extends$1({}, path);
61660
- if (location.pathname === undefined) location.pathname = '';
61661
-
61662
- if (location.search) {
61663
- if (location.search.charAt(0) !== '?') location.search = '?' + location.search;
61664
- } else {
61665
- location.search = '';
61666
- }
61667
-
61668
- if (location.hash) {
61669
- if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash;
61670
- } else {
61671
- location.hash = '';
61672
- }
61673
-
61674
- if (state !== undefined && location.state === undefined) location.state = state;
61675
- }
61676
-
61677
- try {
61678
- location.pathname = decodeURI(location.pathname);
61679
- } catch (e) {
61680
- if (e instanceof URIError) {
61681
- throw new URIError('Pathname "' + location.pathname + '" could not be decoded. ' + 'This is likely caused by an invalid percent-encoding.');
61682
- } else {
61683
- throw e;
61684
- }
61685
- }
61686
-
61687
- if (key) location.key = key;
61688
-
61689
- if (currentLocation) {
61690
- // Resolve incomplete/relative pathname relative to current location.
61691
- if (!location.pathname) {
61692
- location.pathname = currentLocation.pathname;
61693
- } else if (location.pathname.charAt(0) !== '/') {
61694
- location.pathname = resolvePathname(location.pathname, currentLocation.pathname);
61695
- }
61696
- } else {
61697
- // When there is no prior location and pathname is empty, set it to /
61698
- if (!location.pathname) {
61699
- location.pathname = '/';
61700
- }
61701
- }
61702
-
61703
- return location;
61704
- }
61705
-
61706
- var _extends$2 = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
61707
-
61708
- function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
61709
-
61710
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
61711
-
61712
- function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
61713
-
61714
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
61715
-
61716
- var isModifiedEvent$1 = function isModifiedEvent(event) {
61717
- return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
61718
- };
61719
-
61720
- /**
61721
- * The public API for rendering a history-aware <a>.
61722
- */
61723
-
61724
- var Link = function (_React$Component) {
61725
- _inherits(Link, _React$Component);
61726
-
61727
- function Link() {
61728
- var _temp, _this, _ret;
61729
-
61730
- _classCallCheck(this, Link);
61731
-
61732
- for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
61733
- args[_key] = arguments[_key];
61734
- }
61735
-
61736
- return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.handleClick = function (event) {
61737
- if (_this.props.onClick) _this.props.onClick(event);
61738
-
61739
- if (!event.defaultPrevented && // onClick prevented default
61740
- event.button === 0 && // ignore everything but left clicks
61741
- !_this.props.target && // let browser handle "target=_blank" etc.
61742
- !isModifiedEvent$1(event) // ignore clicks with modifier keys
61743
- ) {
61744
- event.preventDefault();
61745
-
61746
- var history = _this.context.router.history;
61747
- var _this$props = _this.props,
61748
- replace = _this$props.replace,
61749
- to = _this$props.to;
61750
-
61751
-
61752
- if (replace) {
61753
- history.replace(to);
61754
- } else {
61755
- history.push(to);
61756
- }
61757
- }
61758
- }, _temp), _possibleConstructorReturn(_this, _ret);
61759
- }
61760
-
61761
- Link.prototype.render = function render() {
61762
- var _props = this.props,
61763
- to = _props.to,
61764
- innerRef = _props.innerRef,
61765
- props = _objectWithoutProperties(_props, ["replace", "to", "innerRef"]); // eslint-disable-line no-unused-vars
61766
-
61767
- browser(this.context.router, "You should not use <Link> outside a <Router>");
61768
-
61769
- browser(to !== undefined, 'You must specify the "to" property');
61770
-
61771
- var history = this.context.router.history;
61772
-
61773
- var location = typeof to === "string" ? createLocation(to, null, null, history.location) : to;
61774
-
61775
- var href = history.createHref(location);
61776
- return React__default.createElement("a", _extends$2({}, props, { onClick: this.handleClick, href: href, ref: innerRef }));
61777
- };
61778
-
61779
- return Link;
61780
- }(React__default.Component);
61781
-
61782
- Link.propTypes = {
61783
- onClick: propTypes.func,
61784
- target: propTypes.string,
61785
- replace: propTypes.bool,
61786
- to: propTypes.oneOfType([propTypes.string, propTypes.object]).isRequired,
61787
- innerRef: propTypes.oneOfType([propTypes.string, propTypes.func])
61788
- };
61789
- Link.defaultProps = {
61790
- replace: false
61791
- };
61792
- Link.contextTypes = {
61793
- router: propTypes.shape({
61794
- history: propTypes.shape({
61795
- push: propTypes.func.isRequired,
61796
- replace: propTypes.func.isRequired,
61797
- createHref: propTypes.func.isRequired
61798
- }).isRequired
61799
- }).isRequired
61800
- };
61801
-
61802
61557
  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); }
61803
61558
  var globalCssModule;
61804
61559
  function mapToCssModules() {
@@ -61941,11 +61696,11 @@ function getTarget(target, allElements) {
61941
61696
  }
61942
61697
 
61943
61698
  var _excluded$8 = ["className", "cssModule", "variant", "innerRef"];
61944
- function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
61699
+ function _extends$2() { _extends$2 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$2.apply(this, arguments); }
61945
61700
  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; }
61946
61701
  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; }
61947
61702
  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; }
61948
- function _objectWithoutProperties$1(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$9(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
61703
+ function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$9(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
61949
61704
  function _objectWithoutPropertiesLoose$9(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
61950
61705
  var propTypes$2 = {
61951
61706
  /** Disable the button if needed */
@@ -61964,9 +61719,9 @@ function CloseButton$1(props) {
61964
61719
  var className = props.className,
61965
61720
  variant = props.variant,
61966
61721
  innerRef = props.innerRef,
61967
- attributes = _objectWithoutProperties$1(props, _excluded$8);
61722
+ attributes = _objectWithoutProperties(props, _excluded$8);
61968
61723
  var classes = mapToCssModules(classnames(className, 'btn-close', variant && "btn-close-".concat(variant)));
61969
- return /*#__PURE__*/React__default.createElement("button", _extends$3({
61724
+ return /*#__PURE__*/React__default.createElement("button", _extends$2({
61970
61725
  ref: innerRef,
61971
61726
  type: "button",
61972
61727
  className: classes
@@ -61977,8 +61732,8 @@ function CloseButton$1(props) {
61977
61732
  CloseButton$1.propTypes = propTypes$2;
61978
61733
 
61979
61734
  var _excluded$9 = ["active", "aria-label", "block", "className", "close", "cssModule", "color", "outline", "size", "tag", "innerRef"];
61980
- function _extends$4() { _extends$4 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
61981
- function _objectWithoutProperties$2(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$a(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
61735
+ function _extends$3() { _extends$3 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$3.apply(this, arguments); }
61736
+ function _objectWithoutProperties$1(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$a(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
61982
61737
  function _objectWithoutPropertiesLoose$a(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
61983
61738
  var propTypes$3 = {
61984
61739
  /** Manually set the visual state of the button to active */
@@ -62031,7 +61786,7 @@ function Button$3(props) {
62031
61786
  _props$tag = props.tag,
62032
61787
  Tag = _props$tag === void 0 ? 'button' : _props$tag,
62033
61788
  innerRef = props.innerRef,
62034
- attributes = _objectWithoutProperties$2(props, _excluded$9);
61789
+ attributes = _objectWithoutProperties$1(props, _excluded$9);
62035
61790
  if (close) {
62036
61791
  return /*#__PURE__*/React__default.createElement(CloseButton$1, attributes);
62037
61792
  }
@@ -62043,7 +61798,7 @@ function Button$3(props) {
62043
61798
  if (attributes.href && Tag === 'button') {
62044
61799
  Tag = 'a';
62045
61800
  }
62046
- return /*#__PURE__*/React__default.createElement(Tag, _extends$4({
61801
+ return /*#__PURE__*/React__default.createElement(Tag, _extends$3({
62047
61802
  type: Tag === 'button' && attributes.onClick ? 'button' : undefined
62048
61803
  }, attributes, {
62049
61804
  className: classes,
@@ -62570,17 +62325,17 @@ var InputGroupContext = /*#__PURE__*/React__default.createContext({});
62570
62325
 
62571
62326
  function _typeof$1(obj) { "@babel/helpers - typeof"; return _typeof$1 = "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$1(obj); }
62572
62327
  var _excluded$a = ["className", "cssModule", "direction", "isOpen", "group", "size", "nav", "setActiveFromChild", "active", "tag", "menuRole"];
62573
- function _extends$5() { _extends$5 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
62328
+ function _extends$4() { _extends$4 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$4.apply(this, arguments); }
62574
62329
  function _defineProperty$1(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; }
62575
- function _objectWithoutProperties$3(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$b(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
62330
+ function _objectWithoutProperties$2(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$b(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
62576
62331
  function _objectWithoutPropertiesLoose$b(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
62577
- function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
62332
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
62578
62333
  function _defineProperties$1(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); } }
62579
62334
  function _createClass$1(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$1(Constructor.prototype, protoProps); if (staticProps) _defineProperties$1(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
62580
- function _inherits$1(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$1(subClass, superClass); }
62335
+ 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$1(subClass, superClass); }
62581
62336
  function _setPrototypeOf$1(o, p) { _setPrototypeOf$1 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$1(o, p); }
62582
- 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$1(this, result); }; }
62583
- function _possibleConstructorReturn$1(self, call) { if (call && (_typeof$1(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); }
62337
+ 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); }; }
62338
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof$1(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); }
62584
62339
  function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
62585
62340
  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; } }
62586
62341
  function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
@@ -62614,11 +62369,11 @@ var defaultProps$1 = {
62614
62369
  };
62615
62370
  var preventDefaultKeys = [keyCodes.space, keyCodes.enter, keyCodes.up, keyCodes.down, keyCodes.end, keyCodes.home];
62616
62371
  var Dropdown$2 = /*#__PURE__*/function (_React$Component) {
62617
- _inherits$1(Dropdown, _React$Component);
62372
+ _inherits(Dropdown, _React$Component);
62618
62373
  var _super = _createSuper(Dropdown);
62619
62374
  function Dropdown(props) {
62620
62375
  var _this;
62621
- _classCallCheck$1(this, Dropdown);
62376
+ _classCallCheck(this, Dropdown);
62622
62377
  _this = _super.call(this, props);
62623
62378
  _this.addEvents = _this.addEvents.bind(_assertThisInitialized(_this));
62624
62379
  _this.handleDocumentClick = _this.handleDocumentClick.bind(_assertThisInitialized(_this));
@@ -62853,7 +62608,7 @@ var Dropdown$2 = /*#__PURE__*/function (_React$Component) {
62853
62608
  setActiveFromChild = _omit.setActiveFromChild,
62854
62609
  active = _omit.active,
62855
62610
  tag = _omit.tag,
62856
- attrs = _objectWithoutProperties$3(_omit, _excluded$a);
62611
+ attrs = _objectWithoutProperties$2(_omit, _excluded$a);
62857
62612
  var Tag = tag || (nav ? 'li' : 'div');
62858
62613
  var subItemIsActive = false;
62859
62614
  if (setActiveFromChild) {
@@ -62875,7 +62630,7 @@ var Dropdown$2 = /*#__PURE__*/function (_React$Component) {
62875
62630
  }
62876
62631
  return /*#__PURE__*/React__default.createElement(DropdownContext$2.Provider, {
62877
62632
  value: this.getContextValue()
62878
- }, /*#__PURE__*/React__default.createElement(Manager, null, /*#__PURE__*/React__default.createElement(Tag, _extends$5({}, attrs, _defineProperty$1({}, typeof Tag === 'string' ? 'ref' : 'innerRef', this.containerRef), {
62633
+ }, /*#__PURE__*/React__default.createElement(Manager, null, /*#__PURE__*/React__default.createElement(Tag, _extends$4({}, attrs, _defineProperty$1({}, typeof Tag === 'string' ? 'ref' : 'innerRef', this.containerRef), {
62879
62634
  onKeyDown: this.handleKeyDown,
62880
62635
  className: classes
62881
62636
  }))));
@@ -62889,16 +62644,16 @@ Dropdown$2.contextType = InputGroupContext;
62889
62644
 
62890
62645
  function _typeof$2(obj) { "@babel/helpers - typeof"; return _typeof$2 = "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$2(obj); }
62891
62646
  var _excluded$b = ["className", "cssModule", "divider", "tag", "header", "active", "text"];
62892
- function _extends$6() { _extends$6 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
62893
- function _objectWithoutProperties$4(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$c(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
62647
+ function _extends$5() { _extends$5 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$5.apply(this, arguments); }
62648
+ function _objectWithoutProperties$3(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$c(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
62894
62649
  function _objectWithoutPropertiesLoose$c(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
62895
- function _classCallCheck$2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
62650
+ function _classCallCheck$1(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
62896
62651
  function _defineProperties$2(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); } }
62897
62652
  function _createClass$2(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$2(Constructor.prototype, protoProps); if (staticProps) _defineProperties$2(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
62898
- function _inherits$2(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$2(subClass, superClass); }
62653
+ function _inherits$1(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$2(subClass, superClass); }
62899
62654
  function _setPrototypeOf$2(o, p) { _setPrototypeOf$2 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$2(o, p); }
62900
- function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf$1(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$1(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$2(this, result); }; }
62901
- function _possibleConstructorReturn$2(self, call) { if (call && (_typeof$2(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$1(self); }
62655
+ function _createSuper$1(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$1(); return function _createSuperInternal() { var Super = _getPrototypeOf$1(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$1(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$1(this, result); }; }
62656
+ function _possibleConstructorReturn$1(self, call) { if (call && (_typeof$2(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$1(self); }
62902
62657
  function _assertThisInitialized$1(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
62903
62658
  function _isNativeReflectConstruct$1() { 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; } }
62904
62659
  function _getPrototypeOf$1(o) { _getPrototypeOf$1 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$1(o); }
@@ -62916,11 +62671,11 @@ var propTypes$5 = {
62916
62671
  text: propTypes.bool
62917
62672
  };
62918
62673
  var DropdownItem$2 = /*#__PURE__*/function (_React$Component) {
62919
- _inherits$2(DropdownItem, _React$Component);
62674
+ _inherits$1(DropdownItem, _React$Component);
62920
62675
  var _super = _createSuper$1(DropdownItem);
62921
62676
  function DropdownItem(props) {
62922
62677
  var _this;
62923
- _classCallCheck$2(this, DropdownItem);
62678
+ _classCallCheck$1(this, DropdownItem);
62924
62679
  _this = _super.call(this, props);
62925
62680
  _this.onClick = _this.onClick.bind(_assertThisInitialized$1(_this));
62926
62681
  _this.getTabIndex = _this.getTabIndex.bind(_assertThisInitialized$1(_this));
@@ -62981,7 +62736,7 @@ var DropdownItem$2 = /*#__PURE__*/function (_React$Component) {
62981
62736
  header = _omit.header,
62982
62737
  active = _omit.active,
62983
62738
  text = _omit.text,
62984
- props = _objectWithoutProperties$4(_omit, _excluded$b);
62739
+ props = _objectWithoutProperties$3(_omit, _excluded$b);
62985
62740
  var classes = mapToCssModules(classnames(className, {
62986
62741
  disabled: props.disabled,
62987
62742
  'dropdown-item': !divider && !header && !text,
@@ -63001,7 +62756,7 @@ var DropdownItem$2 = /*#__PURE__*/function (_React$Component) {
63001
62756
  Tag = 'span';
63002
62757
  }
63003
62758
  }
63004
- return /*#__PURE__*/React__default.createElement(Tag, _extends$6({
62759
+ return /*#__PURE__*/React__default.createElement(Tag, _extends$5({
63005
62760
  type: Tag === 'button' && (props.onClick || this.props.toggle) ? 'button' : undefined
63006
62761
  }, props, {
63007
62762
  tabIndex: tabIndex,
@@ -63018,7 +62773,7 @@ DropdownItem$2.contextType = DropdownContext$2;
63018
62773
 
63019
62774
  function _typeof$3(obj) { "@babel/helpers - typeof"; return _typeof$3 = "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$3(obj); }
63020
62775
  var _excluded$c = ["className", "cssModule", "dark", "end", "right", "tag", "flip", "modifiers", "persist", "strategy", "container", "updateOnSelect"];
63021
- function _extends$7() { _extends$7 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
62776
+ function _extends$6() { _extends$6 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$6.apply(this, arguments); }
63022
62777
  function ownKeys$1(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; }
63023
62778
  function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty$2(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
63024
62779
  function _defineProperty$2(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; }
@@ -63028,15 +62783,15 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
63028
62783
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
63029
62784
  function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
63030
62785
  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; }
63031
- function _objectWithoutProperties$5(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$d(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
62786
+ function _objectWithoutProperties$4(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$d(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
63032
62787
  function _objectWithoutPropertiesLoose$d(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
63033
- function _classCallCheck$3(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
62788
+ function _classCallCheck$2(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
63034
62789
  function _defineProperties$3(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); } }
63035
62790
  function _createClass$3(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$3(Constructor.prototype, protoProps); if (staticProps) _defineProperties$3(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
63036
- function _inherits$3(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$3(subClass, superClass); }
62791
+ function _inherits$2(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$3(subClass, superClass); }
63037
62792
  function _setPrototypeOf$3(o, p) { _setPrototypeOf$3 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$3(o, p); }
63038
- function _createSuper$2(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$2(); return function _createSuperInternal() { var Super = _getPrototypeOf$2(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$2(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$3(this, result); }; }
63039
- function _possibleConstructorReturn$3(self, call) { if (call && (_typeof$3(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$2(self); }
62793
+ function _createSuper$2(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$2(); return function _createSuperInternal() { var Super = _getPrototypeOf$2(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$2(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$2(this, result); }; }
62794
+ function _possibleConstructorReturn$2(self, call) { if (call && (_typeof$3(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$2(self); }
63040
62795
  function _assertThisInitialized$2(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
63041
62796
  function _isNativeReflectConstruct$2() { 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; } }
63042
62797
  function _getPrototypeOf$2(o) { _getPrototypeOf$2 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$2(o); }
@@ -63067,10 +62822,10 @@ var directionPositionMap = {
63067
62822
  down: 'bottom'
63068
62823
  };
63069
62824
  var DropdownMenu$2 = /*#__PURE__*/function (_React$Component) {
63070
- _inherits$3(DropdownMenu, _React$Component);
62825
+ _inherits$2(DropdownMenu, _React$Component);
63071
62826
  var _super = _createSuper$2(DropdownMenu);
63072
62827
  function DropdownMenu() {
63073
- _classCallCheck$3(this, DropdownMenu);
62828
+ _classCallCheck$2(this, DropdownMenu);
63074
62829
  return _super.apply(this, arguments);
63075
62830
  }
63076
62831
  _createClass$3(DropdownMenu, [{
@@ -63101,7 +62856,7 @@ var DropdownMenu$2 = /*#__PURE__*/function (_React$Component) {
63101
62856
  strategy = _this$props.strategy,
63102
62857
  container = _this$props.container,
63103
62858
  updateOnSelect = _this$props.updateOnSelect,
63104
- attrs = _objectWithoutProperties$5(_this$props, _excluded$c);
62859
+ attrs = _objectWithoutProperties$4(_this$props, _excluded$c);
63105
62860
  var classes = mapToCssModules(classnames(className, 'dropdown-menu', {
63106
62861
  'dropdown-menu-dark': dark,
63107
62862
  'dropdown-menu-end': end || right,
@@ -63134,7 +62889,7 @@ var DropdownMenu$2 = /*#__PURE__*/function (_React$Component) {
63134
62889
  var onMenuRef = _this.context.onMenuRef;
63135
62890
  if (onMenuRef) onMenuRef(tagRef);
63136
62891
  };
63137
- return /*#__PURE__*/React__default.createElement(Tag, _extends$7({
62892
+ return /*#__PURE__*/React__default.createElement(Tag, _extends$6({
63138
62893
  tabIndex: "-1",
63139
62894
  role: _this.getRole(),
63140
62895
  ref: handleRef
@@ -63154,7 +62909,7 @@ var DropdownMenu$2 = /*#__PURE__*/function (_React$Component) {
63154
62909
  return popper;
63155
62910
  }
63156
62911
  var onMenuRef = this.context.onMenuRef;
63157
- return /*#__PURE__*/React__default.createElement(Tag, _extends$7({
62912
+ return /*#__PURE__*/React__default.createElement(Tag, _extends$6({
63158
62913
  tabIndex: "-1",
63159
62914
  role: this.getRole()
63160
62915
  }, attrs, {
@@ -63173,16 +62928,16 @@ DropdownMenu$2.contextType = DropdownContext$2;
63173
62928
  function _typeof$4(obj) { "@babel/helpers - typeof"; return _typeof$4 = "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$4(obj); }
63174
62929
  var _excluded$d = ["className", "color", "cssModule", "caret", "split", "nav", "tag", "innerRef"];
63175
62930
  function _defineProperty$3(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; }
63176
- function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
63177
- function _objectWithoutProperties$6(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$e(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
62931
+ function _extends$7() { _extends$7 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$7.apply(this, arguments); }
62932
+ function _objectWithoutProperties$5(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose$e(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
63178
62933
  function _objectWithoutPropertiesLoose$e(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
63179
- function _classCallCheck$4(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
62934
+ function _classCallCheck$3(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
63180
62935
  function _defineProperties$4(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); } }
63181
62936
  function _createClass$4(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$4(Constructor.prototype, protoProps); if (staticProps) _defineProperties$4(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
63182
- function _inherits$4(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$4(subClass, superClass); }
62937
+ function _inherits$3(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$4(subClass, superClass); }
63183
62938
  function _setPrototypeOf$4(o, p) { _setPrototypeOf$4 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$4(o, p); }
63184
- function _createSuper$3(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$3(); return function _createSuperInternal() { var Super = _getPrototypeOf$3(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$3(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$4(this, result); }; }
63185
- function _possibleConstructorReturn$4(self, call) { if (call && (_typeof$4(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$3(self); }
62939
+ function _createSuper$3(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$3(); return function _createSuperInternal() { var Super = _getPrototypeOf$3(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$3(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$3(this, result); }; }
62940
+ function _possibleConstructorReturn$3(self, call) { if (call && (_typeof$4(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$3(self); }
63186
62941
  function _assertThisInitialized$3(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
63187
62942
  function _isNativeReflectConstruct$3() { 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; } }
63188
62943
  function _getPrototypeOf$3(o) { _getPrototypeOf$3 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$3(o); }
@@ -63205,11 +62960,11 @@ var defaultProps$2 = {
63205
62960
  'aria-haspopup': true
63206
62961
  };
63207
62962
  var DropdownToggle$2 = /*#__PURE__*/function (_React$Component) {
63208
- _inherits$4(DropdownToggle, _React$Component);
62963
+ _inherits$3(DropdownToggle, _React$Component);
63209
62964
  var _super = _createSuper$3(DropdownToggle);
63210
62965
  function DropdownToggle(props) {
63211
62966
  var _this;
63212
- _classCallCheck$4(this, DropdownToggle);
62967
+ _classCallCheck$3(this, DropdownToggle);
63213
62968
  _this = _super.call(this, props);
63214
62969
  _this.onClick = _this.onClick.bind(_assertThisInitialized$3(_this));
63215
62970
  return _this;
@@ -63247,7 +63002,7 @@ var DropdownToggle$2 = /*#__PURE__*/function (_React$Component) {
63247
63002
  nav = _this$props.nav,
63248
63003
  tag = _this$props.tag,
63249
63004
  innerRef = _this$props.innerRef,
63250
- props = _objectWithoutProperties$6(_this$props, _excluded$d);
63005
+ props = _objectWithoutProperties$5(_this$props, _excluded$d);
63251
63006
  var ariaLabel = props['aria-label'] || 'Toggle Dropdown';
63252
63007
  var classes = mapToCssModules(classnames(className, {
63253
63008
  'dropdown-toggle': caret || split,
@@ -63269,7 +63024,7 @@ var DropdownToggle$2 = /*#__PURE__*/function (_React$Component) {
63269
63024
  Tag = tag;
63270
63025
  }
63271
63026
  if (this.context.inNavbar) {
63272
- return /*#__PURE__*/React__default.createElement(Tag, _extends$8({}, props, {
63027
+ return /*#__PURE__*/React__default.createElement(Tag, _extends$7({}, props, {
63273
63028
  className: classes,
63274
63029
  onClick: this.onClick,
63275
63030
  ref: this.context.onToggleRef,
@@ -63287,7 +63042,7 @@ var DropdownToggle$2 = /*#__PURE__*/function (_React$Component) {
63287
63042
  var onToggleRef = _this2.context.onToggleRef;
63288
63043
  if (onToggleRef) onToggleRef(tagRef);
63289
63044
  };
63290
- return /*#__PURE__*/React__default.createElement(Tag, _extends$8({}, props, _defineProperty$3({}, typeof Tag === 'string' ? 'ref' : 'innerRef', handleRef), {
63045
+ return /*#__PURE__*/React__default.createElement(Tag, _extends$7({}, props, _defineProperty$3({}, typeof Tag === 'string' ? 'ref' : 'innerRef', handleRef), {
63291
63046
  className: classes,
63292
63047
  onClick: _this2.onClick,
63293
63048
  "aria-expanded": _this2.context.isOpen,
@@ -63307,24 +63062,24 @@ function _typeof$5(obj) { "@babel/helpers - typeof"; return _typeof$5 = "functio
63307
63062
  function ownKeys$2(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; }
63308
63063
  function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty$4(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
63309
63064
  function _defineProperty$4(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; }
63310
- function _extends$9() { _extends$9 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
63311
- function _classCallCheck$5(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
63065
+ function _extends$8() { _extends$8 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$8.apply(this, arguments); }
63066
+ function _classCallCheck$4(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
63312
63067
  function _defineProperties$5(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); } }
63313
63068
  function _createClass$5(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties$5(Constructor.prototype, protoProps); if (staticProps) _defineProperties$5(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
63314
- function _inherits$5(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$5(subClass, superClass); }
63069
+ function _inherits$4(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$5(subClass, superClass); }
63315
63070
  function _setPrototypeOf$5(o, p) { _setPrototypeOf$5 = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf$5(o, p); }
63316
- function _createSuper$4(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$4(); return function _createSuperInternal() { var Super = _getPrototypeOf$4(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$4(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$5(this, result); }; }
63317
- function _possibleConstructorReturn$5(self, call) { if (call && (_typeof$5(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$4(self); }
63071
+ function _createSuper$4(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct$4(); return function _createSuperInternal() { var Super = _getPrototypeOf$4(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf$4(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn$4(this, result); }; }
63072
+ function _possibleConstructorReturn$4(self, call) { if (call && (_typeof$5(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$4(self); }
63318
63073
  function _assertThisInitialized$4(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
63319
63074
  function _isNativeReflectConstruct$4() { 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; } }
63320
63075
  function _getPrototypeOf$4(o) { _getPrototypeOf$4 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf$4(o); }
63321
63076
  var omitKeys = ['defaultOpen'];
63322
63077
  var UncontrolledDropdown = /*#__PURE__*/function (_Component) {
63323
- _inherits$5(UncontrolledDropdown, _Component);
63078
+ _inherits$4(UncontrolledDropdown, _Component);
63324
63079
  var _super = _createSuper$4(UncontrolledDropdown);
63325
63080
  function UncontrolledDropdown(props) {
63326
63081
  var _this;
63327
- _classCallCheck$5(this, UncontrolledDropdown);
63082
+ _classCallCheck$4(this, UncontrolledDropdown);
63328
63083
  _this = _super.call(this, props);
63329
63084
  _this.state = {
63330
63085
  isOpen: props.defaultOpen || false
@@ -63349,7 +63104,7 @@ var UncontrolledDropdown = /*#__PURE__*/function (_Component) {
63349
63104
  }, {
63350
63105
  key: "render",
63351
63106
  value: function render() {
63352
- return /*#__PURE__*/React__default.createElement(Dropdown$2, _extends$9({
63107
+ return /*#__PURE__*/React__default.createElement(Dropdown$2, _extends$8({
63353
63108
  isOpen: this.state.isOpen,
63354
63109
  toggle: this.toggle
63355
63110
  }, omit(this.props, omitKeys)));
@@ -63365,16 +63120,26 @@ UncontrolledDropdown.propTypes = _objectSpread$2({
63365
63120
  var styles$t = {"vitro-command-menu-dropdown-button":"_command-menu-dropdown-button_vitro-command-menu-dropdown-button_2ImIuc3","vitro-dropdown-button-container":"_command-menu-dropdown-button_vitro-dropdown-button-container_29qd-_O","vitro-icon":"_command-menu-dropdown-button_vitro-icon_36InzPx","vitro-button-collapse-bottom":"_command-menu-dropdown-button_vitro-button-collapse-bottom_1OS_X_a"};
63366
63121
 
63367
63122
  var CommandMenuSubItem = function CommandMenuSubItem(props) {
63123
+ var onClick = function onClick(e) {
63124
+ if (props.onClick) {
63125
+ props.onClick(e);
63126
+ } else if (props.href) {
63127
+ var event = new CustomEvent(EVENT.HISTORY_UPDATE, {
63128
+ detail: {
63129
+ pathname: props.href
63130
+ }
63131
+ });
63132
+ window.dispatchEvent(event);
63133
+ }
63134
+ };
63368
63135
  return React__default.createElement(DropdownItem$2, {
63369
- onClick: props.onClick,
63136
+ onClick: onClick,
63370
63137
  toggle: props.toggle === false ? false : true
63371
63138
  }, props.imageUrl && React__default.createElement(Icon, {
63372
63139
  defaultUrl: props.imageUrl,
63373
63140
  hoverUrl: props.imageHoverUrl,
63374
63141
  className: styles$t['vitro-icon']
63375
- }), props.href ? React__default.createElement(Link, {
63376
- to: props.href
63377
- }, props.text) : React__default.createElement("span", null, props.text));
63142
+ }), React__default.createElement("span", null, props.text));
63378
63143
  };
63379
63144
 
63380
63145
  var CommandMenuItemHeader = function CommandMenuItemHeader(props) {
@@ -63448,6 +63213,16 @@ var LinkItem$1 = function LinkItem(props) {
63448
63213
  setIsHover = _useState[1];
63449
63214
  var isActive = props.link === props.currentUrl || props.activeItem === props.id;
63450
63215
  var className = isActive ? styles$u['vitro-active'] : isHover ? styles$u['vitro-hover'] : CTRL.EMPTY;
63216
+ var onClick = function onClick(e) {
63217
+ if (props.link) {
63218
+ var event = new CustomEvent(EVENT.HISTORY_UPDATE, {
63219
+ detail: {
63220
+ pathname: props.link
63221
+ }
63222
+ });
63223
+ window.dispatchEvent(event);
63224
+ }
63225
+ };
63451
63226
  return React__default.createElement("li", {
63452
63227
  onMouseEnter: function onMouseEnter() {
63453
63228
  return setIsHover(true);
@@ -63459,8 +63234,8 @@ var LinkItem$1 = function LinkItem(props) {
63459
63234
  width: props.linkItemWidth ? props.linkItemWidth + PX_UNIT$3 : WIDTH_AUTO
63460
63235
  },
63461
63236
  className: styles$u['vitro-item']
63462
- }, props.link && React__default.createElement(Link, {
63463
- to: props.link,
63237
+ }, props.link && React__default.createElement("a", {
63238
+ onClick: onClick,
63464
63239
  className: className
63465
63240
  }, React__default.createElement(Item$1, Object.assign({}, props, {
63466
63241
  isHover: isHover || isActive
@@ -63509,7 +63284,7 @@ var SectionList = forwardRef(function (props, ref) {
63509
63284
  var styles$v = {"vitro-sidebar":"_sidebar_vitro-sidebar_1IxGYiU","vitro-scroll-container":"_sidebar_vitro-scroll-container_3K-iJy8","vitro-button-more":"_sidebar_vitro-button-more_3s9oZY9"};
63510
63285
 
63511
63286
  var Sidebar = function Sidebar(props) {
63512
- var _useState = useState(props.history.location.pathname),
63287
+ var _useState = useState(window.location.pathname),
63513
63288
  currentUrl = _useState[0],
63514
63289
  setCurrentUrl = _useState[1];
63515
63290
  var _useState2 = useState([]),
@@ -63526,9 +63301,9 @@ var Sidebar = function Sidebar(props) {
63526
63301
  setLinkItemWidth = _useState5[1];
63527
63302
  var menuRef = useRef(null);
63528
63303
  var scrollableListRef = useRef(null);
63529
- props.history.listen(function (location) {
63530
- setCurrentUrl(location.pathname);
63531
- });
63304
+ var handleHistoryChanged = function handleHistoryChanged(e) {
63305
+ setCurrentUrl(e.detail.pathname);
63306
+ };
63532
63307
  useEffect(function () {
63533
63308
  if (props.sidebar === 1 && props.overflowItemList && props.overflowItemList.length > 0) {
63534
63309
  setItemList([].concat(props.topItemList, props.overflowItemList));
@@ -63541,9 +63316,11 @@ var Sidebar = function Sidebar(props) {
63541
63316
  }, [props.sidebar, isMobileView]);
63542
63317
  useEffect(function () {
63543
63318
  window.addEventListener(EVENT.RESIZE, handleResize);
63319
+ window.addEventListener(EVENT.HISTORY_CHANGED, handleHistoryChanged);
63544
63320
  handleResize();
63545
63321
  return function () {
63546
63322
  window.removeEventListener(EVENT.RESIZE, handleResize);
63323
+ window.removeEventListener(EVENT.HISTORY_CHANGED, handleHistoryChanged);
63547
63324
  };
63548
63325
  }, []);
63549
63326
  useEffect(function () {
@@ -63831,8 +63608,8 @@ var UserProfileMenuItem = function UserProfileMenuItem(props) {
63831
63608
  return React__default.createElement("div", {
63832
63609
  className: styles$C['vitro-dropdown-item'],
63833
63610
  onClick: onClick
63834
- }, React__default.createElement(Link, {
63835
- to: props.link
63611
+ }, React__default.createElement("a", {
63612
+ href: props.link
63836
63613
  }, props.imageUrl && React__default.createElement(Icon, {
63837
63614
  defaultUrl: props.imageUrl,
63838
63615
  hoverUrl: props.hoverImageUrl
@@ -63943,5 +63720,5 @@ var ActivityItem = function ActivityItem(props) {
63943
63720
  })));
63944
63721
  };
63945
63722
 
63946
- export { ActionHandlerConstants as ACTION_HANDLER, AlertConstants as ALERT, ActionHandler, Activity, ActivityItem, Alert$1 as Alert, Avatar, Breadcrumbs, Button$2 as Button, Checkbox, CommandMenu, CommandMenuButton, CommandMenuDropdownButton, CommandMenuLookupPicker, CommandMenuSubItem, ComponentLoader, ComponentLoaderContextImpl, ControlGroup, DatePicker, Dialog, DialogContent, DialogFooter, DropdownButton, Icon, Input, IssueTile, Label, Login, LookupPicker, MicroFrontend, PdfViewer, Sidebar, TableViewConstants as TABLE_VIEW, TreeViewConstants as TREE_VIEW, TabGroup, TableView, TaskTile, TelerikUploader, TelerikUploaderContextImpl, TimePicker, TopLevelMenu, TreeView, UserLookupPicker, UserProfile, View, commonEn, commonRu };
63723
+ export { ActionHandlerConstants as ACTION_HANDLER, AlertConstants as ALERT, ActionHandler, Activity, ActivityItem, Alert$1 as Alert, Avatar, Breadcrumbs, Button$2 as Button, Checkbox, CommandMenu, CommandMenuButton, CommandMenuDropdownButton, CommandMenuLookupPicker, CommandMenuSubItem, ComponentLoader, ComponentLoaderContextImpl, ControlGroup, DatePicker, Dialog, DialogContent, DialogFooter, DropdownButton, EVENT, Icon, Input, IssueTile, Label, Login, LookupPicker, MicroFrontend, PdfViewer, Sidebar, TableViewConstants as TABLE_VIEW, TreeViewConstants as TREE_VIEW, TabGroup, TableView, TaskTile, TelerikUploader, TelerikUploaderContextImpl, TimePicker, TopLevelMenu, TreeView, UserLookupPicker, UserProfile, View, commonEn, commonRu };
63947
63724
  //# sourceMappingURL=index.modern.js.map