@jetbrains/ring-ui-built 6.0.27 → 6.0.29

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.
Files changed (204) hide show
  1. package/components/_helpers/_rollupPluginBabelHelpers.js +4 -15
  2. package/components/_helpers/anchor.js +1 -1
  3. package/components/_helpers/caption.js +4 -6
  4. package/components/_helpers/card.js +5 -7
  5. package/components/_helpers/icon__svg.js +1 -1
  6. package/components/_helpers/input.js +12 -14
  7. package/components/_helpers/query-assist__suggestions.js +2 -3
  8. package/components/_helpers/select__filter.js +6 -8
  9. package/components/_helpers/services-link.js +4 -6
  10. package/components/_helpers/sidebar.js +9 -11
  11. package/components/_helpers/tab-link.js +1 -1
  12. package/components/_helpers/theme.js +1 -1
  13. package/components/_helpers/title.js +7 -9
  14. package/components/alert/alert.js +17 -19
  15. package/components/alert/container.js +4 -6
  16. package/components/alert-service/alert-service.js +9 -10
  17. package/components/analytics/analytics.js +2 -3
  18. package/components/analytics/analytics__custom-plugin.js +2 -3
  19. package/components/auth/auth.js +9 -8
  20. package/components/auth/auth__core.js +16 -16
  21. package/components/auth/background-flow.js +4 -5
  22. package/components/auth/down-notification.js +7 -7
  23. package/components/auth/iframe-flow.js +7 -8
  24. package/components/auth/request-builder.js +3 -4
  25. package/components/auth/response-parser.js +10 -12
  26. package/components/auth/storage.js +10 -11
  27. package/components/auth/token-validator.js +12 -14
  28. package/components/auth/window-flow.js +4 -5
  29. package/components/auth-dialog/auth-dialog.js +13 -15
  30. package/components/auth-dialog-service/auth-dialog-service.js +7 -7
  31. package/components/avatar/avatar.js +14 -16
  32. package/components/avatar/fallback-avatar.js +5 -5
  33. package/components/badge/badge.js +6 -8
  34. package/components/button/button.js +7 -9
  35. package/components/button-group/button-group.js +6 -8
  36. package/components/button-set/button-set.js +6 -8
  37. package/components/button-toolbar/button-toolbar.js +6 -8
  38. package/components/caret/caret.js +7 -8
  39. package/components/checkbox/checkbox.js +7 -9
  40. package/components/clipboard/clipboard.js +8 -8
  41. package/components/code/code.js +12 -14
  42. package/components/collapse/collapse-content.js +7 -7
  43. package/components/collapse/collapse-control.js +2 -2
  44. package/components/collapse/collapse.js +1 -1
  45. package/components/confirm/confirm.js +11 -13
  46. package/components/confirm-service/confirm-service.js +6 -6
  47. package/components/content-layout/content-layout.js +7 -9
  48. package/components/contenteditable/contenteditable.js +4 -6
  49. package/components/control-label/control-label.js +1 -1
  50. package/components/data-list/data-list.js +19 -23
  51. package/components/data-list/data-list.mock.js +2 -2
  52. package/components/data-list/item.js +12 -14
  53. package/components/data-list/selection.js +10 -12
  54. package/components/data-list/title.js +1 -1
  55. package/components/date-picker/consts.js +2 -2
  56. package/components/date-picker/date-input.js +12 -14
  57. package/components/date-picker/date-picker.js +19 -21
  58. package/components/date-picker/date-popup.js +23 -25
  59. package/components/date-picker/day.js +14 -16
  60. package/components/date-picker/month-names.js +7 -9
  61. package/components/date-picker/month-slider.js +10 -12
  62. package/components/date-picker/month.js +5 -5
  63. package/components/date-picker/months.js +4 -4
  64. package/components/date-picker/weekdays.js +3 -3
  65. package/components/date-picker/years.js +12 -14
  66. package/components/dialog/dialog.js +18 -20
  67. package/components/dropdown/anchor.js +1 -1
  68. package/components/dropdown/dropdown.js +13 -15
  69. package/components/dropdown-menu/dropdown-menu.js +10 -10
  70. package/components/editable-heading/editable-heading.js +5 -5
  71. package/components/error-bubble/error-bubble.js +11 -13
  72. package/components/error-message/error-message.js +6 -8
  73. package/components/footer/footer.js +2 -2
  74. package/components/global/create-stateful-context.js +1 -1
  75. package/components/global/data-tests.js +3 -3
  76. package/components/global/dom.js +7 -8
  77. package/components/global/focus-sensor-hoc.js +15 -17
  78. package/components/global/fuzzy-highlight.js +2 -2
  79. package/components/global/get-uid.js +1 -1
  80. package/components/global/inject-styles.js +1 -1
  81. package/components/global/listeners.js +4 -5
  82. package/components/global/memoize.js +1 -1
  83. package/components/global/normalize-indent.js +5 -5
  84. package/components/global/react-dom-renderer.js +7 -9
  85. package/components/global/rerender-hoc.js +5 -7
  86. package/components/global/theme.js +7 -7
  87. package/components/global/trivial-template-tag.js +2 -2
  88. package/components/global/url.js +1 -1
  89. package/components/grid/col.js +7 -9
  90. package/components/grid/grid.js +6 -8
  91. package/components/grid/row.js +5 -7
  92. package/components/group/group.js +4 -6
  93. package/components/header/header.js +13 -14
  94. package/components/header/logo.js +5 -7
  95. package/components/header/profile.js +12 -14
  96. package/components/header/services-link.js +2 -2
  97. package/components/header/services.js +12 -14
  98. package/components/header/smart-profile.js +17 -18
  99. package/components/header/smart-services.js +16 -17
  100. package/components/header/tray-icon.js +5 -7
  101. package/components/header/tray.js +4 -6
  102. package/components/heading/heading.js +1 -1
  103. package/components/http/http.js +11 -13
  104. package/components/http/http.mock.js +15 -17
  105. package/components/hub-source/hub-source.js +4 -5
  106. package/components/hub-source/hub-source__user.js +6 -6
  107. package/components/hub-source/hub-source__users-groups.js +4 -5
  108. package/components/i18n/i18n.js +1 -1
  109. package/components/icon/icon.js +5 -7
  110. package/components/icon/icon__svg.js +1 -1
  111. package/components/icon/index.js +1 -1
  112. package/components/input/input.js +1 -1
  113. package/components/island/adaptive-island-hoc.js +6 -8
  114. package/components/island/content.js +13 -15
  115. package/components/island/header.js +4 -6
  116. package/components/island/island.js +6 -8
  117. package/components/island-legacy/content-legacy.js +4 -6
  118. package/components/island-legacy/header-legacy.js +4 -6
  119. package/components/island-legacy/island-legacy.js +4 -6
  120. package/components/link/clickableLink.js +5 -7
  121. package/components/link/link.js +6 -8
  122. package/components/list/list.js +47 -49
  123. package/components/list/list__custom.js +6 -8
  124. package/components/list/list__hint.js +4 -6
  125. package/components/list/list__item.js +13 -15
  126. package/components/list/list__link.js +5 -7
  127. package/components/list/list__separator.js +4 -6
  128. package/components/list/list__title.js +4 -6
  129. package/components/list/list__users-groups-source.js +11 -13
  130. package/components/loader/loader.js +9 -11
  131. package/components/loader/loader__core.js +7 -9
  132. package/components/loader-inline/loader-inline.js +6 -8
  133. package/components/loader-screen/loader-screen.js +7 -9
  134. package/components/login-dialog/login-dialog.js +12 -14
  135. package/components/login-dialog/service.js +7 -7
  136. package/components/markdown/markdown.js +4 -6
  137. package/components/message/message.js +17 -19
  138. package/components/old-browsers-message/old-browsers-message.js +1 -1
  139. package/components/old-browsers-message/old-browsers-message__stop.js +1 -1
  140. package/components/old-browsers-message/white-list.js +2 -2
  141. package/components/pager/pager.js +16 -18
  142. package/components/panel/panel.js +4 -6
  143. package/components/permissions/permissions.js +4 -5
  144. package/components/permissions/permissions__cache.js +2 -3
  145. package/components/popup/popup.js +33 -35
  146. package/components/popup/popup.target.js +1 -1
  147. package/components/popup/position.js +9 -9
  148. package/components/popup-menu/popup-menu.js +14 -16
  149. package/components/progress-bar/progress-bar.js +8 -10
  150. package/components/query-assist/query-assist.js +64 -66
  151. package/components/query-assist/query-assist__suggestions.js +6 -6
  152. package/components/radio/radio.js +5 -7
  153. package/components/radio/radio__item.js +9 -11
  154. package/components/select/select.js +48 -50
  155. package/components/select/select__filter.js +6 -6
  156. package/components/select/select__popup.js +36 -38
  157. package/components/shortcuts/core.js +7 -8
  158. package/components/shortcuts/shortcuts-hoc.js +8 -10
  159. package/components/shortcuts/shortcuts.js +8 -10
  160. package/components/slider/slider.js +6 -6
  161. package/components/slider/slider.utils.js +4 -4
  162. package/components/storage/storage.js +8 -8
  163. package/components/storage/storage__fallback.js +5 -6
  164. package/components/storage/storage__local.js +9 -10
  165. package/components/style.css +1 -1
  166. package/components/tab-trap/tab-trap.js +24 -26
  167. package/components/table/cell.js +6 -8
  168. package/components/table/disable-hover-hoc.js +7 -9
  169. package/components/table/header-cell.d.ts +1 -0
  170. package/components/table/header-cell.js +8 -10
  171. package/components/table/header.d.ts +2 -1
  172. package/components/table/header.js +15 -10
  173. package/components/table/multitable.js +13 -15
  174. package/components/table/row-with-focus-sensor.js +14 -16
  175. package/components/table/row.d.ts +2 -1
  176. package/components/table/row.js +29 -23
  177. package/components/table/selection-adapter.js +1 -1
  178. package/components/table/selection-shortcuts-hoc.js +19 -21
  179. package/components/table/selection.js +4 -5
  180. package/components/table/smart-table.d.ts +2 -1
  181. package/components/table/smart-table.js +10 -12
  182. package/components/table/table.d.ts +2 -1
  183. package/components/table/table.js +29 -30
  184. package/components/tabs/collapsible-more.js +8 -8
  185. package/components/tabs/collapsible-tab.js +3 -3
  186. package/components/tabs/collapsible-tabs.js +10 -10
  187. package/components/tabs/dumb-tabs.js +11 -13
  188. package/components/tabs/smart-tabs.js +13 -15
  189. package/components/tabs/tab-link.js +2 -2
  190. package/components/tabs/tab.js +6 -8
  191. package/components/tabs/tabs.js +5 -5
  192. package/components/tag/tag.js +9 -11
  193. package/components/tags-input/tags-input.js +39 -41
  194. package/components/tags-list/tags-list.js +5 -7
  195. package/components/text/text.js +4 -6
  196. package/components/toggle/toggle.js +6 -8
  197. package/components/tooltip/tooltip.js +27 -29
  198. package/components/user-agreement/service.js +7 -7
  199. package/components/user-agreement/user-agreement.js +11 -13
  200. package/components/user-card/card.js +9 -9
  201. package/components/user-card/smart-user-card-tooltip.js +14 -16
  202. package/components/user-card/tooltip.js +11 -13
  203. package/components/user-card/user-card.js +9 -9
  204. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { a as _inherits, b as _createSuper, c as _classCallCheck, _ as _defineProperty, d as _assertThisInitialized, f as _createClass, g as _objectWithoutProperties } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { a as _inherits, b as _createClass, c as _objectWithoutProperties, f as _classCallCheck, g as _callSuper, _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/es.array.concat.js';
3
3
  import React, { PureComponent } from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -7,21 +7,19 @@ import joinDataTestAttributes from '../global/data-tests.js';
7
7
  import getEventKey from '../global/get-event-key.js';
8
8
  import { m as modules_3b67a421 } from '../_helpers/list.js';
9
9
  import 'core-js/modules/es.array.reduce.js';
10
- import 'core-js/modules/es.object.to-string.js';
11
10
  import 'core-js/modules/es.object.entries.js';
11
+ import 'core-js/modules/es.object.to-string.js';
12
12
 
13
13
  var _excluded = ["scrolling", "hover", "className", "disabled", "template", "rgItemType", "tabIndex", "onClick", "onCheckboxChange", "onMouseOver", "onMouseUp", "role", "tagName"];
14
14
  var ListCustom = /*#__PURE__*/function (_PureComponent) {
15
- _inherits(ListCustom, _PureComponent);
16
- var _super = _createSuper(ListCustom);
17
15
  function ListCustom() {
18
16
  var _this;
19
17
  _classCallCheck(this, ListCustom);
20
18
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
21
19
  args[_key] = arguments[_key];
22
20
  }
23
- _this = _super.call.apply(_super, [this].concat(args));
24
- _defineProperty(_assertThisInitialized(_this), "handleKeyPress", function (event) {
21
+ _this = _callSuper(this, ListCustom, [].concat(args));
22
+ _defineProperty(_this, "handleKeyPress", function (event) {
25
23
  var key = getEventKey(event);
26
24
  if (key === 'Enter' || key === ' ') {
27
25
  _this.props.onClick(event);
@@ -29,7 +27,8 @@ var ListCustom = /*#__PURE__*/function (_PureComponent) {
29
27
  });
30
28
  return _this;
31
29
  }
32
- _createClass(ListCustom, [{
30
+ _inherits(ListCustom, _PureComponent);
31
+ return _createClass(ListCustom, [{
33
32
  key: "render",
34
33
  value: function render() {
35
34
  var _this$props = this.props,
@@ -70,7 +69,6 @@ var ListCustom = /*#__PURE__*/function (_PureComponent) {
70
69
  }, content);
71
70
  }
72
71
  }]);
73
- return ListCustom;
74
72
  }(PureComponent);
75
73
  ListCustom.propTypes = {
76
74
  scrolling: PropTypes.bool.isRequired,
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { _ as _defineProperty, a as _inherits, b as _createClass, f as _classCallCheck, g as _callSuper } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import React, { PureComponent } from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import classNames from 'classnames';
@@ -9,13 +9,12 @@ import { m as modules_3b67a421 } from '../_helpers/list.js';
9
9
  * @extends {ReactComponent}
10
10
  */
11
11
  var ListHint = /*#__PURE__*/function (_PureComponent) {
12
- _inherits(ListHint, _PureComponent);
13
- var _super = _createSuper(ListHint);
14
12
  function ListHint() {
15
13
  _classCallCheck(this, ListHint);
16
- return _super.apply(this, arguments);
14
+ return _callSuper(this, ListHint, arguments);
17
15
  }
18
- _createClass(ListHint, [{
16
+ _inherits(ListHint, _PureComponent);
17
+ return _createClass(ListHint, [{
19
18
  key: "render",
20
19
  value: function render() {
21
20
  return /*#__PURE__*/React.createElement("span", {
@@ -24,7 +23,6 @@ var ListHint = /*#__PURE__*/function (_PureComponent) {
24
23
  }, this.props.label);
25
24
  }
26
25
  }]);
27
- return ListHint;
28
26
  }(PureComponent);
29
27
  _defineProperty(ListHint, "propTypes", {
30
28
  label: PropTypes.node
@@ -1,7 +1,7 @@
1
- import { a as _inherits, b as _createSuper, c as _classCallCheck, _ as _defineProperty, d as _assertThisInitialized, f as _createClass, g as _objectWithoutProperties } from '../_helpers/_rollupPluginBabelHelpers.js';
2
- import 'core-js/modules/es.array.concat.js';
1
+ import { a as _inherits, b as _createClass, c as _objectWithoutProperties, f as _classCallCheck, g as _callSuper, _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
3
2
  import 'core-js/modules/es.symbol.js';
4
3
  import 'core-js/modules/es.symbol.description.js';
4
+ import 'core-js/modules/es.array.concat.js';
5
5
  import 'core-js/modules/es.array.index-of.js';
6
6
  import React, { PureComponent } from 'react';
7
7
  import PropTypes from 'prop-types';
@@ -13,23 +13,23 @@ import Icon from '../icon/icon.js';
13
13
  import getUID from '../global/get-uid.js';
14
14
  import { m as modules_3b67a421 } from '../_helpers/list.js';
15
15
  import 'core-js/modules/es.array.reduce.js';
16
- import 'core-js/modules/es.object.to-string.js';
17
16
  import 'core-js/modules/es.object.entries.js';
17
+ import 'core-js/modules/es.object.to-string.js';
18
18
  import '../global/url.js';
19
19
  import 'core-js/modules/es.regexp.exec.js';
20
20
  import 'core-js/modules/es.string.match.js';
21
21
  import 'core-js/modules/es.string.replace.js';
22
22
  import '../global/dom.js';
23
- import 'core-js/modules/es.object.assign.js';
24
- import 'core-js/modules/web.dom-collections.for-each.js';
25
23
  import 'core-js/modules/es.array.filter.js';
26
- import 'core-js/modules/es.string.split.js';
27
24
  import 'core-js/modules/es.array.iterator.js';
25
+ import 'core-js/modules/es.object.assign.js';
28
26
  import 'core-js/modules/es.set.js';
27
+ import 'core-js/modules/es.string.split.js';
28
+ import 'core-js/modules/web.dom-collections.for-each.js';
29
29
  import 'core-js/modules/web.dom-collections.iterator.js';
30
30
  import '../avatar/fallback-avatar.js';
31
- import 'core-js/modules/es.array.map.js';
32
31
  import 'core-js/modules/es.array.from.js';
32
+ import 'core-js/modules/es.array.map.js';
33
33
  import 'core-js/modules/es.array.slice.js';
34
34
  import 'core-js/modules/es.regexp.to-string.js';
35
35
  import '@jetbrains/icons/checkmark-12px';
@@ -55,25 +55,24 @@ var RING_UNIT = 8;
55
55
  var DEFAULT_PADDING = 16;
56
56
  var CHECKBOX_WIDTH = 28;
57
57
  var ListItem = /*#__PURE__*/function (_PureComponent) {
58
- _inherits(ListItem, _PureComponent);
59
- var _super = _createSuper(ListItem);
60
58
  function ListItem() {
61
59
  var _this;
62
60
  _classCallCheck(this, ListItem);
63
61
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
64
62
  args[_key] = arguments[_key];
65
63
  }
66
- _this = _super.call.apply(_super, [this].concat(args));
67
- _defineProperty(_assertThisInitialized(_this), "id", getUID('list-item-'));
68
- _defineProperty(_assertThisInitialized(_this), "stopBubbling", function (e) {
64
+ _this = _callSuper(this, ListItem, [].concat(args));
65
+ _defineProperty(_this, "id", getUID('list-item-'));
66
+ _defineProperty(_this, "stopBubbling", function (e) {
69
67
  return e.stopPropagation();
70
68
  });
71
- _defineProperty(_assertThisInitialized(_this), "_isString", function (val) {
69
+ _defineProperty(_this, "_isString", function (val) {
72
70
  return typeof val === 'string' || val instanceof String;
73
71
  });
74
72
  return _this;
75
73
  }
76
- _createClass(ListItem, [{
74
+ _inherits(ListItem, _PureComponent);
75
+ return _createClass(ListItem, [{
77
76
  key: "render",
78
77
  value: function render() {
79
78
  var _this$props = this.props,
@@ -202,7 +201,6 @@ var ListItem = /*#__PURE__*/function (_PureComponent) {
202
201
  }, details)));
203
202
  }
204
203
  }]);
205
- return ListItem;
206
204
  }(PureComponent);
207
205
  ListItem.propTypes = {
208
206
  scrolling: PropTypes.bool,
@@ -1,4 +1,4 @@
1
- import { h as _objectSpread2, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { d as _objectSpread2, a as _inherits, b as _createClass, c as _objectWithoutProperties, e as _extends, f as _classCallCheck, g as _callSuper } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/es.symbol.js';
3
3
  import 'core-js/modules/es.symbol.description.js';
4
4
  import React, { Component, PureComponent } from 'react';
@@ -11,8 +11,8 @@ import '../link/clickableLink.js';
11
11
  import 'core-js/modules/es.array.concat.js';
12
12
  import '../_helpers/link.js';
13
13
  import 'core-js/modules/es.array.reduce.js';
14
- import 'core-js/modules/es.object.to-string.js';
15
14
  import 'core-js/modules/es.object.entries.js';
15
+ import 'core-js/modules/es.object.to-string.js';
16
16
 
17
17
  var _excluded = ["scrolling", "data-test", "className", "label", "hover", "description", "rgItemType", "url", "onCheckboxChange", "disabled", "LinkComponent", "compact", "hoverClassName", "children"];
18
18
  /**
@@ -20,13 +20,12 @@ var _excluded = ["scrolling", "data-test", "className", "label", "hover", "descr
20
20
  * @extends {ReactComponent}
21
21
  */
22
22
  var ListLink = /*#__PURE__*/function (_PureComponent) {
23
- _inherits(ListLink, _PureComponent);
24
- var _super = _createSuper(ListLink);
25
23
  function ListLink() {
26
24
  _classCallCheck(this, ListLink);
27
- return _super.apply(this, arguments);
25
+ return _callSuper(this, ListLink, arguments);
28
26
  }
29
- _createClass(ListLink, [{
27
+ _inherits(ListLink, _PureComponent);
28
+ return _createClass(ListLink, [{
30
29
  key: "render",
31
30
  value: function render() {
32
31
  var _this$props = this.props,
@@ -60,7 +59,6 @@ var ListLink = /*#__PURE__*/function (_PureComponent) {
60
59
  }), label !== null && label !== void 0 ? label : children);
61
60
  }
62
61
  }]);
63
- return ListLink;
64
62
  }(PureComponent);
65
63
  ListLink.propTypes = _objectSpread2(_objectSpread2({}, Link.propTypes), {}, {
66
64
  description: PropTypes.string,
@@ -1,4 +1,4 @@
1
- import { a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { a as _inherits, b as _createClass, f as _classCallCheck, g as _callSuper } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/es.symbol.js';
3
3
  import 'core-js/modules/es.symbol.description.js';
4
4
  import React, { PureComponent } from 'react';
@@ -7,13 +7,12 @@ import classNames from 'classnames';
7
7
  import { m as modules_3b67a421 } from '../_helpers/list.js';
8
8
 
9
9
  var ListSeparator = /*#__PURE__*/function (_PureComponent) {
10
- _inherits(ListSeparator, _PureComponent);
11
- var _super = _createSuper(ListSeparator);
12
10
  function ListSeparator() {
13
11
  _classCallCheck(this, ListSeparator);
14
- return _super.apply(this, arguments);
12
+ return _callSuper(this, ListSeparator, arguments);
15
13
  }
16
- _createClass(ListSeparator, [{
14
+ _inherits(ListSeparator, _PureComponent);
15
+ return _createClass(ListSeparator, [{
17
16
  key: "render",
18
17
  value: function render() {
19
18
  var _this$props = this.props,
@@ -28,7 +27,6 @@ var ListSeparator = /*#__PURE__*/function (_PureComponent) {
28
27
  }, description);
29
28
  }
30
29
  }]);
31
- return ListSeparator;
32
30
  }(PureComponent);
33
31
  ListSeparator.propTypes = {
34
32
  className: PropTypes.string,
@@ -1,4 +1,4 @@
1
- import { a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { a as _inherits, b as _createClass, f as _classCallCheck, g as _callSuper } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/es.symbol.js';
3
3
  import 'core-js/modules/es.symbol.description.js';
4
4
  import React, { PureComponent } from 'react';
@@ -7,13 +7,12 @@ import classNames from 'classnames';
7
7
  import { m as modules_3b67a421 } from '../_helpers/list.js';
8
8
 
9
9
  var ListTitle = /*#__PURE__*/function (_PureComponent) {
10
- _inherits(ListTitle, _PureComponent);
11
- var _super = _createSuper(ListTitle);
12
10
  function ListTitle() {
13
11
  _classCallCheck(this, ListTitle);
14
- return _super.apply(this, arguments);
12
+ return _callSuper(this, ListTitle, arguments);
15
13
  }
16
- _createClass(ListTitle, [{
14
+ _inherits(ListTitle, _PureComponent);
15
+ return _createClass(ListTitle, [{
17
16
  key: "render",
18
17
  value: function render() {
19
18
  var _this$props = this.props,
@@ -36,7 +35,6 @@ var ListTitle = /*#__PURE__*/function (_PureComponent) {
36
35
  }, description));
37
36
  }
38
37
  }]);
39
- return ListTitle;
40
38
  }(PureComponent);
41
39
  ListTitle.propTypes = {
42
40
  className: PropTypes.string,
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass, e as _asyncToGenerator, j as _regeneratorRuntime, k as _slicedToArray, h as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { _ as _defineProperty, a as _inherits, b as _createClass, f as _classCallCheck, g as _callSuper, h as _asyncToGenerator, i as _regeneratorRuntime, j as _slicedToArray, d as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/es.array.concat.js';
3
3
  import 'core-js/modules/es.object.assign.js';
4
4
  import 'core-js/modules/es.object.to-string.js';
@@ -11,15 +11,15 @@ import 'core-js/modules/es.array.iterator.js';
11
11
  import 'core-js/modules/es.promise.js';
12
12
  import 'core-js/modules/web.dom-collections.iterator.js';
13
13
  import '../hub-source/hub-source.js';
14
- import 'core-js/modules/es.array.slice.js';
15
14
  import 'core-js/modules/es.array.filter.js';
16
- import 'core-js/modules/es.array.includes.js';
17
- import 'core-js/modules/es.string.includes.js';
18
- import 'core-js/modules/es.array.map.js';
15
+ import 'core-js/modules/es.array.slice.js';
19
16
  import 'core-js/modules/es.symbol.js';
20
17
  import 'core-js/modules/es.symbol.description.js';
21
- import 'core-js/modules/es.array.find-index.js';
22
18
  import 'core-js/modules/es.array.find.js';
19
+ import 'core-js/modules/es.array.find-index.js';
20
+ import 'core-js/modules/es.array.includes.js';
21
+ import 'core-js/modules/es.array.map.js';
22
+ import 'core-js/modules/es.string.includes.js';
23
23
  import 'react';
24
24
  import 'prop-types';
25
25
  import 'classnames';
@@ -40,8 +40,8 @@ import 'core-js/modules/es.map.js';
40
40
  import 'core-js/modules/es.weak-map.js';
41
41
  import '../global/dom.js';
42
42
  import 'core-js/modules/es.regexp.exec.js';
43
- import 'core-js/modules/es.string.split.js';
44
43
  import 'core-js/modules/es.set.js';
44
+ import 'core-js/modules/es.string.split.js';
45
45
  import '../shortcuts/shortcuts.js';
46
46
  import '../shortcuts/core.js';
47
47
  import 'core-js/modules/es.array.splice.js';
@@ -95,17 +95,16 @@ var Filter;
95
95
  Filter[Filter["GROUPS"] = 2] = "GROUPS";
96
96
  })(Filter || (Filter = {}));
97
97
  var ListUsersGroupsSource = /*#__PURE__*/function (_HubSourceUsersGroups) {
98
- _inherits(ListUsersGroupsSource, _HubSourceUsersGroups);
99
- var _super = _createSuper(ListUsersGroupsSource);
100
98
  function ListUsersGroupsSource(auth, options) {
101
99
  var _this;
102
100
  _classCallCheck(this, ListUsersGroupsSource);
103
- _this = _super.call(this, auth, options);
104
- _defineProperty(_assertThisInitialized(_this), "listSourceOptions", void 0);
101
+ _this = _callSuper(this, ListUsersGroupsSource, [auth, options]);
102
+ _defineProperty(_this, "listSourceOptions", void 0);
105
103
  _this.listSourceOptions = Object.assign({}, defaultOptions, options);
106
104
  return _this;
107
105
  }
108
- _createClass(ListUsersGroupsSource, [{
106
+ _inherits(ListUsersGroupsSource, _HubSourceUsersGroups);
107
+ return _createClass(ListUsersGroupsSource, [{
109
108
  key: "getGroupsSectionTitle",
110
109
  value: function getGroupsSectionTitle(groups) {
111
110
  return groups.length ? this.listSourceOptions.GroupsTitle : this.listSourceOptions.NoGroupsTitle;
@@ -188,7 +187,6 @@ var ListUsersGroupsSource = /*#__PURE__*/function (_HubSourceUsersGroups) {
188
187
  return getForList;
189
188
  }()
190
189
  }]);
191
- return ListUsersGroupsSource;
192
190
  }(HubSourceUsersGroups);
193
191
  _defineProperty(ListUsersGroupsSource, "Filter", Filter);
194
192
 
@@ -1,21 +1,21 @@
1
- import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, e as _extends, f as _classCallCheck, g as _callSuper } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/es.array.concat.js';
3
3
  import React, { PureComponent } from 'react';
4
4
  import PropTypes from 'prop-types';
5
5
  import joinDataTestAttributes from '../global/data-tests.js';
6
6
  import LoaderCore from './loader__core.js';
7
7
  import 'core-js/modules/es.array.reduce.js';
8
- import 'core-js/modules/es.object.to-string.js';
9
8
  import 'core-js/modules/es.object.entries.js';
9
+ import 'core-js/modules/es.object.to-string.js';
10
10
  import 'core-js/modules/es.array.fill.js';
11
+ import 'core-js/modules/es.array.filter.js';
11
12
  import 'core-js/modules/es.object.assign.js';
12
13
  import 'core-js/modules/es.regexp.exec.js';
13
14
  import 'core-js/modules/web.dom-collections.for-each.js';
14
- import 'core-js/modules/es.array.filter.js';
15
15
  import '../global/dom.js';
16
- import 'core-js/modules/es.string.split.js';
17
16
  import 'core-js/modules/es.array.iterator.js';
18
17
  import 'core-js/modules/es.set.js';
18
+ import 'core-js/modules/es.string.split.js';
19
19
  import 'core-js/modules/web.dom-collections.iterator.js';
20
20
 
21
21
  var _excluded = ["message", "size", "colors", "data-test", "stop", "deterministic"];
@@ -26,24 +26,23 @@ var _excluded = ["message", "size", "colors", "data-test", "stop", "deterministi
26
26
  * Displays a large animated loader with an optional caption. Typical use cases: page loading animation, major action animation.
27
27
  */
28
28
  var Loader = /*#__PURE__*/function (_PureComponent) {
29
- _inherits(Loader, _PureComponent);
30
- var _super = _createSuper(Loader);
31
29
  function Loader() {
32
30
  var _this;
33
31
  _classCallCheck(this, Loader);
34
32
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
35
33
  args[_key] = arguments[_key];
36
34
  }
37
- _this = _super.call.apply(_super, [this].concat(args));
38
- _defineProperty(_assertThisInitialized(_this), "loader", void 0);
39
- _defineProperty(_assertThisInitialized(_this), "initLoader", function (el) {
35
+ _this = _callSuper(this, Loader, [].concat(args));
36
+ _defineProperty(_this, "loader", void 0);
37
+ _defineProperty(_this, "initLoader", function (el) {
40
38
  if (el) {
41
39
  _this.loader = new LoaderCore(el, _this.props);
42
40
  }
43
41
  });
44
42
  return _this;
45
43
  }
46
- _createClass(Loader, [{
44
+ _inherits(Loader, _PureComponent);
45
+ return _createClass(Loader, [{
47
46
  key: "componentDidUpdate",
48
47
  value: function componentDidUpdate(prevProps) {
49
48
  if (this.loader) {
@@ -78,7 +77,6 @@ var Loader = /*#__PURE__*/function (_PureComponent) {
78
77
  }));
79
78
  }
80
79
  }]);
81
- return Loader;
82
80
  }(PureComponent);
83
81
  _defineProperty(Loader, "propTypes", {
84
82
  className: PropTypes.string,
@@ -1,16 +1,16 @@
1
- import { _ as _defineProperty, f as _createClass, c as _classCallCheck } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { _ as _defineProperty, b as _createClass, f as _classCallCheck } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/es.array.concat.js';
3
3
  import 'core-js/modules/es.array.fill.js';
4
+ import 'core-js/modules/es.array.filter.js';
4
5
  import 'core-js/modules/es.object.assign.js';
5
- import 'core-js/modules/es.regexp.exec.js';
6
6
  import 'core-js/modules/es.object.to-string.js';
7
+ import 'core-js/modules/es.regexp.exec.js';
7
8
  import 'core-js/modules/web.dom-collections.for-each.js';
8
- import 'core-js/modules/es.array.filter.js';
9
9
  import { getPixelRatio } from '../global/dom.js';
10
- import 'core-js/modules/es.string.split.js';
11
- import 'core-js/modules/es.object.entries.js';
12
10
  import 'core-js/modules/es.array.iterator.js';
11
+ import 'core-js/modules/es.object.entries.js';
13
12
  import 'core-js/modules/es.set.js';
13
+ import 'core-js/modules/es.string.split.js';
14
14
  import 'core-js/modules/web.dom-collections.iterator.js';
15
15
 
16
16
  var modules_00b5ad26 = {"light":"light_rui_2ac4","canvas":"canvas_rui_eff2","animate":"animate_rui_eff2","rotation-keyframes":"rotation-keyframes_rui_eff2","text":"text_rui_eff2"};
@@ -36,7 +36,7 @@ var Particle = /*#__PURE__*/function () {
36
36
  this.decay = 0.01;
37
37
  this.life = 1;
38
38
  }
39
- _createClass(Particle, [{
39
+ return _createClass(Particle, [{
40
40
  key: "step",
41
41
  value: function step() {
42
42
  this.life -= this.decay;
@@ -56,7 +56,6 @@ var Particle = /*#__PURE__*/function () {
56
56
  ctx.fill();
57
57
  }
58
58
  }]);
59
- return Particle;
60
59
  }();
61
60
  var DETERMINISTIC_VALUE = 0.5;
62
61
  function deterministic() {
@@ -130,7 +129,7 @@ var LoaderCore = /*#__PURE__*/function () {
130
129
  this.draw();
131
130
  }
132
131
  }
133
- _createClass(LoaderCore, [{
132
+ return _createClass(LoaderCore, [{
134
133
  key: "prepareInitialState",
135
134
  value: function prepareInitialState(ticks) {
136
135
  for (var i = 0; i < ticks; i++) {
@@ -274,7 +273,6 @@ var LoaderCore = /*#__PURE__*/function () {
274
273
  return getPixelRatio();
275
274
  }
276
275
  }]);
277
- return LoaderCore;
278
276
  }();
279
277
  _defineProperty(LoaderCore, "defaultProps", {
280
278
  size: 64,
@@ -1,12 +1,12 @@
1
- import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, e as _extends, f as _classCallCheck, g as _callSuper } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import React, { PureComponent } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import PropTypes from 'prop-types';
5
5
  import joinDataTestAttributes from '../global/data-tests.js';
6
+ import 'core-js/modules/es.array.concat.js';
6
7
  import 'core-js/modules/es.array.reduce.js';
7
- import 'core-js/modules/es.object.to-string.js';
8
8
  import 'core-js/modules/es.object.entries.js';
9
- import 'core-js/modules/es.array.concat.js';
9
+ import 'core-js/modules/es.object.to-string.js';
10
10
 
11
11
  var modules_e49a3529 = {"dark":"dark_rui_f090","light":"light_rui_2ac4","loader":"loader_rui_092a","spin":"spin_rui_092a","pulse":"pulse_rui_092a","children":"children_rui_092a"};
12
12
 
@@ -15,13 +15,12 @@ var _excluded = ["className", "data-test", "children"];
15
15
  * @name Loader Inline
16
16
  */
17
17
  var LoaderInline = /*#__PURE__*/function (_PureComponent) {
18
- _inherits(LoaderInline, _PureComponent);
19
- var _super = _createSuper(LoaderInline);
20
18
  function LoaderInline() {
21
19
  _classCallCheck(this, LoaderInline);
22
- return _super.apply(this, arguments);
20
+ return _callSuper(this, LoaderInline, arguments);
23
21
  }
24
- _createClass(LoaderInline, [{
22
+ _inherits(LoaderInline, _PureComponent);
23
+ return _createClass(LoaderInline, [{
25
24
  key: "render",
26
25
  value: function render() {
27
26
  var _this$props = this.props,
@@ -39,7 +38,6 @@ var LoaderInline = /*#__PURE__*/function (_PureComponent) {
39
38
  }, children)) : loader;
40
39
  }
41
40
  }]);
42
- return LoaderInline;
43
41
  }(PureComponent);
44
42
  _defineProperty(LoaderInline, "propTypes", {
45
43
  className: PropTypes.string,
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, f as _createClass, g as _objectWithoutProperties, i as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, e as _extends, f as _classCallCheck, g as _callSuper } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import React, { PureComponent } from 'react';
3
3
  import classNames from 'classnames';
4
4
  import PropTypes from 'prop-types';
@@ -6,18 +6,18 @@ import Loader from '../loader/loader.js';
6
6
  import 'core-js/modules/es.array.concat.js';
7
7
  import '../global/data-tests.js';
8
8
  import 'core-js/modules/es.array.reduce.js';
9
- import 'core-js/modules/es.object.to-string.js';
10
9
  import 'core-js/modules/es.object.entries.js';
10
+ import 'core-js/modules/es.object.to-string.js';
11
11
  import '../loader/loader__core.js';
12
12
  import 'core-js/modules/es.array.fill.js';
13
+ import 'core-js/modules/es.array.filter.js';
13
14
  import 'core-js/modules/es.object.assign.js';
14
15
  import 'core-js/modules/es.regexp.exec.js';
15
16
  import 'core-js/modules/web.dom-collections.for-each.js';
16
- import 'core-js/modules/es.array.filter.js';
17
17
  import '../global/dom.js';
18
- import 'core-js/modules/es.string.split.js';
19
18
  import 'core-js/modules/es.array.iterator.js';
20
19
  import 'core-js/modules/es.set.js';
20
+ import 'core-js/modules/es.string.split.js';
21
21
  import 'core-js/modules/web.dom-collections.iterator.js';
22
22
 
23
23
  var modules_122a82e9 = {"light":"light_rui_2ac4","loaderScreen":"loaderScreen_rui_90dd","loader":"loader_rui_90dd","loaderWithoutSpacing":"loaderWithoutSpacing_rui_90dd"};
@@ -27,13 +27,12 @@ var _excluded = ["message", "className", "containerClassName"];
27
27
  * @name Loader Screen
28
28
  */
29
29
  var LoaderScreen = /*#__PURE__*/function (_PureComponent) {
30
- _inherits(LoaderScreen, _PureComponent);
31
- var _super = _createSuper(LoaderScreen);
32
30
  function LoaderScreen() {
33
31
  _classCallCheck(this, LoaderScreen);
34
- return _super.apply(this, arguments);
32
+ return _callSuper(this, LoaderScreen, arguments);
35
33
  }
36
- _createClass(LoaderScreen, [{
34
+ _inherits(LoaderScreen, _PureComponent);
35
+ return _createClass(LoaderScreen, [{
37
36
  key: "render",
38
37
  value: function render() {
39
38
  var _this$props = this.props,
@@ -53,7 +52,6 @@ var LoaderScreen = /*#__PURE__*/function (_PureComponent) {
53
52
  })));
54
53
  }
55
54
  }]);
56
- return LoaderScreen;
57
55
  }(PureComponent);
58
56
  _defineProperty(LoaderScreen, "propTypes", {
59
57
  className: PropTypes.string,
@@ -1,4 +1,4 @@
1
- import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _assertThisInitialized, f as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
1
+ import { _ as _defineProperty, a as _inherits, b as _createClass, f as _classCallCheck, g as _callSuper } from '../_helpers/_rollupPluginBabelHelpers.js';
2
2
  import 'core-js/modules/es.array.concat.js';
3
3
  import React, { Component } from 'react';
4
4
  import PropTypes from 'prop-types';
@@ -19,24 +19,24 @@ import 'core-js/modules/es.object.entries.js';
19
19
  import '../shortcuts/shortcuts.js';
20
20
  import 'core-js/modules/es.array.map.js';
21
21
  import '../shortcuts/core.js';
22
+ import 'core-js/modules/es.array.find-index.js';
22
23
  import 'core-js/modules/es.array.includes.js';
23
- import 'core-js/modules/es.string.includes.js';
24
- import 'core-js/modules/es.object.assign.js';
25
24
  import 'core-js/modules/es.array.slice.js';
26
25
  import 'core-js/modules/es.array.splice.js';
26
+ import 'core-js/modules/es.object.assign.js';
27
27
  import 'core-js/modules/es.regexp.exec.js';
28
+ import 'core-js/modules/es.string.includes.js';
28
29
  import 'core-js/modules/es.string.match.js';
29
- import 'core-js/modules/es.array.find-index.js';
30
30
  import 'combokeys';
31
31
  import '../global/sniffer.js';
32
32
  import 'sniffr';
33
33
  import '../tab-trap/tab-trap.js';
34
34
  import 'core-js/modules/es.array.filter.js';
35
35
  import '../global/dom.js';
36
- import 'core-js/modules/web.dom-collections.for-each.js';
37
- import 'core-js/modules/es.string.split.js';
38
36
  import 'core-js/modules/es.array.iterator.js';
39
37
  import 'core-js/modules/es.set.js';
38
+ import 'core-js/modules/es.string.split.js';
39
+ import 'core-js/modules/web.dom-collections.for-each.js';
40
40
  import 'core-js/modules/web.dom-collections.iterator.js';
41
41
  import '../button/button.js';
42
42
  import '@jetbrains/icons/chevron-10px';
@@ -81,24 +81,22 @@ var DEFAULT_SHOW_FALLBACK_TIMEOUT = 5000;
81
81
  * @name Login Dialog
82
82
  */
83
83
  var LoginDialog = /*#__PURE__*/function (_Component) {
84
- _inherits(LoginDialog, _Component);
85
- var _super = _createSuper(LoginDialog);
86
84
  function LoginDialog() {
87
85
  var _this;
88
86
  _classCallCheck(this, LoginDialog);
89
87
  for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
90
88
  args[_key] = arguments[_key];
91
89
  }
92
- _this = _super.call.apply(_super, [this].concat(args));
93
- _defineProperty(_assertThisInitialized(_this), "state", {
90
+ _this = _callSuper(this, LoginDialog, [].concat(args));
91
+ _defineProperty(_this, "state", {
94
92
  loading: true,
95
93
  loggingIn: false,
96
94
  showFallbackLink: false,
97
95
  height: DEFAULT_HEIGHT,
98
96
  width: DEFAULT_WIDTH
99
97
  });
100
- _defineProperty(_assertThisInitialized(_this), "showFallbackTimout", void 0);
101
- _defineProperty(_assertThisInitialized(_this), "onMessage", function (event) {
98
+ _defineProperty(_this, "showFallbackTimout", void 0);
99
+ _defineProperty(_this, "onMessage", function (event) {
102
100
  var data = event.data;
103
101
  if (!data) {
104
102
  return;
@@ -128,7 +126,8 @@ var LoginDialog = /*#__PURE__*/function (_Component) {
128
126
  });
129
127
  return _this;
130
128
  }
131
- _createClass(LoginDialog, [{
129
+ _inherits(LoginDialog, _Component);
130
+ return _createClass(LoginDialog, [{
132
131
  key: "componentDidMount",
133
132
  value: function componentDidMount() {
134
133
  window.addEventListener('message', this.onMessage);
@@ -192,7 +191,6 @@ var LoginDialog = /*#__PURE__*/function (_Component) {
192
191
  }, renderFallbackLink(loggingIn)));
193
192
  }
194
193
  }]);
195
- return LoginDialog;
196
194
  }(Component);
197
195
  _defineProperty(LoginDialog, "propTypes", {
198
196
  show: PropTypes.bool,