@jetbrains/ring-ui-built 6.0.35 → 6.0.36
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 +1 -10
- package/components/_helpers/anchor.js +9 -6
- package/components/_helpers/caption.js +5 -4
- package/components/_helpers/card.js +65 -49
- package/components/_helpers/icon__svg.js +4 -3
- package/components/_helpers/input.js +45 -36
- package/components/_helpers/query-assist__suggestions.js +18 -14
- package/components/_helpers/select__filter.js +22 -17
- package/components/_helpers/services-link.js +14 -12
- package/components/_helpers/sidebar.js +20 -16
- package/components/_helpers/tab-link.js +21 -13
- package/components/_helpers/theme.js +18 -11
- package/components/_helpers/title.js +20 -16
- package/components/alert/alert.d.ts +2 -1
- package/components/alert/alert.js +20 -17
- package/components/alert/container.d.ts +2 -2
- package/components/alert/container.js +14 -11
- package/components/alert-service/alert-service.d.ts +2 -2
- package/components/alert-service/alert-service.js +14 -14
- package/components/analytics/analytics.js +1 -1
- package/components/analytics/analytics__custom-plugin.js +1 -1
- package/components/auth/auth.js +1 -0
- package/components/auth/auth__core.js +3 -2
- package/components/auth/background-flow.js +1 -1
- package/components/auth/down-notification.d.ts +1 -1
- package/components/auth/down-notification.js +21 -14
- package/components/auth/iframe-flow.js +7 -5
- package/components/auth/request-builder.js +1 -1
- package/components/auth/response-parser.js +1 -1
- package/components/auth/storage.js +3 -2
- package/components/auth/token-validator.js +1 -1
- package/components/auth/window-flow.js +1 -1
- package/components/auth-dialog/auth-dialog.d.ts +2 -2
- package/components/auth-dialog/auth-dialog.js +42 -32
- package/components/auth-dialog-service/auth-dialog-service.js +6 -7
- package/components/avatar/avatar.d.ts +2 -2
- package/components/avatar/avatar.js +29 -28
- package/components/avatar/fallback-avatar.d.ts +2 -2
- package/components/avatar/fallback-avatar.js +50 -37
- package/components/badge/badge.d.ts +2 -2
- package/components/badge/badge.js +7 -8
- package/components/breadcrumbs/breadcrumbs.d.ts +6 -0
- package/components/breadcrumbs/breadcrumbs.js +27 -0
- package/components/button/button.d.ts +2 -1
- package/components/button/button.js +26 -25
- package/components/button-group/button-group.d.ts +4 -2
- package/components/button-group/button-group.js +19 -10
- package/components/button-group/caption.d.ts +2 -2
- package/components/button-group/caption.js +1 -0
- package/components/button-set/button-set.d.ts +2 -2
- package/components/button-set/button-set.js +7 -8
- package/components/button-toolbar/button-toolbar.d.ts +2 -2
- package/components/button-toolbar/button-toolbar.js +4 -6
- package/components/caret/caret.js +1 -1
- package/components/checkbox/checkbox.d.ts +3 -2
- package/components/checkbox/checkbox.js +33 -28
- package/components/clipboard/clipboard.js +3 -2
- package/components/code/code.d.ts +3 -3
- package/components/code/code.js +14 -11
- package/components/collapse/collapse-content.d.ts +2 -1
- package/components/collapse/collapse-content.js +13 -10
- package/components/collapse/collapse-control.d.ts +1 -1
- package/components/collapse/collapse-control.js +10 -11
- package/components/collapse/collapse.d.ts +2 -1
- package/components/collapse/collapse.js +16 -16
- package/components/confirm/confirm.d.ts +2 -1
- package/components/confirm/confirm.js +29 -21
- package/components/confirm-service/confirm-service.js +6 -4
- package/components/content-layout/content-layout.d.ts +2 -2
- package/components/content-layout/content-layout.js +12 -12
- package/components/content-layout/sidebar.d.ts +2 -2
- package/components/content-layout/sidebar.js +1 -0
- package/components/contenteditable/contenteditable.d.ts +3 -3
- package/components/contenteditable/contenteditable.js +5 -7
- package/components/control-help/control-help.d.ts +4 -0
- package/components/control-help/control-help.js +16 -0
- package/components/control-label/control-label.d.ts +2 -1
- package/components/control-label/control-label.js +7 -4
- package/components/data-list/data-list.d.ts +11 -11
- package/components/data-list/data-list.js +44 -40
- package/components/data-list/data-list.mock.d.ts +2 -2
- package/components/data-list/data-list.mock.js +165 -73
- package/components/data-list/item.d.ts +3 -3
- package/components/data-list/item.js +49 -40
- package/components/data-list/selection.js +1 -1
- package/components/data-list/title.d.ts +3 -3
- package/components/data-list/title.js +2 -0
- package/components/date-picker/date-input.d.ts +1 -1
- package/components/date-picker/date-input.js +5 -3
- package/components/date-picker/date-picker.d.ts +2 -1
- package/components/date-picker/date-picker.js +43 -34
- package/components/date-picker/date-popup.d.ts +2 -1
- package/components/date-picker/date-popup.js +51 -45
- package/components/date-picker/day.d.ts +2 -2
- package/components/date-picker/day.js +11 -8
- package/components/date-picker/month-names.d.ts +2 -2
- package/components/date-picker/month-names.js +27 -25
- package/components/date-picker/month-slider.d.ts +2 -2
- package/components/date-picker/month-slider.js +15 -13
- package/components/date-picker/month.d.ts +2 -2
- package/components/date-picker/month.js +18 -15
- package/components/date-picker/months.d.ts +2 -2
- package/components/date-picker/months.js +18 -15
- package/components/date-picker/weekdays.d.ts +2 -2
- package/components/date-picker/weekdays.js +14 -13
- package/components/date-picker/years.d.ts +3 -3
- package/components/date-picker/years.js +19 -17
- package/components/dialog/dialog.d.ts +2 -1
- package/components/dialog/dialog.js +48 -45
- package/components/dropdown/anchor.d.ts +3 -3
- package/components/dropdown/anchor.js +1 -0
- package/components/dropdown/dropdown.d.ts +2 -1
- package/components/dropdown/dropdown.js +12 -12
- package/components/dropdown-menu/dropdown-menu.d.ts +3 -3
- package/components/dropdown-menu/dropdown-menu.js +41 -29
- package/components/editable-heading/editable-heading.d.ts +2 -1
- package/components/editable-heading/editable-heading.js +74 -58
- package/components/error-bubble/error-bubble.d.ts +2 -2
- package/components/error-bubble/error-bubble.js +20 -19
- package/components/error-message/error-message.d.ts +2 -2
- package/components/error-message/error-message.js +22 -20
- package/components/footer/footer.d.ts +2 -2
- package/components/footer/footer.js +31 -27
- package/components/form/form.js +1 -1
- package/components/global/create-stateful-context.d.ts +5 -5
- package/components/global/create-stateful-context.js +10 -7
- package/components/global/data-tests.js +1 -1
- package/components/global/dom.js +1 -1
- package/components/global/focus-sensor-hoc.js +4 -3
- package/components/global/fuzzy-highlight.js +1 -1
- package/components/global/get-event-key.d.ts +1 -1
- package/components/global/inject-styles.js +1 -1
- package/components/global/listeners.js +1 -1
- package/components/global/normalize-indent.js +1 -1
- package/components/global/react-dom-renderer.d.ts +2 -2
- package/components/global/react-dom-renderer.js +4 -3
- package/components/global/rerender-hoc.d.ts +2 -2
- package/components/global/rerender-hoc.js +5 -4
- package/components/global/theme.d.ts +3 -3
- package/components/global/theme.js +1 -0
- package/components/global/trivial-template-tag.js +1 -1
- package/components/grid/col.d.ts +2 -2
- package/components/grid/col.js +7 -5
- package/components/grid/grid.d.ts +2 -2
- package/components/grid/grid.js +7 -8
- package/components/grid/row.d.ts +2 -2
- package/components/grid/row.js +7 -5
- package/components/group/group.d.ts +2 -2
- package/components/group/group.js +7 -8
- package/components/header/header.d.ts +2 -2
- package/components/header/header.js +12 -14
- package/components/header/logo.d.ts +2 -2
- package/components/header/logo.js +7 -5
- package/components/header/profile.d.ts +4 -3
- package/components/header/profile.js +40 -29
- package/components/header/services-link.d.ts +2 -2
- package/components/header/services-link.js +1 -0
- package/components/header/services.d.ts +2 -2
- package/components/header/services.js +31 -31
- package/components/header/smart-profile.d.ts +2 -2
- package/components/header/smart-profile.js +5 -3
- package/components/header/smart-services.d.ts +2 -2
- package/components/header/smart-services.js +4 -3
- package/components/header/tray-icon.d.ts +2 -2
- package/components/header/tray-icon.js +4 -3
- package/components/header/tray.d.ts +2 -2
- package/components/header/tray.js +11 -8
- package/components/heading/heading.d.ts +6 -6
- package/components/heading/heading.js +8 -9
- package/components/http/http.js +1 -1
- package/components/http/http.mock.js +1 -1
- package/components/hub-source/hub-source.js +1 -1
- package/components/hub-source/hub-source__user.js +1 -1
- package/components/hub-source/hub-source__users-groups.js +1 -1
- package/components/i18n/i18n-context.d.ts +1 -1
- package/components/i18n/i18n-context.js +7 -4
- package/components/icon/icon.d.ts +2 -2
- package/components/icon/icon.js +12 -10
- package/components/icon/icon__svg.d.ts +3 -3
- package/components/icon/icon__svg.js +1 -0
- package/components/icon/index.js +1 -0
- package/components/input/input.d.ts +3 -2
- package/components/input/input.js +2 -0
- package/components/island/adaptive-island-hoc.d.ts +11 -11
- package/components/island/adaptive-island-hoc.js +10 -7
- package/components/island/content.d.ts +3 -3
- package/components/island/content.js +29 -23
- package/components/island/header.d.ts +2 -2
- package/components/island/header.js +18 -13
- package/components/island/island.d.ts +10 -10
- package/components/island/island.js +7 -8
- package/components/island-legacy/content-legacy.d.ts +2 -2
- package/components/island-legacy/content-legacy.js +7 -5
- package/components/island-legacy/header-legacy.d.ts +2 -2
- package/components/island-legacy/header-legacy.js +10 -7
- package/components/island-legacy/island-legacy.d.ts +2 -2
- package/components/island-legacy/island-legacy.js +7 -5
- package/components/link/clickableLink.d.ts +2 -1
- package/components/link/clickableLink.js +8 -6
- package/components/link/link.d.ts +15 -15
- package/components/link/link.js +12 -9
- package/components/list/consts.d.ts +2 -1
- package/components/list/list.d.ts +10 -10
- package/components/list/list.js +109 -95
- package/components/list/list__custom.d.ts +2 -1
- package/components/list/list__custom.js +7 -5
- package/components/list/list__hint.d.ts +2 -2
- package/components/list/list__hint.js +7 -9
- package/components/list/list__item.d.ts +2 -2
- package/components/list/list__item.js +73 -65
- package/components/list/list__link.d.ts +2 -2
- package/components/list/list__link.js +8 -10
- package/components/list/list__separator.d.ts +2 -2
- package/components/list/list__separator.js +7 -5
- package/components/list/list__title.d.ts +2 -2
- package/components/list/list__title.js +15 -11
- package/components/list/list__users-groups-source.js +3 -1
- package/components/loader/loader.d.ts +2 -2
- package/components/loader/loader.js +5 -10
- package/components/loader/loader__core.js +1 -1
- package/components/loader-inline/loader-inline.d.ts +2 -2
- package/components/loader-inline/loader-inline.js +10 -9
- package/components/loader-screen/loader-screen.d.ts +2 -2
- package/components/loader-screen/loader-screen.js +10 -11
- package/components/login-dialog/login-dialog.d.ts +2 -2
- package/components/login-dialog/login-dialog.js +21 -16
- package/components/login-dialog/service.js +6 -4
- package/components/markdown/markdown.d.ts +2 -2
- package/components/markdown/markdown.js +7 -8
- package/components/message/message.d.ts +2 -2
- package/components/message/message.js +50 -41
- package/components/old-browsers-message/white-list.js +1 -1
- package/components/pager/pager.d.ts +2 -1
- package/components/pager/pager.js +71 -53
- package/components/panel/panel.d.ts +2 -2
- package/components/panel/panel.js +7 -8
- package/components/permissions/permissions.js +1 -1
- package/components/permissions/permissions__cache.js +1 -1
- package/components/popup/popup.d.ts +2 -1
- package/components/popup/popup.js +46 -39
- package/components/popup/popup.target.d.ts +3 -3
- package/components/popup/popup.target.js +11 -8
- package/components/popup-menu/popup-menu.d.ts +2 -2
- package/components/popup-menu/popup-menu.js +13 -9
- package/components/progress-bar/progress-bar.d.ts +2 -2
- package/components/progress-bar/progress-bar.js +17 -18
- package/components/query-assist/query-assist.d.ts +3 -2
- package/components/query-assist/query-assist.js +122 -109
- package/components/query-assist/query-assist__suggestions.d.ts +2 -2
- package/components/query-assist/query-assist__suggestions.js +3 -1
- package/components/radio/radio.d.ts +3 -3
- package/components/radio/radio.js +8 -8
- package/components/radio/radio__item.d.ts +9 -6
- package/components/radio/radio__item.js +46 -37
- package/components/select/select.d.ts +5 -2
- package/components/select/select.js +201 -180
- package/components/select/select__filter.d.ts +2 -2
- package/components/select/select__filter.js +2 -0
- package/components/select/select__popup.d.ts +6 -4
- package/components/select/select__popup.js +101 -84
- package/components/shortcuts/core.d.ts +0 -1
- package/components/shortcuts/core.js +1 -1
- package/components/shortcuts/shortcuts-hoc.d.ts +8 -8
- package/components/shortcuts/shortcuts-hoc.js +10 -8
- package/components/shortcuts/shortcuts.js +1 -1
- package/components/slider/slider.d.ts +2 -1
- package/components/slider/slider.js +78 -78
- package/components/slider/slider.utils.js +1 -1
- package/components/storage/storage.js +2 -1
- package/components/storage/storage__fallback.js +1 -1
- package/components/storage/storage__local.js +3 -2
- package/components/style.css +1 -1
- package/components/tab-trap/tab-trap.d.ts +2 -1
- package/components/tab-trap/tab-trap.js +25 -20
- package/components/table/cell.d.ts +2 -2
- package/components/table/cell.js +7 -5
- package/components/table/disable-hover-hoc.d.ts +9 -9
- package/components/table/disable-hover-hoc.js +4 -3
- package/components/table/header-cell.d.ts +2 -2
- package/components/table/header-cell.js +17 -13
- package/components/table/header.d.ts +3 -3
- package/components/table/header.js +34 -26
- package/components/table/multitable.d.ts +2 -2
- package/components/table/multitable.js +12 -10
- package/components/table/row-with-focus-sensor.d.ts +3 -3
- package/components/table/row-with-focus-sensor.js +5 -3
- package/components/table/row.d.ts +2 -1
- package/components/table/row.js +50 -44
- package/components/table/selection-adapter.js +1 -1
- package/components/table/selection-shortcuts-hoc.js +4 -3
- package/components/table/selection.js +1 -1
- package/components/table/smart-table.d.ts +44 -44
- package/components/table/smart-table.js +5 -3
- package/components/table/table.d.ts +2 -1
- package/components/table/table.js +55 -45
- package/components/tabs/collapsible-more.d.ts +4 -4
- package/components/tabs/collapsible-more.js +37 -30
- package/components/tabs/collapsible-tab.d.ts +2 -1
- package/components/tabs/collapsible-tab.js +6 -6
- package/components/tabs/collapsible-tabs.d.ts +4 -4
- package/components/tabs/collapsible-tabs.js +51 -46
- package/components/tabs/dumb-tabs.d.ts +2 -1
- package/components/tabs/dumb-tabs.js +24 -18
- package/components/tabs/smart-tabs.d.ts +2 -2
- package/components/tabs/smart-tabs.js +8 -4
- package/components/tabs/tab-link.d.ts +3 -3
- package/components/tabs/tab-link.js +1 -0
- package/components/tabs/tab.d.ts +2 -2
- package/components/tabs/tab.js +7 -5
- package/components/tabs/tabs.js +2 -0
- package/components/tag/tag.d.ts +2 -1
- package/components/tag/tag.js +31 -28
- package/components/tags-input/tags-input.d.ts +3 -2
- package/components/tags-input/tags-input.js +52 -47
- package/components/tags-list/tags-list.d.ts +2 -1
- package/components/tags-list/tags-list.js +8 -5
- package/components/text/text.d.ts +2 -2
- package/components/text/text.js +7 -4
- package/components/toggle/toggle.d.ts +2 -2
- package/components/toggle/toggle.js +25 -20
- package/components/tooltip/tooltip.d.ts +2 -1
- package/components/tooltip/tooltip.js +26 -21
- package/components/user-agreement/service.js +20 -12
- package/components/user-agreement/user-agreement.d.ts +2 -2
- package/components/user-agreement/user-agreement.js +56 -39
- package/components/user-card/card.d.ts +2 -1
- package/components/user-card/card.js +1 -0
- package/components/user-card/smart-user-card-tooltip.d.ts +3 -3
- package/components/user-card/smart-user-card-tooltip.js +11 -7
- package/components/user-card/tooltip.d.ts +3 -3
- package/components/user-card/tooltip.js +15 -11
- package/components/user-card/user-card.js +1 -0
- package/package.json +5 -5
@@ -1,11 +1,11 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createClass,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, e as _classCallCheck, f as _callSuper } 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.array.index-of.js';
|
5
5
|
import 'core-js/modules/es.array.reduce.js';
|
6
6
|
import 'core-js/modules/es.array.slice.js';
|
7
7
|
import 'core-js/modules/es.object.to-string.js';
|
8
|
-
import
|
8
|
+
import { PureComponent } from 'react';
|
9
9
|
import classNames from 'classnames';
|
10
10
|
import searchIcon from '@jetbrains/icons/search';
|
11
11
|
import memoizeOne from 'memoize-one';
|
@@ -30,6 +30,7 @@ import { refObject } from '../global/prop-types.js';
|
|
30
30
|
import composeRefs from '../global/composeRefs.js';
|
31
31
|
import { DEFAULT_DIRECTIONS } from '../popup/popup.consts.js';
|
32
32
|
import { S as SelectFilter, m as modules_b607bec2 } from '../_helpers/select__filter.js';
|
33
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
33
34
|
import 'util-deprecate';
|
34
35
|
import '../icon/icon__constants.js';
|
35
36
|
import '../_helpers/icon__svg.js';
|
@@ -77,6 +78,7 @@ import 'core-js/modules/es.array.from.js';
|
|
77
78
|
import '../checkbox/checkbox.js';
|
78
79
|
import '@jetbrains/icons/checkmark-12px';
|
79
80
|
import '@jetbrains/icons/remove-12px';
|
81
|
+
import '../control-help/control-help.js';
|
80
82
|
import '../list/list__custom.js';
|
81
83
|
import '../global/get-event-key.js';
|
82
84
|
import '../list/list__title.js';
|
@@ -188,15 +190,18 @@ var SelectPopup = /*#__PURE__*/function (_PureComponent) {
|
|
188
190
|
var activeFilters = _this.props.data.filter(function (item) {
|
189
191
|
return !item.disabled;
|
190
192
|
});
|
191
|
-
return Array.isArray(_this.props.selected) && /*#__PURE__*/
|
192
|
-
className: modules_b607bec2.selectAll
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
193
|
+
return Array.isArray(_this.props.selected) && /*#__PURE__*/jsxs("div", {
|
194
|
+
className: modules_b607bec2.selectAll,
|
195
|
+
children: [activeFilters.length === 0 ? /*#__PURE__*/jsx("span", {}) : /*#__PURE__*/jsx(Button, {
|
196
|
+
text: true,
|
197
|
+
inline: true,
|
198
|
+
onClick: _this.handleSelectAll,
|
199
|
+
children: activeFilters.length !== _this.props.selected.length ? multiple.selectAllLabel || 'Select all' : multiple.deselectAllLabel || 'Deselect all'
|
200
|
+
}), ((_multiple$renderSelec = multiple.renderSelectedItemsDescription) === null || _multiple$renderSelec === void 0 ? void 0 : _multiple$renderSelec.call(multiple, _this.props.selected, activeFilters.length)) || /*#__PURE__*/jsx(Text, {
|
201
|
+
info: true,
|
202
|
+
children: "".concat(_this.props.selected.length, " selected")
|
203
|
+
})]
|
204
|
+
});
|
200
205
|
});
|
201
206
|
// Cache the value because this method is called
|
202
207
|
// inside `render` function which can be called N times
|
@@ -380,33 +385,34 @@ var SelectPopup = /*#__PURE__*/function (_PureComponent) {
|
|
380
385
|
value: function getFilter() {
|
381
386
|
if (this.props.filter || this.props.tags) {
|
382
387
|
var _this$props$filterIco;
|
383
|
-
return /*#__PURE__*/
|
388
|
+
return /*#__PURE__*/jsxs("div", {
|
384
389
|
className: modules_b607bec2.filterWrapper,
|
385
|
-
"data-test": "ring-select-popup-filter"
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
390
|
+
"data-test": "ring-select-popup-filter",
|
391
|
+
children: [!this.props.tags && /*#__PURE__*/jsx(Icon, {
|
392
|
+
glyph: (_this$props$filterIco = this.props.filterIcon) !== null && _this$props$filterIco !== void 0 ? _this$props$filterIco : searchIcon,
|
393
|
+
className: modules_b607bec2.filterIcon,
|
394
|
+
"data-test-custom": "ring-select-popup-filter-icon"
|
395
|
+
}), /*#__PURE__*/jsx(FilterWithShortcuts, {
|
396
|
+
rgShortcutsOptions: this.state.popupFilterShortcutsOptions,
|
397
|
+
rgShortcutsMap: this.popupFilterShortcutsMap,
|
398
|
+
value: this.props.filterValue,
|
399
|
+
inputRef: composeRefs(this.filterRef, this.props.filterRef),
|
400
|
+
onBlur: this.popupFilterOnBlur,
|
401
|
+
onFocus: this.onFilterFocus,
|
402
|
+
className: "ring-js-shortcuts",
|
403
|
+
inputClassName: classNames({
|
404
|
+
[modules_b607bec2.filterWithTagsInput]: this.props.tags
|
405
|
+
}),
|
406
|
+
placeholder: typeof this.props.filter === 'object' ? this.props.filter.placeholder : undefined,
|
407
|
+
height: this.props.tags ? ControlsHeight.S : ControlsHeight.L,
|
408
|
+
onChange: this.props.onFilter,
|
409
|
+
onClick: this.onClickHandler,
|
410
|
+
onClear: this.props.tags ? undefined : this.props.onClear,
|
411
|
+
"data-test-custom": "ring-select-popup-filter-input",
|
412
|
+
listId: this.props.listId,
|
413
|
+
enableShortcuts: Object.keys(this.popupFilterShortcutsMap)
|
414
|
+
})]
|
415
|
+
});
|
410
416
|
}
|
411
417
|
return null;
|
412
418
|
}
|
@@ -421,14 +427,16 @@ var SelectPopup = /*#__PURE__*/function (_PureComponent) {
|
|
421
427
|
}, {
|
422
428
|
key: "getTags",
|
423
429
|
value: function getTags() {
|
424
|
-
return Array.isArray(this.props.selected) && /*#__PURE__*/
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
|
430
|
-
|
431
|
-
|
430
|
+
return Array.isArray(this.props.selected) && /*#__PURE__*/jsx("div", {
|
431
|
+
children: /*#__PURE__*/jsx(TagsList, {
|
432
|
+
tags: this.props.selected,
|
433
|
+
activeIndex: this.state.tagsActiveIndex,
|
434
|
+
handleRemove: this.handleRemoveTag,
|
435
|
+
handleClick: this.handleTagClick,
|
436
|
+
disabled: this.props.disabled,
|
437
|
+
customTagComponent: this.getCustomTag(this.props.tags)
|
438
|
+
})
|
439
|
+
});
|
432
440
|
}
|
433
441
|
}, {
|
434
442
|
key: "getFilterWithTags",
|
@@ -437,9 +445,10 @@ var SelectPopup = /*#__PURE__*/function (_PureComponent) {
|
|
437
445
|
var classes = classNames([modules_b607bec2.filterWithTags, {
|
438
446
|
[modules_b607bec2.filterWithTagsFocused]: !this.state.popupFilterShortcutsOptions.disabled
|
439
447
|
}]);
|
440
|
-
return /*#__PURE__*/
|
441
|
-
className: classes
|
442
|
-
|
448
|
+
return /*#__PURE__*/jsxs("div", {
|
449
|
+
className: classes,
|
450
|
+
children: [this.getTags(), this.getFilter()]
|
451
|
+
});
|
443
452
|
}
|
444
453
|
return this.getFilter();
|
445
454
|
}
|
@@ -451,13 +460,15 @@ var SelectPopup = /*#__PURE__*/function (_PureComponent) {
|
|
451
460
|
message = _this$props.message,
|
452
461
|
data = _this$props.data;
|
453
462
|
var hasMoreThanOneItem = data.length > 1;
|
454
|
-
return (loading || message) && /*#__PURE__*/
|
463
|
+
return (loading || message) && /*#__PURE__*/jsxs("div", {
|
455
464
|
className: classNames(modules_b607bec2.bottomLine, {
|
456
465
|
[modules_b607bec2.bottomLineOverItem]: hasMoreThanOneItem
|
457
|
-
})
|
458
|
-
|
459
|
-
|
460
|
-
|
466
|
+
}),
|
467
|
+
children: [loading && /*#__PURE__*/jsx(LoaderInline, {}), message && /*#__PURE__*/jsx("div", {
|
468
|
+
className: modules_b607bec2.message,
|
469
|
+
children: message
|
470
|
+
})]
|
471
|
+
});
|
461
472
|
}
|
462
473
|
}, {
|
463
474
|
key: "getList",
|
@@ -473,7 +484,7 @@ var SelectPopup = /*#__PURE__*/function (_PureComponent) {
|
|
473
484
|
if (this.props.toolbar) {
|
474
485
|
maxHeight -= TOOLBAR_HEIGHT;
|
475
486
|
}
|
476
|
-
return /*#__PURE__*/
|
487
|
+
return /*#__PURE__*/jsx(List, {
|
477
488
|
id: this.props.listId,
|
478
489
|
maxHeight: maxHeight,
|
479
490
|
data: this.props.data,
|
@@ -514,40 +525,46 @@ var SelectPopup = /*#__PURE__*/function (_PureComponent) {
|
|
514
525
|
directions = _this$props2.directions,
|
515
526
|
top = _this$props2.top,
|
516
527
|
left = _this$props2.left,
|
528
|
+
offset = _this$props2.offset,
|
517
529
|
style = _this$props2.style,
|
518
530
|
dir = _this$props2.dir,
|
519
531
|
filter = _this$props2.filter;
|
520
532
|
var classes = classNames(modules_b607bec2.popup, className);
|
521
|
-
return /*#__PURE__*/
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
530
|
-
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
533
|
+
return /*#__PURE__*/jsx(PopupTargetContext.Consumer, {
|
534
|
+
children: function children(ringPopupTarget) {
|
535
|
+
var filterWithTags = _this3.getFilterWithTags();
|
536
|
+
var selectAll = multiple && typeof multiple === 'object' && !multiple.limit && multiple.selectAll && _this3.getSelectAll();
|
537
|
+
var list = _this3.getList(_this3.props.ringPopupTarget || ringPopupTarget);
|
538
|
+
var bottomLine = _this3.getBottomLine();
|
539
|
+
var hasContent = filterWithTags || selectAll || list || bottomLine || toolbar || topbar;
|
540
|
+
return /*#__PURE__*/jsx(Popup, {
|
541
|
+
trapFocus: false,
|
542
|
+
ref: _this3.popupRef,
|
543
|
+
hidden: hidden || !hasContent,
|
544
|
+
attached: isInputMode,
|
545
|
+
className: classes,
|
546
|
+
dontCloseOnAnchorClick: true,
|
547
|
+
anchorElement: anchorElement,
|
548
|
+
minWidth: minWidth,
|
549
|
+
onCloseAttempt: onCloseAttempt,
|
550
|
+
onOutsideClick: onOutsideClick,
|
551
|
+
directions: directions,
|
552
|
+
top: top,
|
553
|
+
left: left,
|
554
|
+
offset: offset,
|
555
|
+
onMouseDown: _this3.mouseDownHandler,
|
556
|
+
target: _this3.props.ringPopupTarget,
|
557
|
+
autoCorrectTopOverflow: false,
|
558
|
+
style: style,
|
559
|
+
children: /*#__PURE__*/jsxs("div", {
|
560
|
+
dir: dir,
|
561
|
+
children: [!hidden && filter && /*#__PURE__*/jsx(Shortcuts, {
|
562
|
+
map: _this3.shortcutsMap,
|
563
|
+
scope: _this3.shortcutsScope
|
564
|
+
}), topbar, hidden ? /*#__PURE__*/jsx("div", {}) : filterWithTags, selectAll, list, bottomLine, toolbar]
|
565
|
+
})
|
566
|
+
});
|
567
|
+
}
|
551
568
|
});
|
552
569
|
}
|
553
570
|
}]);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { b as _createClass,
|
1
|
+
import { b as _createClass, e as _classCallCheck, _ as _defineProperty } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.array.find-index.js';
|
4
4
|
import 'core-js/modules/es.array.includes.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import
|
1
|
+
import { ComponentType } from 'react';
|
2
2
|
import PropTypes from 'prop-types';
|
3
3
|
import { ShortcutsMap, ShortcutsScopeOptions } from './core';
|
4
4
|
export interface ShortcutsHOCOptions extends ShortcutsScopeOptions {
|
@@ -11,19 +11,19 @@ export interface ShortcutsHOCProps {
|
|
11
11
|
export default function shortcutsHOC<P extends {}>(ComposedComponent: ComponentType<P> | string): {
|
12
12
|
new (props: P & ShortcutsHOCProps): {
|
13
13
|
_shortcutsScopeUid: string;
|
14
|
-
render():
|
14
|
+
render(): import("react").JSX.Element;
|
15
15
|
context: unknown;
|
16
16
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<P & ShortcutsHOCProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
17
17
|
forceUpdate(callback?: (() => void) | undefined): void;
|
18
18
|
readonly props: Readonly<P & ShortcutsHOCProps>;
|
19
19
|
state: Readonly<{}>;
|
20
20
|
refs: {
|
21
|
-
[key: string]:
|
21
|
+
[key: string]: import("react").ReactInstance;
|
22
22
|
};
|
23
23
|
componentDidMount?(): void;
|
24
24
|
shouldComponentUpdate?(nextProps: Readonly<P & ShortcutsHOCProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
25
25
|
componentWillUnmount?(): void;
|
26
|
-
componentDidCatch?(error: Error, errorInfo:
|
26
|
+
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
27
27
|
getSnapshotBeforeUpdate?(prevProps: Readonly<P & ShortcutsHOCProps>, prevState: Readonly<{}>): any;
|
28
28
|
componentDidUpdate?(prevProps: Readonly<P & ShortcutsHOCProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
29
29
|
componentWillMount?(): void;
|
@@ -35,19 +35,19 @@ export default function shortcutsHOC<P extends {}>(ComposedComponent: ComponentT
|
|
35
35
|
};
|
36
36
|
new (props: P & ShortcutsHOCProps, context: any): {
|
37
37
|
_shortcutsScopeUid: string;
|
38
|
-
render():
|
38
|
+
render(): import("react").JSX.Element;
|
39
39
|
context: unknown;
|
40
40
|
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<P & ShortcutsHOCProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
41
41
|
forceUpdate(callback?: (() => void) | undefined): void;
|
42
42
|
readonly props: Readonly<P & ShortcutsHOCProps>;
|
43
43
|
state: Readonly<{}>;
|
44
44
|
refs: {
|
45
|
-
[key: string]:
|
45
|
+
[key: string]: import("react").ReactInstance;
|
46
46
|
};
|
47
47
|
componentDidMount?(): void;
|
48
48
|
shouldComponentUpdate?(nextProps: Readonly<P & ShortcutsHOCProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
49
49
|
componentWillUnmount?(): void;
|
50
|
-
componentDidCatch?(error: Error, errorInfo:
|
50
|
+
componentDidCatch?(error: Error, errorInfo: import("react").ErrorInfo): void;
|
51
51
|
getSnapshotBeforeUpdate?(prevProps: Readonly<P & ShortcutsHOCProps>, prevState: Readonly<{}>): any;
|
52
52
|
componentDidUpdate?(prevProps: Readonly<P & ShortcutsHOCProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
53
53
|
componentWillMount?(): void;
|
@@ -61,5 +61,5 @@ export default function shortcutsHOC<P extends {}>(ComposedComponent: ComponentT
|
|
61
61
|
rgShortcutsOptions: PropTypes.Requireable<object>;
|
62
62
|
rgShortcutsMap: PropTypes.Requireable<object>;
|
63
63
|
};
|
64
|
-
contextType?:
|
64
|
+
contextType?: import("react").Context<any> | undefined;
|
65
65
|
};
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import { a as _inherits, b as _createClass,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, d as _objectSpread2, e as _classCallCheck, f as _callSuper } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
|
-
import
|
3
|
+
import { Component } from 'react';
|
4
4
|
import PropTypes from 'prop-types';
|
5
5
|
import getUID from '../global/get-uid.js';
|
6
6
|
import Shortcuts from './shortcuts.js';
|
7
|
+
import { jsx } from 'react/jsx-runtime';
|
7
8
|
import 'core-js/modules/es.object.to-string.js';
|
8
9
|
import 'core-js/modules/es.regexp.to-string.js';
|
9
10
|
import 'core-js/modules/es.array.map.js';
|
@@ -23,7 +24,7 @@ import 'sniffr';
|
|
23
24
|
var _excluded = ["rgShortcutsOptions", "rgShortcutsMap"];
|
24
25
|
function shortcutsHOC(ComposedComponent) {
|
25
26
|
var _WithShortcuts;
|
26
|
-
return _WithShortcuts = /*#__PURE__*/function (
|
27
|
+
return _WithShortcuts = /*#__PURE__*/function (_Component) {
|
27
28
|
function WithShortcuts() {
|
28
29
|
var _this;
|
29
30
|
_classCallCheck(this, WithShortcuts);
|
@@ -34,7 +35,7 @@ function shortcutsHOC(ComposedComponent) {
|
|
34
35
|
_defineProperty(_this, "_shortcutsScopeUid", getUID('rg-shortcuts-'));
|
35
36
|
return _this;
|
36
37
|
}
|
37
|
-
_inherits(WithShortcuts,
|
38
|
+
_inherits(WithShortcuts, _Component);
|
38
39
|
return _createClass(WithShortcuts, [{
|
39
40
|
key: "render",
|
40
41
|
value: function render() {
|
@@ -42,15 +43,16 @@ function shortcutsHOC(ComposedComponent) {
|
|
42
43
|
rgShortcutsOptions = _this$props.rgShortcutsOptions,
|
43
44
|
rgShortcutsMap = _this$props.rgShortcutsMap,
|
44
45
|
props = _objectWithoutProperties(_this$props, _excluded);
|
45
|
-
return /*#__PURE__*/
|
46
|
+
return /*#__PURE__*/jsx(Shortcuts, {
|
46
47
|
scope: this._shortcutsScopeUid,
|
47
48
|
map: rgShortcutsMap,
|
48
49
|
options: rgShortcutsOptions,
|
49
|
-
disabled: rgShortcutsOptions.disabled
|
50
|
-
|
50
|
+
disabled: rgShortcutsOptions.disabled,
|
51
|
+
children: /*#__PURE__*/jsx(ComposedComponent, _objectSpread2({}, props))
|
52
|
+
});
|
51
53
|
}
|
52
54
|
}]);
|
53
|
-
}(
|
55
|
+
}(Component), _defineProperty(_WithShortcuts, "propTypes", {
|
54
56
|
rgShortcutsOptions: PropTypes.object,
|
55
57
|
rgShortcutsMap: PropTypes.object
|
56
58
|
}), _WithShortcuts;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createClass,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, e as _classCallCheck, f as _callSuper } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.map.js';
|
3
3
|
import { PureComponent } from 'react';
|
4
4
|
import PropTypes from 'prop-types';
|
@@ -1,12 +1,13 @@
|
|
1
|
-
import {
|
1
|
+
import { i as _slicedToArray, d as _objectSpread2, j as _toConsumableArray } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.index-of.js';
|
3
3
|
import 'core-js/modules/es.array.map.js';
|
4
|
-
import
|
4
|
+
import { useRef, useState, useMemo, useCallback, useEffect, Fragment } from 'react';
|
5
5
|
import classNames from 'classnames';
|
6
6
|
import { isArray } from '../global/typescript-utils.js';
|
7
7
|
import Shortcuts from '../shortcuts/shortcuts.js';
|
8
8
|
import getUID from '../global/get-uid.js';
|
9
9
|
import { toRange, validateValue, calculateMarks, toPercent, calculateValue, adjustValues, HUNDRED } from './slider.utils.js';
|
10
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
10
11
|
import 'prop-types';
|
11
12
|
import '../shortcuts/core.js';
|
12
13
|
import 'core-js/modules/es.array.concat.js';
|
@@ -188,7 +189,7 @@ var Slider = function Slider(_ref) {
|
|
188
189
|
window.removeEventListener('mouseup', handleMouseUp);
|
189
190
|
};
|
190
191
|
}, [isDragging, handleMouseMove, handleMouseUp, disabled]);
|
191
|
-
return /*#__PURE__*/
|
192
|
+
return /*#__PURE__*/jsxs("div", {
|
192
193
|
ref: ref,
|
193
194
|
role: "presentation" // contains interactive elements
|
194
195
|
,
|
@@ -197,87 +198,86 @@ var Slider = function Slider(_ref) {
|
|
197
198
|
[modules_b653e84a.marked]: !!marks || showTag
|
198
199
|
}),
|
199
200
|
tabIndex: -1,
|
200
|
-
onMouseDown: handleMouseDown
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
201
|
+
onMouseDown: handleMouseDown,
|
202
|
+
children: [/*#__PURE__*/jsx(Shortcuts, {
|
203
|
+
map: shortcutsMap,
|
204
|
+
scope: shortcutsScope
|
205
|
+
}), /*#__PURE__*/jsx("div", {
|
206
|
+
className: classNames(modules_b653e84a.rail, {
|
207
|
+
[modules_b653e84a.rounded]: !showTicks,
|
208
|
+
[modules_b653e84a.disabled]: disabled
|
209
|
+
})
|
210
|
+
}), /*#__PURE__*/jsx("div", {
|
211
|
+
style: {
|
212
|
+
left: "".concat(trackStart, "%"),
|
213
|
+
width: "".concat(trackLength, "%")
|
214
|
+
},
|
215
|
+
className: classNames(modules_b653e84a.track, {
|
216
|
+
[modules_b653e84a.rounded]: !showTicks,
|
217
|
+
[modules_b653e84a.disabled]: disabled
|
218
|
+
})
|
219
|
+
}), validValues.map(function (numValue, index) {
|
220
|
+
var percent = toPercent(numValue, min, max);
|
221
|
+
return (
|
222
|
+
/*#__PURE__*/
|
223
|
+
// eslint-disable-next-line react/no-array-index-key
|
224
|
+
jsxs(Fragment, {
|
225
|
+
children: [/*#__PURE__*/jsx("div", {
|
226
|
+
tabIndex: 0,
|
227
|
+
"aria-label": "Pick value",
|
228
|
+
role: "slider",
|
229
|
+
"aria-valuemin": min,
|
230
|
+
"aria-valuemax": max,
|
231
|
+
"aria-valuenow": numValue,
|
232
|
+
"data-index": index,
|
233
|
+
style: {
|
234
|
+
left: "".concat(percent, "%")
|
235
|
+
},
|
236
|
+
className: classNames(modules_b653e84a.thumb, {
|
237
|
+
[modules_b653e84a.disabled]: disabled,
|
238
|
+
[modules_b653e84a.dragged]: isDragging && draggedIndex === index
|
239
|
+
}),
|
240
|
+
onMouseDown: handleMouseDown
|
241
|
+
}), showTag && /*#__PURE__*/jsx("div", {
|
242
|
+
style: {
|
243
|
+
left: "".concat(percent, "%")
|
244
|
+
},
|
245
|
+
className: classNames(modules_b653e84a.tag, {
|
246
|
+
[modules_b653e84a.disabled]: disabled
|
247
|
+
}),
|
248
|
+
role: "tooltip",
|
249
|
+
children: renderTag ? renderTag(numValue) : numValue
|
250
|
+
})]
|
251
|
+
}, index)
|
252
|
+
);
|
253
|
+
}), markValues.map(function (_ref8, index) {
|
254
|
+
var markValue = _ref8.value,
|
255
|
+
label = _ref8.label;
|
256
|
+
var percent = toPercent(markValue, min, max);
|
257
|
+
return /*#__PURE__*/jsx("div", {
|
233
258
|
style: {
|
234
259
|
left: "".concat(percent, "%")
|
235
260
|
},
|
236
|
-
className: classNames(modules_b653e84a.
|
237
|
-
[modules_b653e84a.disabled]: disabled
|
238
|
-
[modules_b653e84a.dragged]: isDragging && draggedIndex === index
|
261
|
+
className: classNames(modules_b653e84a.markValue, {
|
262
|
+
[modules_b653e84a.disabled]: disabled
|
239
263
|
}),
|
240
|
-
|
241
|
-
}
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
264
|
+
children: label !== null && label !== void 0 ? label : markValue
|
265
|
+
}, index);
|
266
|
+
}), tickMarks.map(function (_ref9, index) {
|
267
|
+
var tickValue = _ref9.value;
|
268
|
+
var percent = toPercent(tickValue, min, max);
|
269
|
+
var isActive = isRange ? tickValue >= validValues[0] && tickValue <= validValues[validValues.length - 1] : tickValue <= validValues[0];
|
270
|
+
return /*#__PURE__*/jsx("div", {
|
271
|
+
className: classNames(modules_b653e84a.tick, {
|
272
|
+
[modules_b653e84a.active]: isActive,
|
246
273
|
[modules_b653e84a.disabled]: disabled
|
247
274
|
}),
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
var percent = toPercent(markValue, min, max);
|
255
|
-
return /*#__PURE__*/React.createElement("div", {
|
256
|
-
// eslint-disable-next-line react/no-array-index-key
|
257
|
-
key: index,
|
258
|
-
style: {
|
259
|
-
left: "".concat(percent, "%")
|
260
|
-
},
|
261
|
-
className: classNames(modules_b653e84a.markValue, {
|
262
|
-
[modules_b653e84a.disabled]: disabled
|
263
|
-
})
|
264
|
-
}, label !== null && label !== void 0 ? label : markValue);
|
265
|
-
}), tickMarks.map(function (_ref9, index) {
|
266
|
-
var tickValue = _ref9.value;
|
267
|
-
var percent = toPercent(tickValue, min, max);
|
268
|
-
var isActive = isRange ? tickValue >= validValues[0] && tickValue <= validValues[validValues.length - 1] : tickValue <= validValues[0];
|
269
|
-
return /*#__PURE__*/React.createElement("div", {
|
270
|
-
// eslint-disable-next-line react/no-array-index-key
|
271
|
-
key: index,
|
272
|
-
className: classNames(modules_b653e84a.tick, {
|
273
|
-
[modules_b653e84a.active]: isActive,
|
274
|
-
[modules_b653e84a.disabled]: disabled
|
275
|
-
}),
|
276
|
-
style: {
|
277
|
-
left: "".concat(percent, "%")
|
278
|
-
}
|
279
|
-
});
|
280
|
-
}));
|
275
|
+
style: {
|
276
|
+
left: "".concat(percent, "%")
|
277
|
+
}
|
278
|
+
}, index);
|
279
|
+
})]
|
280
|
+
});
|
281
281
|
};
|
282
282
|
|
283
283
|
export { Slider };
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { j as _toConsumableArray } from '../_helpers/_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.from.js';
|
3
3
|
import 'core-js/modules/es.array.map.js';
|
4
4
|
import 'core-js/modules/es.array.slice.js';
|
@@ -9,12 +9,12 @@ import '../alert-service/alert-service.js';
|
|
9
9
|
import 'core-js/modules/es.array.concat.js';
|
10
10
|
import 'core-js/modules/es.array.filter.js';
|
11
11
|
import 'core-js/modules/es.array.map.js';
|
12
|
-
import 'react';
|
13
12
|
import 'react-dom/client';
|
14
13
|
import '../global/get-uid.js';
|
15
14
|
import 'core-js/modules/es.regexp.to-string.js';
|
16
15
|
import '../alert/alert.js';
|
17
16
|
import 'core-js/modules/es.object.values.js';
|
17
|
+
import 'react';
|
18
18
|
import 'classnames';
|
19
19
|
import 'prop-types';
|
20
20
|
import '@jetbrains/icons/exception';
|
@@ -31,6 +31,7 @@ import 'core-js/modules/es.string.starts-with.js';
|
|
31
31
|
import '../global/memoize.js';
|
32
32
|
import 'core-js/modules/es.map.js';
|
33
33
|
import 'core-js/modules/es.weak-map.js';
|
34
|
+
import 'react/jsx-runtime';
|
34
35
|
import '../loader-inline/loader-inline.js';
|
35
36
|
import '../global/data-tests.js';
|
36
37
|
import 'core-js/modules/es.array.reduce.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { _ as _defineProperty, b as _createClass,
|
1
|
+
import { _ as _defineProperty, b as _createClass, e as _classCallCheck, g as _asyncToGenerator, h as _regeneratorRuntime } 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.array.iterator.js';
|