@jetbrains/ring-ui 5.0.160 → 5.0.162
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/global/react-render-adapter.js +3 -0
- package/components/select/select.d.ts +3 -1
- package/components/select/select.js +10 -2
- package/components/select/select__popup.d.ts +2 -1
- package/components/select/select__popup.js +8 -1
- package/dist/_helpers/_rollupPluginBabelHelpers.js +1 -1
- package/dist/_helpers/anchor.js +1 -1
- package/dist/_helpers/button__classes.js +1 -1
- package/dist/_helpers/card.js +1 -1
- package/dist/_helpers/footer.js +1 -1
- package/dist/_helpers/query-assist__suggestions.js +1 -1
- package/dist/_helpers/select__filter.js +1 -1
- package/dist/_helpers/services-link.js +1 -1
- package/dist/_helpers/sidebar.js +1 -1
- package/dist/_helpers/theme.js +1 -1
- package/dist/_helpers/title.js +1 -1
- package/dist/alert/alert.js +1 -1
- package/dist/alert/container.js +1 -1
- package/dist/alert-service/alert-service.js +1 -1
- package/dist/analytics/analytics.js +1 -1
- package/dist/analytics/analytics__custom-plugin.js +1 -1
- package/dist/analytics/analytics__fus-plugin.js +1 -1
- package/dist/analytics/analytics__ga-plugin.js +1 -1
- package/dist/auth/auth.js +1 -1
- package/dist/auth/auth__core.js +1 -1
- package/dist/auth/background-flow.js +1 -1
- package/dist/auth/down-notification.js +1 -1
- package/dist/auth/iframe-flow.js +2 -2
- package/dist/auth/landing.js +5 -5
- package/dist/auth/request-builder.js +1 -1
- package/dist/auth/response-parser.js +1 -1
- package/dist/auth/storage.js +1 -1
- package/dist/auth/token-validator.js +1 -1
- package/dist/auth/window-flow.js +1 -1
- package/dist/auth-dialog/auth-dialog.js +1 -1
- package/dist/auth-dialog-service/auth-dialog-service.js +1 -1
- package/dist/avatar/avatar.js +1 -1
- package/dist/avatar/fallback-avatar.js +1 -1
- package/dist/avatar-editor-ng/avatar-editor-ng.js +2 -2
- package/dist/badge/badge.js +1 -1
- package/dist/breadcrumb-ng/breadcrumb-ng.js +2 -2
- package/dist/button/button.js +1 -1
- package/dist/button-group/button-group.js +1 -1
- package/dist/button-group/caption.js +1 -1
- package/dist/button-group-ng/button-group-ng.js +1 -1
- package/dist/button-ng/button-ng.js +3 -3
- package/dist/button-set/button-set.js +1 -1
- package/dist/button-toolbar/button-toolbar.js +1 -1
- package/dist/button-toolbar-ng/button-toolbar-ng.js +1 -1
- package/dist/caret/caret.js +1 -1
- package/dist/checkbox/checkbox.js +1 -1
- package/dist/clipboard/clipboard.js +1 -1
- package/dist/code/code.js +1 -1
- package/dist/confirm/confirm.js +1 -1
- package/dist/confirm-ng/confirm-ng.js +2 -2
- package/dist/confirm-service/confirm-service.js +1 -1
- package/dist/content-layout/content-layout.js +1 -1
- package/dist/contenteditable/contenteditable.js +1 -1
- package/dist/control-label/control-label.js +1 -1
- package/dist/data-list/data-list.js +2 -2
- package/dist/data-list/item.js +1 -1
- package/dist/data-list/selection.js +1 -1
- package/dist/date-picker/date-input.js +1 -1
- package/dist/date-picker/date-picker.js +1 -1
- package/dist/date-picker/date-popup.js +2 -2
- package/dist/date-picker/day.js +1 -1
- package/dist/date-picker/month-names.js +1 -1
- package/dist/date-picker/month-slider.js +1 -1
- package/dist/date-picker/month.js +1 -1
- package/dist/date-picker/months.js +1 -1
- package/dist/date-picker/weekdays.js +1 -1
- package/dist/date-picker/years.js +1 -1
- package/dist/dialog/dialog.js +3 -3
- package/dist/dialog-ng/dialog-ng.js +9 -9
- package/dist/dropdown/dropdown.js +1 -1
- package/dist/dropdown-menu/dropdown-menu.js +1 -1
- package/dist/editable-heading/editable-heading.js +1 -1
- package/dist/error-bubble/error-bubble.js +1 -1
- package/dist/error-message/error-message.js +1 -1
- package/dist/error-message-ng/error-message-ng.js +2 -2
- package/dist/footer-ng/footer-ng.js +1 -1
- package/dist/form-ng/form-ng.js +2 -2
- package/dist/global/angular-component-factory.js +1 -1
- package/dist/global/create-stateful-context.js +1 -1
- package/dist/global/data-tests.js +1 -1
- package/dist/global/dom.js +1 -1
- package/dist/global/focus-sensor-hoc.js +1 -1
- package/dist/global/inject-styles.js +1 -1
- package/dist/global/listeners.js +1 -1
- package/dist/global/normalize-indent.js +1 -1
- package/dist/global/react-dom-renderer.js +1 -1
- package/dist/global/react-render-adapter.js +2 -0
- package/dist/global/rerender-hoc.js +1 -1
- package/dist/global/ring-angular-component.js +1 -1
- package/dist/global/trivial-template-tag.js +1 -1
- package/dist/grid/col.js +1 -1
- package/dist/grid/grid.js +1 -1
- package/dist/grid/row.js +1 -1
- package/dist/group/group.js +1 -1
- package/dist/header/header.js +1 -1
- package/dist/header/logo.js +1 -1
- package/dist/header/profile.js +1 -1
- package/dist/header/services.js +1 -1
- package/dist/header/smart-profile.js +1 -1
- package/dist/header/smart-services.js +1 -1
- package/dist/header/tray-icon.js +1 -1
- package/dist/header/tray.js +1 -1
- package/dist/heading/heading.js +1 -1
- package/dist/http/http.js +1 -1
- package/dist/http/http.mock.js +1 -1
- package/dist/hub-source/hub-source.js +1 -1
- package/dist/hub-source/hub-source__user.js +1 -1
- package/dist/hub-source/hub-source__users-groups.js +1 -1
- package/dist/i18n/i18n.js +1 -1
- package/dist/icon/icon.js +1 -1
- package/dist/icon/icon__svg.js +1 -1
- package/dist/icon-ng/icon-ng.js +1 -1
- package/dist/input/input.js +1 -1
- package/dist/input-ng/input-ng.js +3 -3
- package/dist/island/adaptive-island-hoc.js +1 -1
- package/dist/island/content.js +1 -1
- package/dist/island/header.js +1 -1
- package/dist/island/island.js +1 -1
- package/dist/island-legacy/content-legacy.js +1 -1
- package/dist/island-legacy/header-legacy.js +1 -1
- package/dist/island-legacy/island-legacy.js +1 -1
- package/dist/island-ng/island-ng.js +1 -1
- package/dist/link/clickableLink.js +1 -1
- package/dist/link/link.js +1 -1
- package/dist/link-ng/link-ng.js +2 -2
- package/dist/list/list.js +1 -1
- package/dist/list/list__custom.js +1 -1
- package/dist/list/list__hint.js +1 -1
- package/dist/list/list__item.js +1 -1
- package/dist/list/list__link.js +1 -1
- package/dist/list/list__separator.js +1 -1
- package/dist/list/list__title.js +1 -1
- package/dist/list/list__users-groups-source.js +1 -1
- package/dist/loader/loader.js +1 -1
- package/dist/loader/loader__core.js +1 -1
- package/dist/loader-inline/loader-inline.js +1 -1
- package/dist/loader-ng/loader-ng.js +1 -1
- package/dist/loader-screen/loader-screen.js +1 -1
- package/dist/login-dialog/login-dialog.js +1 -1
- package/dist/login-dialog/service.js +1 -1
- package/dist/markdown/markdown.js +1 -1
- package/dist/message/message.js +1 -1
- package/dist/message-bundle-ng/message-bundle-ng.js +2 -2
- package/dist/old-browsers-message/white-list.js +1 -1
- package/dist/pager/pager.js +1 -1
- package/dist/panel/panel.js +1 -1
- package/dist/permissions/permissions.js +1 -1
- package/dist/permissions/permissions__cache.js +1 -1
- package/dist/permissions-ng/permissions-ng.js +1 -1
- package/dist/popup/popup.js +1 -1
- package/dist/popup/popup.target.js +1 -1
- package/dist/popup/position.js +1 -1
- package/dist/popup-menu/popup-menu.js +1 -1
- package/dist/progress-bar/progress-bar.js +1 -1
- package/dist/promised-click-ng/promised-click-ng.js +1 -1
- package/dist/query-assist/query-assist.js +1 -1
- package/dist/radio/radio.js +1 -1
- package/dist/radio/radio__item.js +1 -1
- package/dist/save-field-ng/save-field-ng.js +6 -6
- package/dist/select/select.d.ts +3 -1
- package/dist/select/select.js +8 -4
- package/dist/select/select__popup.d.ts +2 -1
- package/dist/select/select__popup.js +6 -4
- package/dist/select-ng/select-ng.js +3 -3
- package/dist/select-ng/select-ng__lazy.js +1 -1
- package/dist/select-ng/select-ng__options.js +1 -1
- package/dist/shortcuts/core.js +3 -3
- package/dist/shortcuts/shortcuts-hoc.js +1 -1
- package/dist/shortcuts/shortcuts.js +7 -7
- package/dist/shortcuts-hint-ng/shortcuts-hint-ng.js +6 -6
- package/dist/shortcuts-ng/shortcuts-ng.js +25 -25
- package/dist/sidebar-ng/sidebar-ng.js +3 -3
- package/dist/storage/storage__fallback.js +1 -1
- package/dist/storage/storage__local.js +1 -1
- package/dist/style.css +1 -1
- package/dist/tab-trap/tab-trap.js +1 -1
- package/dist/table/cell.js +1 -1
- package/dist/table/disable-hover-hoc.js +1 -1
- package/dist/table/header-cell.js +1 -1
- package/dist/table/header.js +1 -1
- package/dist/table/multitable.js +1 -1
- package/dist/table/row-with-focus-sensor.js +1 -1
- package/dist/table/row.js +1 -1
- package/dist/table/selection-adapter.js +1 -1
- package/dist/table/selection-shortcuts-hoc.js +1 -1
- package/dist/table/selection.js +1 -1
- package/dist/table/smart-table.js +1 -1
- package/dist/table/table.js +1 -1
- package/dist/table-legacy-ng/table-legacy-ng__pager.js +2 -2
- package/dist/table-legacy-ng/table-legacy-ng__selection-navigate-actions.js +1 -1
- package/dist/table-legacy-ng/table-legacy-ng__selection.js +1 -1
- package/dist/tabs/collapsible-more.js +7 -7
- package/dist/tabs/collapsible-tab.js +1 -1
- package/dist/tabs/collapsible-tabs.js +1 -1
- package/dist/tabs/dumb-tabs.js +1 -1
- package/dist/tabs/smart-tabs.js +1 -1
- package/dist/tabs/tab-link.js +1 -1
- package/dist/tabs/tab.js +1 -1
- package/dist/tabs-ng/tabs-ng.js +1 -1
- package/dist/tag/tag.js +1 -1
- package/dist/tags-input/tags-input.js +1 -1
- package/dist/tags-list/tags-list.js +1 -1
- package/dist/template-ng/template-ng.js +1 -1
- package/dist/text/text.js +1 -1
- package/dist/toggle/toggle.js +1 -1
- package/dist/tooltip/tooltip.js +1 -1
- package/dist/tooltip-ng/tooltip-ng.js +1 -1
- package/dist/user-agreement/service.js +15 -15
- package/dist/user-agreement/user-agreement.js +1 -1
- package/dist/user-card/smart-user-card-tooltip.js +1 -1
- package/dist/user-card/tooltip.js +1 -1
- package/package.json +24 -24
package/dist/icon/icon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, e as _objectWithoutProperties, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { PureComponent } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
package/dist/icon/icon__svg.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { e as _objectWithoutProperties, _ as _defineProperty, f as _extends } from '../_helpers/_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';
|
package/dist/icon-ng/icon-ng.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as _slicedToArray } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
|
3
3
|
import 'core-js/modules/es.array.index-of.js';
|
|
4
4
|
import 'core-js/modules/es.regexp.exec.js';
|
package/dist/input/input.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass, e as _objectWithoutProperties, f as _extends } 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';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
|
3
3
|
import angular from 'angular';
|
|
4
4
|
import classNames from 'classnames';
|
|
@@ -6,7 +6,7 @@ import closeIcon from '@jetbrains/icons/close';
|
|
|
6
6
|
import RingAngularComponent from '../global/ring-angular-component.js';
|
|
7
7
|
import { m as modules_88cfaf40 } from '../_helpers/input.js';
|
|
8
8
|
import { m as modules_9eb96a10 } from '../_helpers/control-label.js';
|
|
9
|
-
import
|
|
9
|
+
import Button from '../button-ng/button-ng.js';
|
|
10
10
|
import 'core-js/modules/es.object.to-string.js';
|
|
11
11
|
import 'core-js/modules/web.dom-collections.for-each.js';
|
|
12
12
|
import 'core-js/modules/es.array.reduce.js';
|
|
@@ -34,7 +34,7 @@ import 'react';
|
|
|
34
34
|
|
|
35
35
|
var modules_c40fa551 = {"errorText":"errorText_rui_d15a","clear":"clear_rui_d15a"};
|
|
36
36
|
|
|
37
|
-
var angularModule = angular.module('Ring.input', [
|
|
37
|
+
var angularModule = angular.module('Ring.input', [Button]);
|
|
38
38
|
var RingInputComponent = /*#__PURE__*/function (_RingAngularComponent) {
|
|
39
39
|
_inherits(RingInputComponent, _RingAngularComponent);
|
|
40
40
|
var _super = _createSuper(RingInputComponent);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
|
3
3
|
import React, { createContext, Component } from 'react';
|
|
4
4
|
import { interpolateLinear } from '../global/linear-function.js';
|
package/dist/island/content.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass, e as _objectWithoutProperties, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
|
3
3
|
import React, { Component, forwardRef } from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
package/dist/island/header.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, e as _objectWithoutProperties, f as _extends } 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';
|
package/dist/island/island.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, e as _objectWithoutProperties, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { Component } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, e as _objectWithoutProperties, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { PureComponent } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, e as _objectWithoutProperties, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { PureComponent } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, e as _objectWithoutProperties, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { PureComponent } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
@@ -4,9 +4,9 @@ import { m as modules_e6a056e1 } from '../_helpers/island.js';
|
|
|
4
4
|
import IslandHeader from './island-header-ng.js';
|
|
5
5
|
import IslandContent from './island-content-ng.js';
|
|
6
6
|
import compile from './island-ng-class-fixer.js';
|
|
7
|
+
import '../global/schedule-raf.js';
|
|
7
8
|
import 'core-js/modules/es.regexp.exec.js';
|
|
8
9
|
import 'core-js/modules/es.string.replace.js';
|
|
9
|
-
import '../global/schedule-raf.js';
|
|
10
10
|
|
|
11
11
|
var angularModule = angular.module('Ring.island-ng', [IslandHeader, IslandContent]);
|
|
12
12
|
angularModule.directive('rgIsland', function islandDirective() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass, e as _objectWithoutProperties, f as _extends } 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';
|
package/dist/link/link.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, e as _objectWithoutProperties, g as _objectSpread2, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { PureComponent, memo } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
package/dist/link-ng/link-ng.js
CHANGED
package/dist/list/list.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, e as _objectWithoutProperties, d as _createClass, g as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.includes.js';
|
|
3
3
|
import 'core-js/modules/es.string.includes.js';
|
|
4
4
|
import 'core-js/modules/es.array.map.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as _inherits, b as _createSuper, c as _classCallCheck, _ as _defineProperty, k as _assertThisInitialized, d as _createClass, e as _objectWithoutProperties } 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';
|
package/dist/list/list__hint.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { PureComponent } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
package/dist/list/list__item.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as _inherits, b as _createSuper, c as _classCallCheck, _ as _defineProperty, k as _assertThisInitialized, d as _createClass, e as _objectWithoutProperties } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
|
3
3
|
import 'core-js/modules/es.symbol.js';
|
|
4
4
|
import 'core-js/modules/es.symbol.description.js';
|
package/dist/list/list__link.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as _objectSpread2, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, e as _objectWithoutProperties, _ as _defineProperty, f as _extends } 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';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, _ as _defineProperty } 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';
|
package/dist/list/list__title.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, _ as _defineProperty } 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';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass, h as _asyncToGenerator, i as _regeneratorRuntime, j as _slicedToArray, g 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';
|
package/dist/loader/loader.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass, e as _objectWithoutProperties, f as _extends } 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';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, d as _createClass, c 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
4
|
import 'core-js/modules/es.object.assign.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, e as _objectWithoutProperties, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { PureComponent } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
|
3
3
|
import angular from 'angular';
|
|
4
4
|
import RingAngularComponent from '../global/ring-angular-component.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, e as _objectWithoutProperties, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { PureComponent } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass } 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';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as _objectSpread2 } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { unmountComponentAtNode, render } from '../global/react-render-adapter.js';
|
|
4
4
|
import { ControlsHeightContext, getGlobalControlsHeight } from '../global/controls-height.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, e as _objectWithoutProperties, _ as _defineProperty, f as _extends, m as _toConsumableArray, g as _objectSpread2 } 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';
|
package/dist/message/message.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
|
3
3
|
import 'core-js/modules/es.array.includes.js';
|
|
4
4
|
import 'core-js/modules/es.string.includes.js';
|
|
@@ -147,6 +147,6 @@ function RingMessageBundle(ringI18n) {
|
|
|
147
147
|
|
|
148
148
|
angularModule.factory('ringI18n', emptyI18n);
|
|
149
149
|
angularModule.service('RingMessageBundle', ['ringI18n', RingMessageBundle]);
|
|
150
|
-
var
|
|
150
|
+
var messageBundleNg = angularModule.name;
|
|
151
151
|
|
|
152
|
-
export {
|
|
152
|
+
export { messageBundleNg as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { j as _slicedToArray, g as _objectSpread2, _ as _defineProperty } 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
|
import 'core-js/modules/es.regexp.exec.js';
|
package/dist/pager/pager.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
|
3
3
|
import 'core-js/modules/es.array.map.js';
|
|
4
4
|
import 'core-js/modules/es.array.find.js';
|
package/dist/panel/panel.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass, e as _objectWithoutProperties, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { PureComponent } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
import classNames from 'classnames';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, d as _createClass, c as _classCallCheck } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.object.to-string.js';
|
|
3
3
|
import 'core-js/modules/es.promise.js';
|
|
4
4
|
import 'core-js/modules/es.array.index-of.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, d as _createClass, c 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
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as _asyncToGenerator, i as _regeneratorRuntime } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import angular from 'angular';
|
|
3
3
|
import '../auth-ng/auth-ng.js';
|
|
4
4
|
import Permissions from '../permissions/permissions.js';
|
package/dist/popup/popup.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, g as _objectSpread2, j as _slicedToArray, d as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
|
3
3
|
import 'core-js/modules/es.object.to-string.js';
|
|
4
4
|
import 'core-js/modules/web.dom-collections.for-each.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { e as _objectWithoutProperties, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import React, { createContext, forwardRef } from 'react';
|
|
3
3
|
import PropTypes from 'prop-types';
|
|
4
4
|
|
package/dist/popup/position.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { g as _objectSpread2, _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.includes.js';
|
|
3
3
|
import 'core-js/modules/es.string.includes.js';
|
|
4
4
|
import 'core-js/modules/es.array.sort.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { e as _objectWithoutProperties, _ as _defineProperty, g as _objectSpread2, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
|
3
3
|
import 'core-js/modules/es.parse-float.js';
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass, e as _objectWithoutProperties, f as _extends } 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';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as _inherits, b as _createSuper, c as _classCallCheck, d as _createClass } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
|
3
3
|
import 'core-js/modules/es.array.index-of.js';
|
|
4
4
|
import angular from 'angular';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, l as _typeof, m as _toConsumableArray, o as _get, p as _getPrototypeOf, e as _objectWithoutProperties, d as _createClass } from '../_helpers/_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.number.is-integer.js';
|
package/dist/radio/radio.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass, g as _objectSpread2 } 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';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass, e as _objectWithoutProperties, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
|
3
3
|
import React, { createContext, Component, forwardRef } from 'react';
|
|
4
4
|
import PropTypes from 'prop-types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { l as _typeof } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.map.js';
|
|
3
3
|
import 'core-js/modules/es.regexp.exec.js';
|
|
4
4
|
import 'core-js/modules/es.string.split.js';
|
|
@@ -8,10 +8,10 @@ import 'core-js/modules/es.object.to-string.js';
|
|
|
8
8
|
import angular from 'angular';
|
|
9
9
|
import '../loader-inline/loader-inline.js';
|
|
10
10
|
import ButtonSet from '../button-set-ng/button-set-ng.js';
|
|
11
|
-
import
|
|
11
|
+
import messageBundleNg from '../message-bundle-ng/message-bundle-ng.js';
|
|
12
12
|
import Form from '../form-ng/form-ng.js';
|
|
13
|
-
import
|
|
14
|
-
import
|
|
13
|
+
import Shortcuts from '../shortcuts-ng/shortcuts-ng.js';
|
|
14
|
+
import Button from '../button-ng/button-ng.js';
|
|
15
15
|
import PromisedClick from '../promised-click-ng/promised-click-ng.js';
|
|
16
16
|
import template from './save-field-ng__template.js';
|
|
17
17
|
import 'react';
|
|
@@ -55,11 +55,11 @@ import '../_helpers/icon.js';
|
|
|
55
55
|
import '../_helpers/button__classes.js';
|
|
56
56
|
import '../global/controls-height.js';
|
|
57
57
|
|
|
58
|
-
var angularModule = angular.module('Ring.save-field', [
|
|
58
|
+
var angularModule = angular.module('Ring.save-field', [messageBundleNg,
|
|
59
59
|
/**
|
|
60
60
|
* for error-bubble
|
|
61
61
|
*/
|
|
62
|
-
Form,
|
|
62
|
+
Form, Shortcuts, Button, ButtonSet, PromisedClick]);
|
|
63
63
|
angularModule.constant('rgSaveFieldShortcutsMode', {
|
|
64
64
|
id: 'ring-save-field',
|
|
65
65
|
shortcuts: [{
|
package/dist/select/select.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import React, { ButtonHTMLAttributes, Component, CSSProperties, HTMLAttributes, ReactNode, RefCallback, SyntheticEvent } from 'react';
|
|
1
|
+
import React, { ButtonHTMLAttributes, Component, CSSProperties, HTMLAttributes, ReactNode, Ref, RefCallback, SyntheticEvent } from 'react';
|
|
2
2
|
import { SelectHandlerParams } from '../list/list';
|
|
3
3
|
import { Size } from '../input/input';
|
|
4
4
|
import { LabelType } from '../control-label/control-label';
|
|
@@ -52,6 +52,7 @@ export type CustomAnchor = ((props: CustomAnchorProps) => ReactNode);
|
|
|
52
52
|
export interface BaseSelectProps<T = unknown> {
|
|
53
53
|
data: readonly SelectItem<T>[];
|
|
54
54
|
filter: boolean | Filter<T>;
|
|
55
|
+
filterRef: Ref<HTMLInputElement>;
|
|
55
56
|
clear: boolean;
|
|
56
57
|
loading: boolean;
|
|
57
58
|
disabled: boolean;
|
|
@@ -157,6 +158,7 @@ export default class Select<T = unknown> extends Component<SelectProps<T>, Selec
|
|
|
157
158
|
static defaultProps: {
|
|
158
159
|
data: never[];
|
|
159
160
|
filter: boolean;
|
|
161
|
+
filterRef: typeof noop;
|
|
160
162
|
multiple: boolean;
|
|
161
163
|
clear: boolean;
|
|
162
164
|
loading: boolean;
|
package/dist/select/select.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, l as _typeof, k as _assertThisInitialized, g as _objectSpread2, e as _objectWithoutProperties, q as _toPropertyKey, d as _createClass, f as _extends } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import 'core-js/modules/es.array.index-of.js';
|
|
3
3
|
import 'core-js/modules/es.array.reduce.js';
|
|
4
4
|
import 'core-js/modules/es.object.to-string.js';
|
|
@@ -34,6 +34,8 @@ import rerenderHOC from '../global/rerender-hoc.js';
|
|
|
34
34
|
import fuzzyHighlight from '../global/fuzzy-highlight.js';
|
|
35
35
|
import memoize from '../global/memoize.js';
|
|
36
36
|
import { I18nContext } from '../i18n/i18n-context.js';
|
|
37
|
+
import composeRefs from '../global/composeRefs.js';
|
|
38
|
+
import { refObject } from '../global/prop-types.js';
|
|
37
39
|
import { isArray } from '../global/typescript-utils.js';
|
|
38
40
|
import { ControlsHeight, ControlsHeightContext } from '../global/controls-height.js';
|
|
39
41
|
import { m as modules_88cfaf40 } from '../_helpers/input.js';
|
|
@@ -94,8 +96,6 @@ import '../list/list__item.js';
|
|
|
94
96
|
import '../checkbox/checkbox.js';
|
|
95
97
|
import '@jetbrains/icons/checkmark-14px';
|
|
96
98
|
import '@jetbrains/icons/remove-14px';
|
|
97
|
-
import '../global/prop-types.js';
|
|
98
|
-
import '../global/composeRefs.js';
|
|
99
99
|
import '../_helpers/checkbox.js';
|
|
100
100
|
import '../list/list__custom.js';
|
|
101
101
|
import '../global/get-event-key.js';
|
|
@@ -503,6 +503,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
503
503
|
}
|
|
504
504
|
_this.props.onChange(nextSelection, event);
|
|
505
505
|
var nextState = {
|
|
506
|
+
filterValue: '',
|
|
506
507
|
selected: nextSelection,
|
|
507
508
|
selectedIndex: _this._getSelectedIndex(selected, _this.props.data)
|
|
508
509
|
};
|
|
@@ -734,6 +735,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
734
735
|
left: _this3.props.left,
|
|
735
736
|
filter: _this3.isInputMode() ? false : _this3.props.filter // disable popup filter in INPUT mode
|
|
736
737
|
,
|
|
738
|
+
filterRef: _this3.props.filterRef,
|
|
737
739
|
multiple: _this3.props.multiple,
|
|
738
740
|
filterValue: _this3.state.filterValue,
|
|
739
741
|
anchorElement: anchorElement,
|
|
@@ -1009,7 +1011,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
1009
1011
|
autoComplete: "off",
|
|
1010
1012
|
id: this.props.id,
|
|
1011
1013
|
onClick: this._clickHandler,
|
|
1012
|
-
inputRef: this.filterRef,
|
|
1014
|
+
inputRef: composeRefs(this.filterRef, this.props.filterRef),
|
|
1013
1015
|
disabled: this.props.disabled,
|
|
1014
1016
|
value: this.state.filterValue,
|
|
1015
1017
|
borderless: this.props.type === Type.INPUT_WITHOUT_CONTROLS,
|
|
@@ -1173,6 +1175,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
1173
1175
|
_defineProperty(Select, "defaultProps", {
|
|
1174
1176
|
data: [],
|
|
1175
1177
|
filter: false,
|
|
1178
|
+
filterRef: noop,
|
|
1176
1179
|
multiple: false,
|
|
1177
1180
|
clear: false,
|
|
1178
1181
|
loading: false,
|
|
@@ -1221,6 +1224,7 @@ Select.propTypes = {
|
|
|
1221
1224
|
multiple: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),
|
|
1222
1225
|
allowAny: PropTypes.bool,
|
|
1223
1226
|
filter: PropTypes.oneOfType([PropTypes.bool, PropTypes.object]),
|
|
1227
|
+
filterRef: PropTypes.oneOfType([PropTypes.func, refObject(PropTypes.instanceOf(HTMLInputElement))]),
|
|
1224
1228
|
getInitial: PropTypes.func,
|
|
1225
1229
|
onClose: PropTypes.func,
|
|
1226
1230
|
onOpen: PropTypes.func,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @description Displays a popup with select's options.
|
|
3
3
|
*/
|
|
4
|
-
import React, { CSSProperties, PureComponent, ReactNode, SyntheticEvent } from 'react';
|
|
4
|
+
import React, { CSSProperties, PureComponent, ReactNode, Ref, SyntheticEvent } from 'react';
|
|
5
5
|
import PropTypes from 'prop-types';
|
|
6
6
|
import { IconType } from '../icon/icon';
|
|
7
7
|
import Popup from '../popup/popup';
|
|
@@ -43,6 +43,7 @@ export interface SelectPopupProps<T = unknown> {
|
|
|
43
43
|
toolbar: ReactNode;
|
|
44
44
|
topbar: ReactNode;
|
|
45
45
|
filter: boolean | Filter<T>;
|
|
46
|
+
filterRef?: Ref<HTMLInputElement>;
|
|
46
47
|
message: string | null;
|
|
47
48
|
anchorElement: HTMLElement | null;
|
|
48
49
|
maxHeight: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createSuper, c as _classCallCheck, k as _assertThisInitialized, d as _createClass, l as _typeof } from '../_helpers/_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';
|
|
@@ -28,6 +28,8 @@ import Shortcuts from '../shortcuts/shortcuts.js';
|
|
|
28
28
|
import { Button } from '../button/button.js';
|
|
29
29
|
import Text from '../text/text.js';
|
|
30
30
|
import { ControlsHeight } from '../global/controls-height.js';
|
|
31
|
+
import { refObject } from '../global/prop-types.js';
|
|
32
|
+
import composeRefs from '../global/composeRefs.js';
|
|
31
33
|
import { DEFAULT_DIRECTIONS } from '../popup/popup.consts.js';
|
|
32
34
|
import { S as SelectFilter, m as modules_b607bec2 } from '../_helpers/select__filter.js';
|
|
33
35
|
import 'util-deprecate';
|
|
@@ -79,8 +81,6 @@ import 'core-js/modules/es.array.from.js';
|
|
|
79
81
|
import '../checkbox/checkbox.js';
|
|
80
82
|
import '@jetbrains/icons/checkmark-14px';
|
|
81
83
|
import '@jetbrains/icons/remove-14px';
|
|
82
|
-
import '../global/prop-types.js';
|
|
83
|
-
import '../global/composeRefs.js';
|
|
84
84
|
import '../_helpers/checkbox.js';
|
|
85
85
|
import '../list/list__custom.js';
|
|
86
86
|
import '../global/get-event-key.js';
|
|
@@ -399,7 +399,7 @@ var SelectPopup = /*#__PURE__*/function (_PureComponent) {
|
|
|
399
399
|
rgShortcutsOptions: this.state.popupFilterShortcutsOptions,
|
|
400
400
|
rgShortcutsMap: this.popupFilterShortcutsMap,
|
|
401
401
|
value: this.props.filterValue,
|
|
402
|
-
inputRef: this.filterRef,
|
|
402
|
+
inputRef: composeRefs(this.filterRef, this.props.filterRef),
|
|
403
403
|
onBlur: this.popupFilterOnBlur,
|
|
404
404
|
onFocus: this.onFilterFocus,
|
|
405
405
|
className: "ring-js-shortcuts",
|
|
@@ -558,6 +558,7 @@ _defineProperty(SelectPopup, "defaultProps", {
|
|
|
558
558
|
toolbar: null,
|
|
559
559
|
topbar: null,
|
|
560
560
|
filter: false,
|
|
561
|
+
filterRef: noop,
|
|
561
562
|
multiple: false,
|
|
562
563
|
message: null,
|
|
563
564
|
anchorElement: null,
|
|
@@ -592,6 +593,7 @@ SelectPopup.propTypes = {
|
|
|
592
593
|
placeholder: PropTypes.string
|
|
593
594
|
})]),
|
|
594
595
|
filterValue: PropTypes.string,
|
|
596
|
+
filterRef: PropTypes.oneOfType([PropTypes.func, refObject(PropTypes.instanceOf(HTMLInputElement))]),
|
|
595
597
|
hidden: PropTypes.bool,
|
|
596
598
|
isInputMode: PropTypes.bool,
|
|
597
599
|
listId: PropTypes.string,
|