@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,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { d as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import React from 'react';
|
3
3
|
import { createRoot } from 'react-dom/client';
|
4
4
|
import { ControlsHeightContext, getGlobalControlsHeight } from '../global/controls-height.js';
|
@@ -12,8 +12,8 @@ import '@jetbrains/icons/close';
|
|
12
12
|
import '../island/island.js';
|
13
13
|
import '../global/data-tests.js';
|
14
14
|
import 'core-js/modules/es.array.reduce.js';
|
15
|
-
import 'core-js/modules/es.object.to-string.js';
|
16
15
|
import 'core-js/modules/es.object.entries.js';
|
16
|
+
import 'core-js/modules/es.object.to-string.js';
|
17
17
|
import '../island/adaptive-island-hoc.js';
|
18
18
|
import '../global/linear-function.js';
|
19
19
|
import '../_helpers/island.js';
|
@@ -26,24 +26,24 @@ import 'core-js/modules/es.regexp.to-string.js';
|
|
26
26
|
import '../shortcuts/shortcuts.js';
|
27
27
|
import 'core-js/modules/es.array.map.js';
|
28
28
|
import '../shortcuts/core.js';
|
29
|
+
import 'core-js/modules/es.array.find-index.js';
|
29
30
|
import 'core-js/modules/es.array.includes.js';
|
30
|
-
import 'core-js/modules/es.string.includes.js';
|
31
|
-
import 'core-js/modules/es.object.assign.js';
|
32
31
|
import 'core-js/modules/es.array.slice.js';
|
33
32
|
import 'core-js/modules/es.array.splice.js';
|
33
|
+
import 'core-js/modules/es.object.assign.js';
|
34
34
|
import 'core-js/modules/es.regexp.exec.js';
|
35
|
+
import 'core-js/modules/es.string.includes.js';
|
35
36
|
import 'core-js/modules/es.string.match.js';
|
36
|
-
import 'core-js/modules/es.array.find-index.js';
|
37
37
|
import 'combokeys';
|
38
38
|
import '../global/sniffer.js';
|
39
39
|
import 'sniffr';
|
40
40
|
import '../tab-trap/tab-trap.js';
|
41
41
|
import 'core-js/modules/es.array.filter.js';
|
42
42
|
import '../global/dom.js';
|
43
|
-
import 'core-js/modules/web.dom-collections.for-each.js';
|
44
|
-
import 'core-js/modules/es.string.split.js';
|
45
43
|
import 'core-js/modules/es.array.iterator.js';
|
46
44
|
import 'core-js/modules/es.set.js';
|
45
|
+
import 'core-js/modules/es.string.split.js';
|
46
|
+
import 'core-js/modules/web.dom-collections.for-each.js';
|
47
47
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
48
48
|
import '../button/button.js';
|
49
49
|
import '@jetbrains/icons/chevron-10px';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { a as _inherits, b as
|
1
|
+
import { 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';
|
@@ -11,13 +11,12 @@ var modules_9c709e64 = {"p-margin":"10px","light":"light_rui_2ac4","inline":"inl
|
|
11
11
|
* @name Markdown
|
12
12
|
*/
|
13
13
|
var Markdown = /*#__PURE__*/function (_PureComponent) {
|
14
|
-
_inherits(Markdown, _PureComponent);
|
15
|
-
var _super = _createSuper(Markdown);
|
16
14
|
function Markdown() {
|
17
15
|
_classCallCheck(this, Markdown);
|
18
|
-
return
|
16
|
+
return _callSuper(this, Markdown, arguments);
|
19
17
|
}
|
20
|
-
|
18
|
+
_inherits(Markdown, _PureComponent);
|
19
|
+
return _createClass(Markdown, [{
|
21
20
|
key: "render",
|
22
21
|
value: function render() {
|
23
22
|
var _this$props = this.props,
|
@@ -33,7 +32,6 @@ var Markdown = /*#__PURE__*/function (_PureComponent) {
|
|
33
32
|
}, children);
|
34
33
|
}
|
35
34
|
}]);
|
36
|
-
return Markdown;
|
37
35
|
}(PureComponent);
|
38
36
|
Markdown.propTypes = {
|
39
37
|
inline: PropTypes.bool,
|
@@ -1,9 +1,9 @@
|
|
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 '../_helpers/_rollupPluginBabelHelpers.js';
|
2
|
+
import 'core-js/modules/es.symbol.js';
|
3
|
+
import 'core-js/modules/es.symbol.description.js';
|
2
4
|
import 'core-js/modules/es.array.concat.js';
|
3
5
|
import 'core-js/modules/es.array.includes.js';
|
4
6
|
import 'core-js/modules/es.string.includes.js';
|
5
|
-
import 'core-js/modules/es.symbol.js';
|
6
|
-
import 'core-js/modules/es.symbol.description.js';
|
7
7
|
import React, { Component } from 'react';
|
8
8
|
import PropTypes from 'prop-types';
|
9
9
|
import classNames from 'classnames';
|
@@ -14,29 +14,29 @@ import Icon from '../icon/icon.js';
|
|
14
14
|
import { Button } from '../button/button.js';
|
15
15
|
import { I18nContext } from '../i18n/i18n-context.js';
|
16
16
|
import { T as Theme, m as modules_59717246, W as WithThemeClasses, a as ThemeProvider } from '../_helpers/theme.js';
|
17
|
-
import 'core-js/modules/es.object.to-string.js';
|
18
|
-
import 'core-js/modules/web.dom-collections.for-each.js';
|
19
17
|
import 'core-js/modules/es.object.entries.js';
|
20
|
-
import 'core-js/modules/es.
|
18
|
+
import 'core-js/modules/es.object.to-string.js';
|
21
19
|
import 'core-js/modules/es.regexp.exec.js';
|
20
|
+
import 'core-js/modules/es.regexp.to-string.js';
|
22
21
|
import 'core-js/modules/es.string.replace.js';
|
22
|
+
import 'core-js/modules/web.dom-collections.for-each.js';
|
23
23
|
import 'react-dom';
|
24
24
|
import '../global/get-uid.js';
|
25
25
|
import '../global/schedule-raf.js';
|
26
26
|
import '../global/dom.js';
|
27
|
-
import 'core-js/modules/es.object.assign.js';
|
28
27
|
import 'core-js/modules/es.array.filter.js';
|
29
|
-
import 'core-js/modules/es.string.split.js';
|
30
28
|
import 'core-js/modules/es.array.iterator.js';
|
29
|
+
import 'core-js/modules/es.object.assign.js';
|
31
30
|
import 'core-js/modules/es.set.js';
|
31
|
+
import 'core-js/modules/es.string.split.js';
|
32
32
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
33
33
|
import '../shortcuts/shortcuts.js';
|
34
34
|
import 'core-js/modules/es.array.map.js';
|
35
35
|
import '../shortcuts/core.js';
|
36
|
+
import 'core-js/modules/es.array.find-index.js';
|
36
37
|
import 'core-js/modules/es.array.slice.js';
|
37
38
|
import 'core-js/modules/es.array.splice.js';
|
38
39
|
import 'core-js/modules/es.string.match.js';
|
39
|
-
import 'core-js/modules/es.array.find-index.js';
|
40
40
|
import 'combokeys';
|
41
41
|
import '../global/sniffer.js';
|
42
42
|
import 'sniffr';
|
@@ -134,31 +134,30 @@ var getTailOffsets = function getTailOffsets(offset) {
|
|
134
134
|
* Displays a popup containing a message.
|
135
135
|
*/
|
136
136
|
var Message = /*#__PURE__*/function (_Component) {
|
137
|
-
_inherits(Message, _Component);
|
138
|
-
var _super = _createSuper(Message);
|
139
137
|
function Message() {
|
140
138
|
var _this;
|
141
139
|
_classCallCheck(this, Message);
|
142
140
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
143
141
|
args[_key] = arguments[_key];
|
144
142
|
}
|
145
|
-
_this =
|
146
|
-
_defineProperty(
|
147
|
-
_defineProperty(
|
143
|
+
_this = _callSuper(this, Message, [].concat(args));
|
144
|
+
_defineProperty(_this, "state", {});
|
145
|
+
_defineProperty(_this, "_onDirectionChange", function (direction) {
|
148
146
|
return _this.setState({
|
149
147
|
direction
|
150
148
|
});
|
151
149
|
});
|
152
|
-
_defineProperty(
|
153
|
-
_defineProperty(
|
154
|
-
_defineProperty(
|
150
|
+
_defineProperty(_this, "popup", void 0);
|
151
|
+
_defineProperty(_this, "node", void 0);
|
152
|
+
_defineProperty(_this, "popupRef", function (el) {
|
155
153
|
var _this$popup;
|
156
154
|
_this.popup = el;
|
157
155
|
_this.node = (_this$popup = _this.popup) === null || _this$popup === void 0 ? void 0 : _this$popup.node;
|
158
156
|
});
|
159
157
|
return _this;
|
160
158
|
}
|
161
|
-
|
159
|
+
_inherits(Message, _Component);
|
160
|
+
return _createClass(Message, [{
|
162
161
|
key: "getTailOffset",
|
163
162
|
value: function getTailOffset() {
|
164
163
|
var _this$popup2;
|
@@ -239,7 +238,6 @@ var Message = /*#__PURE__*/function (_Component) {
|
|
239
238
|
});
|
240
239
|
}
|
241
240
|
}]);
|
242
|
-
return Message;
|
243
241
|
}(Component);
|
244
242
|
_defineProperty(Message, "defaultProps", {
|
245
243
|
icon: gift,
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import 'core-js/modules/es.array.concat.js';
|
2
2
|
import { isBrowserInWhiteList } from './white-list.js';
|
3
3
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
4
|
+
import 'core-js/modules/es.array.includes.js';
|
4
5
|
import 'core-js/modules/es.array.reduce.js';
|
5
6
|
import 'core-js/modules/es.object.to-string.js';
|
6
7
|
import 'core-js/modules/es.regexp.exec.js';
|
7
8
|
import 'core-js/modules/es.string.match.js';
|
8
|
-
import 'core-js/modules/es.array.includes.js';
|
9
9
|
import '../global/sniffer.js';
|
10
10
|
import 'sniffr';
|
11
11
|
|
@@ -2,10 +2,10 @@ export { stop as default } from './old-browsers-message.js';
|
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import './white-list.js';
|
4
4
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
5
|
+
import 'core-js/modules/es.array.includes.js';
|
5
6
|
import 'core-js/modules/es.array.reduce.js';
|
6
7
|
import 'core-js/modules/es.object.to-string.js';
|
7
8
|
import 'core-js/modules/es.regexp.exec.js';
|
8
9
|
import 'core-js/modules/es.string.match.js';
|
9
|
-
import 'core-js/modules/es.array.includes.js';
|
10
10
|
import '../global/sniffer.js';
|
11
11
|
import 'sniffr';
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { j as _slicedToArray, d as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
|
+
import 'core-js/modules/es.array.includes.js';
|
2
3
|
import 'core-js/modules/es.array.reduce.js';
|
3
4
|
import 'core-js/modules/es.object.to-string.js';
|
4
5
|
import 'core-js/modules/es.regexp.exec.js';
|
5
6
|
import 'core-js/modules/es.string.match.js';
|
6
|
-
import 'core-js/modules/es.array.includes.js';
|
7
7
|
import sniffr from '../global/sniffer.js';
|
8
8
|
import 'sniffr';
|
9
9
|
|
@@ -1,7 +1,7 @@
|
|
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 '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
|
-
import 'core-js/modules/es.array.map.js';
|
4
3
|
import 'core-js/modules/es.array.find.js';
|
4
|
+
import 'core-js/modules/es.array.map.js';
|
5
5
|
import 'core-js/modules/es.object.to-string.js';
|
6
6
|
import React, { PureComponent } from 'react';
|
7
7
|
import PropTypes from 'prop-types';
|
@@ -28,20 +28,20 @@ import 'core-js/modules/es.string.replace.js';
|
|
28
28
|
import 'core-js/modules/es.string.starts-with.js';
|
29
29
|
import 'core-js/modules/es.array.iterator.js';
|
30
30
|
import 'core-js/modules/es.map.js';
|
31
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
32
31
|
import 'core-js/modules/es.weak-map.js';
|
32
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
33
33
|
import 'core-js/modules/es.string.split.js';
|
34
34
|
import '../global/data-tests.js';
|
35
35
|
import 'core-js/modules/es.array.reduce.js';
|
36
36
|
import 'core-js/modules/es.object.entries.js';
|
37
37
|
import '../_helpers/caption.js';
|
38
|
-
import 'core-js/modules/es.array.index-of.js';
|
39
|
-
import 'core-js/modules/es.string.trim.js';
|
40
38
|
import 'core-js/modules/es.array.filter.js';
|
41
|
-
import 'core-js/modules/
|
39
|
+
import 'core-js/modules/es.array.index-of.js';
|
42
40
|
import 'core-js/modules/es.array.slice.js';
|
43
41
|
import 'core-js/modules/es.object.assign.js';
|
44
42
|
import 'core-js/modules/es.object.values.js';
|
43
|
+
import 'core-js/modules/es.string.trim.js';
|
44
|
+
import 'core-js/modules/web.dom-collections.for-each.js';
|
45
45
|
import '@jetbrains/icons/chevron-down';
|
46
46
|
import '@jetbrains/icons/close-12px';
|
47
47
|
import 'deep-equal';
|
@@ -62,10 +62,10 @@ import 'react-dom';
|
|
62
62
|
import '../global/schedule-raf.js';
|
63
63
|
import '../shortcuts/shortcuts.js';
|
64
64
|
import '../shortcuts/core.js';
|
65
|
+
import 'core-js/modules/es.array.find-index.js';
|
65
66
|
import 'core-js/modules/es.array.includes.js';
|
66
|
-
import 'core-js/modules/es.string.includes.js';
|
67
67
|
import 'core-js/modules/es.array.splice.js';
|
68
|
-
import 'core-js/modules/es.
|
68
|
+
import 'core-js/modules/es.string.includes.js';
|
69
69
|
import 'combokeys';
|
70
70
|
import '../global/sniffer.js';
|
71
71
|
import 'sniffr';
|
@@ -116,21 +116,19 @@ import '../i18n/i18n.js';
|
|
116
116
|
var modules_1a5f0d42 = {"light":"light_rui_2ac4","pager":"pager_rui_ad65","links":"links_rui_ad65","link":"link_rui_ad65","linkDisabled":"linkDisabled_rui_ad65"};
|
117
117
|
|
118
118
|
var Pager = /*#__PURE__*/function (_PureComponent) {
|
119
|
-
_inherits(Pager, _PureComponent);
|
120
|
-
var _super = _createSuper(Pager);
|
121
119
|
function Pager() {
|
122
120
|
var _this;
|
123
121
|
_classCallCheck(this, Pager);
|
124
122
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
125
123
|
args[_key] = arguments[_key];
|
126
124
|
}
|
127
|
-
_this =
|
128
|
-
_defineProperty(
|
125
|
+
_this = _callSuper(this, Pager, [].concat(args));
|
126
|
+
_defineProperty(_this, "handlePageSizeChange", function (item) {
|
129
127
|
if (item != null) {
|
130
128
|
_this.props.onPageSizeChange(item.key);
|
131
129
|
}
|
132
130
|
});
|
133
|
-
_defineProperty(
|
131
|
+
_defineProperty(_this, "handlePrevClick", function () {
|
134
132
|
var currentPage = _this.props.currentPage;
|
135
133
|
if (currentPage !== 1) {
|
136
134
|
var _this$props$onPageCha, _this$props;
|
@@ -138,7 +136,7 @@ var Pager = /*#__PURE__*/function (_PureComponent) {
|
|
138
136
|
(_this$props$onPageCha = (_this$props = _this.props).onPageChange) === null || _this$props$onPageCha === void 0 || _this$props$onPageCha.call(_this$props, prevPage);
|
139
137
|
}
|
140
138
|
});
|
141
|
-
_defineProperty(
|
139
|
+
_defineProperty(_this, "handleNextClick", function () {
|
142
140
|
var _this$props2 = _this.props,
|
143
141
|
currentPage = _this$props2.currentPage,
|
144
142
|
onLoadPage = _this$props2.onLoadPage;
|
@@ -151,20 +149,21 @@ var Pager = /*#__PURE__*/function (_PureComponent) {
|
|
151
149
|
onLoadPage(nextPage);
|
152
150
|
}
|
153
151
|
});
|
154
|
-
_defineProperty(
|
152
|
+
_defineProperty(_this, "handlePageChange", memoize(function (i) {
|
155
153
|
return function (event) {
|
156
154
|
var _this$props$onPageCha3, _this$props4;
|
157
155
|
(_this$props$onPageCha3 = (_this$props4 = _this.props).onPageChange) === null || _this$props$onPageCha3 === void 0 || _this$props$onPageCha3.call(_this$props4, i, event);
|
158
156
|
};
|
159
157
|
}));
|
160
|
-
_defineProperty(
|
158
|
+
_defineProperty(_this, "handleLoadMore", memoize(function (i) {
|
161
159
|
return function () {
|
162
160
|
_this.props.onLoadPage(i);
|
163
161
|
};
|
164
162
|
}));
|
165
163
|
return _this;
|
166
164
|
}
|
167
|
-
|
165
|
+
_inherits(Pager, _PureComponent);
|
166
|
+
return _createClass(Pager, [{
|
168
167
|
key: "getSelectOptions",
|
169
168
|
value: function getSelectOptions() {
|
170
169
|
var _this2 = this;
|
@@ -351,7 +350,6 @@ var Pager = /*#__PURE__*/function (_PureComponent) {
|
|
351
350
|
}, this.getTotalPages() > 1 || this.props.openTotal ? this.getPagerContent() : this.getPageSizeSelector());
|
352
351
|
}
|
353
352
|
}]);
|
354
|
-
return Pager;
|
355
353
|
}(PureComponent);
|
356
354
|
_defineProperty(Pager, "defaultProps", {
|
357
355
|
currentPage: 1,
|
@@ -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 React, { PureComponent } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import classNames from 'classnames';
|
@@ -10,13 +10,12 @@ var _excluded = ["className", "children"];
|
|
10
10
|
* @name Panel
|
11
11
|
*/
|
12
12
|
var Panel = /*#__PURE__*/function (_PureComponent) {
|
13
|
-
_inherits(Panel, _PureComponent);
|
14
|
-
var _super = _createSuper(Panel);
|
15
13
|
function Panel() {
|
16
14
|
_classCallCheck(this, Panel);
|
17
|
-
return
|
15
|
+
return _callSuper(this, Panel, arguments);
|
18
16
|
}
|
19
|
-
|
17
|
+
_inherits(Panel, _PureComponent);
|
18
|
+
return _createClass(Panel, [{
|
20
19
|
key: "render",
|
21
20
|
value: function render() {
|
22
21
|
var _this$props = this.props,
|
@@ -29,7 +28,6 @@ var Panel = /*#__PURE__*/function (_PureComponent) {
|
|
29
28
|
}), children);
|
30
29
|
}
|
31
30
|
}]);
|
32
|
-
return Panel;
|
33
31
|
}(PureComponent);
|
34
32
|
_defineProperty(Panel, "propTypes", {
|
35
33
|
className: PropTypes.string,
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { _ as _defineProperty,
|
2
|
-
import 'core-js/modules/es.object.to-string.js';
|
3
|
-
import 'core-js/modules/es.promise.js';
|
1
|
+
import { _ as _defineProperty, b as _createClass, f as _classCallCheck } from '../_helpers/_rollupPluginBabelHelpers.js';
|
4
2
|
import 'core-js/modules/es.array.index-of.js';
|
5
3
|
import 'core-js/modules/es.array.map.js';
|
4
|
+
import 'core-js/modules/es.object.to-string.js';
|
5
|
+
import 'core-js/modules/es.promise.js';
|
6
6
|
import PermissionCache from './permissions__cache.js';
|
7
7
|
import 'core-js/modules/es.array.reduce.js';
|
8
8
|
|
@@ -61,7 +61,7 @@ var Permissions = /*#__PURE__*/function () {
|
|
61
61
|
this._subscribed = false;
|
62
62
|
this._permissionCache = new PermissionCache(null, this.namesConverter);
|
63
63
|
}
|
64
|
-
_createClass(Permissions, [{
|
64
|
+
return _createClass(Permissions, [{
|
65
65
|
key: "set",
|
66
66
|
value: function set(cachedPermissions) {
|
67
67
|
this._permissionCache.set(cachedPermissions);
|
@@ -211,7 +211,6 @@ var Permissions = /*#__PURE__*/function () {
|
|
211
211
|
}).join(' or ');
|
212
212
|
}
|
213
213
|
}]);
|
214
|
-
return Permissions;
|
215
214
|
}();
|
216
215
|
/**
|
217
216
|
* @const {string}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty,
|
1
|
+
import { _ as _defineProperty, b as _createClass, f as _classCallCheck } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.reduce.js';
|
3
3
|
import 'core-js/modules/es.object.to-string.js';
|
4
4
|
|
@@ -26,7 +26,7 @@ var PermissionCache = /*#__PURE__*/function () {
|
|
26
26
|
};
|
27
27
|
this.set(permissions);
|
28
28
|
}
|
29
|
-
_createClass(PermissionCache, [{
|
29
|
+
return _createClass(PermissionCache, [{
|
30
30
|
key: "set",
|
31
31
|
value: function set(permissions) {
|
32
32
|
var _this = this;
|
@@ -250,7 +250,6 @@ var PermissionCache = /*#__PURE__*/function () {
|
|
250
250
|
return projectIdSet;
|
251
251
|
}
|
252
252
|
}]);
|
253
|
-
return PermissionCache;
|
254
253
|
}();
|
255
254
|
_defineProperty(PermissionCache, "GLOBAL_PROJECT_ID", 'global');
|
256
255
|
|
@@ -1,38 +1,38 @@
|
|
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, d as _objectSpread2, j as _slicedToArray } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
|
-
import 'core-js/modules/es.object.to-string.js';
|
4
|
-
import 'core-js/modules/web.dom-collections.for-each.js';
|
5
3
|
import 'core-js/modules/es.object.entries.js';
|
6
|
-
import 'core-js/modules/es.
|
4
|
+
import 'core-js/modules/es.object.to-string.js';
|
7
5
|
import 'core-js/modules/es.regexp.exec.js';
|
6
|
+
import 'core-js/modules/es.regexp.to-string.js';
|
8
7
|
import 'core-js/modules/es.string.replace.js';
|
8
|
+
import 'core-js/modules/web.dom-collections.for-each.js';
|
9
9
|
import React, { PureComponent } from 'react';
|
10
10
|
import { createPortal } from 'react-dom';
|
11
11
|
import PropTypes from 'prop-types';
|
12
12
|
import classNames from 'classnames';
|
13
13
|
import getUID from '../global/get-uid.js';
|
14
14
|
import scheduleRAF from '../global/schedule-raf.js';
|
15
|
-
import {
|
15
|
+
import { getStyles, Listeners } from '../global/dom.js';
|
16
16
|
import Shortcuts from '../shortcuts/shortcuts.js';
|
17
17
|
import joinDataTestAttributes from '../global/data-tests.js';
|
18
18
|
import TabTrap from '../tab-trap/tab-trap.js';
|
19
19
|
import position from './position.js';
|
20
20
|
import { Display, DEFAULT_DIRECTIONS, Directions, Dimension, MinWidth, MaxHeight } from './popup.consts.js';
|
21
21
|
import { PopupTargetContext, PopupTarget } from './popup.target.js';
|
22
|
-
import 'core-js/modules/es.object.assign.js';
|
23
22
|
import 'core-js/modules/es.array.filter.js';
|
24
|
-
import 'core-js/modules/es.string.split.js';
|
25
23
|
import 'core-js/modules/es.array.iterator.js';
|
24
|
+
import 'core-js/modules/es.object.assign.js';
|
26
25
|
import 'core-js/modules/es.set.js';
|
26
|
+
import 'core-js/modules/es.string.split.js';
|
27
27
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
28
28
|
import 'core-js/modules/es.array.map.js';
|
29
29
|
import '../shortcuts/core.js';
|
30
|
+
import 'core-js/modules/es.array.find-index.js';
|
30
31
|
import 'core-js/modules/es.array.includes.js';
|
31
|
-
import 'core-js/modules/es.string.includes.js';
|
32
32
|
import 'core-js/modules/es.array.slice.js';
|
33
33
|
import 'core-js/modules/es.array.splice.js';
|
34
|
+
import 'core-js/modules/es.string.includes.js';
|
34
35
|
import 'core-js/modules/es.string.match.js';
|
35
|
-
import 'core-js/modules/es.array.find-index.js';
|
36
36
|
import 'combokeys';
|
37
37
|
import '../global/sniffer.js';
|
38
38
|
import 'sniffr';
|
@@ -81,46 +81,44 @@ var getPopupContainer = function getPopupContainer(target) {
|
|
81
81
|
* @extends {ReactComponent}
|
82
82
|
*/
|
83
83
|
var Popup = /*#__PURE__*/function (_PureComponent) {
|
84
|
-
_inherits(Popup, _PureComponent);
|
85
|
-
var _super = _createSuper(Popup);
|
86
84
|
function Popup() {
|
87
85
|
var _this;
|
88
86
|
_classCallCheck(this, Popup);
|
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 =
|
93
|
-
_defineProperty(
|
90
|
+
_this = _callSuper(this, Popup, [].concat(args));
|
91
|
+
_defineProperty(_this, "state", {
|
94
92
|
display: Display.SHOWING
|
95
93
|
});
|
96
|
-
_defineProperty(
|
97
|
-
_defineProperty(
|
98
|
-
_defineProperty(
|
99
|
-
_defineProperty(
|
100
|
-
_defineProperty(
|
101
|
-
_defineProperty(
|
102
|
-
_defineProperty(
|
103
|
-
_defineProperty(
|
104
|
-
_defineProperty(
|
94
|
+
_defineProperty(_this, "popup", void 0);
|
95
|
+
_defineProperty(_this, "node", void 0);
|
96
|
+
_defineProperty(_this, "parent", void 0);
|
97
|
+
_defineProperty(_this, "container", void 0);
|
98
|
+
_defineProperty(_this, "ringPopupTarget", void 0);
|
99
|
+
_defineProperty(_this, "listeners", new Listeners());
|
100
|
+
_defineProperty(_this, "redrawScheduler", scheduleRAF(true));
|
101
|
+
_defineProperty(_this, "uid", getUID('popup-'));
|
102
|
+
_defineProperty(_this, "calculateDisplay", function (prevState) {
|
105
103
|
return _objectSpread2(_objectSpread2({}, prevState), {}, {
|
106
104
|
display: _this.props.hidden ? Display.SHOWING : Display.SHOWN
|
107
105
|
});
|
108
106
|
});
|
109
|
-
_defineProperty(
|
107
|
+
_defineProperty(_this, "portalRef", function (el) {
|
110
108
|
_this.node = el;
|
111
109
|
_this.parent = el && el.parentElement;
|
112
110
|
if (el && _this.getContainer()) {
|
113
111
|
_this._redraw();
|
114
112
|
}
|
115
113
|
});
|
116
|
-
_defineProperty(
|
114
|
+
_defineProperty(_this, "popupRef", function (el) {
|
117
115
|
_this.popup = el;
|
118
116
|
_this._redraw();
|
119
117
|
});
|
120
|
-
_defineProperty(
|
118
|
+
_defineProperty(_this, "containerRef", function (el) {
|
121
119
|
_this.container = el;
|
122
120
|
});
|
123
|
-
_defineProperty(
|
121
|
+
_defineProperty(_this, "_updateDirection", function (newDirection) {
|
124
122
|
if (_this.state.direction !== newDirection) {
|
125
123
|
_this.setState({
|
126
124
|
direction: newDirection
|
@@ -130,7 +128,7 @@ var Popup = /*#__PURE__*/function (_PureComponent) {
|
|
130
128
|
}
|
131
129
|
}
|
132
130
|
});
|
133
|
-
_defineProperty(
|
131
|
+
_defineProperty(_this, "_updatePosition", function () {
|
134
132
|
var popup = _this.popup;
|
135
133
|
if (popup) {
|
136
134
|
popup.style.position = 'absolute';
|
@@ -156,13 +154,13 @@ var Popup = /*#__PURE__*/function (_PureComponent) {
|
|
156
154
|
_this.setState(_this.calculateDisplay);
|
157
155
|
}
|
158
156
|
});
|
159
|
-
_defineProperty(
|
157
|
+
_defineProperty(_this, "_redraw", function () {
|
160
158
|
if (_this.isVisible()) {
|
161
159
|
_this.redrawScheduler(_this._updatePosition);
|
162
160
|
}
|
163
161
|
});
|
164
|
-
_defineProperty(
|
165
|
-
_defineProperty(
|
162
|
+
_defineProperty(_this, "_listenersEnabled", void 0);
|
163
|
+
_defineProperty(_this, "_onEscPress", function (evt) {
|
166
164
|
_this.props.onEscPress(evt);
|
167
165
|
_this._onCloseAttempt(evt, true);
|
168
166
|
});
|
@@ -170,7 +168,7 @@ var Popup = /*#__PURE__*/function (_PureComponent) {
|
|
170
168
|
* @param {jQuery.Event} evt
|
171
169
|
* @private
|
172
170
|
*/
|
173
|
-
_defineProperty(
|
171
|
+
_defineProperty(_this, "_onDocumentClick", function (evt) {
|
174
172
|
var _this$_getAnchor;
|
175
173
|
if (_this.container && evt.target instanceof Node && _this.container.contains(evt.target) || !_this._listenersEnabled || _this.props.dontCloseOnAnchorClick && evt.target instanceof Node && (_this$_getAnchor = _this._getAnchor()) !== null && _this$_getAnchor !== void 0 && _this$_getAnchor.contains(evt.target)) {
|
176
174
|
return;
|
@@ -178,13 +176,14 @@ var Popup = /*#__PURE__*/function (_PureComponent) {
|
|
178
176
|
_this.props.onOutsideClick(evt);
|
179
177
|
_this._onCloseAttempt(evt, false);
|
180
178
|
});
|
181
|
-
_defineProperty(
|
182
|
-
_defineProperty(
|
179
|
+
_defineProperty(_this, "shortcutsScope", _this.uid);
|
180
|
+
_defineProperty(_this, "shortcutsMap", {
|
183
181
|
esc: _this._onEscPress
|
184
182
|
});
|
185
183
|
return _this;
|
186
184
|
}
|
187
|
-
|
185
|
+
_inherits(Popup, _PureComponent);
|
186
|
+
return _createClass(Popup, [{
|
188
187
|
key: "componentDidMount",
|
189
188
|
value: function componentDidMount() {
|
190
189
|
if (!this.props.client) {
|
@@ -379,7 +378,6 @@ var Popup = /*#__PURE__*/function (_PureComponent) {
|
|
379
378
|
});
|
380
379
|
}
|
381
380
|
}]);
|
382
|
-
return Popup;
|
383
381
|
}(PureComponent);
|
384
382
|
_defineProperty(Popup, "defaultProps", {
|
385
383
|
shortcuts: true,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { c as _objectWithoutProperties, e as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import React, { createContext, forwardRef } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
|
@@ -1,20 +1,20 @@
|
|
1
|
-
import {
|
1
|
+
import { d as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
|
+
import 'core-js/modules/es.array.concat.js';
|
3
|
+
import 'core-js/modules/es.array.filter.js';
|
2
4
|
import 'core-js/modules/es.array.includes.js';
|
3
|
-
import 'core-js/modules/es.string.includes.js';
|
4
|
-
import 'core-js/modules/es.array.sort.js';
|
5
5
|
import 'core-js/modules/es.array.map.js';
|
6
|
-
import 'core-js/modules/es.array.
|
6
|
+
import 'core-js/modules/es.array.sort.js';
|
7
7
|
import 'core-js/modules/es.object.to-string.js';
|
8
|
-
import 'core-js/modules/es.
|
8
|
+
import 'core-js/modules/es.string.includes.js';
|
9
9
|
import { getRect, isMounted, getDocumentScrollTop, getDocumentScrollLeft, getWindowHeight } from '../global/dom.js';
|
10
10
|
import { MaxHeight, Dimension, MinWidth, Directions } from './popup.consts.js';
|
11
|
+
import 'core-js/modules/es.array.iterator.js';
|
11
12
|
import 'core-js/modules/es.object.assign.js';
|
12
|
-
import 'core-js/modules/web.dom-collections.for-each.js';
|
13
|
-
import 'core-js/modules/es.regexp.exec.js';
|
14
|
-
import 'core-js/modules/es.string.split.js';
|
15
13
|
import 'core-js/modules/es.object.entries.js';
|
16
|
-
import 'core-js/modules/es.
|
14
|
+
import 'core-js/modules/es.regexp.exec.js';
|
17
15
|
import 'core-js/modules/es.set.js';
|
16
|
+
import 'core-js/modules/es.string.split.js';
|
17
|
+
import 'core-js/modules/web.dom-collections.for-each.js';
|
18
18
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
19
19
|
|
20
20
|
function getScrollingCoordinates(container) {
|