@jetbrains/ring-ui-built 7.0.72 → 7.0.73
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/anchor.js +55 -13
- package/components/_helpers/avatar-info.js +44 -11
- package/components/_helpers/caption.js +2 -2
- package/components/_helpers/card.js +21 -21
- package/components/_helpers/icon-svg.js +75 -17
- package/components/_helpers/input.js +13 -13
- package/components/_helpers/query-assist-suggestions.js +5 -5
- package/components/_helpers/select-filter.js +5 -5
- package/components/_helpers/services-link.js +5 -5
- package/components/_helpers/sidebar.js +6 -6
- package/components/_helpers/tab-link.js +69 -17
- package/components/_helpers/theme.js +231 -54
- package/components/_helpers/title.js +5 -5
- package/components/alert/alert.d.ts +1 -1
- package/components/alert/alert.js +12 -10
- package/components/alert/container.js +4 -4
- package/components/alert-service/alert-service.d.ts +1 -1
- package/components/alert-service/alert-service.js +5 -4
- package/components/auth/auth-core.js +8 -8
- package/components/auth/auth.js +3 -2
- package/components/auth/down-notification.js +61 -17
- package/components/auth/iframe-flow.js +7 -6
- package/components/auth/storage.js +3 -2
- package/components/auth/token-validator.js +1 -1
- package/components/auth/window-flow.js +2 -2
- package/components/auth-dialog/auth-dialog.d.ts +1 -1
- package/components/auth-dialog/auth-dialog.js +15 -14
- package/components/auth-dialog-service/auth-dialog-service.js +4 -6
- package/components/avatar/avatar-info.d.ts +1 -1
- package/components/avatar/avatar-info.js +3 -2
- package/components/avatar/avatar.d.ts +1 -1
- package/components/avatar/avatar.js +16 -15
- package/components/avatar/fallback-avatar.d.ts +1 -1
- package/components/avatar/fallback-avatar.js +183 -59
- package/components/avatar-stack/avatar-stack.d.ts +1 -1
- package/components/avatar-stack/avatar-stack.js +115 -29
- package/components/banner/banner.d.ts +1 -1
- package/components/banner/banner.js +11 -10
- package/components/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/components/breadcrumbs/breadcrumbs.js +3 -2
- package/components/button/button.d.ts +1 -1
- package/components/button/button.js +11 -10
- package/components/button-group/button-group.d.ts +1 -1
- package/components/button-group/button-group.js +6 -8
- package/components/button-group/caption.d.ts +1 -1
- package/components/button-group/caption.js +1 -1
- package/components/button-set/button-set.d.ts +1 -1
- package/components/button-set/button-set.js +2 -5
- package/components/button-toolbar/button-toolbar.d.ts +1 -1
- package/components/button-toolbar/button-toolbar.js +2 -5
- package/components/checkbox/checkbox.d.ts +1 -1
- package/components/checkbox/checkbox.js +12 -17
- package/components/clipboard/clipboard.js +2 -1
- package/components/code/code.d.ts +1 -1
- package/components/code/code.js +5 -5
- package/components/collapse/collapse-content.js +161 -77
- package/components/collapse/collapse-control.js +69 -22
- package/components/collapse/collapse.js +83 -31
- package/components/confirm/confirm.d.ts +1 -1
- package/components/confirm/confirm.js +11 -13
- package/components/confirm-service/confirm-service.js +4 -3
- package/components/content-layout/content-layout.d.ts +1 -1
- package/components/content-layout/content-layout.js +4 -7
- package/components/content-layout/sidebar.d.ts +1 -1
- package/components/content-layout/sidebar.js +1 -1
- package/components/contenteditable/contenteditable.d.ts +2 -2
- package/components/contenteditable/contenteditable.js +50 -14
- package/components/control-help/control-help.d.ts +1 -1
- package/components/control-help/control-help.js +45 -9
- package/components/control-label/control-label.js +62 -13
- package/components/data-list/data-list.d.ts +1 -1
- package/components/data-list/data-list.js +10 -9
- package/components/data-list/data-list.mock.d.ts +1 -1
- package/components/data-list/data-list.mock.js +79 -78
- package/components/data-list/item.d.ts +2 -2
- package/components/data-list/item.js +18 -17
- package/components/data-list/title.d.ts +1 -1
- package/components/data-list/title.js +2 -1
- package/components/date-picker/consts.js +1 -1
- package/components/date-picker/date-input.d.ts +1 -1
- package/components/date-picker/date-input.js +4 -3
- package/components/date-picker/date-picker.d.ts +1 -1
- package/components/date-picker/date-picker.js +97 -31
- package/components/date-picker/date-popup.d.ts +1 -1
- package/components/date-picker/date-popup.js +11 -10
- package/components/date-picker/day.d.ts +1 -1
- package/components/date-picker/day.js +4 -3
- package/components/date-picker/month-names.d.ts +1 -1
- package/components/date-picker/month-names.js +98 -22
- package/components/date-picker/month-slider.d.ts +1 -1
- package/components/date-picker/month-slider.js +4 -4
- package/components/date-picker/month.d.ts +1 -1
- package/components/date-picker/month.js +79 -18
- package/components/date-picker/months.d.ts +1 -1
- package/components/date-picker/months.js +163 -53
- package/components/date-picker/weekdays.d.ts +1 -1
- package/components/date-picker/weekdays.js +56 -16
- package/components/date-picker/years.d.ts +1 -1
- package/components/date-picker/years.js +5 -5
- package/components/dialog/dialog.d.ts +1 -1
- package/components/dialog/dialog.js +21 -23
- package/components/dropdown/anchor.d.ts +1 -1
- package/components/dropdown/anchor.js +2 -1
- package/components/dropdown/dropdown.d.ts +1 -1
- package/components/dropdown/dropdown.js +7 -8
- package/components/dropdown-menu/dropdown-menu.js +299 -83
- package/components/editable-heading/editable-heading.d.ts +2 -2
- package/components/editable-heading/editable-heading.js +523 -174
- package/components/error-bubble/error-bubble.d.ts +1 -1
- package/components/error-bubble/error-bubble.js +7 -9
- package/components/error-message/error-message.d.ts +1 -1
- package/components/error-message/error-message.js +8 -10
- package/components/footer/footer.js +205 -61
- package/components/global/create-stateful-context.d.ts +1 -1
- package/components/global/create-stateful-context.js +73 -18
- package/components/global/focus-sensor-hoc.js +2 -2
- package/components/global/get-uid.js +1 -1
- package/components/global/react-dom-renderer.d.ts +1 -1
- package/components/global/react-dom-renderer.js +2 -2
- package/components/global/rerender-hoc.js +23 -6
- package/components/global/theme.js +3 -2
- package/components/global/use-event-callback.js +37 -13
- package/components/grid/col.d.ts +1 -1
- package/components/grid/col.js +3 -3
- package/components/grid/grid.d.ts +1 -1
- package/components/grid/grid.js +3 -6
- package/components/grid/row.d.ts +1 -1
- package/components/grid/row.js +3 -3
- package/components/group/group.d.ts +1 -1
- package/components/group/group.js +3 -6
- package/components/header/header-icon.d.ts +1 -1
- package/components/header/header-icon.js +3 -2
- package/components/header/header.d.ts +1 -1
- package/components/header/header.js +7 -12
- package/components/header/links.d.ts +1 -1
- package/components/header/links.js +45 -10
- package/components/header/logo.d.ts +1 -1
- package/components/header/logo.js +4 -3
- package/components/header/profile.js +17 -16
- package/components/header/services-link.d.ts +1 -1
- package/components/header/services-link.js +1 -1
- package/components/header/services.d.ts +1 -1
- package/components/header/services.js +35 -16
- package/components/header/smart-profile.d.ts +1 -1
- package/components/header/smart-profile.js +6 -5
- package/components/header/smart-services.d.ts +1 -1
- package/components/header/smart-services.js +3 -2
- package/components/header/tray.d.ts +1 -1
- package/components/header/tray.js +3 -3
- package/components/heading/heading.js +188 -44
- package/components/i18n/i18n-context.js +51 -13
- package/components/icon/icon-svg.d.ts +1 -1
- package/components/icon/icon-svg.js +2 -1
- package/components/icon/icon.d.ts +1 -1
- package/components/icon/icon.js +6 -5
- package/components/icon/index.js +2 -1
- package/components/input/input.d.ts +1 -1
- package/components/input/input.js +2 -1
- package/components/island/adaptive-island-hoc.js +4 -4
- package/components/island/content.d.ts +1 -1
- package/components/island/content.js +36 -17
- package/components/island/header.d.ts +1 -1
- package/components/island/header.js +32 -14
- package/components/island/island.d.ts +1 -1
- package/components/island/island.js +3 -5
- package/components/link/clickable-link.d.ts +1 -1
- package/components/link/clickable-link.js +2 -2
- package/components/link/link.js +4 -4
- package/components/list/list-custom.d.ts +1 -1
- package/components/list/list-custom.js +2 -2
- package/components/list/list-hint.d.ts +1 -1
- package/components/list/list-hint.js +3 -7
- package/components/list/list-item.d.ts +1 -1
- package/components/list/list-item.js +23 -26
- package/components/list/list-separator.d.ts +1 -1
- package/components/list/list-separator.js +3 -3
- package/components/list/list-title.d.ts +1 -1
- package/components/list/list-title.js +7 -7
- package/components/list/list-users-groups-source.js +6 -5
- package/components/list/list.d.ts +6 -6
- package/components/list/list.js +33 -31
- package/components/loader/loader.d.ts +1 -1
- package/components/loader/loader.js +8 -14
- package/components/loader-inline/loader-inline.d.ts +1 -1
- package/components/loader-inline/loader-inline.js +4 -7
- package/components/loader-screen/loader-screen.d.ts +1 -1
- package/components/loader-screen/loader-screen.js +3 -6
- package/components/login-dialog/login-dialog.d.ts +1 -1
- package/components/login-dialog/login-dialog.js +10 -9
- package/components/login-dialog/service.js +4 -3
- package/components/markdown/markdown.d.ts +1 -1
- package/components/markdown/markdown.js +3 -6
- package/components/message/message.d.ts +1 -1
- package/components/message/message.js +13 -15
- package/components/old-browsers-message/white-list.js +2 -2
- package/components/pager/pager.d.ts +5 -5
- package/components/pager/pager.js +28 -27
- package/components/panel/panel.d.ts +1 -1
- package/components/panel/panel.js +3 -6
- package/components/popup/popup.d.ts +2 -2
- package/components/popup/popup.js +14 -11
- package/components/popup/popup.target.js +68 -16
- package/components/popup-menu/popup-menu.d.ts +1 -1
- package/components/popup-menu/popup-menu.js +7 -9
- package/components/progress-bar/progress-bar.d.ts +1 -1
- package/components/progress-bar/progress-bar.js +4 -7
- package/components/query-assist/query-assist-suggestions.d.ts +1 -1
- package/components/query-assist/query-assist-suggestions.js +5 -4
- package/components/query-assist/query-assist.d.ts +2 -2
- package/components/query-assist/query-assist.js +37 -34
- package/components/radio/radio-item.d.ts +1 -1
- package/components/radio/radio-item.js +40 -20
- package/components/radio/radio.d.ts +1 -1
- package/components/radio/radio.js +3 -5
- package/components/scrollable-section/scrollable-section.d.ts +1 -1
- package/components/scrollable-section/scrollable-section.js +100 -38
- package/components/select/select-filter.d.ts +1 -1
- package/components/select/select-filter.js +5 -4
- package/components/select/select-popup.d.ts +7 -7
- package/components/select/select-popup.js +26 -25
- package/components/select/select.d.ts +3 -3
- package/components/select/select.js +52 -52
- package/components/shortcuts/shortcuts-hoc.js +3 -3
- package/components/slider/slider.js +591 -196
- package/components/storage/storage-local.js +2 -1
- package/components/storage/storage.js +2 -1
- package/components/style.css +1 -1
- package/components/tab-trap/tab-trap.js +247 -102
- package/components/table/cell.d.ts +1 -1
- package/components/table/cell.js +2 -2
- package/components/table/disable-hover-hoc.js +3 -3
- package/components/table/header-cell.d.ts +1 -1
- package/components/table/header-cell.js +7 -6
- package/components/table/header.d.ts +2 -2
- package/components/table/header.js +14 -13
- package/components/table/multitable.d.ts +1 -1
- package/components/table/multitable.js +3 -3
- package/components/table/row-with-focus-sensor.d.ts +1 -1
- package/components/table/row-with-focus-sensor.js +3 -2
- package/components/table/row.d.ts +1 -1
- package/components/table/row.js +51 -24
- package/components/table/selection-shortcuts-hoc.js +2 -2
- package/components/table/simple-table.d.ts +1 -1
- package/components/table/simple-table.js +4 -3
- package/components/table/smart-table.d.ts +1 -1
- package/components/table/smart-table.js +4 -3
- package/components/table/table.d.ts +2 -2
- package/components/table/table.js +21 -23
- package/components/tabs/collapsible-more.d.ts +3 -3
- package/components/tabs/collapsible-more.js +253 -83
- package/components/tabs/collapsible-tab.d.ts +1 -1
- package/components/tabs/collapsible-tab.js +4 -3
- package/components/tabs/collapsible-tabs.d.ts +2 -2
- package/components/tabs/collapsible-tabs.js +450 -188
- package/components/tabs/dumb-tabs.d.ts +2 -2
- package/components/tabs/dumb-tabs.js +10 -9
- package/components/tabs/smart-tabs.d.ts +1 -1
- package/components/tabs/smart-tabs.js +6 -5
- package/components/tabs/tab-link.d.ts +1 -1
- package/components/tabs/tab-link.js +2 -1
- package/components/tabs/tab.d.ts +1 -1
- package/components/tabs/tab.js +2 -2
- package/components/tabs/tabs.js +5 -4
- package/components/tag/tag.d.ts +5 -5
- package/components/tag/tag.js +14 -13
- package/components/tags-input/tags-input.d.ts +1 -1
- package/components/tags-input/tags-input.js +10 -9
- package/components/tags-list/tags-list.d.ts +2 -2
- package/components/tags-list/tags-list.js +4 -3
- package/components/text/text.d.ts +1 -1
- package/components/text/text.js +2 -2
- package/components/toggle/toggle.d.ts +1 -1
- package/components/toggle/toggle.js +12 -11
- package/components/tooltip/tooltip.d.ts +1 -1
- package/components/tooltip/tooltip.js +7 -6
- package/components/upload/upload.js +10 -9
- package/components/user-agreement/service.js +11 -10
- package/components/user-agreement/user-agreement.d.ts +1 -1
- package/components/user-agreement/user-agreement.js +19 -18
- package/components/user-card/card.d.ts +1 -1
- package/components/user-card/card.js +3 -2
- package/components/user-card/smart-user-card-tooltip.d.ts +2 -2
- package/components/user-card/smart-user-card-tooltip.js +7 -6
- package/components/user-card/tooltip.d.ts +2 -2
- package/components/user-card/tooltip.js +7 -6
- package/components/user-card/user-card.js +4 -3
- package/package.json +3 -9
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
1
|
import { PureComponent, Children, cloneElement } from 'react';
|
|
3
2
|
import classNames from 'classnames';
|
|
4
3
|
import Popup from '../popup/popup.js';
|
|
5
4
|
import { Directions } from '../popup/popup.consts.js';
|
|
5
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
6
6
|
import 'react-dom';
|
|
7
7
|
import '../global/get-uid.js';
|
|
8
8
|
import '../global/schedule-raf.js';
|
|
@@ -14,6 +14,7 @@ import '../global/sniffer.js';
|
|
|
14
14
|
import 'sniffr';
|
|
15
15
|
import '../global/data-tests.js';
|
|
16
16
|
import '../tab-trap/tab-trap.js';
|
|
17
|
+
import 'react-compiler-runtime';
|
|
17
18
|
import '../global/configuration.js';
|
|
18
19
|
import '../popup/position.js';
|
|
19
20
|
import '../popup/popup.target.js';
|
|
@@ -21,9 +22,6 @@ import '../popup/position-css.js';
|
|
|
21
22
|
|
|
22
23
|
var styles = {"errorBubblePopup":"ring-error-bubble-errorBubblePopup","errorBubbleWrapper":"ring-error-bubble-errorBubbleWrapper","errorBubble":"ring-error-bubble-errorBubble"};
|
|
23
24
|
|
|
24
|
-
/**
|
|
25
|
-
* @name Error Bubble
|
|
26
|
-
*/
|
|
27
25
|
class ErrorBubble extends PureComponent {
|
|
28
26
|
render() {
|
|
29
27
|
const {
|
|
@@ -32,21 +30,21 @@ class ErrorBubble extends PureComponent {
|
|
|
32
30
|
...restProps
|
|
33
31
|
} = this.props;
|
|
34
32
|
const errorBubbleClasses = classNames(styles.errorBubble, className);
|
|
35
|
-
return jsxs("div", {
|
|
33
|
+
return /*#__PURE__*/jsxs("div", {
|
|
36
34
|
className: styles.errorBubbleWrapper,
|
|
37
|
-
"data-test":
|
|
35
|
+
"data-test": "ring-error-bubble-wrapper",
|
|
38
36
|
children: [children && Children.map(children, child => /*#__PURE__*/cloneElement(child, {
|
|
39
37
|
...child.props,
|
|
40
38
|
...restProps
|
|
41
|
-
})), restProps.error && jsx(Popup, {
|
|
39
|
+
})), restProps.error && /*#__PURE__*/jsx(Popup, {
|
|
42
40
|
trapFocus: false,
|
|
43
41
|
className: styles.errorBubblePopup,
|
|
44
42
|
hidden: false,
|
|
45
43
|
attached: false,
|
|
46
44
|
directions: [Directions.RIGHT_CENTER, Directions.RIGHT_BOTTOM, Directions.RIGHT_TOP],
|
|
47
|
-
children: jsx("div", {
|
|
45
|
+
children: /*#__PURE__*/jsx("div", {
|
|
48
46
|
className: errorBubbleClasses,
|
|
49
|
-
"data-test":
|
|
47
|
+
"data-test": "ring-error-bubble",
|
|
50
48
|
children: restProps.error
|
|
51
49
|
})
|
|
52
50
|
})]
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
1
|
import { Component } from 'react';
|
|
3
2
|
import classNames from 'classnames';
|
|
4
3
|
import Icon from '../icon/icon.js';
|
|
5
4
|
import { Size } from '../icon/icon.constants.js';
|
|
6
5
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
6
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
7
|
import 'util-deprecate';
|
|
8
8
|
import '../_helpers/icon-svg.js';
|
|
9
|
+
import 'react-compiler-runtime';
|
|
9
10
|
import '../global/memoize.js';
|
|
10
11
|
|
|
11
12
|
var styles = {"errorMessage":"ring-error-message-errorMessage","title":"ring-error-message-title","description":"ring-error-message-description","content":"ring-error-message-content","icon":"ring-error-message-icon"};
|
|
12
13
|
|
|
13
|
-
/**
|
|
14
|
-
* @name Error Message
|
|
15
|
-
*/
|
|
16
14
|
class ErrorMessage extends Component {
|
|
17
15
|
render() {
|
|
18
16
|
const {
|
|
@@ -25,21 +23,21 @@ class ErrorMessage extends Component {
|
|
|
25
23
|
'data-test': dataTest
|
|
26
24
|
} = this.props;
|
|
27
25
|
const classes = classNames(styles.errorMessage, className);
|
|
28
|
-
return jsxs("div", {
|
|
26
|
+
return /*#__PURE__*/jsxs("div", {
|
|
29
27
|
className: classes,
|
|
30
28
|
"data-test": joinDataTestAttributes('ring-error-message', dataTest),
|
|
31
|
-
children: [icon && jsx(Icon, {
|
|
29
|
+
children: [icon && /*#__PURE__*/jsx(Icon, {
|
|
32
30
|
className: styles.icon,
|
|
33
31
|
glyph: icon,
|
|
34
32
|
size: Size.Size64,
|
|
35
33
|
suppressSizeWarning: true
|
|
36
|
-
}), jsxs("div", {
|
|
34
|
+
}), /*#__PURE__*/jsxs("div", {
|
|
37
35
|
className: styles.content,
|
|
38
|
-
children: [jsxs("div", {
|
|
36
|
+
children: [/*#__PURE__*/jsxs("div", {
|
|
39
37
|
className: styles.title,
|
|
40
|
-
"data-test":
|
|
38
|
+
"data-test": "ring-error-message-title",
|
|
41
39
|
children: [code && `${code}:`, " ", message]
|
|
42
|
-
}), description && jsx("div", {
|
|
40
|
+
}), description && /*#__PURE__*/jsx("div", {
|
|
43
41
|
className: styles.description,
|
|
44
42
|
children: description
|
|
45
43
|
}), children]
|
|
@@ -1,29 +1,68 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c } from 'react-compiler-runtime';
|
|
2
2
|
import { memo, isValidElement } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import Link from '../link/link.js';
|
|
5
|
+
import { jsx } from 'react/jsx-runtime';
|
|
5
6
|
import '../global/data-tests.js';
|
|
6
7
|
import '../link/clickable-link.js';
|
|
7
8
|
import '../_helpers/link.js';
|
|
8
9
|
|
|
9
10
|
var styles = {"footer":"ring-footer-footer ring-global-font","footerFloating":"ring-footer-footerFloating ring-footer-footer ring-global-font","column":"ring-footer-column","columnItem":"ring-footer-columnItem","columnLeft":"ring-footer-columnLeft ring-footer-column","columnCenter":"ring-footer-columnCenter ring-footer-column","line":"ring-footer-line","columnRight":"ring-footer-columnRight ring-footer-column","lineCenter":"ring-footer-lineCenter"};
|
|
10
11
|
|
|
11
|
-
const FooterColumn = /*#__PURE__*/memo(function FooterColumn({
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
[
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
12
|
+
const FooterColumn = /*#__PURE__*/memo(function FooterColumn(t0) {
|
|
13
|
+
const $ = c(10);
|
|
14
|
+
if ($[0] !== "af9372db3a745385e563b057c762368495083e0451baa8ec82b5600f64499a77") {
|
|
15
|
+
for (let $i = 0; $i < 10; $i += 1) {
|
|
16
|
+
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
17
|
+
}
|
|
18
|
+
$[0] = "af9372db3a745385e563b057c762368495083e0451baa8ec82b5600f64499a77";
|
|
19
|
+
}
|
|
20
|
+
const {
|
|
21
|
+
position,
|
|
22
|
+
children
|
|
23
|
+
} = t0;
|
|
24
|
+
const t1 = position === "left";
|
|
25
|
+
const t2 = position === "center";
|
|
26
|
+
const t3 = position === "right";
|
|
27
|
+
let t4;
|
|
28
|
+
if ($[1] !== t1 || $[2] !== t2 || $[3] !== t3) {
|
|
29
|
+
t4 = classNames({
|
|
30
|
+
[styles.columnLeft]: t1,
|
|
31
|
+
[styles.columnCenter]: t2,
|
|
32
|
+
[styles.columnRight]: t3
|
|
33
|
+
});
|
|
34
|
+
$[1] = t1;
|
|
35
|
+
$[2] = t2;
|
|
36
|
+
$[3] = t3;
|
|
37
|
+
$[4] = t4;
|
|
38
|
+
} else {
|
|
39
|
+
t4 = $[4];
|
|
40
|
+
}
|
|
41
|
+
const classes = t4;
|
|
42
|
+
let t5;
|
|
43
|
+
if ($[5] !== children) {
|
|
44
|
+
t5 = /*#__PURE__*/jsx("ul", {
|
|
23
45
|
className: styles.columnItem,
|
|
24
46
|
children: children
|
|
25
|
-
})
|
|
26
|
-
|
|
47
|
+
});
|
|
48
|
+
$[5] = children;
|
|
49
|
+
$[6] = t5;
|
|
50
|
+
} else {
|
|
51
|
+
t5 = $[6];
|
|
52
|
+
}
|
|
53
|
+
let t6;
|
|
54
|
+
if ($[7] !== classes || $[8] !== t5) {
|
|
55
|
+
t6 = /*#__PURE__*/jsx("div", {
|
|
56
|
+
className: classes,
|
|
57
|
+
children: t5
|
|
58
|
+
});
|
|
59
|
+
$[7] = classes;
|
|
60
|
+
$[8] = t5;
|
|
61
|
+
$[9] = t6;
|
|
62
|
+
} else {
|
|
63
|
+
t6 = $[9];
|
|
64
|
+
}
|
|
65
|
+
return t6;
|
|
27
66
|
});
|
|
28
67
|
/**
|
|
29
68
|
* Return copyright string
|
|
@@ -46,56 +85,161 @@ function copyright(year) {
|
|
|
46
85
|
* @extends {ReactComponent}
|
|
47
86
|
*/
|
|
48
87
|
const FooterLine = /*#__PURE__*/memo(function FooterLine(props) {
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
return item;
|
|
54
|
-
}
|
|
55
|
-
const element = (item.copyright ? copyright(item.copyright) : '') + (item.label || item);
|
|
56
|
-
if (item.url) {
|
|
57
|
-
return jsx(Link, {
|
|
58
|
-
href: item.url,
|
|
59
|
-
target: item.target,
|
|
60
|
-
title: item.title,
|
|
61
|
-
children: element
|
|
62
|
-
}, item.url + item.title);
|
|
88
|
+
const $ = c(8);
|
|
89
|
+
if ($[0] !== "af9372db3a745385e563b057c762368495083e0451baa8ec82b5600f64499a77") {
|
|
90
|
+
for (let $i = 0; $i < 8; $i += 1) {
|
|
91
|
+
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
63
92
|
}
|
|
64
|
-
|
|
93
|
+
$[0] = "af9372db3a745385e563b057c762368495083e0451baa8ec82b5600f64499a77";
|
|
65
94
|
}
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
95
|
+
let t0;
|
|
96
|
+
if ($[1] !== props.item) {
|
|
97
|
+
t0 = Array.isArray(props.item) ? props.item : [props.item];
|
|
98
|
+
$[1] = props.item;
|
|
99
|
+
$[2] = t0;
|
|
100
|
+
} else {
|
|
101
|
+
t0 = $[2];
|
|
102
|
+
}
|
|
103
|
+
const items = t0;
|
|
104
|
+
let t1;
|
|
105
|
+
if ($[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
106
|
+
t1 = function renderItem(item) {
|
|
107
|
+
if (/*#__PURE__*/isValidElement(item) || typeof item !== "object") {
|
|
108
|
+
return item;
|
|
109
|
+
}
|
|
110
|
+
const element = (item.copyright ? copyright(item.copyright) : "") + (item.label || item);
|
|
111
|
+
if (item.url) {
|
|
112
|
+
return /*#__PURE__*/jsx(Link, {
|
|
113
|
+
href: item.url,
|
|
114
|
+
target: item.target,
|
|
115
|
+
title: item.title,
|
|
116
|
+
children: element
|
|
117
|
+
}, item.url + item.title);
|
|
118
|
+
}
|
|
119
|
+
return element;
|
|
120
|
+
};
|
|
121
|
+
$[3] = t1;
|
|
122
|
+
} else {
|
|
123
|
+
t1 = $[3];
|
|
124
|
+
}
|
|
125
|
+
const renderItem = t1;
|
|
126
|
+
let t2;
|
|
127
|
+
if ($[4] !== items) {
|
|
128
|
+
t2 = items.map(renderItem);
|
|
129
|
+
$[4] = items;
|
|
130
|
+
$[5] = t2;
|
|
131
|
+
} else {
|
|
132
|
+
t2 = $[5];
|
|
133
|
+
}
|
|
134
|
+
let t3;
|
|
135
|
+
if ($[6] !== t2) {
|
|
136
|
+
t3 = /*#__PURE__*/jsx("li", {
|
|
137
|
+
className: styles.line,
|
|
138
|
+
children: t2
|
|
139
|
+
});
|
|
140
|
+
$[6] = t2;
|
|
141
|
+
$[7] = t3;
|
|
142
|
+
} else {
|
|
143
|
+
t3 = $[7];
|
|
144
|
+
}
|
|
145
|
+
return t3;
|
|
70
146
|
});
|
|
71
|
-
const Footer = /*#__PURE__*/memo(function Footer({
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
right
|
|
77
|
-
}) {
|
|
78
|
-
function content(elements, position) {
|
|
79
|
-
if (!elements) {
|
|
80
|
-
return false;
|
|
147
|
+
const Footer = /*#__PURE__*/memo(function Footer(t0) {
|
|
148
|
+
const $ = c(18);
|
|
149
|
+
if ($[0] !== "af9372db3a745385e563b057c762368495083e0451baa8ec82b5600f64499a77") {
|
|
150
|
+
for (let $i = 0; $i < 18; $i += 1) {
|
|
151
|
+
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
81
152
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
153
|
+
$[0] = "af9372db3a745385e563b057c762368495083e0451baa8ec82b5600f64499a77";
|
|
154
|
+
}
|
|
155
|
+
const {
|
|
156
|
+
floating,
|
|
157
|
+
className,
|
|
158
|
+
left,
|
|
159
|
+
center,
|
|
160
|
+
right
|
|
161
|
+
} = t0;
|
|
162
|
+
let t1;
|
|
163
|
+
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
164
|
+
t1 = function content(elements, position) {
|
|
165
|
+
if (!elements) {
|
|
166
|
+
return false;
|
|
167
|
+
}
|
|
168
|
+
return /*#__PURE__*/jsx(FooterColumn, {
|
|
169
|
+
position: position,
|
|
170
|
+
children: elements.map(_temp)
|
|
171
|
+
}, position);
|
|
172
|
+
};
|
|
173
|
+
$[1] = t1;
|
|
174
|
+
} else {
|
|
175
|
+
t1 = $[1];
|
|
176
|
+
}
|
|
177
|
+
const content = t1;
|
|
178
|
+
let t2;
|
|
179
|
+
if ($[2] !== className || $[3] !== floating) {
|
|
180
|
+
t2 = classNames(styles.footer, className, {
|
|
181
|
+
[styles.footerFloating]: floating
|
|
182
|
+
});
|
|
183
|
+
$[2] = className;
|
|
184
|
+
$[3] = floating;
|
|
185
|
+
$[4] = t2;
|
|
186
|
+
} else {
|
|
187
|
+
t2 = $[4];
|
|
188
|
+
}
|
|
189
|
+
const classes = t2;
|
|
190
|
+
let t3;
|
|
191
|
+
if ($[5] !== left) {
|
|
192
|
+
t3 = content(left, "left");
|
|
193
|
+
$[5] = left;
|
|
194
|
+
$[6] = t3;
|
|
195
|
+
} else {
|
|
196
|
+
t3 = $[6];
|
|
197
|
+
}
|
|
198
|
+
let t4;
|
|
199
|
+
if ($[7] !== center) {
|
|
200
|
+
t4 = content(center, "center");
|
|
201
|
+
$[7] = center;
|
|
202
|
+
$[8] = t4;
|
|
203
|
+
} else {
|
|
204
|
+
t4 = $[8];
|
|
205
|
+
}
|
|
206
|
+
let t5;
|
|
207
|
+
if ($[9] !== right) {
|
|
208
|
+
t5 = content(right, "right");
|
|
209
|
+
$[9] = right;
|
|
210
|
+
$[10] = t5;
|
|
211
|
+
} else {
|
|
212
|
+
t5 = $[10];
|
|
213
|
+
}
|
|
214
|
+
let t6;
|
|
215
|
+
if ($[11] !== t3 || $[12] !== t4 || $[13] !== t5) {
|
|
216
|
+
t6 = [t3, t4, t5];
|
|
217
|
+
$[11] = t3;
|
|
218
|
+
$[12] = t4;
|
|
219
|
+
$[13] = t5;
|
|
220
|
+
$[14] = t6;
|
|
221
|
+
} else {
|
|
222
|
+
t6 = $[14];
|
|
223
|
+
}
|
|
224
|
+
let t7;
|
|
225
|
+
if ($[15] !== classes || $[16] !== t6) {
|
|
226
|
+
t7 = /*#__PURE__*/jsx("footer", {
|
|
227
|
+
className: classes,
|
|
228
|
+
"data-test": "ring-footer",
|
|
229
|
+
children: t6
|
|
230
|
+
});
|
|
231
|
+
$[15] = classes;
|
|
232
|
+
$[16] = t6;
|
|
233
|
+
$[17] = t7;
|
|
234
|
+
} else {
|
|
235
|
+
t7 = $[17];
|
|
236
|
+
}
|
|
237
|
+
return t7;
|
|
99
238
|
});
|
|
239
|
+
function _temp(item, idx) {
|
|
240
|
+
return /*#__PURE__*/jsx(FooterLine, {
|
|
241
|
+
item: item
|
|
242
|
+
}, idx);
|
|
243
|
+
}
|
|
100
244
|
|
|
101
245
|
export { copyright, Footer as default };
|
|
@@ -11,7 +11,7 @@ export default function createStatefulContext<T>(initialValue: T, name?: string)
|
|
|
11
11
|
ValueContext: import("react").Context<T>;
|
|
12
12
|
UpdateContext: import("react").Context<Update<T>>;
|
|
13
13
|
Provider: {
|
|
14
|
-
({ children }: ProviderProps): import("react
|
|
14
|
+
({ children }: ProviderProps): import("react").JSX.Element;
|
|
15
15
|
displayName: string;
|
|
16
16
|
};
|
|
17
17
|
useUpdate: (value: T, skipUpdate?: boolean) => void;
|
|
@@ -1,34 +1,89 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c } from 'react-compiler-runtime';
|
|
2
2
|
import { memo, createContext, useState, useContext, useEffect } from 'react';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
4
|
|
|
4
5
|
function createStatefulContext(initialValue, name = '') {
|
|
5
6
|
const ValueContext = /*#__PURE__*/createContext(initialValue);
|
|
6
7
|
const UpdateContext = /*#__PURE__*/createContext(() => {});
|
|
7
|
-
function Provider({
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
function Provider(t0) {
|
|
9
|
+
const $ = c(6);
|
|
10
|
+
if ($[0] !== "576d375e78a62076caf2193d98749eebdfd60d1ce7b219f4ea1f080358177a6e") {
|
|
11
|
+
for (let $i = 0; $i < 6; $i += 1) {
|
|
12
|
+
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
13
|
+
}
|
|
14
|
+
$[0] = "576d375e78a62076caf2193d98749eebdfd60d1ce7b219f4ea1f080358177a6e";
|
|
15
|
+
}
|
|
16
|
+
const {
|
|
17
|
+
children
|
|
18
|
+
} = t0;
|
|
10
19
|
const [value, update] = useState(initialValue);
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
20
|
+
let t1;
|
|
21
|
+
if ($[1] !== children) {
|
|
22
|
+
t1 = /*#__PURE__*/jsx(UpdateContext.Provider, {
|
|
14
23
|
value: update,
|
|
15
24
|
children: children
|
|
16
|
-
})
|
|
17
|
-
|
|
25
|
+
});
|
|
26
|
+
$[1] = children;
|
|
27
|
+
$[2] = t1;
|
|
28
|
+
} else {
|
|
29
|
+
t1 = $[2];
|
|
30
|
+
}
|
|
31
|
+
let t2;
|
|
32
|
+
if ($[3] !== t1 || $[4] !== value) {
|
|
33
|
+
t2 = /*#__PURE__*/jsx(ValueContext.Provider, {
|
|
34
|
+
value: value,
|
|
35
|
+
children: t1
|
|
36
|
+
});
|
|
37
|
+
$[3] = t1;
|
|
38
|
+
$[4] = value;
|
|
39
|
+
$[5] = t2;
|
|
40
|
+
} else {
|
|
41
|
+
t2 = $[5];
|
|
42
|
+
}
|
|
43
|
+
return t2;
|
|
18
44
|
}
|
|
19
45
|
Provider.displayName = `${name}Provider`;
|
|
20
46
|
function useUpdate(value, skipUpdate) {
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
47
|
+
const $ = c(6);
|
|
48
|
+
if ($[0] !== "576d375e78a62076caf2193d98749eebdfd60d1ce7b219f4ea1f080358177a6e") {
|
|
49
|
+
for (let $i = 0; $i < 6; $i += 1) {
|
|
50
|
+
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
25
51
|
}
|
|
26
|
-
|
|
52
|
+
$[0] = "576d375e78a62076caf2193d98749eebdfd60d1ce7b219f4ea1f080358177a6e";
|
|
53
|
+
}
|
|
54
|
+
const update = useContext(UpdateContext);
|
|
55
|
+
let t0;
|
|
56
|
+
let t1;
|
|
57
|
+
if ($[1] !== skipUpdate || $[2] !== update || $[3] !== value) {
|
|
58
|
+
t0 = () => {
|
|
59
|
+
if (!skipUpdate) {
|
|
60
|
+
update(value);
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
t1 = [update, value, skipUpdate];
|
|
64
|
+
$[1] = skipUpdate;
|
|
65
|
+
$[2] = update;
|
|
66
|
+
$[3] = value;
|
|
67
|
+
$[4] = t0;
|
|
68
|
+
$[5] = t1;
|
|
69
|
+
} else {
|
|
70
|
+
t0 = $[4];
|
|
71
|
+
t1 = $[5];
|
|
72
|
+
}
|
|
73
|
+
useEffect(t0, t1);
|
|
27
74
|
}
|
|
28
|
-
function Updater({
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
75
|
+
function Updater(t0) {
|
|
76
|
+
const $ = c(1);
|
|
77
|
+
if ($[0] !== "576d375e78a62076caf2193d98749eebdfd60d1ce7b219f4ea1f080358177a6e") {
|
|
78
|
+
for (let $i = 0; $i < 1; $i += 1) {
|
|
79
|
+
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
80
|
+
}
|
|
81
|
+
$[0] = "576d375e78a62076caf2193d98749eebdfd60d1ce7b219f4ea1f080358177a6e";
|
|
82
|
+
}
|
|
83
|
+
const {
|
|
84
|
+
value,
|
|
85
|
+
skipUpdate
|
|
86
|
+
} = t0;
|
|
32
87
|
useUpdate(value, skipUpdate);
|
|
33
88
|
return null;
|
|
34
89
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
1
|
import { Component } from 'react';
|
|
3
2
|
import { createComposedRef } from './compose-refs.js';
|
|
3
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
4
|
import 'memoize-one';
|
|
5
5
|
|
|
6
6
|
function focusSensorHOC(ComposedComponent) {
|
|
@@ -106,7 +106,7 @@ function focusSensorHOC(ComposedComponent) {
|
|
|
106
106
|
scrollOnTableFocus,
|
|
107
107
|
...rest
|
|
108
108
|
} = this.props;
|
|
109
|
-
return jsx(ComposedComponent, {
|
|
109
|
+
return /*#__PURE__*/jsx(ComposedComponent, {
|
|
110
110
|
...rest,
|
|
111
111
|
innerRef: this.composedRef(innerRef, this.onRefUpdate),
|
|
112
112
|
focused: this.state.focused,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx } from 'react/jsx-runtime';
|
|
2
1
|
import { Component } from 'react';
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
|
|
4
4
|
class Renderer extends Component {
|
|
5
5
|
componentDidMount() {
|
|
@@ -22,7 +22,7 @@ class Renderer extends Component {
|
|
|
22
22
|
const {
|
|
23
23
|
className
|
|
24
24
|
} = this.props;
|
|
25
|
-
return jsx("div", {
|
|
25
|
+
return /*#__PURE__*/jsx("div", {
|
|
26
26
|
className: className,
|
|
27
27
|
ref: this.nodeRef
|
|
28
28
|
});
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c } from 'react-compiler-runtime';
|
|
2
2
|
import { forwardRef, Component } from 'react';
|
|
3
3
|
import { createComposedRef } from './compose-refs.js';
|
|
4
|
+
import { jsx } from 'react/jsx-runtime';
|
|
4
5
|
import 'memoize-one';
|
|
5
6
|
|
|
6
7
|
function rerenderHOC(ComposedComponent) {
|
|
@@ -9,7 +10,7 @@ function rerenderHOC(ComposedComponent) {
|
|
|
9
10
|
composedRef = createComposedRef();
|
|
10
11
|
render() {
|
|
11
12
|
const ref = this.composedRef(this.props.forwardedRef);
|
|
12
|
-
return jsx(ComposedComponent, {
|
|
13
|
+
return /*#__PURE__*/jsx(ComposedComponent, {
|
|
13
14
|
...this.state,
|
|
14
15
|
ref: instance => ref(instance ? {
|
|
15
16
|
...instance,
|
|
@@ -19,10 +20,26 @@ function rerenderHOC(ComposedComponent) {
|
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
22
|
return /*#__PURE__*/forwardRef(function RerendererForwardRef(props, ref) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
const $ = c(4);
|
|
24
|
+
if ($[0] !== "ac36aeaece54c7d00df3e23ff1d0deb675c0bc1bf4659806ffc7c8497029aeb7") {
|
|
25
|
+
for (let $i = 0; $i < 4; $i += 1) {
|
|
26
|
+
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
27
|
+
}
|
|
28
|
+
$[0] = "ac36aeaece54c7d00df3e23ff1d0deb675c0bc1bf4659806ffc7c8497029aeb7";
|
|
29
|
+
}
|
|
30
|
+
let t0;
|
|
31
|
+
if ($[1] !== props || $[2] !== ref) {
|
|
32
|
+
t0 = /*#__PURE__*/jsx(Rerenderer, {
|
|
33
|
+
props: props,
|
|
34
|
+
forwardedRef: ref
|
|
35
|
+
});
|
|
36
|
+
$[1] = props;
|
|
37
|
+
$[2] = ref;
|
|
38
|
+
$[3] = t0;
|
|
39
|
+
} else {
|
|
40
|
+
t0 = $[3];
|
|
41
|
+
}
|
|
42
|
+
return t0;
|
|
26
43
|
});
|
|
27
44
|
}
|
|
28
45
|
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import 'react
|
|
1
|
+
import 'react-compiler-runtime';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
4
|
import 'react-dom';
|
|
5
5
|
import '../popup/popup.target.js';
|
|
6
6
|
import '../popup/popup.js';
|
|
7
|
-
export { G as GLOBAL_DARK_CLASS_NAME, b as ThemeContext, a as ThemeProvider, W as WithThemeClasses, e as applyTheme, T as default, u as useTheme, c as useThemeClasses } from '../_helpers/theme.js';
|
|
8
7
|
import './get-uid.js';
|
|
8
|
+
export { G as GLOBAL_DARK_CLASS_NAME, b as ThemeContext, a as ThemeProvider, W as WithThemeClasses, e as applyTheme, T as default, u as useTheme, c as useThemeClasses } from '../_helpers/theme.js';
|
|
9
|
+
import 'react/jsx-runtime';
|
|
9
10
|
import './schedule-raf.js';
|
|
10
11
|
import './dom.js';
|
|
11
12
|
import '../shortcuts/shortcuts.js';
|