@jetbrains/ring-ui-built 6.0.28 → 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.
- package/components/_helpers/_rollupPluginBabelHelpers.js +4 -15
- package/components/_helpers/anchor.js +1 -1
- package/components/_helpers/caption.js +4 -6
- package/components/_helpers/card.js +5 -7
- package/components/_helpers/icon__svg.js +1 -1
- package/components/_helpers/input.js +12 -14
- package/components/_helpers/query-assist__suggestions.js +2 -3
- package/components/_helpers/select__filter.js +6 -8
- package/components/_helpers/services-link.js +4 -6
- package/components/_helpers/sidebar.js +9 -11
- package/components/_helpers/tab-link.js +1 -1
- package/components/_helpers/theme.js +1 -1
- package/components/_helpers/title.js +7 -9
- package/components/alert/alert.js +17 -19
- package/components/alert/container.js +4 -6
- package/components/alert-service/alert-service.js +9 -10
- package/components/analytics/analytics.js +2 -3
- package/components/analytics/analytics__custom-plugin.js +2 -3
- package/components/auth/auth.js +9 -8
- package/components/auth/auth__core.js +16 -16
- package/components/auth/background-flow.js +4 -5
- package/components/auth/down-notification.js +7 -7
- package/components/auth/iframe-flow.js +7 -8
- package/components/auth/request-builder.js +3 -4
- package/components/auth/response-parser.js +10 -12
- package/components/auth/storage.js +10 -11
- package/components/auth/token-validator.js +12 -14
- package/components/auth/window-flow.js +4 -5
- package/components/auth-dialog/auth-dialog.js +13 -15
- package/components/auth-dialog-service/auth-dialog-service.js +7 -7
- package/components/avatar/avatar.js +14 -16
- package/components/avatar/fallback-avatar.js +5 -5
- package/components/badge/badge.js +6 -8
- package/components/button/button.js +7 -9
- package/components/button-group/button-group.js +6 -8
- package/components/button-set/button-set.js +6 -8
- package/components/button-toolbar/button-toolbar.js +6 -8
- package/components/caret/caret.js +7 -8
- package/components/checkbox/checkbox.js +7 -9
- package/components/clipboard/clipboard.js +8 -8
- package/components/code/code.js +12 -14
- package/components/collapse/collapse-content.js +7 -7
- package/components/collapse/collapse-control.js +2 -2
- package/components/collapse/collapse.js +1 -1
- package/components/confirm/confirm.js +11 -13
- package/components/confirm-service/confirm-service.js +6 -6
- package/components/content-layout/content-layout.js +7 -9
- package/components/contenteditable/contenteditable.js +4 -6
- package/components/control-label/control-label.js +1 -1
- package/components/data-list/data-list.js +19 -23
- package/components/data-list/data-list.mock.js +2 -2
- package/components/data-list/item.js +12 -14
- package/components/data-list/selection.js +10 -12
- package/components/data-list/title.js +1 -1
- package/components/date-picker/consts.js +2 -2
- package/components/date-picker/date-input.js +12 -14
- package/components/date-picker/date-picker.js +19 -21
- package/components/date-picker/date-popup.js +23 -25
- package/components/date-picker/day.js +14 -16
- package/components/date-picker/month-names.js +7 -9
- package/components/date-picker/month-slider.js +10 -12
- package/components/date-picker/month.js +5 -5
- package/components/date-picker/months.js +4 -4
- package/components/date-picker/weekdays.js +3 -3
- package/components/date-picker/years.js +12 -14
- package/components/dialog/dialog.js +18 -20
- package/components/dropdown/anchor.js +1 -1
- package/components/dropdown/dropdown.js +13 -15
- package/components/dropdown-menu/dropdown-menu.js +10 -10
- package/components/editable-heading/editable-heading.js +5 -5
- package/components/error-bubble/error-bubble.js +11 -13
- package/components/error-message/error-message.js +6 -8
- package/components/footer/footer.js +2 -2
- package/components/global/create-stateful-context.js +1 -1
- package/components/global/data-tests.js +3 -3
- package/components/global/dom.js +7 -8
- package/components/global/focus-sensor-hoc.js +15 -17
- package/components/global/fuzzy-highlight.js +2 -2
- package/components/global/get-uid.js +1 -1
- package/components/global/inject-styles.js +1 -1
- package/components/global/listeners.js +4 -5
- package/components/global/memoize.js +1 -1
- package/components/global/normalize-indent.js +5 -5
- package/components/global/react-dom-renderer.js +7 -9
- package/components/global/rerender-hoc.js +5 -7
- package/components/global/theme.js +7 -7
- package/components/global/trivial-template-tag.js +2 -2
- package/components/global/url.js +1 -1
- package/components/grid/col.js +7 -9
- package/components/grid/grid.js +6 -8
- package/components/grid/row.js +5 -7
- package/components/group/group.js +4 -6
- package/components/header/header.js +13 -14
- package/components/header/logo.js +5 -7
- package/components/header/profile.js +12 -14
- package/components/header/services-link.js +2 -2
- package/components/header/services.js +12 -14
- package/components/header/smart-profile.js +17 -18
- package/components/header/smart-services.js +16 -17
- package/components/header/tray-icon.js +5 -7
- package/components/header/tray.js +4 -6
- package/components/heading/heading.js +1 -1
- package/components/http/http.js +11 -13
- package/components/http/http.mock.js +15 -17
- package/components/hub-source/hub-source.js +4 -5
- package/components/hub-source/hub-source__user.js +6 -6
- package/components/hub-source/hub-source__users-groups.js +4 -5
- package/components/i18n/i18n.js +1 -1
- package/components/icon/icon.js +5 -7
- package/components/icon/icon__svg.js +1 -1
- package/components/icon/index.js +1 -1
- package/components/input/input.js +1 -1
- package/components/island/adaptive-island-hoc.js +6 -8
- package/components/island/content.js +13 -15
- package/components/island/header.js +4 -6
- package/components/island/island.js +6 -8
- package/components/island-legacy/content-legacy.js +4 -6
- package/components/island-legacy/header-legacy.js +4 -6
- package/components/island-legacy/island-legacy.js +4 -6
- package/components/link/clickableLink.js +5 -7
- package/components/link/link.js +6 -8
- package/components/list/list.js +47 -49
- package/components/list/list__custom.js +6 -8
- package/components/list/list__hint.js +4 -6
- package/components/list/list__item.js +13 -15
- package/components/list/list__link.js +5 -7
- package/components/list/list__separator.js +4 -6
- package/components/list/list__title.js +4 -6
- package/components/list/list__users-groups-source.js +11 -13
- package/components/loader/loader.js +9 -11
- package/components/loader/loader__core.js +7 -9
- package/components/loader-inline/loader-inline.js +6 -8
- package/components/loader-screen/loader-screen.js +7 -9
- package/components/login-dialog/login-dialog.js +12 -14
- package/components/login-dialog/service.js +7 -7
- package/components/markdown/markdown.js +4 -6
- package/components/message/message.js +17 -19
- package/components/old-browsers-message/old-browsers-message.js +1 -1
- package/components/old-browsers-message/old-browsers-message__stop.js +1 -1
- package/components/old-browsers-message/white-list.js +2 -2
- package/components/pager/pager.js +16 -18
- package/components/panel/panel.js +4 -6
- package/components/permissions/permissions.js +4 -5
- package/components/permissions/permissions__cache.js +2 -3
- package/components/popup/popup.js +33 -35
- package/components/popup/popup.target.js +1 -1
- package/components/popup/position.js +9 -9
- package/components/popup-menu/popup-menu.js +14 -16
- package/components/progress-bar/progress-bar.js +8 -10
- package/components/query-assist/query-assist.js +64 -66
- package/components/query-assist/query-assist__suggestions.js +6 -6
- package/components/radio/radio.js +5 -7
- package/components/radio/radio__item.js +9 -11
- package/components/select/select.js +48 -50
- package/components/select/select__filter.js +6 -6
- package/components/select/select__popup.js +36 -38
- package/components/shortcuts/core.js +7 -8
- package/components/shortcuts/shortcuts-hoc.js +8 -10
- package/components/shortcuts/shortcuts.js +8 -10
- package/components/slider/slider.js +6 -6
- package/components/slider/slider.utils.js +4 -4
- package/components/storage/storage.js +8 -8
- package/components/storage/storage__fallback.js +5 -6
- package/components/storage/storage__local.js +9 -10
- package/components/tab-trap/tab-trap.js +24 -26
- package/components/table/cell.js +6 -8
- package/components/table/disable-hover-hoc.js +7 -9
- package/components/table/header-cell.d.ts +1 -0
- package/components/table/header-cell.js +8 -10
- package/components/table/header.d.ts +2 -1
- package/components/table/header.js +15 -10
- package/components/table/multitable.js +13 -15
- package/components/table/row-with-focus-sensor.js +14 -16
- package/components/table/row.d.ts +2 -1
- package/components/table/row.js +29 -23
- package/components/table/selection-adapter.js +1 -1
- package/components/table/selection-shortcuts-hoc.js +19 -21
- package/components/table/selection.js +4 -5
- package/components/table/smart-table.d.ts +2 -1
- package/components/table/smart-table.js +10 -12
- package/components/table/table.d.ts +2 -1
- package/components/table/table.js +29 -30
- package/components/tabs/collapsible-more.js +8 -8
- package/components/tabs/collapsible-tab.js +3 -3
- package/components/tabs/collapsible-tabs.js +10 -10
- package/components/tabs/dumb-tabs.js +11 -13
- package/components/tabs/smart-tabs.js +13 -15
- package/components/tabs/tab-link.js +2 -2
- package/components/tabs/tab.js +6 -8
- package/components/tabs/tabs.js +5 -5
- package/components/tag/tag.js +9 -11
- package/components/tags-input/tags-input.js +39 -41
- package/components/tags-list/tags-list.js +5 -7
- package/components/text/text.js +4 -6
- package/components/toggle/toggle.js +6 -8
- package/components/tooltip/tooltip.js +27 -29
- package/components/user-agreement/service.js +7 -7
- package/components/user-agreement/user-agreement.js +11 -13
- package/components/user-card/card.js +9 -9
- package/components/user-card/smart-user-card-tooltip.js +14 -16
- package/components/user-card/tooltip.js +11 -13
- package/components/user-card/user-card.js +9 -9
- package/package.json +1 -1
@@ -1,3 +1,6 @@
|
|
1
|
+
function _callSuper(t, o, e) {
|
2
|
+
return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
|
3
|
+
}
|
1
4
|
function _isNativeReflectConstruct() {
|
2
5
|
try {
|
3
6
|
var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
@@ -518,20 +521,6 @@ function _possibleConstructorReturn(self, call) {
|
|
518
521
|
}
|
519
522
|
return _assertThisInitialized(self);
|
520
523
|
}
|
521
|
-
function _createSuper(Derived) {
|
522
|
-
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
523
|
-
return function _createSuperInternal() {
|
524
|
-
var Super = _getPrototypeOf(Derived),
|
525
|
-
result;
|
526
|
-
if (hasNativeReflectConstruct) {
|
527
|
-
var NewTarget = _getPrototypeOf(this).constructor;
|
528
|
-
result = Reflect.construct(Super, arguments, NewTarget);
|
529
|
-
} else {
|
530
|
-
result = Super.apply(this, arguments);
|
531
|
-
}
|
532
|
-
return _possibleConstructorReturn(this, result);
|
533
|
-
};
|
534
|
-
}
|
535
524
|
function _superPropBase(object, property) {
|
536
525
|
while (!Object.prototype.hasOwnProperty.call(object, property)) {
|
537
526
|
object = _getPrototypeOf(object);
|
@@ -641,4 +630,4 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
641
630
|
};
|
642
631
|
}
|
643
632
|
|
644
|
-
export { _defineProperty as _, _inherits as a,
|
633
|
+
export { _defineProperty as _, _inherits as a, _createClass as b, _objectWithoutProperties as c, _objectSpread2 as d, _extends as e, _classCallCheck as f, _callSuper as g, _asyncToGenerator as h, _regeneratorRuntime as i, _slicedToArray as j, _toConsumableArray as k, _createForOfIteratorHelper as l, _get as m, _getPrototypeOf as n, _toPropertyKey as o };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { c as _objectWithoutProperties, e as _extends } from './_rollupPluginBabelHelpers.js';
|
2
2
|
import React, { memo } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import chevronDown from '@jetbrains/icons/chevron-10px';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, e as _extends, f as _classCallCheck, g as _callSuper } from './_rollupPluginBabelHelpers.js';
|
2
2
|
import React, { PureComponent } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import classNames from 'classnames';
|
@@ -6,13 +6,12 @@ import classNames from 'classnames';
|
|
6
6
|
var modules_1068e447 = {"button":"button_rui_6ad6","active":"active_rui_6ad6","primary":"primary_rui_6ad6","button-shadow":"i__const_button_shadow_3","buttonGroup":"buttonGroup_rui_f794 common_rui_f794 buttonGroup_rui_5c90","light":"light_rui_2ac4","common":"common_rui_f794","split":"split_rui_f794 common_rui_f794 buttonGroup_rui_5c90","caption":"caption_rui_f794 font_rui_f295"};
|
7
7
|
|
8
8
|
var Caption = /*#__PURE__*/function (_PureComponent) {
|
9
|
-
_inherits(Caption, _PureComponent);
|
10
|
-
var _super = _createSuper(Caption);
|
11
9
|
function Caption() {
|
12
10
|
_classCallCheck(this, Caption);
|
13
|
-
return
|
11
|
+
return _callSuper(this, Caption, arguments);
|
14
12
|
}
|
15
|
-
|
13
|
+
_inherits(Caption, _PureComponent);
|
14
|
+
return _createClass(Caption, [{
|
16
15
|
key: "render",
|
17
16
|
value: function render() {
|
18
17
|
var className = this.props.className;
|
@@ -22,7 +21,6 @@ var Caption = /*#__PURE__*/function (_PureComponent) {
|
|
22
21
|
}));
|
23
22
|
}
|
24
23
|
}]);
|
25
|
-
return Caption;
|
26
24
|
}(PureComponent);
|
27
25
|
_defineProperty(Caption, "propTypes", {
|
28
26
|
className: PropTypes.node
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, e as _extends, f as _classCallCheck, g as _callSuper } from './_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';
|
@@ -25,16 +25,14 @@ var translationsShape = PropTypes.shape({
|
|
25
25
|
unverified: PropTypes.string
|
26
26
|
});
|
27
27
|
var UserCard = /*#__PURE__*/function (_PureComponent) {
|
28
|
-
_inherits(UserCard, _PureComponent);
|
29
|
-
var _super = _createSuper(UserCard);
|
30
28
|
function UserCard() {
|
31
29
|
var _this;
|
32
30
|
_classCallCheck(this, UserCard);
|
33
31
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
34
32
|
args[_key] = arguments[_key];
|
35
33
|
}
|
36
|
-
_this =
|
37
|
-
_defineProperty(
|
34
|
+
_this = _callSuper(this, UserCard, [].concat(args));
|
35
|
+
_defineProperty(_this, "copyEmail", function () {
|
38
36
|
var _translations$copiedT, _translations$copingT;
|
39
37
|
var translate = _this.context.translate;
|
40
38
|
var translations = _this.props.translations;
|
@@ -42,7 +40,8 @@ var UserCard = /*#__PURE__*/function (_PureComponent) {
|
|
42
40
|
});
|
43
41
|
return _this;
|
44
42
|
}
|
45
|
-
|
43
|
+
_inherits(UserCard, _PureComponent);
|
44
|
+
return _createClass(UserCard, [{
|
46
45
|
key: "render",
|
47
46
|
value: function render() {
|
48
47
|
var _translations$online, _translations$offline, _translations$banned, _translations$unverif, _translations$copyToC;
|
@@ -107,7 +106,6 @@ var UserCard = /*#__PURE__*/function (_PureComponent) {
|
|
107
106
|
}))), children)));
|
108
107
|
}
|
109
108
|
}]);
|
110
|
-
return UserCard;
|
111
109
|
}(PureComponent);
|
112
110
|
_defineProperty(UserCard, "propTypes", {
|
113
111
|
children: PropTypes.node,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { c as _objectWithoutProperties, e as _extends } from './_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.regexp.exec.js';
|
3
3
|
import 'core-js/modules/es.string.replace.js';
|
4
4
|
import 'core-js/modules/es.string.starts-with.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, e as _extends, f as _classCallCheck, g as _callSuper } from './_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.object.values.js';
|
4
4
|
import React, { PureComponent } from 'react';
|
@@ -30,35 +30,33 @@ var Size;
|
|
30
30
|
Size["FULL"] = "FULL";
|
31
31
|
})(Size || (Size = {}));
|
32
32
|
var Input = /*#__PURE__*/function (_PureComponent) {
|
33
|
-
_inherits(Input, _PureComponent);
|
34
|
-
var _super = _createSuper(Input);
|
35
33
|
function Input() {
|
36
34
|
var _this;
|
37
35
|
_classCallCheck(this, Input);
|
38
36
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
39
37
|
args[_key] = arguments[_key];
|
40
38
|
}
|
41
|
-
_this =
|
42
|
-
_defineProperty(
|
39
|
+
_this = _callSuper(this, Input, [].concat(args));
|
40
|
+
_defineProperty(_this, "state", {
|
43
41
|
empty: true
|
44
42
|
});
|
45
|
-
_defineProperty(
|
46
|
-
_defineProperty(
|
47
|
-
_defineProperty(
|
48
|
-
_defineProperty(
|
43
|
+
_defineProperty(_this, "frame", void 0);
|
44
|
+
_defineProperty(_this, "input", void 0);
|
45
|
+
_defineProperty(_this, "id", getUID('ring-input-'));
|
46
|
+
_defineProperty(_this, "inputRef", function (el) {
|
49
47
|
_this.input = el;
|
50
48
|
});
|
51
|
-
_defineProperty(
|
49
|
+
_defineProperty(_this, "clear", function (e) {
|
52
50
|
_this.props.onClear && _this.props.onClear(e);
|
53
51
|
});
|
54
|
-
_defineProperty(
|
52
|
+
_defineProperty(_this, "handleInputChange", function (e) {
|
55
53
|
if (!_this.props.multiline) {
|
56
54
|
var _this$props$onChange, _this$props;
|
57
55
|
(_this$props$onChange = (_this$props = _this.props).onChange) === null || _this$props$onChange === void 0 || _this$props$onChange.call(_this$props, e);
|
58
56
|
_this.checkValue();
|
59
57
|
}
|
60
58
|
});
|
61
|
-
_defineProperty(
|
59
|
+
_defineProperty(_this, "handleTextareaChange", function (e) {
|
62
60
|
if (_this.props.multiline) {
|
63
61
|
var _this$props$onChange2, _this$props2;
|
64
62
|
(_this$props$onChange2 = (_this$props2 = _this.props).onChange) === null || _this$props$onChange2 === void 0 || _this$props$onChange2.call(_this$props2, e);
|
@@ -67,7 +65,8 @@ var Input = /*#__PURE__*/function (_PureComponent) {
|
|
67
65
|
});
|
68
66
|
return _this;
|
69
67
|
}
|
70
|
-
|
68
|
+
_inherits(Input, _PureComponent);
|
69
|
+
return _createClass(Input, [{
|
71
70
|
key: "componentDidMount",
|
72
71
|
value: function componentDidMount() {
|
73
72
|
var _this2 = this;
|
@@ -202,7 +201,6 @@ var Input = /*#__PURE__*/function (_PureComponent) {
|
|
202
201
|
});
|
203
202
|
}
|
204
203
|
}]);
|
205
|
-
return Input;
|
206
204
|
}(PureComponent);
|
207
205
|
_defineProperty(Input, "defaultProps", {
|
208
206
|
size: Size.M,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { b as _createClass, f as _classCallCheck } from './_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.symbol.js';
|
3
3
|
import 'core-js/modules/es.symbol.description.js';
|
4
4
|
import 'core-js/modules/es.object.to-string.js';
|
@@ -13,7 +13,7 @@ var QueryAssistSuggestions = /*#__PURE__*/function () {
|
|
13
13
|
function QueryAssistSuggestions() {
|
14
14
|
_classCallCheck(this, QueryAssistSuggestions);
|
15
15
|
}
|
16
|
-
_createClass(QueryAssistSuggestions, null, [{
|
16
|
+
return _createClass(QueryAssistSuggestions, null, [{
|
17
17
|
key: "createKey",
|
18
18
|
value:
|
19
19
|
/*
|
@@ -96,7 +96,6 @@ var QueryAssistSuggestions = /*#__PURE__*/function () {
|
|
96
96
|
return renderedSuggestions;
|
97
97
|
}
|
98
98
|
}]);
|
99
|
-
return QueryAssistSuggestions;
|
100
99
|
}();
|
101
100
|
|
102
101
|
export { QueryAssistSuggestions as Q, modules_da7ab055 as m };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, e as _extends, f as _classCallCheck, g as _callSuper } from './_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.array.filter.js';
|
4
4
|
import 'core-js/modules/es.object.to-string.js';
|
@@ -15,23 +15,22 @@ var modules_b607bec2 = {"filterWithTagsFocused":"filterWithTagsFocused_rui_4b23"
|
|
15
15
|
var _excluded = ["className", "listId"];
|
16
16
|
function noop() {}
|
17
17
|
var SelectFilter = /*#__PURE__*/function (_Component) {
|
18
|
-
_inherits(SelectFilter, _Component);
|
19
|
-
var _super = _createSuper(SelectFilter);
|
20
18
|
function SelectFilter() {
|
21
19
|
var _this;
|
22
20
|
_classCallCheck(this, SelectFilter);
|
23
21
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
24
22
|
args[_key] = arguments[_key];
|
25
23
|
}
|
26
|
-
_this =
|
27
|
-
_defineProperty(
|
28
|
-
_defineProperty(
|
24
|
+
_this = _callSuper(this, SelectFilter, [].concat(args));
|
25
|
+
_defineProperty(_this, "input", void 0);
|
26
|
+
_defineProperty(_this, "inputRef", function (el) {
|
29
27
|
_this.input = el;
|
30
28
|
_this.props.inputRef(el);
|
31
29
|
});
|
32
30
|
return _this;
|
33
31
|
}
|
34
|
-
|
32
|
+
_inherits(SelectFilter, _Component);
|
33
|
+
return _createClass(SelectFilter, [{
|
35
34
|
key: "componentWillUnmount",
|
36
35
|
value: function componentWillUnmount() {
|
37
36
|
this.blur();
|
@@ -78,7 +77,6 @@ var SelectFilter = /*#__PURE__*/function (_Component) {
|
|
78
77
|
});
|
79
78
|
}
|
80
79
|
}]);
|
81
|
-
return SelectFilter;
|
82
80
|
}(Component);
|
83
81
|
_defineProperty(SelectFilter, "defaultProps", {
|
84
82
|
inputRef: noop
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, e as _extends, f as _classCallCheck, g as _callSuper } from './_rollupPluginBabelHelpers.js';
|
2
2
|
import React, { PureComponent } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import Link from '../link/link.js';
|
@@ -7,13 +7,12 @@ var modules_74a7bf8b = {"light":"light_rui_2ac4","services":"services_rui_27f4",
|
|
7
7
|
|
8
8
|
var _excluded = ["service"];
|
9
9
|
var ServicesLink = /*#__PURE__*/function (_PureComponent) {
|
10
|
-
_inherits(ServicesLink, _PureComponent);
|
11
|
-
var _super = _createSuper(ServicesLink);
|
12
10
|
function ServicesLink() {
|
13
11
|
_classCallCheck(this, ServicesLink);
|
14
|
-
return
|
12
|
+
return _callSuper(this, ServicesLink, arguments);
|
15
13
|
}
|
16
|
-
|
14
|
+
_inherits(ServicesLink, _PureComponent);
|
15
|
+
return _createClass(ServicesLink, [{
|
17
16
|
key: "render",
|
18
17
|
value: function render() {
|
19
18
|
var _this$props = this.props,
|
@@ -33,7 +32,6 @@ var ServicesLink = /*#__PURE__*/function (_PureComponent) {
|
|
33
32
|
}, service.name)] : service.name);
|
34
33
|
}
|
35
34
|
}]);
|
36
|
-
return ServicesLink;
|
37
35
|
}(PureComponent);
|
38
36
|
_defineProperty(ServicesLink, "propTypes", {
|
39
37
|
isActive: PropTypes.bool,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, e as _extends, f as _classCallCheck, g as _callSuper } from './_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';
|
@@ -11,28 +11,26 @@ var _excluded = ["right", "children", "className", "containerClassName", "fixedC
|
|
11
11
|
var ABOVE = 'above';
|
12
12
|
var INSIDE = 'inside';
|
13
13
|
var Sidebar = /*#__PURE__*/function (_Component) {
|
14
|
-
_inherits(Sidebar, _Component);
|
15
|
-
var _super = _createSuper(Sidebar);
|
16
14
|
function Sidebar() {
|
17
15
|
var _this;
|
18
16
|
_classCallCheck(this, Sidebar);
|
19
17
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
20
18
|
args[_key] = arguments[_key];
|
21
19
|
}
|
22
|
-
_this =
|
23
|
-
_defineProperty(
|
20
|
+
_this = _callSuper(this, Sidebar, [].concat(args));
|
21
|
+
_defineProperty(_this, "state", {
|
24
22
|
topIsOutside: true,
|
25
23
|
bottomIsOutside: true,
|
26
24
|
sidebarVisibleHeight: undefined
|
27
25
|
});
|
28
|
-
_defineProperty(
|
29
|
-
_defineProperty(
|
26
|
+
_defineProperty(_this, "sidebarNode", void 0);
|
27
|
+
_defineProperty(_this, "handleTopWaypoint", function (_ref) {
|
30
28
|
var currentPosition = _ref.currentPosition;
|
31
29
|
_this.setState({
|
32
30
|
topIsOutside: currentPosition === ABOVE
|
33
31
|
});
|
34
32
|
});
|
35
|
-
_defineProperty(
|
33
|
+
_defineProperty(_this, "handleBottomWaypoint", function (_ref2) {
|
36
34
|
var currentPosition = _ref2.currentPosition,
|
37
35
|
waypointTop = _ref2.waypointTop;
|
38
36
|
_this.setState({
|
@@ -40,12 +38,13 @@ var Sidebar = /*#__PURE__*/function (_Component) {
|
|
40
38
|
bottomIsOutside: currentPosition !== INSIDE
|
41
39
|
});
|
42
40
|
});
|
43
|
-
_defineProperty(
|
41
|
+
_defineProperty(_this, "sidebarRef", function (node) {
|
44
42
|
_this.sidebarNode = node;
|
45
43
|
});
|
46
44
|
return _this;
|
47
45
|
}
|
48
|
-
|
46
|
+
_inherits(Sidebar, _Component);
|
47
|
+
return _createClass(Sidebar, [{
|
49
48
|
key: "shouldUseFixation",
|
50
49
|
value: function shouldUseFixation() {
|
51
50
|
var contentNode = this.props.contentNode;
|
@@ -109,7 +108,6 @@ var Sidebar = /*#__PURE__*/function (_Component) {
|
|
109
108
|
})));
|
110
109
|
}
|
111
110
|
}]);
|
112
|
-
return Sidebar;
|
113
111
|
}(Component);
|
114
112
|
_defineProperty(Sidebar, "propTypes", {
|
115
113
|
right: PropTypes.bool,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { c as _objectWithoutProperties } from './_rollupPluginBabelHelpers.js';
|
2
2
|
import React, { memo } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import Link from '../link/link.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { j as _slicedToArray, c as _objectWithoutProperties, e as _extends } from './_rollupPluginBabelHelpers.js';
|
2
2
|
import React, { useState, useEffect, forwardRef, useMemo, useContext } from 'react';
|
3
3
|
import classNames from 'classnames';
|
4
4
|
import { createPortal } from 'react-dom';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, f as _classCallCheck, g as _callSuper } from './_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';
|
@@ -11,25 +11,24 @@ import { refObject } from '../global/prop-types.js';
|
|
11
11
|
var modules_09d014b4 = {"height":"i__const_height_0","compensate":"i__const_compensate_1","light":"light_rui_2ac4","dataListWrapper":"dataListWrapper_rui_be4b","dataList":"dataList_rui_be4b","itemContent":"itemContent_rui_be4b","title":"title_rui_be4b","disabledHover":"disabledHover_rui_be4b","titleSelected":"titleSelected_rui_be4b","titleFocused":"titleFocused_rui_be4b","showMore":"showMore_rui_be4b","boxes":"boxes_rui_be4b","checkboxBox":"checkboxBox_rui_be4b","collapseButton":"collapseButton_rui_be4b","collapseIcon":"collapseIcon_rui_be4b","loadingOverlay":"loadingOverlay_rui_be4b","showMoreLoader":"showMoreLoader_rui_be4b"};
|
12
12
|
|
13
13
|
var Title = /*#__PURE__*/function (_PureComponent) {
|
14
|
-
_inherits(Title, _PureComponent);
|
15
|
-
var _super = _createSuper(Title);
|
16
14
|
function Title() {
|
17
15
|
var _this;
|
18
16
|
_classCallCheck(this, Title);
|
19
17
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
20
18
|
args[_key] = arguments[_key];
|
21
19
|
}
|
22
|
-
_this =
|
23
|
-
_defineProperty(
|
24
|
-
_defineProperty(
|
20
|
+
_this = _callSuper(this, Title, [].concat(args));
|
21
|
+
_defineProperty(_this, "id", getUID('data-list-title'));
|
22
|
+
_defineProperty(_this, "onCheckboxFocus", function () {
|
25
23
|
_this.props.onFocusRestore();
|
26
24
|
});
|
27
|
-
_defineProperty(
|
25
|
+
_defineProperty(_this, "onCheckboxChange", function () {
|
28
26
|
_this.toggleSelection();
|
29
27
|
});
|
30
28
|
return _this;
|
31
29
|
}
|
32
|
-
|
30
|
+
_inherits(Title, _PureComponent);
|
31
|
+
return _createClass(Title, [{
|
33
32
|
key: "toggleSelection",
|
34
33
|
value: function toggleSelection() {
|
35
34
|
var _this$props = this.props,
|
@@ -78,7 +77,6 @@ var Title = /*#__PURE__*/function (_PureComponent) {
|
|
78
77
|
})), collapserExpander), title);
|
79
78
|
}
|
80
79
|
}]);
|
81
|
-
return Title;
|
82
80
|
}(PureComponent);
|
83
81
|
_defineProperty(Title, "defaultProps", {
|
84
82
|
selectable: false,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as
|
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 'core-js/modules/es.object.values.js';
|
4
4
|
import React, { PureComponent } from 'react';
|
@@ -25,15 +25,15 @@ import '../global/memoize.js';
|
|
25
25
|
import 'core-js/modules/es.array.iterator.js';
|
26
26
|
import 'core-js/modules/es.map.js';
|
27
27
|
import 'core-js/modules/es.object.to-string.js';
|
28
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
29
28
|
import 'core-js/modules/es.weak-map.js';
|
29
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
30
30
|
import 'core-js/modules/es.array.reduce.js';
|
31
31
|
import 'core-js/modules/es.object.entries.js';
|
32
|
-
import 'core-js/modules/es.object.assign.js';
|
33
|
-
import 'core-js/modules/web.dom-collections.for-each.js';
|
34
32
|
import 'core-js/modules/es.array.filter.js';
|
35
|
-
import 'core-js/modules/es.
|
33
|
+
import 'core-js/modules/es.object.assign.js';
|
36
34
|
import 'core-js/modules/es.set.js';
|
35
|
+
import 'core-js/modules/es.string.split.js';
|
36
|
+
import 'core-js/modules/web.dom-collections.for-each.js';
|
37
37
|
import '@jetbrains/icons/chevron-10px';
|
38
38
|
import '../link/clickableLink.js';
|
39
39
|
import '../global/controls-height.js';
|
@@ -47,12 +47,12 @@ import '../global/schedule-raf.js';
|
|
47
47
|
import '../shortcuts/shortcuts.js';
|
48
48
|
import 'core-js/modules/es.array.map.js';
|
49
49
|
import '../shortcuts/core.js';
|
50
|
+
import 'core-js/modules/es.array.find-index.js';
|
50
51
|
import 'core-js/modules/es.array.includes.js';
|
51
|
-
import 'core-js/modules/es.string.includes.js';
|
52
52
|
import 'core-js/modules/es.array.slice.js';
|
53
53
|
import 'core-js/modules/es.array.splice.js';
|
54
|
+
import 'core-js/modules/es.string.includes.js';
|
54
55
|
import 'core-js/modules/es.string.match.js';
|
55
|
-
import 'core-js/modules/es.array.find-index.js';
|
56
56
|
import 'combokeys';
|
57
57
|
import '../global/sniffer.js';
|
58
58
|
import 'sniffr';
|
@@ -106,25 +106,23 @@ var TypeToIconColor = {
|
|
106
106
|
* **Alert** is a component for displaying contextual notifications. If you want to display a stack of notifications, use **Alerts** instead.
|
107
107
|
*/
|
108
108
|
var Alert = /*#__PURE__*/function (_PureComponent) {
|
109
|
-
_inherits(Alert, _PureComponent);
|
110
|
-
var _super = _createSuper(Alert);
|
111
109
|
function Alert() {
|
112
110
|
var _this;
|
113
111
|
_classCallCheck(this, Alert);
|
114
112
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
115
113
|
args[_key] = arguments[_key];
|
116
114
|
}
|
117
|
-
_this =
|
118
|
-
_defineProperty(
|
115
|
+
_this = _callSuper(this, Alert, [].concat(args));
|
116
|
+
_defineProperty(_this, "state", {
|
119
117
|
height: null
|
120
118
|
});
|
121
|
-
_defineProperty(
|
122
|
-
_defineProperty(
|
123
|
-
_defineProperty(
|
119
|
+
_defineProperty(_this, "node", void 0);
|
120
|
+
_defineProperty(_this, "hideTimeout", void 0);
|
121
|
+
_defineProperty(_this, "closeRequest", function (event) {
|
124
122
|
_this.startCloseAnimation();
|
125
123
|
return _this.props.onCloseRequest(event);
|
126
124
|
});
|
127
|
-
_defineProperty(
|
125
|
+
_defineProperty(_this, "startCloseAnimation", function () {
|
128
126
|
var height = getRect(_this.node).height;
|
129
127
|
_this.setState({
|
130
128
|
height
|
@@ -134,17 +132,18 @@ var Alert = /*#__PURE__*/function (_PureComponent) {
|
|
134
132
|
* @param {SyntheticEvent} evt
|
135
133
|
* @private
|
136
134
|
*/
|
137
|
-
_defineProperty(
|
135
|
+
_defineProperty(_this, "_handleCaptionsLinksClick", function (evt) {
|
138
136
|
if (evt.target instanceof Element && evt.target.matches('a')) {
|
139
137
|
_this.closeRequest(evt);
|
140
138
|
}
|
141
139
|
});
|
142
|
-
_defineProperty(
|
140
|
+
_defineProperty(_this, "storeAlertRef", function (node) {
|
143
141
|
_this.node = node;
|
144
142
|
});
|
145
143
|
return _this;
|
146
144
|
}
|
147
|
-
|
145
|
+
_inherits(Alert, _PureComponent);
|
146
|
+
return _createClass(Alert, [{
|
148
147
|
key: "componentDidMount",
|
149
148
|
value: function componentDidMount() {
|
150
149
|
if (this.props.timeout > 0) {
|
@@ -251,7 +250,6 @@ var Alert = /*#__PURE__*/function (_PureComponent) {
|
|
251
250
|
}) : '');
|
252
251
|
}
|
253
252
|
}]);
|
254
|
-
return Alert;
|
255
253
|
}(PureComponent);
|
256
254
|
_defineProperty(Alert, "propTypes", {
|
257
255
|
timeout: PropTypes.number,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as
|
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.map.js';
|
3
3
|
import React, { Children, isValidElement, cloneElement, PureComponent } from 'react';
|
4
4
|
import { createPortal } from 'react-dom';
|
@@ -9,13 +9,12 @@ var modules_fc8df42d = {"light":"light_rui_2ac4","alertContainer":"alertContaine
|
|
9
9
|
|
10
10
|
var _excluded = ["children", "className"];
|
11
11
|
var Alerts = /*#__PURE__*/function (_PureComponent) {
|
12
|
-
_inherits(Alerts, _PureComponent);
|
13
|
-
var _super = _createSuper(Alerts);
|
14
12
|
function Alerts() {
|
15
13
|
_classCallCheck(this, Alerts);
|
16
|
-
return
|
14
|
+
return _callSuper(this, Alerts, arguments);
|
17
15
|
}
|
18
|
-
|
16
|
+
_inherits(Alerts, _PureComponent);
|
17
|
+
return _createClass(Alerts, [{
|
19
18
|
key: "render",
|
20
19
|
value: function render() {
|
21
20
|
var _this$props = this.props,
|
@@ -42,7 +41,6 @@ var Alerts = /*#__PURE__*/function (_PureComponent) {
|
|
42
41
|
})), document.body);
|
43
42
|
}
|
44
43
|
}]);
|
45
|
-
return Alerts;
|
46
44
|
}(PureComponent);
|
47
45
|
_defineProperty(Alerts, "propTypes", {
|
48
46
|
children: PropTypes.node,
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import {
|
2
|
-
import 'core-js/modules/es.array.
|
1
|
+
import { b as _createClass, k as _toConsumableArray, c as _objectWithoutProperties, e as _extends, d as _objectSpread2, f as _classCallCheck, _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
|
+
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.array.filter.js';
|
4
|
+
import 'core-js/modules/es.array.map.js';
|
4
5
|
import 'core-js/modules/es.object.to-string.js';
|
5
|
-
import 'core-js/modules/es.array.concat.js';
|
6
6
|
import React from 'react';
|
7
7
|
import { createRoot } from 'react-dom/client';
|
8
8
|
import getUID from '../global/get-uid.js';
|
@@ -26,17 +26,17 @@ import 'core-js/modules/es.string.starts-with.js';
|
|
26
26
|
import '../global/memoize.js';
|
27
27
|
import 'core-js/modules/es.array.iterator.js';
|
28
28
|
import 'core-js/modules/es.map.js';
|
29
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
30
29
|
import 'core-js/modules/es.weak-map.js';
|
30
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
31
31
|
import '../loader-inline/loader-inline.js';
|
32
32
|
import '../global/data-tests.js';
|
33
33
|
import 'core-js/modules/es.array.reduce.js';
|
34
34
|
import 'core-js/modules/es.object.entries.js';
|
35
35
|
import '../global/dom.js';
|
36
36
|
import 'core-js/modules/es.object.assign.js';
|
37
|
-
import 'core-js/modules/web.dom-collections.for-each.js';
|
38
|
-
import 'core-js/modules/es.string.split.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 '../button/button.js';
|
41
41
|
import '@jetbrains/icons/chevron-10px';
|
42
42
|
import '../link/clickableLink.js';
|
@@ -49,12 +49,12 @@ import '../popup/popup.js';
|
|
49
49
|
import '../global/schedule-raf.js';
|
50
50
|
import '../shortcuts/shortcuts.js';
|
51
51
|
import '../shortcuts/core.js';
|
52
|
+
import 'core-js/modules/es.array.find-index.js';
|
52
53
|
import 'core-js/modules/es.array.includes.js';
|
53
|
-
import 'core-js/modules/es.string.includes.js';
|
54
54
|
import 'core-js/modules/es.array.slice.js';
|
55
55
|
import 'core-js/modules/es.array.splice.js';
|
56
|
+
import 'core-js/modules/es.string.includes.js';
|
56
57
|
import 'core-js/modules/es.string.match.js';
|
57
|
-
import 'core-js/modules/es.array.find-index.js';
|
58
58
|
import 'combokeys';
|
59
59
|
import '../global/sniffer.js';
|
60
60
|
import 'sniffr';
|
@@ -77,7 +77,7 @@ var AlertService = /*#__PURE__*/function () {
|
|
77
77
|
_defineProperty(this, "containerElement", document.createElement('div'));
|
78
78
|
_defineProperty(this, "reactRoot", createRoot(this.containerElement));
|
79
79
|
}
|
80
|
-
_createClass(AlertService, [{
|
80
|
+
return _createClass(AlertService, [{
|
81
81
|
key: "_getShowingAlerts",
|
82
82
|
value: function _getShowingAlerts() {
|
83
83
|
return _toConsumableArray(this.showingAlerts);
|
@@ -213,7 +213,6 @@ var AlertService = /*#__PURE__*/function () {
|
|
213
213
|
return this.addAlert(message, Alert.Type.LOADING, timeout);
|
214
214
|
}
|
215
215
|
}]);
|
216
|
-
return AlertService;
|
217
216
|
}();
|
218
217
|
var alertService = new AlertService();
|
219
218
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { b as _createClass, f as _classCallCheck, _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.object.to-string.js';
|
3
3
|
import 'core-js/modules/web.dom-collections.for-each.js';
|
4
4
|
|
@@ -11,7 +11,7 @@ var Analytics = /*#__PURE__*/function () {
|
|
11
11
|
_defineProperty(this, "_plugins", void 0);
|
12
12
|
this._plugins = [];
|
13
13
|
}
|
14
|
-
_createClass(Analytics, [{
|
14
|
+
return _createClass(Analytics, [{
|
15
15
|
key: "config",
|
16
16
|
value: function config(plugins) {
|
17
17
|
this._plugins = plugins;
|
@@ -24,7 +24,6 @@ var Analytics = /*#__PURE__*/function () {
|
|
24
24
|
});
|
25
25
|
}
|
26
26
|
}]);
|
27
|
-
return Analytics;
|
28
27
|
}();
|
29
28
|
var analytics = new Analytics();
|
30
29
|
|