@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
@@ -111,15 +111,6 @@ function _defineProperty(e, r, t) {
|
|
111
111
|
writable: !0
|
112
112
|
}) : e[r] = t, e;
|
113
113
|
}
|
114
|
-
function _extends() {
|
115
|
-
return _extends = Object.assign ? Object.assign.bind() : function (n) {
|
116
|
-
for (var e = 1; e < arguments.length; e++) {
|
117
|
-
var t = arguments[e];
|
118
|
-
for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);
|
119
|
-
}
|
120
|
-
return n;
|
121
|
-
}, _extends.apply(null, arguments);
|
122
|
-
}
|
123
114
|
function _get() {
|
124
115
|
return _get = "undefined" != typeof Reflect && Reflect.get ? Reflect.get.bind() : function (e, t, r) {
|
125
116
|
var p = _superPropBase(e, t);
|
@@ -574,4 +565,4 @@ function _unsupportedIterableToArray(r, a) {
|
|
574
565
|
}
|
575
566
|
}
|
576
567
|
|
577
|
-
export { _defineProperty as _, _inherits as a, _createClass as b, _objectWithoutProperties as c, _objectSpread2 as d,
|
568
|
+
export { _defineProperty as _, _inherits as a, _createClass as b, _objectWithoutProperties as c, _objectSpread2 as d, _classCallCheck as e, _callSuper as f, _asyncToGenerator as g, _regeneratorRuntime as h, _slicedToArray as i, _toConsumableArray as j, _createForOfIteratorHelper as k, _get as l, _getPrototypeOf as m, _toPropertyKey as n };
|
@@ -1,10 +1,11 @@
|
|
1
|
-
import { c as _objectWithoutProperties,
|
2
|
-
import
|
1
|
+
import { c as _objectWithoutProperties, d as _objectSpread2 } from './_rollupPluginBabelHelpers.js';
|
2
|
+
import { memo } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import chevronDown from '@jetbrains/icons/chevron-10px';
|
5
5
|
import classNames from 'classnames';
|
6
6
|
import Icon from '../icon/icon.js';
|
7
7
|
import { Button } from '../button/button.js';
|
8
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
8
9
|
|
9
10
|
var modules_d9414203 = {"light":"light_rui_2ac4","dropdown":"dropdown_rui_8ec5","anchor":"anchor_rui_8ec5","chevron":"chevron_rui_8ec5"};
|
10
11
|
|
@@ -13,13 +14,15 @@ var Anchor = function Anchor(_ref) {
|
|
13
14
|
var children = _ref.children,
|
14
15
|
className = _ref.className,
|
15
16
|
restProps = _objectWithoutProperties(_ref, _excluded);
|
16
|
-
return /*#__PURE__*/
|
17
|
+
return /*#__PURE__*/jsxs(Button, _objectSpread2(_objectSpread2({
|
17
18
|
"data-test-ring-dropdown-anchor": true,
|
18
19
|
text: true,
|
19
20
|
className: classNames(modules_d9414203.anchor, className)
|
20
|
-
}, restProps),
|
21
|
-
|
22
|
-
|
21
|
+
}, restProps), {}, {
|
22
|
+
children: [children, /*#__PURE__*/jsx(Icon, {
|
23
|
+
glyph: chevronDown,
|
24
|
+
className: modules_d9414203.chevron
|
25
|
+
})]
|
23
26
|
}));
|
24
27
|
};
|
25
28
|
Anchor.propTypes = {
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createClass,
|
2
|
-
import
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, d as _objectSpread2, e as _classCallCheck, f as _callSuper } from './_rollupPluginBabelHelpers.js';
|
2
|
+
import { PureComponent } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import classNames from 'classnames';
|
5
|
+
import { jsx } from 'react/jsx-runtime';
|
5
6
|
|
6
|
-
var modules_1068e447 = {"button":"button_rui_6ad6","active":"active_rui_6ad6","primary":"primary_rui_6ad6","button-shadow":"i__const_button_shadow_3","buttonGroup":"buttonGroup_rui_f794 common_rui_f794 buttonGroup_rui_5c90","light":"light_rui_2ac4","common":"common_rui_f794","split":"split_rui_f794 common_rui_f794 buttonGroup_rui_5c90","caption":"caption_rui_f794 font_rui_f295"};
|
7
|
+
var modules_1068e447 = {"button":"button_rui_6ad6","active":"active_rui_6ad6","primary":"primary_rui_6ad6","button-shadow":"i__const_button_shadow_3","buttonGroup":"buttonGroup_rui_f794 common_rui_f794 buttonGroup_rui_5c90","light":"light_rui_2ac4","common":"common_rui_f794","split":"split_rui_f794 common_rui_f794 buttonGroup_rui_5c90","caption":"caption_rui_f794 font_rui_f295","help":"help_rui_f794"};
|
7
8
|
|
8
9
|
var Caption = /*#__PURE__*/function (_PureComponent) {
|
9
10
|
function Caption() {
|
@@ -16,7 +17,7 @@ var Caption = /*#__PURE__*/function (_PureComponent) {
|
|
16
17
|
value: function render() {
|
17
18
|
var className = this.props.className;
|
18
19
|
var classes = classNames(modules_1068e447.caption, className);
|
19
|
-
return /*#__PURE__*/
|
20
|
+
return /*#__PURE__*/jsx("span", _objectSpread2(_objectSpread2({}, this.props), {}, {
|
20
21
|
className: classes
|
21
22
|
}));
|
22
23
|
}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, d as _objectSpread2, e as _classCallCheck, f as _callSuper } from './_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
|
-
import
|
3
|
+
import { PureComponent } from 'react';
|
4
4
|
import PropTypes from 'prop-types';
|
5
5
|
import classNames from 'classnames';
|
6
6
|
import copyIcon from '@jetbrains/icons/copy';
|
@@ -10,6 +10,7 @@ import clipboard from '../clipboard/clipboard.js';
|
|
10
10
|
import { m as modules_6c9187df } from './badge.js';
|
11
11
|
import Icon from '../icon/icon.js';
|
12
12
|
import { I18nContext } from '../i18n/i18n-context.js';
|
13
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
13
14
|
import { Size as Size$1 } from '../icon/icon__constants.js';
|
14
15
|
|
15
16
|
var modules_a4196c17 = {"light":"light_rui_2ac4","userCardSpaced":"userCardSpaced_rui_6680","userInformationContainer":"userInformationContainer_rui_6680","userAvatar":"userAvatar_rui_6680","userInformation":"userInformation_rui_6680","userInformationGeneral":"userInformationGeneral_rui_6680","userNameLine":"userNameLine_rui_6680","userName":"userName_rui_6680","userLogin":"userLogin_rui_6680","userEmail":"userEmail_rui_6680","userCopyIcon":"userCopyIcon_rui_6680","userEmailWrapper":"userEmailWrapper_rui_6680","unverifiedLabel":"unverifiedLabel_rui_6680","userNameInfo":"userNameInfo_rui_6680","userActiveStatus":"userActiveStatus_rui_6680","online":"online_rui_6680"};
|
@@ -56,54 +57,69 @@ var UserCard = /*#__PURE__*/function (_PureComponent) {
|
|
56
57
|
var translations = this.props.translations;
|
57
58
|
var classes = classNames(className, {});
|
58
59
|
var userActiveStatusClasses = classNames(modules_a4196c17.userActiveStatus, user.online ? modules_a4196c17.online : '');
|
59
|
-
return /*#__PURE__*/
|
60
|
+
return /*#__PURE__*/jsx("div", _objectSpread2(_objectSpread2({
|
60
61
|
className: classes
|
61
|
-
}, restProps),
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
62
|
+
}, restProps), {}, {
|
63
|
+
children: /*#__PURE__*/jsxs("div", {
|
64
|
+
className: modules_a4196c17.userInformationContainer,
|
65
|
+
children: [/*#__PURE__*/jsxs("div", {
|
66
|
+
className: modules_a4196c17.userAvatar,
|
67
|
+
children: [/*#__PURE__*/jsx(Avatar, {
|
68
|
+
size: Size.Size56,
|
69
|
+
url: user.avatarUrl,
|
70
|
+
round: true
|
71
|
+
}), !!avatarInfo && avatarInfo]
|
72
|
+
}), /*#__PURE__*/jsxs("div", {
|
73
|
+
className: modules_a4196c17.userInformation,
|
74
|
+
children: [/*#__PURE__*/jsxs("div", {
|
75
|
+
className: modules_a4196c17.userInformationGeneral,
|
76
|
+
children: [/*#__PURE__*/jsxs("div", {
|
77
|
+
className: modules_a4196c17.userNameLine,
|
78
|
+
children: [user.href && /*#__PURE__*/jsx(Link, {
|
79
|
+
href: user.href,
|
80
|
+
className: modules_a4196c17.userName,
|
81
|
+
children: user.name
|
82
|
+
}), !user.href && /*#__PURE__*/jsx("span", {
|
83
|
+
className: modules_a4196c17.userName,
|
84
|
+
children: user.name
|
85
|
+
}), typeof user.online === 'boolean' && /*#__PURE__*/jsx("span", {
|
86
|
+
className: userActiveStatusClasses,
|
87
|
+
title: user.online ? (_translations$online = translations === null || translations === void 0 ? void 0 : translations.online) !== null && _translations$online !== void 0 ? _translations$online : translate('online') : (_translations$offline = translations === null || translations === void 0 ? void 0 : translations.offline) !== null && _translations$offline !== void 0 ? _translations$offline : translate('offline')
|
88
|
+
}), !!info && /*#__PURE__*/jsx("span", {
|
89
|
+
className: modules_a4196c17.userNameInfo,
|
90
|
+
children: info
|
91
|
+
}), user.banned && /*#__PURE__*/jsx("span", {
|
92
|
+
className: classNames(modules_6c9187df.badge, modules_6c9187df.invalid),
|
93
|
+
title: user.banReason,
|
94
|
+
children: (_translations$banned = translations === null || translations === void 0 ? void 0 : translations.banned) !== null && _translations$banned !== void 0 ? _translations$banned : translate('banned')
|
95
|
+
})]
|
96
|
+
}), /*#__PURE__*/jsx("div", {
|
97
|
+
className: modules_a4196c17.userLogin,
|
98
|
+
children: user.login
|
99
|
+
}), user.email && /*#__PURE__*/jsxs("span", {
|
100
|
+
className: modules_a4196c17.userEmailWrapper,
|
101
|
+
children: [/*#__PURE__*/jsx(Link, {
|
102
|
+
href: "mailto:".concat(user.email),
|
103
|
+
title: "mailto:".concat(user.email),
|
104
|
+
target: "_blank",
|
105
|
+
className: modules_a4196c17.userEmail,
|
106
|
+
children: user.email
|
107
|
+
}), user.unverifiedEmail && /*#__PURE__*/jsx("span", {
|
108
|
+
className: modules_a4196c17.unverifiedLabel,
|
109
|
+
children: (_translations$unverif = translations === null || translations === void 0 ? void 0 : translations.unverified) !== null && _translations$unverif !== void 0 ? _translations$unverif : translate('unverified')
|
110
|
+
}), /*#__PURE__*/jsx(Icon, {
|
111
|
+
title: (_translations$copyToC = translations === null || translations === void 0 ? void 0 : translations.copyToClipboard) !== null && _translations$copyToC !== void 0 ? _translations$copyToC : translate('copyToClipboard'),
|
112
|
+
className: modules_a4196c17.userCopyIcon,
|
113
|
+
onClick: this.copyEmail,
|
114
|
+
glyph: copyIcon,
|
115
|
+
size: Size$1.Size14,
|
116
|
+
suppressSizeWarning: true
|
117
|
+
})]
|
118
|
+
})]
|
119
|
+
}), children]
|
120
|
+
})]
|
121
|
+
})
|
122
|
+
}));
|
107
123
|
}
|
108
124
|
}]);
|
109
125
|
}(PureComponent);
|
@@ -1,11 +1,12 @@
|
|
1
|
-
import { c as _objectWithoutProperties,
|
1
|
+
import { c as _objectWithoutProperties, d as _objectSpread2 } from './_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.regexp.exec.js';
|
3
3
|
import 'core-js/modules/es.string.replace.js';
|
4
4
|
import 'core-js/modules/es.string.starts-with.js';
|
5
|
-
import
|
5
|
+
import { memo } from 'react';
|
6
6
|
import classNames from 'classnames';
|
7
7
|
import PropTypes from 'prop-types';
|
8
8
|
import memoize from '../global/memoize.js';
|
9
|
+
import { jsx } from 'react/jsx-runtime';
|
9
10
|
|
10
11
|
var modules_29747b80 = {"light":"light_rui_2ac4","icon":"icon_rui_c997","glyph":"glyph_rui_c997","compatibilityMode":"compatibilityMode_rui_c997","gray":"gray_rui_c997","hover":"hover_rui_c997","green":"green_rui_c997","magenta":"magenta_rui_c997","red":"red_rui_c997","blue":"blue_rui_c997","white":"white_rui_c997","loading":"loading_rui_c997","icon-loading":"icon-loading_rui_c997"};
|
11
12
|
|
@@ -58,7 +59,7 @@ function IconSVG(_ref) {
|
|
58
59
|
var _getSVGFromSource = getSVGFromSource(src),
|
59
60
|
props = _getSVGFromSource.props,
|
60
61
|
html = _getSVGFromSource.html;
|
61
|
-
return /*#__PURE__*/
|
62
|
+
return /*#__PURE__*/jsx("svg", _objectSpread2(_objectSpread2(_objectSpread2({}, props), rest), {}, {
|
62
63
|
className: glyphClasses,
|
63
64
|
dangerouslySetInnerHTML: {
|
64
65
|
__html: html
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, d as _objectSpread2, e as _classCallCheck, f as _callSuper } from './_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.object.values.js';
|
4
|
-
import
|
4
|
+
import { PureComponent } from 'react';
|
5
5
|
import PropTypes from 'prop-types';
|
6
6
|
import classNames from 'classnames';
|
7
7
|
import closeIcon from '@jetbrains/icons/close-12px';
|
@@ -13,10 +13,12 @@ import { I18nContext } from '../i18n/i18n-context.js';
|
|
13
13
|
import composeRefs from '../global/composeRefs.js';
|
14
14
|
import { ControlsHeightContext } from '../global/controls-height.js';
|
15
15
|
import { ControlLabel } from '../control-label/control-label.js';
|
16
|
+
import ControlHelp from '../control-help/control-help.js';
|
17
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
16
18
|
|
17
|
-
var modules_88cfaf40 = {"button-shadow":"inset 0 0 0 1px","loaderWidth":"calc(var(--ring-unit)*8)","light":"light_rui_2ac4","heightS":"heightS_rui_1f0c","heightM":"heightM_rui_1f0c","heightL":"heightL_rui_1f0c","button":"button_rui_1f0c","active":"active_rui_1f0c","withIcon":"withIcon_rui_1f0c","icon":"icon_rui_1f0c","primary":"primary_rui_1f0c","loader":"loader_rui_1f0c","loaderBackground":"loaderBackground_rui_1f0c","danger":"danger_rui_1f0c","text":"text_rui_1f0c","content":"content_rui_1f0c","text-loading":"text-loading_rui_1f0c","inline":"inline_rui_1f0c","withNormalIcon":"withNormalIcon_rui_1f0c","withDangerIcon":"withDangerIcon_rui_1f0c","progress":"progress_rui_1f0c","delayed":"delayed_rui_1f0c","short":"short_rui_1f0c","dropdownIcon":"dropdownIcon_rui_1f0c","outerContainer":"outerContainer_rui_1f0c","borderless":"borderless_rui_1f0c","container":"container_rui_1f0c","input":"input_rui_1f0c","error":"error_rui_1f0c","clearable":"clearable_rui_1f0c","clear":"clear_rui_1f0c","empty":"empty_rui_1f0c","errorText":"errorText_rui_1f0c","sizeS":"sizeS_rui_1f0c","sizeM":"sizeM_rui_1f0c","sizeL":"sizeL_rui_1f0c","sizeFULL":"sizeFULL_rui_1f0c"};
|
19
|
+
var modules_88cfaf40 = {"button-shadow":"inset 0 0 0 1px","loaderWidth":"calc(var(--ring-unit)*8)","light":"light_rui_2ac4","heightS":"heightS_rui_1f0c","heightM":"heightM_rui_1f0c","heightL":"heightL_rui_1f0c","button":"button_rui_1f0c","active":"active_rui_1f0c","withIcon":"withIcon_rui_1f0c","icon":"icon_rui_1f0c","primary":"primary_rui_1f0c","loader":"loader_rui_1f0c","loaderBackground":"loaderBackground_rui_1f0c","danger":"danger_rui_1f0c","text":"text_rui_1f0c","content":"content_rui_1f0c","text-loading":"text-loading_rui_1f0c","inline":"inline_rui_1f0c","withNormalIcon":"withNormalIcon_rui_1f0c","withDangerIcon":"withDangerIcon_rui_1f0c","progress":"progress_rui_1f0c","delayed":"delayed_rui_1f0c","short":"short_rui_1f0c","dropdownIcon":"dropdownIcon_rui_1f0c","outerContainer":"outerContainer_rui_1f0c","borderless":"borderless_rui_1f0c","container":"container_rui_1f0c","input":"input_rui_1f0c","error":"error_rui_1f0c","clearable":"clearable_rui_1f0c","clear":"clear_rui_1f0c","empty":"empty_rui_1f0c","errorText":"errorText_rui_1f0c","helpText":"helpText_rui_1f0c","sizeS":"sizeS_rui_1f0c","sizeM":"sizeM_rui_1f0c","sizeL":"sizeL_rui_1f0c","sizeFULL":"sizeFULL_rui_1f0c"};
|
18
20
|
|
19
|
-
var _excluded = ["size", "
|
21
|
+
var _excluded = ["size", "multiline", "borderless", "label", "labelType", "error", "help", "className", "inputClassName", "children", "value", "onClear", "disabled", "inputRef", "onChange", "enableShortcuts", "id", "placeholder", "icon", "translations", "height", "afterInput"];
|
20
22
|
function noop() {}
|
21
23
|
/**
|
22
24
|
* @name Input
|
@@ -122,12 +124,12 @@ var Input = /*#__PURE__*/function (_PureComponent) {
|
|
122
124
|
var _this3 = this;
|
123
125
|
var _this$props3 = this.props,
|
124
126
|
size = _this$props3.size,
|
125
|
-
active = _this$props3.active,
|
126
127
|
multiline = _this$props3.multiline,
|
127
128
|
borderless = _this$props3.borderless,
|
128
129
|
label = _this$props3.label,
|
129
130
|
labelType = _this$props3.labelType,
|
130
131
|
error = _this$props3.error,
|
132
|
+
help = _this$props3.help,
|
131
133
|
className = _this$props3.className,
|
132
134
|
inputClassName = _this$props3.inputClassName,
|
133
135
|
children = _this$props3.children,
|
@@ -149,7 +151,6 @@ var Input = /*#__PURE__*/function (_PureComponent) {
|
|
149
151
|
var clearable = !!onClear;
|
150
152
|
var classes = classNames(className, modules_88cfaf40.outerContainer, [modules_88cfaf40["size".concat(size)]], [modules_88cfaf40["height".concat(height)]], {
|
151
153
|
'ring-js-shortcuts': enableShortcuts === true,
|
152
|
-
[modules_88cfaf40.active]: active,
|
153
154
|
[modules_88cfaf40.error]: error != null,
|
154
155
|
[modules_88cfaf40.empty]: empty,
|
155
156
|
[modules_88cfaf40.withIcon]: icon != null,
|
@@ -168,35 +169,44 @@ var Input = /*#__PURE__*/function (_PureComponent) {
|
|
168
169
|
'aria-label': typeof label === 'string' && label ? label : placeholder,
|
169
170
|
'data-enabled-shortcuts': Array.isArray(enableShortcuts) ? enableShortcuts.join(',') : null
|
170
171
|
};
|
171
|
-
return /*#__PURE__*/
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
172
|
+
return /*#__PURE__*/jsx(I18nContext.Consumer, {
|
173
|
+
children: function children(_ref) {
|
174
|
+
var _translations$clear;
|
175
|
+
var translate = _ref.translate;
|
176
|
+
return /*#__PURE__*/jsxs("div", {
|
177
|
+
className: classes,
|
178
|
+
"data-test": "ring-input",
|
179
|
+
children: [label && /*#__PURE__*/jsx(ControlLabel, {
|
180
|
+
htmlFor: _this3.getId(),
|
181
|
+
disabled: disabled,
|
182
|
+
type: labelType,
|
183
|
+
children: label
|
184
|
+
}), /*#__PURE__*/jsxs("div", {
|
185
|
+
className: modules_88cfaf40.container,
|
186
|
+
children: [icon && /*#__PURE__*/jsx(Icon, {
|
187
|
+
glyph: icon,
|
188
|
+
className: modules_88cfaf40.icon
|
189
|
+
}), multiline ? /*#__PURE__*/jsx("textarea", _objectSpread2(_objectSpread2({
|
190
|
+
onChange: _this3.handleTextareaChange,
|
191
|
+
rows: 1
|
192
|
+
}, commonProps), restProps)) : /*#__PURE__*/jsx("input", _objectSpread2(_objectSpread2({
|
193
|
+
onChange: _this3.handleInputChange
|
194
|
+
}, commonProps), restProps)), clearable && !disabled && /*#__PURE__*/jsx(Button, {
|
195
|
+
title: (_translations$clear = translations === null || translations === void 0 ? void 0 : translations.clear) !== null && _translations$clear !== void 0 ? _translations$clear : translate('clear'),
|
196
|
+
"data-test": "ring-input-clear",
|
197
|
+
className: modules_88cfaf40.clear,
|
198
|
+
icon: closeIcon,
|
199
|
+
onClick: _this3.clear
|
200
|
+
}), afterInput]
|
201
|
+
}), error ? /*#__PURE__*/jsx("div", {
|
202
|
+
className: modules_88cfaf40.errorText,
|
203
|
+
children: error
|
204
|
+
}) : help && /*#__PURE__*/jsx(ControlHelp, {
|
205
|
+
className: modules_88cfaf40.helpText,
|
206
|
+
children: help
|
207
|
+
})]
|
208
|
+
});
|
209
|
+
}
|
200
210
|
});
|
201
211
|
}
|
202
212
|
}]);
|
@@ -214,7 +224,6 @@ Input.propTypes = {
|
|
214
224
|
inputClassName: PropTypes.string,
|
215
225
|
size: PropTypes.oneOf(Object.values(Size)).isRequired,
|
216
226
|
label: PropTypes.node,
|
217
|
-
active: PropTypes.bool,
|
218
227
|
error: PropTypes.string,
|
219
228
|
multiline: PropTypes.bool,
|
220
229
|
onChange: PropTypes.func,
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { b as _createClass,
|
1
|
+
import { b as _createClass, e as _classCallCheck } from './_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.symbol.js';
|
3
3
|
import 'core-js/modules/es.symbol.description.js';
|
4
4
|
import 'core-js/modules/es.object.to-string.js';
|
5
5
|
import 'core-js/modules/web.dom-collections.for-each.js';
|
6
|
-
import React from 'react';
|
7
6
|
import List from '../list/list.js';
|
7
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
8
8
|
|
9
9
|
var modules_da7ab055 = {"button-shadow":"inset 0 0 0 1px","loaderWidth":"calc(var(--ring-unit)*8)","overInputZIndex":"2","inputGap":"calc(var(--ring-unit)*3)","light":"light_rui_2ac4","heightS":"heightS_rui_0eb8","heightM":"heightM_rui_0eb8","heightL":"heightL_rui_0eb8","button":"button_rui_0eb8","active":"active_rui_0eb8","withIcon":"withIcon_rui_0eb8","icon":"icon_rui_0eb8","primary":"primary_rui_0eb8","loader":"loader_rui_0eb8","loaderBackground":"loaderBackground_rui_0eb8","danger":"danger_rui_0eb8","text":"text_rui_0eb8","content":"content_rui_0eb8","text-loading":"text-loading_rui_0eb8","inline":"inline_rui_0eb8","withNormalIcon":"withNormalIcon_rui_0eb8","withDangerIcon":"withDangerIcon_rui_0eb8","progress":"progress_rui_0eb8","delayed":"delayed_rui_0eb8","short":"short_rui_0eb8","dropdownIcon":"dropdownIcon_rui_0eb8","queryAssist":"queryAssist_rui_0eb8","error":"error_rui_0eb8","queryAssistDisabled":"queryAssistDisabled_rui_0eb8","huge":"huge_rui_0eb8","actions":"actions_rui_0eb8","input":"input_rui_0eb8","letter-text":"letter-text_rui_0eb8","letterDefault":"letterDefault_rui_0eb8","letter-field-name":"letter-field-name_rui_0eb8","letter-field-value":"letter-field-value_rui_0eb8","letter-operator":"letter-operator_rui_0eb8","letter-error":"letter-error_rui_0eb8","highlight":"highlight_rui_0eb8","service":"service_rui_0eb8","placeholder":"placeholder_rui_0eb8 resetButton_rui_f295","hugePlaceholder":"hugePlaceholder_rui_0eb8","letter":"letter_rui_0eb8","rightSearchButton":"rightSearchButton_rui_0eb8","clear":"clear_rui_0eb8","withoutGlass":"withoutGlass_rui_0eb8","loaderActive":"loaderActive_rui_0eb8","loaderOnTheRight":"loaderOnTheRight_rui_0eb8","inputRevertOrder":"inputRevertOrder_rui_0eb8"};
|
10
10
|
|
@@ -49,22 +49,26 @@ var QueryAssistSuggestions = /*#__PURE__*/function () {
|
|
49
49
|
var after = '';
|
50
50
|
if (matchingStart !== matchingEnd) {
|
51
51
|
before = option.substring(0, matchingStart);
|
52
|
-
wrappedOption = /*#__PURE__*/
|
53
|
-
className: modules_da7ab055.highlight
|
54
|
-
|
52
|
+
wrappedOption = /*#__PURE__*/jsx("span", {
|
53
|
+
className: modules_da7ab055.highlight,
|
54
|
+
children: option.substring(matchingStart, matchingEnd)
|
55
|
+
});
|
55
56
|
after = option.substring(matchingEnd);
|
56
57
|
} else {
|
57
58
|
wrappedOption = option;
|
58
59
|
}
|
59
|
-
var wrappedPrefix = prefix && /*#__PURE__*/
|
60
|
-
className: modules_da7ab055.service
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
60
|
+
var wrappedPrefix = prefix && /*#__PURE__*/jsx("span", {
|
61
|
+
className: modules_da7ab055.service,
|
62
|
+
children: prefix
|
63
|
+
});
|
64
|
+
var wrappedSuffix = suffix && /*#__PURE__*/jsx("span", {
|
65
|
+
className: modules_da7ab055.service,
|
66
|
+
children: suffix
|
67
|
+
});
|
68
|
+
return /*#__PURE__*/jsxs("span", {
|
69
|
+
className: className,
|
70
|
+
children: [wrappedPrefix, before, wrappedOption, after, wrappedSuffix]
|
71
|
+
});
|
68
72
|
}
|
69
73
|
}, {
|
70
74
|
key: "renderGroupSeparator",
|
@@ -1,14 +1,15 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, d as _objectSpread2, e as _classCallCheck, f as _callSuper } from './_rollupPluginBabelHelpers.js';
|
2
2
|
import 'core-js/modules/es.array.concat.js';
|
3
3
|
import 'core-js/modules/es.array.filter.js';
|
4
4
|
import 'core-js/modules/es.object.to-string.js';
|
5
|
-
import
|
5
|
+
import { Component } from 'react';
|
6
6
|
import PropTypes from 'prop-types';
|
7
7
|
import classNames from 'classnames';
|
8
8
|
import { I as Input } from './input.js';
|
9
9
|
import sniffr from '../global/sniffer.js';
|
10
10
|
import { ActiveItemContext } from '../list/list.js';
|
11
11
|
import { I18nContext } from '../i18n/i18n-context.js';
|
12
|
+
import { jsx } from 'react/jsx-runtime';
|
12
13
|
|
13
14
|
var modules_b607bec2 = {"filterWithTagsFocused":"filterWithTagsFocused_rui_4b23","light":"light_rui_2ac4","filterWithTags":"filterWithTags_rui_4b23","filterWrapper":"filterWrapper_rui_4b23","filterWithTagsInput":"filterWithTagsInput_rui_4b23","filter":"filter_rui_4b23","popup":"popup_rui_4b23","filterIcon":"filterIcon_rui_4b23","bottomLine":"bottomLine_rui_4b23","bottomLineOverItem":"bottomLineOverItem_rui_4b23","message":"message_rui_4b23","selectAll":"selectAll_rui_4b23"};
|
14
15
|
|
@@ -59,21 +60,25 @@ var SelectFilter = /*#__PURE__*/function (_Component) {
|
|
59
60
|
listId = _this$props.listId,
|
60
61
|
restProps = _objectWithoutProperties(_this$props, _excluded);
|
61
62
|
var classes = classNames(modules_b607bec2.filter, className);
|
62
|
-
return /*#__PURE__*/
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
63
|
+
return /*#__PURE__*/jsx(ActiveItemContext.ValueContext.Consumer, {
|
64
|
+
children: function children(activeItemId) {
|
65
|
+
return /*#__PURE__*/jsx(I18nContext.Consumer, {
|
66
|
+
children: function children(_ref) {
|
67
|
+
var _restProps$placeholde;
|
68
|
+
var translate = _ref.translate;
|
69
|
+
return /*#__PURE__*/jsx(Input, _objectSpread2(_objectSpread2({}, restProps), {}, {
|
70
|
+
placeholder: (_restProps$placeholde = restProps.placeholder) !== null && _restProps$placeholde !== void 0 ? _restProps$placeholde : translate('filterItems'),
|
71
|
+
"aria-owns": listId,
|
72
|
+
"aria-activedescendant": activeItemId,
|
73
|
+
autoComplete: "off",
|
74
|
+
autoFocus: true,
|
75
|
+
borderless: true,
|
76
|
+
inputRef: _this2.inputRef,
|
77
|
+
className: classes
|
78
|
+
}));
|
79
|
+
}
|
80
|
+
});
|
81
|
+
}
|
77
82
|
});
|
78
83
|
}
|
79
84
|
}]);
|
@@ -1,7 +1,8 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties,
|
2
|
-
import
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, d as _objectSpread2, e as _classCallCheck, f as _callSuper } from './_rollupPluginBabelHelpers.js';
|
2
|
+
import { PureComponent } from 'react';
|
3
3
|
import PropTypes from 'prop-types';
|
4
4
|
import Link from '../link/link.js';
|
5
|
+
import { jsx } from 'react/jsx-runtime';
|
5
6
|
|
6
7
|
var modules_74a7bf8b = {"light":"light_rui_2ac4","services":"services_rui_27f4","active":"active_rui_27f4","item":"item_rui_27f4","itemLogo":"itemLogo_rui_27f4","activeItem":"activeItem_rui_27f4 item_rui_27f4 active_rui_27f4","line":"line_rui_27f4","itemStacked":"itemStacked_rui_27f4","activeItemStacked":"activeItemStacked_rui_27f4 itemStacked_rui_27f4 active_rui_27f4"};
|
7
8
|
|
@@ -18,18 +19,19 @@ var ServicesLink = /*#__PURE__*/function (_PureComponent) {
|
|
18
19
|
var _this$props = this.props,
|
19
20
|
service = _this$props.service,
|
20
21
|
props = _objectWithoutProperties(_this$props, _excluded);
|
21
|
-
return /*#__PURE__*/
|
22
|
+
return /*#__PURE__*/jsx(Link, _objectSpread2(_objectSpread2({
|
22
23
|
target: "_self",
|
23
24
|
href: service.homeUrl
|
24
|
-
}, props),
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
25
|
+
}, props), {}, {
|
26
|
+
children: service.iconUrl ? [/*#__PURE__*/jsx("span", {
|
27
|
+
className: modules_74a7bf8b.itemLogo,
|
28
|
+
style: {
|
29
|
+
backgroundImage: "url(".concat(service.iconUrl, ")")
|
30
|
+
}
|
31
|
+
}, "icon"), /*#__PURE__*/jsx("div", {
|
32
|
+
children: service.name
|
33
|
+
}, "text")] : service.name
|
34
|
+
}));
|
33
35
|
}
|
34
36
|
}]);
|
35
37
|
}(PureComponent);
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties,
|
1
|
+
import { _ as _defineProperty, a as _inherits, b as _createClass, c as _objectWithoutProperties, d as _objectSpread2, e as _classCallCheck, f as _callSuper } from './_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 classNames from 'classnames';
|
6
6
|
import { Waypoint } from 'react-waypoint';
|
7
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
7
8
|
|
8
9
|
var modules_b8a9dd4f = {"extra-small-screen-media":"i__const_extra_small_screen_media_0","small-screen-media":"i__const_small_screen_media_1","sidebarWidth":"calc(var(--ring-unit)*30)","light":"light_rui_2ac4","contentLayout":"contentLayout_rui_6166","contentLayoutContent":"contentLayoutContent_rui_6166","sidebarContainer":"sidebarContainer_rui_6166","sidebarContainerRight":"sidebarContainerRight_rui_6166","sidebar":"sidebar_rui_6166","sidebarRight":"sidebarRight_rui_6166","sidebarFixedTop":"sidebarFixedTop_rui_6166","sidebarFixedBottom":"sidebarFixedBottom_rui_6166","bottomMarker":"bottomMarker_rui_6166","contentLayoutResponsive":"contentLayoutResponsive_rui_6166"};
|
9
10
|
|
@@ -91,21 +92,24 @@ var Sidebar = /*#__PURE__*/function (_Component) {
|
|
91
92
|
var style = {
|
92
93
|
maxHeight: shouldFixateBottom && sidebarVisibleHeight ? "".concat(sidebarVisibleHeight, "px") : undefined
|
93
94
|
};
|
94
|
-
return /*#__PURE__*/
|
95
|
+
return /*#__PURE__*/jsxs("aside", {
|
95
96
|
className: containerClasses,
|
96
|
-
ref: this.sidebarRef
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
97
|
+
ref: this.sidebarRef,
|
98
|
+
children: [/*#__PURE__*/jsx(Waypoint, {
|
99
|
+
onEnter: this.handleTopWaypoint,
|
100
|
+
onLeave: this.handleTopWaypoint
|
101
|
+
}), /*#__PURE__*/jsx("div", _objectSpread2(_objectSpread2({}, restProps), {}, {
|
102
|
+
style: style,
|
103
|
+
className: classes,
|
104
|
+
children: children
|
105
|
+
})), /*#__PURE__*/jsx("div", {
|
106
|
+
className: modules_b8a9dd4f.bottomMarker,
|
107
|
+
children: /*#__PURE__*/jsx(Waypoint, {
|
108
|
+
onEnter: this.handleBottomWaypoint,
|
109
|
+
onLeave: this.handleBottomWaypoint
|
110
|
+
})
|
111
|
+
})]
|
112
|
+
});
|
109
113
|
}
|
110
114
|
}]);
|
111
115
|
}(Component);
|